Copying the modeless selection into the clipboard from Insert mode doesn't work if the cursor is in the area of the selection

The doc/gui.txt says:
To do this (copy the modeless selection into the clipboard) from Insert mode, use CTRL-O : CTRL-Y <CR>.
This works, but I if try doing it when the cursor is within the area of the selection, after "CTRL-O : CTRL-Y" I have ":^Y" in the command line, and the following pressing <CR> yields a "E492:  Not an editor command" error.

Create a file test.txt with this contents: (<EOL>s are  <CR><NL>)

0111111
111 111
1111112

"C:\Program Files\Vim\vim80\gvim.exe" -u NONE -U NONE
:set showmode
:edit test.txt
Move the cursor in the middle of the rectangle (on the space character) and press "i", -- INSERT -- appears at the bottom.
Move the mouse pointer to the upper-left corner of the rectangle (on the "0" character) , press and hold Ctrl-Shift, then Left-Click and drag the pointer to the lower-right corner, till the selection covers the "2" character.
Press CTRL-O, the selection disappears, -- (insert) -- appears at the bottom.
Press ":", Command-line mode becomes active.
Press CTRL-Y. "^Y" appears in the command line. Pressing <CR> then yields an E492 error.

Hm, once you enter the ':' the modeless selection is removed and then CtrlY does not copy the selection, since there is no modeless selection anymore. What helps is skipping the : step.

Hm, once you enter the ':' the modeless selection is removed and then CtrlY does not copy the selection, since there is no modeless selection anymore.

I might not understand something, but it's removed at step 7 (after pressing CTRL-O) for me, and if I skip the ":" step (step 8), I end up returning to -- INSERT -- mode with the cursor in the middle of the rectangle, and the selection isn't copied to the clipboard.

I confirm that the steps given (which come from :help modeless-selection) give the indicated useless result.
I can make the modeless selection work in gvim by means of the following steps:

Make sure that the 'guioptions' option includes A (This is not what my vimrc normally sets)
Press and hold Ctrl-Shift
Click, drag and release the mouse.
Release Ctrl-Shift.
Hit Escape. The selection is not highlighted anymore but it has been copied into register *
The erstwhile modeless selection can now be copied from register *, for instance:
Hit : to go to Command-line mode.
Hit Ctrl-R followed by * to paste the selection.

Best regards,
Tony.

When I tried the following steps, the selection was copied to the clipboard:

Press i to go to insert mode.
Press Ctrl-O to go to normal mode temporarily.
Select the text by using mouse.
Press : to go to command line mode.
Press Ctrl-Y
(Press Enter to back to insert mode.)

but it's removed at step 7 (after pressing CTRL-O) for me

Reproduced on Windows 10. I'm not sure whether this is expected.


[HxInputFileDropZone] The Enabled property on this control is not used

Setting Enabled="false" on this control does not set the disabled attribute.
I had a look at the code, and the Enabled property on HxInputFileDropZone has no references:
https://github.com/havit/Havit.Blazor/blob/989338da09bc29f7486f595b094db6a2c9a9afc2/Havit.Blazor.Components.Web.Bootstrap/Files/HxInputFileDropZone.razor.cs#LL89C1-L89C48
I couldn't see how it could be passed down correctly - it is not passed to HxInputFileCore - Would this be an easy thing to resolve?
I did try and wrap it in a HxFormState component but it didn't work. I would be interested in any hints in how to resolve this, or if I am using it wrong.

HxInputFile looks like it implements Enabled and associated FormState Cascading correctly, if I followed this pattern and implemented in HxInputFileDropZone would that be a PR I could work on? Or is there more to this?

Yes, your contribution will be more than welcomed. 💕 Thanks in advance.

Disclaimer: First github PR ... but not first git PR :)

@hakenr there are some CSS things in this PR that will be changed in V4 -> soon. I suggest to do it straight away.

@crdo I will merge this into v4 within few minutes.

@crdo Merged into v4 (all master branch updates).


buggy flexbox layout

the flexbox layout is currently not correctly functioning. i am working on it.

Cool. Yeah, some things have gone funny but I'm really liking the way my interface is starting to take shape. Very flexible GUI.

Glad that you like it! Can you test if your issues are gone?

Yep. All big issues are gone. Some things are still a bit confusing but I think i just need to tweak my theme some more. I'll give you more feedback tomorrow. I'm off to sleep now...

Still having a couple of issues but i might have done something wrong.
Here's where I'm at so far (unfinished!):

One problem, for example, is the spacing between the toggle at the top left and the two faders next to it. The toggle is set to 10% width and the faders to 45% each. They're in a group that's 110% wide in a panel a300px wide. I guess i need to take margins and whatnot into account? Or is it something else? I'll play with alignment options some more in case that's the solution.

That's a bug, I'll have a look at it, thanks for the details!

can you update and check again?
btw margins and paddings are subtracted from the percental size so you don't need to take them into account. this needs more documentation.

Working! Cheers!

Cool. Can I use this picture (with reference) if I ever have a page where I show examples of ofxGuiExtended in action?

Of course!

On 16 May 2016, at 6:40 PM, Deborah Schmidt<EMAIL_ADDRESS>wrote:
Cool. Can I use this picture (with reference) if I ever have a page where I show examples of ofxGuiExtended in action?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub


SplitWebKeys

Breaks out changes from #3 and does an overhaul:

Break apart public/private key pairs
Split up the library for easier groking.
Adds the example from rfc8291 section 5 (sanity check)

(will close out #3 to try and keep things clean)

Updated from comments, updated README,  removed some static methods for future testing (mocking) support.

Can you explain why it is better to remove static methods?

Makes it easier for downstream users to mock WebPush using mockito or mocktail packages. If you want quick access without storing a simple/cheap class allocation, a top-level const webPush = WebPush() would work as well - similar to the top level utf8 class in dart:convert

Thank you for the explanation, I don't know if @karmanyaahm you are available for a review ? I will merge it else :)

I took a brief look at it and it looks good to me

So I'm merging it. Thank you for the contribution !
I'll publish it to pubdev during the week, feel free to ping me if I forget

Excellent! Can't wait to see it up on pub.dev.  I guess tests are next up.


About Linus Torvalds

Created an interesting page about the famous Finnish-American Software Engineer Linus Torvalds.Added his picture and biography from the links of the created webpage.

personalities

@ifahs1 Use terminal to manually fix the conflicts. The command line instructions are available in this page.

@AmalPM47 can you try to fix this resolving error and make the merge ?


Cannot install old version of hie

I was looking to start the fp-course . The GHC version for the project is 8.0.2. I have that GHC installed from stack and everything is all set in that regard. I want to use hie with coc.nvim; however it requires hie-8.0.2 or else I receive a mismatch error for the GHC version.
I've crawled through closed issues to see if I could resolve this issue and was unable to. The issue I'm running into is when invoking  stack ./install.hs hie-8.0.2 there is no yaml file available for this version, and an error is thrown. I went back through the commit history and tried to use an old stack-8.0.2.yaml file but was unable to get that to work.
In my attempts to fix this issue I reinstalled hie and built it for my current GHC version. When I attempt to run stack ./install.hs ghcs to see the available install options it fails stating:
  at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shake-0.18.5-44KSA7uQF2VObxzEvLYZx:Development.Shake.Internal.Args
* Depends on: ghcs
  at error, called at src/Development/Shake/Internal/Rules/File.hs:179:58 in shake-0.18.5-44KSA7uQF2VObxzEvLYZx:Development.Shake.Internal.Rules.File
* Raised the exception:
Error, file does not exist and no rule available:
  ghcs

I'm not sure if this is a separate issue.

Support for 8.0.2 was dropped long ago - it didn't even support cabal-2.0. Last commit with 8.0.2 support was c1ca784. Try building hie from that commit.

When I attempt to run stack ./install.hs ghcs to see the available install options it fails stating

I don't think there ever was a ghcs target in install.hs.

I went back through the commit history and tried to use an old stack-8.0.2.yaml file but was unable to get that to work.

What errors exactly?

I don't think there ever was a ghcs target in install.hs.

There is no ghcs target in stack ./install.hs, only if executed from cabal.

I don't think there ever was a ghcs target in install.hs.'

I just took a look at the source for HieInstall it looks like when install.hs is run with cabal, so that would make sense. Just a little confusing when run from stack it has that option. I would assume stack ./install.hs help expands to possible targets?

What errors exactly?

Basically dependencies I don't care to fix, there's also a parsing error.
I'll close this out, I can live without hie on a play project.
Thanks


Add Unit Tests

Add enough unit tests to reasonably cover the code base

Should use
https://github.com/frondeus/test-case


[RELEASE] Release 2.10.4

Is your feature request related to a problem?
A few fixes went into the opensearch-java client recently, would be beneficial to have a new patch release.
@dblock @VachaShah any objections? (I will take it)

Go for it.

None at all!


missing year.2020 table

It doesn't look like the yearly table for 2020 got created. That doesn't seem to be done in https://github.com/igrigorik/gharchive.org/blob/master/crawler/tasks.cron, so I assume it's a manual process?

Stumbled upon this same issue.

Doh. Automation fail, again. Thanks for the nudge guys!

Should be live now.


add package-lock needed for dbt 1.8 in read-only deployments

When elementary is installed on a docker image in a read-only folder, dbt deps are run and that will generate a packages-lock file. The way to solve the packages issue is to include the lock file in the project.  This PR will address this issue. The issue here is similar as it is related to running dbt deps in a read-only folder.
With this change, edr commands can be run as follows to address both issues.
               mkdir /tmp/elementary
                export DBT_TARGET_PATH=/tmp/elementary &&
                export DBT_PACKAGES_FOLDER=/tmp/elementary &&
                edr send-report --days-back 60

This would be really helpful!

Bumping this.  Are you planning to make elementary dbt 1.8 compliant?

Hi @noel !
Just merged these changes in a separate PR (needed to tweak a bit and add a pre-commit verification to the lock), this change will be included in the upcoming release.
Cheers,
Itamar


standarize the git clone url

The current github url for cloning fails for some users
when running git clone git@github.com:mirumee/saleor-dashboard.git I get.
`
Cloning into 'saleor-dashboard'...
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
`
Pull Request Checklist

[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Translated strings are extracted to .pot file.
[ ] Number of API calls is optimized.
[ ] The changes are tested.
[ ] Type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Hey, thanks for opening the PR! I agree that we should use https URLs here.
Travis build is failing, but it's not related to your changes so I'll merge it anyway. I think it's broken after we merged "Plugins" section @benekex2.


Update the old/wrong link in FAQ page

[the section about configuring the local storage](/docs/prometheus/1.8/storage/)
-> We should point to the latest version of storage doc

[scraping TLS- and auth-enabled targets](/docs/operating/configuration/#%3Cscrape_config%3E)
-> The link will redirect to /docs/prometheus/latest/configuration/configuration page, and the anchor for scrape_config is different now. Fix it!

Thanks!


Or-tools failed to run cxx_cpp_pdlp_solve test on release and debug configuration with MSVC on windows

Hi All,
Environment:
VS 2019 + Windows Server 2019
Or-tools failed to run cxx_cpp_pdlp_solve test on release and debug configuration with MSVC on windows. it can be reproduced on 82750ac on stable branch. Could you please help look at this issue?
Repro steps:

git clone https://github.com/google/or-tools F:\gitP\google\or-tools
cd F:\gitP\google\or-tools && mkdir build_amd64 && cd build_amd64
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DBUILD_DEPS=ON -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . --config Debug --target ALL_BUILD -v -- /maxcpucount
ctest --build-config Debug --output-on-failure -R "cxx_cpp_pdlp_solve"

Error info:
Test project F:/gitP/google/or-tools/build_debug_amd64
Start 99: cxx_cpp_pdlp_solve
1/1 Test #99: cxx_cpp_pdlp_solve ...............***Failed    2.96 sec
F0926 00:25:49.071683 12384 pdlp_solve.cc:76] Check failed: !input.empty() --input is required
*** Check failure stack trace: ***
@   00007FF6847D3BFC  (unknown)
@   00007FF6847D3B29  (unknown)
@   00007FF6847D33FA  (unknown)
@   00007FF6847D4D94  (unknown)
@   00007FF6847C251F  (unknown)
@   00007FF6847C2ED0  (unknown)
@   00007FF684F27869  (unknown)
@   00007FF684F2770E  (unknown)
@   00007FF684F275CE  (unknown)
@   00007FF684F278FE  (unknown)
@   00007FFF497A4ED0  (unknown)
@   00007FFF4B85E39B  (unknown)
0% tests passed, 1 tests failed out of 1
Total Test time (real) =   2.98 sec
The following tests FAILED:
99 - cxx_cpp_pdlp_solve (Failed)
Errors while running CTest

this executable need some options on the command line but we currently use a cmake macro to loop over all exmaples and this macro can't take cli options yet...

duplicate of #3429


Feature: withdraw flow updated style

Remove this text because we don't allow the user to customize the amounts anyway? And maybe also just disable the input fields?
And maybe also remove the 'You have...' text because it might be confusing?

I have removed the batch relayer approval. Where can I add it back during the flow?

Do we want to update the withdraw flow for reliquary too? (re-adding the batch relayer approval is also missing there I just noticed)


RFRemix 24 is using the default Linux logo instead of Fedora

Description
After updating to version 2.0 on RFRemix 24 (Fedora 24) it stopped to display the correct distro. Instead of displaying the Fedora logo it's now displaying the default Linux logo.
OS: RFRemix 24 (Twenty Four) x86_64
Neofetch version
Installed from fedora repo:
Name        : neofetch
Arch        : noarch
Epoch       : 0
Version     : 2.0
Release     : 1.fc24
Size        : 188 k
Screenshot
Screenshot
Log:
https://gist.github.com/Kunagi7/bfab4028d1d09fadba3ad8acf5a04a11

Fixed.


Make exception for filter property

This is really farfetched but it noticed that if you have a filter property contain a HEX-color (e.g. #000000) with a space before #, it minifies the color to #000 which causes a invalid value in IE.

Thanks! Released as 1.2.7. :+1:


Roll Flutter Engine from 2daf5e7bb249 to c2168ac39cbb (1 revision)

https://github.com/flutter/engine/compare/2daf5e7bb249...c2168ac39cbb
2023-09-24<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from M-fNM9YP2Lpc8Y_Dj... to SqWjDvrDsMfiisUoA... (flutter/engine#46239)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from M-fNM9YP2Lpc to SqWjDvrDsMfi
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Support signing transactions with Ledger

Is your feature request related to a problem? Please describe.

There were 2 products supporting signing transactions with ledger:

Neuron: https://github.com/nervosnetwork/neuron/blob/b41c91e4ec3a5cf9318f9e88927ce04ad6ac4784/packages/neuron-wallet/src/services/hardware/ledger.ts#L50
CKB CLI: https://github.com/nervosnetwork/ckb-cli/blob/f043bf192954c68a17570a7686195dee1f2a5cad/src/subcommands/account.rs#L82

However, the plugin used in CKB CLI is out of date, and there's no predictable plan for an update(https://github.com/nervosnetwork/ckb-cli/issues/542). So only Neuron can be used to sign a transaction with Ledger, in fact. But Neuron is not a product for automated workflow, e.g. deploy contracts by Kuai.
So signing transactions by an SDK is required.
Describe the solution you'd like

Signing transactions has been implemented in Neuron, so it's feasible to be delivered in Lumos. Code snippets can be found at https://github.com/nervosnetwork/neuron/blob/b41c91e4ec3a5cf9318f9e88927ce04ad6ac4784/packages/neuron-wallet/src/services/hardware/ledger.ts#L50
Describe alternatives you've considered

Automated workflow may connect to Neuron by wallet connect, so all functions of Neuron will be available for the workflow.
Additional context

As you mentioned, Neuron has supported signing with Ledger, and it's based on the obsidiansystems/hw-app-ckb. I suppose that the support is equivalent to creating a module to work easily with the signTransaction of Ledger SDK.
// @ckb-lumos/ledger

interface LedgerSignTransactionPayload {
  rawTransaction: RawTransaction;
  witnesses: HexString[];
  context: RawTransaction[];
}

interface Params {
  transaction: Transaction | TransactionSkeleton;
  rpc: RPC | RPCURL;
}

type RPCURL = string;

declare function createTransactionPayload(params: Params): PromiseLike<LedgerSignTransactionPayload>;

Do you think that the createTransactionPayload function could be suitable for fulfillling the feature request?

I'm not sure because IMO it should be a provider to sign the transaction


Support for Exchange Type

Expected Behavior
Support for consistent hash exchange type, which is now supported by rabbit mq
Current Behavior

Context

The contribution is welcome: https://github.com/spring-projects/spring-amqp/blob/main/CONTRIBUTING.adoc

More info in: https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange

Well, it is possible even right now.
You just use a CustomExchange instance when declare it from the application context.
Although I still see a benefit in having a top-level API in the ExchangeBuilder.


can't ask a question

every time I want to ask a question, the chat gpt says that I have reached the request limit. when I open the chat history the answer chat gpt gives is "null", can you please help me?

Sorry for the inconvenience. I'm assuming you have reached your monthly usage limit. I would check and try increases this; if its not that I can investigate further.


In the form control wrapper wrap the elements inside a

Without wrapping inside a <div> the valiation feedback may be shown on other input-controls too, which is not intended.
Thus we need to wrap all controls related to the input inside a div, in order to scope the style to it.

Please don't close, mege instead 😉

Please don't close, mege instead 😉

Still the same.

@gfoidl Without wrapping inside a div the valiation feedback may be shown on other input-controls too, which is not intended. Can you show me an example?

From https://playcode.io/988904

The seconds input has no invalid set, also the red border isn't shown. But the feedbackInvalid is shown, which is wrong.
This PR corrects that behavior.

Dear bot, don't close and disable yourself.

@gfoidl I just checked it and an additional div breaks <CInputGroup /> layout.

Then this should be fixed (too).
In https://github.com/coreui/coreui-vue/pull/209#issuecomment-1282798171 when the <div>s are removed it's wrong behavior.
For my use I fixed this locally, and there's also a <CInputGroup /> -- the layout is correct and not broken.
Bootstrap didn't change in how the validation rules are specified, so a wrapper div for the inputs is needed.

@gfoidl please check this css
.input-group > .form-control,
.input-group > .form-select,
.input-group > .form-floating {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
.input-group > .form-control:focus,
.input-group > .form-select:focus,
.input-group > .form-floating:focus-within {
  z-index: 5;
}

if we add an additional div, then we will have something like that .input-group > div instead of .input-group >.form-control

Yep, that's right.
But
<script setup>
  import { ref, computed } from 'vue'

  const name = ref("");
  const age = ref();
</script>

<template>
  <CForm novalidate>
    <CFormInput label="Name" :value="name" feedbackInvalid="Name must be entered" invalid />
    <!-- Note no 'invalid' given here-->
    <CFormInput label="Age" :value="age" type="number" feedbackInvalid="Age must be given" />
  </CForm>
</template>

<style>
  form {
    width: 60%;
    margin: 1rem;
  }
</style>

Will show the feedbackInvalid on the second input where it should not be shown.
How would solve that issue otherwise?


Support lengthAdjust and textLength

Hello, I need to render svg with lengthAdjust and textLength attributes, but current version of library doesn't support these attributes.

Is there anything we can do about it? Sadly, this problem is unsolved for almost 3 years.

Well, we can implement it. It would take a couple of days, which I don't have. That's about it.

Done.
As always, no one really supports this feature, so I have no idea how exactly it should be implemented.


Adding or Removing Catalog Items

Hi Team,
I need to add some elements to the Catalog and also need to remove some items from Catalog List. What is the method to achieve this. Thanks.

I need to so the same. Did you find any solution?

Did you read the documentation?

Yes, I am now able to add my elements in the catalog but they are not
visible in the 3D view.
I am using .obj and .mlt file just like it is used in "sofa".
I have changes all the references to the files like .mtl, .obj, texture,
and image. Basically what is did is duplicate the sofa element and changes
all the ref in the planner-element.jsx.
Do I need to change anything else?
Thanks for your quick reply. I really appreciate it.
On Tue, Oct 22, 2019 at 4:28 PM Alessio Carrafa<EMAIL_ADDRESS>wrote:

Did you read the documentation?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cvdlab/react-planner/issues/181?email_source=notifications&email_token=ANQVXE6GVOZR676SHKMDO63QP3MDVA5CNFSM4ITGDBM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB5KEFY#issuecomment-544907799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANQVXE6GD3YS67LXSOYG4X3QP3MDVANCNFSM4ITGDBMQ
.

Wich program ( and version ) did you use for generate it? Did the developer console print errors/infos/logs?

I am using Visual Studio Code and Google chrome.
I am actually new to React and Three.
Do I have change any value or multiplier in the planner-emement.jsx?
On Tue, Oct 22, 2019 at 6:02 PM Alessio Carrafa<EMAIL_ADDRESS>wrote:

Wich program ( and version ) did you use for generate it? Did the
developer console print errors/infos/logs?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cvdlab/react-planner/issues/181?email_source=notifications&email_token=ANQVXE3ZHAH4KRQPI2WY4VLQP3XGHA5CNFSM4ITGDBM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB5R4FI#issuecomment-544939541,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANQVXE7RMDSX6SGLAFGFV33QP3XGHANCNFSM4ITGDBMQ
.


PyGrid Memory Leak

Describe the bug
At present, garbage collection is disabled by default on PyGrid to facilitate the ease of uploading new datasets to remote nodes using .send().
However, this functionality needs to be reversed because it means that garbage collections is disabled everywhere by default. This leads to memory leaks as observed by Adam Hall and in #433.
To Reproduce

Launch PyGrid Node.
x_ptr = th.zeros(1000,1000).send(pygrid_node)
Run

for i in range(1000):
    x_ptr = x_ptr + 1

Expected behavior
This should lead to a PyGrid node which only has 1 tensor on it, but with the current configuration it would lead to the PyGrid node having 1001 tensors on it.

@IonesioJunior whats the status on this....I think we fixed this yes?


Define the deployment pieces required for a local deployment

Currently the project is deployed as a SaaS. We need to identify a plan to make all of the components function in a local environment.
Need to decouple dependancies in:

Local Auth.
Move from Github to git.
Chat endpoints need to be local only if service endpoints are not defined.

Some of the self-hosted version of git can be explored as well for local deployments;
https://about.gitea.com/products/gitea/
https://github.com/go-gitea/gitea
https://github.com/gogs/gogs?tab=MIT-1-ov-file
https://gogs.io/
https://forgejo.org/

This enhancement is done through #314 and #412


Add native library sample

Fixes #4987 and #6644

Ah, thanks! Was trying to come up with some real-world fancy use case but I can save that for a blog post. Someone already found a use-case with Rust https://medium.com/@chyyran/calling-c-natively-from-rust-1f92c506289d

Thanks for the work and documentation (especially to @tonerdo, whose PR served us as a good example). We have a use case for this in our application that we previously implemented using NetFX and assembly rewriting. We implement an email client that provides the standardized Simple MAPI interface. For that we need to have a DLL with specific exported functions that can be loaded by any application. Using NetFX was painful because of lack of official support and conflicts between different runtime versions loaded into single process (unlike executable programs we cannot control it with manifests).


How to rename directus_token_expired_at

How to rename cookie directus_token_expired_at ?

Project alive?

@Intevel src/runtime/composables/useDirectusToken.ts
Add please ability to change expires cookie name :)

Hello @53RG1005,
Can you give us more context on what could be helpful or how it's creating an issue/bug with the current implementation?

Currently, we are in the process of changing the core of the module to the new SDK.
So we don't plan to add any additional features.


Starting android phone in aeroplane mode results in NetInfo.isConnected.fetch resolves to true when app is opened

Description
When an android device is rebooted in aeroplane mode, when the app is opened NetInfo.isConnected erroneously returns true
Reproduction

Turn on aeroplane mode and reboot phone
Open app
Observe that NetInfo.isConnected returns true, when it should be false

Solution
Changing this line:
https://github.com/facebook/react-native/blob/master/Libraries/Network/NetInfo.js#L72
to
return connectionType !== 'NONE' && connectionType !== 'UNKNOWN' && connectionType !== '';
may mean adding EMPTY to the ConnectivityStateAndroid enum as well?
Additional Information

React Native version: 0.40
Platform: Android (any version)
Operating System: Ubuntu

I was having issues with NetInfo in Samsung Android devices and your patch totally fixes them. However, my situation is a little different.
In these devices there is a battery saver Samsung app, that makes weird things when suspending the phone and then turning it back on and going back to the app. It makes the app think there is no connection and when you foreground the app, the event listener never sees a connection change, so it thinks there is no connection anymore, even though the user has data.
It only starts working again when the user actively switches from wifi to data or viceversa.
Thank you Brendan for this, it was driving me nuts.
Cheers,
Miguel

Glad it could help @maraujop, I have been meaning to get one of my colleagues macs so I can see why the build is failing and hopefully get it merged to master

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.


Inconsistent dimming

I have a bunch of dimmable Insteon switches in Indigo that are appearing in HomeKit just fine, but as non-dimmable on/off switches.  All the same hardware, all configured exactly the same in Indigo, but some allowing dimming in the Home app and some not. All can be dimmed in Indigo itself.

This project has been deprecated in favor of the HomeKit-Bridge plug-in (which uses Homebridge-indigo2 behind the scenes)


Explore the easiest way to work with McThings

For Python programming, my bet is to use Jupyter. It seems it is easy to install in Windows, and in Linux/OSX with pip is trivial: create a venv, install jupyter and start it.

For Minecraft, the local install with Forge does not need a server, so it should be the best one. Dos it work with Tlauncher.org? Yes But let's work first with the official Minecraft Launcher

So the first step is to install the Minecraft Launcher for your platform: https://www.minecraft.net/en-us/download (For Linux, go to https://www.minecraft.net/en-us/download/alternative/ and just download the https://launcher.mojang.com/download/Minecraft.tar.gz)
Execute it a first time and exit (so it creates the config files). The download the Forge installer from http://files.minecraftforge.net/ (1.12.2) and execute the jar to patch your minecraft client. After that, you can start another time minecraft and select the forge 1.12.2 execution.
For installing the mod for python you just need to drop https://github.com/arpruss/raspberryjammod/blob/master/mods.zip in the .minecraft/mods folder.
The start minecraft another time, execute the forge-1.12.2 execution env and select Single Player and start. And you are ready!
Summary for minecraft-launcher:

Install minecraft-launcher and execute it a first time and exit
Download from http://files.minecraftforge.net 1.12.2 version and execute it
Start minecraft-launcher and select the new forge 1.12.2 installation env and start and the exit
Copy https://github.com/arpruss/raspberryjammod/blob/master/mods.zip in the .minecraft/mods folder
Start minecraft-launcher and select the new forge 1.12.2 installation env and start and you are ready

With Tlauncher:

Download and install TLauncher: https://tlauncher.org/en/
Start it and select Forge 1.12.2 from the bottom install menu and install it.
Extract from https://github.com/arpruss/raspberryjammod/blob/master/mods.zip the right version to .minecraft/mods folder
[mods]$ unzip ~/Downloads/mods\(1\).zip "1.12.2/RaspberryJamMod.jar"
Start TLauncher install for Forge 1.12.2 and you are ready

Ok, it is pretty reasonable the effort needed. The main issue is that you can work in post 1.12.2 Minecraft, but this is a deep issue as we have seen in other tickets.


feat: Set Default theme as Dark and add toggle button

Title
feat: Set Default theme as Dark and add toggle button
Related Issue(s)
This pull request addresses the issue related to setting the default theme as dark and adding a toggle button for theme switching. #143
Additional Info
The ThemeProvider has been updated to set the default theme as dark and provide a toggle button in the UI for users to switch between themes. This enhancement improves user experience by allowing them to choose their preferred theme.
Screenshots

@Asin-Junior-Honore  Can you Please Fix Few things?

We don't need any Light mode. You can remove that toggle button
Overall section theme is not changing, Only a few parts of that.

We want and uniform deafult Dark theme.
For example these sections haven't changed:

@Arindam200
ok now am confused on what to do you mean they  shouldn't be able to toggle between light and darkmode?
please can you make the request more brief and detailed please 🙏

@Asin-Junior-Honore Sorry for the Confusion.
We want only the Dark theme, No light theme is needed (as the UI doesn't look good in light mode)
So We want if the User's default theme is light then also he/she should see the default dark theme for this Project.
Otherwise in light mode the project looks like this:

Where as we want that to be like this in light mode:

let me know if you have any other doubts

@Arindam200,
I have made some adjustments as you requested. Please take a look at the color combination I used below and let me know if I can push and commit these changes, or if further adjustments are needed. Thank you! 🥲

Hey @Asin-Junior-Honore
Please make everything the background black (what we have currently in the dark mode)

@Asin-Junior-Honore
All the Pages in Light mode should look like this:

@Arindam200 all done sir🙌

Great Work @Asin-Junior-Honore ! Thanks a lot for the great contribution!
Feel Free to Contribute more.


Unable to delete seccompprofile if one of node is deleted

What happened:
Unable to delete the seccompprofiles if one of the node deleted/updated because of the finalizers is not updated with the latest nodes. I'm not sure if this bug or as per design.
Thank you
What you expected to happen:
Possible if SPO update seccompprofiles on the Finalizers part to the latest k8s nodes?
How to reproduce it (as minimally and precisely as possible):

Start minikube with 3 nodes
$ minikube  start --kubernetes-version=v1.21.14 --nodes=3 --memory 4000 --cpus
Install SPO
Check the default SeccomProfiles, there are 3 finalizers

$ kubectl get seccompprofiles -n security-profiles-operator log-enricher-trace -o json | jq .metadata.finalizers
[
            "minikube-m03-delete",
            "minikube-m02-delete",
            "minikube-delete"
]

Delete one of the node

$ minikube node delete minikube-m03

The SeccompProfiles still have minikube-m03 as finalizers

$ kubectl get seccompprofiles -n security-profiles-operator log-enricher-trace -o json | jq .metadata.finalizers
[
            "minikube-m03-delete",
            "minikube-m02-delete",
            "minikube-delete"
]

I can't delete the seccompprofiles because the "minikube-m03-delete" is still exist (the old node that already deleted), unless if i patch it the finalizers like:

$ kubectl patch seccompprofiles log-enricher-trace -n security-profiles-operator -p '{"metadata":{"finalizers":[]}}' --type=merge

Anything else we need to know?:
I observed this on our Amazon EKS cluster, but for this testing i tested it on minikube with the same behavior. On our Amazon EKS clusters we have patching cycle that will delete the old node and bring up the new node (with new latest image). So after the patching the finalizers on the seccompprofiles still showing the old nodes, this make we can't delete the seccompprofles.
Environment:

Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Others:

This feels like a bug, thank you for reporting that!


Lahey specific OPEN args

There are a few open calls with unsupported arguments:
         open (UNIT=10,IOSTAT=istatus,ERR=512,FILE=afile,            ! using LU 10 for coefficient matrix file
     &        STATUS='REPLACE',ACCESS='TRANSPARENT',FORM='BINARY')

transparent -> stream
binary -> unformatted

Fixed in #3


Update all dependencies except for vishvananda/netlink

Why not netlink?

@ejj I included a note in the commit message: "The latest version vishvananda/netlink currently has an error where it fails to compile on Mac."

Ah, we should submit a PR.  I had to fix up several such errors to get it working in the first place.


Enable Shared Memory Swizzle Optimization for Batched Matmul

** ONLY review and DO NOT MERGE.  This PR needs an upstream LLVM patch (https://reviews.llvm.org/D148161) to be integrated into iree-llvm-fork.  **
This PR uses an upstream llvm patch to enable Shared Memory Swizzle for Batched Matmul.
This PR
BM_matmul_2x128x128x768_f16t_f16t_f16t_tile_config_64x64_64x5_tensorcore_mmasync  : 0.008 msec

IREE Mainline
BM_matmul_2x128x128x768_f16t_f16t_f16t_tile_config_64x64_64x5_tensorcore_mmasync  : 0.023 msec

Improves batched matmul performance by 2.8x for shape used for this PR's evaluation. This should also improve split-k matmul and more robust performance evaluation through IREE dispatch profiler is progress....

This is fine to merge even before the integrate as this won't break anything.


Winfsp-np not installing properly

Bug Report
Package Name: winfsp-np
Current Behaviour
Running installer script...
ERROR Exit code was 1639!
Linking C:\Scoop\apps\winfsp-np\current => C:\Scoop\apps\winfsp-np\2.0.23075
'winfsp-np' (2.0.23075) was installed successfully!

There is also a related issue: #85 but the code was 1639. I believe there is an issue with how script run the installer and something has changed.
Expected Behaviour
I expected to see no ERROR Exit code and successfully install Winfsp
Additional context/output
N\A
Possible Solution
N\A
System details
Windows version: 10
OS architecture: 64bit
PowerShell version: 7.3.4
Additional software: [(optional) e.g. ConEmu, Git] N\A
Scoop Configuration

{
  "last_update": "2023-05-08T00:51:03.6095485-06:00",
  "scoop_branch": "master",
  "scoop_repo": "https://github.com/lukesampson/scoop"
}

New information:
there is something wrong with the script and i looked up ERROR code:
Invalid command line argument. Consult the Windows Installer SDK for detailed command-line help.

Source

@Xelbayria you mind telling me if this fixes your issues? https://github.com/brian6932/dank-scoop/blob/master/bucket/winfsp-np-beta.json
I'm unsure if I fixed this one in the past, but ran into a lot of issues with winfsp in this bucket, so made my own a while back

Same problem with winfsp as before. I also have the same problem with sshfs-np.
I forgot to add one detail in my original post. When I run scoop install winfsp and after the installation, I get a popup screen which is the helper. Just like running winfsp --help which would call the same thing. When I run scoop uninstall winfsp, same popup screen. That goes for sshfs-np, too

@Xelbayria Try again
I did what I hinted at

And if it doesn't fix it for you, I have a pretty good idea of what can


Make changes to existing Employment page

Processing pipelines will need to be updated to accommodate the change in LFS statistics. We will also need a way to differentiate between old vs. experimental statistics, to be discussed with YFF.
The simplest way will likely be to add a new data layer to the hexmap for the experimental statistics (depending on the geography breakdown that is available)

[ ] Amend existing pipelines
[ ] Add new experimental stats to visualisations
[ ] Add description of new methodology

Closing #295 as completed


6.0.0-beta.1

Add DNS interface
Remove TLS env flags
Improve connectivity checks on writes
Update docs and examples

A lot of work has been done here and for 6.0 release in general. Thank you @aembke!
Now it looks much more reliable.
I gonna perform some my own failover  tests under the load with these changes today, but simple tests are working and looks like the issues were covered! 🚀

Hey @aembke!
Some of my observation with current state of PR:
In case one of re-connection (clustered) I'm able to face with the following logs:
fred-2HamTxultz: Recv CLUSTER SLOTS response: Null
fred-2HamTxultz: Rebuilding cluster state from host: localhost
fred-2HamTxultz: Changing cluster connections: ClusterChange { add: [], remove: [] }

So looks like there is no correct handling of such situations, when CLUSTER SLOTS slots returned Null for some reason 🤔
I also thought, if it's correctly to trust any response from the node?
Because node could became available before it's synced with cluster state.
I tried to check results of redis CLUSTER INFO in case if one of the node was restarted.
Just take a look at the example with redis-cli (cluster of 3 masters, without replicas):

CLUSTER INFO when cluster works fine (state - ok, size = 3)

redis-node-2:6379> CLUSTER INFO
cluster_state:ok
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:3
cluster_size:3
# ... some fields are ommited

CLUSTER INFO immediately after restarting (state - fail, and size = 1)

redis-node-2:6379> CLUSTER INFO
cluster_state:fail
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:3
cluster_size:1
# ... some fields are ommited

Question: if we would reconnect to this node, we will update slots incorrectly?  I see no checks for this, so I guess so.

But after some time, cluster became synced of course, and it returns state = ok, size = 3 again

redis-node-2:6379> CLUSTER INFO
cluster_state:ok
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:3
cluster_size:3
# ... some fields are ommited

Probably I'm missing something, but should we add some check for that? Because logs I've attached above looks weird
Let me know if I can help somehow, I can participate and send some patches if we would achieve understanding and agreement 🙂

Hey @DDtKey, thanks for diving into all that.
Yeah, the way it works now is not great. If CLUSTER SLOTS returns Null it results in an empty routing table and connection map, but doesn't fail on that step. Later when the caller tries to send a command to the server it'll fail and trigger the reconnect logic, and presumably the cluster state would have resolved itself in that time. That's not a great solution so I'll change it to check the state via CLUSTER INFO like you note.

Hey @DDtKey, let's move this conversation to a new thread somewhere on here since I think you're touching on some broader design discussions around when it's appropriate to do some magic that makes things "just work."
In this specific case I'm going to make the cluster_state:ok check a required check for any connections to a clustered node. From what I can gather from the CLUSTER INFO docs that seems to be the intention with that command. In my opinion it's valid to say that a cluster node that is "up" but unable to accept writes should be considered "down" generally.
I'll be adding a replica feature in the coming weeks but that will be explicitly opt-in for callers. There are consistency trade offs with replicas and I do not want to use them unless the caller is very aware that they're being used.

Yes, sure, thanks!


Use templates for guest package build pipeline

Unlike previous adoption of templates, I wasn't able to guarantee that the output was unchanged. So this PR moves to templates but also fixes some inconsistencies, and establishes a normal process for all builds. The build step also uploads packages, either to unstable or to staging. Then promote steps follow naturally from there. The windows package builds in guest-agent and compute-image-windows repos are separated out by package.
Tested on devcluster to ensure it applies and dependencies are correct, but there is a risk of breakage due to unavoidable size of the change, so I'll test all jobs except for stable promotions after merging.

Is it possible to share the fully rendered json here? That could help review as well.

Is it possible to share the fully rendered output here? That could help review as well.

this is available in the presubmit output

/lgtm


big reshuffle:

try to make 00_basis slightly more accessible and less terse
move CS API before Events, as it's meaningless to dive into specific events if you haven't been introduced to how the CS API works
Try to improve the beginning of the CS API by merging back in some of kegan's original v1 content (which has subsequently been deleted somewhere along the line?)
document m.presence event consistently
move typing from drafts to spec
move push stuff from drafts to spec
...and lots of other stuff

move push & typing from drafts into main spec.

I think I've addressed all of the feedback above.  Kegan: beyond the minutiae, any thoughts on whether this restructuring actually constitutes an improvement?


Unable to request new process from forkserver

Hi folks, thanks for writing this! I'm seeing this error whenever I try to use your AFLplusplus fork. I've tried different distros (Ubuntu, Arch) and changing the mutator library or the harness binary, to no effect.  Any ideas?  I can build upstream aflplusplus on the same machine and run it without any issues.
 λ AFL_CUSTOM_MUTATOR_LIBRARY=$WORKDIR/FormatFuzzer/jpg.so ./afl-fuzz -S ffmut -i testcases/images/jpeg -o jpg -x dictionaries/jpeg.dict -- $WORKDIR/libjpeg-turbo/build/djpeg @@
afl-fuzz++2.59d based on afl by Michal Zalewski and a big online community
[+] afl++ is maintained by Marc "van Hauser" Heuse, Heiko "hexcoder" Eissfeldt and Andrea Fioraldi
[+] afl++ is open source, get it at https://github.com/vanhauser-thc/AFLplusplus
[+] Power schedules from github.com/mboehme/aflfast
[+] Python Mutator and llvm_mode whitelisting from github.com/choller/afl
[+] afl-tmin fork server patch from github.com/nccgroup/TriforceAFL
[+] MOpt Mutator from github.com/puppet-meteor/MOpt-AFL
[*] Getting to work...
[+] Using exploration-based constant power schedule (EXPLORE)
[+] You have 8 CPU cores and 1 runnable tasks (utilization: 12%).
[+] Try parallel jobs - see /usr/local/share/doc/afl/parallel_fuzzing.txt.
[*] Checking CPU core loadout...
[+] Found a free CPU core, binding to #0.
[*] Checking core_pattern...
[!] WARNING: Could not check CPU scaling governor
[*] Loading custom mutator library from '/home/cjb/fuzz/formatfuzzer/FormatFuzzer/jpg.so'...
mutation_infop 0x7ffff7d83780
[+] Custom mutator installed successfully.
[*] Setting up output directories...
[*] Scanning 'testcases/images/jpeg'...
[+] No auto-generated dictionary tokens to reuse.
[*] Creating hard links for all input files...
[*] Loading extra dictionary from 'dictionaries/jpeg.dict' (level 0)...
[+] Loaded 14 extra tokens, size range 2 B to 5 B.
[*] Validating target binary...
[*] Attempting dry run with 'id:000000,time:0,orig:not_kitty.jpg'...
[*] Spinning up the fork server...
[+] All right - fork server is up.

[-]  SYSTEM ERROR : Unable to request new process from fork server (OOM?)
    Stop location : run_target(), src/afl-fuzz-run.c:145
       OS message : Broken pipe

Hey, I just tried setting up everything from scratch and running the exact command you used (djpeg) on a server here (running Debian 10) and it worked without a problem.
Is it possible that you're running out of memory (OOM)?
You could also try with the exact version 2.60c of AFL++ that we are based on (commit 842cd9dec3c4c83d660d96dcdb3f5cf0c6e6f4fb) and see if that works on your system.

Thank you very much @RafaelTupynamba, I really appreciate the response!
I tried to replicate your setup exactly with a Debian 10 VM of my own, and it works now.  Previously I was trying on Ubuntu 21.10 in a VM, and Arch on a physical machine with plenty of RAM, and got the same error in both places.  So I might have just been doing something wrong before that I stopped doing here, or there might be a problem with those newer distros.  I'll close the issue, and update it in future if I learn more about which case it might have been.  Thanks again!

Update: I think this is going to have been because this version of AFL++ doesn't accept clang versions newer than 10 (in llvm_mode/Makefile), which explains why the older distro worked.


Clear the search dialog after adding the selected found entity to the candidates

Why? A user may want to add next entities to candidates.

Fair enough. I just thought, that when you search for an entity using a substring (or prefix), you will hardly ever add multiple entries from the same result as candidates. And the more common thing would be to type another string to search for another candidate. But in the current implementation that means to first delete all the characters from the input field, which is a bit of a hassle. But I admit I may be wrong.
The second reason for that is, that without cleaning the search dialog, it just seems like we forgot to clean it. But that just also may be only me.
Let's ask others ( @tomas-knap , @istvan-satmari , @josef-janousek , @JanVana ), if they want to weigh in. Until then let's leave it open.

When I search something and then add it, there is no sense of leaving that in a search box further. Also it is really strange if I open the dialog and there is some search string pre-set from the past.
So please adjust it in a way that after adding a string, search is cleared.

When I search something and then add it, there is no sense of leaving that in a search box AND add text box further.

Well. there you have it, @KataBoku . Thanks, @tomas-knap !

But it is not that pressing, moved to iteration 5. Otherwise @KataBoku thanks for the search adjustments, it starts to be useful!


Question: multiple unrelated consul endpoints

Is interaction with multiple unrelated consul endpoints supported and if not, would such a feature be within the scope of this project?
My specific use-case that I want to implement with consul-templaterb is replacement for Prometheus' own intentionally limited (and possibly buggy) consul_sd. Due to the stance of the Prometheus project developers that if one needs anything more complex than they have already implemented, one should use some external tooling to produce a file with metrics endpoints and their settings, consul-templaterb seems like a great fit. But... my setup involves multiple unrelated (i.e. not federated using datacenters mechanism) consul clusters. The set of additional consul clusters is dynamic and is obtained from the main consul cluster. Specifically, consul agents connected to those clusters are registered as services in the main consul cluster.
Of course, I could try cascading multiple instances of consul-templaterb but that seems to be a tricky kludge.

@kshpytsya Well, for now I would like to avoid this to avoid over complexifying the codebase as it would break the existing templates (aka, a way to specify a particular instance of a given cluster).
Furthermore, having one single agent allow to be broken when the while cluster is down (and to have a particular behavior in that case), but what if 1 cluster is broken and not the other ones, mixing several clusters in a single template?
So, unless you come with a nice PR dealing with those issues, I would say it is probably not a priority on our side :-)
We are already doing in very large production what you describe, but we try - as much as possible - to have clear separation between datacenters for instance to reduce the risk of a big resilience issue (you might have a look to https://medium.com/criteo-labs/mixing-observability-with-service-discovery-2bb8909e8530 on how we are doing this).
As a side note, as you already noticed, it is still possible to mix several instances of consul-templaterb on a single machine (and ask your prometheus - if you want to do so - to use several files and use all those files to have a single instance fetching data from various clusters). It is even possible to have a single template source using different parameters (see https://github.com/criteo/consul-templaterb/#generate-multiple-templates )

Thank you for your elaborate answer. It looks I am just going to implement the functionality I need in my language of choice, namely Python.

Hello @kshpytsya,
After some thinking, and a in depth look at the code, the patch to achieve what you wanted to do is not that difficult, so I implemented it in Release 1.26.0.
There is an advanced example on how doing it here:
https://github.com/criteo/consul-templaterb/blob/master/samples/all_services_multi_agents.txt.erb
I hope it will help you, but most methods do now support to add agent: http://address_of_consul_or_vaul:port, so you can federate multiple clusters if you want.
See https://github.com/criteo/consul-templaterb/blob/master/TemplateAPI.md for more information.


Go

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I'll branch the go branch and create a new PR


There is a new release of ansible-conjur-collection

Pending the merge of ansible-conjur-host-identity into the collection, there is a new release for the ansible-conjur-collection.

[ ] Add a tag in the collection that announces the role, and follows our release plan for this project

This issue is connected to: https://github.com/cyberark/ansible-conjur-host-identity/issues/30 and #30

Let me know if I can help somehow, @BradleyBoutcher.  My demo is pending inclusion of this role in the collection. :)

The release depends on #45 and maybe #44 / #47
Maybe your demo helps answer #47? Reading the README, the UX of using the lookup plugin and the role together looked odd (eg configure one with env vars and one in playbook - how do they play nicely together?)

Closing as a duplicate of #53 - note that #44, #45, #57 are still outstanding, but since releasing this unblocks some other work and we have not changed the Ansible role functionality as we ported it, we will review those items in future releases that work to continue to improve this collection.


Fix archiving status message clobbering

I did some digging and noticed that the std.log module uses a stderr writer, and locks around it. I did the same for the direct logging we do in the archiver, and that fixed some message clobbering that would happen during a burrito release.
This currently uses the older style of Mutex locking, which was changed in https://github.com/ziglang/zig/commit/008b0ec5e58fc7e31f3b989868a7d1ea4df3f41d.
Before

info: Zig is building an Elixir binary... ⚡
info: Generating and compressing release payload... 📦
info: 🔍 Files Packed: 3776
Archived 3776 files into payload! 📥info: Building wrapper and embedding payload... 🌯
info: DONE 🚀

After

info: Zig is building an Elixir binary... ⚡
info: Generating and compressing release payload... 📦
info: 🔍 Files Packed: 3776
info: Archived 3776 files into payload! 📥
info: Building wrapper and embedding payload... 🌯
info: DONE 🚀

LGTM, Thanks Ben!


Request add Support Snippets

Request add Support Snippets like Gist Github

Thanks your feedback!
But this is duplicated to https://github.com/gogits/gogs/issues/936


🐛 [FCM] Failed to Build AAR in flutter module using firebase messaging

Failed to build AAR during the assembleAarDebug stage with:
Firebase messaging 9.0.0-11.2.6
Firebase core 1.12.0
**ERROR:

FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task ':firebase_messaging:uploadArchives'.

Could not publish configuration 'archives'

Could not write to file '/root/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.2.6/android/build/poms/pom-default.xml'.**

Steps to reproduce
Steps to reproduce the behavior:

Create fresh flutter module
Add firebase_messaging 9.0.0 - 11.2.6
Build AAR

Expected behavior
FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task ':firebase_messaging:uploadArchives'.

Could not publish configuration 'archives'

Could not write to file '/root/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.2.6/android/build/poms/pom-

Additional context
We are using a flutter module that connects to a native app. Upon adding firebase, the build aar fails. However, the flutter sdk we are using is 2.5.3, so the firebase messaging version that we can use is around 11.2.6 and below.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.6.1 21G217 darwin-arm, locale en-PH)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[!] Android Studio
    ✗ Android Studio not found at /Applications/Android/Contents
[✓] VS Code (version 1.74.2)
[✓] Connected device (1 available)

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.14.4
Flutter SDK 2.5.3
sendbird_module 1.0.0+1

dependencies:
- firebase_core 1.12.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_messaging 10.0.2 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_messaging_platform_interface 3.0.2 [firebase_core flutter meta plugin_platform_interface]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.8.1 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.15.0
- fake_async 1.2.0 [clock collection]
- firebase_core_platform_interface 4.2.4 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.6.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_web 2.0.2 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- js 0.6.3
- matcher 0.12.10 [stack_trace]
- meta 1.7.0
- path 1.8.0
- plugin_platform_interface 2.1.3 [meta]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- vector_math 2.1.0

Thanks for the report @jordynympasor

we are using is 2.5.3, so the firebase messaging version that we can use is around 11.2.6 and below.

This could be one of the reasons as why you are seeing the behavior. Current stable is 3.3.10 and plugin version is 14.2.0. The framework along with plugin have gone through lot of changes since the version you are on, so upgrading to latest configuration would most probably fix your issue, since all dependencies, gradle and kotlin versions have been upgraded, so you'll most probably need to upgrade, because even though there would have been an issue in framework or plugin version you are using, the potential fix would be made using the latest versions and not the ones you are on.
So I recommend to upgrade your project setup, be on latest and greatest versions of framework along with all plugins from your pubspec.yaml and try again to see if you still see the same error or not.

Thanks for the report @jordynympasor

we are using is 2.5.3, so the firebase messaging version that we can use is around 11.2.6 and below.

This could be one of the reasons as why you are seeing the behavior. Current stable is 3.3.10 and plugin version is 14.2.0. The framework along with plugin have gone through lot of changes since the version you are on, so upgrading to latest configuration would most probably fix your issue, since all dependencies, gradle and kotlin versions have been upgraded, so you'll most probably need to upgrade, because even though there would have been an issue in framework or plugin version you are using, the potential fix would be made using the latest versions and not the ones you are on.
So I recommend to upgrade your project setup, be on latest and greatest versions of framework along with all plugins from your pubspec.yaml and try again to see if you still see the same error or not.

Yep, you are right. Upon checking with flutter version 3.3.10, it worked. Unfortunately we need to work with version 2.5.3 for now. So in the meantime I think we'll just use this workaround https://github.com/firebase/flutterfire/issues/3978#issuecomment-825601559


Suggest creating a new release after merging a PR in first-published-tag-for-merged-pr

Closes https://github.com/refined-github/refined-github/issues/3619

Test URLs

Any merged PR that hasn't been released, like https://github.com/refined-github/refined-github/pull/5767
Any PR you're about to merge

Screenshot
https://user-images.githubusercontent.com/1402241/177048660-f7f23249-4635-47f1-9d6b-5fbf8df16291.mov

Merged but feel free to review and suggest copy changes, etc. I just wanted to unblock https://github.com/refined-github/refined-github/pull/5766

really going in the way

It's a notice, you can ignore it. I don't see it as a big issue

Come to think of it why is it part of one feature?

Because they do the same thing:

has this PR been released?

yes: link to it
no: can the current user release it?

yes: link to new release
no: 🤫

Not sure if this is the place to discuss, but I also find the suggest to create a release quite annoying. Mostly on a private repo which doesn't have any releases and won't get any in the future either. Is it possible to hide it when the repo doesn't use releases at all?
I also find it a little hard to hide via css, since the code example posted seems very fragile.

Can you make a new issue?

I don’t get the point.  There’s a big “Close and comment” button in every conversation, but you rarely do that. Should it be hidden? 🤷♂

This is a banner ot sticks out


[Feature][Agent] Support collect data from SQLServer

Description
you can refer to:
https://inlong.apache.org/docs/next/design_and_concept/how_to_write_plugin_agent
Use case
No response
Are you willing to submit PR?

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

Code of Conduct

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

I want to try it.

@haibo-duan assigined to you, thanks.


The current Ui of the script can be improved

Description
The current Ui of the script is a bit outdated and can be replaced with a better looking UI.Instead of tinkter , customtkinter library can be used in the GUI_script.py for creating a smooth and modern UI
Changes

Re-wrote the whole GUI_script.py.
Moved the  code = """   class Complex:       def __init__(self, x, y):           self.x = x           self.y = y       """ block inside the else block.This will make the code a bit more cleaner and readable.
Added a new attribute named Code in the Type function.

How to test
The new UI can be tested by just running the GUI_script.py in a virtual environment having all the requirements installed.
Screenshots
Dark Mode

Light Mode

@Mr-Sunglasses can you test this locally?

@Mr-Sunglasses I have added a prompt , to be shown after the script has done writing. Tell me if there are any more changes

@RyanWalker277 Sure Testing the Changes...

@RyanWalker277, @tushar5526 Successfully merged #34. That resolves this issue, So closing this Issue as it was resolved.


Custom preview source

Add option to specify a callback, which will return rendered markdown instead of using default editor.constructor.markdown
It can be useful in cases when editor is used with richer markdown superset, than it supports by default. For example, callback can make request to a server, which can render this richer subset properly and display that.
We're using this approach already in allura but it requires copy&pasting togglePreview method, which requires synchronization whenever new version is released.
Also, events or custom callbacks for preview open/close events would be useful, e.g. to add some custom styles to the editor.

These sound like good ideas. Would you want to create a PR that features these changes?


Add Netimgui support

I'm not expecting this to be merged as-is, but maybe to start discussion.
This PR adds support for netimgui, by adding the netimgui client libraries and disabling direct rendering and input if a netimgui server is connected. This allows imgui content to be displayed and interacted with in a separate window, and also from a separate host computer. This is particularly useful on mobile, where screen space is limited and interactions are fiddly.
Tab1 in the example has options to connect to a specified Netimgui server application, or to wait for a connection from any server. This way, the netimgui support makes no difference to existing applications unless a connection method is explicitly enabled.
The Netimgui distribution only includes a Windows build process (using Sharpmake to generate VS project files), but I've built the server app for macOS with CMake, and will try later to create an Xcode project with Sharpmake which is more likely to be accepted as a PR by the project maintainer.

Pretty cool to be honest! I've been thinking a bit about how to use various Dear ImGUI widgets and plugins and I believe that the best option is to create them as separate extensions. I think you could do this here as well. We just need to add a way for  extension-netimgui to modify the static void imgui_NewFrame() function to call NetImgui::NewFrame(); instead of Imgui::NewFrame();


C26449: escaping URL to display it as text

Hello, @jrjlee ,
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
"Example URL at line 109 is displayed as a link, it must be escaped in order to be displayed as text"
Please review and merge the proposed file change to fix to target versions. If you make related fix in another PR then share your PR number so we can confirm and close this PR.
Many thanks in advance.

Thanks @guardrex


test_image.py invalid arch

hello,
I've tried to run inference using the test_image.py script but am receiving the following:
$SRGAN-PyTorch$ python test_image.py --lr lr.png --hr hr.png -a srgan_4x4_16 --upscale-factor 4 --pretrained --device 0
Receive the following error:
usage: test_image.py [-h] --lr LR --hr HR [-a ARCH] [--upscale-factor {4}] [--model-path PATH] [--pretrained] [--detail] [--outf PATH] [--device DEVICE] test_image.py: error: argument -a/--arch: invalid choice: 'srgan_4x4_16' (choose from 'discriminator', 'load_state_dict_from_url', 'srgan', 'srresnet')
I then attempted:
$SRGAN-PyTorch$ python test_image.py --lr lr.png --hr hr.png -a srgan --upscale-factor 4 --pretrained --device 0
Receive the following error:
Traceback (most recent call last):   File "test_image.py", line 65, in <module>     estimate = Estimate(args)   File "/home/user/SRGAN-PyTorch/tester.py", line 138, in __init__     self.model, self.device = configure(args)   File "/home/user/SRGAN-PyTorch/srgan_pytorch/utils/common.py", line 56, in configure     model = models.__dict__[args.arch](pretrained=True, upscale_factor=args.upscale_factor).to(device) TypeError: srgan() got an unexpected keyword argument 'upscale_factor'
Steps to reproduce on debian box:
$ git clone https://github.com/Lornatang/SRGAN-PyTorch.git
$ cd SRGAN-PyTorch/
$ pip3 install -r requirements.txt

@jayabrams
I'm trying to train a new model. He's finished soon. Please wait.  It is better.

@jayabrams
I'm trying to train a new model. He's finished soon. Please wait.  It is better.

@jayabrams This error is fixed.


[BUG] JSON schema import fails

Describe the bug

JSON schema import as a Document silently fails, even the dropdown stays. Sometimes it succeeds, could be some timing issue?
To Reproduce

Import JSON schema file as a source Document

Screenshots

It worked once I reload the whole page (F5)

I went to my local atlasmap/standalone and mvn clean spring-boot:run followed by http://localhost:8585/ in a separate browser window in various sequences and can not get the schema source to fail to load (still using the fix here). I also tried the fully standalone java -jar ~/git-clone/atlasmap/standalone/target/atlasmap-standalone.ja as well as the standard storybook atlasmap instance - also unable to get it to fail for me. Perhaps a browser instance issue? Version 90.0.4430.212 (Official Build) (64-bit)

Same thing happens with XML instance... now it only succeeds like once in 10 attempts. I'm with 98.0.4758.102 (Official Build) (64-bit)

Hey - good news and bad news - I updated Chrome to your version and it fails for me now too!


Group captured warnings under separate issues

Prior to https://bugs.python.org/issue46557 being addressed, warnings captured by logging.captureWarnings(True) were logged with logger.warning("%s", s) which caused them to be grouped under the sameissue. This change adds special handling for creating separate issues for captured warnings arriving with the %s format string by using args[0] as the message instead of the msg arg.
Refer to: https://docs.python.org/3/library/logging.html#logging.captureWarnings

@mnito I have made some cosmetic changes to your branch to make it more readable

I have one question @mnito can we check for messages from warnings module in another way other than record.msg == "%s"? This feels a little bit unstable to check for "%s" in the message

I have one question @mnito can we check for messages from warnings module in another way other than record.msg == "%s"? This feels a little bit unstable to check for "%s" in the message

Maybe the intent isn’t clear here, but the check for “%s” is important to this change. Even before this change, logged warnings were always captured by the Sentry SDK — however they are grouped under a single issue due to “%s” always being the logged string and the actual message being the first arg (this behavior is within CPython’s logging library). I changed that behavior in an approved change to CPython itself, but this change is a workaround for Python versions that won’t have that change since it likely won’t be backported.

@mnito could you format the logging.py file so our CI won't complain? Thanks!
See:
https://github.com/getsentry/sentry-python/runs/5126865254?check_suite_focus=true

@mnito could you format the logging.py file so our CI won't complain? Thanks!
See: https://github.com/getsentry/sentry-python/runs/5126865254?check_suite_focus=true

Done ✅

Fixed the mypy failure as well ✅

Uh yeah! 👍
Thanks a lot!

This is merged now @mnito Thanks for your contribution! It will be released with the next version of the SDK (probably in 1-2 weeks)

Sounds good. Thanks!


Fix vscode-textmate dependency

Describe in detail the problem you had and how this PR fixes it
There was a 'vscode-textmate' dependency for the CoenraadS.bracket-pair-colorizer-2 extension, which included 'oniguruma' as a dependency. This PR adds a section to the bootstrapFork module requirement which will allow the inclusion of dependencies that should exist with the unpacked version of VS Code.
Is there an open issue you can link to?
https://github.com/codercom/code-server/issues/200#issuecomment-473182369

Fixed!!!  I de-installed the extension Debugger  for Chrome from VSCode and it now works.   Must have been a conflict for redundant modules.

I don't think this is a problem anymore. Would be good to check. cc: @foresthoffman

@kylecarbs I believe it is. Going to close this out.


fix #1992

This has been fixed in another pull request. Thanks for taking the time to look into this!


Datepicker/dropdown: month/year dropdown lists appearing at wrong place when opened (Angular)

Bug already reported?

[X] I confirm that I have checked if the bug already has been reported
I have checked the issues list, but this bug had not been reported anywhere else

For which framework/library you are reporting the bug
Angular
Component name
Datepicker (maybe dropdown as well)
Description
Hello all,
After updating our project's SEB Green to version 3.0.4 we've noticed a strange behaviour that for some reason our datepicker month and year selection lists are appearing not right below the dropdown button but somewhere else in the page.
According to one of my colleagues @viliusmac it seemed to work properly on previous implementation of datepicker, but the issue must have started to appear after the fix https://github.com/sebgroup/green/pull/1181 and updating project's @sebgroup/green-angular version to 3.0.4. The issue does not seem to be reproduced at Angular datepicker's storybook page.
Steps To Reproduce
We have noticed the issue at our project when running locally or running it as MFE within one of Business Arena's testing environments.
Issue does not seem to reproduce at your storybook page here: https://sebgroup.github.io/green/latest/angular/?path=/docs/components-datepicker--custom-options .
Please contact me directly for more specifics about how do we manage to reproduce this issue.
Current Behaviour
Datepicker's month and year dropdown list appears in a different, more random place:

Expected Behaviour
Datepicker's month and year dropdown list should appear just below the dropdown button (standard dropdown behavior). Same as it does at https://sebgroup.github.io/green/latest/angular/?path=/docs/components-datepicker--custom-options

@karolis-leonas I am hoping (fingers crossed) that this is fixed in https://github.com/sebgroup/green/releases/tag/%40sebgroup%2Fgreen-core%401.5.1
It is a sub-dependency of @sebgroup/green-angular, so just run npm update to get the latest patch release.
I will close this issue now, but we'll reopen if the problem remains in 1.5.1


<EMAIL_ADDRESS>breaks the build: "No CloudFormation template found" for Cognito Trigger lambda functions

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16
Amplify CLI Version
10.6.2
What operating system are you using?
MacOS locally, also happens on Amplify CI standard Linux build image
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No.
Describe the bug
After Amplify CI upgraded @aws-amplify/cli to version 10.6.2, our build started to fail with the following error:
2023-01-23T11:59:44.913Z [WARNING]: ✖ There was an error initializing your environment.
2023-01-23T11:59:44.918Z [INFO]: 🛑 No CloudFormation template found at /codebuild/output/src794822960/src/poetics/amplify/backend/function/CognitoCustomMessage/CognitoCustomMessage-cloudformation-template.json

The same issue can be replicated by upgrading tot 10.6.2 locally on my development machine.
Unsure if this is relevant, but the file that it's looking for has a different name in our project (as generated by the Amplify project scaffold ages ago):
- amplify/backend/function/CognitoCustomMessage/CognitoCustomMessage-cloudformation-template.json
+ amplify/backend/function/CognitoCustomMessage/poetics28e16a8dCustomMessage-cloudformation-template.json

Where poetics28e16a8d is the name of our Cognito auth resource.
Downgrading @aws-amplify/cli to version 10.6.1 fixed the issue, both locally and in CI by overriding the version in Build Image settings Live package updates section.
Having a quick browse of the 10.6.2 release notes, this line looks suspicious:
https://github.com/aws-amplify/amplify-cli/commit/fdcb20afffdb6b9d163d60c98f52da253ba04e77#diff-113485343220ae9dc8efa3c39035b1ba034a31e5ac212bb6a1b557a9550cebfcR16
      const templateSourceFilePath = path.join(pathManager.getBackendDirPath(), AmplifyCategories.FUNCTION, functionName, `${functionName}-cloudformation-template.json`);
      const { cfnTemplate } = readCFNTemplate(templateSourceFilePath);

Here, the ${functionName}-cloudformation-template.json interpolation would produce exactly the file name that is not matching. It's not clear to me if the logic in this interpolation is incorrect, or if the functionName is being reported incorrectly.
For all our generated Cognito trigger functions, the file CloudFormation template file name appears to be like:
${authResourceName}${functionName}-cloudformation-template.json

Hope this helps!
Expected behavior
Build doesn't fail
Reproduction steps
I haven't tried to reproduce this on a new project, but I would try something like:

Create new Amplify project
Add Cognito Auth with triggers
Run amplify push

Unless the project template has been changed to name the Cognito Trigger lambda without the Auth resource prefix, this should probably fail
Project Identifier
277e04d4c8c29e7767a630177599f562
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hi @jevakallio
I wasn't able to reproduce this locally with repro steps.
Though I found something in your code as you mentioned 10.6.2 updated the functions paths  as below:
- amplify/backend/function/CognitoCustomMessage/CognitoCustomMessage-cloudformation-template.json
+ amplify/backend/function/CognitoCustomMessage/poetics28e16a8dCustomMessage-cloudformation-template.json

Expected Trigger ResourceName: poetics28e16a8dCustomMessage

Cx Trigger ResourceName: CognitoCustomMessage

In backend-config.json all the triggerNames are similar to above pattern.
This is my experimental backend config file:
{
  "auth": {
    "testtrigger32877fe392877fe39": {
      "customAuth": false,
      "dependsOn": [
        {
          "attributes": [
            "Arn",
            "Name"
          ],
          "category": "function",
          "resourceName": "testtrigger32877fe392877fe39CustomMessage",
          "triggerProvider": "Cognito"
        },
        {
          "attributes": [
            "Arn",
            "Name"
          ],
          "category": "function",
          "resourceName": "testtrigger32877fe392877fe39PostConfirmation",
          "triggerProvider": "Cognito"
        }
      ],
      "frontendAuthConfig": {
        "mfaConfiguration": "OFF",
        "mfaTypes": [
          "SMS"
        ],
        "passwordProtectionSettings": {
          "passwordPolicyCharacters": [],
          "passwordPolicyMinLength": 8
        },
        "signupAttributes": [
          "EMAIL"
        ],
        "socialProviders": [],
        "usernameAttributes": [],
        "verificationMechanisms": [
          "EMAIL"
        ]
      },
      "providerPlugin": "awscloudformation",
      "service": "Cognito"
    }
  },
  "function": {
    "testtrigger32877fe392877fe39CustomMessage": {
      "build": true,
      "providerPlugin": "awscloudformation",
      "service": "Lambda"
    },
    "testtrigger32877fe392877fe39PostConfirmation": {
      "build": true,
      "providerPlugin": "awscloudformation",
      "service": "Lambda"
    }
  },
  "parameters": {
    "AMPLIFY_function_testtrigger32877fe392877fe39CustomMessage_EMAILMESSAGE": {
      "usedBy": [
        {
          "category": "function",
          "resourceName": "testtrigger32877fe392877fe39CustomMessage"
        }
      ]
    },
    "AMPLIFY_function_testtrigger32877fe392877fe39CustomMessage_EMAILSUBJECT": {
      "usedBy": [
        {
          "category": "function",
          "resourceName": "testtrigger32877fe392877fe39CustomMessage"
        }
      ]
    },
    "AMPLIFY_function_testtrigger32877fe392877fe39CustomMessage_REDIRECTURL": {
      "usedBy": [
        {
          "category": "function",
          "resourceName": "testtrigger32877fe392877fe39CustomMessage"
        }
      ]
    },
    "AMPLIFY_function_testtrigger32877fe392877fe39PostConfirmation_GROUP": {
      "usedBy": [
        {
          "category": "function",
          "resourceName": "testtrigger32877fe392877fe39PostConfirmation"
        }
      ]
    }
  }
}

As you can see triggers are <authResourceName>-<CustomMessage> which is different in the backend-config.json shared using project identifier.
I have some questions:

Do you have which version were these triggers created ?
When you mentioned 10.6.1 fixes the issue on hosting and local , Does this fixes the naming of the trigger resource file locally ?
Can you try adding one more trigger using amplify update auth with latest amplify cli version and check under which name the trigger is created

Hi!
You're right, in our backend-config.json, the referenced function resource names are not prefixed as in your experimental file:
  "auth": {
    "poetics28e16a8d": {
      "customAuth": false,
      "dependsOn": [
        {
          "attributes": [
            "Arn",
            "Name"
          ],
          "category": "function",
          "resourceName": "CognitoCustomMessage",
          "triggerProvider": "Cognito"
        },

I don't know what exact version of the CLI created the files, since at that time Amplify didn't add the Description field to the CloudFormation template. The files were created on Nov 5 2022, the first time the Description field appears is Nov 22, 2022 (~2 weeks later) with version 7.4.5:

"Description": "{\"createdOn\":\"Mac\",\"createdBy\":\"Amplify\",\"createdWith\":\"7.4.5\",\"stackType\":\"function-Lambda\",\"metadata\":{}}",

There is no change in the naming of the trigger resource file between running on 10.6.1 and 10.6.2 -- the difference is that on 10.6.1 you don't yet run the readCFNTemplate function which throws the error, so it bypasses the error for now.

I'm a little hestitant to run amplify update auth at this time. In the past when I've ran this command, it's messed up our project to an unworkable state that was hard to recover from. Before I run it, I'll need to create a new throwaway environment which in our case takes a few manual steps that I don't have time for today. Will do this when I have time to loop back to addressing the root cause of this issue.

I've ran amplify update auth to no effect.
I've also tried to update my backend-config.json with the auth resource prefixed names as per your testtrigger project, but the same issue persists.

Ran into the same error message
No CloudFormation template found at /codebuild/output/src908609996/src/connect-amplify/amplify/backend/function/signuphandler/signuphandler-cloudformation-template.json

The checked in file is amplify/backend/function/signuphandler/signUpHandler-cloudformation-template.json so it is
signUpHandler-cloudformation-template.json vs.
signuphandler-cloudformation-template.json

I can confirm this issue is now resolved by renaming the CloudFormation files for the trigger lambdas to match the ones in amplify-meta.json.
Build and deploy works now on 10.7.1, so for my part we can close this issue. Keeping open now as @fooman above has reported a similar problem.

Had the same issue. After renaming the cloud formation file in the lambda according to amplify-meta.json, the issue is gone.

Closing as this issue has since been resolved. When modifying a Cognito trigger's directory name to use a more recognizable name it was found later versions of Amplify CLI were attempting to reference the auto-generated resource names. After renaming the directories to match the names shown in amplify/backend/amplify-meta.json this issue was resolved.


Declarative Transformations API

Description
Introduce a higher-level Importer API that provides a declarative approach to transformations

offer a clearer API for developers to access that follows a consistent pattern
define a no-code configuration for most common transformation phases
allow for block-level transformation extensions
provide default metadata handling to avoid code duplication
opens the door for easier transformation automation
separates block transformations into their own modules

Related Issue
Fixes: #355
Motivation and Context
The AEM Importer import scripts are a powerful tool for manipulating a DOM into an Edge Delivery compatible format. These scripts however need to be written by developers with a high degree of knowledge of DOM APIs. The addition of a declarative transformation API on top of the existing low-level import script opens mor doors for less technical users to begin importing content by simply defining a collection of CSS selectors. Additionally, a no-code approach to defining import rules also allows them to be more easily created by automation and for them to be POSTED to a service to enable long running imports.
This feature does not introduce any breaking changes to the AEM Importer. The import script however can now be a JSON file or a JS object. This JSON structure (the ruleset) can then be passed to a createImporter factory that generates a valid import script. The Transformer class is able to consume a ruleset and runs through a series of phases to clean up the DOM and then generate any desired blocks through the use of CSS selector logic.
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Import Ruleset Example
{
  "root": "main",
  "cleanup": {
    "start": [
      ".cookie-status-message",
      ".breadcrumbs",
      ".messages",
      ".sidebar",
      "h1 + ul.instruments-menu",
      "h1"
    ]
  },
  "blocks": [
    {
      "type": "metadata",
      "target": "append",
      "params": {
        "metadata": {
          "keywords": "[name=\"keywords\"]",
          "Publication Date": "[property=\"og:article:published_time\"]",
          "category": [
            [":scope:has(.is-blog .post-list) .webinar-speaker-img", "Webinars"],
            [":scope:has(.is-blog .post-list)", ""]
          ],
          "series": [
            [":has(.is-blog .post-list) .webinar-speaker-img", ""]
          ],
          "eventDate": [
            [":has(.is-blog .post-list) .webinar-speaker-img", ""]
          ],
          "speakers": [
            [":has(.is-blog .post-list) .webinar-speaker-img", ".webinar-speaker-img + strong"]
          ]
        }
      }
    },
    {
      "type": "overview",
      "selectors": [
        ".entry div:has(div > p > img)",
        ".entry > div > div:first-of-type:has(div > img)"
      ],
      "params": {
        "cells": [
          ["div:has(p > img)", ":scope > div:last-child"]
        ]
      }
    },
    {
      "type": "columns",
      "selectors": [
        ".entry > .about-content",
        ".desc-img-wrapper:has(> :nth-child(2):last-child)"
      ]
    }
  ]
}


Travis is failing

I updated the docs and was surprised to see all the Travis failures.

The job exceeded the maxmimum time limit for jobs, and has been terminated.
https://travis-ci.org/google/EarlGrey/jobs/116943768

Executed 208 tests, with 2 failures (2 unexpected) in 2361.286 (2361.643) seconds
https://travis-ci.org/google/EarlGrey/jobs/116943769

Thanks for bringing this to our attention @bootstraponline, we're currently working on fixing these issues.

Travis has a hard limit of 50 minutes for Mac builds. If there was some way to cache the app build instead of recompiling every time, that might help.
For appium, we've had to use an open source cloudbees account with on premise executors (via AWS) because Travis doesn't play nice with lots of UI tests.

Yeah it's been pretty annoying trying to work around that. Also, Travis has a log size limit of 2 (or 3) mb I don't quite recall exactly. I switched to using xcpretty for that reason however I think xcpretty sometimes hangs or at least doesn't output stuff which makes travis believe xcodebuild is stuck for more than 10 mins and it terminates our test run.

Yeah, another awesome feature of Travis:

If no output is received from a build for 10 minutes, it’s assumed to have stalled for unknown reasons and is subsequently killed.
https://docs.travis-ci.com/user/common-build-problems/

Probably why Swift provides their own hardware for CI. Hopefully Google has some way of provisioning Macs for builds. I wish there was an AWS like service for Mac builds (without silly timeouts).

Travis uses MacStadium. Using them directly would mean no limits on the builds. For CI, it'd be easy to plug into a free cloudbees jenkins account.

Does this still need to be open?

Yes, Travis is still failing.
https://travis-ci.org/google/EarlGrey

Duplicate of https://github.com/google/EarlGrey/issues/181


[Linux] SteamVR streams, but games does not

Description
I have been able to get SteamVR stream to my Quest 2, but when I launch a game, it only opens in the PC and isn't streamed to the PC. I am not sure if this is a ALVR or SteamVR issue.
Other details:

SteamVR is always on that "limbo" view. But I can summon the menu and start a game from there.
Once the game opens, I does not receive input from controllers or headset. My best guess is that they don't even see each other.
Did try with different games and got the same result
Using an AMD GPU, encoders installed

General Troubleshooting

[X] I carefully followed the instructions in the README and successfully completed the setup wizard
[X] I read the ALVR Wikis here and here

Environment
Hardware
hw-probe
Installation
ALVR Version:
v20.4.2 & nightly
ALVR Settings File:
default
SteamVR Version:
latest
Install Type:

[X] Packaged (exe, deb, rpm, etc)
[ ] Portable (zip)
[ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions):
Fedora Linux 38 (Workstation Edition)

Do you get to the Steam Home screen at some point?
Also, did you see the "SteamVR requires superuser access to finish setup." dialog?

Sounds like something that would happen with a sandboxed flatpak install, have you tried the AppImage?
At least for me v20.4.2 as AppImage runs well on Fedora 38 (also Quest 2). I'm currently using an NVIDIA GPU, but previously my 5700XT worked fine as well.

Do you get to the Steam Home screen at some point?

I did not get to Stream Home after 10 minutes of waiting.

* Also, did you see the "SteamVR requires superuser access to finish setup." dialog?

I have not seen that dialog yet. I'll try later Today again and search for it in case I missed it.

But I can summon the menu and start a game from there

Meaning input works for the "limbo" screen but not for games?

Correct. ALVR has the status streaming, I was able to click Trust normally, and I can see SteamVR on my headset. But yes, I stay in that "limbo" page. By clicking the menu button the the left controller I can summon a window that allows me to start installed games.
I can start a game, it shows the "Next Up" dialog on the headset, but that is where I'm getting stuck. The game starts in the computer, but it doesn't get streamed to the Headset.
It would make sense for it to be a missing permission on SteamVR side. I'll try later Today and get back here with the results!
Thanks!

At least for me v20.4.2 as AppImage runs well on Fedora 38 (also Quest 2). I'm currently using an NVIDIA GPU, but previously my 5700XT worked fine as well.

Sadly, the issue still persists.
I tried uninstalling/installing SteamVR, which prompted me the to approve the permission dialog you mentioned.
Closed, opened ALVR, launched SteamVR, connected, streamed to headset, but again I get stuck on the same scenario of the game not getting streamed to the headset (while steamVR is).

Found a fix.
Haven't tried for all games yet, but for beatsaber it worked after I downgraded to version 1.31.1.

I have the same problem.  Gave steam superuser access, no visible errors anywhere, SteamVR streams to quest but game never appears on quest. Did you ever get this fixed?

I have the same problem. Gave steam superuser access, no visible errors anywhere, SteamVR streams to quest but game never appears on quest. Did you ever get this fixed?

What game? If it's openxr game like beat saber, make sure you set openxr runtime in steamvr settings


[BUG]After importing a private key account without a name, two '0x' are displayed in the address after entering a name.

This issue already solved in Android prod version i1.5.10


[eas-json][eas-cli] bump dependencies and fix errors/warnings

Why
Bump dependencies
How
Bump dependencies. Fix errors caused by bumping. Fix jest warnings, make jest configs use TS.
Test Plan
Tests + run some commands manually

/changelog-entry chore Update eas-cli and @expo/eas-json dependencies

Oh well...
After the eslint, prettier, and eslint rules update I was seeing errors due to incorrect order of imports and missing whitespaces between import groups. I ran the yarn lint --fix command to fix these but it edited 160 files making it slightly harder to review. From what I see all of these are import reorders or adding whitespaces between imports.
This is the commit that edited these files https://github.com/expo/eas-cli/pull/2176/commits/2b0a99fad047e8b20ffc121d68ca1271f7ada986
I hope it isn't a big problem when it comes to reviewing this PR.

https://github.com/expo/eas-cli/actions/runs/7501659185/job/20422721322?pr=2176 - it fails because it checkouts main version of the codebase and runs it's against the lerna version from this branch, which is newer and incompatible with useWorkspaces option used in lerna.json option on main branch. I think we can safely ignore it.


Support Browser protocol at OAP

Follow protocol #4164 and design doc https://docs.google.com/document/d/1125WnFCsJnZ98m3H7hplgfkv5MXGJoYdPj-OSr64cDo/edit, implement the logic at the backend.
if @apache/skywalking-committers wants to take over this, please let me know.

This is an interesting feature, I want to try.

OK, I just assign this to you. Several keys.

A new receiver module is required.
Register for the endpoint(pagePath) is the first priority work.
The browser-related sources should be new and separated too all related sources. OAL and antlr should be changed too.
All sources should be designed and discussed first.

Metrics are following

PV for every page(endpoint), version(instance) and service
The error rate for every page.
TopN page is automatically available by topN query, don't need to implement
Error logs for every BrowserErrorLog, with rate sampling.

To @Fine0830, a question, what metrics are required for all fields in PerfDetail. Avg time? Maybe.

OK, I just assign this to you. Several keys.

A new receiver module is required.
Register for the endpoint(pagePath) is the first priority work.
The browser-related sources should be new and separated too all related sources. OAL and antlr should be changed too.
All sources should be designed and discussed first.

Metrics are following

PV for every page(endpoint), version(instance) and service
The error rate for every page.
TopN page is automatically available by topN query, don't need to implement
Error logs for every BrowserErrorLog, with rate sampling.

To @Fine0830, a question, what metrics are required for all fields in PerfDetail. Avg time? Maybe.

Yes. The data is displayed according to the average value of the indicator data in the specified time period. The average value can reflect the average performance over a period of time, but it is easily affected by the extreme value. For example, a user visiting the network is very poor, resulting in the overall page load is very slow, and the average value of the data will be directly pulled up. So I think we can do a filter and use the filter of de extremum to remove the extremum and avoid the influence of extremum on the overall trend of performance.

@Fine0830 Your description is the difference between avg and p50 :) That is also why other metrics have p99->p50 to exclude the extreme values.

Ooh.... I don't quite understand p99->p50. I think PerfDetail also need avg value and p99->p50, like other metrics. WDYT @wu-sheng

p50 means 50% of request duration is below the value, which wouldn't be affected by the long tail issue. Same for others. It is very easy to extend from avg to p99->50.

The browser-related sources should be new and separated too all related sources.

A question about inventory.  I need to use the new BrowserServiceInventory,BrowserServiceInstanceInventory,BrowserEndpointInventory?

@arugal  Any update about this?

3. The browser-related sources should be new and separated too all related sources. OAL and antlr should be changed too.

@wu-sheng This sounds interesting, and I hope to participate in antlr related work

@aderm , please talk with @arugal . Don't work on duplicated parts.

Ok i will communicate with him

OAP Backend is ready. Waiting for the agent side release and new dashboard update.


[sealer-app-images] add flannel images

[sealer-app-images] add flannel images

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: bryant-rh:x: 王瑞华王瑞华 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Save only necessary data on events meta

Today when we receive notifications of reads, clicks or opens from AWS SES we save all the event metadata on the database but we don't need the whole object, we need only some specific data like, on clicks we wan't to know which link was clicked.

Closed by 851a11e