warning: ignoring debug info with an invalid version (0) in  with strange behaviour

Hi,
I am using the following versions:
llvmlite.version: 0.31.0
numba.version: 0.47.0
I observe the following behaviour:
setting
# @nb.jit(debug=True) in all my methods in comments does not lead to an error. The code executes without problems.
When this directive is active, I can observe the following:
the following message appears 64 times before my numba optimized code is entered:
warning: ignoring debug info with an invalid version (0) in <string>
Afterwards, my numba optimized code gets executed and somewhere(?) in my code an error happens, which shows itself as:
IndexError: getitem out of range

No extra information is shown.
Is there anything I can do to get more informations about the exact position of the error? (and it strikes me a little bit that without numba no error appears and the code gets executed without problems).
Unfortunately, it is not possible to post my code here.
Thanks in advance!

Thanks for the update. If you set NUMBA_FULL_TRACEBACKS=1 then some information about where the out of bounds accessed occurred, there's some info in the docs here http://numba.pydata.org/numba-doc/latest/reference/envvars.html#envvar-NUMBA_BOUNDSCHECK

Closing this issue as no new information has been provided. It is assumed that the above resolved the reported issue, if this is not the case please reopen the issue with new information. Many thanks.


Link to SparsePoser is broken

README.md links to https://upc-virvig.github.io/SparsePoser/ which is showing a 404 error.  The subdomain upc-virvig.github.io is no longer working, it appears.

Hi!
Thanks for giving us the heads-up about the link issue :)
The paper is currently going through the acceptance process. As soon as it's accepted, the link will start working!


[Script] Be more careful when generating ast.ExtSlice for Subscript

The ast.ExtSlice expects a non-empty list, otherwise evaluation fails with error: empty dims on ExtSlice. Also, each element in "dims" list of ExtSlice must be either Slice or Index.
In python3.8 an expression A[()] is parsed (by ast) as Subscript with slice being Index(value=Tuple(elts=[])). When we translate a subscript from doc.AST to ast, we unconditionally convert every tuple to ast.ExtSlice, which in this case is incorrect.
The fix is to map empty tuple back to the Index(Tuple[])) instead of ExtSlice. In other cases, ensure that members of ExtSlice are of correct types.

cc: @Hzfengsy @junrushao @yzh119

This happens when we evaluate and expression containing (), specifically when it get translated back into ast and then passed to eval.  I encountered this while using macros, and I also thought it should happen without macros too, but I wasn't able to reproduce it with a simple testcase.  I can dig into this some more to see why it worked there, but failed in a macro.

Interesting findings! When initiating TVMScript, we tested bunch of cases in certain python versions, but not all - which might be the source of such issues


Updated README

Updated README  file to incorporate User and Acceptance criteria, along with steps on how to install and run the application.

LGTM!


add bert style WordPieceTokenizer

Codecov Report

Merging #69 (0cdf74f) into main (5bab0c7) will decrease coverage by 1.45%.
The diff coverage is 19.51%.

:exclamation: Current head 0cdf74f differs from pull request most recent head 991f00e. Consider uploading reports for the commit 991f00e to get more accurate results

@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
- Coverage   93.60%   92.14%   -1.46%
==========================================
  Files          48       48
  Lines        2048     2088      +40
==========================================
+ Hits         1917     1924       +7
- Misses        131      164      +33

Impacted Files
Coverage Δ

src/hearth/text/tokenizers.py
33.82% <19.51%> (-23.32%)
: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 5bab0c7...991f00e. Read the comment docs.


plugin azurefile: plugin not found

Hi there,
I'm running into trouble creating docker volumes for azure container service on docker swarm (using the https://github.com/Azure/azure-quickstart-templates/tree/master/101-acs-swarm - Template).
After finishing the installation on the swarm-master (Ubuntu 14.04 LTS) I run
initctl reload-configuration
initctl start azurefile-dockervolumedriver
initctl status azurefile-dockervolumedriver

with the last Statement saying
azurefile-dockervolumedriver start/running, process 1012

which sounds quite okay.
But when I try to create an actual volume, it doesn't work anyways:
docker volume create -d azurefile -o share=myshare --name=myvol
Error response from daemon: create myvol: create myvol: Error looking up volume plugin azurefile: plugin not found

Obviously someting's missing, but I didn't get the point right now.

Restarting the docker daemon on the (only) swarm master using
initctl restart docker

wiped the error above but now it complains
docker volume create -d azurefile -o share=myshare --name=myvol
Error response from daemon: No elected primary cluster manager

@M3ssman your first comment looks like an ordering issue. I guess we need to restart docker (if it is running) after we install the plugin.
For your second comment, No elected primary cluster manager looks like a swarm-related issue. I'm not familiar with that area yet, but as far as I know, you should be installing this volume plugin on every node you are going to use this volume plugin.
cc: since it's acs-related @anhowe may have better expertise here.

If you want to test this plugin on your master as a single node just unset the DOCKER_HOST environment variable.
dafalkne@swarm-master-B9ACB66F-0:~$ unset DOCKER_HOST
dafalkne@swarm-master-B9ACB66F-0:~$ docker volume create -d azurefile -o share=testshare  --name=myvol
myvol
dafalkne@swarm-master-B9ACB66F-0:~$ docker volume ls
DRIVER              VOLUME NAME
azurefile           myvol
If you want to test it on ACS you have to install the driver on every node + master in the swarm cluster.
But please keep in mind as ACS doesn't know about the changes you made, you are responsible the driver is installed on every machine.

@ahmetalpbalkan restarting docker afterwards sounds quite logical.
@derdanu I'll give it a try - thanks in advance! On the other hand, that's an important issue when thinking in terms of autoscaling clusters, if possible with ACS + Docker Swarm.

@derdanu I was able to validate this on a docker as single node like you said - worked like a charm. The data was shared between 2 different containers running on the master and even in the Microsoft Azure-portal Website in the Storage I picked from my Ressource Group!
Thanks!
The second approach yet isn't tested properly. Did I get it right - the driver must be installed on every machine, not inside the Containers? So in a scenario where I run 1 master and 1 agent, I must head to the master and the agent and install the dockervolumedriver also there? I'm not expected to step inside the Container and repeat the installation in every container, right?
But if it's so complicated, it might be an option to use some technique like Samba-Share and mount a special Folder in every Container running on a Node.

Install the dockervolumedriver on all machines (master and nodes).  You don't have to install it inside any container.

Just a note:
The way suggested above to install the driver on every node works well.
Unfortunatly, Azure Linux VMs don't support this functionality from scratch, so by now it needs some configuration effort to get this up and running.

Any news on this? Does this plugin exist in the managed plugin format so it can be installed throughout all nodes?


Update manage-product-submissions.md

Removing items that have been flagged as security issue.

Thanks Cymon!


Multi AI Agent Support

Hey guys, great job with embedJS. IMO it's the easiest way of adding LLM into a nodejs project right now, you guys are doing a great job!
I don't know if you guys have seen it, but one of the latest things AI community is talking is about Multi AI Agents. I think this would take embedJS to another level, since there aren't many nodejs libraries that does that
https://www.youtube.com/watch?v=sal78ACtGTc here's a talk about Multi AI Agents
I've found one NodeJS library that supports it: https://github.com/metaskills/experts

Thank you for your kind words. We are working to make it even more easier to use this linrary with the upcomming PR - https://github.com/llm-tools/embedJs/pull/66, which adds support for inferring the data being added dynamically. It can auto import entire directories with a single line.
I am certainly keeping an eye on Multi AI agents. The current idea is to add support for this as a separate package; one that is fully compatible with this library. Timeline, will keep this updated. All I can say for now is, this will be something we will for sure explore in the upcoming months.


Pdpyras 5.0 misses deprecation install-requirement

The Pdpyras 5.0.0 released an hour ago misses deprecation module in install_requires.
The deprecation module is imported here:
https://github.com/PagerDuty/pdpyras/blob/main/pdpyras.py#L17
This has been detected by Airflow's canary builds (pdpyras is used by pagerduty provider of Airflow).

Whoa. That was quick! Thanks!

Thank you @potiuk  for bringing this so promptly to our attention! v5.0.1 has just been released. Sorry for the inconvenience!

Fantastic! Yep. We noticed yanking - this way we won't have to even exclude 5.0.0 :)


"Happy Tuesday" message do not appear on chat window.

Hi,
"Happy Tuesday" message do not appear on chat window.
I restarted Amethyst and same problem. Looks like the problem only happens on Nostr channel.
https://user-images.githubusercontent.com/1178856/214296995-2323b27c-aef9-4637-ad80-a48de4dcbf7a.mp4

Hum... that's probably a reaction, not a message... interesting.


Add support for target_feature cfgs

This PR adds support for target-feature cfgs, by allowing users to specify the target features manually. As the gotchas page notes this is potentially unsafe, so I'm very open to suggestions on more automated / safer ways to do this.
My use case is a project that depends on the sha crate, which runs fine when I supply [ "sha" "sse2" ] as targetFeatures.
This fixes #136.

Thank you! I have been using this in one of my projects where I hit the same issue as #136 and it works like a charm!

merged


MDI child integration with parent

I noticed that MDI child form does not merge with its parent like it normally happens for regular Windows Forms. In older projects using Krypton version 2, this doesn't happen.
Am I missing something, a flag or so?

i still got this issue and no solution found in google.

Last time I checked I still had this issue, a couple of months ago.


x64: Port func_addr and symbol_value to ISLE

Move the func_addr lowering for x64 into ISLE, and add a compile test for it. Additionally, change the name argument for LoadExtAddr from a Box<ExternalName> to ExternalName, as it greatly simplifies the interface with ISLE, and there didn't appear to be a downside.

Additionally, change the name argument for LoadExtAddr from a Box to ExternalName, as it greatly simplifies the interface with ISLE, and there didn't appear to be a downside.

Can you check the size of the resulting Inst enum? That's likely the reason we did the boxing; larger insts have measurable and pretty significant compile-performance implications (higher cache footprint, more memory traffic).

Additionally, change the name argument for LoadExtAddr from a Box to ExternalName, as it greatly simplifies the interface with ISLE, and there didn't appear to be a downside.

Can you check the size of the resulting Inst enum? That's likely the reason we did the boxing; larger insts have measurable and pretty significant compile-performance implications (higher cache footprint, more memory traffic).

That change didn't affect the size of the x64 Inst, however as it was already 72 bytes I went ahead and switched back to BoxExternalName to not add extra work for whoever decides to start optimizing for size.

Apologies for the CI breakage, but things should be fixed with a rebase.


Fix clang-tidy warnings

Fixed some clang-tidy warnings.

Good job! Could you append modernize-return-braced-init-list to WarningsAsErrors in .clang-tidy?

@PragmaTwice Update .clang-tidy and merged unstable in my branch.


Widevine support for Tidal

Basic information

Your Linux distribution and its version: Ubuntu 19.04

Your desktop environment: GNOME 3

Nuvola Runtime version: 4.16.4

The web app you use and its version: Tidal 1.0.0

Describe the bug
Tidal does not recognize Widevine support, cannot play in HiFi.
Steps to reproduce the behavior

Open Tidal Streaming Quality
See HiFi is disabled and says "Requires browser with Widevine support"

Expected behavior
Able to change streaming quality to HiFi
Screenshots

Additional context
This works correctly in Google Chrome installed on the OS, just not inside Nuvola.

Hello @spence10101. Thanks for reporting the issue. I haven't noticed that Tidal switched to Widevine for HiFi playback.

Fix committed to the source code repository and will be released with the next rebuild of Flatpak packages.

Published as Nuvola 4.16.10 & Tidal script 1.0.3. Could anyone verify that the issue is fixed?

Confirmed fixed - it works after update. Thanks!


Support for Bitcoin Descriptors

There has been a rise in the adoption of Bitcoin descriptors across wallets. Bitcoin descriptors enable wallet interoperability amongst wallets that support scripts like multisig and miniscript. I'd love to see this package support descriptors in a minimalistic way. Some functionalities that will be useful include:

Importing a descriptor and parsing it
Generating addresses from descriptors
Ability to sign transactions using descriptors

Thank you for considering this feature!

Seems reasonable. But it is very complex:

there is even additional checksum
not sure how well miniscript will work, it basically creates new script for which we need to craft logic for finalizing somehow
there is a lot of hdkey stuff inside (and we don't even support hdkey for taproot yet)
we can probably have something very basic (without miniscript), like mapping descriptors into payments

Example of complex descriptor
    Check("tr(a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd,{and_v(and_v(v:hash256(ae253ca2a54debcac7ecf414f6734f48c56421a08bb59182ff9f39a6fffdb588),v:pk(KykUPmR5967F4URzMUeCv9kNMU9CNRWycrPmx3ZvfkWoQLabbimL)),older(42)),multi_a(2,adf586a32ad4b0674a86022b000348b681b4c97a811f67eefe4a6e066e55080c,KztMyyi1pXUtuZfJSB7JzVdmJMAz7wfGVFoSRUR5CVZxXxULXuGR)})", "tr(a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd,{and_v(and_v(v:hash256(ae253ca2a54debcac7ecf414f6734f48c56421a08bb59182ff9f39a6fffdb588),v:pk(1c9bc926084382e76da33b5a52d17b1fa153c072aae5fb5228ecc2ccf89d79d5)),older(42)),multi_a(2,adf586a32ad4b0674a86022b000348b681b4c97a811f67eefe4a6e066e55080c,14fa4ad085cdee1e2fc73d491b36a96c192382b1d9a21108eb3533f630364f9f)})", "tr(a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd,{and_v(and_v(v:hash256(ae253ca2a54debcac7ecf414f6734f48c56421a08bb59182ff9f39a6fffdb588),v:pk(1c9bc926084382e76da33b5a52d17b1fa153c072aae5fb5228ecc2ccf89d79d5)),older(42)),multi_a(2,adf586a32ad4b0674a86022b000348b681b4c97a811f67eefe4a6e066e55080c,14fa4ad085cdee1e2fc73d491b36a96c192382b1d9a21108eb3533f630364f9f)})", MISSING_PRIVKEYS | XONLY_KEYS | SIGNABLE, {{"51209a3d79db56fbe3ba4d905d827b62e1ed31cd6df1198b8c759d589c0f4efc27bd"}}, OutputType::BECH32M, /*op_desc_id=*/{}, {{}}, /*spender_nlocktime=*/0, /*spender_nsequence=*/42, /*preimages=*/{{ParseHex("ae253ca2a54debcac7ecf414f6734f48c56421a08bb59182ff9f39a6fffdb588"), ParseHex("000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f")}});


Improve formatting of present date.

Was described as YYYY-MM-DD, but was able to show single digits for month and date. Thought initially to naively introduce padding with 0s; however, can instead just get the full ISO 8601 datetime from .toISOString() (which is always in UTC by definition) and split off and return the date part.
As in, was seeing 2024-9-7:

But if I'm understanding how the docs are built, with the change from this  PR, should now display the full 2024-09-07.

seems to work! thanks, didnt catch that difference :)


Incorrect work strings.Replace() when input string has a special formatting symbols like \t

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go1.10
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
windows/amd64
What did you do?
package main
import (
"fmt"
"strings"
)
func main() {
input := "C:\temp" // \t is a special formatting symbol
fmt.Printf("Input: %q\n", input)

//replace : to X - success
output := strings.Replace(input, ":", "x", -1)
fmt.Printf("Replace ':' to 'x': %q\n", output)

//replace emp to X - success
output = strings.Replace(input, "emp", "x", -1)
fmt.Printf("Replace 'emp' to 'x': %q\n", output)

//replace temp to X - fail
output = strings.Replace(input, "temp", "X", -1)
//next failed because in the input we have a special symbol \t
fmt.Printf("Replace 'temp' to 'x' (FAILED): %q\n", output)

}
What did you expect to see?
After strings.Replace("c:\temp, "\\", "/", -1) I expect to get:
c:/temp
What did you see instead?
c:\temp

This is working as intended, and caused by a misunderstanding of how string literals and escape sequences work.
Unlike many projects on GitHub, the Go project does not use its bug tracker for general discussion or asking questions. We only use our bug tracker for tracking bugs and tracking proposals going through the Proposal Process.
Please see https://golang.org/wiki/Questions for good places to ask questions.

There isn't auto-redirecting to go-wiki for no-bug-questions ?


split circle ci workflow

Purpose
Splits the workflow into pr_build and path_to_live with their relevant jobs
Fixes UML-576
Approach
Duplicated existing path to live workflow renamed 'pr_build', and removed jobs that were not relevant to the pr build (master only filter). Repeated the opposite for the path to live workflow, removing irrelevant jobs containing ignore master filter
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage remained the same at 77.233% when pulling ec513fa5bc8a21432df3d5ebfaaa124d1e273179 on UML-576-Split-workflow into f3fe395286c0ce32fa56e3ec10c23668aa941cec on master.

Looking good


add a new command that prints the output of fortune

Add a new command to the bot that prints out the output of the fortune command.
Note that all features added this way to the repo need the following:

The Pull Request should be made to the dev branch
The PR should add tests for the relevant feature.
The tests should use the pytest module.
The tests should also contain function-level docstrings explaining what they do and what if they fail.

The test needs to be independent of the discord API.
That is, if you want to add a feature that prints "hello world", then the objective should not be to test the discord API directly, but that you should "offsource" your actual functionality to another Python function and then test that function. This way, the functions are independent of discord.

"docker build ." is giving me this error "COPY failed: stat /var/lib/docker/tmp/docker-builder933149096/id_rsa: no such file or directory"

You don't need to build the docker file for this. However, this error is
because this repo expects you to provide an ssh key for pushing the code to
GitHub. It tries to copy the ssh key into the docker file. And whenever you
clone a repo, even your forks, make sure you use ssh links, and not https.
You'll need to Google how to setup GitHub to work with ssh, how to make an
ssh key etc.
On Sun, Apr 11, 2021, 14:43 Sreeram @.***> wrote:

"docker build ." is giving me this error "COPY failed: stat
/var/lib/docker/tmp/docker-builder933149096/id_rsa: no such file or
directory"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stonecharioteer/sarathi/issues/1#issuecomment-817275609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXSLC3IKHYPNNCRE3N2K4LTIFR3XANCNFSM42WPWOSQ
.

Why should i have to install this thorugh conda. and why am i getting error
Error Message:
"await self.http.static_login(token.strip(), bot=bot)
AttributeError: 'NoneType' object has no attribute 'strip'"
if i just run sarathi.py and i didnt install it thorugh conda
Is the error due to me not installing sarathi through conda

while using /fortune should there be /fortune -a or /fortune -c like that commands also?

in dev branch there is an error when running sarathi.py
ImportError: cannot import name 'til' from partially initialized module 'sarathi' (most likely due to a circular import) (/home/filius_fall/sarathi-dev/sarathi/sarathi.py)


clean up warnings

as of https://github.com/snowleopard/hadrian/commit/9a46249e974c99a2015d7bba514b252c31ff8575
src/CommandLine.hs:14:1: warning: [-Wunused-imports]
    The qualified import of ‘UserSettings’ is redundant
      except perhaps to import instances from ‘UserSettings’
    To import instances alone, use: import UserSettings()
   |
14 | import qualified UserSettings
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[37 of 86] Compiling Settings.Flavours.Quickest ( src/Settings/Flavours/Quickest.hs, dist/build/hadrian/hadrian-tmp/Settings/Flavours/Quickest.o )
[38 of 86] Compiling Settings.Flavours.QuickCross ( src/Settings/Flavours/QuickCross.hs, dist/build/hadrian/hadrian-tmp/Settings/Flavours/QuickCross.o ) [Expression changed]
[39 of 86] Compiling Settings.Flavours.Quick ( src/Settings/Flavours/Quick.hs, dist/build/hadrian/hadrian-tmp/Settings/Flavours/Quick.o ) [Expression changed]
[40 of 86] Compiling Settings.Flavours.Profiled ( src/Settings/Flavours/Profiled.hs, dist/build/hadrian/hadrian-tmp/Settings/Flavours/Profiled.o ) [Expression changed]
[41 of 86] Compiling Settings.Flavours.Performance ( src/Settings/Flavours/Performance.hs, dist/build/hadrian/hadrian-tmp/Settings/Flavours/Performance.o ) [Expression changed]
[42 of 86] Compiling Settings.Flavours.Development ( src/Settings/Flavours/Development.hs, dist/build/hadrian/hadrian-tmp/Settings/Flavours/Development.o ) [Expression changed]
[43 of 86] Compiling Settings         ( src/Settings.hs, dist/build/hadrian/hadrian-tmp/Settings.o )
[44 of 86] Compiling Settings.Warnings ( src/Settings/Warnings.hs, dist/build/hadrian/hadrian-tmp/Settings/Warnings.o )
[45 of 86] Compiling Settings.Packages.Rts ( src/Settings/Packages/Rts.hs, dist/build/hadrian/hadrian-tmp/Settings/Packages/Rts.o )
[46 of 86] Compiling Settings.Builders.Common ( src/Settings/Builders/Common.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Common.o )

src/Settings/Builders/Common.hs:66:3: warning: [-Wunused-matches]
    Defined but not used: ‘top’
   |
66 |   top <- expr topDirectory
   |   ^^^
[47 of 86] Compiling Settings.Builders.Xelatex ( src/Settings/Builders/Xelatex.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Xelatex.o ) [Builder changed]
[48 of 86] Compiling Settings.Builders.Ld ( src/Settings/Builders/Ld.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Ld.o ) [Builder changed]
[49 of 86] Compiling Settings.Builders.HsCpp ( src/Settings/Builders/HsCpp.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/HsCpp.o )
[50 of 86] Compiling Settings.Builders.Happy ( src/Settings/Builders/Happy.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Happy.o ) [Builder changed]
[51 of 86] Compiling Settings.Builders.GhcPkg ( src/Settings/Builders/GhcPkg.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/GhcPkg.o )
[52 of 86] Compiling Settings.Builders.GenPrimopCode ( src/Settings/Builders/GenPrimopCode.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/GenPrimopCode.o ) [Builder changed]
[53 of 86] Compiling Settings.Builders.Cc ( src/Settings/Builders/Cc.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Cc.o )
[54 of 86] Compiling Settings.Builders.Alex ( src/Settings/Builders/Alex.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Alex.o ) [Builder changed]
[55 of 86] Compiling GHC              ( src/GHC.hs, dist/build/hadrian/hadrian-tmp/GHC.o )

src/GHC.hs:162:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘stripCmdPath’
    |
162 | stripCmdPath = do
    | ^^^^^^^^^^^^
[56 of 86] Compiling Settings.Builders.Ghc ( src/Settings/Builders/Ghc.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Ghc.o )
[57 of 86] Compiling Builder          ( src/Builder.hs, dist/build/hadrian/hadrian-tmp/Builder.o )
[58 of 86] Compiling Target           ( src/Target.hs, dist/build/hadrian/hadrian-tmp/Target.o ) [Builder changed]
[59 of 86] Compiling Utilities        ( src/Utilities.hs, dist/build/hadrian/hadrian-tmp/Utilities.o )
[60 of 86] Compiling Rules.Test       ( src/Rules/Test.hs, dist/build/hadrian/hadrian-tmp/Rules/Test.o )
[61 of 86] Compiling Settings.Builders.RunTest ( src/Settings/Builders/RunTest.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/RunTest.o )
[62 of 86] Compiling Rules.Libffi     ( src/Rules/Libffi.hs, dist/build/hadrian/hadrian-tmp/Rules/Libffi.o )
[63 of 86] Compiling Rules.Gmp        ( src/Rules/Gmp.hs, dist/build/hadrian/hadrian-tmp/Rules/Gmp.o )
[64 of 86] Compiling Settings.Packages ( src/Settings/Packages.hs, dist/build/hadrian/hadrian-tmp/Settings/Packages.o )
[65 of 86] Compiling Settings.Builders.Make ( src/Settings/Builders/Make.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Make.o ) [Builder changed]
[66 of 86] Compiling Settings.Builders.Configure ( src/Settings/Builders/Configure.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Configure.o ) [Builder changed]
[67 of 86] Compiling Settings.Builders.Hsc2Hs ( src/Settings/Builders/Hsc2Hs.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Hsc2Hs.o )
[68 of 86] Compiling Settings.Builders.GhcCabal ( src/Settings/Builders/GhcCabal.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/GhcCabal.o )

src/Settings/Builders/GhcCabal.hs:159:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘stagedBuilderPath’
    |
159 | stagedBuilderPath sb = builderPath . sb =<< getStage
    | ^^^^^^^^^^^^^^^^^
[69 of 86] Compiling Settings.Builders.DeriveConstants ( src/Settings/Builders/DeriveConstants.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/DeriveConstants.o )
[70 of 86] Compiling Rules.SourceDist ( src/Rules/SourceDist.hs, dist/build/hadrian/hadrian-tmp/Rules/SourceDist.o )

src/Rules/SourceDist.hs:8:1: warning: [-Wunused-imports]
    The import of ‘Rules.Clean’ is redundant
      except perhaps to import instances from ‘Rules.Clean’
    To import instances alone, use: import Rules.Clean()
  |
8 | import Rules.Clean
  | ^^^^^^^^^^^^^^^^^^
[71 of 86] Compiling Rules.Configure  ( src/Rules/Configure.hs, dist/build/hadrian/hadrian-tmp/Rules/Configure.o )
[72 of 86] Compiling Oracles.ModuleFiles ( src/Oracles/ModuleFiles.hs, dist/build/hadrian/hadrian-tmp/Oracles/ModuleFiles.o )
[73 of 86] Compiling Rules.Selftest   ( src/Rules/Selftest.hs, dist/build/hadrian/hadrian-tmp/Rules/Selftest.o ) [Base changed]
[74 of 86] Compiling Rules.Program    ( src/Rules/Program.hs, dist/build/hadrian/hadrian-tmp/Rules/Program.o )
[75 of 86] Compiling Rules.Generate   ( src/Rules/Generate.hs, dist/build/hadrian/hadrian-tmp/Rules/Generate.o )
[76 of 86] Compiling Rules.Compile    ( src/Rules/Compile.hs, dist/build/hadrian/hadrian-tmp/Rules/Compile.o )
[77 of 86] Compiling Rules.Documentation ( src/Rules/Documentation.hs, dist/build/hadrian/hadrian-tmp/Rules/Documentation.o )
[78 of 86] Compiling Settings.Builders.Haddock ( src/Settings/Builders/Haddock.hs, dist/build/hadrian/hadrian-tmp/Settings/Builders/Haddock.o )
[79 of 86] Compiling Settings.Default ( src/Settings/Default.hs, dist/build/hadrian/hadrian-tmp/Settings/Default.o )

src/Settings/Default.hs:34:1: warning: [-Wunused-imports]
    The import of ‘GHC.Packages’ is redundant
      except perhaps to import instances from ‘GHC.Packages’
    To import instances alone, use: import GHC.Packages()
   |
34 | import GHC.Packages
   | ^^^^^^^^^^^^^^^^^^^
[80 of 86] Compiling Rules.Dependencies ( src/Rules/Dependencies.hs, dist/build/hadrian/hadrian-tmp/Rules/Dependencies.o )
[81 of 86] Compiling Hadrian.Haskell.Cabal.Parse ( src/Hadrian/Haskell/Cabal/Parse.hs, dist/build/hadrian/hadrian-tmp/Hadrian/Haskell/Cabal/Parse.o )

src/Hadrian/Haskell/Cabal/Parse.hs:39:1: warning: [-Wunused-imports]
    The qualified import of ‘Distribution.Types.CondTree’ is redundant
      except perhaps to import instances from ‘Distribution.Types.CondTree’
    To import instances alone, use: import Distribution.Types.CondTree()
   |
39 | import qualified Distribution.Types.CondTree            as C
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Hadrian/Haskell/Cabal/Parse.hs:105:26: warning: [-Wdeprecations]
    In the use of ‘finalizePackageDescription’
    (imported from Distribution.PackageDescription.Configuration):
    Deprecated: "This function now always assumes tests and benchmarks are disabled; use finalizePD with ComponentRequestedSpec to specify something more specific. This symbol will be removed in Cabal-3.0 (est. Oct 2018)."
    |
105 |     let (Right (pd,_)) = C.finalizePackageDescription flags (const True) platform (C.compilerInfo compiler) [] gpd
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Hadrian/Haskell/Cabal/Parse.hs:224:19: warning: [-Wdeprecations]
    In the use of ‘externalPackageDeps’
    (imported from Distribution.Types.LocalBuildInfo):
    Deprecated: "You almost certainly don't want this function, which agglomerates the dependencies of ALL enabled components.  If you're using this to write out information on your dependencies, read off the dependencies directly from the actual component in question.  To be removed in Cabal 3.0"
    |
224 |     let extDeps = C.externalPackageDeps lbi'
    |                   ^^^^^^^^^^^^^^^^^^^^^

Thanks, I think I've already done this in a local branch. Will push it later today.

This should now be fixed (#547).


shorter amazon S3 url

@younes0 Thanks again! I had to change this up a little. When a s3 bucket has periods in, the 'https://' . $storageDetails['bucket'] . '.s3.amazonaws.com' url format would break due to https issues so I added a simple check to see if the bucket contains periods.

@ssddanbrown nice catch, I'm surprised that a bucket name can contain dots


Can't open a port that is in use by another program on Windows 10

On Windows, when I try to open an input port for a MIDI keyboard that is already being used by another program (specifically Fluidsynth), I get the following:
  File "c:\Program Files\FluidPatcher\fluidpatcher.pyw", line 63, in __init__
    self.port = mido.open_input(portname)
  File "C:\Users\BillyP\AppData\Local\Programs\Python\Python39\lib\site-packages\mido\backends\backend.py", line 91, in open_input
    return self.module.Input(name, **self._add_api(kwargs))
  File "C:\Users\BillyP\AppData\Local\Programs\Python\Python39\lib\site-packages\mido\ports.py", line 161, in __init__
    BasePort.__init__(self, name, **kwargs)
  File "C:\Users\BillyP\AppData\Local\Programs\Python\Python39\lib\site-packages\mido\ports.py", line 86, in __init__
    self._open(**kwargs)
  File "C:\Users\BillyP\AppData\Local\Programs\Python\Python39\lib\site-packages\mido\backends\rtmidi.py", line 124, in _open
    self.name = _open_port(self._rt, self.name, client_name=client_name,
  File "C:\Users\BillyP\AppData\Local\Programs\Python\Python39\lib\site-packages\mido\backends\rtmidi.py", line 96, in _open_port
    rt.open_port(port_id)
  File "src/_rtmidi.pyx", line 586, in rtmidi._rtmidi.MidiBase.open_port
  File "src/_rtmidi.pyx", line 220, in rtmidi._rtmidi._cb_error_func
  File "src/_rtmidi.pyx", line 408, in rtmidi._rtmidi._default_error_handler
rtmidi._rtmidi.SystemError: MidiInWinMM::openPort: error creating Windows MM MIDI input port.

However, on Linux it works fine. Any idea if this is just a Windows limitation?

Never mind! I see it is a Windows issue - https://github.com/thestk/rtmidi/issues/102#issuecomment-287558567.


Upload assets s3

in the schema file you will need to replace part of the src_repo like here https://github.com/newrelic/infrastructure-agent/blob/master/build/upload-schema-linux-deb.yml#L9


Add service account IAM members

/gcbrun

/gcbrun

@xingao267 please take another look since there are some minor logical changes.
project is a required attribute for the service account module and some other resources.

@pasha-gh i guess you haven't push your new commit

/gcbrun

/gcbrun

/gcbrun

/gcbrun

@xingao267 good to merge?

Yes. Thanks!


docs: governance and upgrades

lives in "run a node" section
ideally upgrades and governance are not two distinct pages. Currently governance just does upgrades so this shoul be possible. Should explode into our L1 contracts, registry, token,...how it works (high level 1 para). what should participatn X do, where X = user, app developer, portal (incl fpc), infra, node operator

Lot's of relevant info here: https://www.notion.so/aztecnetwork/Request-for-Comments-Governance-in-Aztec-WIP-136a1f6b0e3580a79790f6366a4e0ba7


Spanish translation update

Hi, here is a new update of the Spanish translation.
Best regards.

Thanks for your contribution!

You are welcome.
Best regards :+1:


[BEAM-3990] Revert "[BEAM-2264] Credentials were not being reused between GCS calls"

This reverts commit 4045e3285d939e3e8169f278d47bc7fdc86bcbdf.
DESCRIPTION HERE

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @charlesccychen

LGTM. For context, the previous change seemed to have some race condition, likely involving httplib2, in a job when run at scale.

Thanks. There's more context in BEAM-3990.


PID returns UID for a ps -lx on my Mac Sierra

I am using node-ps. It returns the UID in PID.
This is a sample of an output on my ps lx( I was careful to use the same spacing):
  UID   PID  PPID CPU PRI NI      VSZ    RSS WCHAN  STAT   TT       TIME COMMAND
110274890   593     1   0   4  0  2526928  14752 -      S      ??    0:01.73 /usr/sbin/cfprefsd agent
110274890   601     1   0  37  0  2542396   6204 -      S      ??    0:01.06 /usr/libexec/UserEventAgent (Aqua)
110274890   612     1   0  37  0  2514516   2972 -      S      ??    0:00.80 /usr/sbin/distnoted agent
``

Sorry for spamming the feed with my commits.
Learned my lesson not to cite issues in commit messages. :P


Destination array was not long enough.

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Install latest version of powertools, let it run overnight, see message in morning that says
"Something went wrong" Please file a bug in the PowerToys GitHub repository.
✔ Expected Behavior
Never see "Something went wrong" message
❌ Actual Behavior
Got this text in a blocking box on my screen:
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
Date: 11/15/2022 11:02:29 PM
Exception:
System.ArgumentException: Destination array was not long enough. Check the destination index, length, and the array's lower bounds. (Parameter 'destinationArray')
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
at System.Collections.Generic.List`1.System.Collections.ICollection.CopyTo(Array array, Int32 arrayIndex)
at System.Collections.ArrayList.InsertRange(Int32 index, ICollection c)
at System.Windows.Data.ListCollectionView.b__1_0()
at MS.Internal.Data.SynchronizationInfo.AccessCollection(IEnumerable collection, Action accessMethod, Boolean writeAccess)
at System.Windows.Data.BindingOperations.AccessCollection(IEnumerable collection, Action accessMethod, Boolean writeAccess)
at System.Windows.Data.ListCollectionView.RefreshOverride()
at System.Windows.Data.CollectionView.RefreshInternal()
at System.Windows.Data.CollectionView.PostChange(NotifyCollectionChangedEventArgs args)
at PowerLauncher.ViewModel.MainViewModel.<>c__DisplayClass127_0.b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Other Software
2022-11-15.txt

/reportbug

Do you also remember your query at the time when this happened?

If it's like #21308, it seems to be hard to repro.

I have no idea if it's like the other issue.  It reproduces by itself by just waiting for the message to show up.
To be clear, I was not making a query or in fact doing anything with PowerToys per say.  PowerToys is running as admin in the background, and the message just pops up:
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
Date: 11/22/2022 4:40:44 PM
Exception:
System.ArgumentException: Destination array was not long enough. Check the destination index, length, and the array's lower bounds. (Parameter 'destinationArray')
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
at System.Collections.Generic.List`1.System.Collections.ICollection.CopyTo(Array array, Int32 arrayIndex)
at System.Collections.ArrayList.InsertRange(Int32 index, ICollection c)
at System.Windows.Data.ListCollectionView.b__1_0()
at MS.Internal.Data.SynchronizationInfo.AccessCollection(IEnumerable collection, Action accessMethod, Boolean writeAccess)
at System.Windows.Data.BindingOperations.AccessCollection(IEnumerable collection, Action accessMethod, Boolean writeAccess)
at System.Windows.Data.ListCollectionView.RefreshOverride()
at System.Windows.Data.CollectionView.RefreshInternal()
at System.Windows.Data.CollectionView.PostChange(NotifyCollectionChangedEventArgs args)
at PowerLauncher.ViewModel.MainViewModel.<>c__DisplayClass127_0.b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Same as #19707

/dup https://github.com/microsoft/PowerToys/issues/19707

Thanks for the followup!
Todd
From: msftbot[bot] @.>
Sent: Thursday, December 8, 2022 9:11 AM
To: microsoft/PowerToys @.>
Cc: Todd Wayne @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Destination array was not long enough. (Issue #22124)
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F22124%23issuecomment-1343035816&data=05|01|Todd.Wayne%40microsoft.com|f642a361db5d44f5d31108dad93f36de|72f988bf86f141af91ab2d7cd011db47|1|0|638061162785395044|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=YcQf08EuJpXJVUEzOQZIQdp8VYNzKAesudgTkkMwYmI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4HFZ2QL5HKYW4G5QWSZUNTWMIJDHANCNFSM6AAAAAASCOTIU4&data=05|01|Todd.Wayne%40microsoft.com|f642a361db5d44f5d31108dad93f36de|72f988bf86f141af91ab2d7cd011db47|1|0|638061162785395044|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hhgjrtoWCItS1fRgr2xaduS9VhxKiBrih0uDNaOvErc%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


EVM Alerts for APAC Infrastructure

Due to limitations in Amazon Web Services (AWS) offerings, it is not trivial to collect events from multiple AWS regions. Infrastructure alerts are flowing from the US region(s), but not APAC region(s).
There are better long-term solutions but, for now, it will be fastest and easiest to stand up parallel infrastructure in APAC alerting directly to IM. This ticket is to do that.
See Also
engineering issue 68 - EVM Monitoring and Alerting - Phase 1

eos-evm issue 602 - Funnel EVM Health Checks into CloudWatch
engineering issue 48 - Collaborate with Operations on Unified Dashboarding Solution
engineering issue 49 - Create Bot to Alert via IM on Specific Metrics
eos-evm issue 603 - SMS Alerting for EVM Infrastructure Health Checks
engineering issue 65 - Email Alerting for EVM Infrastructure Health Checks
telegram-bot issue 1 - Open-Source This Repo
engineering issue 57 - Create Telegram Service Account
engineering issue 58 - Create EVM Testnet Alert Channel Using Telegram Service Account
engineering issue 64 - Create EVM Mainnet Alert Channel Using Telegram Service Account
engineering issue 66 - Fix EVM CloudWatch Alerts
telegram-bot issue 2 - Human-Friendly Alerts
engineering issue 71 - EVM Alerts for APAC Infrastructure
telegram-bot issue 3 - Alert Bot Maintainer via Telegram on Errors

I found that AWS EventBridge supports cross-account and cross-region event handling as of Sprint 2021. I am already using EventBridge to deliver CloudWatch alarm events to my notification system in the US, so I am working on pointing EventBridge in APAC to the existing US infrastructure. This will prevent the need for duplicate code/infrastructure across regions.
Relevant AWS Documentation
Here are some helpful resources showing this is possible and explaining how to do it.

Introducing cross-Region event routing with Amazon EventBridge
Sending and receiving Amazon EventBridge events between AWS Regions
A step-by-step guide to cross-account and cross-region events with EventBridge

Done!
This was easy to implement and should be extremely reliable. I received an event from APAC on Telegram and via email for both the evm-mainnet and evm-testnet AWS account.


How to insert multi field input in multi rows in view

Here is my Html input which have same name input for all rows with different values

    {% csrf_token %}

<button type="submit">Save</button>

Here's my view after the form is submitted records must be added to multiple rows NOT IN ONE ROW
if request.method == 'POST':

    names = request.POST.getlist('name')
    for name in names:

        Test(
            name= name
        ).save()
        return HttpResponse('success')

I tried this method but it only saves one row.

Please use one of support channels.


Allow copy icon name instead of svg

Extension – Iconify

Author: @Destiner

Describe the feature and the current behavior/state.
Today Copy to clipboard feature copy full svg
I would like to copy icon name instead of svg
Who will benefit from this feature?
People who only need the icon name

Hey, thanks for feedback. Curious to learn a bit more about your workflow. Do you use the extension to preview icons, and then some library that renders the icon by specifying it’s name?

Yes I use vuetify. An UI library for material design, in it there is a component called v-icon where it is possible to render icon only with the name
https://vuetifyjs.com/en/components/icons/


Is there a way to map jj to Escape and Save

I'd like to replicate this map inoremap jj <ESC>:w<CR>

Currently not. But i think it would be possible to easily implement this. For all escaping keys though.
I imagine there should be vscode conf option like: additionalEscapeSequence, which in you case should be set to :w<CR>.
Then need to pass it here, before ${keys}:
https://github.com/asvetliakov/vscode-neovim/blob/20cba2206f1fd04db4eaccc716b1028f96411194/src/typing_manager.ts#L133

Currently not. But i think it would be possible to easily implement this. For all escaping keys though.
I imagine there should be vscode conf option like: additionalEscapeSequence, which in you case should be set to :w<CR>.
Then need to pass it here, before ${keys}:
https://github.com/asvetliakov/vscode-neovim/blob/20cba2206f1fd04db4eaccc716b1028f96411194/src/typing_manager.ts#L133

Why close @xiyaowong, is it possible now?

🫠


[chef] improvements to chef readme file

Problem
Chef file Readme needed updates
Change overview
Text-only updates to readme.md file in chef example app

Fast tracking documentation updates


Fixed issue with escaped strings

Assume my JSON would be:
{
    "string": "This is a string that has some \"quotes\" inside it!"
}

the lexer would consider the string ended on the first " before the q and then break with an unknown token.
This patch will check if the " is being proceeded by a \ and, if so, continue looking for the string's (real) end.

Thank you for fixing the issue, I will merge the commit, and I may change some of the code to make it look similar to the rest of the code style. Also I will add some tests to make sure that the issue is indeed fixed.

I added some tests, but unfortunately, the problem doesn't seem to be fixed... but I'm aware of the problem.


[KOGITO-8305] - [KSW-Guides] Deploying on OpenShift Clusters

JIRA:

Description:

Please make sure that your PR meets the following requirements:

[x] You have read the contributions doc
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] The nav.adoc file has a link to this guide in the proper category
[x] The index.adoc file has a card to this guide in the proper category, with a meaningful description

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

Thanks for the review @kaldesai, I've applied your suggestions.

@radtriste @MarianMacik @ricardozanini can you please take a look?

Thanks for the review @radtriste, please take a look again, I think I've addressed all your suggestions.

Thanks @MarianMacik, I've applied your suggestions.

Thanks @radtriste, applied.

@krisv do you want to take a look before merging?

I was looking if we really need to maintain separate guides, but with the reuse of shared components and quite a few differences on setup, it does seem easier for users to choose a guide that matches their setup, rather than one guide that tries to combine all options (but would be more complex), but tries to reuse as much as possible.

Yes @krisv, I tried to reuse as much as I could, but, there is always room for a improvement, at the end @MarianMacik suggested another piece to reuse, there is probably more, we can do it progressively as we spot it over time.


wireguard doesn't populate allowed ips for endpoints after the first

Wireguard works fine with one endpoint configured for the server. Any endpoint after the first will not populate the "allowed ips" field.
I can disable any two of these endpoints in the server config and the remaining endpoint will populate the allowed ips field and the tunnel will operate.

You should set a fixed IP with subnet, not a whole network with ending 0

I haven't configured that .0/27 anywhere. my three endpoints are .2/27 .3/27 .4/27 and the server is .1/27

You configure the endpoints on server and link them in local or not? Isnt there a field for Tunnel address in every endpoint dialog?

Yeah the endpoints are linked in the local server.
I'm not sure what you're asking in the 2nd question. There's allowed IPs and endpoint address. I'm configuring this tunnel the way I've configured it in Linux, which has always worked.

To clarify: it seems like a problem in the gui configuration.
the allowed IPs i've configured in each endpoint are not showing in the allowed IPs of the output in 'list configuration'.
the endpoint that shows .0/27 as the allowed ips is actually configured as .2/27

Hm, this is strange. It also doesn't work when using WG without the GUI/plugin.
I need to do some more testing and maybe check with the Wireguard devs.

Solved it, on wireguard server, as tunnel address in enpoints use /32

apologies for my mistake, I think the help text threw me off

Nö worries, I already updated the docs as they are not clear enough, will also go througj the helptext again https://github.com/opnsense/docs/blob/master/source/manual/how-tos/wireguard-client.rst

Solved it, on wireguard server, as tunnel address in enpoints use /32

omg. Finally solved. Thank you so much.


Wildcard docs need to be updated.

With the Sprint 192 release it looks like the docs on wildcards could use an update.

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

ID: 8b846aea-82f7-a988-67d8-1b5e74b61ed2
Version Independent ID: 2d632729-bb33-c0a0-c996-e1d8e86c2e23
Content: Build Azure Repos Git repositories - Azure Pipelines
Content Source: docs/pipelines/repos/azure-repos-git.md
Product: devops
Technology: devops-cicd-repos
GitHub Login: @steved0x
Microsoft Alias: sdanie

Wildcards come up in several of the issues for this article. This page provides a summary:
MicrosoftDocs/azure-devops-docs/issues/10212
I don't want to mark this one as duplicate, because all the issues are slightly different. One fix might apply to all of them, though.


Add 409 return status code to Config API resources (#465)

What did you implement:
Modified response status codes from 400 to 409 for POST requests for event types, functions, subscriptions and CORS configs resources. Updated unit tests and API docs accordingly.

How did you implement it:

How can we verify it:

Todos:
I'm not sure if a test for createSubscription in httpapi.go should be added in scope of the task

[x] Write tests
[ ] Write documentation
[ ] Fix linting errors
[ ] Make sure code coverage hasn't dropped
[ ] Provide verification commands / resources
[ ] Enable "Allow edits from maintainers" for this PR
[ ] Update the messages below

Is this ready for review?: NO
Is it a breaking change?: NO

@baniol any idea why TravisCI is not running?

I have no idea why Travis is not running for this branch.

@baniol can you login to travisci.org and check if there is no need to accept some ToS or something?

I don't see anything like that in my account, unfortunately.
I checked https://travis-ci.org/serverless/event-gateway/requests, and I can see my PR failing with "Build type disabled via repository settings (pull_request)". Could this be related?

@baniol oh, I see. I fixed that.

@baniol looks great. I will merge it in upcoming days.


Getting only the selected GraphQL fields to DB query

Hi,
We have been using this library successfully by getting all the fields from our database and then the service gets the fields that were requested. Now we are researching the possibility to filter out those fields from the database query also.
Any ideas on how we could get the fields from the request to the DB query? The DB queries are currently handled in our query resolvers.
Thanks!

This should make it transparent to your callers. It'll defer the DB query until all of the field accessors have been called, and defer the actual results from those fields until after the DB query has been issued:

Override beginSelectionSet and endSelectionSet.
In beginSelectionSet, start recording calls to the field accessors on your object, building the set of columns you're going to request from the DB either in your object using mutable/const_cast, or by putting it in the optional RequestState.
Each field accessor should return a std::future from a std::promise, which you record along with the column in the pending DB query.
Once you get the endSelectionSet call, issue the DB query and fulfill the pending std::promise for each field that was requested since beginSelectionSet with the results.

That's the theory behind Object::beginSelectionSet and Object::endSelectionSet. I've never actually implemented that pattern myself, so if it works for you, I'd love to hear about it.

Interesting. I was wondering if those function could be of use.
Now if I understood correctly we should record the field accessors on the objects we are returning with the query.
But how those field accessors are accessed if no objects are there yet?
Just to give some idea, our code is currently going in this order:

object::Query::resolveGetItems()

Query::getItems() - this does the DB query and returns ItemObjects

ItemObject::resolve()

Item::resolveName()

Item::getName() - here's the column name

Yeah, nested objects can't really be batched this way, you'd need at least 2 DB queries, unless you already know at least how many items there are. If you are using paged queries, you might be able to use the page size for the count. I'm not sure this will work, but to batch queries across an object hierarchy, I'd try:

Get the set of itemIds (or at least the item count) and create empty ItemObject placeholders in the Query::getItems() call.
Return the placeholder objects from Query::getItems, it should start evaluating the selection set on each item.
Start accumulating the set of fields you need for each ItemObject (should be the same for all of them, but maybe not if you are using interfaces or unions with different fragment spreads) using the beginSelectionSet/endSelectionSet per Item. Each Item should store its set of fields and pending promises in Query with an identifier or index so when Query gets the results back, it can fill them in.
Wait for Query::endSelectionSet to issue the DB request. Fill in all the fields that were requested, with whatever WHERE clause/filter determined the set of items. When you get the results, fill in the pending ItemObject instances with individual results and make each of them fulfill their pending promises.

It's possible Query::endSelectionSet will be blocked waiting for the future on each item, which would be blocked on the futures of each field in the items, so this might hit a deadlock. If that happens, and you keep track of how many items have been visited, you could wait until the last Item::endSelectionSet call and issue the DB query from there. I don't think it will block on any of the item futures until all of the items in the list have been visited and produced their futures, calling Item::endSelectionSet on each of them.
I think this approach only works for a single nested level of objects. Beyond that, I think you probably need to start including a custom @directive or argument on the items field to tell it which fields you're going to need. I used an approach kind of like this to handle tabular data in https://github.com/microsoft/gqlmapi, which has extensible custom properties that can't be declared in the schema.

I've been testing this placeholder method, but it seems I am doing something wrong.
The Query::endSelectionSet is called before the ItemObject resolving so I tried issuing the DB query in the last Item::endSelectionSet, but the code gets stuck waiting for the futures of the first object.
Specifically in the ModifiedResult<Object>::convert function where it gets the wrappedResult.
Currently I'm storing the promises in the Item and the field accessors return get_future from the according promise. Values are set after the DB query.
But yeah, we could also try the directives approach too. There is also the possibility to use the query AST, but I'm not sure how good idea that is.
Also nice to see this library used in other projects 👍


Improve menu links performance

All menu links are prefetched when menu is opened. This impacts performance considerably. We should disable prefetching for menu links in order to provide better user experience.

Are we using latest link component? We don't see this issue in Data Marketplace as far as I know. Or is it actually a bug in the new Next version?

Are we using latest link component? We don't see this issue in Data Marketplace as far as I know. Or is it actually a bug in the new Next version?

We are using next 12 link


Entry.connections is always equals to minimumAmount

This is my configuration:

I have problem with IdleConnectionWatcher, method validateAmount is always return false, because Entry.connections size is always equals to minimumIdleAmount. How can I fix it ?

这是来自QQ邮箱的自动回复邮件。您好，我已经收到您的来信，请放心。我将尽快给您回复！

Now I have the same situation.

you have zero connections. Nothing to close.

But why my connections depends from ConnectionMinimumIdleSize ? If I setConnectionMinimumIdleSize(2) I will have 2 connections, if I set setConnectionMinimumIdleSize(5) I will have 5 connections.

сonnectionMinimumIdleSize setting allows to will keep idle connections in pool.

entry.connections is the connections list in pool. Unable to reproduce it.


[Docs] added better handling of enum types

@oliviertassinari Are you ok with this? check the props of ToolbarGroup to check out the results.

@subjectix That's far better like this :+1:

Thanks :tada: :grin:


[Add] return tx_id at the end of the transaction

Make sure to return the response from the broadcasting services

Yep. Fine by me - I can test and merge on Sunday Teran unless you can get to it before me

I haven't had to try to cut a release on bitsv before, will probably be best if you do it.
I can look into it down the road if you want, though.


No test_dataloader() method defined to run Trainer.test

Hello,
getting this error
raise MisconfigurationException(f"No `{loader_name}()` method defined to run `Trainer.{trainer_method}`.")
pytorch_lightning.utilities.exceptions.MisconfigurationException: No `test_dataloader()` method defined to run `Trainer.test`.

after 12 epochs. any idea what to do?

Hello,
getting this error
raise MisconfigurationException(f"No `{loader_name}()` method defined to run `Trainer.{trainer_method}`.")
pytorch_lightning.utilities.exceptions.MisconfigurationException: No `test_dataloader()` method defined to run `Trainer.test`.

after 12 epochs. any idea what to do?

no idea, did you run the script with --no-test?

oh, no.... I guess I was supposed to do that? 😅


TSK-3016

 You should sign our Contributor License Agreement in order to get your pull request merged.


Quic and HTTP3 support (from nginx-quic)

Quic and HTTP3 support
reference: https://hg.nginx.org/nginx-quic/rev/9076a74f1221

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


accepts is never called on iOS 8.4.1

We're using Dragula JS in a hybrid mobile app. We noticed that after upgrading to the latest iOS version earlier (8.4.1), dragging doesn't work as it previously did.
Dragging an item starts ok but the 'accepts' callback is never triggered because getElementBehindPoint() seems to always return the whole document, not the specific element behind the point. This means that dropping isn't possible.
Of course, this is probably more of an iOS issue than a Dragula one, but I thought it worth mentioning here in case others have the same problem, or there may be a workaround or known fix?

I have a few action items for you, if you don't mind.

Could this be related? http://stackoverflow.com/questions/19007553/document-elementfrompointx-y-pure-javascript-alternative

Could you log the values of x and y? Maybe those are the crux of the problem, and we're getting clientX/clientY wrong for iOS 8.4.1

Otherwise we probably should look into adding a case where if the document body is returned we make one more attempt at getting the element, but manually, looping over the DOM somehow.

I couldn't reproduce this issue on the demo page.

Having a similar issue in an in-house app (we are using Bootstrap3 and jQuery 1.11).
We are using a "moves:" function to restrict drag-starts to a particular class of drag-handles, but we don't have any custom "accepts:" function. Dragging starts fine, but dragula doesn't seem to find any valid drop points, so .on('drop') never triggers and whatever is being dragged just pops back to its original position.
The iOS simulator (which is on version "8.4.0", there are no 8.4.1 updates for the simulator) works on both the demo page and in our app.
A real iPhone6+ running iOS 8.4.1 works on the demo page, but not in our app.

For us, the root cause seemed to be the following bootstrap style:
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
}

Our workaround was to add: style="position:static" to the containing

Yeah in general you want not to mess with styles. I'll be closing this one.

Not sure how this is "messing with styles", I was just trying to apply dragula on some table  rows which happened to be hosted deep inside a common bootstrap-css column. :)
Anyways just wanted to leave a note about this workaround, in case anyone else gets bitten by it.
It's pretty strange how this seems to only affect iOS 8.4.1. iOS 8.4.0 in the simulator and iOS 9.0 beta on another device didn't exhibit the problem.

I meant using bootstrap in general. :-)
Where is it that you're placing position: static to fix the issue?
Do you think that should be a part of dragula's styles?

I put the position:static on the containing
, turning it into
 (Far "outside" the stuff that I was applying dragula to).
I'm not sure why this is necessary. Maybe there's a bug in Mobile Safari in iOS 8.4.1 in the way "position:relative" affects how nodes inside it are hit-matched for "drop zones". Honestly I was just deleting stuff out of bootstrap.css until dragula started working :)
Sorry I haven't had the time to create minimal re-pro :-/

I presume that the issue stems from the way mirror position is calculated?

Thanks @fluff - that helps us too. We're looking into possible conflicting styles, no workaround as yet but it's another path to try. Agreed that the iOS 8.4.1 thing is pretty wonky...
@bevacqua - to get back to you about your action items: it seems that the x and y values are still being logged correctly but the whole html document is always being returned rather than the element directly behind the dragging item.
We'll keep digging. Thanks guys

So elementFromPoint is the culprit? That'd be hard to fix :<

I'm not sure. I tried hooking the phone up to the safari debugger, and set some breakpoints looking at clientX/clientY positions, but it was a bit tricky to make sense of the stuff, so I gave up trying to understand the root cause when I found the quick workaround. Personally I don't mind if you keep the issue closed, just wanted to add my 2cents :) Maybe iOS 9.0 will fix it (we couldn't repro on a phone running the beta).

Yip, in our case, it seems to be document.elementFromPoint() that not returning what dragula expects - but only on iOS 8.4.1!

I'll reopen, we should try and find a fix for the underlying root cause. How about if we went up the DOM chain and added static !important to all the things, then calculated elementFromPoint, then restored/removed the style?
Pseudo code
el = target;
while (el.parentElement) {
  el.style.position = 'static !important';
  el = el.parentElement;
}
var behind = document.elementFromPoint(x,y);
el = target;
while (el.parentElement) {
  el.style.position = 'whatever'; // (restore to inline style value)
  el = el.parentElement;
}

It might be too slow though.

I can confirm that document.elementFromPoint() seems to be broken in iOS 8.4.1. I found this thread here while debugging an unrelated project.

I fixed this issue for another drag & drop library. Maybe it contains useful info for you guys.
Basically what I found was that if I set display: none; to an element that is covered by the coordinates given to elementFromPoint, then even if that element has pointer-events: none;, Safari gets confused. When I added a 200ms delay between changing display and calling elementFromPoint, it started occasionally working, but not always. I ended up removing the display modifying code completely and now elementFromPoint seems to work as it should.

Awesome! Thanks for the pointers

FYI: I've just upgraded to iOS 9 and the issue seems to be resolved

Something appears to have regressed. I ended up here after noticing drag-and-drop wasn't working on iOS in my project; clientX/clientY are undefined. I checked the demo page as well and got the same result. Tested with iOS 9.0.2 on device and 9.0 in the simulator.

Can you please identify what version introduced the regression?

It appears to be v3.3.1. It attempts to use clientX/Y to prevent the drag from starting if the mouse position has no delta, and since it's undefined, all drags get ignored.
I was able to work around it quickly by changing the condition on line 158 to make sure there are X/Y positions to compare to before dropping out: (_moveX && _moveY && e.clientX === _moveX && e.clientY === _moveY).

Can you PR?

Submitted #228.
I had to modify some of the other checks for mouse buttons as well, they were also preventing all touch drags.

Resolved in 3.5.3


ci(tofu-ci): Build tofu CI workflow using terramate

Build a pipeline for deploying resources to AWS using terramate

This is working now and the plan is displayed in the pull request. But I think it is too verbose so I am going to look at an alternative like this action: https://github.com/DevSecTop/TF-via-PR/blob/main/.github/examples/pr_merge_matrix.yaml

Decided that terramate is probably overkill for now for what we need. Closing this PR, will open another to look at a different CI tool.


Stop using WPTableViewCell

Fixes #260
Related: https://github.com/wordpress-mobile/WordPress-iOS/issues/2491
Eliminates the usage of WPTableViewCell which put margins around all the cells in a table view on an iPad.

Needs Review: @aerych

Hiya @astralbodies.
I noticed two glitches when testing but neither appear to be related to changing the cell inheritance.  One is a label breaking outside its container, the other is an exception in the Today widget. (Screen shots below).
Full screen stats looks a bit odd when I'm switching between the other view controllers, but since our web view controller and editor are also full screen maybe its fine.  As far as the cell changes go, :+1:.  They look good to me.   :)
I think the two gliches above could have their own PRs.  If you agree then I think its cool to :shipit: this one.


AnalyticsParameterScreenClass higher priories than AnalyticsParameterScreenName in SwiftUI

[REQUIRED] Step 1: Describe your environment

Xcode version: 13.2_
Firebase SDK version: 8.1_
Installation method: CocoaPods
Firebase Component: Analytics, RemoteConfig, Crashlytics
Target platform(s): iOS

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
In a SwiftUI project,  try to log an event with valid AnalyticsParameterScreenName and AnalyticsParameterScreenClass. Then In Firebase analysis, only AnalyticsParameterScreenClass value can be found.
It this designed by purpose?
Relevant Code:
Analytics.logEvent(AnalyticsEventScreenView,
                           parameters: [AnalyticsParameterScreenName: name,
                                        AnalyticsParameterScreenClass: screenClass])

Hello @liangwangcm, to clarify this line:

Then In Firebase analysis, only AnalyticsParameterScreenClass value can be found.

Could you confirm if you're referring to the DebugView page in Analytics dashboard?
I tried logging an event with AnalyticsParameterScreenName and AnalyticsParameterScreenClass on SwiftUI project, but I'm able to get the logs for both parameters. Could you try enabling your Analytics debugging by adding the -FIRAnalyticsDebugEnabled in your app scheme to see if both parameters are being logged?

I found the root cause and it's my fault to choose here

I should have chosen other options :)


Handling custom (MyApp://) protocol on MacOS

Electron.NET version: 9.31.2
Target platform: MacOS
I need to handle the login token from the custom protocol (MyApp://) but I am unable to handle the passed arguments to the app. I have successfully registered the application as a protocol hander and it gets launched/opened in the app directly from safari by using :
await Electron.App.SetAsDefaultProtocolClientAsync("MyApp");
and setting it in-app plist (As documented).
But I don't know how to handle the passed URL. I can't do that by listening to IRC event (as documented in Electron documentation in handling the custom protocol on MacOS):
Electron.IpcMain.On("open-url", Handleprotocol());
The app gets opened/resumed when requested in safari but nothing happens. The IPC message is not published.
Is that a bug or am I doing something wrong ? cant seem to find anything similar in samples or around the net specifically for Electron.NET.

Hey @olirehacek!
At a quick glance, it doesn't appear that 'open-file' or 'open-url' is implemented in Electron.NET.
https://github.com/ElectronNET/Electron.NET/search?q=open-file&type=Code

Hey @olirehacek!
At a quick glance, it doesn't appear that 'open-file' or 'open-url' is implemented in Electron.NET.
https://github.com/ElectronNET/Electron.NET/search?q=open-file&type=Code

Thanks @ThrDev ,
Are you aware of any way/workaround I can handle the custom URL in Electron.NET. We have app that cannot be flipped into production because we can't log in to our service while using the oauth window. It's actually pretty serious.

Same here, we are dealing with the same issue :(

Same problem here, would really require this to work.

Any news on this ?

They seem to have implemented open-url and open-file recently. #478
@olirehacek @Elimil @DavidNorena

Does it work for windows as well ?

@DavidNorena  for Windows you might need to parse process.argv to get the file.
Seems like open-url and open-file only work on macOS.

i tried  process.argv but not working, anyone have fix for this on Windows ?


FadeMind's add.Risk/hosts is adding sites that do not fit the base definitions

FadeMind's add.Risk/hosts is injecting into the unified hosts file for adware and malware sites like twttr.com (an alias for twitter.com) and drunkenstepfather.com (a site that belongs in the porn list, not the master). Please either tighten up the criteria for what gets put in this child list, or stop incorporating it directly into the main list.

Thanks @creedflan738!  I'll take that under consideration.


Create SECURITY.md

Seems like the document does not follow the current version of the feather.js, can you update it? Security updates will be applied for now only to the v2 of the library


Readme - Issue with refresh_access_tokens()

Only a small flag which may save someone time.  In the readme:
session_manager.refresh_access_token()
In the class it's:
refresh_access_tokens
Works fine if you refresh as:
session_manager.refresh_access_tokens()

No longer relevant since OAuth Session Manager has been removed.


Include two different stages for building TGI image:

Default standalone image
Inference Endpoint specific image

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Bug fixes 1

Pivotal Card - Election Administrations is misspelled
Pivotal Card - The "More Detail" link on the localities table leads to broken page
Pivotal Card - Dashboard: Precinct and Precinct Splint links on individual polling place pages don't work
Pivotal Card - Dashboard: "Loaded On" field on Feeds page is not populated

LGTM!


Could not save configuration file at first start

At the first start, an error occurs when updating the configuration to version 4. If no configuration exists, it is created and saved at startup. It should then be changed to version 4 because the tt-config.txt file does not exist. This leads to the error when saving. This error also occurs when closing the program.

Right you are. That is a regression that has occurred when I did some internal cleanup for the latest Version 4 preview. I will fix that and post a working Version 4 preview and then post here to let you know that it is fixed. Thanks for the bug report.

This should now be fixed in the "TradeTracker.zip" download under the Preview-2 release.  https://github.com/PaulSquires/TradeTracker/releases/tag/4.0.0-preview2
The file is found when you expand the "Assets" section of that post.
Thanks.

Thank you very much. It now works exactly as it should.
Have a nice New Year's night.


new filled order gets put on the bottom

made an order that resulted in me getting a new filled order and the market shows up last even though it is the most recently traded one.
after filling an order: wrong sorting

after refresh: right sorting

fixed by https://github.com/AugurProject/augur-ui/pull/3011


[Feature] [API ] Get Commits of a PullRequest

api witch only return commits of a PullRequest - same as list on https://gitea/<user>/<repo>/pulls/<333>/commits shows
proposal: add GET /repos/{owner}/{repo}/pulls/{index}/commits
ToDo:

look if GitHub v3 API has something similar

needed for GitNex: https://gitea.com/gitnex/GitNex/issues/332

It's similar to #10871 so they could share some code ...

ping

stale just look at #12118 ;)


error code 0x8007274c

Windows Version
Microsoft Windows [version 10.0.22621.1778]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Ubuntu 20.04
Other Software
Docker Desktop Windows 4.19
Pycharm PhpStorm (latests versions)
Repro Steps
Start WSL, start docker compose dev on a project and edit lots of files from jetbrains ide and it crash when using git diff / commit / push
Expected Behavior
just working without crash
Actual Behavior
When using my ide in windows after a certain time i got the errors, sometimes the console does not respond,
using git in the ide crash very often because of lost connexion between host and wsl
i need to wsl --shutdown very often
I use wsl <IP_ADDRESS> now but used 1.2.5 for a while and reverted back to see if somes improvment but nothing change
It is a duplicated of https://github.com/microsoft/WSL/issues/9852 https://github.com/microsoft/WSL/issues/9832
but wanted to up again this issue as it cause me lot of trouble during my works
Thanks
Diagnostic Logs
WslLogs-2023-06-08_18-37-53.zip

Thank you for reporting this @sabruss. Looking at the logs it does look like WSL got into a bad state.

E r r o r   c o d e :   W s l / S e r v i c e / 0 x 8 0 0 7 2 7 4 c

it's a little hard to get the output of the command correctly cause of how long it is but it should be ok
Thanks

Thank you @sabruss. One thing that surprises me is that one init process seems to be missing. Can you also share the output of dmesg in the debug shell after getting WSL in that bad state ? I wonder if init crashed.

dmesg.txt
Ok there is a dmesg, i run it just after i notice a connection lost, i didn't really use it today, maybe it will help you

Thank you @sabruss. I a lot of loglines like this: worker/0:2: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0, which seem to imply that WSL is running out of memory.
From the logs you shared earlier I can see that memory is set to 16GB. I won't know how much memory is used inside WSL, but can you try adding swap via:
[wsl2]
swap=16GB

and see if that solves the issue ?

well i'm still having that issues,

Are there ever any solutions to these issues?

Personally, i was having a problem with installing docker on some windows 11 devices and others not which was really confusing, not knowing the problem and wasn`t able to find a cause because no error message was showing in docker, i started debugging it and found out it was WSL that not responding and when i try to run its command it just being stuck forever.
But in latest docker desktop update error messaging is now showing me what happening and after some debugging it led me to here... And  following debug instructions found here i have the same problem :
[   78.097095] kworker/0:1: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[   88.118053] kworker/0:1: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[   98.136372] kworker/0:1: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[  108.159033] kworker/0:1: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[  118.180345] kworker/0:1: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[  128.226657] kworker/0:1: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[  138.567651] kworker/0:1: page allocation failure: order:7, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
...etc

Update: I dont know if this is the solution for this prticular problem but i managed to get WSL working by going to user file and checking up my:  wsl.config file that strangely hade some configurations that i dont remember setting up and i simply removed those configurations and added this one for another problem i was facing:
[wsl2]
networkingMode=None


Can't discovery to some devices

react-native-ble-plx is 1.1.1
I can't discovery to some devices, and the system settings can discovery it.

This library supports only Bluetooth Low Energy devices.

Fine.


ListView & IE11

Page https://metroui.org.ua/listview.html appear very buggy with my IE11 :

Are you in development with component ?
EDIT : IE11 version 11.309.16299

Thanks, Fixed


Amazon Smile in Incognito/Private Browsing

While this extension works really well, it would be great if the extension was disabled when the browser was in incognito or private browsing, as you can't navigate Amazon if you're not signed in.
Of course, I can see why this would not be ideal as well, as for most people, there's not much point in going to Amazon if they're not going to log in, so perhaps if there was a checkbox in the options or something that could turn the extension off automatically when the browser is in incognito/private mode.
Thanks!

I don't understand what the impetus for this request was, Firefox has a built-in option to not allow extensions to run on private windows, and they are blocked by default.

This option did not exist back when this issue was created.


rbd: add image size in toSnapshot

we need to return the rbd image size as a snapshot size in CreateSnapshot Response.
fixes: #4788

@mergifyio rebase

@mergifyio queue

@mergifyio unqueue
Lets merge #4790 now, and abort+restart CI jobs after a rebase.

@mergifyio rebase

@mergifyio queue

@mergifyio requeue

there have been timeouts while  request a VM for the CI jobs, added the ci/retry/e2e label.


rrf/clearIntents issue with checkbox group with many checkboxes

When creating a checkboxes with multiple select /SOME_NAME[]/ onChange fires rrf/clearIntents for every checkbox in the group. In my case one group is like 500 checkboxes /filtered/ and it's quite slow.
Can this be avoided somehow /reducing the number of the checkboxes it's not really an option/.

Hi, can you please update on this issue? We are pretty backed into a corner right now because we are running into several issues implementing checkboxes.

Using the standard dot format user.pets does not allow us to have keys that have period punctuation, and that's a requirement for us. For example, user..pet, where .pet is the key in {.pet: true} We could not find any way to resolve this, so we swapped to using the second method for implementing multiple checkboxes.
Using user.pets[] syntax is resulting in SIGNIFICANT lag because of all of the rrf/clearIntents spam. One per checkbox, and our page has many checkboxes. Redux DevTools complain that too many actions are firing and taking up too much memory.

Please advise on how to proceed? Is there a way to stop the rrf/clearIntents spam?

Hi @davidkpiano, can you please update on this issue? We are pretty backed into a corner right now because we are running into several issues implementing checkboxes where the checkbox values are dynamically generated and can include punctuation.

Using the standard dot format user.pets does not allow us to have keys that have period punctuation in the resulting object, and that's a requirement for us. We tried creating the model using user.pets[.catdog], in an attempt to make .catdog the key in {'.catdog': true}, but the punctuation is parsed out, resulting in {'catdog': true}. We could not find any way to resolve this, so we swapped to using the second method for implementing multiple checkboxes.
Using user.pets[] syntax with .catdog as the value did not parse out the period in the resulting array, but results in decreased performance because of all of the rrf/clearIntents spam. One per checkbox, to be exact, and our page has many checkboxes. Redux DevTools complain that too many actions are firing and taking up too much memory.

Please advise on how to proceed? Is there a way to stop the rrf/clearIntents spam?
Please note that ONE of 20 checkboxes clicked results in 20x rrf/clearIntents kicking off and impacting performance.
Thank you for your time. :)

Found a workaround. The following syntax generates the object with keys that have punctuation and avoids the performance issues with repeated clearIntents actions. Thanks for your time, maybe this will help someone else!
user.pets['.fido']


Implement ToString

Implement ToString in the TA library as an exercise of ToString guidelines.

1st draft proposal https://github.com/Azure/azure-sdk-for-net/pull/15708

@joseharriaga I believe this can be closed given TA is transitioning anyway. Please reopen if you think otherwise.


Add flags to avoid string optimization

Fixes: https://github.com/conda-forge/ctng-compiler-activation-feedstock/issues/63
Questions:

[ ] Do we need this in the FFLAGS. I assumed so.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

I can't recall if cflags gets reused for the other vars and so we only need this there.
I think @isuruf might have insight or we can consult the activation scripts.

A quick search of CFLAGS in https://github.com/hmaarrfk/ctng-compiler-activation-feedstock/blob/fno-merge-constants/recipe/activate-gfortran.sh#L88 reveals nothing.

Right except that the Fortean compiler requires the c one maybe. In any case, duplicated flags are ugly but shouldn’t break anything I think.


[User Story] As a systems engineer, I would like to know the disk specifications of a specific device

Is your user story related to a problem? Please describe.
As a systems engineer, I am frustrated by not knowing the Disk specifications of the device I am monitoring.
Describe the solution you'd like
I would like to see Disk specifications in my data and displayed on the application so I can easily associate Disk usage with the device I am monitoring.
Describe alternatives you've considered
Obtaining the information from a command line or shell-only method is tedious and not convenient.
Additional context
The information can be sent to either SQL-style tables or a MongoDB collection.
The disk specifications should include:

Capacity (nB)
Type (SSD, HDD, etc.)

psutil does not contain functionality to list media type of connected hard disk. bodge involving terminal commands necessary and research into such adding to effort.


Vue 3 custom element's prop default value (as attr) not reflected once rendered

Vue version
3.2.45
Link to minimal reproduction
https://github.com/funkso2010/vue3-cus-el-emit
Steps to reproduce
How to run the issue:
dist folder is already prebuild. You need to leave index.html as is, since custom elements are hardcoded into html file.
Vite config 'emptyOutDir' is set to 'false'.
Node 14.20.0.
npm install
npm run preview
If index.html is not opening please use something like http-server (npm package) to run: http-server ./dist
Steps to reproduce:

npm run preview or open index.html in dist folder (see above instructions if you don't see any buttons).
Two buttons: one with hardcoded values, second one without hardcoded props and should show default values.
Click 'add text and red 1'. Result as expected: text will change to 'button text 1' and red background will be red. Click 'remove text and red 1'. Result as expected: the button text will be removed and the background will be black. This is expected custom element's behavior.
Reload the page. Click 'remove text and red 1'. Result as expected: text will be removed and background changed to black. This is expected custom element's behavior.
Click 'remove text and red 2'. Result: nothing happens. Expected: the text to be removed and background changed to back. Click 'add text back and red 2'. Result: button's text is changed. Now, click 'remove text and red 2'. Result: text is removed and background changed to black. This is not expected behavior (or might need clarification).

This doesn't seem to be explained in the following default props behavior definition:
https://vuejs.org/guide/extras/web-components.html#props
What is expected?
When custom element with prop defaults is initially rendered and props are not provided, default props value should be shown and custom element should have attributes generated with defaulted values.
What is actually happening?
When custom element is initially loaded the default values are working but the attributes for default values are not reflected.
We are basing our request per docs below:
https://vuejs.org/guide/extras/web-components.html#props

System Info
System:
    OS: macOS 12.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 93.47 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.20.0 - /usr/local/bin/node
    Yarn: 1.22.17 - ~/.npm-global/bin/yarn
    npm: 6.14.17 - /usr/local/bin/npm
  Browsers:
    Chrome: 108.0.5359.124
    Safari: 16.2
  npmPackages:
    vue: ^3.2.45 => 3.2.45

Any additional comments?
No response

The current behavior is pretty much intended the way it is. We considered defaults to be internal an not requiring reflection on the element.
The docs you link may not be specific enough in that regard, but refer to props being reflected eher appropriate, and in our implementation, that means "when the user sets one, we reflect it on the other".
Is there prior art n other web component implementations to reflect default values like you are asking for? If so could you point is to it?
Not unwilling to implement this, just not sure what the web component community considers good practices here

Hello @LinusBorg ,
I hope you are doing well.
Thank you for such a speedy reply. We appreciate all your and your team's hard innovative work.
In my opinion props handling is correct if a user passes all the props that override the defaults.
What makes it complicated:
Imagine we have a <custom-video> web component that consumes html5 <video> tag. We set video-controls boolean prop default to true. In this case the custom element (once rendered) with default would look like this: <custom-video></custom-video>.
The controls will be displayed in browser, but we would not be able to remove them unless we set them (element.setAttribute('video-controls', '')) and then remove element.removeAttribute('video-controls').
If we try to set: element.setAttribute('video-controls', false), vue gives an error since vue checks the type and reads false as a string.
Some workarounds probably exist, but not sure if those are efficient. One of which is always to set defaults to false and set it to true when needed. Other is to check if tag exists (element.hasAttribute('video-controls')) and then to element.videoControls = false if it doesn't.
I think it makes sense to only set default string, number, and boolean types values as attributes on initial render if no own values are provided. Objects and arrays are handled more complicated, so those would have to be targeted separately.
I haven't seen any art on web components, I would have to read up on it. I don't think many people are using web-components these days, but it for sure gets more popular.
Could you please discuss this matter with your team members and let us know your thoughts? If you decide to stick to the current implementation, that is fine with us, but I was hoping we could make the experience slightly better.
Best regards,
Taras Savka

Thanks for the explanation. However, I think your own explanation makes it clear that this is not really an issue:
the situation only applies to boolean attributes, and specifically to a case where you would use true as the default for its absence. I would rate this an anti-pattern. You say:

The controls will be displayed in browser, but we would not be able to remove them unless we set them (element.setAttribute('video-controls', '')) and then remove element.removeAttribute('video-controls').

That is true, but regardless of what we fix, you now have created a situation where a developer using your web component also can't create an instance of it that starts with hidden controls:

Creating the element without the boolean attribute will render the controls as it defaults to true.
Creating the element with the boolean attribute will render the controls as it is now explicitly set to true.

So in my mind, boolean props should never have true as their default. And other primitive types can't suffer from similar problems to the one you described above.
So in summary I would argue:

this is not a real issue in need of a fix.
yet we could still entertain the idea of adding default attributes, it seems interesting. However it's not an urgent matter taking priority for us.

Hello @LinusBorg ,
Thank you for the clarification on this matter. This is a good point. It would be nice to have booleans present but we understand you have much more pressing matters on your plate.
Thank you again,
Taras

closed via 63689ed


Where Can I change Icon Image

I was trying to replace the icon images when I dragged the points into the map but could not find the location. Anybody can show me?
Thanks

Hi cici004, I think you're looking for https://github.com/BrianBunker/cmv-widgets/blob/master/DnD/DnD.js#L758. The icon is an encoded png.


flyway command line does not migrate Db which is used on Bamboo agents

Which version and edition of Flyway are you using?
Verified with Flyway 4.0.1, 5.2.4, 6.0.0 and 6.0.2
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
yes
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using (type & version)?
aurora-mysql
Which operating system are you using?
amazon linux 1
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
command that I used:
flyway -url=url -user=user -password=password -validateOnMigrate=true -baselineOnMigrate=true migrate
it always says no migration necessary where there are new files to be migrated.
What did you expect to see?
Migrations to happen
What did you see instead?
No migration necessary or Empty schema in latest version.

It could be an issue with your configuration. How have you specified the locations config option? If it isn't specified the default is to look for migrations in a sql folder in the Flyway install directory.

@sameera464 Any news?

Closing due to lack of response.


Update bower.json

Added '.css' file name to 'bower.json' for automatic include.

I approve this commit.The css file is also a significant part of the project.


[TypeScript] createStyles() does not have smart property hints in the vscode editor

[x] This is a v1.x issue (v0.x is no longer maintained).
[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Current Behavior

Context

export default function createStyles<K extends string = string>(styles: StyleRules<K>): StyleRules<K>;

Your Environment

Tech
Version

Material-UI
v1.2.0

TypeScript
v2.8.3

@chilbi You'd have to something like this for now:
const styles: StyleRulesCallback = ({ palette, spacing, typography }) => createStyles<StyleRules>({
  ...
});

or
const styles = ({ palette, spacing, typography }: Theme) => createStyles<StyleRules>({
  ...
});

@franklixuefei if you go the createStyles<StyleRules> route, you lose the autocomplete on the this.props.classes

@BrendonSled I think it's one way or the other. For now I don't have a solution that's easy enough to cover both cases. The only solution I can think of is that rather than using typeof styles as the type param of WithStyles, we need to explicitly pass in the keys, like WithStyles<'rule1' | 'rule2'>

The whole purpose of the createStyles(...) function is to infer your class keys from what you put in ..., so there's no point ever providing a type parameter to it. If you're going to explicitly provide the class keys from the outside, just do
const styles: StyleRulesCallback<ClassKey> = ({ palette, spacing, typography }) => ({
  ...
});

@pelotom using the createStyles(...) function breaks autocomplete inside the CSS properties. Which is the issue outlined above by the OC.
A temporary workaround I've found if you want autocomplete on the CSS properties and inferred class keys is to just add CSSProperties to each class key, like so
const styles = (theme) => ({
  root: {...} as CSSProperties,
  rule1: {...} as CSSProperties,
});
...
classes.root; // intellisense enabled

@BrendonSled I like your workaround. as CSSProperties can be annoying, but at least we don't have to specify classList anymore.

@BrendonSled yep, I was just responding to later comments. This seems like maybe an issue worth raising with the TypeScript team? I would think that if the as CSSProperties annotation is sufficient to get autocompletion then it should also work with createStyles.

I actually did the following
const styles = (theme: Theme) => createStyles<StyleRules>(
    {
        classname: {
            somecssprop: "cssvalue"
        },
    }
);

interface IComponentOwnProps {
    classes: {[T in keyof ReturnType<typeof styles>]: T};
}

@chilbi This should be resolved with #12456 which was released in 1.5.0.