Added X and Z Controlled symbolic gates

Regarding issue #45
I will soon be adding more gates, until there are enough to merge.
This week I will add Y controlled gates as well as SQRT gates and their inverses.

Thank you! These look great! My main worry right now is figuring out a way to test them for correctness. Is there some relationship between the name and an equivalence to what the gate is supposed to look like when decomposed into:

Codecov Report

Merging #104 (303efc9) into master (0b6907d) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories.  Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Yes, there is! I will provide each decomposition today as comments above the macros and also as a comment here!

no need to add extra comments to the file, but maybe we can discuss it in this thread so we can figure out a good way to do tests?

Ok! Here are the decompositions of each (so far) implemented gate! I will soon add more!
XCX - H(1), CNOT (1,2), H(1)
XCY - H(1), S3(2), CNOT(1,2), H(1), S(2)
XCZ - CNOT(2,1)
YCX - S3(1), H(2), CNOT(2,1), S(1), H(2)
YCY - in progress
YCZ - S3(1), CNOT(2,1), S(1)
ZCX - equivalent for CNOT(1,2)
ZCY - S3(2), CNOT(1,2), S(2)
ZCZ - H(2), CNOT(1,2), H(2)
XNOR - X(1), CNOT(1,2), X(1)
DCNOT - CNOT(1,2), CNOT(2,1)

Could you elaborate on what the logic of the {X,Y,Z}C{X,Y,Z} decomposition is? I am uncomfortable relying on just a dictionary, rather it would be nice if we can write tests from first principles. Something like:
for control in (:X, :Y, :Z)
    for target in (:X, :Y;, :Z)
        random_state = random_destabilizer(2)
        implemented_gate = eval(Symbol(control,:C,target))(1,2)
        test_gates = (???, sCNOT(1,2), ???) # these question marks need to be filled in with something that depends on `control` and `target`
        @test implemented_gate*random_state == test_gates[3]*(test_gates[2]*(test_gates[1]*random_state))
    end
end

From your notes it seems you have already implicitly done that: there is conjugation with H to change to X basis and conjugation with S to go to Y basis. Having some neat short tests for that would be very helpful.

Yes, you're right the tests would be easier this way. So the main idea of the notation is that the gate ACB flips the second qubit's components wrt base B depending on the state of the first qubit's. (Acting like CNOT, but from a different base to a different base). The notation for CNOT would be ZCX, and the following are true:

To 'send' the i'th qubit from base Z to X we commute by H(i)
To 'send' the i'th qubit from base Z to Y we commute by Sdg(i)*H(i) (or S3(i)*H(i) as I notated it in the previous message)
As a result one can 'send' a qubit from base X to Y by commuting with Sdg(i)

This can be performed as such:
Let's say we want to find YCY:

We know ZCX == CNOT
We need to send the first qubit from computational Z basis to Y basis: so we commute by S3(1)*H(1)
We need to send the second from X to Y so we commute by S3(2)

We arrive at YCY := S3(2) * S3(1) * H(1) * CNOT(1,2) * H(1) * S(1) * S(2)
Another example would be finding XCX:

We just need to get the first qubit from Z Basis to X to X basis, so we commute by H(1)
We get: XCX := H(1) CNOT(1,2) H(1), since ZCX == CNOT.

One more interesting example is YCX:

We commute with S3(1) H(1) to go from Z to Y Basis on qubit 1

We get S3(1) H(1) CNOT(1,2) H(1) S3(1) which is equivalent to the result from the prev message: S3(1), H(2), CNOT(2,1), S(1), H(2), because H(1) H(2) CNOT(1,2) H(2) H(1) is CNOT(2,1)

I will soon be committing with the YCY gate and try to add the tests for the {}C{} gates, and also begin the SQRT gates!

Hello!

I added a new testing file as a sketch on how the testing will work.
And I also have a question: Do I need to add this to the test symcliff file, or to create a new one only for controlled gates?

This looks great! You can just add the tests as a new test file.

I added the testing file (symcontrolled), and also hopefully correctly deleted that include that I needed for local testing [you can see it in the difference between the two last commits]. I also remembered that I need to export the gates in QuantumClifford.jl. I will do this right now!

This looks great! I will look a bit more into it later over the weekend.

Seeing that some tests did not work made me realise I forgot to remove DCNOT and XNOR, as they do not belong to the {X,Y,Z}C{X,Y,Z} set! Now the tests should work fine!

Hi, @adrianariton ! I made a few small changes to fit the style of the library a bit closer. I also added a test for the change of basis operations themselves. There is one piece that I am not sure I understand. Consider for instance the following change of basis:
mctrajectory!(S"X", transform_Xbasis(1)[1][:Y])

This returns -Y, while I would have expected it would return +Y. Could you share if you have consulted any other resource on these gate implementation? I imagine there might be different conventions, I just want to have a reference to which conventions we have picked.

If I have borked up the tests about basis changes, feel free to modify them as well.

Regarding the -Y thing. I think my notation was a little misleading! As you can see in the tests I swapped forward and backward (lines 53,55). That is because transform_Zbasis, does not take the Z basis to a given basis, but does the exact opposite: it takes that basis to the computational basis!
I now realise that the names don't really confer this, but this is the idea:
To measure a qubit in a given basis, one needs to take that basis to the Computational Z basis, hence the inversion of forward/backward.
If it would be necessary, I shall change the names to the 2 functions to something more suggestive!

Also, the tests should now work!


fix(core): correct placement of "bordered" indicator-container

Purpose
Placement of "bordered" indicator-container content is wrong.
Approach
Setting placement of content to be "start" position.
Testing
On Storybook checking Checkbox and Radio components with labels and "bordered".
Risks
N/A

Similar to @kulak-at problem ☝


Create webpage_creator microservice

 curl -H "Authorization: 6f48e2......ad5" \
 -d '{"source_url":"https://github.com/Areso/English-exercises","region":3}' \
https://dbend.areso.pro/site_deploy -v


Makes monitoring agent is optional

Proposed changes
Makes monitoring_agent in fluentd config is optional
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (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 not work as expected)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I have read the CLA
[ ] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

🙌🏼

Any news?

@rockb1017 can you review when you can?

will review this this week. sorry for late reply!


How to deploy standalone unisharp Laravel-filemanager?

Hi just want to ask how to deploy a standalone laravel-filemanager?... I tried it on textarea and it works fine... but when i try it to standalone nothing happen when i click the choose button...
here's my code:
@extends('layouts.app')

@section('content')

            Add Slidshow

                <form class="form-horizontal" role="form" method="POST" action="{{ route('add_slideshow.post', $article->article_id) }}">
                    {{ csrf_field() }}

                        Slide Title

                            {{ $article->article_title }}

has('filepath') ? ' has-error' : '' }}">
                        Slide Description

                                   Choose

                              <input id="thumbnail" class="form-control" type="text" name="filepath">

                            @if ($errors->has('filepath'))

                                    {{ $errors->first('filepath') }}

                            @endif

                    @if(session()->has('message'))

                            {{ session()->get('message') }}

                    @endif

                            <button type="submit" class="btn btn-primary">
                                Submit
                            </button>

                                Cancel

                </form>

@endsection

hope you can help me.. this is a grate filemanager by the way... thanks

Hi @yorivor. Did you publish the public assets with php artisan vendor:publish?
If that's not the issue could you please paste your console output here?

Hi @gwleuverink yes i did published the assets using php artisan vendor:publish but it still not working...

here's my console output

Hi @yorivor. Sorry for the mix-up. I meant your browser console.

There's no browser error shows on the console.. that's why it kinda hard to determine what is the problem...

That does make it more difficult. What version of the filemanager are you using? I will try to reproduce using your code example.

@yorivor Your example works on my end. Make sure you click 'choose' instead of the input field.
Also, I had to remove the prefix parameter of your javascript initialisation to make it work on a clean install. But this might depend on the machine you are using. (It's necessary on Windows)
Does the file manager window open on your end if you click 'choose'?

@gwleuverink no the file manger window didn't open up every time i click the choose button

The fact that no errors are raised makes me suspect that a pop up blocker might be preventing the window.open call. Can you check that? And have you tried different browsers to pinpoint the issue?

Hi @yorivor. Did you solve this issue?

Missing url prefix to larval-filemanager:

composer update

Add url prefix in the script
var route_prefix = "{{ url(config('lfm.url_prefix')) }}";
$('#lfm').filemanager('image', {prefix: route_prefix});

Hi watashi_nalo,
I haven't tried it yet.. but thank you for your reply..
On Tue, Oct 17, 2017 at 2:11 PM, watashi_nalo<EMAIL_ADDRESS>wrote:

Missing url prefix to larval-filemanager:

composer update
2.
Add url prefix in the script
var route_prefix = "{{ url(config('lfm.url_prefix')) }}";
$('#lfm').filemanager('image', {prefix: route_prefix});
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/UniSharp/laravel-filemanager/issues/415#issuecomment-337128203,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZrdUDdgB0osjDcXVqxdSNWQ9Sqd2joUks5stEUOgaJpZM4PY34M
.

Closing inactive issue.


Split up mixedWidgets

@GDYendell
Currently all the file formatters use the same
class WidgetFormatterFactory(BaseModel, Generic[T]):
    header_formatter_cls: Type[LabelWidgetFormatter[T]]
    label_formatter_cls: Type[LabelWidgetFormatter[T]]
    led_formatter_cls: Type[PVWidgetFormatter[T]]
    progress_bar_formatter_cls: Type[PVWidgetFormatter[T]]
    text_read_formatter_cls: Type[PVWidgetFormatter[T]]
    check_box_formatter_cls: Type[PVWidgetFormatter[T]]
    combo_box_formatter_cls: Type[PVWidgetFormatter[T]]
    text_write_formatter_cls: Type[PVWidgetFormatter[T]]
    table_formatter_cls: Type[PVWidgetFormatter[T]]
    action_formatter_cls: Type[ActionWidgetFormatter[T]]
    sub_screen_formatter_cls: Type[SubScreenWidgetFormatter[T]]
    bitfield_formatter_cls: Type[PVWidgetFormatter[T]]
    array_trace_formatter_cls: Type[PVWidgetFormatter[T]]
    button_panel_formatter_cls: Type[PVWidgetFormatter[T]]
    image_read_formatter_cls: Type[PVWidgetFormatter[T]]

despite the fact that they don't all support the same widgets.
This has been circumvented so far by changing the specific <widget>_formatter_cls to make a label instead if that <widget> isn't supported. We should instead fail.
In https://github.com/epics-containers/pvi/pull/83/commits/76862ea52ed83d89e2656447cd569c3778f46f9a , we added new widgets to the mixedWidgets test.
All of the different file fomatters use the same mixedWidgets to test, so part of this issue will be giving each different file formatter its own mixedWidgets with only the supported widgets, rather than all three using the same yaml.

Actually I meant split into a test for each individual widget, which will enable only testing the widgets that each formatter supports and also make it easier to see differences in the bob files when things break.


Please I will like to ask all hands on deck on this community project to be organized so as not to break anything,

we also need to invite some maintainers from previous repo atom/atom
the guys directly responsible for 1.60 release of atom, we will REALLY need their help.
If you can contact them please do and share this repo with them
We need to be organized to keep the product moving

Please who ever will be leading the merging of pull request has to be verified and really verified as having know of electron , atom technology stack and others
Please


Update README to have more information

[ ] add animation of the script in action
[ ] add available options

:tada: This issue has been resolved in version 1.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Enhancement]: 3D snake game

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Describe yourself:
I am a software developer contributing to the GameZone open source project. I have a keen interest in enhancing user experiences and adding valuable features to existing games.
Enter a brief description about the enhancement you need:
The current 3D Snake Game on the website displays only the score. To improve the game's interface and user experience, I propose adding a heading that shows "Total Score" above the current score display. This enhancement will make it clearer to players what the displayed number represents, improving the overall clarity and aesthetic of the game interface.
Describe the solution you'd like
Describe the solution you'd like
Describe the solution you'd like:
To enhance the 3D Snake Game, I would like to add a heading above the current score display that reads "Total Score". This change will involve modifying the HTML structure and possibly updating some CSS styles to ensure the heading integrates seamlessly with the existing game interface.
Give steps in which you will solve it:
Review the Current Codebase:
Analyze the existing HTML, CSS, and JavaScript code for the 3D Snake Game to understand how the score is currently displayed.
Modify the HTML:
Add an HTML element for the "Total Score" heading above the current score display element.
Update the CSS:
Ensure the new heading is styled consistently with the rest of the game interface.
Adjust any necessary styles to maintain a clean and visually appealing layout.
Update JavaScript (if needed):
Ensure the JavaScript code properly references the new heading element if any dynamic updates are needed.
Testing:
Test the game to ensure the new "Total Score" heading displays correctly across different browsers and devices.
Verify that the score updates as expected during gameplay and that the overall user experience is enhanced.
Submit the Enhancement:
Commit the changes to the repository.
Submit a pull request with a detailed description of the enhancements made.
Select program in which you are contributing
GSSoC24
Code of Conduct
I follow CONTRIBUTING GUIDELINE of this project.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @NAVJOT-786 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @NAVJOT-786 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Change hardcoded colors to SCSS variable

Fixes #107.

LGTM!

@all-contributors please add @CER10TY for style

@all-contributors please add @CER10TY for code


Open on calendar icon only

The old datepicker opened when clicking the calendar icon, but this opens on input field focus.
How do I change it to open only on calendar icon click?

Same issue I suffering... I want to open calender on click icon not on clicking input box. how to do this?

I'm having this same issue. I'm using the "showOnFocus" method (set to False- have tried in both JS and HTML), but rather than only focusing when clicking the calendar icon, it eliminates focus on everything. Am I using the method incorrectly? Code sample below.
HTML:

    <input id="date" type="text" maxlength="14" class="form-control our-date-picker" data-provide="our-date-picker" data-date-autoclose="true" data-date-toggle-active="true" data-date-show-on-focus="false"/>

Javascript:
$('#sandbox-container input').datepicker({
    orientation: "top right",
    showOnFocus: "false"
});

this is working for me
    $(function () {
        $("#datepicker").datepicker({
            changeMonth: true,
            changeYear: true,
            dateFormat: "dd/mm/yy"
        }).datepicker("setDate", new Date());

        $('#btnPicker').click(function () {
            //alert('clicked');
            $('#datepicker').datepicker('show');
        });

    });


tach test not compatible with pytest-xdist?

Hey! We seem to notice something interesting. We try to run tach test instead of pytest to speed up test execution loclly and on CI. However, it seems the case that tach test does not skip tests when we also use pytest-xdist on our test suite.
So,
tach test -- -n logical -m some_marker breaks the test selection and simple runs all tests,
while
tach test -- -m some_marker skips tests based on the test selection.
Is this a known/reproducible issue?

I am able to reproduce your issue, and I have traced it to this issue with pytest-xdist. It seems that plugins passed through the pytest.main entry-point are not provided to the workers.
I'll likely move our pytest plugin logic to its own file and delegate to pytest -p [tach] under the hood so that the subprocesses also inherit the plugin. I'll ping back here when this is ready.


Camera ffmpeg integration

Hi I checked the comments regarding the closed issue here:https://github.com/homespun/homebridge-platform-ring-video-doorbell/issues/6
I am trying to integrate the camera feed but without success
I can't find any rtsp support for Ring & I tried both the Doorbird full and basic settings as well as the generic RTSP url without success
Appreciate any help

yes can you give us some more info on how to access the camera?

Does anyone know how to get the camera integration to work like @barkerja said? Thanks!

Same question here - can anyone provide an example of a working config file?
Thanks,
Tim

As for what  @barkerja "suggested"...reading the original thread, this person never mentioned that the ring camera would work with Camera ffmpeg. His point is that, if you install a "camera"(any other camera working with ffmpeg plugin for example) and on the homekit app add to the same "room"(Group), the camera would turn on once the ring motion is activated for example.
So the camera integration text in the readme file as found today is misleading :
"Camera Integration
The current version of this plugin doesn't handle the camera available in the Ring Video doorbell; however, as noted by @barkerja, you can use the camera plugin, and place both accessories in the same "room". HomeKit manage the two accessories as one "seamless" device."

Thanks for the clarification!

FYI...there’s work being done over here.
https://github.com/tchellomello/python-ring-doorbell/issues/23
Maybe someone will be able to eventually figure it out. It doesn’t look like the official HomeKit integration is coming anytime soon according to the comments on the Ring blog.

Any updates on this? The API now supports live streaming: http://www.kidder.io/2017/07/04/ring-doorbell-api/


[api] allow staging external objects into a lakeFS branch

Add the ability to create a pointer to an external object (not managed by lakeFS) as a lakeFS entry.
This would enable:

Running lakeFS in parallel to an existing system, mirroring writes to a certain location to lakeFS as well, without copying data
Doing smaller imports without relying on S3 inventories - by writing a small script that lists a certain object store location and stages these paths in lakeFS
As part of the seperation of data and metadata, support the upcoming ability for thick clients to talk to storage directly and then stage their writes to lakeFS

closed by #1529


responseProps

Discussed in https://github.com/RobinTail/express-zod-api/discussions/1049

Originally posted by sauyeung July 12, 2023
I am testing an endpoint that uses the express-rate-limit middleware, and pass responseProps to testEndpoint as follows:

     responseProps: {
        ip: '<IP_ADDRESS>',
        setHeader: (name: string, value: string) => {
          console.log(name + ': ' + value);
        }
      }

The responseMock object does have these attributes added when testing cases of this endpoint that are expected to succeed; but not added when they are expected to fail; and got response.setHeader is not a function error. Is this an issue or expected? If it's expected, are there any ways to make it work?

when they are expected to fail

Could you please clarify what kind of failure do you test, @sauyeung ?
Is it schema-violation error? Or is it some error thrown within the handler?

and got response.setHeader is not a function

is it possible that you're calling setHeader in a chain?
like response.someMethod().anotherMethod().setHeader() ?

I'm going to release v11.5.0, that will have setHeaders mocked. So you no longer need to mock it.
I hope it will help.
If not, please let me know

Thanks for you response, Robin! Let me give you more details on what I am doing and see if just adding setHeaders mock will help. I installed the express-rate-limit package and use it as one of the middleware.
`import rateLimit from 'express-rate-limit';
// for v1/auth/verify-access-code
export const verifyAccessCodeLimiter = rateLimit({
windowMs: 60 * 60 * 1000, // 1 hour
max: 5, // limit to 5 calls per window
statusCode: 429, // status code
message: 'Too many access code verifications, please try again after an hour',
standardHeaders: true, // return rate limit info in the RateLimit-* headers
legacyHeaders: false // disable the X-RateLimit-* headers
});
export const verifyAccessCode = v1EndpointsFactory
.addExpressMiddleware(verifyAccessCodeLimiter)
.build({
...
});`
I test the endpoint as follows:
const { responseMock, loggerMock } = await testEndpoint({   endpoint: verifyAccessCode,   requestProps: {     method: 'POST',     ip: '<IP_ADDRESS>',     body: {       ...body,       code: accessCode      }   },   responseProps: {     setHeader: (key: string, value: string) => {       console.log(setHeader: ${key}=${value});     }   }  });
It is the code in the express-rate-limit package calling header, send, etc.
Here is the stack trace:
`    TypeError: response.send is not a function
  at Object.handler (node_modules/express-rate-limit/dist/index.cjs:201:18)
  at node_modules/express-rate-limit/dist/index.cjs:315:17
  at async /Users/sauyeung/flock-api/node_modules/express-rate-limit/dist/index.cjs:221:5`


Any Plan for v0.6?

Hello, nice package!
Are there any plans supporting julia v0.6?
Best Regards,
smldis

Actually 0.6.0 is the only supported version as stated in the docs. My issue was instead related to this warning "julia is fixed at 0.6.0-pre.alpha.231 conflicting with requirement for SimJulia: [0.6.0,∞)" that I misunderstood. The warning actually blocked some updates that were required to pass the tests. Sorry for the noise.


Add Android SDK 33 support

Add support for Android SDK 33 by restricting the deprecated read permission to SDK 32

We actually didn't need this in the end. Resolve it through a different way


allow local devs to have separate gemsets to isolate this app from others using different versions

just stumbled across this -- nice work :)

Work still in progress. Right now, I need design and css/html. :)


tinyDTLS retransmission

According to RFC6347 (DTLS), a retransmission mechanism is defined if a handshake does not succeed if any packet is lost (https://tools.ietf.org/html/rfc6347#page-20)
In tinyDTLS, when the WITH_CONTIKI flag is not embedded, it seems that this retransmission is not managed in Wakaama.
A public tinyDTLS function is defined in dtls.c (dtls_check_retransmit) but not used in Wakaama.
I think that this retransmission needs to be managed in Wakaama (in // to CoAP retry mechanism)

Seem that the client needs to support in this case the dtls_check_retransmit
The Wakaama client example is just an example. To be managed by the user :)

In fact, I think that this is a real issue which is not handled by the wakaama client example


Best practices regarding deployment

[x] I've asked for help in the Truffle Gitter before filing this issue.

Issue
I created a nice DAPP (react) on top of a smart contract and used the truffle solidity loader for webpack during development. Worked great with redeploys on testrpc whenever I changed anything.
But now I'm trying to deploy to something close to production, and I'm running into some issues. If I run the webpack build command, it compiles and deploys to the ropsten network using infura (ci build on circleci but also locally). Which is fine for the first time, but each build redeploys the contracts. I tried keeping the temporary artifacts between runs, but they just get deleted on build.
So I'm wondering what the best practice is in this scenario. I feel like the solidity loader in "production mode" should check if the contracts are deployed or not and leave them alone in some way. Or store the deployed contact addresses in the truffle.js file and fill up the sol.js files using those values. Probably with some change detection?
Then again, I cannot be the only one wanting to run something on the testnet and rebuilding their frontend every now and then. I got pointed to more manual scripts, but that seems like a step back.
Environment

Operating System: OSX / Ubuntu / Docker
Truffle version: 2.1.1
truffle-solidity-loader: 0.0.8
Ethereum client: infura
node version: 7.4
npm version: 4.0.5 / yarn 0.18.1

Solved in the new version, disregard!

@roderik great explanation and thank you for filing this issue and self-closing.
I came into this after Feb 5, so I've only ever known a world where this solution exists, so to enlighten me could you either explain or point me to an explanation of what this solution was? My hunch is that before Feb 5, the build/contracts directory didn't exist, and adding it fixed your problem.
I'm running into a related problem which is that multiple contributors to a dapp keep overwriting parts of build/contracts files each time they deploy to their local testrpc. I'd like some way to keep the behavior you were initially seeking, but also ignore local deployment changes if possible to avoid messy commit histories.

I would suggest giving everyone's ganache an unique network id. That way they should not conflict.


doubts about : querySelector & remote url

Hello, I would like to ask two questions about the tool.
1: I don't know if within the tool there is any way to use document.querySelector('').click() to click on page elements through this selector.
2: when running the tool by url ex: github how do I call another flow that is also on github.
Thanks in advance!

hello Junior

https://tagui.readthedocs.io/en/latest/main_concepts.html#click
https://tagui.readthedocs.io/en/latest/advanced.html?#running-flows-within-a-flow

Thanks for help @marcelocecin
however I couldn't find the solution within the tool's documentation, here's an example of the error I'm facing, when I run the first macro in tagui it needs to call a second macro at the end of the flow, but I get this error when trying to reference the second file to continue the macro. in the local macro version calling a second .tag file I have no problems more in the online version using url I am not able to proceed with the solution.

https://tagui.readthedocs.io/en/latest/reference.html#echo

Hi @juniorerivaldo
You can call the online tag file from your command prompt.

However, you cannot call an online tag file as a subflow within your flow file.


D435 head model

Hi @yoshimalucky
I can't find _d435.urdf from realsense2_camera. Could you tell me how to test this model?
And how about making a new branch and pull request?
Because of the dependency, it is a burden to apply to the master branch.

Sorry about this PR. I accidentally made this one. After some inspection, I'll close this PR.


Re-enable NativeFontWatchRunner

This is another attempt following #260 which enables NativeFontWatchRunner.
This change hooks into DomHelper so that NativeFontWatchRunner can wait till all requested stylesheets being loaded.

@bramstein Would you mind taking a look to see if this is kind of what you suggested at #260 ?

@bramstein Hi, I'm sorry for bothering you, but could you take a look when you have time?
This will help our app greatly, and other users of native loading API support browser would be benefited as well. So I'd like to have this in somehow.
Thanks!

@omo I had a look and I think there might be a simpler solution. Unfortunately I haven't had time to look into it yet.

Thank you Bram for the review, and for sharing your thought!
That is probably true that there could be better way to do this. I'm going to think about that.
Would you mind sharing any rough. vague, or even half-baked ideas in your mind if there are any?
I'd be happy to experiment on that as well.

Sure :)
I was thinking we could change the modules to only call onReady when they know that the @font-face rules have been inserted. This will not impact the old font load detection and will allow us to use the native one as well. We just need to make sure onReady is always called.

Got it. As you mentioned before, CSS loading detection isn't reliable for some browsers, but we can use the same trick there, that is, using  the detection only when we use the native loader. Let me try. Thanks much or the advice!

Cool! Let me know if you want to chat in person about these changes.

Thanks, I have other things to sweep out this week and will come back here probably next week. I'll ask you help if I stuck there ... It's likely I will ;-)

@bramstein Hi, I just updated the branch. This indeed seems ... focused I would say, if not simple.
Could you take another look to see if this is something close to what you had in your mind?

@bramstein Hello?

@omo Sorry, I've been crazy busy the last couple weeks. I'll try to have a look later this weekend. I'm still very interested in getting this in a release.

Thank you for taking time for this! I'm looking forward to hearing from you :-)

So... how are you :hamster:

Sorry, really busy. I've been thinking about this, and I was hoping we could make loadStylesheet reliable by using the techniques outlined here: http://www.phpied.com/when-is-a-stylesheet-really-loaded/
It doesn't matter much if the callback fires too soon on older Chrome and Firefox browsers as they don't support the native font API and the polling method handles watching before the font is loaded. We just need to make sure the loadStylesheet callback is always fired in all browsers before we can use it to start font loading. Maybe a temporary hack would be to do something like this in loadStylesheet:
if (window['FontFace']) {
  link.onload = function () {
    callback();
  };
} else {
  callback();
}

That way the callback will always be called if the browser does not support the native API. In browsers that do support the native API it will wait until the stylesheet is actually loaded before starting the font load detection.

@bramstein Thanks for taking look!
My strategy here was to let newly added StyleSheetWaiter take care of the onload reliability issue:
It waits onload callback only if FontLoader API is available, and calls given callback immediately otherwise.
Let's take a look at StyleSheetWaiter#fireIfReady_ and StyleSheetWaiter#waitWhileNeededThen. If the browser doesn't have the FontLoader API (Thus StyleSheetWaiter.shouldWait is false), it doesn't wait stylesheets being loaded and immediately calls given callback. This behaves exactly same as what you suggested.
I thought StyleSheetWaiter would be good place to handle the (lack of) onload reliability because we need this count-based wait logic anyway and we encapsulate the callback wait logic here.
I have no strong opinion on this though. I agree that this approach might be a bit unclear. If we prefer making this decision in loadStyleSheet(), that looks good to me as well.
What do you think?

@omo I did some testing and stylesheet onload is reliable in Firefox 10+ and Chrome 18+ (and other browsers). While we still need to support older browsers, I'd rather keep the code simple. As long as the callback is always called it should be fine.
Why do we need the count-based logic? I think calling the callback immediately in browsers that do not support the native API and using onload in those that do should be sufficient for now.
Again, thanks for all your hard work on this, I appreciate it!

@bramstein Thanks for the investigation! I updated the branch to clarify how/why we're dealing with
the onload issue, by adopting the approach you're suggesting.
We need the count-based logic because we want to call onReady only once, instead of calling it for each stylesheet load. This matters if you're using Custom module which accepts multiple stylesheets to load.

Could we split these two into separate pull requests? Calling onReady only once is a change in behaviour, while using the native API is an improvement of existing behaviour. I think we're almost there, great work!

@bramstein Thanks for the review! Let me create two new PRs for each commit.
By the way, calling onReady only once does not change the behavior: The change preserves the original behavior, except it calls `onReady' asynchronously. Probably my previous explanation was confusing. I'm sorry about that. Let me elaborate.
Please take a closer look at:
https://github.com/omo/webfontloader/commit/ba0a90228ef993a9b77b18cb1d92294998433bc5#diff-b578c781b61ab8ae1caf97bb0ade03f8L57
We used to call onReady synchronously, but it was called only once, after the loop. With this change, it is called asynchronously after the load, but it is still called only once.
The point here is that we don't change DOMHelper. The countdown logic is in the listener side.
Does this make sense?

@bramstein OK, I did split this out to #274 #275.

I'm closing this one, thanks for all your help!

@omo I ran into some issues while testing this. Because fonts are loaded asynchronously in Chrome using the stylesheet's onload and document.fonts.load is not reliable. For example, it finishes parsing the CSS file, fires onload but does not resolve the @font-face rules. Firefox seems to do the correct thing here.

That sounds bad... Please help me understand the problem. What does "resolve" mean here?
I thought loading fonts asynchronously is OK and that's exactly why we need document.fonts.load, which tells us when the font is loaded. So I'm not sure if I understand how it is unreliable.
So @font-face not being resolved means document.font.load() fails even if it is called inside the onload callback? If you have any reproducible test, it would be great. We can file a Chrome bug to let them take a look then.
In the meantime, how about to turn this off again. I'd like to have a "force-enable" flag though, as some client (like myself) doesn't do async stylesheet loading and this is unlikely to be a serious issue.
What do you think?

@omo It looks related to the async option in loadStylesheet. With that disabled document.fonts.load works as expected in Chrome. When enabled, it fails to detect the font. Most likely this is a race condition between the async "onload" detection and the actual onload we're using to execute document.fonts.load.
I guess Chrome doesn't parse @font-face rules when a link's media type is set to something other than screen or all. I think we can fix this by setting the media type to all when onload is called.

Hmm. Do you have a third party module that uses the opt_async option?
I didn't find any caller using it in the code. (See https://github.com/typekit/webfontloader/pull/279.)

@omo Yea, we're using it internally at Typekit to load stylesheets asynchronously.

@bramstein I uploaded a possible fix: https://github.com/typekit/webfontloader/pull/280
Even though I added a couple of tests for DomHelper, it doesn't cover exactly what we're talking about (font-face not being parsed.) It would be appreciated if you give it a try.


Fix nvcc warnings in make all [compiler-warnings]

~I left in the first commit the compiler complaints. The authors can get rid of these lines if wanted.~
I removed the lines.

@Dan2997925, we merged this for testing, but we can still revert the variables in Joule if you let us know early next week (the mfem-4.0 release is scheduled for Wednesday)


POL-335-Google-Cloud-Storage

Description
POL-335-Google-Cloud-Storage
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          2 Errors

:no_entry_sign:
google/google_cloud_storage/README.md:125: MD012 Multiple consecutive blank lines
google/google_cloud_storage/README.md:59: MD022 Headers should be surrounded by blank lines
google/google_cloud_storage/README.md:111: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:117: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:121: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:126: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:132: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:138: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:144: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:148: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:152: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:158: MD024 Multiple headers with the same content
google/google_cloud_storage/README.md:62: MD031 Fenced code blocks should be surrounded by blank lines
google/google_cloud_storage/README.md:64: MD031 Fenced code blocks should be surrounded by blank lines
google/google_cloud_storage/README.md:56: MD032 Lists should be surrounded by blank lines
google/google_cloud_storage/README.md:169: MD034 Bare URL used
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
File syntax check failed. google/google_cloud_storage/google_cloud_storage.rb.

  Generated by :no_entry_sign: Danger

Hi @cdwilhelm , while creating the PR, I am getting above "FIle Syntax Check failed" error. I am not able to get the root cause. Requesting your help. Thanks
cc @chandravurubindi

Hi @cdwilhelm , while creating the PR, I am getting above "FIle Syntax Check failed" error. I am not able to get the root cause. Requesting your help. Thanks
cc @chandravurubindi

Each pull request has a Danger check.  See the Dangerfile.  The Dangerfile is checking that the plugin is valid.  In you case it failed.  You can run the command locally to make sure it's working as expected.  See this file
https://github.com/flexera/flexera-plugins/blob/master/tools/bin/compile

Hi @cdwilhelm , while creating the PR, I am getting above "FIle Syntax Check failed" error. I am not able to get the root cause. Requesting your help. Thanks
cc @chandravurubindi

I couldn't get the error to appear in the github PR danger output.   You can also view the travis log for the PR to see the error.
https://travis-ci.com/github/flexera/flexera-plugins

HI @cdwilhelm , I see a similar syntax error in all the PR created for other plugins, at the end of plugin template. I tried testing it locally but got error as rsc is not a recognised keyword.
On checking the travis-Pull request log, it is showing success.
cc @chandravurubindi

HI @cdwilhelm , I see a similar syntax error in all the PR created for other plugins, at the end of plugin template. I tried testing it locally but got error as rsc is not a recognised keyword.
On checking the travis-Pull request log, it is showing success.
cc @chandravurubindi

To test locally you need to install RSC.  https://github.com/rightscale/rsc

Hi @cdwilhelm , I tried to test the plugin locally and below are my observations:
This is the command i used for testing -
content_path=/cygdrive/c/Users/kvive/desktop/google_cloud.rb
echo $content_path
content=$(IFS= cat $content_path | while read; do echo "$REPLY"; done)
echo $content
rsc -h us-3.rightscale.com -a ${ACCOUNT_ID}  -r ${REFRESH_TOKEN} ss compile /api/designer/collections/${ACCOUNT_ID}/templates source="${content}"
I found out that content command is trimming out the last end keyword and because of that only we are getting the error as-422 Unprocessable Entity
[{"origin":"template: template.cat, line: 151","problem":"Syntax error","summary":"unexpected end-of-input, expecting keyword_end","resolution":"Use valid Cloud Application Template syntax"}]
For testing, I added extra end keyword at the bottom in the Plugin and the command ran successfully in the local.
So for testing on github also I added extra end keyword in the Plugin and pushed it. As we can see all check has passed successfully which i think should not happen, as there is extra end keyword.
Please let me know your thoughts on this.
cc @chandravurubindi

For testing, I added extra end keyword at the bottom in the Plugin and the command ran successfully in the local.
So for testing on github also I added extra end keyword in the Plugin and pushed it. As we can see all check has passed successfully which i think should not happen, as there is extra end keyword.
Please let me know your thoughts on this.

I removed the extra end and added a new line.  That solved this error.  I recall seeing this when I added the RSC command to the danger file.  I don't know why its needed.  RSC is essentially using the cat_parser that the plugin service is using.  RSC might be expecting the new line.  You can ask the phoenix team about it if you need/want to pursue it.

Thanks @cdwilhelm .


Add gitattributes

Teach Git that Lean files should have Linux line endings.

It appears from https://github.com/leanprover-community/mathlib4/pull/6498 that mathlib4 is opinionated about line endings, so here is something to make that automatic.

I don't think .gitattributes isn't for when a repository is opinionated about like endings; it's for when the working tree also requires those same line endings (e.g. because the tool crashes if the wrong line endings are there). I would expect this to only cause confusion.

Feel free to close without any further reply at all, I'm hardly invested in this PR!
But if you're willing to continue discussing, is your point just that this will lead to Git routinely saying "CRLF will be replaced by LF next time Git touches the file" on Windows, or is there some further confusion you have in mind? The gitattributes change indeed is stronger than strictly necessary (I believe the required property is only "line endings are correct in the CI checkouts"), but I claim it's the easiest and lowest-friction way to ensure uniformity, unless Git's line-ending warnings are per se considered moderately high friction.


docs: re-enable API 1.25

closes https://github.com/docker/docker/issues/23779
ping @sfsmithcha ptal :smile:

LGTM

LGTM 🐸

docs failures can be ignored
author LGTM


Cannot start app with nuxt-speedkit

I am getting a bug upon setup.

Installation npm i nuxt-speedkit
Inserted 'nuxt-speedkit' in the modules array in  nuxt.config.js
Inserted speedkit object in nuxt.config.js
Issue: When trying to npm run dev I get an error "Could not compile template ~/website/node_modules/nuxt-speedkit/templates/plugin.js"

I was trying to search Google for a possible answer and it seems this issue is relevant to other projects: https://codesandbox.io/s/murlf?file=/package.json:508-517. This project also shows the same error "Could not compile template..".
Cheers!

Is there a way with node 12?

You'll get an update soon :) Then it should also work with 12.
But you should change to version 14 in the future 🙂
https://github.com/GrabarzUndPartner/nuxt-speedkit/pull/550

@ThornWalli Great, thank you! The codebase I'm working with uses node 12.

@preetecool https://nodejs.org/en/about/releases/#releases 😉


(chore) - remove components from core

resolves: https://github.com/JoviDeCroock/hooked-form/issues/50

Codecov Report

Merging #54 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #54   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          16     17    +1
  Lines         220    220
  Branches       35     35
=====================================
  Hits          220    220

Impacted Files
Coverage Δ

src/index.ts
100% <ø> (ø)
:arrow_up:

__tests__/_utils/Field.tsx
100% <100%> (ø)

__tests__/_utils/index.ts
100% <100%> (ø)

__tests__/_utils/FieldArray.tsx
100% <100%> (ø)

__tests__/_utils/Error.tsx
100% <100%> (ø)

Continue to review full report at Codecov.

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


Error 20045

Failed to unlock your device, Xiaomi server returned error 20045: Error description: Unknown error: 20045
Server description: Please use the common user tool on the official website.

But “MiUnlockTool” is a TUI application :/ ?


JSON-LD and keys

A JSON-LD object looks something like this;
{
  "@context": "http://json-ld.org/contexts/person.jsonld",
  "@id": "http://dbpedia.org/resource/John_Lennon",
  "name": "John Lennon",
  "born": "1940-10-09",
  "spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
}

Every object has an @id. This @id is a persistent identifier for that object.
A great feature for the Linked Data community would be that dat automatically detects json-ld and uses the @id as a key to store the data by, by default.
I'm willing to implement this myself. Yet:

Is this a feature that would get into the main branch if it's pull requested?
Any pointers on how to implement this properly in the codebase of dat?

Hey, thanks for opening this PR. I think this is a great suggestion, and Linked Data is super important!
I'm hesitant to put any specific standards into dat, because then we'd have to support all of them. If people wanted to use @id as the key they could do --key=@id. Is there a reason why the -k @id interface isn't serving well? Too much? Often forgotten?
At one point, we were thinking about putting a dat add function that would be a little more 'magic' to walk one through a data import. Here, we could imagine a series of prompts -- one of them could try to auto-detect the unique key and ask you which column based upon that. I can imagine these kinds of higher-level features going into that.

Hi @karissa - Thank you for your reply. I like the higher-level idea of dat add and indeed, this suggestion was made because it's often forgotten.
Is this already suggested in a different issue? Or shall we proceed with closing this issue and open a new feature request for dat add?

We don't have an issue for dat add yet, but I will make one. We can leave this open and I'll reference it in that after I chat with the other two on the team

Thanks a bunch!

Thanks for trying out dat beta and submitting an issue. After a whole year of feedback from the community, we recently published a new version of dat... and it makes this issue obsolete. Would you mind trying out the new dat with npm install -g dat? You can read about the new dat announcement on the website and how it works in the docs.

Was this json-ld issue implemented in the end then?


Missing icon of extension

Subject: Missing Live Preview Extension Icon
Hi there,
I'm writing to report an issue with the Live Preview extension. While the extension itself seems to be working, the icon is missing from my toolbar.
This makes it difficult to quickly access the Live Preview features. It would be great if you could look into this and hopefully provide a fix soon.
Thanks,

Could you upload the image again? It doesn't seem to have uploaded correctly.

SEE ON THE UPPER RIGHT CORNER

See https://github.com/microsoft/vscode-livepreview/issues/680


Log Analytics Linux Agent (OMS) documentation python requirement

I have a customer who is running Oms 1.16 on RHEL 8.8 shipping with python 3 that have some concerns with documentation regarding python requirement and scripts that I would like to bring to your attention.
Documentation concerns:

Oms version since 1.13.27 supports python 2 and 3, however this conflict with documentation on supported OS that still mentions python 2 requirement.
Perhaps we could add another line to the supported OS documentation page since Oms version 1.13.27 it supports python 2 and 3?
Troubleshooting documentation is referring to python2 scripts /opt/microsoft/omsconfig/Scripts/, however it appears that there are python3 scripts available in /opt/microsoft/omsconfig/Scripts/python3/

Details:

In documentation for supported OS, for Red Hat 8+, it requires Python 2 to be installed on the machine and aliased to the python command. https://learn.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview#supported-operating-systems

However, in documentation for python requirement, since Oms agent version 1.13.27 supports python3
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/agent-linux?tabs=wrapper-script#python-requirement

One of the python2 script referenced in documentation, however it appears that there are python3 scripts available in /opt/microsoft/omsconfig/Scripts/python3/ :
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/agent-linux-troubleshoot

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

ID: bd3dca2f-629d-36e9-f0f0-8c7e64cc04ab
Version Independent ID: f40ee991-6cb8-1eee-9a35-ebc5833d7c7f
Content: Azure Monitor Agent overview - Azure Monitor
Content Source: articles/azure-monitor/agents/agents-overview.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@nickylian1
Thanks for your feedback! We will investigate and update as appropriate.

@Lukeout please advise.


Using Exceptions in FeignClient Fallback

Hi.
I'd like to get access to the Exception causing a call of fallback method in FeignClient annotated clients.
Something like this:
public interface ServiceInterface {
// ... some mvc annotations
public void iFailSometimes(String s);
}

@FeignClient(name = "hello", fallback = HystrixClientFallback.class)
public interface HystrixClient extends ServiceInterface {
}

// will not work
public class HystrixClientFallback {
public void iFailSometimes(String paramOfServiceInterface, Exception paramNotPartOfServiceInterface) {

// do something with the Exception

return "fallback";
}
}

The problem is, that HystrixClientFallback has to implement the HystrixClient iterface which has no Exception parameter in the iFailsometimes method. The FeignClientFactoryBean.HystrixTargeter checks whether the fallback class is derivied from the client interface. Maybe it makes sense to change this behavior to accept also methods which have an additional exception parameter and pass the exception object to it in case of an error.
Would this be a useful extension?

FeignClientFactoryBean.HystrixTargeter only checks for proper interface. Real work is done by Feign . See HystrixInvocationHandler. Maybe better solution would be to allow such code:
public interface ServiceInterface {
   // ... some mvc annotations
   public void iFailSometimes(String s);
}

@FeignClient(name = "hello", fallback = HystrixClientFallback.class)
   public interface HystrixClient extends ServiceInterface {
}

public class HystrixClientFallback extends HystrixClient {
   // standard fallback
   @Override
   public void iFailSometimes(String s) {

   }
   // prefer this fallback if available. The same signature method as a standard fallback + Exception
   public void iFailSometimes(String paramOfServiceInterface, Exception paramNotPartOfServiceInterface)    {
      // do something with the Exception
      return "fallback";
   }
}

so no changes needed on Spring Cloud Netflix.
We need to talk with Feign guys.

Please take a look at the changes in Feign Hystrix in my private branch: https://github.com/ebjwc/feign/tree/gh-431/hystrix

From your above example i assume that now we are able to inspect the server side (or is it a feign exception) exception (which one is that?) in the fallback.
I would like to have that for functional exception (which is a regular server use case) Feign never will raise the fallback.  This said, all (checked) exceptions defined on the server interface spec should not lead our control flow into the fallback execution. This can be reached by scanning the interface for the defined exceptions (and its childs) and switch on that base to go or not to go into the fallback.

This is feign exception.
Please create separate ticket for your idea about checked exceptions.

@harthorst Any real life use-case for this change? Please see comments: https://github.com/OpenFeign/feign/issues/431

So, there's a fork in the road to solve this.
Either we just log the cause of the fallback (simple change)
Or, we make it programmatically accessible.
Here's a PR that I think will be a sustainable option for the latter, if there's a real use-case for programmatically accessing the fallback's cause. https://github.com/OpenFeign/feign/pull/443

Still no real life use-case so from my side we can close this issue but... your proposal can't be easily integrated into @FeignClient (from Spring Cloud Netflix).  At least @FeignClient implementation must be changed. My idea was not to change anything except Feign.

@tjuchniewicz I think we'll keep this open.

ps it is correct that spring-cloud-netflix will need to be changed to support the lateest fallback-with-cause via factory design. There are a couple ways to do this..

do a minor that bumps to a release of feign with the thing, and inspect the provided fallback to see if it self-implements fallbackfactory; dispatch accordingly to the HystrixFeign object.
do something less minor which declares a bean for the fallbackfactory
something else!

Does this mean even when i use 9.3.1 version, i wont be able to make use of FallbackFactory and get to know the cause ?

Not using @FeignClient. We would need to build that integration. Hence the help-wanted label. You could use Feign directly.


Invalid double

When the user completely erases the input text, an exception is thrown.

I'm also having this problem


Save global_keystore or ks to static memory

How ca I save ks object to use it after reloading page? I have treid any ways but ks lost prototype. Also I tried to stringify protorype, save it to indesedDB and localStorage, after that retrived prototype and set to ks object. Internal prototyp functions also lost. Is it possible to use library in this way or any ideas?

@itisBaga It sounds like you want to use the serialize function and save the serialized keystore to local storage:
https://github.com/ConsenSys/eth-lightwallet#keystoreserialize

How to use the saved serialised keystore for contract creation? I created a account using lightwallet and funded 1 ether on my private network. Now when I try to access the same keystore and deploy contract and set some values in contract doesn't seem to work. I cannot see values being set because when I try retrieving it, they hold the default values and not the updated one. Where am I going wrong?
@itisBaga @christianlundkvist

@Priya-Nets you should use serialize function, then seva kesytore to your storage, and after that you should get ks object and deserialize it with .deserialize() method. It was my mistake also) Good luck.

@itisBaga Right now I am using data:uri and a link to let user download keystore json file, I wonder is there any better way to do that?
Thanks.

@sc0Vu I don't think so. You can generate file programmaticaly archive it and download like this, I think. Can I ask you, why you want let users to download ks object? Keeping phrase probably more user frendly way to backup walletm no?


Migrate from Recoil to Jotai

Recoil doesn't appear to be getting much love these days.

In progress in the jotai branch: https://github.com/kevinfrei/EMP/tree/jotai


Arango db crashes

My Environment

ArangoDB Version:        3.3.14
Storage Engine:             MMFiles
Deployment Mode:       Single Server
Deployment Strategy:    ArangoDB Starter \
Configuration:               single server
Infrastructure:               AWS
Operating System:        Ubuntu 16.04
Used Package:               Debian or Ubuntu .deb

Component, Query & Data
Affected feature:
Problem:
When authentication is enabled, DB does not start. After disabling authentication from /etc/arangodb/arangodb.conf the DB starts
Error log :   	2018-10-26T13:05:04Z [3314] INFO ArangoDB 3.3.14 [linux] 64bit, using jemalloc, build tags/v3.3.14-0-g377be26, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.0.2g  1 Mar 2016
2018-10-26T13:05:04Z [3314] INFO {authentication} Jwt secret not specified, generating...
2018-10-26T13:05:04Z [3314] INFO detected operating system: Linux version 4.4.0-1070-aws (buildd@lcy01-amd64-001) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #80-Ubuntu SMP Thu Oct 4 13:56:07 UTC 2018
2018-10-26T13:05:04Z [3314] WARNING {memory} environment variable GLIBCXX_FORCE_NEW' is not set. it is recommended to set it to some value to avoid unnecessary memory pooling in glibc++
2018-10-26T13:05:04Z [3314] WARNING {memory} execute 'export GLIBCXX_FORCE_NEW=1'
2018-10-26T13:05:04Z [3314] INFO using storage engine mmfiles
2018-10-26T13:05:04Z [3314] FATAL {cluster} Cluster authentication enabled but JWT not set via command line. Please provide --server.jwt-secret which is used throughout the cluster.
End of agent log component=arangodb
2018-10-26T13:05:04Z |ERRO| agent has failed 100 times, giving up component=arangodb
Expected result:

Hi @ranjithkalliadan
Thanks for opening this ticket and using ArangoDB
May you please provide us the followings:

exact command used to deploy your single instance
arangod.conf file

Thanks

command used to install  :   sudo apt-get install arangodb3=3.3.14
contents of config file is below
[database]
directory = /var/lib/arangodb3
[server]
endpoint = tcp://x.x.x.x:8529
storage-engine = auto
authentication = false
statistics = true
uid = arangodb
[javascript]
startup-directory = /usr/share/arangodb3/js
app-path = /var/lib/arangodb3-apps
[foxx]
[log]
level = info
file = /var/log/arangodb3/arangod.log
[cluster]
[rocksdb]

Hi @ranjithkalliadan,
From the description of this ticket, you reported that you are deploying a single server instance using the ArangoDB Starter tool (the arangodb binary).
Please try to follow

create a secret and save it some where (e.g.  secret could be "geheim" and it will be stored in a file called jwt.txt)
from a shell run the following command:

arangodb --starter.data.dir=path_to_your_datadir --starter.mode single --auth.jwt-secret path_to_jwt.txt

After issuing that command your single instance will hopefully start with JWT authentication turned on

You can check from your arangod.conf file that is turned on:
e.g.
[server]
endpoint = tcp://[::]:8529
jwt-secret = geheim
storage-engine = mmfiles
authentication = true
[log]
level = INFO

Hope this helps

Hi @ranjithkalliadan
How things are going ? Re-reading your message I've noticed that you didn't cite how did you start your single server instance, you just cited how you installed it:

command used to install : sudo apt-get install arangodb3=3.3.14

May you please let us know how did you start your instance ? Which commads did you use ?
May you also provide us the followings:

log files (this file should found in /var/log/arangodb3/arangod.log)
output of ps aux | grep arangod

In addition I would like to suggest you to have a look at this link: https://docs.arangodb.com/3.4/Manual/Deployment/SingleInstance/
Best,

Hi @ranjithkalliadan
I am closing this issue as "solved" for now since we have not received any feedback from in a while.
Please feel free to comment and we will reopen this issue.
Best,


[CELEBORN-914] Support memory file storage

What changes were proposed in this pull request?
To support memory file storage.
Why are the changes needed?
To improve shuffle performance for small shuffle files.
Design doc: https://docs.google.com/document/d/1SM-oOM0JHEIoRHTYhE9PYH60_1D3NMxDR50LZIM7uW0/edit?usp=sharing
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA and manually test on a cluster.

Codecov Report
Attention: Patch coverage is 73.15436% with 40 lines in your changes are missing coverage. Please review.

Project coverage is 49.33%. Comparing base (fc23800) to head (52cd7d8).
 Consider uploading reports for the commit bc4fce8 to get more accurate results

Files
Patch %
Lines

...java/org/apache/celeborn/common/meta/FileInfo.java
62.86%
10 Missing and 3 partials :warning:

...rg/apache/celeborn/common/meta/MemoryFileInfo.java
52.95%
8 Missing :warning:

...rg/apache/celeborn/common/meta/ReduceFileMeta.java
70.00%
6 Missing :warning:

...he/celeborn/common/util/ShuffleBlockInfoUtils.java
83.34%
0 Missing and 6 partials :warning:

...g/apache/celeborn/common/protocol/StorageInfo.java
50.00%
2 Missing :warning:

...cala/org/apache/celeborn/common/CelebornConf.scala
88.24%
1 Missing and 1 partial :warning:

...org/apache/celeborn/common/util/PbSerDeUtils.scala
0.00%
2 Missing :warning:

...e/celeborn/common/network/buffer/ChunkBuffers.java
75.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2300      +/-   ##
==========================================
+ Coverage   48.96%   49.33%   +0.37%
==========================================
  Files         209      211       +2
  Lines       13146    13238      +92
  Branches     1135     1149      +14
==========================================
+ Hits         6436     6530      +94
+ Misses       6287     6276      -11
- Partials      423      432       +9

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

@FMX metrics added by this PR is not added to the Celeborn website Monitoring page. Also, should we start adding such changes in the release notes as well. WDYT?


HttpClientProperties evictInBackground support

Enhancement
In reactor-netty 0.9.13, an ability was added to configure a background connections eviction.
See: https://github.com/reactor/reactor-netty/pull/1329
It would be great if Spring Cloud Gateway exposed this configuration option via HttpClientProperties.
The default could be Duration.ZERO, (meaning there is no background eviction).
This could be useful during the investigation of the connection leak and as an ability to avoid connection evictions on request.

@Fetsivalen if eviction doesn't occur in the background, then when does the eviction predicate get evaluated?

@tony-clarke-amdocs from what i see it happens on request.
See explanation here: https://github.com/reactor/reactor-netty/issues/612#issuecomment-515984327
From what I understand it is how conections managed currently.
My issue is that leak happens on 400 (non 101 actually) http response code on establishing ws connection, but for now i'm trying to track down is it an issue in reactor netty or in my code.

I ran into this too recently. In my case memory leaks because of downstream services change their IPs quite often. See https://github.com/reactor/reactor-netty/issues/1556 for more details


⚠ Quirk Club Argentina (Payment Gateway) has degraded performance

In 8334e7c, Quirk Club Argentina (Payment Gateway) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/payment-gateway-ml) experienced degraded performance:

HTTP code: 200
Response time: 7588 ms

Resolved: Quirk Club Argentina (Payment Gateway) performance has improved in 1950a32.


TAPA refresh with disabled target

Description
Improvement for the refresh mechanism in the TAPA when the target in the NSP is in disabled state or no longer existing. The TAPA is now ignoring itself from the list of identifier in use, so it can now refresh its registration if it became disable in the NSP.
Issue link
/
Checklist

Purpose

[x] Bug fix
[ ] New functionality
[ ] Documentation
[ ] Refactoring
[ ] CI

Test

[x] Unit test
[x] E2E Test
[ ] Tested manually

Introduce a breaking change

[ ] Yes (description required)
[x] No

/reverify


lastFetch is set even if fetch fails

In queue.go
// synchronously go fetch
e.lastFetch = time.Now()
res, err := q.fetch.fetch(ctx, e.request)
if err != nil {
    // Even if the request failed, we need to queue the next fetch
    q.enqueueNextFetch(nil, e)
    return fmt.Errorf(`failed to fetch %q: %w`, e.request.url, err)
}

If e.lastFetch is written before the fetch method finishes, it will be set regardless of the success of fetch(). This means that subsequent fetches don't try and fetch the object even if entry.data is nil.

@marc-ste It has been a while since I last checked this code, so please forgive me for sounding a bit awkward.
If I'm not mistaken, lastFetch records the last fetch attempt, regardless of the result of the fetch.
cache.go doesn't automatically perform a fetch repeatedly on URLs that failed, because... it's wasteful. But you can force it to fetch using Refresh().
queue.go doesn't seem to have a logic that will stop processing depending on the value of lastFetch, so I don't think it is affected by whatever the value of lastFetch is.
At least that's my take, albeit there could always be oversights. If you are encountering a problem, can you please provide some code?

If I'm not mistaken, lastFetch records the last fetch attempt, regardless of the result of the fetch.
Maybe thats the literal interpretation of it, but I think its misleading. See below.

cache.go doesn't automatically perform a fetch repeatedly on URLs that failed, because... it's wasteful. But you can force it to fetch using Refresh().

I can understand why we don't want to repeatedly fetch, but marking it as fetched and populating that entry with nil doesn't feel appropriate.
I think the issue is here: https://github.com/lestrrat-go/httprc/blob/main/cache.go#L155
if forceRefresh || !e.hasBeenFetched() {
    if err := c.queue.fetchAndStore(ctx, e); err != nil {
        e.releaseSem()
	return nil, fmt.Errorf(`failed to fetch %q: %w`, u, err)
    }
}

Even If the last fetch failed, e.hasBeenFetched() will resolve to true and the cache will return a nil.

Even If the last fetch failed, e.hasBeenFetched() will resolve to true and the cache will return a nil.

I'm sorry if I sound obtuse, but I don't understand.
Returning nil when the previous fetch failed is the intended behavior, because we wouldn't know if the resource is, for example, actually 404 (or maybe it's HTML instead of JSON) for good, or missing/malformed temporarily and is something we can recover. Only the caller knows if the URL should be retried, therefore we won't try to fetch repeatedly.
There might be cases that we missed which is causing you problems, i.e. our "intended behavior" is wrong, or maybe we have misleading documentation.
But while you have described the internal code that you deem wrong, you have yet to actually show me any code or explanation as to why this matters, so ATM I don't see the problem.


chore(safari): prep ios tour [skip ci]

Preparing iOS app for showing a carousel-based tour to explain users how to set up the Safari extension.
Carousel block copied from here (courtesy of @arumsey)

Closing due to lack of priority.


Bugfix: Ayon Deadline env vars + error message on no executable found

Changelog Description
Fix some Ayon x Deadline issues as came up in this topic:

missing Environment Variables issue explained here for deadlinePlugin.RunProcess for the AYON extract environments call.
wrong error formatting described here with a ; between each character like this: Ayon executable was not found in the semicolon separated list "C;:;/;P;r;o;g;r;a;m; ;F;i;l;e;s;/;Y;n;p;u;t;/;A;Y;O;N; ;1;.;0;.;0;-;b;e;t;a;.;5;/;a;y;o;n;_;c;o;n;s;o;l;e;.;e;x;e". The path to the render executable can be configured from the Plugin Configuration in the Deadline Monitor.

Additional info

[!NOTE]
Please test / figure out why some users are facing this but apparently Ynput crew has been able to run Deadline renders fine?
Do you have AYON_SERVER_URL e.g. predefined on the render machines?
Or do the farm machines maybe have server url in a keychain?

Testing notes:

Submit renders to deadline
Publish renders in deadline

I've now also updated the Ayon Plug-in itself to use SetEnvironmentVariable instead of SetProcessEnvironmentVariable since it is a Simple Plugin.
More details see the Deadline documentation describing the differences between SetEnvironmentVariable and SetProcessEnvironmentVariable for Job Rendering in more detail.

Hope this comment is relevant 😅
Tbh, I faced this error many times.
There were two solutions that worked for me:

flipping slashes from backward \ to forward / worked
adding a semi-colon ; at the end of the path worked

Tbh, I faced this error many times. There were two solutions that worked for me:
* flipping slashes from backward `\` to forward `/` worked

* adding a semi-colon `;` at the end of the path worked

Those don't sound like things that should fix the reported issues so I'm not sure how related they are. However, it does show that there's definitely issues with the onboarding in the deadline workflow.
What would be best is if you can reproduce the issues you had @MustafaJafar and report them as reproducable issues so we can solve things that get in the way for anyone and leave a trace of issues someone might actually face.
And of course, would be great if you could check this PR.
I think the biggest thing to figure out is why it has been working for the Ynput team. What differed? I have a feeling that in  your cases there was something else setting the Ayon server URL and API key. For example:

the job ran on a machine that has preferences for a local OpenPype user stored already (e.g. in keychain)
the job itself had the Job environment variables submitted along for serer url and api key
the worker machine had system/user environment variables defined on the machine already setting server and API key.

I'm not sure if this helps, but here you are my plugin settings, Job parameters and My log

I'll share whenever I'm able to reproduce the error

I'm currently on

Ayon 0.5.4+2310260951
Bundles:

applications 0.1.2
core: 0.1.3
deadline: 0.1.2
Houdini: 0.2.6
Openpype: 3.17.5-nightly.1

[!NOTE]
Now, I think we need to add a variable  version in GlobalJobPreLoad.py because I can't tell which is which!

How I get Ayon API key

Create Service User
Generate Key
Copy Key

Ayon Plugin settings

Houdini Job parameters

Ayon Job parameters

My Log
2023-10-31 10:05:07:  0: INFO: Executing global job preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\Major-Kalawy\plugins\6540b517b813a9ea061d3521\GlobalJobPreLoad.py'
2023-10-31 10:05:07:  0: PYTHON: *** GlobalJobPreload start ...
2023-10-31 10:05:07:  0: PYTHON: >>> Getting job ...
2023-10-31 10:05:07:  0: PYTHON: >>> Injecting Ayon environments ...
2023-10-31 10:05:07:  0: PYTHON: --- Ayon executable: C:\Users\Mustafa Taher\AppData\Local\Ynput\AYON\app\AYON 0.3.2\ayon_console.exe
2023-10-31 10:05:07:  0: PYTHON: >>> Temporary path: C:\Users\MUSTAF~1\AppData\Local\Temp\20231031080507488020_349f1d9c-77c4-11ee-a286-f02f74db125e.json
2023-10-31 10:05:07:  0: PYTHON: >>> Executing: C:\Users\Mustafa Taher\AppData\Local\Ynput\AYON\app\AYON 0.3.2\ayon_console.exe --headless extractenvironments C:\Users\MUSTAF~1\AppData\Local\Temp\20231031080507488020_349f1d9c-77c4-11ee-a286-f02f74db125e.json --project RoboAyon --asset RoboGun --task CFX --app houdini/19-5 --envgroup farm
2023-10-31 10:05:08:  0: STDOUT: *** WRN: >>> { ModulesLoader }: [  Could not find path when loading OpenPype modules "C:\Users\Mustafa Taher\AppData\Local\Ynput\AYON\addons\openpype_3.17.5-nightly.1\openpype\addons"  ]
2023-10-31 10:05:09:  0: STDOUT: >>> [  Setting OCIO environment to config path: C:\Users\Mustafa Taher\AppData\Local\Ynput\AYON\addons\ayon_ocio_1.0.0\ayon_ocio\configs\OpenColorIOConfigs\aces_1.2\config.ocio  ]
2023-10-31 10:05:09:  0: STDOUT: --- your system is set to use custom CA certificate bundle.
2023-10-31 10:05:09:  0: STDOUT: >>> loading environments ...
2023-10-31 10:05:09:  0: STDOUT:   - global AYON ...
2023-10-31 10:05:09:  0: STDOUT:   - for addons ...
2023-10-31 10:05:09:  0: STDOUT: *** AYON [1.0.0-beta.5]
2023-10-31 10:05:09:  0: STDOUT: >>> Using AYON from [ C:\Program Files\Ynput\AYON 1.0.0-beta.5 ]
2023-10-31 10:05:09:  0: STDOUT: ... AYON variant: [ production ]
2023-10-31 10:05:09:  0: STDOUT: ...

Yes, please! And bonus points for the GlobalJobPreLoad logs also mentioning the version its running!
We can add e.g. this top of file:
__version__ = "1.0.0"

And then log it in __main__(), e.g.:
    print(f"*** GlobalJobPreload start {__version__}...")

I restored the previous Ayon settings that caused error before and I faced the same error again

[!NOTE]
Clarification:

Few weeks ago Ayon used provide users with the installer AYON 0.3.2 that install Ayon in program data
Currently, Ayon provides users with the installer AYON-1.0.0-beta.5 that installs Ayon in program files that later on installs  AYON 0.3.2 in program data
Deadline plugin expects the AYON 0.3.2\ayon_console.exe not AYON 1.0.0-beta.5\ayon_console.exe , maybe these apps aren't wired yet.
The issue in my screenshot that GlobalJobPreLoad.py failed to find a valid ayon_console.exe. So, it split each character of the given path
using forward slashes / instead of backslashes \  or adding semicolon ; at the end of path have no effect.

Ayon Job Log
Error
=======================================================
Error: FailRenderException : Ayon executable was not found in the semicolon separated list "C;:;\;P;r;o;g;r;a;m; ;F;i;l;e;s;\;Y;n;p;u;t;\;A;Y;O;N; ;1;.;0;.;0;-;b;e;t;a;.;5;\;a;y;o;n;_;c;o;n;s;o;l;e;.;e;x;e". The path to the render executable can be configured from the Plugin Configuration in the Deadline Monitor.
   at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\Major-Kalawy\plugins\6540bb31b813a9ea061d3524\Ayon.py", line 108, in RenderExecutable
    "from the Plugin Configuration in the Deadline Monitor.")
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at __FranticX_GenericDelegate0`1\[\[System_String\, System_Private_CoreLib\, Version=6_0_0_0\, Culture=neutral\, PublicKeyToken=7cec85d7bea7798e\]\]Dispatcher.Invoke()
   at FranticX.Processes.ManagedProcess.RenderExecutable()
   at Deadline.Plugins.DeadlinePlugin.RenderExecutable()
   at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
   at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgq, CancellationToken bgr)
   at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajv, CancellationToken ajw)

That's great @MustafaJafar - is that resolved with this PR?

That's great @MustafaJafar - is that resolved with this PR?

No, that's from the develop branch

That's actually only in the logged message - it does search the paths fine (or it might have been fixed too before this PR; but this PR fixes the actual message being logged correctly

I agree that it should be fixed to avoid any confusion

Those were my 2 cents because I can't review any changes regards self.SetEnvironmentVariable(env, val) and deadlinePlugin.SetProcessEnvironmentVariable(env, val)
maybe @kalisp can tell us.

Those were my 2 cents because I can't review any changes regards self.SetEnvironmentVariable(env, val) and deadlinePlugin.SetProcessEnvironmentVariable(env, val)

You could take your running environment/setup that fails and ONLY replace the Deadline plugins/files with the ones in this PR and see if the errors are then resolved, right? If not, then we should still fix those?


Update fetch-youtube-transcript extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Recently, I noticed that many videos, especially those in non-English languages, lack transcripts on YouTube. Consequently, when I attempted to download these transcripts, I encountered an unusual error message. However, I have resolved this issue, and now, a clear error message stating “Transcript Not Available” is displayed.


build: add Flowing Code snapshots and releases repositories

@ngonzalezpazFC Please cherry-pick into conventional-commits


Identify data needed to answer our research questions

Only the needed data should be included in our star scheme later.
Example for data not needed is maybe the address of a provider.
Also document decisions in the data management plan!

Tables needed:

tb_patients (in periphery) -> patient master data, only demographical data needed
tb_encounters (in central table) -> one main endpoint
tb_conditions (in central table) -> for classification of emergency encounter or not
tb_payers (in periphery) -> only payer names (because other data not conclusive over different data sets (see #30)
tb_payer_transitions (in central table) -> to see which payer payes which encounter
tb_immunizations (in central table) -> to count immunizations for patients or payers
tb_procedures (in central table) -> causes specific cost within encounter
tb_medications (in central table) -> causes specific cost within encounter
code_translation (in periphery) -> include only snomed_ct codes in central table

Tables needed:

tb_patients (in periphery) -> patient master data, only demographical data needed
tb_encounters (in central table) -> one main endpoint
tb_conditions (in central table) -> for classification of emergency encounter or not
tb_payers (in periphery) -> only payer names (because other data not conclusive over different data sets (see #30)
tb_payer_transitions (in central table) -> to see which payer payes which encounter
tb_immunizations (in central table) -> to count immunizations for patients or payers
tb_procedures (in central table) -> causes specific cost within encounter
tb_medications (in central table) -> causes specific cost within encounter
code_translation (in periphery) -> include only snomed_ct codes in central table

Tables needed:

tb_patients (in periphery) -> patient master data, only demographical data needed
tb_encounters (in central table) -> one main endpoint
tb_conditions (in central table) -> for classification of emergency encounter or not
tb_payers (in periphery) -> only payer names (because other data not conclusive over different data sets (see #30)
tb_payer_transitions (in central table) -> to see which payer payes which encounter
tb_immunizations (in central table) -> to count immunizations for patients or payers
tb_procedures (in central table) -> causes specific cost within encounter
tb_medications (in central table) -> causes specific cost within encounter
code_translation (in periphery) -> include only snomed_ct codes in central table

@fphans und @Carmen-Haubold  würde das zu morgen Abend sonst einmal so vorbereiten, wenn ihr einverstanden seid. (Können wir danach ja immer nochmal anpassen, da wir unsere Datenbank ja eh immer im memory neu erzeugen.

Tables needed:

tb_patients (in periphery) -> patient master data, only demographical data needed
tb_encounters (in central table) -> one main endpoint
tb_conditions (in central table) -> for classification of emergency encounter or not
tb_payers (in periphery) -> only payer names (because other data not conclusive over different data sets (see #30)
tb_payer_transitions (in central table) -> to see which payer payes which encounter
tb_immunizations (in central table) -> to count immunizations for patients or payers
tb_procedures (in central table) -> causes specific cost within encounter
tb_medications (in central table) -> causes specific cost within encounter
code_translation (in periphery) -> include only snomed_ct codes in central table

@fphans und @Carmen-Haubold  würde das zu morgen Abend sonst einmal so vorbereiten, wenn ihr einverstanden seid. (Können wir danach ja immer nochmal anpassen, da wir unsere Datenbank ja eh immer im memory neu erzeugen.

Siehe wiki-Eintrag

Siehe wiki-Eintrag


Perceived wait time should be minimised

As a user I want to minimise the perceived wait time so that my customers don't feel held up.

What's the acceptance criteria for this?

This was brought up by Leo for the preemptive concern over the transaction time.
Current plan is to write the requirements in the Berkswell planning session.
Will probably need @ArghZombies to help with this.

Covered in #76


kbd shortcuts updated

Why:
Since, in the issue #13900 it was mentioned that the kbd shortcuts are not according to updated version to meet github docs style.
Closes [#13900 ]
What's being changed (if available, include any code snippets, screenshots, or gifs):

Updated keyboard shortcuts according to updated version to meet the requirements for github docs style as seen in the above page.
Check off the following:

[+] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[+] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@Paras-Saini Thanks so much for opening a PR! I'll get this triaged for review :zap:

Asked another team member, we're good with the <kbd> but we would like to keep the indentation as it was, if it would be possible to revert the indentation change.

👋 @Paras-Saini Would you mind adding the indention back in per the comment above? Then we can get this merged down ✨

Yeah, sure,,i'll do it.
On Wed, Jul 13, 2022, 04:42 Courtney Wilson @.***>
wrote:

👋 @Paras-Saini https://github.com/Paras-Saini Would you mind adding
the indention back in per the comment above? Then we can get this merged
down ✨
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/18923#issuecomment-1182586290, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQNAKHAMUVYUVGZWGVP3C33VTX3WRANCNFSM52SW76PA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you @cmwilson21 I have learned many things through github docs, thank you for this beautiful community.

@Paras-Saini Thank you for contributing to it! 💖


kubectl-klock: 0.5.0 -> 0.5.1

Description of changes

update to version 0.5.1
enable completion via wrapper script

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@scm2342 can you adjust first commit, so that it only contains changes related to completion

@scm2342 thank you, sorry this PR got lost :-)

@kirillrdy No worries at all - I should have requested review sooner. Thanks a lot for your work!


Get inspired ...

https://help.github.com/articles/search-syntax/
Basically they do exactly the same but extend it to >, <, >=, <=, .. , ...

if we want to go there, we need to change the behavior for numbers. currently they are treated as strings

I have nothing against that btw

Because today even for a number the "part of" applies I guess.
Maybe indeed if it is a number it should not be contain but "equal" and if there is the sign >, <,. ... the first condition would be to check if it is a number.

In fact it looks like really a nice library that would be impressive to use in some application. Query like
green 1992..1998
Would look for any text field that contains green and a number between 1992 and 1998


list action callback is not called on touch

Hi All,
I've created a list and added four btns. It used to works fine but since I've updated my lvgl library from ver5.2beta to ver5.2 master, when I touched the brns in the list, action function is not called while it works fine with hardware keypad, do you have any ideas? here is my function to create a list:
lv_obj_t * createOptList(lv_obj_t *parent,const char *txt[], lv_action_t action) {
uint8_t txtItemNum=findNumItemsPointArr(txt);
static lv_style_t style_btn_scrl;
lv_style_copy(&style_btn_scrl, &lv_style_transp_tight);
style_btn_scrl.body.padding.inner = 2;
static lv_style_t style_btn_pr;
lv_style_copy(&style_btn_pr, &lv_style_btn_pr);
style_btn_pr.body.border.opa = LV_OPA_COVER;
style_btn_pr.body.border.color = LV_COLOR_ORANGE;
style_btn_pr.body.border.width = 5;
style_btn_pr.line.color = LV_COLOR_ORANGE;
/Crate the list/
lv_obj_t *list2 = lv_list_create(parent, NULL);
lv_obj_set_height(list2,txtItemNum*LIST_BTN_HIGH);
lv_list_set_style(list2, LV_LIST_STYLE_SCRL, &style_btn_scrl);
lv_list_set_style(list2, LV_LIST_STYLE_BTN_PR, &style_btn_pr);
for (uint8_t i=0 ; i< txtItemNum ; i++)
{
lv_obj_set_free_num(lv_list_add(list2, NULL ,txt[i], action),i);
}
lv_obj_align(list2, NULL, LV_ALIGN_CENTER, 0,0);
listSelIndex=0;
return list2;
}
here is where I call the above function:
lv_indev_set_group(kb_indev, activeGroup);

InboxScreen=lv_obj_create(NULL, NULL);
lv_scr_load(InboxScreen);

parent=createBgWindow("",InboxScreen);

current_obj=createOptList(parent,settingOptStr,settingOptCb);

lv_obj_set_width(current_obj,LV_HOR_RES-210);
lv_group_add_obj(activeGroup, current_obj);
lv_group_focus_obj(current_obj);

lv_group_set_focus_cb(activeGroup,settingMenuCb);

I should mention that I am using both touch and hardware keypad

I added the code below after adding the btn to the list and problem resolved
lv_btn_set_action(btn, LV_BTN_ACTION_PR, action);
I should add that I have created some single btns with CLICK_ACTION and CLICK_ACTION works for them but seems that doesn't work for list btns.

I had similar issue, check my solution: https://github.com/littlevgl/lvgl/issues/521

@mharizanov Thanks , yes I modified my touch driver to return x and y in release and fixed the issue.


[ENHANCEMENT] Audio recording support

Having support for audio recording would be really useful for something like voice chat in games.
For native targets, I think both SDL and OpenAL have support for audio recording, its just a matter of writing bindings and adding them thru CFFI. I've actually tried to  add bindings for OpenAL audio capturing but I got stuck trying to figure out how to send the data fromalcCaptureSamples() from C++ to Haxe.
I haven't looked into HTML5 stuff but I'm pretty sure its a bit more straightforward compared to native

i support this too, i want too :)


Fix/3663 grammar

This PR is a simple typo fix and closes #3663

I'm not sure why, but File changes is showing +0/-0 lines changed. Did you make some mistake with git or is GitHub broken somehow?

@uwaseem thanks for the PR. Please, always pull the latest code before you start fixing something.
This is already fixed in https://github.com/FreeCodeCamp/FreeCodeCamp/pull/3677, so I'm going to close this PR. You can pick another issue and work on it, thanks.

Please review the Guidelines for Contributing, thank you!.

Yeap, my bad there. Did not realise the fix. Sorry. @ahstro & @bugron


bug: Open WebUI is slow to submit and process responses in long chats

Bug Report
Installation Method
Docker
Environment

Open WebUI Version: v0.3.16

Ollama (if applicable): v0.3.8

Operating System: macOS 14.6.1 (23G93) on M1 MacBook Pro w/ 64 GB RAM, iOS 17.5.1 (21F90) on iPhone 12 Pro

Browser (if applicable):

iOS

Brave 1.68.1
Chrome 128.0.6613.98
Safari (whatever the latest version is on iOS)
Vivaldi 6.8.3388.154

macOS

Brave 1.69.153
Chrome 128.0.6613.114
Vivaldi 6.8.3381.57

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.
[x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Engage in a lengthy chat with the chatbot.
Message submission and response time are about as fast as Ollama can respond.

Actual Behavior:

Engage in a lengthy chat with the chatbot.
Message submission and response time begin taking minutes.

Description
Bug Summary:
The UI begins slowing down significantly as you use Open WebUI for longer chats. This is especially noticeable on a mobile device, with message submission and response times taking minutes for a chat with about 90 messages (~45 user messages, ~45 assistant messages) and minimal, if any, branching. Refreshing the UI will sometimes increase speed marginally, but submissions and responses still take far longer than when you first start, and it quickly degrades back to taking minutes.
Note that the response generation info indicates that Ollama is passing back the information in a reasonable amount of time. For example, for a response that may take minutes to load on iOS, Ollama took 10 seconds to infer and decode, indicating an issue with the UI itself.
Reproduction Details
Steps to Reproduce:
This is easiest to reproduce on a mobile device. I notice the same slowdown on my laptop, but it never reaches the point that mobile does.

Open up Open WebUI and select your favorite model.
Engage in a lengthy chat in a single session (i.e., don't close the tab and reopen, refresh, etc.—it's most noticeable with one continuous chat session) that produces responses from the LLM that are about 300 tokens in length.
You'll notice slowness in 10-15 user prompts (20-30 total messages), grinding to a halt after 20+ user prompts.

Logs and Screenshots
Browser Console Logs:
The issue is most noticeable on mobile browsers, and I have yet to connect my phone to my computer to get a developer console to check.
Docker Container Logs:
I don't believe these will be useful for this issue—the HTTP requests and UI function without issues. This problem might be due to too many SvelteKit components displayed in longer message threads.
Screenshots/Screen Recordings (if applicable):
If the developers have trouble reproducing this issue on their hardware, I can spend some time recording a video to demonstrate. However, it should be easily reproducible.
Additional Information
N/A

Same on 2015 macbook pro, cannot use it for longer chats

I also have a similar issue. It works fine on the computer, but when using it on my phone, if the context is very long, the response becomes very laggy. The streaming response even turns into a non-streaming effect completely.

I have been experiencing this too, for a few weeks I think. I've always kept Open WebUI reasonably up to date, and I am running the latest version (v0.3.16) right now and still have this issue.
Looks like the same issue as #3620
Seems to only affect web app mode (i.e. added to the iPhone home screen or macOS dock via Safari)

Please do not create duplicate issues: #3620


let code simple

I think original code can be so simple to just one line.

Array.join() is really bad performance!

This is invalid. Thanks.


first commit

Himanshu Chauhan Getting Started File Task

I am closing this. Please submit another one within the coding period (1st Dec - 6th Jan).


Change 'range' in docstrings of 'normalize' to 'value_range'.

Change range in docstrings of normalize to value_range.
The current docstring for 'normalize' is:
normalize (bool, optional): If True, shift the image to the range (0, 1),  by the min and max values specified by :attr:`range`. Default: ``False``.

However, the parameter range has been changed to value_range.

Thanks for the fix @njuaplusplus !

Thanks for the fix @njuaplusplus !

Thank you very much! @NicolasHug


Add additional sections/field from drupal to DocBook

DDI 3.2 relation
GSIM relation
RDF mapping

the extra stuff is outputed


Fix spacy component example (issue #96)

Update the example to work with the latest spacy as installed by pip install spacy (version 3.0.6), and fix failure to segment sentences due to doc.char_span returning None. Fixes #96.
Add pipe to spacy model
Use the current spacy recommended way to add the pipe to a model.
Fix sentences not split due to extra chars
The doc.char_span uses alignment_mode="strict" by default, which returns None when sent_char_spans contains trailing spaces, for example. Change the alignment_mode to "contract" so that it returns correct spans.

Why is this not merged yet?

@nipunsadvilkar

@nipunsadvilkar


[doc] Add install and build recipes for RedHat/fedora and Archlinux.

add commandline recipes with html-details-formatting for installation and building on RedHat/Fedora and Archlinux distros.

Replaced by #20.


Documentation for --jar-files argument is incorrect

If I correctly understand the documentation for the --jar-files argument, it doesn't seem to be correct.  The documentation states the format of --jar-files is:
List of jar file paths. To pass in a list JSON encode the values. Example: '["entry1", "entry2"]'.
If I submit the following command, it fails with a 400:
C:\Users\sql2019css>azdata bdc spark batch create --file hdfs://nmnode-0/scripts/pi.py --debug --jar-files '["hdfs://nmnode-0/jars/azure-eventhubs-2.3.2.jar","hdfs://nmnode-0/jars/azure-eventhubs-spark_2.11-2.3.13.jar","hdfs://nmnode-0/jars/proton-j-0.31.0.jar","hdfs://nmnode-0/jars/qpid-proton-j-extensions-1.2.0.jar","hdfs://nmnode-0/jars/scala-java8-compat_2.11-0.9.0.jar","hdfs://nmnode-0/jars/slf4j-api-1.7.25.jar"]'
I see the following in the DEBUG output that leads me to believe the correct format is a comma separated, list of double-quoted strings:
send: b'{"file": "hdfs://nmnode-0/scripts/pi.py", "jars": ["'[hdfs://nmnode-0/jars/azure-eventhubs-2.3.2.jar,hdfs://nmnode-0/jars/azure-eventhubs-spark_2.11-2.3.13.jar,hdfs://nmnode-0/jars/proton-j-0.31.0.jar,hdfs://nmnode-0/jars/qpid-proton-j-extensions-1.2.0.jar,hdfs://nmnode-0/jars/scala-java8-compat_2.11-0.9.0.jar,hdfs://nmnode-0/jars/slf4j-api-1.7.25.jar]'"]}'
reply: 'HTTP/1.1 400 Bad Request\r\n'
This command works as long as there are no spaces between the entries in the list:
C:\Users\sql2019css>azdata bdc spark batch create --file hdfs://nmnode-0/scripts/pyeventhub.py --debug --jar-files "hdfs://nmnode-0/jars/azure-eventhubs-2.3.2.jar","hdfs://nmnode-0/jars/azure-eventhubs-spark_2.11-2.3.13.jar","hdfs://nmnode-0/jars/proton-j-0.31.0.jar","hdfs://nmnode-0/jars/qpid-proton-j-extensions-1.2.0.jar","hdfs://nmnode-0/jars/scala-java8-compat_2.11-0.9.0.jar","hdfs://nmnode-0/jars/slf4j-api-1.7.25.jar"

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

ID: 6600107a-20b8-6ee3-1616-4c6ca1c06159
Version Independent ID: 46981b99-72b9-16d4-bfe3-cc383708f26d
Content: azdata bdc spark batch reference - SQL Server big data clusters
Content Source: docs/big-data-cluster/reference-azdata-bdc-spark-batch.md
Product: sql
Technology: big-data-cluster
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@dgshaver -- thank you for your feedback.
@MikeRayMSFT -- please look into this issue 3607.

User Story 1648821: SQL | azdata issues


Issue with YAML syntax highlightinh

I've found that the plugin will break regular syntax highlighting on certain files. I've seen this happen on a YAML file. Lines where the indent guides appeared would lose their syntax highlighting.

:+1: Broken for me too

broken for LESS (genoma/vim-less), seems that works for CSS (JulesWang/css.vim)

fixed

The SASS and YAML syntax highlighting are not the duties of indentLine plugin. The fix may confuse user who use another SASS and YAML vim plugins. @Yggdroot

@adoyle-h I know, but too many people complain about it.