Conversion between Celsius and Fahrenheit

Hi , is it possible to have both units of measurement for temperature atm?

Unfortunately, I don't think so. It looks like that would require two API calls which would slow everything down

Can't you use the well known formula to convert celsius to fahrenheit?
fahrenheit = celsius * (9/5) + 32

Yeah, you totally could I guess.
Okay, this seems like a pretty good project for someone. Convert temperature to Celsius and have a toggle (in the navbar maybe?) where users can toggle C - F

So, how does it work?,sry i'm new to this kind of open source project, if i want to make this enchancement, i fork & star and clone it. After i make the change. i just push it?

@andyhe886 Check the Code -> readme.md and in it you can find how to contribute for Hacktoberfest :)
By the way I can help you with the assignment. This is my simple API project with toggle button for changing 'C to 'F and vice versa.
http://codepen.io/Dayfiri/full/mEjEEJ/

@andyhe886, more or less, yes! After you've made the changes to your forked repository, you can go to my project and open a new "pull request". Read this GitHub article on how Pull Requests work. This will let me know you're ready for your code to be merged into my project. If everything tests well on my end, I merge your code, and your name is added as a contributor to the project!
@Dayfiri - yes please! Your project seems to do exactly what I'm looking for. Feel free to give it a shot!

Ok, great. I'm on it :)

Alright :)

Merged #45.


license?

hello! :-) this is wonderful code to find.
i did not find a license, i wondered if you would release this repo with one?
thank you

closed with ca712fde7676e6eb16e631063f05eedd37ef7909
thank you!


Access limit hints

https://trello.com/c/dlw2oE4O/987-create-a-form-so-users-can-limit-access-to-a-draft
This adds organisation 'hints' when the user is editing the access limit for an edition, and when they see a 'forbidden' page, so they can follow-up with the owner org.

@kevindew I think this is ready for another review now :-)

@kevindew could you take another look?


Is there a tutorial or more info available?

Maybe it's easier than what I get, but wit hthe explanation in the main page I'm not sure how to use this.
I have a large amount of html pages that I want to feed as information, it's software documentation, I have thm both online and offline (as local html files).
How can I feed all that information and make it available to the AI so it can answer correctly questions related to it?
Is there an external file where I can put my sources?
Also after the sources are loaded, do making a related question automatically uses that data or should I specify something?
Thanks!

Hello
This is a WIP project with the aim to allow an arbitrarily large prompt to be cut down to a size that will fit within a model's context size window. It does this by dumping the text into a vector database, then using search functions to retrieve the most relevant parts for a search string (right now, in Alpaca's case, whatever you type in the ### Input section)
As it is right now, you can use it for your use case by adding UrlSources and TextSources for your documents, adjusting your prompt appropriately, and putting the questions within the ### Input section.
However, as it's still WIP, it will only select the single best source you added to use for retrieving results. Also, the recursive expansion of the search results (to resolve coreferences and contextual details) is neither complete nor accessible through the settings. In other words, the accuracy would be low if you were to use it in this state, and I don't know of any off-the-shelf solutions you can use as a substitute to achieve the goal, since most other solutions only focus on the insertion of information, and not accurate retrieval methods.
You could use it in it's current state, but would require you to modify your data sources such that each section of the source is properly labeled and sanitized to achieve better accuracy during the KNN search. For the next few weeks I am focusing on another project, so I'll not be able to update this project until afterwards. Until the project becomes more advanced though, you will have to bear with the poor accuracy or find an alternate solution.
If you decide to wait on the future updates, one of the first things I will add is entity knowledge graph extraction, so it can represent the contextual relationships within the sources to improve the search.

Thanks for the detailed answer!
Yes, I will wait to future development, no rush right now.
my idea is to use this as a knowledge base that my coworkers can use as an assistant chat, so they will ask for something and they will receive the correct info, so if right now I have to specify the data source is not so useful for this :)
I imagine that one of the solutions would be to train a LORA for my preferred model, but it’s not easy with 4bit quantized models, anyways I’ll try and also I’ll wait, I think this project would be awesome, it’s something like Langchain for ChatGPT and I don’t want to use an external AI, no matter how good it is, there some info I cannot send to an external company, no matter what EULA they have, so I have to have one locally :)


[Bug] On ECONNRESET does not reconnect

What did I do
Something you have done.
Connect to emqx with username and password SSL/TLS enabled, SSL Secure with CA signed server.
MQTT Version 5.0
Connect Timeout 10
Keep Alive 30
Auto Reconnect true
Reconnect Period 4000ms
Clean Start true
I have a setup with 2 haproxies and keepalived. When I reboot 1 of the LB nodes I get an ECONNRESET and it wont reconnect.
If I connect by hand it works instantly.
What happened
Get an error. See the log below.
Expected
What is the expected result.
Reconnect. If I connect via the button it is working again.
Environment

OS: OS version, e.g. macOS Big Sur 11.1
MQTTX version, e.g. v1.5.0

More detail
More detail include log information or screenshot
[2023-02-21 10:34:52] [INFO] Connect client emqx, MQTT/SSL connection: mqtts://testmqtt.evva.link:443 with Properties: {"sessionExpiryInterval":null,"receiveMaximum":null,"maximumPacketSize":null,"topicAliasMaximum":null,"requestResponseInformation":null,"requestProblemInformation":null,"authenticationMethod":null}
[2023-02-21 10:34:52] [INFO] emqx connect success, MQTT.js onConnect trigger
[2023-02-21 10:34:52] [INFO] Topic: test/# is resubscribing
[2023-02-21 10:34:52] [INFO] Saved topic: test/#
[2023-02-21 10:34:52] [INFO] Topic: test/# successfully subscribed, Subscription Identifier: null, No Local flag: false, Retain as Published flag: true, Retain Handling: 2
[2023-02-21 10:35:22] [ERROR] emqx connect fail, MQTT.js onError trigger, Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
[2023-02-21 10:35:22] [INFO] emqx connect close, MQTT.js onClose trigger
[2023-02-21 10:35:42] [INFO] MQTTX client with ID a7fad073-7d75-49f1-95cc-2a46f4470024 assigned
[2023-02-21 10:35:42] [INFO] Connect client emqx, MQTT/SSL connection: mqtts://testmqtt.evva.link:443 with Properties: {"sessionExpiryInterval":null,"receiveMaximum":null,"maximumPacketSize":null,"topicAliasMaximum":null,"requestResponseInformation":null,"requestProblemInformation":null,"authenticationMethod":null}
[2023-02-21 10:35:42] [INFO] emqx connect success, MQTT.js onConnect trigger
[2023-02-21 10:35:42] [INFO] Topic: test/# is resubscribing
[2023-02-21 10:35:42] [INFO] Saved topic: test/#
[2023-02-21 10:35:43] [INFO] Topic: test/# successfully subscribed, Subscription Identifier: null, No Local flag: false, Retain as Published flag: true, Retain Handling: 2
[2023-02-21 10:37:42] [ERROR] emqx connect fail, MQTT.js onError trigger, Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
[2023-02-21 10:37:42] [INFO] emqx connect close, MQTT.js onClose trigger
[2023-02-21 10:38:01] [INFO] emqx was edited, ID: a7fad073-7d75-49f1-95cc-2a46f4470024
[2023-02-21 10:38:01] [INFO] MQTTX client with ID a7fad073-7d75-49f1-95cc-2a46f4470024 assigned
[2023-02-21 10:38:01] [INFO] Connect client emqx, MQTT/SSL connection: mqtts://testmqtt.evva.link:443 with Properties: {"sessionExpiryInterval":null,"receiveMaximum":null,"maximumPacketSize":null,"topicAliasMaximum":null,"requestResponseInformation":null,"requestProblemInformation":null,"authenticationMethod":null}
[2023-02-21 10:38:01] [INFO] emqx connect success, MQTT.js onConnect trigger
[2023-02-21 10:38:01] [INFO] Topic: test/# is resubscribing
[2023-02-21 10:38:01] [INFO] Saved topic: test/#
[2023-02-21 10:38:01] [INFO] Topic: test/# successfully subscribed, Subscription Identifier: null, No Local flag: false, Retain as Published flag: true, Retain Handling: 2
[2023-02-21 10:39:01] [INFO] emqx connect close, MQTT.js onClose trigger
[2023-02-21 10:39:05] [INFO] emqx reconnect: 0 times retry
[2023-02-21 10:39:05] [INFO] emqx connect success, MQTT.js onConnect trigger
[2023-02-21 10:39:05] [INFO] Topic: test/# is resubscribing
[2023-02-21 10:39:05] [ERROR] Topic: subscribe granted empty
[2023-02-21 10:39:05] [INFO] Saved topic: test/#
[2023-02-21 10:39:05] [INFO] Topic: test/# successfully subscribed, Subscription Identifier: null, No Local flag: false, Retain as Published flag: true, Retain Handling: 2
[2023-02-21 10:41:35] [ERROR] emqx connect fail, MQTT.js onError trigger, Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
[2023-02-21 10:41:35] [INFO] emqx connect close, MQTT.js onClose trigger
[2023-02-21 10:42:32] [INFO] MQTTX client with ID a7fad073-7d75-49f1-95cc-2a46f4470024 assigned
[2023-02-21 10:42:32] [INFO] Connect client emqx, MQTT/SSL connection: mqtts://testmqtt.evva.link:443 with Properties: {"sessionExpiryInterval":null,"receiveMaximum":null,"maximumPacketSize":null,"topicAliasMaximum":null,"requestResponseInformation":null,"requestProblemInformation":null,"authenticationMethod":null}
[2023-02-21 10:42:32] [INFO] emqx connect success, MQTT.js onConnect trigger
[2023-02-21 10:42:32] [INFO] Topic: test/# is resubscribing
[2023-02-21 10:42:32] [INFO] Saved topic: test/#
[2023-02-21 10:42:32] [INFO] Topic: test/# successfully subscribed, Subscription Identifier: null, No Local flag: false, Retain as Published flag: true, Retain Handling: 2
[2023-02-21 10:44:02] [ERROR] emqx connect fail, MQTT.js onError trigger, Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
[2023-02-21 10:44:02] [INFO] emqx connect close, MQTT.js onClose trigger

Probably connected to: #929

@axi92 Sorry for my late reply.
Based on the log information you provided, it appears that you are experiencing an ECONNRESET error when trying to reconnect to the emqx broker. This occurs when the other side of the TCP connection abruptly closes the connection. In your case, it happens when one of the load balancer nodes is rebooted.
"ECONNRESET" means the other side of the TCP conversation abruptly closed its end of the connection. This is likely due to one or more application protocol errors. You could look at the MQTT Broker or LB services logs to see if it complains about something.

Yes you are right I had an http configuration for haproxie that limits the connection to 50s.
And somehow it does not let reconnect. I removed it and now I dont have the disconnect issue anymore. So I dont have to reconnect either =)


Fixes issue introduced in #5064

Fixes an issue introduced in #5064, which was supposed to fix merging. Tested and merging now works.

@valentijnscholten I think this should be merged before next release so the "Merge" function is really fixed.

fixes #4586

Thanks. I have a branch somewhere which adds an integration test for "Merge Findings".


video-js.css make element-ui error

BUG REPORT TEMPLATE
Vue.js version and component version
2.0
Reproduction Link
http://op3mh2eho.bkt.clouddn.com/未命名.mov
Steps to reproduce
When
import vue_video_player from 'vue-video-player'
import 'video.js/dist/video-js.css'

The element ui component el-dialog is abnormal
当import后，el-dialog弹出的时候，灰色遮罩会旋转几个圈
What is Expected?
应该不转圈
What is actually happening?
希望能解决冲突

The located code is


npm@latest points to beta

New webpack installs install webpack 2 (beta) by default. Is there a reason why the latest does not point to 1? We could utilize the next tag to specify 2 until officially released.
npm view webpack dist-tags => { latest: '2.0.6-beta', beta: '2.1.0-beta.25' }. Both are beta releases.

What specifically are you running in npm when you install?

npm install --save-dev webpack

😳 I just fixed this a couple weeks ago. I'm away from a computer for about 30-50min but I'll check this and correct it.

No worries. My team and I appreciate it!

Okay here is the attached console response from me running that command. (I haven't made any changes etc.) Timestamp is included to show you this is as of just now (CST).
Would you double check and confirm, could this be a npm cache issue?

Totally a caching issue. We are running a sinopia server at work which apparently had this cached. Sorry about the confusion. I cleared my sinopia token in my .npmrc and it now resolves fine. Thanks for your help.


[Bug] [dao] Description Failed to upload the file because the full name was too long

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Description Failed to upload the file because the full name was too long

What you expected to happen
I think the length of 64 is too short to include directory levels and file names and recommend 128
How to reproduce
Create a folder named offline_stats and upload a file named statistics_job-1.0-snapshot-jar-with-dependencies.jar
Anything else
No response
Version
2.0.3
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @Hou-Shuaishuai I had assign to you.


ZC Post API: Set pointer to nullptr before passing it to Post EM

Previously, the pointer was set to the source buffer's pointer, which
is invalid when used directly on another node. For this reason, this
commit sets it to nullptr. Using the nullptr value, this commit also
adds error checking to ensure that the CkMatchBuffer call was made or
the reference to the pointer was set inside the Post Entry Method.

Created another PR #3525 to handle the charmxi issue, which should be merged in before this.


Unable to select specific object

The listed tables/objects on the right screen are returned at random whenever I run my test.

Sometimes when I use XPath[1] it returns the first object/table, other times it returns the 3rd or 4th. Is there a way to resolve this sothat it will always return the same element?
The code I use is:
//Sort by title
session.FindElementByXPath("//Tab[@ClassName ="Pivot"]/TabItem[@Name="Title"][@ClassName="PivotItem"]").Click();
//Select first table
session.FindElementByXPath("//Pane[@AutomationId ="ScrollViewer"]/Pane[@AutomationId="ScrollViewer"][1]").Click();
//Sort by title
session.FindElementByXPath("//Tab[@ClassName ="Pivot"]/TabItem[@Name="Title"][@ClassName="PivotItem"]").Click();
//Select second table
session.FindElementByXPath("//Pane[@AutomationId ="ScrollViewer"]/Pane[@AutomationId="ScrollViewer"][2]").Click();

Hi @SanderW1989,
It could be that the XPath being generated is incorrect - could you please share a page source as well?
Thanks!


Allow accessing then logs endpoint using the allocation key auth method

Not sure this is something we want in general and if it fit our architecture and security design, but I found this modification useful when doing development, it allow accessing the /control/machines/X/logs endpoint by passing the same  X-Auth-Signature http header that we use for /control/allocation/ endpoint.
What do you think?

Good idea. Would it be worth refactoring the code to make it more readable ? (many levels of nesting)


Easy encapsulation of existing nodejs streams

It would be great to have component that would make encapsulation of existing nodejs streams easy.

Quasi-related to streams (more the general concept of event streams that node.js ones), this is an interesting framework: https://github.com/paldepind/flyd


Is anyone working on -mtune/-march/-mcpu support for Hazard3/RP2350 in GCC?

A few of us were talking on IRC about tunings, which led me to poking around and finding this -- I hadn't realized the RP2350 had it's own uarch, sorry.  I was just wondering if anyone was planning on sending patches for GCC.  Specifically it looks like the Xh3bextm extension could hook into some actual codegen, and the tune/cpu structs would make life a little easier for users to target.
Also: thanks a ton for the datasheet, it's super detailed.  Having the exact tapeout RTL and targeted spec versions makes life a lot easier for us SW people ;)
Having the datasheet should make it fairly straight-forward to do this, but I wanted to check and see if anyone was already planning on doing so.

Hi Palmer, I'm not planning GCC support. To be honest it's a little out of my expertise, and this processor is a one-man band (no support from Raspberry Pi).
I think building a scheduler model might make for a nice example port, since the timing characteristics are fairly simple and well-specified (both by datasheet and RTL). I've had reasonably good code gen from GCC just with -mbranch-cost=1, but it would be a nice datapoint to see how much is left on the table without a proper model, especially as LLVM have indicated they're inclined not to merge a scheduler model since it bloats their backend and they are always multi-target.
Some LLVM folks are already looking at instruction selection support for Xh3bextm -- it might be worth paging @lenary.


Removing Types from Ref Emits #17.

As discussed in #17.

Ahhh... yes, I am going by those tests passing, so if something doesn't work we should introduce new tests instead of modifying new ones. :)  I have checked in a fix.  Hopefully it works!

I'll remember. You have to change a few xml because they still don't pass tests.
Tomorrow I'll create branch v2.0.
I have plan about new configuration. But my changes break current configuration method.

Ugh weird!  It works on my machine. :P   I will look into this and get another commit.
And yes, hopefully once you get that new branch up I will have a monstrous PR for you. :P  All new code.  I'm really ashamed it has taken so long!  But it has been fun.  If you don't like it I at least have some cool new serialization tricks. :)

Oh I see.  The XML was not checked into your master.  I am still new to Git and learning a lot.  This project is a good experience. :)  This PR is also out of my master, which I am learning is not a good thing to do. :/

Ah I see the problem.  The references are being stored by type ID, when really they can be stored by a unique ID altogether.   ref="[id]" should really be ref="[typename]_[id]".  This would introduce a breaking change, however.  If you are OK with that, I could continue.  Otherwise, I am starting to feel that I have put too much time into this and would rather focus on my efforts on v2.0 instead.

Boo, apparently there is a conflict now.  Not doing well today. :P  Although that should fix the tests now.  I have also added tests for the concrete classes as well.

I wanted to do migration for inheritance. But I have a problem.
Currently in xml we have:

and e.g.:
class A : B,
class B : C
and if we have migration for A, B and C e.g.:
A has 2 migration - ver="2"
B has 1 migration - ver="1"
C has 1 migration - ver="1"
and of course user can add other migration for any type in the future.
I don't have idea how xml should look for this situation in case we want run migration from base type in current type. And what order to run migrations if user can add migration migration in order e.g. C,A,B,A. And we should deserialize all old xml.
Do you have any idea or do you think it is wrong way?

Thanks!

Ah I see.  Is this for the current merge?  Or existing code?  If this is for the current merge we can discuss here.  If this is a general question for code, let's open a new issue and discuss there.  My concern now is that the build is breaking?  It is saying that 1 check is failing.
I think for Migrations you will have to break it out in steps or slices.  I will have to think about it. :)

I've merged your code. This questions was about my problem.
Ok I'll create issue version 2.0.

OK great, Open it there and we can discuss. 👍

I've also published version 1.5.0 with you changes ;)

Sweeeeeeet.  I finally got my code working yesterday.  I just now have to round out some tests and I'll be ready for that mega-PR for you. :o

I've added information about you in codeproject.
You can look: https://www.codeproject.com/Articles/1121574/Extended-XML-Serializer-for-NET

Haha oh boy I am no longer an anonymous dev. :P


Add function for pretty printing partial programs with holes

partial programs cannot be displayed at the time, which would be crucial for e.g. program encodings. Holes should be displayed as their left-hand-side of the rule.

Done in c84d34c2c81891d40b636b6df3c03f3ea70a6800


When tool call includes content, it is not committed or used in the follow up response

OpenAI can return content along side a tool call:
    {
      "role": "assistant",
      "content": [
        {
          "text": "Oh, just a moment while I check that for you... \n\nLet me find out the current weather in NYC by querying our weather service.",
          "type": "text"
        }
      ],
      "tool_calls": [
        {
          "id": "call_Gwqkvbb3r0oRJnj3zzrIEL1R",
          "type": "function",
          "function": {
            "name": "get_weather",
            "arguments": "{\"location\":\"New York, NY\",\"unit\":\"f\"}"
          }
        }
      ]
    }

When this happens, there are a few problems:

The agent's audio plays, BUT the audio is not committed to the log.
There's no agent_speech_committed event.
(I think) the audio gets played AFTER the function call, rather than before it.

To expand a bit, what I'm seeing is this:

OpenAI returns a tool call with content:

       {
      "role": "user",
      "content": [
        {
          "text": "What'\''s the weather in NYC right now?",
          "type": "text"
        }
      ]
    },
    {
      "role": "assistant",
      "content": [
        {
          "text": "Oh, just a moment while I check that for you... \n\nLet me find out the current weather in NYC by querying our weather service.",
          "type": "text"
        }
      ],
      "tool_calls": [
        {
          "id": "call_Gwqkvbb3r0oRJnj3zzrIEL1R",
          "type": "function",
          "function": {
            "name": "get_weather",
            "arguments": "{\"location\":\"New York, NY\",\"unit\":\"f\"}"
          }
        }
      ]
    }

The agent plays the audio "Oh, just a moment while I check that for you... Let me find out the current weather in NYC by querying our weather service." and calls tool. However this message is not added to the chat context.

The agent then generates a response to the tool data, BUT without the text from the original tool call in the context. So we get a response like "Aha, let me take a look at that for you... The current weather in New York City is 72°F." that also has its audio play.

Only the message in #3 has agent_message_committed called.

@martin-purplefish I've tried recreating the issue but I haven't faced any issue
below is log of final message , can you share your code maybe?
[
    {
        "role": "system",
        "content": "You are a weather assistant created by LiveKit. Your interface with users will be voice. You will provide weather information for a given location. always say let me check that for you along with making tool calls",
    },
    {
        "role": "assistant",
        "content": " Hello from the weather station. Would you like to know the weather? If so, tell me your location.",
    },
    {"role": "user", "content": "London."},
    {
        "role": "assistant",
        "content": " Let me check that for you. I'll get the weather information for London.",
        "tool_calls": [
            {
                "id": "call_6ZJqO7nWb6wRMZkxNRJ94HGd",
                "type": "function",
                "function": {
                    "name": "get_weather",
                    "arguments": '{"location":"London"}',
                },
            }
        ],
    },
    {
        "role": "tool",
        "name": "get_weather",
        "content": "The weather in London is Partly cloudy +9°C.",
        "tool_call_id": "call_6ZJqO7nWb6wRMZkxNRJ94HGd",
    },
    {
        "role": "assistant",
        "content": " The current weather in London is partly cloudy with a temperature of 9°C. If you have any other weather-related questions, feel free to ask!",
    },
    {"role": "user", "content": "Mumbai and Delhi."},
    {
        "role": "assistant",
        "content": " Let me check that for you. I'll get the weather information for both Mumbai and Delhi.",
        "tool_calls": [
            {
                "id": "call_HK4VEvZG8l58x1kdKmUyzSFL",
                "type": "function",
                "function": {
                    "name": "get_weather",
                    "arguments": '{"location": "Mumbai"}',
                },
            },
            {
                "id": "call_ec4slbWBY0iQiNMM7oAZ7Ur3",
                "type": "function",
                "function": {
                    "name": "get_weather",
                    "arguments": '{"location": "Delhi"}',
                },
            },
        ],
    },
    {
        "role": "tool",
        "name": "get_weather",
        "content": "The weather in Mumbai is Smoke +33°C.",
        "tool_call_id": "call_HK4VEvZG8l58x1kdKmUyzSFL",
    },
    {
        "role": "tool",
        "name": "get_weather",
        "content": "The weather in Delhi is Haze +32°C.",
        "tool_call_id": "call_ec4slbWBY0iQiNMM7oAZ7Ur3",
    },
]


Suggest support software

Hello,
Can I suggest few software?

https://www.clementine-player.org/
https://doublecmd.sourceforge.io/
https://www.cockos.com/licecap/

Regards,
Huka

Added with https://github.com/lukesampson/scoop-extras/compare/df939a78b14e702e897f05ff97d6c9597c83fc85...b71631084b0767ed14d2b32df4dc725b644850aa
As an alternative to LICEcap I can recommend ScreenToGif

Hello, @r15ch13
Thank you for your supporting, I really appreciate it.
Best regards,
Huka

Hi, @r15ch13
Can I open this issue for new software?
https://gohugo.io/
Regards,
Huka.

Hugo is available in the main bucket. 😉

I am sorry about that, I just searched in scoop-extras.
How about Meld (http://meldmerge.org/)? I tried to install so I am sure it is not existed.
Thank you for your efforts, it helped me a lot.

Meld got added in this commit.


Added apm-infra correlation docs and a link to them from the troubleshooting page

Thanks for all this @harnitsignalfx.  Mind taking a look @tmorrisonsfx?

Sorry @rmfitzpatrick - didn't mean to re-request a review. Not sure how to cancel it. Please ignore !


ProxyServer request via another adapter need support for both IpV4 and IpV6

I have 2 network adapters, 1 is LAN adapter and 1 is 4G dongle with Hi-Link support. All internet can access both IpV4 and Ipv6. i was tested my dongle IpV6 support  via https://v6.ipv6-test.com/ and it's ok
Here is my example code:
`string upStreamIpv4 = "<IP_ADDRESS>"; //dongle 4G ipv4
string upStreamIpv6 = "2401:d800:e90:b798:717b:719b:5043:e193";//dongle 4G ipv6
        ProxyServer server = new ProxyServer();
        ExplicitProxyEndPoint httpEndpoint = new ExplicitProxyEndPoint(IPAddress.Any, httpPort, false);
        ExplicitProxyEndPoint httpEndpointV6 = new ExplicitProxyEndPoint(IPAddress.IPv6Any, httpPort, false);
        server.AddEndPoint(httpEndpoint);
        server.AddEndPoint(httpEndpointV6);
        server.UpStreamEndPoint = new IPEndPoint(upStreamIpv4, 0);
        server.Start(false);`

When replace UpStreamEndPoint with IpV4's Endpoint, my server only support Ipv4, and when replace with IpV6's Endpoint, my server support IpV6 only (all website use IpV4 cannot accessed)
How to make my server support both IpV4 and IpV6 in this case ?

What hinders you from creating actually 2 ProxyServers wihin your app? One for Ipv4 and one for IPv6? Thats what makes the library so powerful, you can very efficiently run and handle 100s of different proxy servers within one app barely consuming any resources....
`
ProxyServer serverIpv4 = new ProxyServer();
ProxyServer serverIpv6 = new ProxyServer();
ExplicitProxyEndPoint httpEndpoint = new ExplicitProxyEndPoint(IPAddress.Any, httpPort, false);
ExplicitProxyEndPoint httpEndpointV6 = new ExplicitProxyEndPoint(IPAddress.IPv6Any, httpPort, false);
serverIpv4.AddEndPoint(httpEndpoint);
serverIpv6.AddEndPoint(httpEndpointV6);
serverIpv4.UpStreamEndPoint = new IPEndPoint(upStreamIpv4, 0);
serverIpv4.Start(false);
serverIpv6.Start(false);
``


The README "changes" link is not valid

Hello,
There is just a small typo in a link from the README or a failure in the redirection:
- Changes: https://flask-sqlalchemy.palletsprojects.com/changes/
The URL doesn't match any existing URL I found the right one from the home page in the additional detail:
https://flask-sqlalchemy.palletsprojects.com/en/2.x/changelog/

You're looking at the master branch, so you need to look at the master docs. It will be in sync once 3.0 is released.


fix: script offset if vue-sfc contains template above

closes https://github.com/graphql/graphiql/issues/3115
Related:
https://github.com/graphql/graphiql/pull/2827#issuecomment-1333707395
Description:
This fixes Intellisense for Vue SFC files which contain template code above the script (both setup and normal). The issue was that the line locations inside the ASTs returned from compileScript where relative to the start of the script tag and not the start of the file. This lead to intellisense and errors working with the wrong line information when the file contained a template above the script.
The fix returns a scriptOffset from parseVueSFC, which should contain the correct offset of the script tag
I added some tests and also tested it visually with a project for which i had problems with.

hey @KammererTob, awesome work on this one! thank you for adding a test case as well.
upstream there were some changes that broke typescript when I rebased, probably something minor. if you like, I can fix the issue myself today!

@acao Sure. Go ahead. Thanks! If you need anything from my side just let me know.

@KammererTob ok! for the error case, the scriptOffset returns 0 which I think makes sense?


fix: refactor dataloader

Why model output only chloride? Why sometimes it not select a ligand at all?

to docstrings add examples of functionality etc


Further acceleration for SM4-GCM on ARM

This patch will allow the SM4-GCM function to leverage the SM4
high-performance CTR crypto interface already implemented for ARM,
which is faster than current single block cipher routine used
for GCM
It does not address the acceleration of GHASH function of GCM,
which can be a future task, still we can see immediate uplift of
performance (up to 4X)
Before this patch:
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
SM4-GCM         186432.92k   394234.05k   587916.46k   639365.12k   648486.91k   652924.25k
After the patch:
SM4-GCM         193924.87k   860940.35k  1696083.71k  2302548.31k  2580411.73k  2607398.91k
Signed-off-by: Daniel Hu<EMAIL_ADDRESS>
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

Merged to master, thanks for the contribution.


fixing OTA write up to SPI_FLASH_SEC_SIZE margins (IDFGH-11311)

when OTA update is performed on a partition that extends to the very last byte of the flash,  then ...
esp_partition_erase_range, called by esp_ota_write(),  will get to erase the sector past flash size which it will decline with an error.
example:
120 sectors to write, (0 to 119), sector 120 is just outside the flash
writing the last bytes <= SPI_FLASH_SEC_SIZE will produce this:
first_sector will be 119 (already erased in previous write operations, has a ramainder to write)
last_sector will be 120 (just outside flash)
the fix determines this situation (condition could probably even better be
if((it->wrote_size + size) >= it->part->size)
and repositions the last_sector to really be the last, so when it is compared to be == first_sector, it will be ignored..
I also believe, that esp_partition_erase_range has a latent issue
...
esp_err_t esp_partition_erase_range(const esp_partition_t *partition,
size_t offset, size_t size)
{
assert(partition != NULL);
if (offset > partition->size) {   //<<----------- should be >=
return ESP_ERR_INVALID_ARG;
}
if (offset + size > partition->size) {   //<<----------- should be >=
return ESP_ERR_INVALID_SIZE;
}
...
but I probably didnt get all the internal info right...

120 sectors to write, (0 to 119), sector 120 is just outside the flash
it->wrote-size is some bytes < SPI_FLASH_SEC_SIZE short of flash end, then
first_sector will be 119 (already erased in previous write operations, has a ramainder to write)
last_sector will be 120 (outside flash)

Sorry but I fail to understand the fix here. If the data goes above the specified partition size then erase is likely to fail. Could you please create maybe a small application with restricted flash size and partition table to reproduce the problem? That will help to understand this scenario.

I also believe, that esp_partition_erase_range has a latent issue
...
esp_err_t esp_partition_erase_range(const esp_partition_t *partition,
size_t offset, size_t size)
{
assert(partition != NULL);
if (offset > partition->size) { //<<----------- should be >=
return ESP_ERR_INVALID_ARG;
}
if (offset + size > partition->size) { //<<----------- should be >=
return ESP_ERR_INVALID_SIZE;
}
...

Wouldn't this cause a problem for a case where the partition size is 8K and input arguments are offset = 4K, size = 4K?

W (92717) esp_ota_ops: OTA image wrote_size = 11F6FC, size = 100, wrote_size+size = 11F7FC (first 0x11F, last 0x11F)
W (92727) esp_ota_ops: OTA image wrote_size = 11F7FC, size = 100, wrote_size+size = 11F8FC (first 0x11F, last 0x11F)
W (92747) esp_ota_ops: OTA image wrote_size = 11F8FC, size = 100, wrote_size+size = 11F9FC (first 0x11F, last 0x11F)
W (92757) esp_ota_ops: OTA image wrote_size = 11F9FC, size = 100, wrote_size+size = 11FAFC (first 0x11F, last 0x11F)
W (92767) esp_ota_ops: OTA image wrote_size = 11FAFC, size = 100, wrote_size+size = 11FBFC (first 0x11F, last 0x11F)
W (92777) esp_ota_ops: OTA image wrote_size = 11FBFC, size = 100, wrote_size+size = 11FCFC (first 0x11F, last 0x11F)
W (92787) esp_ota_ops: OTA image wrote_size = 11FCFC, size = 100, wrote_size+size = 11FDFC (first 0x11F, last 0x11F)
W (92797) esp_ota_ops: OTA image wrote_size = 11FDFC, size = 100, wrote_size+size = 11FEFC (first 0x11F, last 0x11F)
W (92807) esp_ota_ops: OTA image wrote_size = 11FEFC, size = 100, wrote_size+size = 11FFFC (first 0x11F, last 0x11F)
W (92817) esp_ota_ops: OTA image wrote_size = 11FFFC, size = 4, wrote_size+size = 120000 (first 0x11F, last 0x120)
/////////////////////////////////
as you see, the writes thas "just fill a sector to the end" alsways already end up erasing already the next sector too..
this might be a bigger bug than expected
imagine you write from beginning of a sector just a sector full. the following sector gets deleted

so the fix turns out to be even simpler..
            uint32_t last_sector = (it->wrote_size + size - 1) / SPI_FLASH_SEC_SIZE; //last affected sector

which produces first/last sector ids for just the affected data.
@mahavirj this works even for your case.
I will commit anew

@kohait00
Okay, thanks for providing more information.
To summarize, OTA update would fail if firmware_size == partition_size, because the code tries to erase one additional sector beyond the space reserved for the firmware partition.
Left one comment, please squash the commits post update.
Thanks.

corrected and squashed

@kohait00 Also, please check the commit title and the description once. Right now, it still points to a squashed summary of different commit.
Otherwise, LGTM!

@kohait00
Okay, thanks for providing more information.
To summarize, OTA update would fail if firmware_size == partition_size, because the code tries to erase one additional sector beyond the space reserved for the firmware partition.
Left one comment, please squash the commits post update.
Thanks.

Exactly that

sha=61699ba6d67427679132528250e17befcd141002


Feature Request: Add ability to execute arbitrary commands

So, this is definitely not a bug but rather a request that mimics a bit how :Dispatch works.
You've done a great job and a lot of groundwork for executing arbitrary shell commands and tracking and displaying the results with jobs. In one of my plugins I've been trying to do something similar and I'm ending up writing a lot of the same stuff you have already done.
It would be great to do something like :Neomake do foo bar and have it work the same way :! do foo bar or :Dispatch do foo bar do.
If this is something you're open to I can give it a shot myself instead of doing it in my plugin.

I've thought about this before. At one point it was my intention to build a way to use "anonymous makers", something like this:
call neomake#Make({
    \ 'enabled_makers': [{
        \ 'exe': 'cat',
        \ 'args': ['/proc/cpuinfo'],
        \ 'errorformat': &efm
    \ }]
\ })

Notice that instead of passing in the name of an enabled maker, I'm passing in an object that represents a maker I made on the fly. This doesn't currently work, but from that point I think it would be possible to write a nice interface around it. My only concern with adding this functionality is that it feels a bit like feature creep. That said, I'm interested in having this functionality myself, and it probably wouldn't be too hard to implement on top of what we've got already. As long as it's not likely to generate a large maintenance cost I think I'm for it.

Yea, I made a small change that allowed me to do :Neomake {'exe':'foo','args':['bar','baz']} and it works ok. Not perfect though because any spaces break it.
https://github.com/ViViDboarder/neomake/commit/8d6a813ec474b866da04d68305c1bf9832cbe369
I can start a PR if and we can discuss there if this is going down the right path.

I actually think this should be done with a different command, because otherwise parsing command arguments will be really tricky. Then we won't have to detect objects ourselves either. Maybe something like :NeomakeSh foo bar baz could build an anonymous maker with that executable and arguments and run it.

Yea. That'd be way less complicated. I'll try building that out.

Replaced by #80


Clean build issue caused by newly generated cargo.lock

currently, we don't check cargo.lock file in git as it is included within the .gitignore file.
cargo.lock should be checked if we want to have a reproducible build.
I had an issue building after mistakenly updating my cargo.lock file. also, CI workflow on any new branch could have the same issue, old branches won't probably have this error as it will leverage the old cache, but I could be wrong.

Fixed in 729a46b8


Search: Add repository pattern

Preview:
Before

After

Closes #335

QA 🎬
Repository names are now also included in search results.

un_dev_block 🟢
Suggestion implemented via https://github.com/iFixit/pulldasher/pull/377/commits/8a6276b9a4c3cc5d4ff28510addfafb1d9579701

CR :+1:

Carry Over QA 🎬


Feat: Set the background as transparent

Requested feature
I am using lualine with LunarVim and a theme called sonokai with the option to set the background as transparent enabled.
The problem is that the part of the line containing the git branch and the file name aren't getting transparent.
How can I fix it?

The theme you're using needs to set background color to nil or None . Since your theme is provided by your colorscheme and the transparent feature is provided by your colorscheme. You should open an issue there.

Ah, thank you!!
I just fixed it.


Update dependency given in README to 1.0.0

Following the release of async-http-client 1.0.0, the dependency to add in Package.swift is now bumped too.

@swift-server-bot test this please


Update scalafmt-core to 2.7.4

Updates org.scalameta:scalafmt-core from 2.7.2 to 2.7.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

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

@@            Coverage Diff            @@
##             master     #136   +/-   ##
=========================================
  Coverage          ?   37.80%
=========================================
  Files             ?        3
  Lines             ?       82
  Branches          ?        0
=========================================
  Hits              ?       31
  Misses            ?       51
  Partials          ?        0

Continue to review full report at Codecov.

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


updated committer and TSC checklist

Signed-off-by: KipTwitchell<EMAIL_ADDRESS>

@jmertic Updates done.

Also @KipTwitchell - you need to enable two-factor authentication for your GitHub account. Details at https://docs.github.com/en/github/authenticating-to-github/configuring-two-factor-authentication

@KipTwitchell The teams and access structure should be all in place now. Feel free to merge this in and let me know if any of the permissions aren't correct.


[CARBONDATA-1069] Fixed Compaction Failure issue on Cluster

Please rebase your PR.

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2138/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2234/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/107/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/300/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2422/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2423/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/302/

Is this issue still valid? Please explain what is the problem root cause? What is fix about?

Can one of the admins verify this patch?

This issue has been fixed by manish's PR


[openMVG] Incorrect relative path in openMVG.config

Describe the bug
Installing openMVG generates a faulty openMVG.config.
Environment

OS: Windows
Compiler: MSVC 2019

To Reproduce
Steps to reproduce the behavior:

./vcpkg install openmvg
./vcpkg export openmvg
Create a cmake project which calls  find_package(openMVG REQUIRED)
Call cmake -DCMAKE_TOOLCHAIN_FILE=... ...

Failure logs
CMake Error at <export>/installed/<triplet>/share/openMVG/OpenMVGConfig.cmake:42 (message):
  Failed to find OPENMVG - OpenMVG install root:
  <export>/installed/<triplet>/share/openMVG.
  Cannot find openMVG include files.
Call Stack (most recent call first):
  <export>/installed/<triplet>/share/openMVG/OpenMVGConfig.cmake:74 (OPENMVG_REPORT_NOT_FOUND)
  <export>/scripts/buildsystems/vcpkg.cmake:263 (_find_package)

Additional context
The problem is this line:
You have to replace ${CMAKE_MODULE_PATH}/../../../ ABSOLUTE with ${CMAKE_MODULE_PATH}/../../ ABSOLUTE

Confirmed, we need to fix it.

Hi @bjornpiltz, thanks for reporting this issue!
I've fixed it, please update vcpkg and rebuild openmvg.
Thanks.


Link to API reference does not work

Hi, the link to the API reference gives a Cloudflare "Web Server is down" error.

Thank you for pointing this out. Fixed!


Add Plan result sorting flow element property

Added Plan result sorting flow element property to allow users to control what order plan results are apply in

Tagging TLHD-559 for notification once this is released

Added functionality in https://github.com/tilialabs/tilia-phoenix-connect/commit/6d5147261e01649e02c31f8f05771f493114289a


Documentation apparently not created after "make docs" or "make html"

I forked the repo to try to work on a pull request about the documentation, so i tried to modify the comments in the testcontainers/compose.py file and generated the docs but my changes aren't showing up. What am i doing wrong?
I tried running make docs from the project root directory and also running make html from the docs directory.

Have you installed sphinx?

Yes.
Output of sphinx-build --version:
sphinx-build 4.4.0

Now it works but i don't know why.
sphinx-build -nW docs docs/_build/html
Running Sphinx v4.5.0
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 5 source files that are out of date
updating environment: [new config] 5 added, 0 changed, 0 removed
reading sources... [100%] selenium
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] selenium
generating indices... genindex py-modindex done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in docs/_build/html.

The problem about my changes not showing still persists, though. I thought it can happen because i have testcontainers already installed. So i removed it and tried again and make docs tells me this:
sphinx-build -nW docs docs/_build/html
Running Sphinx v4.5.0
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 5 source files that are out of date
updating environment: [new config] 5 added, 0 changed, 0 removed
reading sources... [100%] selenium

Warning, treated as error:
autodoc: failed to import module 'compose' from module 'testcontainers'; the following exception was raised:
No module named 'testcontainers'
make: *** [Makefile:43: docs] Error 2

If you've made changes in the source code (.py files) rather than the documentation (.rst files), those changes may not show up until you delete the output and rebuild from scratch (see https://github.com/sphinx-doc/sphinx/issues/3697 for details).


Installation of Azure CLI from shell script: "bash: line 42: /dev/tty: No such device or address"

Describe the bug
I am trying to install Azure CLI on an Ubuntu 22.04 VM in Azure, as part of a Custom Script Extension for Linux setup script. I have had this running fine in the past, but now it no longer seems to install properly.
Following the instructions for Installing AZ CLI as part of a script I have the following line as part of my setup script:
curl -L https://aka.ms/InstallAzureCli | bash

Whenever my script gets to this portion, I receive the following output:
Enable succeeded:
[stdout]
Downloading Azure CLI install script from https://azurecliprod.blob.core.windows.net/install.py to /tmp/azure_cli_install_tmp_Dbp6Dd.
/tmp/azure_cli_install_tmp_Dbp6Dd: OK
Running install script.

[stderr]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1405  100  1405    0     0   1873      0 --:--:-- --:--:-- --:--:-- 20071
#=#=#
##O#-#

######################################################################## 100.0%
bash: line 42: /dev/tty: No such device or address

From what I can tell, the install script is being downloaded properly, so no issues with networking I don't think. I looked at the install file that gets downloaded, and line 42 references "$python_cmd $install_script < $_TTY" so it seems like that may be related to this issue.
I have cut down my install script so that the only command in it is the AZ CLI setup command, but get the same error, so I don't think it is anything related to elsewhere in my script. I have also tried running the AZ CLI Installer command directly from the Custom Script Extension (without including it in a separate .sh file) and get the same error.
Additionally, when I try to run the setup command inside of the "Run Command Script" shell extension on an existing VM running Ubuntu 22.04, I get the same error. This makes me think it isn't related to my Custom Script Extension setup, but rather something about installing AZ CLI as part of a script with no user input.
When I run the AZ CLI setup command after logging in through SSH, everything works fine. But I do get a few prompts about where AZ CLI should be installed, etc. I didn't see anything on the install page about switches to disable these prompts, maybe this is the issue?
To Reproduce
Create an Ubuntu 22.04 VM in Azure with a standard VNET, subnet, and public IP. In the Azure Portal, select the VM, then go to Operations -> Run Command -> RunShellScript. Enter the following command:
curl -L https://aka.ms/InstallAzureCli | bash

Expected behavior
I expected AZ CLI to be installed and for the az set of commands to be available for use to any user upon their next login. As I mentioned, this has worked fine for me in the past, but not today.
Thanks very much for any help!

@jiasli for awareness

https://aka.ms/InstallAzureCli from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=script is for interactive installation from PyPI. Since you are using "Custom Script Extension", I think it doesn't have a TTY, so the error happens.
I guess previously you are installing with https://aka.ms/InstallAzureCLIDeb from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt ? That script installs Azure CLI DEB package and doesn't require any interactive intervention.

Yes, that seems to have been my problem! Thanks very much for taking the time to reply.


Module name is not allowed to contains spaces

Spaces are being stripped out of the module name.
Using proploader -i <ipaddress> -n "My Wi-Fi Module" results in the module being named "My" instead.

I see that the module name is stored as the module's Hostname.
If it's not possible for hostnames to have spaces (and I believe it is not allowed) then please make proploader automatically convert any white space (spaces) in the given name to underscores (_).  For this reason, it should probably finish up the module naming operation with a success message (related to Issue #10) saying something like: "Set module name to '<module_name>'"

Should we add a new field to the config structure to contain the "friendly name" so that we can relax the requirement to allow spaces? I just used hostname because it was a field that was already present.

No, I like your decision to use hostname because it makes it show up in other network areas too; like the AP's Wi-Fi client list.
Let's just make proploader automatically:

trim any leading and trailing whitespace (spaces, tabs, non-printable characters), and,
convert any non-leading/trailing whitespace characters to underscores (_), then,
upon success, report "Set module name to " for clarity in what occurred

I've modified proploader to enforce the following rules:
Module names should only include the characters A-Z, a-z, 0-9, or '-' and should not begin or
end with a '-'. They must also be less than 32 characters long.
In addition, it will attempt to convert any name provided by the user to a compliant name by replacing spaces with hyphens.


Add Carrots

Carrots is a hiring platform specifically for software engineers. Engineers can connect their GitHub, Stack Overflow, LinkedIn, and more to showcase much more than their resumes. Its proprietary algorithm ranks world-class talent and surfaces their profiles to top companies.

Thanks @sewinter


[Doc] Add annotations for shared-data

Signed-off-by: EsoragotoSpirit<EMAIL_ADDRESS>Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[x] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0


update on video quality with Doorbird D1101V

Just to let you know, the only way that I get reasonable video quality involves removing audio altogether (by specifying an FFmpeg executable without the libfdk-acc support, and by using the following FFmpeg options:
-preset ultrafast
(instead of -preset veryfast)
and
-tune zerolatency
Hope you find this useful.
Axel

I’ve already stated this elsewhere in responses to other issues. :smile:

I’ve already stated this elsewhere in responses to other issues. :smile:

I agree, removing audio helped a lot. Thank you.  I just wanted to point out that the "-preset ultrafast" and "-tune zerolatency" made things even better with the DoorBird DV1101V (video less choppy, no freezes, and shorter initial latency).

I agree, removing audio helped a lot. Thank you.  I just wanted to point out that the "-preset ultrafast" and "-tune zerolatency" made things even better with the DoorBird DV1101V (video less choppy, no freezes, and shorter initial latency).


useDisconnect hook not working

Describe the bug
useDisconnect hook resulting in the following error when called:

Other hooks like useConnectModal, useAccount, and useBalance working fine.
All implemented following the react examples with Next.js, sans TypeScript.
index.js
import {
  useConnectModal,
  useAccount,
  useBalance,
  useDisconnect,
} from "@web3modal/react";

export default function Home() {
  const { isOpen, open, close } = useConnectModal();
  const { address, isConnected } = useAccount();
  const disconnect = useDisconnect();
  const { data, error, isLoading, refetch } = useBalance({
    addressOrName: address,
    formatUnits: "ether",
  });

  return (

      {!isConnected ? (
        <button onClick={open}>Connect</button>
      ) : (
        <button onClick={disconnect}>Disconnect</button>
      )}

        Connected: {isConnected ? "Yes" : "No"}

      {address &&
{address}
}
      {data &&
{`${data.symbol}: ${data.formatted}`}
}

  );
}

_app.js
import { chains, providers } from "@web3modal/ethereum";
import { Web3Modal } from "@web3modal/react";

const config = {
  projectId: "process.env.NEXT_PUBLIC_PROJECT_ID",
  theme: "dark",
  accentColor: "default",
  ethereum: {
    appName: "web3Modal",
    autoConnect: false,
    chains: [chains.mainnet],
    providers: [
      providers.walletConnectProvider({
        projectId: "process.env.NEXT_PUBLIC_PROJECT_ID",
      }),
    ],
  },
};

export default function MyApp({ Component, pageProps }) {
  return (
    <>
      <Component {...pageProps} />
      <Web3Modal config={config} />
    </>
  );
}

SDK Version

Version ^2.0.0-alpha.7

To Reproduce
Steps to reproduce the behavior:

Call disconnect hook via onClick event
Open console
See error

Expected behavior
Account to disconnect from network.
Desktop (please complete the following information):

macOS v12.6
Chrome v106.0.5249.119 (Official Build) (arm64)

Will look into this, it has to be something to do with combination of hooks used together I think, ty for reporting this 👍

I ran into an issue with useDisconnect but did not receive a console error.
How to reproduce this bug:

Click Connect button
Connect to MetaMask
Click Disconnect and trigger disconnect()
"Connected sites" in MetaMask still shows connected to localhost
Click Connect again it let me connect to MetaMask which should not be the expected behaviour

App.js
import { useConnectModal, useAccount, useDisconnect } from "@web3modal/react"

export default function ConnectWallet() {
    const { isConnected } = useAccount()
    const disconnect = useDisconnect()

    const { open } = useConnectModal()

    return (
        <button onClick={() => (!isConnected ? open() : disconnect())}>
            {!isConnected ? "Connect" : "Disconnect"}
        </button>
    )
}

package.json
 "dependencies": {
        "@chakra-ui/react": "^2.3.6",
        "@emotion/react": "^11",
        "@emotion/styled": "^11",
        "@testing-library/jest-dom": "^5.14.1",
        "@testing-library/react": "^13.0.0",
        "@testing-library/user-event": "^13.2.1",
        "@web3modal/ethereum": "^2.0.0-alpha.7",
        "@web3modal/react": "^2.0.0-alpha.7",
        "ethers": "^5.7.1",
        "framer-motion": "^6",
        "react": "^18.2.0",
        "react-dom": "^18.2.0",
        "react-router-dom": "^6.4.2",
        "react-scripts": "5.0.1",
        "web-vitals": "^2.1.0",
        "web3": "^1.8.0"
    },
    "devDependencies": {
        "@types/jest": "^29.1.2",
        "@types/node": "^18.11.0",
        "@types/react": "^18.0.21",
        "@types/react-dom": "^18.0.6",
        "autoprefixer": "^10.4.12",
        "ether": "^0.0.9",
        "hardhat": "^2.12.0",
        "postcss": "^8.4.18",
        "solhint": "^3.3.7",
        "tailwindcss": "^3.1.8",
        "typescript": "^4.8.4"
    }

@crackcodesprogramloads You are disconnected on the website but metamask is still in connected state correct?
If so, it is expected behaviour. I think the only way to disconnect from metamask is to do it explicitly there (although dapp will be disconnected anyway and can't do anything). This is how ethers behaves and I also tested to see what happens from other projects similar to web3modal, looks like it behaves same there as well.

Hey @IljaDaderko thanks for circling back. Working great on my end, able to connect and disconnect with no issues now.

@adamlevoy
Thanks! Using Alpha 8 fixed the issue for me. It now allows me to connect after clicking disconnect while on Alpha 7 it would say I'm still connected

@0xAsimetriq Hi, While adding Metamask in the connectors, please try to add custom configurations for each connector. I found this is the issue:
    new MetaMaskConnector({
      chains,
      options: {
        UNSTABLE_shimOnConnectSelectAccount: true,
      },
    })

We need to add UNSTABLE_shimOnConnectSelectAccount: true as an option for the MetaMaskConnector. Then we can use this. Let me know if it is possible. :)

@adityapandey9 Thank you for the update, we actually changed everything up in a way where users can now provide their own wagmi configuration, including connectors (we only require WalletConnectConnector to be present in that case).
Our default connector selection only uses InjectedConnector and its available shims.


Allow SpeechRecognizer to use addGrammarSearch with a String also

Could be useful in many cases, where the source of the grammar is not a single file.

Applied, thanks a lot!


Add mergify configuration

Looks like zypper crashes due to an unhandled C++ exception:
terminate called after throwing an instance of 'std::system_error'
  what():  Operation not permitted

I suppose this could be considered a zypper bug.

Right, I only added it recently to devel:openQA:Leap:15.3 but that's of course not helping here. We needed a container with our devel repo enabled, maybe just reuse the openQA CI container?

Rebased, refreshed, updated, verified. All ready for review now.

Change the approval requirement to members of @os-autoinst/asset-sync-and-integration

I don't think that's possible according to https://docs.mergify.com/workflow/actions/merge/ . Also I don't think that we need to overcomplicate things. Still only approvals from priviledged members of the organisation count, not like anybody

Change the approval requirement to members of @os-autoinst/asset-sync-and-integration

I don't think that's possible according to https://docs.mergify.com/workflow/actions/merge/ . Also I don't think that we need to overcomplicate things. Still only approvals from priviledged members of the organisation count, not like anybody

Not convinced. Ever heard of bad actors and account takeover? - If others (non members of @os-autoinst/tools-team) agree, and number of approvals is increased to 2 you can dismiss.
I am not a fan of automated merges on things that go live - also no description is provided nor reasoning as to why is it important for this repository.

Change the approval requirement to members of @os-autoinst/asset-sync-and-integration

I don't think that's possible according to https://docs.mergify.com/workflow/actions/merge/ . Also I don't think that we need to overcomplicate things. Still only approvals from priviledged members of the organisation count, not like anybody

Not convinced. Ever heard of bad actors and account takeover? - If others (non members of @os-autoinst/tools-team) agree, and number of approvals is increased to 2 and I can reconsider.

Sure, let's play it safe(r). Increased to >=2 now.

I am not a fan of automated merges on things that go live - also no description is provided nor reasoning as to why is it important for this repository.

Well, first it might seem to be more convenient than it is important but we have good experiences in os-autoinst, openQA and others and the approach is helping to improve the quality and prevent unforeseen problems because unlike human reviewers mergify is very diligent to ensure that all necessary CI checks are not failed but also present as happened multiple times that CI checks were not triggered at all.


Memory leak

Here is some logs from memory profiler:
Line #    Mem usage    Increment  Occurrences   Line Contents
=============================================================
    71 181.3867 MiB 181.3867 MiB           1   @profile(precision=4)
    72                                         def predict_single_image(img_url):
    73 459.8711 MiB 278.4844 MiB           1       img = get_image_from_url(img_url)
    74                                             # if "error" in img:
    75                                             #    return img
    76 460.6953 MiB   0.8242 MiB           1       img = img["image"]
    77
    78                                             # img = resize_with_pad(img, (800, 800))
    79 8690.9766 MiB 8230.2812 MiB           1       boxes, scores, class_ids = yolov8_detector(img)
    80 8690.9766 MiB   0.0000 MiB           1       return []
    81                                             prediction = map(
    82                                                 lambda x:
    83                                                     {
    84                                                         "label": class_names[x[0]],
    85                                                         "score": float(x[1]),
    86                                                         "box": [float(x) for x in x[2]]
    87                                                     },
    88                                                 zip(class_ids, scores, boxes)
    89                                             )
    90                                             del boxes, scores, class_ids
    91                                             # return list(prediction)
    92                                             return []

8 gigs per single operation. And after the execution everything stays in memory for some reason. Do you know why and how to remove it from memory?

Probably not a memory leak on your side... Sorry


Request: Add Ubuntu Multipass to scoop

Canonical has created Multipass, a cross-platform tool that enables individuals to easily deploy Ubuntu virtual machines using the native hypervisor capabilities of the operating system (ie. xhyve, Hyper-V, or KVM). I use this tool on Windows with Hyper-V to spin up development systems whenever I need to test something out.
Please consider adding this tool to Scoop. Thank you!
https://multipass.run/
https://www.youtube.com/watch?v=Ap_bAW8i2zY

This issue belongs in the Main bucket. Unfortunately, we cannot move this issue on this end, so it is being closed.
If this is still an issue, please create a new issue in the Main bucket via https://github.com/ScoopInstaller/Main/issues/new?body=Moved+from+https%3A%2F%2Fgithub.com%2Flukesampson%2Fscoop%2Fissues%2F3956


zmq4: urls: expected string value

👋
I am trying to use ZMQ4 but keeps failing because of urls not being unmarshalled correctly:
$ ~/go/bin/benthos create zmq4//file > testzmq.yml
$ ~/go/bin/benthos -c  testzmq.yml
testzmq.yml: line 15: expected string value
Shutting down due to linter errors, to prevent shutdown run Benthos with --chilled
$ cat -n testzmq.yml
     1  http:
     2    enabled: true
     3    address: <IP_ADDRESS>:4195
     4    root_path: /benthos
     5    debug_endpoints: false
     6    cert_file: ""
     7    key_file: ""
     8    cors:
     9      enabled: false
    10      allowed_origins: []
    11  input:
    12    label: ""
    13    zmq4:
    14      urls:
    15        - tcp://localhost:5555
    16      bind: false
    17      socket_type: PULL
    18      sub_filters: []
    19      high_water_mark: 0
    20      poll_timeout: 5s
    21  buffer:
    22    none: {}
    23  pipeline:
    24    threads: 1
    25    processors: []
    26  output:
    27    label: ""
    28    file:
    29      path: ""
    30      codec: lines
    31  logger:
    32    level: INFO
    33    format: json
    34    add_timestamp: true
    35    static_fields:
    36      '@service': benthos
    37  metrics:
    38    http_server:
    39      prefix: benthos
    40      path_mapping: ""
    41  tracer:
    42    none: {}
    43  shutdown_timeout: 20s

Benthos was installed with the following command:
$ go get -tags "ZMQ4" github.com/Jeffail/benthos/v3/cmd/benthos@master
go: downloading github.com/Jeffail/benthos/v3 v3.62.1-0.20220205105400-7a5496e31d82
go: downloading github.com/linkedin/goavro/v2 v2.11.0
go get: installing executables with 'go get' in module mode is deprecated.
        Use 'go install pkg@version' instead.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

(today's master == 7a5496e31d827d34bb4d861be30d3dcf3e8801fb)
And also with v3.62.0 FWIW

Hey @nbareil, thanks for raising this. This should be fixed in: https://github.com/Jeffail/benthos/commit/4ec2a85f6a1ca15be2deee2c35b249d035847b6a, it looks as though the linting rules were being incorrectly inferred.


Does this code work with integrated Maker?

I'm sorry for bothering you, @tobimori , but I just tried lots of times to make your plugin works and failed.
When I've started to search for a maker key, I found that Maker was completely integrated in IFTTT.
Alas, their documentation is quite unclear and I failed to found any information to understand how calls that maker key now.
So, I've tried all the keys which I found and got no positive result.
When I saw when you updated this plugin last time, I understood that it may contain old API.
Could you, please, update the code?
Would be very grateful for your reply.

The plugin is working fine, no update needed if you use the correct branch or the version available in the Elgato Stream Deck Store.
This plugin is made for using the "Maker" integration. (or Webhooks, Maker Webhooks, whatever)
Login to IFTTT, then click on the Create new Applet button in the property inspector of a Stream Deck button and create your actions.
After you linked the service for webhooks to your IFTTT account, the maker key can be found here if you click on "Documentation".

Thank you, @tobimori !

Sorry, one more question. Where I should take an event name? From the address bar?

The event name is what you enter in the text box when creating a new applet with a webhooks trigger on IFTTT

The event name is what you enter in the text box when creating a new applet with a webhooks trigger on IFTTT
Thank you

The event name is what you enter in the text box when creating a new applet with a webhooks trigger on IFTTT
Thank you


[WIP] Add NetworkForm

I extracted tracking because I didn't want to add another dependency to the package. Apps will need their own 'wrapper' anyway so it shouldn't be an issue to wire up tracking there.


Include contents used to produce example.pdf?

I'm brand new to typst, just having gotten the invite (and not realizing i could have just used the cli tool before).
Mostly I'm struggling to produce something equivalent to the example.pdf, given that certain things (like contact_data which requires a list of things which have a .link) seem to require inputting specific kinds of data and it's not immediately obvious to me how to do so.
Thanks!

Hey,
well, is there something specific you want to achieve? The template is defined in simplecv.typ, there you can see how the different fields for the contact data are used.

Sorry nevermind, i dont know how I missed the main.typ. I somehow my brain only saw the simplecv.typ, which is what i was referencing. thanks!


Unable to store excel file on server

-->
Prerequisites

[ ] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[x] Checked that your issue isn't already filed.
[x] Checked if no PR was submitted that fixes this problem.

Versions

PHP version: 7.1.4
Laravel version: 5.5.40
Package version: 3.0

Description
I have used the below command to store the data from an array to a file on server but it didn't work. Do you have any suggestions on how I can accomplish this task?
Excel::store(arr[], \storage_path('inventorytoolextracts/log/test.xlsx');
Steps to Reproduce
Expected behavior:

Actual behavior:

Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

What did you derive your example of? We don't mention this way of doing it anywhere in the docs I believe. Please refer to our documentation https://laravel-excel.maatwebsite.nl/3.0/exports/ or tutorial https://medium.com/@maatwebsite/supercharge-your-excel-exports-in-laravel-eb9f74395995
It's most likely something like this: Excel::store(new YourExportClass(array[]), inventorytoolextracts/log/test.xlsx)

Thank you for the response Patrick.
Storing file on the server still didn't work in spite of using collections class. Download works perfectly though, as stated in the document.

I have the same problem:
$export->store(storage_path('foo.xlsx'));
where $export is an instance of export class that uses Exportable trait seems to do nothing at all. At the same time downloading works just fine.

The following doesn't store any file. No errors generated. Downloading works well.
Excel::store(new TasksExport($user), 'tasks.xlsx');

Check what your default disk is and if it's writable

Worked. my default disk is local and the root was pointing elsewhere than i thought.
Thanks.

@patrickbrouwers am having the same issue, download works as expected though, any idea what would be the reason ?

i found the issue, download doesn't work without running the queue worker, this is not mentioned nor in docs or config.


Classcast Exception when trying to connect to MSK using AWS_MSK_IAM from Datahub

Team,
I am trying to deploy Datahub project specifically GMS Service after adding the following jars to the container (aws-msk-iam-auth-1.1.1-all.jar, kafka-clients-2.3.0.jar, slf4j-api-1.7.31.jar).
Datahub Version that i am working on is the latest one v0.8.21
I am trying to connect to AWS MSK bootstrap-servers using AWS_MSK_IAM SASL Mechanism.
But, I am getting a classcast exception in my service logs
Caused by: java.lang.ClassCastException: class software.amazon.msk.auth.iam.IAMClientCallbackHandler cannot be cast to class org.apache.kafka.common.security.auth.AuthenticateCallbackHandler (software.amazon.msk.auth.iam.IAMClientCallbackHandler is in unnamed module of loader java.net.URLClassLoader @73846619; org.apache.kafka.common.security.auth.AuthenticateCallbackHandler is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @667a738)
	at org.apache.kafka.common.network.SaslChannelBuilder.createClientCallbackHandler(SaslChannelBuilder.java:293)
	at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:136)

Following are the env variables added to the project to run
SPRING_KAFKA_PROPERTIES_SECURITY_PROTOCOL=SASL_SSL
SPRING_KAFKA_PROPERTIES_SSL_TRUSTSTORE_LOCATION=/tmp/kafka.client.truststore.jks
SPRING_KAFKA_PROPERTIES_SASL_MECHANISM=AWS_MSK_IAM
SPRING_KAFKA_PROPERTIES_SASL_JAAS_CONFIG=software.amazon.msk.auth.iam.IAMLoginModule required awsDebugCreds=true;
SPRING_KAFKA_PROPERTIES_SASL_CLIENT_CALLBACK_HANDLER_CLASS=software.amazon.msk.auth.iam.IAMClientCallbackHandler

Attached the logs....
gms_v0.8.21.log
Also attaching the custom Docker file and start script to add the above highlighted jars
Scripts.zip
Any help on this would be great!

From the error message, it seems like there are two different class loaders involved in the application java.net.URLClassLoader @73846619 and
org.eclipse.jetty.webapp.WebAppClassLoader @667a738.
That normally indicates that the Kafka client libraries and the aws-msk-iam-auth library are being loaded by two different class loaders.  Sadly, I am not familiar enough with Datahub to know why two different class loaders are being used.
You could try running the gms service with the JVM argument -verbose:class to see if that provides any hint as to how the kafka clients and aws-msk-iam-auth libraries are being loaded. Please note that this will generate a lot of log lines.
Although I am not familiar with Datahub itself, in most cases where the aws-msk-iam-auth library is used as part of another framework the aws-msk-iam-auth library should be on the classpath and not some other path used to load plugins.
Hope this helps.

Thanks @sayantacC for your inputs.
Added aws-msk-iam-auth:1.1.1  as an implementation dependency to the metadata-service project.
Now, I am getting the below error....
Caused by: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [com.amazonaws.auth.AWSCredentialsProviderChain@4d9fa6ba: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), WebIdentityTokenCredentialsProvider: You must specify a value for roleArn and roleSessionName, software.amazon.msk.auth.iam.internals.EnhancedProfileCredentialsProvider@2f6a0f9c: Profile file contained no credentials for profile 'default': ProfileFile(profiles=[]), com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@50274fbd: The requested metadata is not found at http://<redact>/latest/meta-data/iam/security-credentials/]]
	at com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:136)
	at software.amazon.msk.auth.iam.internals.MSKCredentialProvider.getCredentials(MSKCredentialProvider.java:86)
	at software.amazon.msk.auth.iam.IAMClientCallbackHandler.handleCallback(IAMClientCallbackHandler.java:100)
	at software.amazon.msk.auth.iam.IAMClientCallbackHandler.handle(IAMClientCallbackHandler.java:77)
	at software.amazon.msk.auth.iam.internals.IAMSaslClient.generateClientMessage(IAMSaslClient.java:138)

From the stacktrace it looks like its able to find the MSKCredentialProvider but not able to find the credentials.
Are there additional env variables that should be set?
Not clear to me trying to find more documentation around this.

@arunvasudevan if you are running DataHub on K8s (Amazon EKS), the IAM Roles for Service Accounts (IRSA) - the role associated with the pod will provide the proper IAM auth.

Thanks @garystafford and @sayantacC after adding the aws-msk-iam-auth library to the GMS Dependencies the issue was resolved.


-- Feature Request -- Integrate Apprise-Api

Hi =) Would it be possible, to integrate a apprise-curl command with the status of the backup? If everything is ok, or something went wrong). Here is an example how it can be done =):
https://github.com/djmaze/shepherd/pull/30/commits/5d881fc8186d815fa8b247021d33e93b48a15204

sorry wrong container XD


dart:ffi DynamicLibrary extends Pointer

DynamicLibarary is currently completely separate from Pointer. This prevents us to pass a handle to a dynamic library to C++ from Dart, and it introduces some code duplication in the VM.
We can make DynamicLibrary extends Pointer<Void>.
It would be best if this would be a non-indexable and non-storeable pointer: https://github.com/dart-lang/sdk/issues/35841

If there is a good reason for not merging the two, then we should expose DynamicLibrary.handle to enable users passing library handles to C functions.

If we don't allow subclassing Pointer, we cannot make DynamicLibrary a subclass (https://github.com/dart-lang/sdk/issues/35782).
Converting issue to providing .handle.

@sjindel-google we should then maybe also support the reverse, a fromHandle(Pointer<Void> handle) constructor?

I think so. Perhaps we should make DynamicLibrary a struct and go with Pointer<DynamicLibrary> in the new structs API?

We should do that. Then we do not have to implement DynamicLibrary.handle and DynamicLibrary.fromHandle(h) as special cases.
Moreover, if someone would ever be passing dynamic library handles through ffi function calls or callbacks, the arguments would be typed as Pointer<DynamicLibrary> rather than Pointer<Void>.

We are incorrectly using dlopen/dlsym directly instead of the embedder callbacks, which violates the embedder abstraction. Once we switch to using embedder callbacks, the underlying pointer behind a dynamic library will be embedder-defined and not useful to Dart code.


fixed minor typo

Describe your changes :
Updated K8s EKS docs with a minor typo fix.

Type of change :

[X] Documentation

Thanks a lot @cristiancalugaru


proposal: runtime/cgo: add CArray helper

I propose a new helper C.CArray, similar to C.CString/C.CBytes, implemented as follows:
func CArray[T any](n int) []T {
        var t T
        return (*[1 << 30]T)(C.malloc(C.size_t(n * int(unsafe.Sizeof(t)))))[:n:n]
}

I'm not quite sure what the implementation would look like inside cmd/cgo, so perhaps its better to add this method to the cgo package instead.

I don't think it makes sense to have a malloc wrapper that returns a Go type instead of a C type.
Instead, push the malloc call to the caller side (where they will be prompted to consider when to free the data) and use unsafe.Slice to wrap it as a Go slice.

I don't think it makes sense to have a malloc wrapper that returns a Go type instead of a C type.

Good point, CString returns a C type.

use unsafe.Slice to wrap it as a Go slice

Thanks for this pointer, makes things much simpler.


Flag up Closed/Dormant practices on the frontend

Closes #889

Now deployed to staging, see e.g.
http://staging.openprescribing.net/practice/A89038/
http://staging.openprescribing.net/practice/B84614/
http://staging.openprescribing.net/practice/
In trying to test my changes to the Analyse page I've discovered that the search only returns active practices in any case so my changes here are redundant. See:
https://github.com/ebmdatalab/openprescribing/blob/24110f5a190eab8bc5d01e235fb2de812980913d/openprescribing/api/views_org_codes.py#L53
Should I back them out? Or should we change the search to return dormant practices now that we can flag them as such in the results?

I think we should back them out.
How we handle closed/dormant practices is still an ongoing discussion, but I believe @richiecroker's preference has always been that we should merge historic data about closed practices into the surviving practice, if we can.
If it turns out this is possible, then analyses should always be against current practices (just as we always treat their CCG membership as always having pertained to their current membership), meaning we should filter out closed/dormant practices there (but still keep them on CCG / Practice index pages).
If it's not possible, we can always revisit this PR.
Once that's backed out, happy to merge.

Some more thoughts on exploring further.
Two other places we should consider adding the status:

It would be nice for it to appear in the page <title> (thus in search engines)
This measures page

Per my previous comment, it's probable that point (2) will become irrelevant when we resolve practice mergers, but that may take some time, so it's worth doing for now, I think.
Finally, the "what does this mean" link only pertains to dormant practices. We probably don't need to explain what "closed" means.

@sebbacon I've updated this PR to address the various points you raised. I can't deploy it to staging at the moment though because it's being used to asses the new measures.

Deployed to staging now. See:
http://staging.openprescribing.net/ccg/11X/ciclosporin/#L85045 (scroll up a bit)
http://staging.openprescribing.net/practice/L85602/


fileMatch collision

I'm not sure what the right :wrench: is... but I have a GitHub Action called deploy.yaml that isn't validated against the GitHub Action schema because the Deployer Recipe takes precedence.
Some potential fixes:

https://github.com/chris48s/v8r/issues/17 which would allow me to define my own catalog and exclude Deployer Recipe
new command line flag to ignore schema(s) (like Deployer Recipe)

If you need to validate a file and the schema suggested by schemastore based on the file name isn't right you can use the --schema flag to specify the right one to use e.g:
v8r deploy.yaml --schema https://json.schemastore.org/github-action.json

If you need to validate a file and the schema suggested by schemastore based on the file name isn't right you can use the --schema flag to specify the right one to use e.g:

:bow:, that's very helpful!
Unfortunately, it doesn't completely resolve my issue. For my use-case, I'm not using v8r directly but via https://github.com/nvuillam/mega-linter which (right now) only allows flag(s) for the entire run (of a project). In other words, if my project contains multiple YAML types... then --schema won't work since it will use the argument for all the YAML files.
:point_up: doesn't mean that a fix / enhancement needs to exist in v8r though...

Yes - for the moment that behaviour of running v8r on every JSON/yaml file in your repo is a feature of mega-linter rather than a feature of v8r.
That said, an idea I am toying with (but haven't implemented yet) is the ability to run v8r on a directory or glob pattern (see https://github.com/chris48s/v8r/issues/21 ) so I guess at the point you can run something like v8r directory/*.yml to validate N different files against N different schemas, it probably then becomes necessary to be able to supply a user-defined mapping of which files to validate against which schemas.. which then starts to look a lot like #17 :thinking:

Would it be possible to read the schema from a comment at the top of the file?
This wouldn't work for pure JSON, since it doesn't support comments, but it would work for YAML.


Not Working Support for Zip64 (file sizes > 4GB)

Your helper file is very much useful, I have used in my 3-5 projects but when I used in recent project where zipping was of more than 6gb folder, zip file was generating successfully but unzipping was making issue in checksum error.
After going through your code and comments I found that support for larger sizes file you have changed the WriteEndRecord parameter size but not changed in close function to send the value for the same so I have changed some little two things in two lines of your code.
Please change the data type in ### close() function at line###  334, 335 from uint to long as when there is bigger sizes files the stream position is at greater than the uint max size.
Please look the same and do changes for making this more awesome successful code.
    /// <summary>
    /// Updates central directory (if pertinent) and close the Zip storage
    /// </summary>
    /// <remarks>This is a required step, unless automatic dispose is used</remarks>
    public void Close()
    {
        if (this.Access != FileAccess.Read)
         {
            long centralOffset = this.ZipFileStream.Position;
            long centralSize = 0;

            if (this.CentralDirImage != null)
                this.ZipFileStream.Write(CentralDirImage, 0, CentralDirImage.Length);

            for (int i = 0; i < Files.Count; i++)
            {
                long pos = this.ZipFileStream.Position;
                this.WriteCentralDirRecord(Files[i]);
                centralSize += (uint)(this.ZipFileStream.Position - pos);
            }

            if (this.CentralDirImage != null)
                this.WriteEndRecord(centralSize + (uint)CentralDirImage.Length, centralOffset);
            else
                this.WriteEndRecord(centralSize, centralOffset);
        }

        if (this.ZipFileStream != null && !this.leaveOpen)
        {
            this.ZipFileStream.Flush();
            this.ZipFileStream.Dispose();
            this.ZipFileStream = null;
        }
    }

After changing code then to file extraction giving error of checksum please look in this issue.

Hi, I appreciate the analysis. Can you please create a pull request?


++[（live．free™！）]** England vs. New Zealand All Blacks Live Streams Free Premier league On Tv Channel 2 NOV 2024 #1159

If Rugby Union fans wanted a fixture to kick the 2024 Autumn Nations Series off in style, they're in luck, as England and New Zealand face off at Twickenham ready to provide plenty of fireworks as the sides ranked third and fifth in the World Rugby Rankings renew hostilities after their Test series over the summer.
CLICK HERE TO WATCH LIVE STREAM NOW
CLICK HERE TO WATCH LIVE STREAM NOW
CLICK HERE TO WATCH LIVE STREAM NOW
Coming off a third-placed finish in this year's Six Nations Championship, England took a full-strength squad south to face the All Blacks in Dunedin and Auckland respectively. Steve Borthwick's side put up one hell of a fight in the first test only to lose by a single point, 16-15, before a Mark Tele'a double and succession of late Damian McKenzie penalties sealed the second Test – and the series – for New Zealand with a 24-17 victory.
STREAM:England vs. New Zealand LIVE on discovery+ (FREE trial)
Since then though, the All Blacks have been knocked back off their perch in a bruising Rugby Championship campaign, but still finished second with three wins and losses apiece. World champions South Africa continue to have New Zealand's number, winning both matches to win the Rugby Championship title at a canter, while Scott Robertson's side also suffered a shock home defeat to Argentina in Round 1.
Two sides with plenty to prove this autumn get the end-of-year tests underway in 2024, and to make sure you keep pace with all the action from Twickenham, The Sporting News has you covered.
How to watch England vs. New Zealand: TV channel, live stream
TV Channel: TNT Sports 1
Live Stream: discovery+
STREAM:England vs. New Zealand LIVE on discovery+ for FREE
This 2024 Autumn Nations Series match between two of international rugby's biggest rivals is being shown live and exclusively on TV via TNT Sports, with their main channel TNT Sports 1 broadcasting the action live from Twickenham as well as build-up and analysis before and after the match.
TNT Sports' TV feed is also providing the broadcast for discovery+ in their live and catch-up streaming of the match, with new users able to sign up now in time to catch the action.
New subscribers can currently sign up for a FREE seven-day trial of discovery+.
What time is England vs. New Zealand in 2024 Autumn Nations Series?
This international Rugby Union Test match between England and New Zealand will take place at 3:10 p.m. local time (GMT) on Saturday, November 2, 2024, with the game taking place at Allianz (Twickenham) Stadium in London, United Kingdom.
England vs. New Zealand lineups, team news
England haven't played since their 24-17 loss to the All Blacks at Eden Park in July, and continuity will be key for Steve Borthwick, who has made just three changes to his starting XV. Ellis Genge, Tom Curry and Ben Spencer all come into the side, replacing Fin Baxter, Sam Underhill and the injured Alex Mitchell at loosehead prop, openside flanker and scrum-half respectively.
England starting XV: George Furbank, Immanuel Feyi-Waboso, Henry Slade, Ollie Lawrence, Tommy Freeman, Marcus Smith, Ben Spencer; Ellis Genge, Jamie George, Will Stuart, Maro Itoje, George Martin, Chandler Cunningham-South, Tom Curry, Ben Earl.
England replacements: Theo Dan, Fin Baxter, Dan Cole, Nick Isiekwe, Ben Curry, Alex Dombrandt, Harry Randall, George Ford.
Finishing their Rugby Championship campaign strongly with back-to-back Bledisloe Cup victories over Australia in Sydney and Wellington respectively, Scott Robertson has also limited the number of changes he's made to the All Blacks' starting side. Sevu Reece, Anton Lienert-Brown, TJ Perenara and Ethan de Groot all drop out, with backs Tele'a, Jordie Barrett, Cortez Ratima and prop Tamaiti Williams coming into the XV.
New Zealand starting XV: Will Jordan, Mark Tele'a, Rieko Ioane, Jordie Barrett, Caleb Clarke, Beauden Barrett, Cortez Ratima; Tamaiti Williams, Codie Taylor, Tyrel Lomax, Scott Barrett, Tupou Vaa'i, Wallace Sititi, Sam Cane, Ardie Savea.
New Zealand replacements: Asafo Aumua, Ofa Tu'ungafasi, Pasilio Tosi, Patrick Tuipulotu, Samipeni Finau, Cam Roigard, Anton Lienert-Brown, Damian McKenzie.

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

🔴►🌍📺📱👉 CLcik Here ► Live stream watch online
 CLcik Here ►Live stream online

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.
xcv
vc


[Provider Audit] provider.zdev.site

Prerequisite Steps:
1. Make sure your provider has community provider attributes and your contact details (email, website):
  Example:
  $ provider-services query provider get akash1<REDACTED> -o text
  ...
  attributes:
  ...
  - key: host
  value: akash
  - key: tier
  value: community
  info:
    email<EMAIL_ADDRESS>

Ref documentation:.
2. Make sure your provider *.ingress resolves to your provider IP (ideally worker node IP)
host <anything>.ingress.<yourdomain>

Example:
$ host anything.ingress.akash.pro
anything.ingress.akash.pro is an alias for nodes.akash.pro.
nodes.akash.pro has address <IP_ADDRESS>

More info on what DNS records should look like are available in the Akash Documentation here.

3. Please make sure your Akash provider doesn't block any Akash specific ports.

If you are using a firewall, please follow this doc:
https://akash.network/docs/providers/build-a-cloud-provider/akash-cloud-provider-build-with-helm-charts/#step-11---firewall-rule-review
If you are behind NAT, then you need to make sure these ports are open between your provider worker nodes and the internet.

Audit Steps:
1. Title the issue: " [Provider Audit]: Provider Address" (e.g. "[Provider Audit]: provider.europlots.com")
2. Wait for response via comments. If no issues during provider Audit, process will be complete, provider should start bidding on leases, and Audit ticket will be closed.
3. If there are issues during the provider Audit, debug those issues, and Audit will be complete.
4. Audit Issue will be closed by core team member.
Leave contact information (optional)

Name - tomantech
Discord - coornny
Contact email address -<EMAIL_ADDRESS>

Hi @tomantech ,
looks like your provider is not registered in the DNS:
$ nc -vz provider.zdev.site 8443
nc: getaddrinfo for host "provider.zdev.site" port 8443: Name or service not known

nor have you filled your akash1 address in the template.

Hi @andy108369
I fixed domain name - provider.ezdev.site is right url.
Big thanks!

@tomantech
could you please load up more AKT. i see the balance is very less. ideally 20-50AKT should be good
also need the below values need to reflect
- key: host
  value: akash
- key: tier
  value: community
- key: organization
  value:<YOUR ORG NAME>

For now i only see the below values
provider-services query provider get akash16uvrh0mau3df763mqv990nff87rqfxu28k9pej -o text
attributes:
- key: organization
  value: Entri
- key: arch
  value: amd64
- key: email
  value<EMAIL_ADDRESS>- key: website
  value: ezdev.site
host_uri: https://provider.ezdev.site:8443
info:
  email: ""
  website: ""
owner: akash16uvrh0mau3df763mqv990nff87rqfxu28k9pej


cann't cd into directory

sometimes, i just want to down one or some files in my directory.

What do you mean by "cann't cd into directory"? Can you please post your command line arguments, and complete error message? Thanks.

when i use lixian.vip.xunlei.com to download a torrent, it will create a folder at server-side, i can open into this folder and download the files one by one. so, i hope your python script also can let me to download the file in the folder. thanks.

This was already supported.
Just run lx download task-id, or lx download task-name, or lx download --torrent your-local-torrent-file-path.
Please check the doc for details. (And let me know if there isn't enough doc.)

it will download all contents of this task when i execute lx download task_id, or when i execute lx list task_id. my expect result is a item list in this task folder, but not in fact.

So you want to download a sub-file in a torrent task, and list sub-files of a torrent task?
This is not supported, indeed, as I always want to download everything. If this feature is helpful to you I will add it.

yes, i download a "one piece" by torrent, its size large than 33GB and 300 files, download the hole folder is so heavy, I hope I can use your scripts to download some parts of these. Thank U.

建议2位使用中文

修复这个问题之前，可以暂时使用这个方式：从迅雷离线网页里添加任务，添加的时候在对话框里可以指定是否添加所有文件，你可以选择只添加你想下载的文件。然后用lx脚本来下载这个任务，应该就不会全部下载了。

这个改动比较大，可能引入了一些新问题，有问题可以open new issue。
目前的支持比较简单：
lx list id是列出名为id的任务。
lx list id/列出这个id下面的子文件（id/看起来像一个目录）。每个子文件会有一个id。
lx download id/file-id下载任务id下指定文件id的文件。可以在参数里指定多个文件id：lx download id/file-id1 id/file-id2。
如果有更复杂的需求（比如支持id/folder-name，支持bt://info-hash/file-id），请open new issue。不过更复杂的需求实现起来会比较繁琐。短期内可能不会解决。

哇，太感动，需求响应迅速啊，刚测试了一下已经可以用了，Thanks


on the timby frontend all unique views should have a unique route

ex. http://<IP_ADDRESS>/personal/jonaswijne instead of http://<IP_ADDRESS>/personal/ with jonaswijne in memory
This will facilitate the setting of personal bookmarks

Some are still missing.
Dashboard
User Time By Week
Workday Planned Times
Personal
General overview
Week calendar
Year overview
Projects
Selected project

Go to personal select a user, and calendar => https://nginx_timby.jack.jimber.org/personal/azertyalex/calendar
Refresh this => Select box is now empty

Go to projects from this view => Goes to link https://nginx_timby.jack.jimber.org/projects/3BotConnect/calendar but the project view does not even have a calendar.
Also when refreshing the select box is empty


Overlapping progressbar

As we know the progress bar in not keeping up with the toolbar

So changing it here

I adjust the margin and changed the positions of the element in the layout.
The feature is implemented in the tracks list.

@the-dagger Can I send the pull request for this?

Ok sure, go ahead.

@the-dagger Thanks. Here I send https://github.com/fossasia/open-event-android/pull/1100 .


about pre-trained model

Hi, thanks for your nice work. I have download the pre_trained model from link, but can not successfully open it such as there is nothing contained in this .tar file.

It is a serialized with torch.save(...) checkpoint (dict with net state, optimizer state, etc.), so open it as usual with torch.load(...).

This issue has been solved. If you download pre_trained model with appendix .tar, remove it and make its  appendix with .pth, it will be work.


message_events: Pass correct new stream id to recent_senders.

Bug: Empty participants' column in recent topics as noted in https://chat.zulip.org/#narrow/stream/9-issues/topic/Recent.20topics.20participants.20bug after a topic edit.

Merged, thanks @amanagr!