[New chain]: Moonriver 1.4.1

Summary

https://github.com/safe-global/safe-deployments/pull/565
https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-1285.json

Chain ID
1285
Chain detail URL
https://chainlist.org/chain/1285
RPC URL
https://moonriver.unitedbloc.com
Blockscout Client URL
No response
Etherscan Client URL
https://moonriver.moonscan.io
Etherscan Client API URL
https://api-moonriver.moonscan.io
Version
1.4.1
Address (Master copy)
0x41675C099F32341bf84BFc5382aF534df5C7461a
Deployment Tx hash (Master copy)
0xd53e18f6e0d10b068ee31742bd2b5869e413cd4ef099d1b6f098edacc06135b3
Block explorer URL (Master copy)
No response
Address (Master copy L2)
0x29fcB43b46531BcA003ddC8FCB67FFE91900C762
Deployment Tx hash (Master copy L2)
0xba0f6d42b8b45f47d2ea4d2130e5a28a8ae042be5da70261fd878ea9944d94ef
Block explorer URL (Master copy L2)
No response
Address (Proxy factory)
0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67
Deployment Tx hash (Proxy factory)
0xbd4689a9105f34c95064bd36c0050b31fe3cbd5df93fa4cd3025fd76313c3411
Block explorer URL (Proxy factory)
No response

/execute


Minor Code Changes.

Make use of the get() method instead.

Codecov Report

Merging #21 into master will decrease coverage by 0.03%.
The diff coverage is 90%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage   90.28%   90.24%   -0.04%
==========================================
  Files          39       39
  Lines        2408     2409       +1
==========================================
  Hits         2174     2174
- Misses        234      235       +1

Impacted Files
Coverage Δ

stix2/base.py
97.46% <100%> (-0.02%)
:arrow_down:

stix2/observables.py
98.46% <80%> (-0.76%)
:arrow_down:

Continue to review full report at Codecov.

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


add fuzzy search for node and event

Signed-off-by: x893675<EMAIL_ADDRESS>
What type of PR is this?

/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:
use `fuzzy~default-ip=xxx` to query node
use `fuzzy~ip=xxx` to query event
use `fuzzy~username=xxx` to query event

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

/milestone v1.3.1
/cc @lixd

@moweiwei frone-end need add this fuzzy query too

Codecov Report

Merging #299 (b69e317) into master (4c88fcd) will decrease coverage by 0.00%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master     #299      +/-   ##
==========================================
- Coverage   12.98%   12.98%   -0.01%
==========================================
  Files          99       99
  Lines       15522    15539      +17
==========================================
+ Hits         2015     2017       +2
- Misses      13265    13279      +14
- Partials      242      243       +1

Impacted Files
Coverage Δ

pkg/models/platform/platformsetting.go
9.37% <25.00%> (+0.51%)
:arrow_up:


Python script to Create Scripts.json (For website)

Idea
Currently the Scripts.md file requires manual addition of script names with other information.
Details
The implementation goes like this:

fetch the repository details about all the folders.
add the folder name and link to the script
add some exceptions like README.md, contribution guide, and other non-necessary files to this list.
The script will be part of a workflow soon and will be configured to run at every push in the repo.
The script would take the following parameters as command-line arguments, make sure to use sys module (sys.argv) for this:

Github token
list of files to be excluded for being added to the json

Learning
You will get to know about GitHub API and how to use Python to automate this task,
Suggested Libraries
PyGitHub
Additional Context:
Test this script for your forked copy of this repo in the local machine before pushing code,

@kaustubhgupta  I would like to work on this.

@Sukriti-sood assigned to you. Make sure you read all the requirements and implementation of script carefully

Is this open ?

My solution for this takes a few minutes, is that okay..?

I too would like to contribute.

@Ajay-Singh-Rana  It is not the right way ,I was already assigned to is issue.

@Ajay-Singh-Rana only the assignee can send the PR.

@kaustubhgupta I have some confusion like script.json will contains object which contain folder name ,link and contributor name ,Is anything needed and also confused what to do with exceptions? Please help

Oh, sorry i didn't check the assignees...Best wishes...

@Sukriti-sood As mentioned in the description, the JSON file should look like this:
{
    "script_name1": "script_link1",
    "script_name2": "script_link2",
    .
    .
    .
}


PAs have managers and an 'is_manager' flag - but no validation that manager also is_manager

PAs have managers and an 'is_manager' flag - but no validation that manager also is_manager
A slightly more helpful model may be to have an additional Manager model so that the the PA.manager relationship is to a Manager profile - that way we can ensure referential integrity.

@cyramic - any idea if there may be managers who are not themselves PAs?
It's a question of whether the inheritance should be User <- PersonalAdvisor <- PAManager
(although I'm not sure there is much benefit to that, and it would be more flexible if User <- PAManager) ?

In 9 cases out of 10, it does indeed go YP -> PA -> Manager. In reality, however, it got a lot more complex than that once LAs started using Leaving Well.
Where it got complex is that Managers can have young people assigned to them as well as PAs. That's why we tried to simplify it down so that a manager was merely a PA type which made the rest of the structure easier to implement. If we were to separate PAs and Managers, then we'd to think about how to represent the complex relationship between the three types.
Not only that, but a YP may even be given multiple PAs (if a PA is in training, maternity leave, part time, etc). It almost looks like this in the worst case scenario...
erDiagram
PA }|--o{ YP: "assigned to"
Manager }|--o{ PA: "assigned to"
Manager }|--o{ YP: "assigned to"

Saying all that, it becomes a matter of what would be useful for the project now that we're open sourcing it.  Does the relationship I described above make this too complex?  If so, we could just restrict things to make it simpler...

It's interesting that you think of it as more complex.
It's exactly to avoid the situation above I was thinking more along the lines of them being separate "facets".
There are users, and users can have the "YP" facet, the "PA" facet, or the "Manager" facet.
They are independent, i.e. you can have a user that's a manager without being a PA, a PA without being manager, or they could be both.
In theory this would also allow users to have PA and YP facet at the same time, although I expect that would rarely happen in a real scenario.

Based on our discussion, we're looking for a relationship something like this.  The Manager-YP link would be handled by the fact that a user could be linked to a manager AND a PA, and PAs have that link already.
erDiagram
User ||--|| PA: "is a"
User ||--|| Manager: "is a"
User |o--|| YP: "can be represented by"
PA }|--|{ YP: "assigned to"
Manager }|--|| PA: "assigned to"


Adding more labels?

Hello,
While looking through your code I noticed that you had defined the class labels as the YOLO v1 was trained on it. Are these all the available labels?
Looking at the source project, the same file didn't specify any labels, which made me confused as how accessing more labels would work (as in has it already been trained on more, and you're simply selectively choosing which labels to recognize)?
Thank you

Hello,
Thank you for your comment. It has been trained on the 20 classes that I defined (Pascal VOC dataset)
Cheers


Add Chipped type

"Traversable containers which hold Maybe are witherable."

https://hackage.haskell.org/package/witherable-<IP_ADDRESS>/docs/Data-Witherable.html#t:Chipped

Function t => Filterable (Chipped t)
Traversable t => Witherable (Chipped t)

How does this differ from MaybeT f a?

@joneshf absolutely no difference.  I'm debating between:

adding Chipped
depending on purescript-transformers with appropriate instances
not doing anything

Another options is transformers depends on this library.

Now that this library is one of the core libraries, @joneshf's proposal should be re-examined as a possible way forward.

I think an alternative to chipped might be to have an instance for composition, then use (f ∘ Maybe) rather than Chipped f.
(Traversable f, Witherable g) => Witherable (f ∘ g)

I haven't thought about it very much, so may or may not be lawful.


Rename to md-badges

changed in https://github.com/inttter/md-badges/commit/08785ac008b4917713b440bc7d10975a89bc9755


Fixes #2868: update DSE backend from 6.8.33 to 6.8.41

What this PR does:
Upgrades Stargate v2 DSE dependency to 6.8.41 (from 6.8.33)
Which issue(s) this PR fixes:
Fixes #2868
Checklist

[ ] Changes manually tested
[x] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

Need #2881 to unblock CI.

Cannot jump from 6.8.33 to 6.8.41: will need to do piece-meal, looking at main/v2 upgrades...

Ok went through upgrades from 6.8.34 through to 6.8.40 and no more surprises. So after merging changes to get to 6.8.34 will try 6.8.41 upgrade directly again.


Create CliffordOps.jl

Thanks for looking into this. I will clean it up and merge it probably sometime this weekend. It will probably replace both the random stabilizer and random clifford functions in the library.

Codecov Report

Merging #6 (2fc8cae) into master (d26b0e9) will decrease coverage by 6.56%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   80.76%   74.20%   -6.57%
==========================================
  Files           4        4
  Lines        1362     1380      +18
==========================================
- Hits         1100     1024      -76
- Misses        262      356      +94

Impacted Files
Coverage Δ

src/QuantumClifford.jl
79.83% <ø> (-6.52%)
:arrow_down:

src/experimental/NoisyCircuits.jl
49.79% <0.00%> (-4.84%)
:arrow_down:

Continue to review full report at Codecov.

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


message me and social media icons

I improved the message me section by saving the space and opening the box whenever necesaary.I also minimized the size of social media icons
previous--

now---

@silwite The idea is good,but we prefer the existing one, so will be closing this. If u have any other issue in which u want to contribute ,please  go ahead
Thank you!!


different branches

pls create different branches to arch and gentoo👍

any particular reason you want to separate? There is only some difference in configs and mostly its in the ~.config/hypr/configs/exec.conf
the rest remains. I can separate the gentoo readme though.

pls create different branches to arch and gentoo+1

I edited the readme...to make it separate. Exec.conf was also cleaned up to separate gentoo specific


Cannot connect VM -> host and host -> VM in MacOS sequoia

Describe the issue
After updating from MacOS Sonoma to Sequoia my VM does not see the host and my host does not see the VM. Pinging via host only network IP, or the bridged network IP does not work. I am, however able to ping other network devices (such as my IPhone).
Configuration

UTM Version: 4.5.4
macOS Version: 15.0
Mac Chip (Intel, M1, ...): M2

config.plist.zip

I have same problem, I can't ssh to VM, prompts 'No route to host'.

I was able to run it when I use the builtin wifi instead of an external ethernet adapter. After the VM is run, I can use the adapter without connection issues (other than ping to the VM being larger).

I have same problem, I can't ssh to VM, prompts 'No route to host'.

I resolved the problem via open System Settings -> Privacy & Security -> Local Network, open all ssh tool, like items2 and Royal TSX

I have same problem, I can't ssh to VM, prompts 'No route to host'.

I resolved the problem via open System Settings -> Privacy & Security -> Local Network, open all ssh tool, like iterm2 and Royal TSX

Enabling iTerm fixed the issue for me as well

For me it works again (without changing any settings) after having upgraded MacOS Sequoia to 15.0.1.

I was having this problem intermittently before Sequoia. Even restarting the network manager (for Fedora 40 in my case) didn't help and I'd have to work around it by rebooting the VM, sometimes even exiting and restarting UTM.
As of Sequoia, it keeps failing to work. I do not get any notification in Privacy & Security > Local Network either.

我有同樣的問題，我無法 ssh 到虛擬機，提示「沒有到主機的路由」。

我透過開啟系統設定 -> 隱私和安全 -> 本地網絡，打開所有 ssh 工具（例如 iterm2 和 Royal TSX）解決了問題

I have same problem, I can't ssh to VM, prompts 'No route to host'.

I resolved the problem via open System Settings -> Privacy & Security -> Local Network, open all ssh tool, like iterm2 and Royal TSX

thank you soooooooo much mate


Face Render部分是否有加速

你好，请问faster-SadTalker-API是否对FaceRender部分有速度优化，我看介绍和code仅对FaceEnhancer部分优化了

Hello Lidong1211, and yes, the face render part has not been accelerated. From what I recall, the face render is the part where sadtalker performs data preprocessing, involving a considerable amount of hard-coded image operations.
If possible, you might try caching the processing results of identical pictures to reduce processing time.

If it is only targeted to the same video speech synthesis lip, is there more optimization space, please do you have any good suggestions? I'm thinking of lip-syncing for the same video with a different audio.

@kenwaytis


Trace.CorrelationManager.ActivityId is lost when target is wrapped into AsyncTargetWrapper

ActivityId is thread local and thus getting lost when Target.Write is invoked on another thread. It would be great to pass its value through with each message that is in the buffer as each could have been coming from different thread and reset ActivityId before calling Target.Write for each message.
Current implementation is based on sending batches of log events into specific targets to perform batch writes (e.g. FileWriter). Thus it is not possible to pass correlation ID with thread local Trace.CorrelationManager.ActivityId without modifying specific targets. And even though it would have been possible granted all the codebase is available, it is not a good approach as one would need to remember doing this in a new target implementation for each individual event in Write method.
Thus, the workaround for now is to hack own logger layer to create LogEvent that also contains correlation ID property, that is then used with a custom LayoutRenderer or directly from a custom Target.

PR is on the way...

Is this an issue by using the MDC and not the MDLC?

I don't think MDC will help here since when moving to a different thread we lose all the thread local information whether that is in Trace.CorrelationManager.ActivityId or anywhere else. Basically, I think it is not possible to nicely befriend AsyncWrapperTarget with the way NLog decided to propagate correlation information. Clients will have to do something about it.
But I would be happy to be proven wrong on that one.

@kuznero If Trace.CorrelationManager.ActivityId is very important to have as LogEvent-property, would it not be easier to make Log-Extension-Methods that captures this information and then forwards it to the normal NLog-Log-Methods ?

@kuznero Even better alternative is that you make a custom layout that returns Trace.CorrelationManager.ActivityId. All custom-layouts are by default rendered on the main-thread, and not on the async-thread.

Thanks @snakefoot, are you sure that ${activityid} is rendered on the main thread (actually in has to be rendered on a thread where ActivityId was set to get it properly working) with even with AsyncTargetWrapper? Simply by looking at the signature of Write that accepts either LogEventInfo or list of it, I could assume that layout is rendered on writing thread (not the same when _logger.Info for example is called, but the one that is performing the write operation itself).
With regards to passing it through with LogEventInfo - this is exactly what I meant as a workaround in the original post about adding it it as a property (either in extension method or somehow differently - it does not matter).

@kuznero Yes ${activityid} will be rendered on the thread that calls the Log-method.

ok, that makes sense indeed - you need to properly resolve thread ID and information alike. Then the question left is - is it possible to use value rendered as ${activityid} from withing Write method of a custom target that users creating?

is it possible to use value rendered as ${activityid} from withing Write method of a custom target

@kuznero Well if the custom-target has a Layout-property, that is configured to contain ${activityid}, then LogEventInfo will cache the rendering-result of the Layout, so it can be accessed in the Write-method of the custom-target.

@kuznero Well if the custom-target has a Layout-property, that is configured to contain ${activityid}, then LogEventInfo will cache the rendering-result of the Layout, so it can be accessed in the Write-method of the custom-target.

Yes indeed, something like this:

class MyTarget : Target
{
     public MyTarget()
     {
          Activityid =  new TraceActivityIdLayoutRenderer () // or use "${activityid}";
     }

     // should be public and non-static,
     //  see PropertyHelper.GetAllReadableProperties
     public Layout Activityid {get;set;}

     protected override void Write(LogEventInfo logEvent){
        string activityId= this.Activityid.Render(logEvent);

     }

}

@304NotModified Excellent! Thanks for example! This is exactly what I was after.


[2.x] Add MultiSelect table filter

This pull request adds a MultiSelect based table filter. It simply renders the MultiSelect form component and it uses the whereIn method from the Builder to filter the results.
I had to make two little modifications to the MultiSelect form component:

I added the flex-wrap class to the list of select options since it breaks when too many are selected

I added the stop modifier to the button click event when deselecting an option, without it for some reason it hides the filter dialog on click.

If this pull request is accepted I would happily add the corresponding docs. 👍

Sure!, I just added relationship support, I believe there is no whereInRelation method or something like that in the Builder class so I used the whereHas method directly. Let me know if something is missing.

This is great, thank you!


Fix speed convertion (reverse)

Negative speed are speed in reverse

Hey.
Sorry for not accepting this sooner, been a busy few months.


fusemap: imx8mp: define 2nd MAC address fuse

Closes usbarmory/crucible#14

I'm a go newbie but I've tried to make it as close as possible to what's already existing (e.g. iMX6UL)
I've tested it as follows
root@desk-mx:~# ./crucible -m IMX8MP -r 0 -b 16 -e big blow MAC1_ADDR 0x0050C21EAFE0

                                **  WARNING  **

Fusing SoC OTPs is an **irreversible** action that permanently fuses values on
the device. This means that any errors in the process, or lost fused data such
as cryptographic key material, might result in a **bricked** device.

The use of this tool is therefore **at your own risk**.

soc:IMX8MP ref:0 otp:MAC1_ADDR op:blow reg:MAC1_ADDR base:16 val:0050C21EAFE0 big-endian

Would you really like to blow this fuse? Type YES all uppercase to confirm:
YES
soc:IMX8MP ref:0 otp:MAC1_ADDR op:blow addr:0x90 off:0 len:48 val:0x0050C21EAFE0 res:0xe0af1ec250000000

root@desk-mx:~# ./crucible -m IMX8MP -r 0 -b 16 -e big blow MAC2_ADDR 0x0050C21EAFE1

                                **  WARNING  **

Fusing SoC OTPs is an **irreversible** action that permanently fuses values on
the device. This means that any errors in the process, or lost fused data such
as cryptographic key material, might result in a **bricked** device.

The use of this tool is therefore **at your own risk**.

soc:IMX8MP ref:0 otp:MAC2_ADDR op:blow reg:MAC2_ADDR base:16 val:0050C21EAFE1 big-endian

Would you really like to blow this fuse? Type YES all uppercase to confirm:
YES
soc:IMX8MP ref:0 otp:MAC2_ADDR op:blow addr:0x94 off:16 len:48 val:0x0050C21EAFE1 res:0x0000e1af1ec25000

This has been tested on our Mito8MPlus SOM, running 5.4.70 Linux kernel
After rebooting
root@desk-mx:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:c2:1e:af:e1
          inet6 addr: fe80::1423:4601:e42f:9129/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1525 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:152614 (149.0 KiB)  TX bytes:8426 (8.2 KiB)
          Interrupt:46

eth1      Link encap:Ethernet  HWaddr 00:50:c2:1e:af:e0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13660 (13.3 KiB)  TX bytes:13660 (13.3 KiB)

Please note that there's a minor issue with this kernel (at least in this internal development stage) where eth0 and eth1 are wrongly named when MAC address is set
The interface list is:
root@desk-mx:~# dmesg| grep registered | grep eth
[    2.823573] fec 30be0000.ethernet eth1: registered PHC device 0
[    8.421392] imx-dwmac 30bf0000.ethernet eth0: registered PTP clock

Thanks for this PR. My only comment is that the actual fuse name (according to the RM) would be MAC_0_ADDR and MAC_1_ADDR for this P/N.

Thanks!


campfire

This one likely requires orverwrites, I dont have a state of "on off" and will require NBT

nbt name: "lit"
Default value "true"
Accepted value "true" "false"


Adding Azure CDN

Description

Add a child module for cdn which includes cdn profiles and cdn endpoints creation.
Exported storage account primary web host for the cdn endpoint to map to the static website

Dependencies
This requires changes in https://github.com/Azure/caf-terraform-landingzones repository. This needs to be merged along with Azure/caf-terraform-landingzones#262
Testing
Added a sample config tfvars file to showcase the usage.
Additional Notes
Thanks to Nusrath (https://github.com/nusrath432) for proof reading and testing the changes.

Hi @rahulPalliyalil, we do really appreciate your support. I just added some feedback to help keep the code consistent.

Hi @SergioMiyama ,
Thanks very much for the comments.
Fixed them now and is ready for the re-review. Thanks

thanks for your PR @rahulPalliyalil I merged the one complemented by @SergioMiyama based on this one!


Option to add widgets or icons for hero and icon assets.

Adding Icons from flutter instead of asset images

Added in v1.7.0


Modify tag detail alert when without clarity about #4999

Modify if no clarity ,can't click into tag detail page,
Modify tag detail info layout when window stretch

Coverage increased (+0.02%) to 64.555% when pulling 76cbe3b5d229601c5796d57ff69a6880d12c2c2c on pengpengshui:tagdetail into 82b57971c0264e18073ce3e9e27b25cf5872d6a7 on vmware:master.


when converting html to png the ordered lists numbering is computed as 0

ReactQuill version
quill: 2.0.2
react-quill-new: 3.3.3
Expected behavior:
the image and dom both have the visible numbered lists
Current behaviour:
DOM :

html-to-image png

@amishaaggarwal react-quill directly passes most calls to quill. Have you verified that this issue isn't a quill issue? If so, please share a reproducible code snippet, e.g. via code sandbox


Create a way to exclude few repositories.

A list of repositories that needed to be excluded from the list. There are few repositories that are intended to learn git and open-source. Although these repos are actually usefully but I think doesn't belong to this list.
Describe the solution you'd like
We can have a json file containing the repo name needed to be excluded and while fetching the repos if we encounter any of these repos we can skip it, instead of adding it to the README.md
Describe alternatives you've considered
I am open to any alternative solution here.
Additional context
Add any other context or screenshots about the feature request here.
As an example repo that needs to be excluded is -:
https://github.com/fork-commit-merge/fork-commit-merge

How about adding a specific tag to the repos that need be excluded, to filter out repos with that tag

@saksham-jain177  The issue is there is no unique way to identify the repos with tags. Most of the issues in these repos are tagged good-first-issue. The only way I can think of is to maintain a manual black list so that we don't end up excluding repos that actually belongs to the list.
I also didn't understand the "adding tags to repos" part. These repos are maintained by different people and we can't add tags to them from our end.

@suyash-thakur Does this mean that are only a fixed set of repositories that need to be excluded? Or else we cannot specify the
repositories in a json file to exclude them while fetching the other repositories

@Ishpreet01  The repository that needed to be excluded is a manual process. There are some repos which are for people to learn basic of git (creating PR and stuff). There is no unique identifier for these repos. A json file for listing these repos will be good enough. We will keep adding the similar kind of repos to the list as we keep encountering them.

To achieve the goal of excluding specific repositories while fetching and listing them, you can create a JSON file containing the names of the repositories to be excluded. Then, you can modify your script to skip these repositories when generating the README.md file.

@abishek1740P Yup. That's the only solution that I can think of now. Can you create a PR for it ?


fix using session delimiter as function not string

Looks good to me if I'm understanding the code correctly. @dthree ?

This looks fine, but I'm totally puzzled as to how this even worked before - it seems like passing in a function would throw an obvious error or make the delimiter a function string.
@mvayngrib :+1: on catching and fixing this, however can you please tell me what behavior led you to finding this, and how this behavior is different now? Thanks.

@dthree i was hitting Ctrl+C mid-command and it printed a function on the screen. I searched for the function in the vorpal code and saw it was the delimiter function

Haha - got it. Thanks a lot for the fix!

thanks for the lib!

:+1:


ActionMode overlay

Please check off the following points BEFORE submitting a new issue / asking support.

[x] Write a self explanatory Subject.
[x] Check if the issue has already been raised by someone else (see closed issue).

Hi,
How can I make the action mode overlay on the toolbar?
<item name="android:windowActionModeOverlay">true</item>
<item name="windowActionModeOverlay">true</item>

above workaround does't work.

In the article I posted in #546 there's the ActionMode overlay and theme as well.


[BEAM-703] SingletonViewFn might exhaust defaultValue if it's serialized after being used.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @kennknowles or any other committer who knows the SDK well.

LGTM

This change may ~double the memory consumption due to singleton side inputs with defaults that are accessed. Since that is proportional to the number of empty windows accessed, I wouldn't expect it to be relevant. And anyhow, it is actually incorrect prior to your change. If it becomes a problem, we'll have to think of other ways to address it.

I agree. Thanks for merging!


counter is zero,  but loadavg is not.

I'm not sure what you are talking about. This library has nothing to do with loadavg.

Load Average is in the last line of the picture.

What is the problem? Describe the issue with reproducible code and what you expect.

The CPU usage is significantly smaller than that displayed by taskManager.
Is it reasonable to infer the average value of 1, 5, and 15 minutes based on the obtained two values

This library does not provide CPU usage. You're reporting to a wrong repository.

Yes, sorry for that


add correct time unit in example

Default time unit is too short, and sometimes it will fail. Change to use time.Second.

close and will use non-master branch to bring the PR


applying theme breaks tt-rss

so this issue seems to be the same as one from a couple months ago that was closed. at least the screenshot and description match.
i replied there, but its closed, so just in case am opening a new issue. here's the link
https://github.com/levito/tt-rss-feedly-theme/issues/119#issuecomment-1858931824

I was in the same situation. After checking, it seems that the current MASTER branch does not contain the necessary files.
Please specify the branch and clone the GIT repository.
$ git clone -b dist https://github.com/levito/tt-rss-feedly-theme.git
Then, go to the cloned directory and
$ cd tt-rss-feedly-theme
Copy the entire contents of the directory to the themes.local folder.
Adjust the volume name(tt-rss_web-nginx_1 is my environment) to suit your environment.
$ sudo docker cp ./ tt-rss_web-nginx_1:/var/www/html/tt-rss/themes.local/
As of 5/20/2024, the following files are present and
it works fine when I try it.
$ sudo docker exec tt-rss_web-nginx_1 ls /var/www/html/tt-rss/themes.local/
feedly/
feedly-high-contrast.css
feedly-high-contrast_auto.css
feedly-high-contrast_night.css
feedly-sepia-contrast.css
feedly-sepia-contrast_auto.css
feedly-sepia-contrast_night.css
feedly-sepia.css
feedly-sepia_auto.css
feedly-sepia_night.css
feedly.css
feedly_auto.css
feedly_night.css
local-overrides.css
local-overrides.js
Good luck!


Updated with shadcn UI

Updated deployed version can be seen here
https://ark-gallery.vercel.app/
Changes:

[x] Added shadcn as UI library shadcn link
[x] Added delete confirmation modal
[x] Added zoom slider (will need fix functional behavior)
[x] Improved dropdown UI with shadcn

@prokawsar is it possible to make a screenshot or short video demonstrating the change?
I'm just not sure how did it look before..

Also, if we pull commit 265b60ab8086327d9fe80213c625f11c53c8b5c1 from main branch, then I'll be able to run both build and compare.

@prokawsar is it possible to make a screenshot or short video demonstrating the change?
I'm just not sure how did it look before..

@kirillt
Old version: https://ark-gallery-9nqnix0t8-prokawsar.vercel.app/
Updated version: https://ark-gallery.vercel.app/

Looks great!
Follow-up:

#17
#18


Feature request - Not run next job to prevent max execution time exceede

On some webhostings (like mine) I'm not able to run artisan from command line. So I have to run it via route. But there is some limit, how long script can run. Then it is killed and Maximum execution time of XX seconds exceeded errors shown.
See pull request #4

Yeah, this is an error one is most likely to run into when they're running the command from a route or from a controller.
This would only work in cases where the system is quickly able to detect that the execution time is almost complete but in cases where it has already scheduled a particularly time-consuming task, it'll still get killed and Maximum execution time error would still be shown.
But I guess it's still useful in cases where it won't schedule a task when the time is almost complete and ergo, avoid abrupt script termination in those cases.
How often did you encounter the Maximum execution time error?

As I said, my hosting has no access to command line, so I have to run it via Controller/route as you said. That's why I added all this logic.
Of course, if you will have super time consuming task, error will be shown. This is just to try to prevent it. Before running each new task, it will check if execution time is reaching its limit. That's why I added 5s gap. Assuming that most of tasks will need less than 5s to finish their job.
If you have more time consuming task (let's say 10s each), then for you it is better to set --max_exec_time to something like this ini_get('max_execution_time') - 10. If your script can run maximum time 30s, after 2 processed tasks whole script is execution about 20s + some Laravel time. Then worker will not run next job as you are currently over your set limit. Hope I explained it better.
I encounter that error during importing payments. After that system can create up to 100 notifications, to notify users, we accepted their bank transaction. And as we grow, in future we can import even more payments which will produce even more notifications.

Yeah, I get the full picture and it certainly would be a nice addition to the worker.
What do you think about restricting the check for whether max_execution_time as been exceeded only to when the command is run from http?
        //We don't want to consider execution time when app is running in console.
        //Running from console isn't limited by execution time and we shouldn't
        //bother executing extra checks. This would allow the worker to focus on
        //executing jobs instead.
        if (! app()->runningInConsole()) {
            if ($this->isOverMaxExecutionTime($options)) {
                return false;
            }
        }

Could be another option as well, but there are 2 things to consider.

In console is already max_execution_time = 0, and this condition below will take care of it. Not sure if one extra condition is really needed.

     protected function isOverMaxExecutionTime($options)
    {
        // Is set 0 or less -> worker can run forever
        if ($options->maxExecutionTime <= 0) {
            return false;
        }

If you will set --max_exec_time even in console for whatever reason, this option will stop working. So either not put your condition, or update description, that this option work only during HTTP request.

Yes it work in route as expected, You have to write it as extra parameters
Artisan::call('queue:work', [ '--tries' => 5, '--sansdaemon' => true ])

Yes, that option takes care of it but when you set --max_exec_time in console (for whatever reason also), it still checks whether or not the execution time has completed and does it each time.
Maybe this might do:
       // Is set 0 or less -> worker can run forever
        if ($options->maxExecutionTime <= 0 || app()->runningInConsole()) {
            return false;
        }

That's what I'm doing, still doesn't work, wonder why.
Artisan::call('queue:work', [
        '--sansdaemon' => true, '--jobs' => 1, '--queue' => 'high,default'
]);

Not sure what you mean by:

it still checks whether or not the execution time has completed and does it each time.

In your snippet it will do the same. And because $options->maxExecutionTime <= 0 will be always true in console, second condition after || will never be checked.
And also I meant, that you can set --max_exec_time=60 even if you are running it from console. For example if you don't want to run your worker even in console too long. That's why the check should be there. But with your extra code it will not accept this option and will run forever, if you want to limit it. That's why I think, this extra condition is useless.

Not sure where is your problem about running it from route. Here is my full example. Running in Laravel 5.6, so I did just installed your package, not registered service provided, as it is done automatically.
Route::get('/artisan/queue', function ()
{
    $output = new \Symfony\Component\Console\Output\BufferedOutput;

    Artisan::call('queue:work', [
        '--tries'   => 5,
        '--sansdaemon' => true,
        '--jobs'    => 1,
    ], $output);

    return response($output->fetch(), 200)
                  ->header('Content-Type', 'text/plain');
});

And output:
[2018-09-05 12:56:17][7] Processing: SunApp\Notifications\OrderCreatedNotification
[2018-09-05 12:56:23][7] Processed:  SunApp\Notifications\OrderCreatedNotification

Yeah, it is up to you. If you don't want to limit this in console, just keep your condition there. But I think this will too over complicate already complicated description of this option.
 Because I really did nothing special and it worked for the first time I tried it...

😅 Yes, I've installed my package. Don't worry about that, I'll sort it out, thanks for the contribution.

@orobogenius do you remember how you figured out to run it via routes? Because now I found it little tricky. It sometimes works and sometimes not. Cannot find out why it changes behaviour...

I didn't do much else @arxeiss, surprisingly, it just started working by itself. Weird!

Yeah. When I will find more time, I will try to dig deeper. This is really weird.

Alright, let me know what you find.

I don't know why, but if in .env file is APP_DEBUG=false then it works as expected. And if debug is true, then it doesn't work.
I found on StackOverflow, that registering in ServiceProvider should be done with extend not singleton.
If I changed it as follow, it worked. But not tested well. I will try to test it more and make PR, but maybe next week.
$this->app->extend('command.queue.work', function ($command, $app) {
    return new WorkCommand($app['queue.worker']);
});


Allow for querying records of multiple data formats

records.query() currently looks for the exact dataFormat string that's passed in. would love to support a case where an app wants to query for multiple data formats of the same main type, for example, images.
web5.dwn.records.query({
    message: {
      filter: {
        dataFormat: 'image/*',
      }
    }
});

@mistermoe suggests for MessageStoreLevel, on ingest we would split on / and index dataType and dataSubType as separate fields and to support querying it'd be something like:

if filter contains dataFormat:

const [type, subType] = dataFormat.split('/');

if subType === '*' , don't include subType in query

Hey @angiejones -- this would actually be a change needed in the DWN SDK since that's where MessageStoreLevel is defined.  In this particular case, Web5.js inherits the functionality provided by DWN SDK.
Do you mind closing this issue and creating one in dwn-sdk-js ?

reopened as https://github.com/TBD54566975/dwn-sdk-js/issues/429


SODA Installation on Ubuntu 20.04 fails.

Issue/Feature Description:
When trying to install SODA on Ubuntu 20.04 it fails with errors thrown due to incorrect syntax in ansible scripts and Python2 support being deprecated in Ubuntu20.04
Why this issue to fixed / feature is needed(give scenarios or use cases):
Ubuntu 20.04 is the latest LTS release of Ubuntu and will become the most common distribution of Ubuntu used in time.
As was the case with Ubuntu 16.04, the support for Ubuntu 18.04 may end and this will cause issues later on.
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

The support for Ubuntu 20.04 has been provided using  the [sodafoundation:ubuntu2004-experimental](https://github.com/sodafoundation/installer/tree/ubuntu2004-experimental) as of the Lamu release.
This needs to be merged to the main branch. There are some changes that will affect the current installation process on Ubuntu18.04. These need to be rectified and the support for both the OS and upcoming releases needs to be added.


SPARK-6085 Increase default value for memory overhead

Can one of the admins verify this patch?

@tedyu  We had decided to keep the same default for both yarn and mesos, so it would be best to increase both. Please see mesos/MemoryUtils.scala
Also, docs/running-on-yarn and docs/running-on-mesos would have to be modified accordingly.

Thanks for the reminder, updated accordingly.

LGTM

I also tend to think that this is a good change, given that a non-trivial proportion of people seem to be running into this and the point was to make it big enough to only require tuning in a small number of cases.

Pinging @vanzin @pwendell @sryza as people who might want to weigh in. I hesitate to commit to 1.3 at this late stage; master seems OK though.
Given the narrow purpose of this change I think it should go on; there's a slightly higher-level debate still going on about whether having this value at all is correct, but would like to not revisit that here.

I'm ok with changing it; the original value was mostly empirical, and it seems that once more people tried things out it turned out to not be enough, so it's ok to bump it.

This number has gone up from 5-8% to 7-10% for the same set of workloads with recent versions of Spark/YARN (no idea why). Bumping the default up seems like the logical thing to do.

Bumping the default to 10% seems reasonable to me as well.


DISTINCT doesn't work inside COUNT for TPCC

DISTINCT could work well alone, but when it comes with COUNT, the query returns duplicate counts.
terrier=# CREATE TABLE xxx2 (id INT);
CREATE TABLE
terrier=# INSERT INTO xxx2 VALUES (1),(2),(1),(2);
INSERT 0 4
terrier=# SELECT DISTINCT id FROM xxx2;
id
“----”
1
2
(2 rows)
terrier=# SELECT COUNT(DISTINCT id) FROM xxx2;
COUNT id
“----------”
4
(1 row)
terrier=# SELECT COUNT(*) AS STOCK_COUNT FROM xxx2;
stock_count
“-------------”
4
(1 row)

It is fixed in #762


Installing on a brand new setup - getting errors in HA log

Apologies if I don't get basic domain lingo - it's only a couple of hours since my very first install of Home Assistant.
After having added the Google Wifi package, I'm getting this error:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/googlewifi/sensor.py", line 32, in async_setup_entry
    for system_id, system in coordinator.data.items():
AttributeError: 'NoneType' object has no attribute 'items'

It's the same error for all of these:

Any suggestions?

Uninstall the integration, get a new API key and reinstall. Restart Home Assistant and then leave it for a while. I had issues last night but after following that about 12 hours later everything came back up. Seems to be something with the Google API

Uninstall the integration, get a new API key and reinstall. Restart Home Assistant and then leave it for a while. I had issues last night but after following that about 12 hours later everything came back up. Seems to be something with the Google API

Got the same error in the log upon clean re-install - will let it sit and try to restart/follow up a couple of times over the coming days.

Got the same error in the log upon clean re-install - will let it sit and try to restart/follow up a couple of times over the coming days.

Still getting the ssme error when reloading the integration. Any ideas?

Unfortunately I couldn't get any additional information on my system when it did this and can't replicate it to try to get more logging from the back end API where there might be more to go on.
If it happens again to me I will try to dig a little deeper.

Having the same problem here too.
Do we need to do anything specific with the google account that we create the token with? Does it need any specific permissions within google home/wifi apps?

Yeah seems to be a google api permission/setup problem.
Running some of the API calls through postman fails with a 403 (permission denied) and this message:
 "code": 403,         "message": "Home Foyer API has not been used in project 936475......before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/googlehomefoyer-pa.googleapis.com/overview?project=936475...... then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",         "status": "PERMISSION_DENIED",         "details": [             {                 "@type": "type.googleapis.com/google.rpc.Help",                 "links": [                     {                         "description": "Google developers console API activation",                         "url": "https://console.developers.google.com/apis/api/googlehomefoyer-pa.googleapis.com/overview?project=936475......"                     }                 ]             },             {                 "@type": "type.googleapis.com/google.rpc.ErrorInfo",                 "reason": "SERVICE_DISABLED",                 "domain": "googleapis.com",                 "metadata": {                     "consumer": "projects/936475......",                     "service": "googlehomefoyer-pa.googleapis.com"                 }             }         ]
I've redacted half the project number in case that's meant to be private?
Following the link it provided, I just get a page with the following:

You do not have sufficient permissions to view this page

There was an error while loading /apis/api/googlehomefoyer-pa.googleapis.com/overview?project=google.com:api-project-936475......&pli=1.
You are missing at least one of the following required permissions:
Project
resourcemanager.projects.get
serviceusage.services.get
Check that the project ID is valid and that you have permissions to access it.

At which point I get a bit stuck.. but yeah seems like we need to configure something in google api's for this to work?

Sorry for long time to reply - I have seen this where the user you are connecting with is not the "owner" of the Google Wifi system (although this doesn't always work). Unfortunately to change the owner you have to completely reset your Google Wifi network and build it from scratch.

Getting the same error. Installed via HACS initially. Uninstalled and added the integration manually to custom_components and also got a new refresh token through the Chrome plugin. Still getting the same error. Also, I'm the owner of the Google WiFi system. Any suggestions? Thanks for the integration. Excited to get it working.
2022-07-23 19:09:01 INFO (MainThread) [homeassistant.setup] Setting up googlewifi
2022-07-23 19:09:01 INFO (MainThread) [homeassistant.setup] Setup of domain googlewifi took 0.0 seconds
2022-07-23 19:09:13 INFO (MainThread) [custom_components.googlewifi] Setting up platform: binary_sensor
2022-07-23 19:09:13 INFO (MainThread) [custom_components.googlewifi] Setting up platform: device_tracker
2022-07-23 19:09:13 INFO (MainThread) [custom_components.googlewifi] Setting up platform: switch
2022-07-23 19:09:13 INFO (MainThread) [custom_components.googlewifi] Setting up platform: light
2022-07-23 19:09:13 INFO (MainThread) [custom_components.googlewifi] Setting up platform: sensor
2022-07-23 19:09:13 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.googlewifi
2022-07-23 19:09:13 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.googlewifi
2022-07-23 19:09:13 INFO (MainThread) [homeassistant.components.switch] Setting up switch.googlewifi
2022-07-23 19:09:13 INFO (MainThread) [homeassistant.components.light] Setting up light.googlewifi
2022-07-23 19:09:13 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.googlewifi
2022-07-23 19:09:13 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up googlewifi platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/googlewifi/binary_sensor.py", line 29, in async_setup_entry
for system_id, system in coordinator.data.items():
AttributeError: 'NoneType' object has no attribute 'items'
2022-07-23 19:09:13 ERROR (MainThread) [homeassistant.components.device_tracker] Error while setting up googlewifi platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/googlewifi/device_tracker.py", line 31, in async_setup_entry
for system_id, system in coordinator.data.items():
AttributeError: 'NoneType' object has no attribute 'items'
2022-07-23 19:09:13 ERROR (MainThread) [homeassistant.components.switch] Error while setting up googlewifi platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/googlewifi/switch.py", line 45, in async_setup_entry
for system_id, system in coordinator.data.items():
AttributeError: 'NoneType' object has no attribute 'items'
2022-07-23 19:09:13 ERROR (MainThread) [homeassistant.components.light] Error while setting up googlewifi platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/googlewifi/light.py", line 30, in async_setup_entry
for system_id, system in coordinator.data.items():
AttributeError: 'NoneType' object has no attribute 'items'
2022-07-23 19:09:13 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up googlewifi platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/googlewifi/sensor.py", line 32, in async_setup_entry
for system_id, system in coordinator.data.items():
AttributeError: 'NoneType' object has no attribute 'items'


[Model][Quantization] HQQ support through Marlin kernel expansion

This PR enables HQQ support (float zero points) in float16 kernels. This PR supports 4-bit quantization and group_size 64.
unit tests:
pytest tests/kernels/test_marlin_gemm.py -k test_hqq_marlin_gemm

offline inference model:
nm-testing/Llama-3.2-1B-Instruct-HQQ

or
from vllm import LLM
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, HqqConfig

model_path = "unsloth/Llama-3.2-1B-Instruct"
quant_config = HqqConfig(nbits=4, group_size=64, axis=1)

model = AutoModelForCausalLM.from_pretrained(model_path,
                                             torch_dtype=torch.float16,
                                             cache_dir='.',
                                             device_map="cuda:0",
                                             quantization_config=quant_config,
                                             low_cpu_mem_usage=True)
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

qp = "llama-3.2-1b-instruct_hqq"
model.save_pretrained(qp)
tokenizer.save_pretrained(qp)

llm = LLM(model=qp)

do we have any end-to-end perf benchmarks?
do we have any lm-eval runs for correctness?
can you add a test for weight loading?

I've run some lm-eval: I'll add the relevant configs as soon as it's verified that the results look good. I can also add other mentioned tests.

/ready

failures look related to https://github.com/vllm-project/vllm/pull/10456

@ElizaWszola When you merge latest main, could you sanity check the wheel size before landing?

BTW just checked this, and check-wheel size goes from 189.25 MB -> 190.04 MB


daysToCurrentEpochFromConverterEpoch is not a member of ace_time::Epoch

I have a compile issue with AceTimeClock 1.2.4 and AceTime 2.2.3.
  NtpClock.cpp: 182:14: error: 'daysToCurrentEpochFromConverterEpoch' is not a member of 'ace_time::Epoch        Epoch*: daysToCurrentEpochFromConverterEpoch()    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am guessing the issue is the renamed method daysToCurrentEpochFromConverterEpoch() to daysToCurrentEpochFromInternalEpoch() in AceTime 2.2.3. AceTime 2.2.2 works ok.

The fix is committed into develop, but for some reason, I never created a new release. I will do that shortly...

thanks for quick response.

Released v1.3.0.
It should get picked up by the Arduino Library Manager in the next day or two.
You also need to upgrade to AceTime v2.3.0.
Please reopen or create a new ticket if you encounter problems.


ci docs

Some useful examples. All repo examples are actualized.
To add in future:

dockerised check
bitbucket ?
abaplint-backend-for-sci

think its a good idea to collect these in the main repo
I'm not sure if the "node slim" docker images actually work, but for gitlab, see link in https://github.com/abaplint/abaplint/issues/823

the slim docker images does not include git command line, which is used in abaplint to retrieve dependencies

all the above works. But it's a good point about git. I'll fix to regular image

ref https://github.com/abaplint/abaplint/blob/master/packages/cli/src/cli.ts#L90

Done. Both in example and in the sample repo.
Yeah, I know about git, tnx. I explicitly add it to alpine image in docker. But I forgot that it was not present in slim (don't use it a lot)

👍
should also sometime clean up the readme, too much stuff in it, link to these docs instead

yeah ... especially official @abaplint/* npm packages without readme look strange ;)


Ransomware found inside the downloaded for windows artifact (20200409)

downloaded Windows artifact from your web site.
The enterprise antivirus found a randsomware.
Please check.
Thanks

Can you provide more information?
I'd be extremely surprised if that were the case. The artifacts are generated on Travis CI's servers and the project's entire source is open.

I'm not sure to be able to provide the needed information as it could be realted to the network/firefall configuration done  outside my control and knowledge.
Howerver here is what happends on my laptop

and when I continue (Execution of execution):

May be your are right and it is the antivirus policy that I should request to be changed to my staff. However it is very rare that this happen so may be there is somtething to improve.
I undestand it is very light and i am sorry not to give more.
Have a good day.
Thanks,
David

Thanks for the details. My guess is that because Pomotroid does not ship with code signing, some anti-virus software will raise an alarm. Unfortunately, as this is a free, hobby project there are no plans to ship with code signing any time soon.
Thanks for contributing!


Compiler warnings (clang)

Compiling with -Wdocumentation leads to these compiler warnings with clang.
/home/mgerhardy/dev/engine/src/modules/image/external/stbi_pvr_c.h:606:3: warning: '@function' command should be used in a comment attached to a function declaration [-Wdocumentation]
 @Function              TwiddleUV
 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/image/external/stbi_pvr_c.h:611:3: warning: '@returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
 @Returns               The twiddled offset of the pixel
 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It should be fixed here.


2nd Eachen GD-DC5 as garage.

Please explain your feature request in a one or two sentences.
Please consider supporting at least a second Eachen GD-DC5 as a HomeKit garage, for 2 door operation under HomeKit.

Is your feature request related to a problem? Please describe.
I Added a second Eachen to the Group array, but it displays as a switch in Single Tile mode, or as a switch and a garage in Separate Tiles mode.

Any particular eWeLink devices that this relates to?
Eachen GD-DC5

Anything else?

Group looks like this:
[
{
"deviceId": "10009d3eb7",
"type": "garage_eachen",
"setup": "oneSwitch",
"operationTime": 120,
"sensorId": "10009d3eb7"
},
{
"deviceId": "1000873158",
"type": "garage_eachen",
"setup": "oneSwitch",
"operationTime": 120,
"sensorId": "1000873158"
}
]

Hi @MoTechnicalities
To remove the switch accessory, you will need to remove the accessory from the cache. How to do this depends on how you run Homebridge (eg Homebridge with config-ui, Homebridge CLI, HOOBS...)
Please let me know if you need assistance with this.
Also, the setup and sensorId are not necessary with the Eachen device, you can change your groups array simply to this:
[
   {
      "deviceId": "10009d3eb7",
      "type": "garage_eachen",
      "operationTime": 120
   },
   {
      "deviceId": "1000873158",
      "type": "garage_eachen",
      "operationTime": 120
   }
]

Hi @MoTechnicalities
To remove the switch accessory, you will need to remove the accessory from the cache. How to do this depends on how you run Homebridge (eg Homebridge with config-ui, Homebridge CLI, HOOBS...)
Please let me know if you need assistance with this.
Also, the setup and sensorId are not necessary with the Eachen device, you can change your groups array simply to this:
[
   {
      "deviceId": "10009d3eb7",
      "type": "garage_eachen",
      "operationTime": 120
   },
   {
      "deviceId": "1000873158",
      "type": "garage_eachen",
      "operationTime": 120
   }
]

Yep, may need a little help. I am running HOOBS.

Yep, may need a little help. I am running HOOBS.

Please add the eWeLink device ID of the device with the switch to the "Ignored Devices" settings entry:

Then click "Save Changes". If you watch the logs while HOOBS restarts, then you should see a message that says something like:
13/01/2021, 06:52:20 [eWeLink] [Device] has been removed from Homebridge.

Once it has been removed, you should return to the Configuration and remove the Device ID from the "Ignored Devices", Save Changes again and when HOOBS restarts the device should be readded without the switch.

Please add the eWeLink device ID of the device with the switch to the "Ignored Devices" settings entry:

Then click "Save Changes". If you watch the logs while HOOBS restarts, then you should see a message that says something like:
13/01/2021, 06:52:20 [eWeLink] [Device] has been removed from Homebridge.

Once it has been removed, you should return to the Configuration and remove the Device ID from the "Ignored Devices", Save Changes again and when HOOBS restarts the device should be readded without the switch.

Please add the eWeLink device ID of the device with the switch to the "Ignored Devices" settings entry:

Excellent! It worked.
Thank you.

Please add the eWeLink device ID of the device with the switch to the "Ignored Devices" settings entry:

Excellent! It worked.
Thank you.


OSF profile social integration

Is your feature request related to a problem? Please describe.
The current version of the al-folio does not support social integration of one's OSF profile.
Describe the solution you'd like
Would there be a possibility of adding it, so it is as easy to configure as e.g., social integration of Twitter or LinkedIn?
Describe alternatives you've considered
One could probably add an OSF link manually. However, having a useful social integration config would be way better.
Additional context
A link to someone's profile looks like this: https://osf.io/ezhqp/; the "ezhqp" could be the input in the al-folio social integration.

@buerviper Hi, thank you a lot, it worked! :D Just one comment: in _includes/social.html in line 23 you have a typo - a single / instead of //.
Best,
Anna

@annadoesscience This should be fixed now.


MudForm IsValid initial value defaults to true when it should be false

Bug type
Component
Component name
MubForm
What happened?
When using fluent validation with a MudForm and binding IsValid to a field to disable the submit button until the form is valid, the initial value is true, meaning that until a form element has been touched, users can try to submit an invalid form.
Expected behavior
I expect the initial value for an untouched form to be false.
Reproduction link
https://try.mudblazor.com/snippet/QamcaskQduguTvgI
Reproduction steps
See repro link, @bind-IsValid="isValid" and then on the submit button Disabled="!isValid"
Relevant log output
No response
Version (bug)
6.0.12
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge, Safari, Other
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

I think this is an intended feature. Until a Form has been validated and indicated invalid, it should be assumed valid.

I disagree, if this is the case we should be able to override the default to false. I don't understand why a form would be assumed to be valid without actually validating it.
The intent in the example is for the form to become submittable once the form has valid input. In this case I don't want users to have to submit an invalid form to know it's invalid.
The form becomes validated as soon as you touch an input so what you're saying doesn't make sense, leaving the forms default valid state as true before anything is touched means all fields are empty so it can't possibly be valid.

The user experience of getting incremental errors as you tab past required fields is nice but they shouldn't be able to submit the form at all. If the validator was run against the model on initialization then there would be errors so that can only mean that the validator isn't being run at the start which doesn't make sense.

By all means if you can explain to me why there is any benefit in making the assumption that a form that hasn't been validated is better than just validating the form and not making any assumptions is better I'm all ears. I honestly can't see any benefit in you assuming anything.

The user experience of getting incremental errors as you tab past required fields is nice but they shouldn't be able to submit the form at all. If the validator was run against the model on initialization then there would be errors so that can only mean that the validator isn't being run at the start which doesn't make sense.

Why would the validator be run on initialization? It is run on submit or on tab (once there is input).
I do see your point, but would suggest validating the form yourself on initialization if this is the behavior you would prefer.


adding a "random" theme.

hi.
"random" theme for better oh-my-zsh compatibility.

Hey, seems like this PR has gone stale. So I am closing it. Thanks for contributing!


Removed named parameters from SpanRange constructor for less verbosity (Resolves #1191)

Removed named parameters from SpanRange constructor for less verbosity (Resolves #1191)

FYI - @miguelcmedeiros @Jethro87 @jmatth - this will probably be a breaking change for you. The fix is simply to delete the named parameters from any place that you create a SpanRange.


Add RNA-options to WGS alignment workflow

Changes:

Added RNA specific options to dragen-alignment tool definition
Updated dragen-alignment-pipeline to use RNA specific arguments
Updated configs

Test:
ICA workflow run ID is wfr.e214f88cec5a4a4083545852a53a7f3a. The inputs used were:

Click to expand!
{
    "name": "Dragen-WTS-QC",
    "input": {
        "reference_tar": {
            "class": "File",
            "location": "gds://development/reference-data/dragen_hash_tables/v8/hg38/altaware-cnv-anchored/hg38-v8-altaware-cnv-anchored.tar.gz"
        },
        "output_file_prefix": "MDX210318",
        "output_directory": "L2101521_dragen",
        "fastq_list_rows": [
            {
                "rgid": "MDX210318",
                "rgsm": "MDX210318",
                "rglb": "L2101521",
                "lane": 1,
                "read_1": {
                  "class": "File",
                  "location": "gds://production/primary_data/211125_A00130_0185_AHWC2HDSX2/2022010575cdcf71/WTS_NebRNA/MDX210318_L2101521_S1_L004_R1_001.fastq.gz"
                },
                "read_2": {
                  "class": "File",
                  "location": "gds://production/primary_data/211125_A00130_0185_AHWC2HDSX2/2022010575cdcf71/WTS_NebRNA/MDX210318_L2101521_S1_L004_R2_001.fastq.gz"
                }
            }
        ],
        "enable_map_align_output": true,
        "enable_duplicate_marking": false,
        "enable_sort": true,
        "enable_rna": true,
        "enable_rrna_filter": true
    },
    "engineParameters": {
        "outputDirectory": "gds://development/temp/sehrish/dragne_wts_alignment/MDX210318",
        "workDirectory": "gds://development/temp/sehrish/dragne_wts_alignment/MDX210318_work"
    }
}

TODO

[x] #232
[x] #236

Cool! Can you also update dragen alignment v4 as well?

@alexiswl - updated in https://github.com/umccr/cwl-ica/pull/245/commits/db539d62243a00dc7c891f492348c6d7007290cf

@skanwal I don't think your merge from main was successful e3558c8

This conflict is expected since main has updated the multiqc version to 1.14 and the wts-qc-workflow branch has updated the same workflow (but adding in the rna inputs). This also means that neither branch has the correct md5sum. To avoid this conflict in future, a better option may be to rebase the workflow onto main then run the sync commands to update the project config yaml files.
In this case I was able to merge, pick one md5sum, then re-run the sync command to get the correct md5sum.


Colab execution issue

Thanks' very much for this code release.
I get these errors running the Colab notebook at the end.
`FileNotFoundError                         Traceback (most recent call last)
 in ()
19         results_dir="results/"
20 ))
---> 21 main(args)
5 frames
/usr/local/lib/python3.7/dist-packages/torch/serialization.py in init(self, name, mode)
209 class _open_file(_opener):
210     def init(self, name, mode):
--> 211         super(_open_file, self).init(open(name, mode))
212
213     def exit(self, *args):
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/encoder/checkpoint_b.pt'`

Did you download the models by running the ./scripts/download_checkpoints.sh?

@roxanneluo it appears that the files on drive are too big so the script fail to download the files (when dowloading the files manually, google drive opens a form to confirm that you want to download a big file). I'm trying to find a solution

Yea, it seems to be related to the files being large and downloaded too many times. You can confirm that you'd like to download the big file.
Maybe you can try copying to your own google drive and replace the gdown commands with ids from your own drive
gdown --id <id_on_your_own_drive_to_the_copied_file> -O <output_path>

Related resources: https://stackoverflow.com/questions/48735600/file-download-from-google-drive-to-colaboratory

I've copied the weights to a shared drive to bypass the quota issue for downloading big files from gdrive. Try using the code below to download the weights instead. Does it work for you?
set -exo

mkdir -p checkpoint
gdown https://drive.google.com/uc?id=1YLB-3ZCv6FRAWwCHkTvUou_CAvDcb5Pr -O checkpoint/e4e_ffhq_encode.pt
gdown https://drive.google.com/uc?id=1aSnTVHGNzQ-Eh5rNDOrOc_4SjQbNMq3B -O checkpoint/stylegan2-ffhq-config-f.pt
gdown https://drive.google.com/uc?id=12BHlsSQM0D8KyXprIc7WmJRLWBWdtF56 -O checkpoint/vgg_face_dag.pt
mkdir -p checkpoint/encoder
gdown https://drive.google.com/uc?id=1fXBCyBKNEZfeiI6LEHTEnUg_DjWHJy5r -O checkpoint/encoder/checkpoint_b.pt
gdown https://drive.google.com/uc?id=1YnQEPf7FyfZxAVQg-CpbvdF4otZeTOZh -O checkpoint/encoder/checkpoint_g.pt
gdown https://drive.google.com/uc?id=1kelQK3pUdeHwu8uVE7A4WZH_EjHxGE6v -O checkpoint/encoder/checkpoint_gb.pt

pushd third_party/face_parsing
  mkdir -p res/cp
  gdown https://drive.google.com/uc?id=1vwm4BcAKISQgcJLvTUcvesk73UIYdDMF -O res/cp/79999_iter.pth
popd

Has the colab been updated with your changes?

I confirm the new code is working

Great!


Milestone 3: Sprint Review

Description
This milestone issue is created to track the progress of Milestone 3: Sprint Review. This milestone aims to review the progress made during the sprint and assess whether the project is on track to meet the objectives.
Agenda

Presentation of completed work during the sprint
Discussion of any issues or challenges encountered during the sprint
Assessment of progress toward project objectives
Identification of areas for improvement and refinement
Review of the project plan and timeline, if necessary

Deliverables

Summary of critical insights and recommendations from the sprint review
Revised project plan and timeline, if necessary

This milestone issue will be considered closed once the review has been successfully conducted and all the deliverables have been completed.

Update May 1, 2023 for upcoming milestone meeting. Hoping to complete this milestone along with the https://github.com/MAAP-Project/stac_ipyleaflet/issues/42 together

Heidi to share the design direction Emma and I have kind of agreed on, and are just chipping away at in this Miro (option 4). But also open for discussion here!
Emma can share live how things are looking in the notebook itself. Questions re: the code-base from Emma

if anyone else is working in this repo
is there an expected plan for code review (I'd like to start pushing more code into the repo more often - as soon as I can finish this first version of the STAC widget complete)

Share start of a user research plan + asking clarification questions around the user working group

Who is going...will we really get time with people, how long...can we have actions around that to plan ahead?

Closing this issue with some next steps:

Heidi to update the research plan based on discussion - share with Alex and talk directly with Nathan on planning for User Working Group
We discussed the timeline - aim to finish up the features discussed for release 1 this sprint so that we can have it deployed and give user working group members time to play around


Performance benchmarking

The API is backwards compatible but offers new APIs for compose and quotient that allow specifying the list of tactics to be used and provide a tuple result, the resulting contract, and the list of tactic usage information.

Hi @NicolasRouquette, the code quality checks are passing, which is great. The code coverage decreased as a result of the new functionality for performance. Would you be able to write a couple of tests to exercise the new functionality?

I managed to get the code coverage > 80%.
For the remaining, we must create a contrived PolyhedralTermList and call some methods like _transform with arguments to exercise the missing code branches.
Also, can you suggest pathological inequalities that could trip the untested branches in the various tactics?


docs: escape separation character example

Just escaped them so they get rendered correctly for the docs.

Thanks for fixing this and sending the PR!


Some animations not updating while playing sound in Windows Media Player

Originally noted in issue #286
To reproduce: On the Windows 98 demo, play a wave sound file, and as it is playing, hover the cursor over the play button.
Expected: The tooltips should show up immediately and the sound playback should be uninterrupted.
Observed: The sound is interrupted, and only when you move the mouse does the tooltip animation start to update, and the next sound fragment is played.
Other kinds of animation also produce this effect, e.g. opening the start menu, opening menus, and minimising the window.

(Note: Excuse my username, this is a temporary account)
This is a problem I experience a lot. When I load "The Microsoft Sound.wav" and play it in Windows Media Player, usually hovering over something like the x button to close the window will stop the audio and prevent the animation from continuing. In order to let the animation complete and continue playing audio, you have to move the cursor.
This is most likely an error using Javascript to emulate/virtualize Windows, or the code used for Windows 98 on v86.


Hide squiggly for unused and unnecessary diagnostics

Fixes #4229
When working with JavaScript or TypeScript in VSCode unused valiables are faded but don't have a squiggle. This PR makes rust-analyzer work similarly by setting the severity to hint when applying the unnecessary tag.
VSCode usually shows a squiggle for error, warning and information and shows three dots for hint. When the unnecessary tag is present the squiggles will still show up but the three dots will not.
This is my first contribution to open source. Please tell me if i need to do anything more to get this PR considered.

Now, it's a perfect PR, thanks @GabbeV !
bors r+

Is there anyway to find all the unused in you're code now? I used to use the problems panel to easily find and clean these up.

@freesig This has been requested in #4766.

When working with JavaScript or TypeScript in VSCode unused valiables are faded but don't have a squiggle. This PR makes rust-analyzer work similarly by setting the severity to hint when applying the unnecessary tag.

Hm, is this actualy the case? I think I see both the dimming and the squigly:

Can it be the case that this behavior is controlled by some extra setting?

@matklad for me it doesn't show the squiggly. I created a single .ts file in an empty directory and opened it in VSCode without any JS/TS related extensions.

Maybe you have another linter installed like eslint that report it as a warning?
However, maybe this PR was merged prematurely as people seem to have relied on how it worked before. The underlying problem seems to be rustc not having a lint level matching VSCodes hint. Maybe a way to configure what warnings to treat as hint would be a better solution? Or maybe only convert warnings to hints leaving errors as errors?

Hm, you are correct, I see this because I use a non-default config:
{
    "compilerOptions": {
        "noUnusedLocals": true,
    },
}

We can add a config option here, and I think we should, eventually. However right now I'd really prefer to find a solution without config, even if it is not the best across all dimentions.
I think the fundamental problem here is that defaults for Ruts and TypeScript are different here: rust is strict about unused things, TS is lax. Given that this has a user-visible implication as well (hints miss the problem view), we probably should just stick to Rust defaults here.


Not refreshing after reboot

I've noticed that NNW doesn't perform the automated refresh cycle after I've rebooted my Mac and the applications like NNW are automatically restarted. After a manual refresh everything is fine again. Is this a NNW or a MacOSX issue?
Using NNW 5.0.3 (2618) and MacOSX Catalina 10.15.4.

This has been fixed in the upcoming 5.0.4 release.

Sorry for the duplicate, didn't find a closed issue....

Thanks for the report!  It is better that we have some dupes than we not know about a problem. Bug reports are always appreciated.


FIX:issue52, if a pod is running but not ready,we can connect to it

FIX:issue52, if a pod is running but not ready(about readiness probe), we can connect
like the initcontainner, if a pod is Running but not ready(because of the readiless Probe), we can connect to it.

Thanks! @calmkart


ENH: Allow CSS styling of reportlets in bootstrap file

Resolves: #58.

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.04 :tada:

Comparison is base (b2ddcac) 55.85% compared to head (a603065) 55.90%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
+ Coverage   55.85%   55.90%   +0.04%
==========================================
  Files          19       19
  Lines        1819     1830      +11
  Branches      366      368       +2
==========================================
+ Hits         1016     1023       +7
- Misses        728      733       +5
+ Partials       75       74       -1

Flag
Coverage Δ

unittests
55.90% <100.00%> (+0.26%)
:arrow_up:

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

Impacted Files
Coverage Δ

nireports/assembler/report.py
94.44% <ø> (ø)

nireports/assembler/reportlet.py
93.49% <100.00%> (+0.63%)
:arrow_up:

... and 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Discover page not found

Describe the bug
Freshly installed, discover page results in a 404
To Reproduce

Install using docker
visit home page
click on discover page icon
enjoy the 404 error page

Expected behavior
Discover page works and it's showing up some content
Screenshots
N/A
Additional context
None

yep, because it's not implemented, check Readme.md


Master to main cleanup

Needed by https://github.com/kubernetes/k8s.io/issues/1597
/kind cleanup

/release-note-none

/ok-to-test
/lgtm
/approve
@anubha-v-ardhan we have a process for copying this repo into the other repos. Please close all of your other PRs because they cannot be merged as-is. I can kick off a mass update once this PR is merged.

/ok-to-test
/lgtm
/approve

Thanks @pohly, I didn't know that was possible. I have deleted all my other PRs


links added

Related Issue

Issue number goes here:

Proposed Changes

Change 1
Change 2

Checklist

[ ] Documentation of the code
[ ] Add your name to the CONTRIBUTORS file
[ ] Testing your code in the local machine

Screenshots

this closes

@Teddy1404 This issue is already been assigned to another person. We appreciate making the PR but please make it only when an issue is been assigned. For creating custom issues we suggest to join our discord and suggest some issue and we'll create it accordingly.


Get timestamp on every esp-log  (IDFGH-6450)

Environment

Development Kit:      [ESP32-DevKit]

Kit version (for WroverKit/PicoKit/DevKitC): [v1]

Module or chip used:  [ESP32-WROOM-32|]

IDF version (run git describe --tags to find it): v4.3

Compiler version : xtensa-esp32-elf-gcc (crosstool-NG esp-2021r1) 8.4.0

Operating System:     [Linux]

Using an IDE?: [VS Code]

Power Supply:         [USB]

Problem Description
I want timestamp logs on every log that ESP-prints even if the logs are from the esp-idf header files I need a timestamp on it is there a method to get timestamps on each and every logs.
Also, I am using SNTP in my code so I can get the time from there but I don't know how to add that timestamp to my esp-log.
I was reading about the following function available in esp-log.h

**
 * @brief Function which returns system timestamp to be used in log output
 *
 * This function is used in expansion of ESP_LOGx macros to print
 * the system time as "HH:MM:SS.sss". The system time is initialized to
 * 0 on startup, this can be set to the correct time with an SNTP sync,
 * or manually with standard POSIX time functions.
 *
 * Currently this will not get used in logging from binary blobs
 * (i.e WiFi & Bluetooth libraries), these will still print the RTOS tick time.
 *
 * @return timestamp, in "HH:MM:SS.sss"
 */
char* esp_log_system_timestamp(void);

I just need some way in which I can add timestamp to each and every log
Thanks in advance

https://github.com/espressif/esp-idf/blob/07bfc09d0c8837b4d149e1151c57635a0c02755a/components/log/Kconfig#L95-L119

Thank you @KaeLL.
It's working now.


Add support for live.line.me

[x] I've verified and I assure that I'm running youtube-dl 2016.09.27

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

https://live.line.me/r/channels/21/broadcast/51883

Related but #9427 but different.


jumpwin1 vm extension fails to download files

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Provision terraform-azurerm-vnet-app

Any log messages given by the failure
{
   "startTime": "2024-10-11T21:29:14.9875243+00:00",
   "endTime": "2024-10-11T21:29:55.5842089+00:00",
   "status": "Failed",
   "error": {
     "code": "VMExtensionProvisioningError",
     "message": "VM has reported a failure when processing extension 'vmext-jumpwin1-postdeploy-script' (publisher 'Microsoft.Compute' and type 'CustomScriptExtension'). Error message: 'File download failure'. More information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot. "
   },
   "name": "5cca558e-1d1a-44fb-9231-8553fe5d9ad3"
 }

Expected/desired behavior

There should be no failure.

OS and Version?

Windows Server 2022

Versions

#AzureSanbox v2.13.6

Mention any other details that might be useful

Role assignment granting Storage Blob Data Contributor is in place, however the file download fails. Need to add a delay to allow the Azure RBAC Role Assignment to propogate.
Thanks! We'll be in touch soon.

reopening as this failure is still occurring


Interrupt controller DT macros and GPIO IRQ utilities

Introduction
Implement interrupt-controller related macros to get the handle to an interrupt specifier's interrupt controller as described in Devicetree specification v0.4 section 2.4.1, and add the utilities and macros required to use the devicetree specification.
What will it solve
The following example shows how we currently configure GPIO routed interrupts in-tree for the ST LIS2DH, which generates two pin routed interrupts:
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/sensor/lis2dh.h>

&i2c0 {
	sensor: lis2dh {
		compatible = "st,lis2dh";
		irq-gpios = <&gpio0 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>,
		            <&gpio0 2 GPIO_ACTIVE_HIGH>;
		int1-gpio-config = LIS2DH_DT_GPIO_INT_EDGE_RISING;
		int2-gpio-config = LIS2DH_DT_GPIO_INT_EDGE_RISING;
	};
};

This solution is not optimal, as it is not generic, and does not follow the devicetree specification 2.4.1. This results in custom bindings required to configure the interrupt lines, and makes it near impossible to create subsystems and other utilities which interact with interrupt generating devices generically (like a wakeup source subsystem, or generic utilities for interacting with interrupt requests)
What does the solution look like
Using the properties for interrupt generating devices defined in the devicetree specification, the same sensor will take one of the following forms:
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/interrupt-controller/irq.h>

&i2c0 {
	sensor: lis2dh {
		compatible = "st,lis2dh";
		interrupt-parent = <&gpio0>,
		interrupts = <1 (IRQ_TYPE_EDGE_RISING | GPIO_PULL_UP)>,
		             <2 IRQ_TYPE_EDGE_RISING>;
	};
};

or
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/interrupt-controller/irq.h>

&i2c0 {
	sensor: lis2dh {
		compatible = "st,lis2dh";
		interrupts-extended = <&gpio0 1 (IRQ_TYPE_EDGE_RISING | GPIO_PULL_UP)>,
		                      <&gpio0 2 IRQ_TYPE_EDGE_RISING>;
	};
};

This is compatible with the Linux binding for the same sensor st-sensors.yaml
Note: this also allows us to exchange the GPIO controller for a programmable interrupt controller potentially in the future like:
	&i2c0 {
		sensor: lis2dh {
			compatible = "st,lis2dh";
			interrupt-parent = <&pic0>,
			interrupts = <1 (IRQ_TYPE_EDGE_RISING | GPIO_PULL_UP)>,
			             <2 IRQ_TYPE_EDGE_RISING>;
		};
	};

How will drivers use the new macros
Drivers will get a GPIO IRQ specification from the devicetree using a variation of GPIO_IRQ_DT_SPEC_GET() which initializes a struct gpio_irq_dt_spec, similar to how GPIO_DT_SPEC_GET() works.
struct foo_config {
	struct gpio_irq_dt_spec irq_spec;
};

const struct foo_config##inst = {
	.irq_spec = GPIO_IRQ_DT_SPEC_GET(inst),
};

Drivers will then utilize the gpio_irq utilities to configure a GPIO PIN as an interrupt as described by the spec.
struct foo_data {
	struct gpio_irq irq;
};

void foo_irq_handler(struct gpio_irq *irq)
{
	struct foo_data *data = CONTAINER_OF(irq, struct foo_data, irq);
	...
}

void foo_init(const struct device *dev)
{
	const struct foo_config *config = dev->config;
	struct foo_data *data = dev->data;

	/* Configure interrupt generating device to follow irq spec from devicetree */
	if (config->irq_spec.flags & IRQ_TYPE_EDGE_RISING) {
		...
	} else if (config->irq_spec.flags & IRQ_TYPE_EDGE_FALLING)
		...
	}

	/* Set pin interrupt and enable it according to irq spec from devicetree */
	gpio_irq_request_dt(&config->irq_spec, &data->irq, foo_irq_handler);
}

The struct gpio_irq instance is used to further interact with the GPIO pin interrupt
int foo_resume(const struct device *dev)
{
	struct foo_data *data = dev->data;

	return gpio_irq_enable(&data->irq);
}

int foo_suspend(const struct device *dev)
{
	struct foo_data *data = dev->data;

	return gpio_irq_disable(&data->irq);
}

Preemptive Q&A
What happens to GPIO_ACTIVE_LOW and GPIO_INT_LEVELS_LOGICAL
These flags are no longer useful as the IRQ_TYPE_* flags completely cover the information the GPIO flags where conveying.
Can we still use generic and vendor specific GPIO_* flags like GPIO_PULL_UP?
Yes! except for the first 4 flags which configure GPIO output and logical states, which are now illegal, and are replaced by the
new IRQ_TYPE_* flags.
Could we not just reuse struct gpio_dt_spec?
Technically yes, the layout of the structure is identical, but, this would be unsafe as it would indicate that the struct gpio_irq_dt_spec and struct gpio_dt_spec are interchangeable, which they are not. For struct gpio_irq_dt_spec, we enforce that the controller(port) is in fact also an interrupt controller, and we enforce that the irq(pin) is in fact from an interrupts property.

@mbolivar-ampere Thank you for reviewing, I'm currently writing the test suite :) just wanted to share the design a bit early :)

just wanted to share the design a bit early :)

OK! Please consider using a draft PR in the future for work that is not ready. This looked like you wanted it in, especially since you asked for a review on Discord.

Added documentation for GPIO interrupt requests with examples and API overview

Update

Changed _OPTIONAL_ to _OPT_ to shorten macro names
Fixed erroneous IRQ_TYPE_* usage in documentation and
Made functions in doc example driver static
Added comment to doc example driver to configure sensor interrupt lines before enabling interrupt requests

Update

Added helper macros to validate and test IRQ_TYPE_* flags
Implemented new helpers in GPIO IRQ utilities
Added error handling if gpio_irq_enable() fails when requesting GPIO IRQ using gpio_irq_request()

Architecture WG:

@henrikbrixandersen is worried that the current suggestion will still require clients using GPIO-based interrupts to handle it in the code with the GPIO API, instead of using the interrupt API. He mentions external interrupt controllers that have external pins available
@henrikbrixandersen asks for an interrupt controller API and then map this to the existing GPIO controller API

Closing this PR for now since it will probably be reworked based on the a new interrupt controller API (this one once its ready hopefully #66505)


Dollar values not parsed as numbers

I'm not sure that this is a design goal, but I see that dollar values (and presumably other currencies) are not parsed to be identical to plain numbers.
const {compare} = require("natural-orderby")

console.log("strings and numbers", compare()("1.00", 1)); // 0
console.log("dollar-strings and numbers", compare()("$1.00", 1)); // 1

(See https://runkit.com/dahjelle/5dd552e003c3750014962150 for a runnable version of the above.)
I haven't dived in deep to see how the algorithm in this library works, but does it seem like this is a possible and desired feature?

Hi,
in general the algorithm of ´natural-orderby´ will sort a list of money values of the same (prefixed) currency correctly, if you are using the same currency prefix.
If you have a list of money values of different currencies, the amounts won't be converted before the comparison. But the values will be sorted by currency followed by the amount.
If you have a list of mixed value types like in your example (money values and plain numbers), by design the algorithm considers the money value as an alphanumeric value. So the plain number always is going to be sorted in first place.

If you have a list of mixed value types like in your example (money values and plain numbers), by design the algorithm considers the money value as an alphanumeric value. So the plain number always is going to be sorted in first place.

Thanks for your response! That makes sense, and is the behavior I'm seeing.
I should give a bit more context to my use-case: I'm not only using natural-orderby for sorting, but I'm also using the compare function for a filtering algorithm. (It's really handy for have the same algorithm for both!) So, for instance, if I want to filter an array of values, I might have:
const {compare} = require("natural-orderby");

const min_amount = 6;
const number_result = ["$5.00", "$6", "$7.00"].filter(function(amount) {
  return compare()(amount, "6") >= 0;
});

const currency_result = ["$5.00", "$6", "$7.00"].filter(function(amount) {
  return compare()(amount, "$6") >= 0;
});

console.log('result with number', number_result); // ["$5.00", "$6", "$7.00"]
console.log('result with formatted currency', currency_result); // ["$6", "$7.00"]

Since I actually don't know a priori whether I'll be filtering data that is regular numeric values or currency values, it'd be handy to be able to compare currency values as numerics always.
I can definitely do it manually by examining the data before I do some filtering, but I thought it was worth opening the discussion to see if it was something worth adding to the library. :-) Perhaps there are other use-cases that it is valuable for?

By the way, thanks for a spiffy little library. It's really been great to use!


Pin to dev for opam, and undo previous dev changes

ocaml/opam doesn't come with 2.1, so need to change that. Also, just renaming the directory to .dev doesn't work 🤡, need to actually look at file structure, append .dev to file and then run opam pin. Sidestepping that by using --with-version (available in opam 2.1).

@art-w  I accidentally closed your PR, sorry about that. Merging this now which has your commits :)


Document supported OS versions

This is sort of mentioned on the packaging page (https://darbyjohnston.github.io/DJV/packaging.html) but should be made more visible; maybe on the downloads page? (https://darbyjohnston.github.io/DJV/download.html)

We should also add the minimum supported OpenGL version.


Make Smile the Slime grabbable like geras

About the PR

Added the necessary components to grab and store Smile in your bag like a Geras
Why / Balance

Consistency... and flavor.
Changelog

:cl:

add: You can now pick up Smile and put them in your bag.

Now make slime mobs pickupable :trollface:

please use proper Smile pronounces


unable to trigger picker on change of the select box value

Hi,
I am unable to trigger the pickadate plugin onchange of value in  a  select box but can  trigger the plugin on button click.
Is there any solution for the error
Please find my code here -> http://jsfiddle.net/J92K6/13/

Seems to work just fine for me on Chrome with MacOS. Which environment are you seeing this in?

I am looking in windows 7 chrome browser


Implement the iEKF python bindings and minor changes in FoatingBaseEstimator class

Linux/Conda is failing with https://github.com/robotology/idyntree-yarp-tools/pull/42 .

As soon as the PR is ready to be reviewed I will add the reviewers again :)

For the time being, I will close this without merging. If required I will open it again


defineModel  not support calling methods  expression

Vue version
3.4.21
Link to minimal reproduction
https://play.vuejs.org/#eNqVUk1r3DAQ/StCF28g66UfJ9e74JYcWmgb2h4FxR/jjRNZEpK8cTD+75mR1ps9JCERGKT3nmeeRm/ihTHpYQCe8dxDb2TpYScUwzVNrJxntl7TrprniOYFO6x73YDMyq3gpeCnc4XnSvBdvimwRL45q5e72nbGMwd+MEyWao9a71AsVNcbbT0rWGt1z5J0U5Ch5MuJmSy085ElRqhaK+dZybYMqVWSXCxQdYQQyDexJ3ag/v5BAnO1NtAs/SU4coBCIlHHL9ETFmq7fXrrtMKhTHRrwWvdm06C/W18h40Ez1hgiCul1Pc/AubtAJcLXt9AffcMfutGwgS/tuDAHkDwE+dLuwcf6au/v2DE/YnEKQ8S1a+Qf8BpOZDHKPs6qAZtn+mC2+9hsJ3a/3NXowfllkuRUVLOQS84jvvbK1d/svsp/Rz+E2rGKYYXfCZSeafM4JfAxPi8RFGS3pGi+P7GauMwAw20nYJrOq2ObtsOZOOy1cV2t0C0xiy4OM4nIGPGkgpTRocZk0TfeeZi8Z/kcxUaprF2Op4JKYkvC6MyJPMppm8JKQ73/wEsPRjOF6eefvzA50cwUD1t
Steps to reproduce
open get error duplicate model name "modelValue"
What is expected?
get error
What is actually happening?

System Info
No response
Any additional comments?
No response

Yes, thats expected. Props need to be statically defined to be available at compile time, just like normal props

@LinusBorg But v-model can bind calling methods expression. Is this a problem?

I dont see how that should be a problem


Update WebRTC to m97

Waiting for new ver of https://github.com/flutter-webrtc/flutter-webrtc ...
for the meantime, this branch will compile using M97 from @davidliu 's branch

👍 !


Bug: react/prop-types throws missing props on chain propTypes passing

import React from 'react';
import PropTypes from 'prop-types';

class XYZ extends React.Component {
  render() {
    this.props.onClick();
  }
}

class ABC extends React.Component {
  render() { return null; }
}

ABC.propTypes = {
  onClick: PropTypes.func.required,
};

XYZ.propTypes = ABC.propTypes;

apparently eslint complains that XYZ doesn't have onClick props

There's no practical way for a linter to reliably follow that kind of dynamism around your file.
propTypes serve as documentation, and ABC and XYZ's propType objects should be distinct. Try this:
XYZ.propTypes = {
  onClick: ABC.propTypes.onClick,
};

@ljharb I don't know anything about ast parsing but shouln't there be a way to just eval this propTypes expression and check the result? Expect it to come with some performance cost however it will accommodate reusing propTypes better and propTypes seems always statically resolvable so maybe it's not much cost?
Again total noobs, if you think it's worth a shot I'll be happy to learn how.

No, "eval" isn't something any linter can do.
Separately, making new objects for propTypes once per component has no measureable performance cost, but not doing it can have measureable clarity cost.

https://github.com/yannickcr/eslint-plugin-react/issues/476


Dependency update

Full dependency update, including docdash and jsdoc 3 -> 4
Docs already published, as i had to test everything

Codecov Report
Patch and project coverage have no change.

Comparison is base (404fd71) 92.97% compared to head (85ea46d) 92.97%.

:exclamation: Current head 85ea46d differs from pull request most recent head 6ee0779. Consider uploading reports for the commit 6ee0779 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #131   +/-   ##
=======================================
  Coverage   92.97%   92.97%
=======================================
  Files          16       16
  Lines        6007     6007
=======================================
  Hits         5585     5585
  Misses        422      422

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

Great, so just bumping fixed it? Great to hear, thanks - maybe my mistake was only bumping JSDOC

Yeah, the trick to avloid errors were to bump docdash along with jsdoc :)


External tool path detection broken on Anaconda Python

We are currently detecting Anaconda by checking for conda in sys.version, however Anaconda has changed its sys.version string in Python 3.7 to remove any references to conda or variants thereof (at least on macOS). Therefore, external tools like BNG, StochKit etc. installed with Anaconda are not being automatically detected on that platform.

This also affects recent releases of Python 2.7 on Anaconda.


Shrink the docker image by cleaning cache and temporary files.

Shrink the docker image by cleaning cache and temporary files.
Fixed an issue with the Makefile.
Minor updates for the README.md (and making is correctly parsed in MacDown).

LGTM

travis / tests are not working right, this should be clear before merging