Portainer stack is now marked as External

I created a number of Stacks via Portainer on one of my home servers.
However when I came to make some mods to the stacks recently, they now appear to be listed as "created outside of portainer", therefore I can't update or modify any configurations...
Any ideas on how I can manage them via Portainer again?
Version: 1.22.0

When you see a stack file shown as limited in the Portainer UI, it is because Portainer does not have the related stack file in it's database. The is either because the stack was deployed outside of Portainer, or because Portainer has lost it's database.
To manage the stack file within Portainer, you will need to deploy it within Portainer so that the file is kept in the database & ensure that the database is persisted.
What command did you use to deploy Portainer?

Hey, sorry for the delay in replying there.
From memory, I think Portainer was just deployed using the docker run with a persistent volume as per the docs...
Is there any way of re-creating the stack from the existing docker state?

I would check that your Portainer instance is using a persitent volume. If Portainer is indeed using the persistent volume, then this indicates the stack file may be missing.
Currently Portainer doesn't have the functionality to re-create a stack.yml from a running stack sorry, i'm not sure if this actually possible via the docker API that we use

I just installed Portainer 1.23.0 as a swarm documented here https://www.portainer.io/installation/
curl -L https://downloads.portainer.io/portainer-agent-stack.yml -o portainer-agent-stack.yml
docker stack deploy --compose-file=portainer-agent-stack.yml portainer
I created a stack on http://Manager.1.IP.Address:9000 using the UI, and same problem.

If you find that the Portainer container has been moved to a different manager, moving Portainer back to the manager node with the DB should bring stacks back to 'total control'. Otherwise, we need to debug this further as the behaviour @excenter mentioned (assuming Portainer has not been moved or had its volume deleted) is not what should happen.
If anybody wishes to debug this with me, feel free to comment in the Portainer slack channel or DM me through slack

Same behaviour here .... I migrated to 1.23.0 right now and I lost control on all my stack created by portainer.

I was using Centos 7 official AMI with a yum update and docker-ce installed fresh if that means anything. Though a later run of the same steps resulted in a totally regularly behaving swarm with portainer managed stacks.

@meriturva apologies for the late reply on this! As I understand these are your reproduction steps? Also were you able to reproduce this more than once?

Deploy a stack on a swarm endpoint
Update from 1.22.2 to 1.23.0
Add a new node to your swarm via docker swarm join command
See stacks now show as limited and see no stacks data in bolt db

@excenter do you remember the reproduction steps when you encountered the issue originally?
From what I can tell from your previous messages, you used the default swarm deployment of Portainer. It is possible Portainer was moved to another node in your swarm if you have multiple managers as we constrain to a manager. If this happens, Portainer will not be able to see it's volume on the original node. As such, stacks will show as limited.
Here is some info on how to make Portainer stay on a specific node to avoid this: https://portainer.readthedocs.io/en/stable/faq.html#how-do-i-make-sure-portainer-stays-where-my-data-is-persisted

@itsconquest you are right...as I remember these steps are correct to reproduce the issue.

@meriturva apologies for the late reply on this! As I understand these are your reproduction steps? Also were you able to reproduce this more than once?

Deploy a stack on a swarm endpoint
Update from 1.22.2 to 1.23.0
Add a new node to your swarm via docker swarm join command
See stacks now show as limited and see no stacks data in bolt db

@meriturva Were you able to reproduce this behaviour more than one time?

@meriturva Were you able to reproduce this behavior more than one time?

Unfortunately no...and I have to inform you that we are disabling swarm on our infrastructure.

For anyone else that ends up here - found a bit of a workaround for this. Here's my answer/solution on stackoverflow.


How to stack LSTM layer after conv1d layer

I am experimenting on speech-to-text-wavenet.
I tried to add a LSTM layer after conv1d layer, for example:
skip
.sg_conv1d(size=1, act='tanh', bn=True, name='conv_1')
                 .sg_lstm(last_only=True, name='rnn_1')
                 .sg_dense(dim=emotion_size)
The output shape of sg_conv1d is (16, ?, 128)
When running, I got the following error:
sg_layer.py", line 499, in sg_rnn
    for i in range(tensor.get_shape().as_list()[1]):
TypeError: range() integer end argument expected, got NoneType.
Is there have any advice?
thanks

Have had the same problem. I got no idea


[labs/ssr] Feature request: Nuxt 3 SSR Integration

Description
In the Lit & Friends Slack, I read Next and Remix integration DX is fairly high on the task list of the Lit team. I would also love to see this for Nuxt 3 (ESM only and currently in RC).
Note that the Nuxt 3 server, called Nitro, is cross-platform and not only supports Node, but also Deno, Workers, and more.
Steps to Reproduce
Live Reproduction Link
In this reproduction, I use the Nord web components (built with Lit).
https://stackblitz.com/edit/nuxt3-with-nord-ssr?file=plugins%2Fnord.ts
Expected Results
I know the web components depend on browser API's that are not available in a server context, so I would expect errors.
But I would love to be able to SSR the web components with Declarative Shadow DOM, and hydrate them on the client side (I know this is no trivial task).
Actual Results
Error is thrown: window is not defined.
When I import @lit-labs/ssr/lib/install-global-dom-shim.js beforehand, the window is not defined error goes away, but then this error is thrown: matchMedia is not defined. So, a shim for matchMedia seems to be missing.
Also please note this paragraph in the Vue docs:

Note that if a third-party library is not written with universal usage in mind, it could be tricky to integrate it into a server-rendered app. You might be able to get it working by mocking some of the globals, but it would be hacky and may interfere with the environment detection code of other libraries.

Notes
For now, I got Nuxt 3 SSR working by importing/defining the components dynamically on the client side after hydration: https://stackblitz.com/edit/nuxt3-with-nord-ssr-with-client-side-custom-elements?file=plugins%2Fnord.ts
Larger POC available on https://github.com/elwinvaneede/nuxt3-with-nord and running on https://nuxt3-with-nord.netlify.app/.
The web components need to be defined after the Vue hydration; otherwise you get hydration warnings where the client DOM differs from the server DOM. The app:mounted lifecycle hook seemed to be working for this, but with a bit larger application with pages and nested components, some hydration warnings would start appearing. Using the page:finish lifecycle hook instead of app:mounted seemed to solve this.
But this solution doesn't work together with the bundling/tree-shaking of Nuxt, because of the dynamic nature.
And of course, the interface is only visible after hydration is done and the web components are imported/defined.
In an ideal situation, I would like to cherry-pick the components I need in the pages/components with a static import (for example import<EMAIL_ADDRESS>or even better with the upcoming Vue wrappers for optimal DX such as typings in templates: import { Button } from '@nordhealth/vue'). And then Nuxt does all the bundling & tree-shaking, and Lit's Nuxt integration handles the SSR & hydration of the web components.
FYI: Injecting an HTML string into a spot during SSR is possible with v-html.
Happy to help where I can, and if you need any more information, please let me know.

Related discussion: https://github.com/lit/lit/discussions/2259

@elwinvaneede Were you guys able to make progress on SSR the elements?
I have some idea on how this could work, maybe we can brainstorm together if you don't have a solution yet?

@prashantpalikhe The Lit team is currently working on a Next.js integration. Hopefully, they will work on a Nuxt integration after. It is part of their project board.

@elwinvaneede @prashantpalikhe and I are working on a Nuxt 3 plugin https://github.com/prashantpalikhe/nuxt-ssr-lit
It's pre-release at the moment but looking promising

@elwinvaneede we've made the first release of nuxt-ssr-lit for Nuxt 3. Please test it out and provide feedback!

@steveworkman Awesome work, I will look into it when I've got some time.

Closing as a solution exists with https://www.npmjs.com/package/nuxt-ssr-lit
Huge thanks to @prashantpalikhe and @steveworkman for their work on this.


update:pytorch example notebooks to use manager.modify(...)

Update pytorch example notebooks to use the manager.modify(...) instead of older ScheduledOptimizer(...)
fix epoch initialization to 0 instead of None

Looks great @rahul-tuli! Thanks for adding in the change to vision.py as well. Could you update the notebook(s) documentation to point out that finalize() should be called after training?

Sure! Coming right up.

@bfineran Does this look okay?

@bfineran, added backticks


No way to get this from super call in C

I'm writing code to sort of fake inheritance from C++ to JS using a C++ wrapper I'm writing. But when the JS code calls super.someFunction() in a function that was overridden, there's no way to get the this of the class that was invoked.

Your description is not super clear. Can you post example code?

If your question is: can a C function distinguish between super.cfunc() and this.cfunc() calls? No.
If your question is: can a C function distinguish between super.cfunc() and cfunc() calls? Yes, check if this_val is an object (and, optionally, the expected type of object.)


Can't install this package for Laravel 5.0

Hello, after installing this package on laravel 5.0 I'm getting an error, when trying to locate to mysite/translations
FatalErrorException in /www/sbs.local/vendor/vsch/laravel-translation-manager/src/Controller.php line 368: Call to a member function all() on a non-object

maybe it because I'm using Laravel 5.0 instead of 5.1, or maybe I did something wrong?

@protectedfor, I went from Laravel 4.2 to 5.1 so never tried using it on Laravel 5.0.
I checked the documentation and yes, Laravel 5.1 changed so lists() return a collection and to get an array requires ->all() method call, in Laravel 5.0 this should be removed.
The change is in ManagerServiceProvider https://github.com/vsch/laravel-translation-manager/blob/master/src/ManagerServiceProvider.php#L14
Remove the ->all() from the end, just return $query as it is passed in, same as Laravel 4.2.
I can't promise that there are no other changes from 5.0 to 5.1 but they should not be major.


GitHub profile images

Um...yeah. Would be nice to have actual faces associates with commits instead of unruly masses of default shapes, lol.

Done.


Vocaloid producer

Issue for finding a vocaloid producer to do a theme song like thing. It's not a requirement but we should jump in the opportunity if we see it.
It would be a one off thing.

Found someone on twitter that I added on Discord: https://twitter.com/theexpus

Examples:
https://www.youtube.com/watch?v=OEWujj5y9Cc
https://www.youtube.com/watch?v=wlhgKHHqpL0
Duet style may work.

Will have demos ready by end of week

😮

Dropping more seeds that I think have the right structure.
The styles are all different but any of these would work if the result was high quality (good synthesis between the lyrics and the melodic rhythms, but I think I could pull that off from most angles).
https://www.youtube.com/watch?v=caqw375JVTI
https://www.youtube.com/watch?v=zkbKpR-G9nc
https://www.youtube.com/watch?v=1iONucZRbq8

Sample: https://cdn.discordapp.com/attachments/856501095522369568/859175951916859392/6_28_jinidea_export.mp3

I made this a few weeks back, it was about a day of work: https://cdn.discordapp.com/attachments/498315766509338636/862868702362206238/street.mp3
Lyrics start at 2:40; made with AI, rephrased and arranged by me in Vocaloid.
It is very muddy, but I think it expresses some of the flavor I wanted to inject.
This track was definitely not designed for lyrics (it is the aggressive Nhato - Run: https://www.youtube.com/watch?v=caqw375JVTI).

[Cut the blocks]
[Get the drops]
The serpent's my curse now
But I've got NFTs

They're lessons we keep
[I got you]
[You got me]
I've got the mark, yeah
I've gotta run
I'm having fun

But I won't stand for defeat
[Stacking SILK]
[And I will]
Beat all the odds
And make my own cards
[Let it rip]

The horizon is neat to me
[It's not the end of the road]

The flavour and feel of it is great. I think the lyrics still work here, but this might be personal bias speaking. I'm very sure this is the kind of direction that'd sell the style we're going for though!


package split

All test after splitting is ok

Hi @vasilich6107,
Some checks did not pass (The Analyze task). Could you take a look, please?
And also could you give me a brief description of this PR? It touches a lot of files in the project.
Best regards

This PR is required to implement https://github.com/joanpablo/reactive_forms/issues/176

In the meantime @joanpablo could you read through the #176 to get along with current progres.
May be you'll have some comments

I don't think this is needed. See https://github.com/joanpablo/reactive_forms/issues/176#issuecomment-885022405

@kuhnroyal unfortunately this is needed(
Here is why.
For writing correct FormControl annotation I need this
https://github.com/artflutter/reactive_forms_generator/blob/master/packages/reactive_forms_annotations/lib/src/form_array_annotation.dart
I need to import ValidatorFunction and AsyncValidatorFunction from package.
I could write them manually but they both refer to AbstractControl.
This is why I need runtime dependancy.
The code generators are not allowed to include packages which depend on flutter.
In test I'm getting

While trying to generate

Created you a sample PR that shows how to do this without the split: https://github.com/artflutter/reactive_forms_generator/pull/1

@joanpablo i think @kuhnroyal knows some magic)
His example definitely works)
I will get back to development next week


Game image scrolls when you open the virtual keyboard with a TextInput on Android

Godot version:
3.1.1
OS/device including version:
Windows 10
Issue description:
I want to use the TextInput node on android but the virtual keyboard moves the screen and does not allow you to see what you type correctly.
Spanish:
Quiero usar el nodo TextInput en android pero el teclado virtual mueve la pantalla y no permite ver correctamente lo que escribe.
Steps to reproduce:

Create a project in godot with Gles2 (for better compatibility with android).
Add a VBoxContainer Node, with children a Label (to check screen movement) and a TextInput.
Export to android and try it.
Write many lines until you reach the bottom and you will see how the screen is displaced.

Spanish:

Crea un proyecto en godot con Gles2 (para mejor compatibilidad con android)
Añade un Nodo VBoxContainer, con hijos un Label (para comprobar el movimiento de pantalla) y un TextInput.
Exporta a android y pruebalo.
Escribe muchas lineas hasta alcanzar el fondo y verás cómo la pantalla es desplazada.

Minimal reproduction project:
TextInput test.zip
Additionally, I add an apk for direct test.
TextInput test.zip
Screenshots:

Question:
How do I fix this?
Thank you.

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?
(btw the APK was created with older Godot, so don't use it to test whether it's fixed)

I will test.

@DeybisMelendez Did you get a chance to test it with a recent Godot version?


Preview buttons

Why was this change made?
Closes #3155

removes icons from Save and Copy buttons
adjusts the button margins, in some cases by changing css for an existing class, in some cases adding a new css class, and in some cases removing a css class from the MarcButton.

If this needs to be tested, @justinlittman I think this needs to be deployed to dev as I can't get the Marc or Export to Symphony buttons locally for a resource, I don't believe.
After
Running locally on my machine:

Simulating the changes by directly editing the css in the web inspector for a resource on dev (which is still showing the icons on the Save and Copy buttons:

Before

How was this change tested?
locally and with manual changes to css in browser inspector
Which documentation and/or configurations were updated?

If running locally, with fixture, you can search on http://localhost:3000/resource/9c5bd9f5-1804-45bd-99ed-b6e3774c896e, which is a bf:Instance.


drop note on linux compiler support

LGTM
I will merge this once we fix the issue we discussed in Zulip where the package built on Windows doesn't link the correct compiler version when using from Linux

should be fixed with #50


Hide balance security setting

This is a potential feature addition for Issue 126
In this PR:
-Added storage keys HIDE_BALANCE and WALKTHROUGH_TOOLTIP
-Added a toggle switch to the security-settings screen to switch on to hide balance details by default
-Added language to the en.json for descriptions, titles, etc
-Refactored TextCurrency component. Now checks the HIDE_BALANCE settings
-Added TouchableHighlight to reveal/hide balance details
-Added a React Native Walkthrough ToolTip which alerts the user via automatic tooltip popup over the eye icon the first time they navigate to a screen with a concealed balance then deletes the key to avoid subsequent, annoying pop ups.
Tested on iOS and Android locally successfully.
I tried to follow styles and patterns as closely as I could based on my understanding. I am not sure about your workflows or any specific steps I may have skipped. Happy to make necessary changes as requested.

Thank you for the pull request! I'll look into it in more detail later, but one thing to work on is we are moving away from using async storage directly. The plan is to use apollo client through gql queries like in this file. Here is an example of reading from storage, and here is an example of writing  to storage. Another part of our workflow is to run yarn prettier-write for code formatting.

What do you think about having only one eye icon to tap here to reveal both balances since one is just a conversion of the other? This would also prevent the tooltip from duplicating.

What do you think about having only one eye icon to tap here to reveal both balances since one is just a conversion of the other? This would also prevent the tooltip from duplicating.

I personally think that is preferable and that bugged me but I wanted to see what you guys thought. I will update that when I get a chance later today.

I also noticed that by modifying TextCurrency you have caused the eye to appear other places the TextCurrency component is used. BalanceHeader seems like the component you want to modify instead.

Two UI glitches are present:
https://user-images.githubusercontent.com/35902932/128809367-a27640b8-10fe-4e56-97f2-d9db6ddddc27.mp4
One is the black square when toggling the eye. The other is the price screen displaying the balance temporarily before switching to the eye when first rendered. Let me know if you need any help with these.

Thanks for the feedback, Justin. I have addressed the black square as well as the shifting buttons when the eye is toggled.
A few things:

I am learning Apollo client and trying to modify the interaction with asyncstorage through Apollo client. I am working out some of the issues with that at the moment.
Regarding the price screen displaying for a split second when first rendering, I am hoping to resolve that once I have a better grasp of managing state with Apollo. Alternatively, would a loader icon placeholder while fetching settings be desirable to solve this?

Alternatively, would a loader icon placeholder while fetching settings be desirable to solve this?

I don't think we should add a second spinner to that screen, because the graph already uses one. Leaving the area blank until the variable loads might not look bad. You could also load the variable prior to navigating to price screen like here.

I have addressed the issue of the balance displaying for a split second when first rendering the home/move-money screen after enabling balance hiding settings.
I have added a delay for the tool tip popup alerting the user they can click the eye icon to display their balance
I have created functions which handle savings settings now through functions that take inputs and interface with apollo instead of asyncstorage directly.

Open to feedback especially as it regards to my solving for saving settings and handling state.

Some ui problems are still present:

The price and settings buttons still move when the balance is loaded.
The balance appears for a split second before hiding when going to the price screen.
I personally don't like how the eye or balance loads after everything else. What do you think?

https://user-images.githubusercontent.com/35902932/129382973-1d1b7c19-9963-47f1-b3e4-135914cc5f10.mp4

Looks good to me if you fix the check code errors and warnings.


Integrated PDF scanner into VG Possibility Scanner

The http://localhost:8000/apis/v1/docs/pdfToHtmlRetrieve/ api still works after the change.
When I override possibilites_found in voter_guide/views_admin.py at line 898, the code is
invoked and creates perfect looking output like
https://wevote-temporary.s3.amazonaws.com/Endorsements2020G.html
and at line 2033 in candidate/controllers.py the new html page is substituted for the PDF and that
should work, but I don't have data in my local to test it, or know how I would do it on the live server.
Now reports Node version running on the EC2 instance at bottom of the /admin/ page.
Should address wevote/WeVoteServer/issues/1254

👍

👍


Duplicate RazorDiagnostic IDs for two different errors

https://github.com/aspnet/Razor/blob/master/src/Microsoft.AspNetCore.Razor.Language/RazorDiagnosticFactory.cs#L235 and https://github.com/aspnet/Razor/blob/master/src/Microsoft.AspNetCore.Razor.Language/RazorDiagnosticFactory.cs#L245 both have the same diagnostic id RZ1020. We need to fix it.
@rynowak is this a breaking change?

I think we're free to change this.

@ajaybhargavb, all yours!

8674dd923636ea5667b3c4b3554b41ee4e442ec1


[Event Request] codeunit 379 "Transfer Old Ext. Text Lines" - OnBeforeTransferExtendedText

Please add new event in codeunit 379.
[IntegrationEvent(false, false)]
local procedure OnBeforeTransferExtendedText(OldLineNo: Integer; var IsHandled: Boolean)
begin
end;

procedure TransferExtendedText(OldLineNo: Integer; NewLineNo: Integer; AttachedLineNo: Integer): Integer
var
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeTransferExtendedText(OldLineNo, IsHandled);
    if IsHandled then
        exit;

    InsertLineNumbers(OldLineNo, NewLineNo);
    if AttachedLineNo <> 0 then
        exit(GetNewLineNumber(AttachedLineNo));

    exit(0);
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47995.


Allow to "force overwrite" from the notification about dirty write prevention

Issue Type: Usability Improvement
Currently the notification for a file which has local modifications on disk forces you to open the compare dialog and reconcile changes there before being allowed to save the contents. While in some cases using the comparison view has value there should be the option to simply overwrite the file directly.
VS Code version: Code 1.21.1 (79b44aa704ce542d8ca4a3cc44cfca566e7720f1, 2018-03-14T14:39:09.335Z)
OS version: Darwin x64 17.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz (8 x 3500)

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.08GB free)

Process Argv
/Users/cadams/Applications/Visual Studio Code.app/Contents/MacOS/Electron .

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

xml
Dot
1.9.2

EditorConfig
Edi
0.12.1

vscode-docker
Pet
0.0.25

django-html
bib
1.2.0

vscode-eslint
dba
1.4.8

prettier-vscode
esb
1.2.2

dotenv
mik
1.0.1

vscode-apache
mrm
1.1.1

vscode-stylefmt
mrm
2.5.0

python
ms-
2018.2.1

cpptools
ms-
0.15.0

rust
rus
0.4.0

stylelint
shi
0.35.0

rewrap
stk
1.8.0

vcl
tho
0.1.2

shellcheck
tim
0.3.0

Reproduces only with extensions

Adding a voice because this thread has been quiet for a while: This is a recurring annoyance for me, and I'd love to see it fixed. When there's unsaved state in the editor and I try to save it, I basically always really do want to save it to the disk. A warning is good to get, but then I want to save the file.
For me it's usually impossible, even, for the comparison tool to be helpful: if the file on disk has changed it's usually because I switched branches, so the version on disk now is completely irrelevant and I want to compare to some previous commit I was on. Which is what git diff excels at -- which I'm going to use as soon as I can just get the data out to the file.
Even a button would be more friction than I'd like; I'd rather hit Ctrl+S again, or some other keyboard action. But it'd be a big improvement over just being told I can't save my data without going through these other steps.


Allow Analytic to set a seperate output store configuration using the input store as a default

Note.  StoreParameters.OUTPUT_STORE is currently unused.  It should be used in GeoWaveOutputFormatConfiguration.  The command line option should capture output.  Furthermore, the analytic job runner should set up the output to be the same as the input by default, if available.  If not available, then an error message should be displayed and the operation aborted

Is this an issue in CLI?  Did something get broken with GEOWAVE-546?


Storage

Use local storage to save user input.
Follow best practices for JavaScript

Thanks for approving @Nemwel-Boniface


Issues Javax EE to Jakarta EE using java-saml

It'is impossible to use java-saml with java 17 at this point. Is there any work around? is the community working on releasing a new version with java 17?

What's the issue with running under java 17?

Java 17 itself has nothing to do with the change from Java EE to Jakarta EE.

There's PR #395  open.

This package can be easily transformed with https://github.com/eclipse/transformer and then used.
I am using this for this package and many others that don't support the jakarta migration.

How are you guys using the servlet API with the SAML library? Can you not just pass in the parameters, instead of wrapping the request? I've been using jarkarta for a while now, and that did not affect how I used saml core.

Java-saml uses javax classes, java-saml-core does not. See https://github.com/SAML-Toolkits/java-saml#the-httprequest


Karaf assembly uses zip instead of tar.gz archive

ok to test

lgtm [merge]

ok to test

retest this please


Plot phasing results

Hi,
I'm new to working with SHAPEIT.
I came across an article titled: "A General Approach for Haplotype Phasing Across the Full Spectrum of Relatedness" (2014) and would like to recreate the same figure as figure 3:

for my own data. I have successfully downloaded and run SHAPEIT5 and obtained a phased VCF. I know there is also an option for a graph output but I'm unsure how to use it for getting this kind of haplotype map.

Hi michal-yoles,
This figure can be obtained only if you have a validation set (i.e parent-offspring duos or trios), which allows you to estimate your switch errors. Documentation can be found here: https://odelaneau.github.io/shapeit5/docs/tutorials/ukb_snp_array/#validation-of-your-phasing


Add Pod Menu and Node Menu back

Pod Menu and Node Menu were removed from lens. I would appreciate if we could have it back.
Thumbs up if you think it should be back into lens.

its now considered an out tree extension, its here now:

https://github.com/alebcay/openlens-node-pod-menu/releases


Hide FormFields

I added some formfields on PDf. Now I want to hide some Formfields using there name . Can I do this ? If there is any method please let me know. TIA

The API docs are available here: https://pdf-lib.js.org/docs/api/.

I have the exact same issue. I couldn't find a direct way to hide/show a field even using AcroForm API. Documentation isn't helping here.
Please reopen.


Add canPromote function for checking if a pawn of a given color and be promoted at its position

Add canPromote function for checking if a pawn of a given color and be promoted at its position

Actually color won't be necessary because it can be determined off the position.


Fix CI issues to work with autogenerated commimts created with semantic-release

Now the e2e-tests job checkout the latest tagged version, which contains the updated package.json, used to compare the published version on npm with the files on the repository
Disable semantic-release on branches following the pattern x.y.z as names

:tada: This PR is included in version 1.0.3-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add management deployment

Proposed changes:

Add management deployment
Add management configuration
Add variables for deployment
Update descriptions of variables

https://solarsystem.nasa.gov/planets/dwarf-planets/makemake/in-depth/


[5.9][move-only] Fix borrowing address only no consume diagnostic to not say can't capture.

We previously were emitting a consuming partial_apply diagnostic. I had to reformulate slightly the way we pattern match the diagnostics to make sure that we get the proper no consume diagnostic.
rdar://111461837
(cherry picked from commit 4591e39d029547f10a7c70b5ece2a7668d11a938)

@swift-ci test


[Bug] Use correct decimal scale for function round

Search before asking

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

Version
master
What's Wrong?
As discussed in #14946, round(16.025000, 2) should be 16.03 instead of 16.030000 if 16.025000 is a DECIMALV3 type.
Related functions:
round
floor
ceil
truncate
round_bankers
What You Expected?
1
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I willing to continue working on this issue

I willing to continue working on this issue

Great!

version 849adca, my test results are like below
MySQL [(none)]> show frontends;
+-------------------------------+------------+-------------+----------+-----------+---------+----------+----------+------------+------+-------+-------------------+---------------------+----------+--------+---------------------------+------------------+
| Name                          | IP         | EditLogPort | HttpPort | QueryPort | RpcPort | Role     | IsMaster | ClusterId  | Join | Alive | ReplayedJournalId | LastHeartbeat       | IsHelper | ErrMsg | Version                   | CurrentConnected |
+-------------------------------+------------+-------------+----------+-----------+---------+----------+----------+------------+------+-------+-------------------+---------------------+----------+--------+---------------------------+------------------+
| <IP_ADDRESS>_9010_1672159914240 | <IP_ADDRESS> | 9010        | 8030     | 9030      | 9020    | FOLLOWER | true     |<PHONE_NUMBER> | true | true  | 1336              | 2022-12-27 18:05:32 | true     |        | doris-0.0.0-trunk-849adca | Yes              |
+-------------------------------+------------+-------------+----------+-----------+---------+----------+----------+------------+------+-------+-------------------+---------------------+----------+--------+---------------------------+------------------+
1 row in set (0.08 sec)

MySQL [(none)]> select round(16.025000, 2);
+------------------+
| round(16.025, 2) |
+------------------+
|            16.02 |
+------------------+
1 row in set (0.27 sec)

MySQL [(none)]>

m with the rounding result, and the precision problem seems to have been fix

Currently, literal 16.025000 is considered as DECIMALV2 by default so we got a wrong result. To test DECIMALV3, you should:

CREATE TABLE with a DECIMALV3 column col
INSERT data INTO this table (e.g. 16.025000)
select round(col, 2) from this table;

@Gabriel39 , I want to work on this issue. Can you please assign to me?

@Gabriel39 , I want to work on this issue. Can you please assign to me?

Hi @Prakhar047 , actually, I'm not sure the progress which is done by @maochongxin . @maochongxin Have you done this job ?

@Gabriel39 , I want to work on this issue. Can you please assign to me?

Hi @Prakhar047 , actually, I'm not sure the progress which is done by @maochongxin . @maochongxin Have you done this job ?

I'm sorry for the long absence of updates due to illness, can assign to @Prakhar047 , thanks

@Gabriel39 Can you please guide me how to start?

Compile and run the master branch of doris to reproduce the above bug.
The implementation of the round function is located in be/src/vec/functions/round.h, try to understand it.
Find bugs step by step through logical analysis and solve it.
Add be test and regression test.
Submit your first PR.

maybe @Gabriel39 will also add more specific steps. If you have any question, I am willing to help.! Good luck :)

@Yukang-Lian Thanks for your kindly help! I think these steps are specific enough. @Prakhar047 Follow these steps and feel free to discuss with me if you need help.

Thank You @Gabriel39 & @Yukang-Lian for you help. I'm new to Apache doris repository can you guide me how to set up the environment.

You can follow this link to set up environment and compile doris.

You are welcome.

I have encountered the same problem with version 1.2.1, but version 1.2.0 is normal.
（在1.2.1版本中遇到相同问题，在1.2.0中没问题）
I found that it may be related to the odd and even number of digits to be reserved. That is, version 1.2.1. If the second decimal digit reserved is an even number, it will be discarded; If it is odd, the normal function is rounding
（我发现可能跟要保留的第几位数的奇偶数有关。即1.2.1版本，如果保留的第二位小数是偶数，则舍弃；如果是奇数则正常功能即四舍五入）

Test SQL

I have encountered the same problem with version 1.2.1, but version 1.2.0 is normal. （在1.2.1版本中遇到相同问题，在1.2.0中没问题）
I found that it may be related to the odd and even number of digits to be reserved. That is, version 1.2.1. If the second decimal digit reserved is an even number, it will be discarded; If it is odd, the normal function is rounding （我发现可能跟要保留的第几位数的奇偶数有关。即1.2.1版本，如果保留的第二位小数是偶数，则舍弃；如果是奇数则正常功能即四舍五入）  select round(46.215,2), round(46.225,2), round(46.235,2), round(46.245,2), round(46.255,2), round(46.265,2), round(46.275,2), round(46.285,2), round(46.295,2)\G;

Hi @Mint-Boy-He , actually, function round doesn't have a reasonable behavior before. This is because DECIMAL type in Doris is not a real decimal so we cannot provide a precise value after found. Fortunately we have DECIMALV3 since 1.2.1 which can provide a precise value for functions like round. So you can just use DECIMALV3 if you need a precise rounded value.
For example,

CREATE TABLE decimal_table (col DECIMALV3(10, 4) NOT NULL COMMENT ''     ) distributed by hash(col) buckets 1      properties("replication_num"="1");
insert into decimal_table values (46.215), (46.225), (46.235), (46.245);
select col, round(col, 2) from decimal_table;

And then we got results below:

If you have any problem using DECIMALV3, feel free to tell me and I'm glad to offer your help

Hi @Prakhar047 , we need this improvement in 2.0 and since time is limited, I decided to assign this issue to @maochongxin again. Sorry for that. If you are interested in Doris and need a good-first-issue, please tell me and I will find another issue for you.


Responsive

Hi,
awesome script, thank you for it
is there a way for it to support responsive design  ?
thanks in advanced.

No not yet. Sorry I didn't have time to work on the plugin in the last months :/

Hi Sebastian,
Thnank you for your awesome work. I want to implement your plugin rondell but I'm facing problems. can you check this question on stackoverflow? thanks
http://stackoverflow.com/questions/31906680/jquery-rondell-multiple-images-not-working


Engineblock allows connection from a non existing RequesterID

When an authentication request comes with a RequesterID comes in, and the entity of the RequesterID does not exist, Engineblock still allows authentication, using the issuer as entityid. This should not happen, EB should block the request.

I'm assuming this (the problem and solution) only applies when coin:trusted_proxy is set for the Issuer.

This currently leads to an error: " dissimilar workflow states"


Compose. Support Windows ARM

The support was added in https://youtrack.jetbrains.com/issue/CMP-223/Finish-Windows-ARM-64-support

Is  the branch correct for Compose 1.8.0-beta01?

Is the branch correct for Compose 1.8.0-beta01?

Yup, thank you!


Deprecate as_tag templatetag shortcut.

It isn't documented but folks may be using it anyway. We can't switch
over to simple_tag internally yet until we drop support for django-1.8.

LGTM


Added Mauritania 🇲🇷 country

Thanks for the contribution, @bechir! I've merged it in my fork (see the commit referenced above) and the changes are live.


Support for Elytra Trinket/trinkets cape slot?

Unsure how possible it'd be, but I found that the CIT elytra model textures do not work when you place the elytra into the trinkets cape slot through Elytra Trinket
If it'd be possible to have support for this, that'd be awesome.

It is possible but probably not within the beta timeline. I can look into adding support after v1 is out and stable.

Awesome, already happy to know that it'll be looked into :>!

could it be also compatible with colytra ?
https://www.curseforge.com/minecraft/mc-mods/colytra-fabric

Closing issue for the same reasons as #17.
From the issue:

Aight. As much as I want to add support from CIT Resewn's side, I have decided it'd be better not to for now.
These mods will have to add support on their side and so there is now an api to facilitate that.


du: directories have apparent size of 0

When I run the updated tests, without doing any changes to du.rs, all tests pass. Is that intentional?

@cakebaker everything resolved, thanks :)

Thanks! Good idea of introducing stdout_contains_line, it's a much cleaner solution than what I suggested.


Reduce time and memory usage during instantiation

It is possible to reduce overhead during instantiation of TelegramBotClient:

BotId extraction via RegEx could be replaced with Span manipulations:

Original
Optimized

Method
Runtime
Mean
Ratio
Gen 0
Gen 1
Gen 2
Allocated

Bench_Orig
.NET 5.0
311.52 ns
1.00
0.1450
-
-
456 B

Bench_Orig_BadId
.NET 5.0
85.04 ns
0.27
0.0100
-
-
32 B

Bench_SpanLocalFunc
.NET 5.0
33.62 ns
0.11
0.0101
-
-
32 B

Bench_SpanLocalFunc_BadId
.NET 5.0
34.14 ns
0.11
0.0101
-
-
32 B

Bench_Orig
.NET Framework 4.6.1
580.52 ns
1.00
0.1450
-
-
457 B

Bench_Orig_BadId
.NET Framework 4.6.1
336.42 ns
0.58
0.0100
-
-
32 B

Bench_SpanLocalFunc
.NET Framework 4.6.1
161.20 ns
0.28
0.0229
-
-
72 B

Bench_SpanLocalFunc_BadId
.NET Framework 4.6.1
140.51 ns
0.24
0.0229
-
-
72 B

Avoid parsing baseUrl via TrySetBaseUrl for default BaseTelegramUrl. Current implementation tries to parse BaseTelegramUrl even though it will return same address:

Original
Optimized

Method
Runtime
Mean
Ratio
RatioSD
Gen 0
Gen 1
Gen 2
Allocated

Bench_Orig
.NET 5.0
1,085.07 ns
1.00
0.00
0.4883
-
-
1,536 B

Bench_Orig_CustomBaseUrl
.NET 5.0
1,190.47 ns
1.09
0.03
0.6294
-
-
1,976 B

Bench_Span
.NET 5.0
99.69 ns
0.09
0.00
0.1274
-
-
400 B

Bench_Span_CustomBaseUrl
.NET 5.0
882.73 ns
0.81
0.02
0.4940
-
-
1,552 B

Bench_Orig
.NET 6.0
983.56 ns
1.00
0.00
0.3414
-
-
1,072 B

Bench_Orig_CustomBaseUrl
.NET 6.0
1,060.93 ns
1.08
0.04
0.3738
-
-
1,176 B

Bench_Span
.NET 6.0
102.18 ns
0.10
0.00
0.1274
-
-
400 B

Bench_Span_CustomBaseUrl
.NET 6.0
715.57 ns
0.73
0.02
0.2394
-
-
752 B

Bench_Orig
.NET Framework 4.6.1
1,563.14 ns
1.00
0.00
0.5341
-
-
1,685 B

Bench_Orig_CustomBaseUrl
.NET Framework 4.6.1
1,728.23 ns
1.11
0.03
0.6733
-
-
2,118 B

Bench_Span
.NET Framework 4.6.1
246.37 ns
0.16
0.01
0.1426
-
-
449 B

Bench_Span_CustomBaseUrl
.NET Framework 4.6.1
1,300.77 ns
0.83
0.02
0.5493
-
-
1,733 B

Still, necessity to parse custom baseUrl has negative performance impact. I wonder if we could reduce this overhead, by specifying Uri type for baseUrl in the constructor.

Greate idea. I'll definetely try to include it in the next feature release.


Remove base58

Current coverage is 96.50% (diff: 100%)

Merging #795 into master will increase coverage by 0.12%

@@             master       #795   diff @@
==========================================
  Files            26         26
  Lines          1631       1631
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1572       1574     +2
+ Misses           59         57     -2
  Partials          0          0

Powered by Codecov. Last update 3b9f680...0a4758a

Note: The fact that we don't use the base58 package was discovered thanks to pull request #785 by @ckeyer . That led @vrde to check if we use it at all.

:+1:


Scala.js 0.6.20 breaks Java 7 builds (NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet)

https://github.com/xuwei-k/scalaz/commit/5f5bc477c7852ee5ac3ad5842eb0048135813f2c
https://github.com/scala-js/scala-js/blob/v0.6.20/test-common/src/main/scala/org/scalajs/testcommon/RPCCore.scala#L155
https://github.com/scala-js/scala-js/pull/3040
https://gist.github.com/AlainODea/1375759b8720a3f9f094
https://travis-ci.org/xuwei-k/scalaz/jobs/271913650#L1455

java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
	at org.scalajs.testcommon.RPCCore.close(RPCCore.scala:155)
	at org.scalajs.testadapter.ComJSEnvRPC.close(ComJSEnvRPC.scala:59)
	at org.scalajs.testadapter.ScalaJSRunner$$anonfun$waitAndClose$1$1.apply(ScalaJSRunner.scala:69)
	at org.scalajs.testadapter.ScalaJSRunner$$anonfun$waitAndClose$1$1.apply(ScalaJSRunner.scala:69)
	at scala.util.Success$$anonfun$map$1.apply(Try.scala:206)
	at scala.util.Try$.apply(Try.scala:161)
	at scala.util.Success.map(Try.scala:206)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
	at scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
	at org.scalajs.testcommon.RPCCore.close(RPCCore.scala:155)
	at org.scalajs.testadapter.ComJSEnvRPC.close(ComJSEnvRPC.scala:59)
	at org.scalajs.testadapter.ScalaJSRunner$$anonfun$waitAndClose$1$1.apply(ScalaJSRunner.scala:69)
	at org.scalajs.testadapter.ScalaJSRunner$$anonfun$waitAndClose$1$1.apply(ScalaJSRunner.scala:69)
	at scala.util.Success$$anonfun$map$1.apply(Try.scala:206)
	at scala.util.Try$.apply(Try.scala:161)
	at scala.util.Success.map(Try.scala:206)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
	at scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Huh! The result type of keySet() was refined from Set<K> in JDK 7 down to ConcurrentHashMap.KeySetView<K,V> in JDK 8. Since we build our distribution on JDK 8, the compiler resolves to the more specific type instead of the binary compatible synthetic bridge.
I'm not sure how to fix that without avoiding keySet() altogether.

The gist linked above does mention a sidestepping workaround which we could use. It is probably the most reasonable solution in our case. Setting up the correct bootclasspath during compilation is going to be very fragile, as it is virtually impossible to write down in the build in a platform-independent way, so we risk manually doing it wrong (or just forget) at the time we build.

Fixed in cb194ae118c02744c52bc9be268602425fbf56e8.


Media Profiles and Prefered Mode

One important attribute in an EDID is the prefered mode. We have documented this in bcp-005-01 but it does not carry over to the Media Profiles.
When a PUT /media-profiles occurs how does the sender know which corresponds to the "prefered mode"?

And on top of this. Should we clarify that it is the responsability of the source/sender to use the best quality profile it can support out of the available media profiles array? We can turn this into another issue but they are related somehow.

🤔
https://github.com/AMWA-TV/nmos-sink-metadata-processing/pull/12/files#diff-e88d03489d1f66312bb18bb73cdd0fd256d90d662525d17dfd2f546ba6b71c58R7

let the underlying implementation to choose exactly which format from the set it will use. A client can pass a single Media Profile to specify the exact format.

Is this enough?

I agree with Chris. It should be chosen on the Controller side. In this case a user can leave the best quality profile but also a profile with the least expected bit rate for instance or consider any other factor important to him.
I created a PR draft #35.

I disagree. I think the controller does not have the operating modes of the sender to know which (best) profile will be supported. I think the best workflow it to pass all compatible profiles from receivers (potentially with a preference property) and let the sender choose the best quality profile out of all the options.
Passing a single Media Profile will not work in practice because if you don't know if the sender can accomodate that in advance are you meant to try 50 profiles 1 at a time?


Use Error::into_raw()

Once https://github.com/gtk-rs/gtk-rs/pull/428 is merged.
This was the only occurrence I found

Thanks!


Examples please :)

README.md needs an example gif of how effective every 30 seconds is

Very good point. I've added a few examples that I've found on Internet and edited the README to let people know GIF are welcome :)


NullReferenceException in NpgsqlCompositeMethodCallTranslator.cs @ line 66

After upgrading my project to .NET Core 2.1 and Npgsql.EntityFrameworkCore.PostgreSQL 2.1.0 I'm getting an NRE at startup in the NpgsqlCompositeMethodCallTranslator.cs at line 66.  This appears to be because the INpgsqlOptions passed into the constructor has a null Plugins member, and the constructor is attempting to iterate the plugins.
Did something change in the set up of the context, because this works fine when I switch back to 2.0.

It shouldn't be possible to initialize INpgsqlOptions with a null Plugins member.
The current version will allow you to pass in null NpgsqlEntityFrameworkPlugin instances. (This should change with #483 for version 2.2.)
Do you add any plugins during startup? Could you post a snippet showing your configuration for Npgsql?

My configuration is pretty simple:
            services
                .AddEntityFrameworkNpgsql()
                .AddDbContext<WaterVaporContext>(opts => opts.UseNpgsql(Configuration.GetConnectionString("WaterVapor")));

Could you post the stack trace?

This happens immediately at start up:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.NpgsqlCompositeMethodCallTranslator..ctor(RelationalCompositeMethodCallTranslatorDependencies dependencies, INpgsqlOptions npgsqlOptions) in C:\projects\EFCore.PG\src\EFCore.PG\Query\ExpressionTranslators\Internal\NpgsqlCompositeMethodCallTranslator.cs:line 66
   at Jasper.Generated.Microsoft_EntityFrameworkCore_Query_ExpressionTranslators_ICompositeMethodCallTranslator_npgsqlCompositeMethodCallTranslator.Build(Scope scope)
   at Lamar.IoC.Resolvers.SingletonResolver`1.Resolve(Scope scope)
   at Lamar.IoC.Instances.GeneratedInstance.Resolve(Scope scope)
   at Lamar.IoC.Scope.<>c__DisplayClass41_0.<QuickBuild>b__0(ParameterInfo x)
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Lamar.IoC.Scope.QuickBuild(Type objectType)
   at Lamar.IoC.Instances.GeneratedInstance.AttachResolver(Scope root)
   at Lamar.ServiceGraph.Initialize(PerfTimer timer)
   at Lamar.IoC.Scope..ctor(IServiceCollection services, PerfTimer timer)
   at Lamar.LamarServiceProviderFactory.CreateServiceProvider(ServiceRegistry containerBuilder)
   at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.ConfigureServicesDelegateBuilder`1.<>c__DisplayClass14_0.<ConfigureServices>g__ConfigureServicesWithContainerConfiguration|0(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()

In this case, Lamar is the IoC container.

I'm not familiar with Lamar or Jasper, but I do work with the common ASP.NET Core stack.
Can you provide a minimal reproduction repo?  Ideally, without Lamar and Jasper, but if that's too much work, that's okay too.

I will see if I can reproduce it without Lamar (I'm not using Jasper in this particular project).  But I would also point out that this code does work with Lamar and ASP/EF Core 2.0 and Npgsql.EntityFrameworkCore.PostgreSQL 2.02.  It only breaks when upgrading to 2.1 of the aforementioned packages.

(I'm not using Jasper in this particular project)

Hmm... okay. This is in the stack trace, but not necessarily important.
at Jasper.Generated.Microsoft_EntityFrameworkCore_Query_ExpressionTranslators_ICompositeMethodCallTranslator_npgsqlCompositeMethodCallTranslator.Build(Scope scope)

But I would also point out that this code does work with Lamar and ASP/EF Core 2.0 and Npgsql.EntityFrameworkCore.PostgreSQL 2.02. It only breaks when upgrading to 2.1 of the aforementioned packages.

Well-noted—the goal is just to triage the source, and its easier to help triage if I'm familiar with the stack.

Understood, can you point me at where and how the IoC registration for the INpgsqlOptions should be generated?

@CodingGorilla The relevant files are located here and here. I'm going to close this issue for now since it looks like this is IoC related. But please post back here if  https://github.com/JasperFx/lamar/issues/62 finds this to be an issue on our end.

This was indeed an issue with the IoC container, I can't really explain what it was other than it appeared to be an order of construction issue, but the latest version of the package resolved the problem.

Thanks for letting us know, glad to hear it's working!

Great, thanks to everyone for investigating...


No hd button

Hello,
I have added the hd.js and hd.css (from http://jsfiddle.net/Hussnain1/unrjrqee/) inside my htm filel, but there's no hd button inside my video player. What may be the problem? Please help me solve this.
Thank you.

Yes, just tried it under current / 6.2.7 .. nope: http://jsfiddle.net/aw992cmk/
(4.6.4 is loaded on the fiddle page that works . .)


LibGfx+LibWeb: Start doing some color management

This allows us to correctly display some images with an ICC profile.
Before:

After:

Note that Skia support quite a limited amount of color spaces,

That sounds wrong to me:

IIRC I saw v4 code in skcms.cc (...maybe skia isn't configured right to call that in LB? No idea)
Chrome displays the pages you list fine

The LibWeb test failure is provoked by the screenshot test css-gradient.html.
It appears from the second commit LibWeb: Explicitly set the color space of the output's surface to SRGB, I guess that skia starts to do some color conversion, but I don't know why.
The diff is minimal and only concerns two of the gradients, the biggest diff overall is (1, 2, 0):
Here is the diff between css-gradient.png and the ref:
Huge image

I tried to dive deeper into the second failure, but I don't know what to conclude:
Diff between firefox and chromium:

Diff between firefox and master:

Diff between firefox and the "faulty" commit:

Diff between master and the "faulty" commit:

As no one seems to agree on the result, should I just rebase the test and stop thinking about it?

As no one seems to agree on the result, should I just rebase the test and stop thinking about it?

yes, let's simply rebase the test :)

Works for me! I can't do it before Sunday though.

I also tried to import all the WPT tests but without success:

The import script doesn't download files from css/css-color/support
When downloaded manually, the test runner considers files from css/css-color/support as test (the files are just pngs).

When downloaded manually, the test runner considers files from css/css-color/support as test (the files are just pngs).

I had a similar problem with another test, as a manual workaround you can move the supporting files to Tests/LibWeb/Text/data/ and update the test to point at that new location

I had a similar problem with another test, as a manual workaround you can move the supporting files to Tests/LibWeb/Text/data/ and update the test to point at that new location

Hmm, it's nice to know that there is a workaround, but I'm not a fan. I don't know what's maintainer opinion on that, but I think that keeping the source as close as upstream is better, in case that the test is updated there.

I don't know what's maintainer opinion on that

That workaround was suggested to me by a maintainer (Sam Atkins), so I expect they're at least begrudgingly okay with it.
A longer term solution would involve mimicking how the wpt runner filters tests from data.


date-picker如何设置周日为每周第一天

What problem does this feature solve?
目前en_US环境下周日为每周第一天，在zh_CN环境下有类似需求，没有相关功能控制
What does the proposed API look like?
设置每周显示的第一天为本周日的属性

refer to https://github.com/NG-ZORRO/ng-zorro-antd/pull/2822


How to edit the /src/lang/en/lfm.php file in laravel5.1 to change title-panel attribute

Hello I would like to change the 'title-panle' attribute in the lfm.php file but in my server I don't see the src folder. What is the best way to pull this file in and change the values of the parameters in the src/lang/en/lfm.php file?
Thanks

Figure it out thanks


NJ's webpage

Finished developing/coding my webpage, kindly check for any errors and/or elements that needs to be improved. Thanks!

Ok, let's merge the webpage


Automated cherry pick of #5106

Cherry pick of #5106 on release-5.22.

#5106: Finished up until Channel Mentions option removed for

/cc  @hahmadia

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.


'diff_cover' is a package and cannot be directly executed

Apparently diff_cover does not allow to be called as a python module, which is the standard way of calling utils with a specific python versions.
$ python -m diff_cover                                                                                [8:11:34]
/Users/ssbarnea/.pyenv/versions/3.7.4/bin/python: No module named diff_cover.__main__; 'diff_cover' is a package and cannot be directly executed

This can be fixed in few lines and tools like coverage, tox, pytest, pip, flake8,.... all do that. Here is one example of how is done https://github.com/nedbat/coveragepy/blob/master/coverage/main.py

this project has two different executables so you cant just have one main.
However there is nothing stopping you from running them as modules.
python -m diff_cover.diff_cover_tool
python -m diff_cover.diff_quality_tool

@Bachmann1234 that does not work, probably because that requires __main__.py files within the diff_cover.diff_cover_tool and diff_cover.diff_quality_tool pckages.


Anyway to loop over a list in nginx?

This is a great example but I want a more generic version. I'm currently rewriting it in nodejs but looking at the simplicity and elegance of nginx I'm somewhat disappointed I'm attempting to rewrite it. Nonetheless, I don't particularly want to have to add new servers everytime I want to update the conf. I'd prefer it loop yml file or something like that.
What I thought you did great

Allow the person to set multiple domains
Allow the person to set multiple emails
Handling the acme challenge
redirecting all other traffic to https
You're including both the toplevel domain and it's www subdomain for both nginx and the certbot
You've got a nice little cron job going in the background

To Make it more Generic

How do you load an array into nginx?

I see an example of looping over a list
But How do you load it in from environment variables or a file?
This seems interesting but it's a little hard to understand for me

dynamically creating the file may work but that seems a bit rediculous

This looks promising though

creating a bunch of child processes listening on the same port but then I would have a proxy server in front of my proxy server

Some features I am attempting to implement in nodejs

Unlimited domains (To safe numbers and restricted by hardware)
Unlimited subdomains per domain (To safe numbers and restricted by hardware)

catches invalid subdomains like bad wildcards or empty parts
does not catch things like me.formula1.com vs *.formula1.com. No need for the me.formula1.com since the wildcard is catching it

Default email parameter

this way the user doesn't have to set an email per virtual host

forwarding the request to another server instead of serving static files

I don't know what a single server is going to be. Perhaps its just static files. But that can be it's own docker container

Ability to manually run it as a command and manually set certain args to override the config file

https://www.npmjs.com/package/commander

Probably Going to ignore some things

Uppercase vs Lowercase - just sounds like a pain in the butt. I suppose I could just make everything lowercase though

I was going to setup a command to restart the server but I realized the cronjob will probably be fine
But I am a bit dissappointed though. Nginx seems like such a useful tool and nice on the eyes as well. And while you can do some amazing things in node, I'd prefer to have a simple configuration rather than big project I have to maintain.

Example Config

const DEFAULT_FORWARD_ORIGIN = {
  protocol: "http:",
  hostname: "localhost",
  port: 8080,
}
// if number, replace the port
// if string, replace the defaults with the parsed url
// if a partial, replace the defaults with the ones found in the partial
type ForwardOrigin = number | string | Partial<{
  protocol: "http:" | "https:",
  hostname: string,
  port: number
}>

type ServerConfig = {
  // if specified as an argument, resolves relative to cwd otherwise resolves relative to location of the config file
  "certRootPath": string,

  // if specified as an argument, resolves relative to cwd otherwise resolves relative to location of the config file
  "acmeRootPath: string,

  // Amount of time to wait for the forwarded server to respond
  "timeout": number,

  // default email address
  "email": string,

  // how to handle requests that don't have certificates
  "defaultConfig": {
      // if none - don't refuse anything
      // if based on an ip address, refuse it
      // if based on a unknown host, refuse it
      // otherwise refuse all
      refuse: "none" | "ip" | "hosts" | "all"

      // where to forward all unknown requests to
      forward: ForwardOrigin
    }

  "vhosts": Array<{
    // the base hostname for the http server and the certbot
    "hostname": string,

    // The email that will override the default
    email?: string,

    // Where to forward the request to
    forward: ForwardOrigin

    // a list of subdomains that the https server will handle and the certbot will handle when it requests certs
    subdomains?: Array<string>
  }>
}

If you are thinking about implementing a Node.js solution for obtaining Let's Encrypt certificates on the fly and later automatically renewing them, then take a look at this Node.js library first: https://www.npmjs.com/package/greenlock

This looks AMAZING! AHHHH! I wrote all this code for nothing.
Whatever, it's good practice and if anyone finds it I'll point them towards greenlock

https://git.rootprojects.org/root/greenlock-express.js
https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/http-proxy/server.js
Looks like theres still ore code to be done but I think this still saves me a bunch of time


Selected item

on activity created it does not give selected item while after click on spinner and after selecting any value it works fine,but what if i want result on first activity created.

Try spinner.getText().toString() works for me

You can also use spinner.getItems().get(spinner.getSelectedIndex()) to get the current selected item.


fix baseline for secondary text on navbar

Summary
secondary text in navbar is no longer aligned on the bottom with Cuiloa

Solved with recent NavBar changes in #163 (might have been a previous PR tbh lol)


add license title

It's not strictly required, but it's useful metadata, and part of the recommended license template text (see http://choosealicense.com/licenses/isc/ and https://opensource.org/licenses/isc-license)

Closing, per discussion at https://github.com/kennethreitz/records/pull/71


Replacing LinkInline with reference form - how?

Trying to find documentation and I get the idea I am either not finding it - but neither is my AI.
I need to import a markdown document (thousands actually) and extract all the links so they can be maintained separately.
I found them using
    foreach (var node in document.Descendants())
    {
        if (node is LinkInline link)
        {
            var url = link.Url;
            //var linkText = link.FirstChild.ToString();

probem is- what do I replace them with if I then add the references? I have the key - i Just have no idea what to put there.
It seems nto toto be a LinkReferenceDefinition - that is for the references. SO what do I replace it with?  The LinkReferenceDefinition can not be it, or?

ok, this seems not to work at all - and the little documentation that there is is never high level.
I try to isolate links and put them back using references..
My current code:
    foreach (var node in document.Descendants())
    {
        if (node is LinkInline link)
        {
            //var linkText = link.FirstChild.ToString();
            var referenceKey = Guid.NewGuid(); // Generate a unique reference key

            LinkReferenceDefinition ldr = new LinkReferenceDefinition(referenceKey.ToString(), link.Url, link.Title);
            document.SetLinkReferenceDefinition(referenceKey.ToString(), ldr, true);

            var newlink = new LinkInline()
            {
                Title = link.Title,
                Reference = ldr,
                LinkRefDefLabel = link.Label,
            };
            // Copy the text (children) from the original link to the new link
            var children = link.ToArray();
            foreach (var child in children)
            {
                child.Remove();
                newlink.AppendChild(child);
            }
            link.ReplaceBy(newlink);
        }
    }

results in links being replaced with [] - no url inside, no reference group being written to the end. What am I doing wrong? To my understanding creating a new link and putting it in place of the old one is the way to go, and as I re-hook the content (child) - that should also work?
I tried the documentation, but there is only it seems a property by property without any higher-level explanation or examples, so one is left to - not even sure what. I do not even understand why the LinkRefrerenceDefinition is not rendered at the end - it IS in the document.

I am generating markdown back - the issue is that I am extracing the links because it is easier to then replace them.
This is for moving documents into a complex autonomous storage system. THe document (in markdown) comes in with a link. By taking the link OUT and putting them into a reference, WHILE doing that I can as well write it into a database , then, when actually writing the document into the database, write it without the link references. Upon generating for output, the then CURRENT links (the URL's they point to may change) are easily reconsstructed. The business problem here is that the input markdown is in one language, but the otuput system must handle references to translated langauges - which all have their own URL, hence the target URL is put in when presenting.
All that, though, is imho quite irrelevant to the problem. The problem is taking inline links and moving them so that they are link references in the output. Nice and not all over the place.

Looking at the code, LinkReferenceDefinition (and its group) are not well supported for roundtrip. It would require quite some work to support them. Workaround is to generate the reference definition by yourself at the end, as you collect the links, you can generate this to Markdown. It should not be much work.

Well, I have no problem dumping the reference definitions myself - but my problem is that I have no idea how to get the LINKS to show them. Remember, Links that refer to references are in [], not in () - and I totally fail to genrate a link that does emit the proper reference code.

This is the renderer used for generating back top Markdown.
You have to look at this file to see what you should modify on a LinkInline. For example, the Title or the url and most of other properties that you are using were only meant for HTML processing. Later a bunch of other properties were added to cover the case of exact roundtrip.
So, yeah, it's messy but there is no other way than to sneak around in the codebase to see how to use this. It was not designed in the first place to support this scenario. I never had a personal incentive to do it, so the person that brought it did his best for his use case, but it's far from perfect. Doing it properly would require a major refactoring/redesign of Markdig, and who wants to do that? It is multiple weeks of fulltime work, and as this project is OSS, you know, that's why you get for free.


Elasticsearch 6.x Compatibility

This is a meta-ticket to track upstream changes to Elasticsearch in the 6.x series that will (probably) require changes from this module.

[x] All REST requests with a payload will now require explicitly set Content-Type headers. (for example, curl -H "Content-Type:application/json" -XPOST localhost:9200/my_index/my_type -d { "foo": "bar"}'
[x] 6.0 snapshot tests indicate the NPROC limits need to be at least 4096; which has been merged into the systemd service unit ( #837)
[x] default.path.data and default.path.log have been removed.
[x] default.path.conf has been replaced with --path.conf.

Does this impact the plugin installation? https://github.com/elastic/elasticsearch/pull/27093

@lucabelluccini it shouldn't - plugin installation happens through command-line invocation, so there's no spots in the Puppet/Ruby code to update for that change.


remove deprecated prog_load API.

Description
Fixes #1146
Testing
No new tests needed.
Documentation
Doxygen will automatically update API docs.

This PR also addresses one of the checkboxes of #1295

@shankarseal please resolve conflicts


How to use blacklist file on yofi

Edit cause: I realized that it was a different problem unrelated to yofi, related to my system. However, I would like to now know instead, how to use the blacklist feature.

I fixed it, I think it was something wrong with my config. For some reason it cannot search in Adwaita anymore. I do have the Adwaita directory in /usr/share/icons/Adwaita/* but I don't know why if I put Adwaita it breaks.

Here's the doc: https://github.com/l4l/yofi/wiki/Configuration#entries-blacklisting


[MyCollection] Add Add/Edit artwork patterns

This sets down some very initial form patterns for MyCollections, as well as solves a sort of endemic React Native problem around forms spread across screens. (Still need to wire up yup.)
Flow:

Rather than using the <Formik> component we're going a bit lower and using the useFormik hook
This returns the complete formik object that we can pass around from place to place
We then execute an initializeFormik action and pass it our newly created formik form, which in turn stores it inside of our easy peasy store, which we can pass to different contexts, eliminating the screen boundary
This which gets around the inability to, say, present a view controller or push a screen and maintain a connection to Formik's context, solving a bunch of problems (check out old Consignments app multi-screen state patterns for an example of what I mean 😬)
Added two actions, addArtwork and editArtwork, which when called execute commitMutation with a payload
Added example of a listener, where addArtwork action will in turn trigger proper navigation from list to detail per design's animation idea. This will get fleshed out.
So far, all of our components are effectively "dumb", with a nice separation of concerns. This is what we want!

Next up
Gravity
In a parallel path we need to start working on the Gravity side of things, and get the add / edit code written and wired up to MP.
Eigen

The next PR will connect up more specific view navigation control states based on overall artwork form state -- locking, unlocking, cancelling, etc.

Fails

:no_entry_sign:
Missing Test Files:

src/lib/Scenes/Consignments/v2/Screens/MyCollectionAddArtwork/Mutations/__tests__/MyCollectionAddArtworkMutation-tests.ts
src/lib/Scenes/Consignments/v2/Screens/MyCollectionAddArtwork/Mutations/__tests__/MyCollectionEditArtworkMutation-tests.ts
src/lib/Scenes/Consignments/v2/Screens/MyCollectionAddArtwork/__tests__/formValidation-tests.tsx
src/lib/Scenes/Consignments/v2/State/__tests__/artworkModel-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS


Add Logo to Navigation Bar

I propose adding a logo to the navigation bar of the WordWise website. This enhancement can improve brand recognition and create a more professional appearance.
The logo could be placed on the left side of the navbar to ensure it is visible and does not disrupt the navigation links.
Looking forward to your feedback!
@ANSHIKA-26 plz assign me this issue, i really want to work on it

Thank you for offering to contribute by designing a logo for the project! We really appreciate your willingness to help. At the moment, we already have a design direction in place and do not have plans to change or introduce a new logo. However, we welcome any other suggestions or contributions that align with our current needs and vision for the project


missing type browser.declarativeContent

This type is missing. It's in the @types/chrome package.

Thanks for the report. It seems I only had to refetch the schema files and rebuild it. Will publish a new version soon.


Add Amazigh Keyboard Layouts (Tifinagh and Latin Versions)

Use Cases
A user requests that we add two keyboard dictionaries and layouts for the Amazigh language: one in Tifinagh and another in Latin script.
Proposal
No response
References
Email ticket #7493

Duplicate of #11

Use Cases
A user requests that we add two keyboard dictionaries and layouts for the Amazigh language: one in Tifinagh and another in Latin script.
Proposal
No response
References
Email ticket #7493

Hey, I would like to ask what format is followed in setting a dictionary. I have a txt file for each word/expression per line. I want to prepare a dictionary for Amazigh based on this file.
Check it out at https://github.com/abdelhaqueidali/Amazigh-User-Dictionaries


Black cropped image is output when detect object in object detection

Describe the bug
Black cropped image is output when detect object in object detection.
Camera image is clearly and no problem.
To reproduce
Run object-detection in AXIS Q1656 Box Camera anc check /tmp/*/jpg images.
Screenshots
N/A
Environment

Axis device model: [AXIS Q1656 Box Camera]
Axis device firmware version: [10.12]
Stack trace or logs: [N/A]
OS and version: [Ubuntu 18.04 LTS]
Version: [N/A]

Additional context

Yuv image is not black but cropAddr is black image

Hi @takuya-takeuchi , thanks for your report, we'll get back to you when we had time to look at this issue.

Hi @takuya-takeuchi
Before we dig into this issue, it would be good if you can try with a newer firmware.
Between 10.12 and 11.0 there have been some breaking changes, and the examples are meant to work on the latest firmware.
Search here:
https://www.axis.com/support/firmware
For the firmware for your Q1656 and try with the latest (should be 11.5).

@Corallo
Thank you for your quick response and advice.
I updated firmeware to 11.5.64 and rebuild app on axisecp/acap-native-sdk:1.9-aarch64-ubuntu22.04.
But problem is not resolved.
This is object detection's log.
----- Contents of SYSTEM_LOG for 'object_detection' -----

2023-07-19T08:42:53.671+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Starting /usr/local/packages/object_detection/object_detection
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'buffer.strategy': <uint32 3>
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'channel'--------: <uint32 1>
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'format'---------: <uint32 3>
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'height'---------: <uint32 300>
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'width'----------: <uint32 480>
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Creating VDO image provider and creating stream 480 x 300
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Dump of vdo stream settings map =====
2023-07-19T08:42:54.005+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: chooseStreamResolution: We select stream w/h=480 x 300 based on VDO channel info.
2023-07-19T08:42:54.348+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'buffer.strategy': <uint32 3>
2023-07-19T08:42:54.348+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'channel'--------: <uint32 1>
2023-07-19T08:42:54.348+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'format'---------: <uint32 3>
2023-07-19T08:42:54.348+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'height'---------: <uint32 1080>
2023-07-19T08:42:54.348+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 'width'----------: <uint32 1920>
2023-07-19T08:42:54.348+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Creating VDO raw image provider and stream 1920 x 1080
2023-07-19T08:42:54.348+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Dump of vdo stream settings map =====
2023-07-19T08:42:54.695+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Calculate crop image
2023-07-19T08:42:54.695+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Create larod models
2023-07-19T08:42:54.695+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Create preprocessing maps
2023-07-19T08:42:54.695+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Crop VDO image X=90 Y=0 (300 x 300)
2023-07-19T08:42:54.695+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Setting up larod connection with chip axis-a8-dlpu-tflite, model /usr/local/packages/object_detection/model/converted_model.tflite and label file /usr/local/packages/object_detection/label/labels.txt
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Available chip IDs:
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Chip: axis-a8-dlpu-native
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Chip: axis-a8-dlpu-proc
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Chip: axis-a8-dlpu-tflite
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Chip: axis-a8-gpu-proc
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Chip: axis-ace-proc
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Chip: cpu-proc
2023-07-19T08:42:54.746+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Chip: cpu-tflite
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Allocate memory for input/output buffers
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Create input/output tensors
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Determine tensor buffer sizes
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Loading preprocessing model with chip cpu-proc
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: createAndMapTmpFile: Setting up a temp fd with pattern /tmp/crop.test-XXXXXX and size 6220800
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: createAndMapTmpFile: Setting up a temp fd with pattern /tmp/larod.in.test-XXXXXX and size 270000
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: createAndMapTmpFile: Setting up a temp fd with pattern /tmp/larod.out1.test-XXXXXX and size 320
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: createAndMapTmpFile: Setting up a temp fd with pattern /tmp/larod.out2.test-XXXXXX and size 80
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: createAndMapTmpFile: Setting up a temp fd with pattern /tmp/larod.out3.test-XXXXXX and size 80
2023-07-19T08:43:29.091+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: createAndMapTmpFile: Setting up a temp fd with pattern /tmp/larod.pp.test-XXXXXX and size 216000
2023-07-19T08:43:29.093+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Connect tensors to file descriptors
2023-07-19T08:43:29.093+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Create job requests
2023-07-19T08:43:29.093+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Found 1 input tensors and 4 output tensors
2023-07-19T08:43:29.093+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Set input tensors
2023-07-19T08:43:29.093+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Set output tensors
2023-07-19T08:43:29.093+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Start fetching video frames from VDO
2023-07-19T08:43:29.093+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: createAndMapTmpFile: Setting up a temp fd with pattern /tmp/larod.out4.test-XXXXXX and size 4
2023-07-19T08:43:29.100+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Converted image in 9 ms
2023-07-19T08:43:29.120+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 1: Object 0: Classes: person - Scores: 0.839844 - Locations: [0.418787,0.001991,0.887607,0.304403] [3,452,580,506]
2023-07-19T08:43:29.120+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Ran inference for 19 ms
2023-07-19T08:43:29.145+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: buffer_to_jpeg
2023-07-19T08:43:29.145+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: rawWidth: 1920, rawHeight: 1080, args.quality: 80
2023-07-19T08:43:29.271+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 2: Object 1: Classes: person - Scores: 0.617188 - Locations: [0.003676,0.022635,0.996324,0.763701] [43,3,1422,1072]
2023-07-19T08:43:29.271+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: free
2023-07-19T08:43:29.271+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: jpeg_to_file
2023-07-19T08:43:29.372+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Converted image in 3 ms
2023-07-19T08:43:29.391+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 3: Object 0: Classes: person - Scores: 0.722656 - Locations: [0.012660,0.038245,0.987340,0.765896] [73,13,1397,1052]
2023-07-19T08:43:29.391+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: Ran inference for 19 ms
2023-07-19T08:43:29.485+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: buffer_to_jpeg
2023-07-19T08:43:29.485+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: rawWidth: 1920, rawHeight: 1080, args.quality: 80
2023-07-19T08:43:29.602+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: 4: Object 1: Classes: person - Scores: 0.558594 - Locations: [0.397288,0.001052,0.910682,0.267301] [2,429,511,554]
2023-07-19T08:43:29.602+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: free
2023-07-19T08:43:29.602+09:00 axis-b8a44f7b9f0b [ INFO    ] object_detection[8172]: jpeg_to_file

This has some moification to output yuv (480x300) and original image (1920x1080) but it should not affect to this issue.
yuv is correct but original and cropped images are blacks.

FYI
I just tried original object detection but detected image is still black.
A revison of source code is dbb91e94b5f508fb63e3830944044002d65e5014.

@Corallo
Hi, do you have any information to resolve issue?
Thank you for your cooperations.

Hello,
we will look into the issue as soon as we can and let you know :)

Any update?

Hello @takuya-takeuchi
It has been a while, but we are working on it. We are going to publish a fix probably this week.

Hello @takuya-takeuchi
We need to make more tests before merging the fix as we noticed other problems,
In the meantime, I created a branch that you can try out. it should have the issue with the black cropped image solved.

Hi @takuya-takeuchi , the problem should have been fixed and is now on main branch. Thanks for reporting!

I confirmed issue is gone away.
Thank you for your kindly support


Update README.md

Made it look better. If you have any suggestions let me know.

Resolved. Check new commit

Thank you very much for spending some of your time to improve README, it looks great!


Question

Hi Ziggi. I have a question for the FCNPC_GoToPlayer function.
Apparently when I use it, the NPC will go thru walls if a player is there.. I also tried FCNPC_Mode_ColAndreas but still the same issue.. Any tip on how to fix it?

https://github.com/ziggi/FCNPC/wiki#installation


VNC CARLA Display

Hi,
Recently I want to use google cloud to run the carla. Because the GPU on my pc is now enough to run Carla smoothly, I try to run Carla on Google Cloud and see the game world via VNC viewer. Here is what I did, I first created a VM instance with GPU on Google Cloud and then use VNC viewer to connect this instance and work on the GUI of that instance. Then I download the compiled version of Carla. However, every time I wanted to run ./CarlaUE4.sh, the terminal always showed the error message "InitSDL() failed, cannot create application instance". Can someone solve this? Thanks!

any update on that issue ?

you can use nomachine instead of vnc. there seems to be driver problems with VNC.
https://www.nomachine.com/AR03Q01019
https://www.youtube.com/watch?v=eolNziYLe9Y


Can we get XPU Nightlies?

I'm working with @jenniew over on torchchat to add XPU support for the Intel side: https://github.com/pytorch/torchchat/pull/1361
And we noticed that tune doesn't have XPU nightlies, so we have to default back to 0.3.1.
Ask: Is there appetite for/can we get XPU nightlies?

There was a request around this quite a while back: #999. A community contributor put up a draft PR for enabling this but we never followed up: #1280. There is still work to make sure our recipes support XPU and we have CI that tests XPU before we can get XPU nightlies.

Do we spin up XPU versions for major releases (e.g. 0.4.0)? If so we may lean on that temporarily from the torchchat side so versions don't diverge too far from main


[SPARK-40210][PYTHON][FOLLOW-UP][TEST] Speed up new tests using one action instead of many

What changes were proposed in this pull request?
This is follow up PR for https://github.com/apache/spark/pull/37748 to improve and speed tests as suggested by @zero323
Why are the changes needed?
Improve test cases
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing unit tests

cc @zhengruifeng

@khalidmammadov Could you adjust the title to [SPARK-40210][PYTHON][FOLLOW-UP][TEST] Speed up new tests using one action instead of many? Thanks.

@khalidmammadov Could you adjust the title to [SPARK-40210][PYTHON][FOLLOW-UP][TEST] Speed up new tests using one action instead of many? Thanks.

Done

Merged to master.

LGTM2


fixed the buttons

Fixed the buttons moving problem
issue #106
This is how it looks
https://github.com/Kritika30032002/To-Do-List-Application/assets/102857774/8600d381-d3d7-4947-9023-de5fd8594035

Thanks for your valuable contribution.
Don't forget to star the repo.


Support android.arch.lifecycle:extensions:1.1.1

If I add the following myDependencies.xml file to my unity project (or the quickstart project), Firebase is no longer able to initialize:
  <androidPackages>
		  <androidPackage spec="android.arch.lifecycle:extensions:1.1.1"></androidPackage>
      <repositories>
        <repository>https://maven.google.com</repository>
      </repositories>
  </androidPackages>
</dependencies>

logcat error:
07-12 15:57:26.153: W/System.err(9036): java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.arrowsd.horizonexplorer. Make sure to call FirebaseApp.initializeApp(Context) first.
07-12 15:57:26.154: W/System.err(9036): 	at com.google.firebase.FirebaseApp.getInstance(Unknown Source:56)
07-12 15:57:26.154: W/System.err(9036): 	at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
07-12 15:57:26.154: W/System.err(9036): 	at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
07-12 15:57:26.154: W/System.err(9036): 	at com.unity3d.player.UnityPlayer$e$2.queueIdle(Unknown Source:72)
07-12 15:57:26.154: W/System.err(9036): 	at android.os.MessageQueue.next(MessageQueue.java:394)
07-12 15:57:26.154: W/System.err(9036): 	at android.os.Looper.loop(Looper.java:142)
07-12 15:57:26.154: W/System.err(9036): 	at com.unity3d.player.UnityPlayer$e.run(Unknown Source:32)
07-12 15:57:26.154: E/firebase(9036): new_app
07-12 15:57:26.154: E/Unity(9036): new_app
07-12 15:57:26.154: E/Unity(9036):
07-12 15:57:26.154: E/Unity(9036): (Filename: ./Runtime/Export/Debug.bindings.h Line: 43)
07-12 15:57:26.154: E/firebase(9036): Failed to initialize the default Firebase App.
07-12 15:57:26.184: E/Unity(9036): InitializationException:  Firebase app creation failed.
07-12 15:57:26.184: E/Unity(9036):   at Firebase.FirebaseApp.CreateAndTrack (Firebase.CreateDelegate createDelegate, Firebase.FirebaseApp existingProxy) [0x00000] in <filename unknown>:0
07-12 15:57:26.184: E/Unity(9036):   at Firebase.FirebaseApp.Create () [0x00000] in <filename unknown>:0
07-12 15:57:26.184: E/Unity(9036):   at Firebase.FirebaseApp.get_DefaultInstance () [0x00000] in <filename unknown>:0
07-12 15:57:26.184: E/Unity(9036):   at Firebase.Analytics.FirebaseAnalytics..cctor () [0x00000] in <filename unknown>:0
07-12 15:57:26.184: E/Unity(9036): Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Firebase.Analytics.FirebaseAnalytics
07-12 15:57:26.184: E/Unity(9036):   at CustomAnalytics.sendFirebaseCustomEvent (System.String eventName, IDictionary`2 parameters) [0x00000] in <filename unknown>:0
07-12 15:57:26.184: E/Unity(9036):   at CustomAnalytics.Update () [0x00000] in <filename unknown>:0

Unity Android dependency resolver shows a warning:
Some conflicting dependencies were found.
The following dependency versions were modified:
com.google.firebase:firebase-common:16.0.0 --> com.google.firebase:firebase-common:+
com.google.android.gms:play-services-base:15.0.1 --> com.google.android.gms:play-services-base:+
com.google.firebase:firebase-core:16.0.1 --> com.google.firebase:firebase-core:+
com.google.firebase:firebase-analytics:16.0.1 --> com.google.firebase:firebase-analytics:+
android.arch.lifecycle:extensions:1.1.1 --> android.arch.lifecycle:extensions:+

I require 1.1.1 as a dependency for another plugin, and this is stopping me from being able to integrate Firebase Analytics.
Example of this happening: https://github.com/Crashthatch/quickstart-unity/tree/bugdemo/lifecycle-common-1.1.1-breaks-firebase-analytics/analytics/testapp

@Crashthatch you need to add a version of android.arch.lifecycle:extensions that is compatible with the AARs shipped with Firebase.  As you can see, the Android Resolver (see https://github.com/googlesamples/unity-jar-resolver) is pulling the latest of everything as it can't find a compatible set of AARs that work with android.arch.lifecycle:extensions.
Now that said, it could be that you're running into a regression with Play Services Resolver 1.7.75 that broke variable replacement in Android Manifest files.  You could try pulling 1.7.74 from the repo instead to see whether that fixes your issue.

you need to add a version of android.arch.lifecycle:extensions that is compatible with the AARs shipped with Firebase

I am using another plugin that requires android.arch.lifecycle:extensions:1.1.1 (https://mvnrepository.com/artifact/com.mapbox.mapboxsdk/mapbox-android-telemetry/3.1.4) and this issue is a feature-request that firebase be upgraded to be compatible with android.arch.lifecycle:extensions:1.1.1.
At the moment my "workaround" is to not use Firebase.

@Crashthatch Play Services Resolver 1.2.79 will now keep all explicitly specify dependencies, so if the other plugin wants to use android.arch.lifecycle:extensions:1.1.1 you can use it it's up to you to select the Android libraries that are compatible with Firebase.  You're probably wondering how that is possible?  Well as long as you don't bump the major version of any Firebase Android library dependency you're ok as everything is semantically versioned and API compatible across minor version changes.
Looking at http://mvnrepository.com/artifact/android.arch.lifecycle/extensions/1.1.1 the only potential conflict is with the Android support library which can be safely bumped to latest for Firebase.

Yes, I can confirm that Play Services Resolver 1.2.79 resolved the following set of packages, which seem to work correctly together:
<dependencies>
  <packages>
    <package>android.arch.lifecycle:extensions:1.1.1</package>
    <package>com.android.support:animated-vector-drawable:26.1.0</package>
    <package>com.android.support:appcompat-v7:26.1.0</package>
    <package>com.android.support:support-compat:26.1.0</package>
    <package>com.android.support:support-core-ui:26.1.0</package>
    <package>com.android.support:support-core-utils:26.1.0</package>
    <package>com.android.support:support-media-compat:26.1.0</package>
    <package>com.android.support:support-v4:26.1.0</package>
    <package>com.google.android.gms:play-services-base:15.0.1</package>
    <package>com.google.code.gson:gson:2.8.2</package>
    <package>com.google.firebase:firebase-analytics:16.0.1</package>
    <package>com.google.firebase:firebase-analytics-unity:5.1.1</package>
    <package>com.google.firebase:firebase-app-unity:5.1.1</package>
    <package>com.google.firebase:firebase-common:16.0.0</package>
    <package>com.google.firebase:firebase-core:16.0.1</package>
  </packages>
  <files>
    <file>Assets/Plugins/Android/android.arch.core.common-1.1.1.jar</file>
    <file>Assets/Plugins/Android/android.arch.core.runtime-1.1.1.aar</file>
    <file>Assets/Plugins/Android/android.arch.lifecycle.common-1.1.1.jar</file>
    <file>Assets/Plugins/Android/android.arch.lifecycle.extensions-1.1.1.aar</file>
    <file>Assets/Plugins/Android/android.arch.lifecycle.livedata-1.1.1.aar</file>
    <file>Assets/Plugins/Android/android.arch.lifecycle.livedata-core-1.1.1.aar</file>
    <file>Assets/Plugins/Android/android.arch.lifecycle.runtime-1.1.1.aar</file>
    <file>Assets/Plugins/Android/android.arch.lifecycle.viewmodel-1.1.1.aar</file>
    <file>Assets/Plugins/Android/com.android.support.animated-vector-drawable-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.appcompat-v7-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.support-annotations-26.1.0.jar</file>
    <file>Assets/Plugins/Android/com.android.support.support-compat-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.support-core-ui-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.support-core-utils-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.support-fragment-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.support-media-compat-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.support-v4-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.android.support.support-vector-drawable-26.1.0.aar</file>
    <file>Assets/Plugins/Android/com.google.android.gms.play-services-ads-identifier-15.0.1.aar</file>
    <file>Assets/Plugins/Android/com.google.android.gms.play-services-base-15.0.1.aar</file>
    <file>Assets/Plugins/Android/com.google.android.gms.play-services-basement-15.0.1.aar</file>
    <file>Assets/Plugins/Android/com.google.android.gms.play-services-measurement-base-16.0.0.aar</file>
    <file>Assets/Plugins/Android/com.google.android.gms.play-services-stats-15.0.1.aar</file>
    <file>Assets/Plugins/Android/com.google.android.gms.play-services-tasks-15.0.1.aar</file>
    <file>Assets/Plugins/Android/com.google.code.gson.gson-2.8.2.jar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-analytics-16.0.1.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-analytics-impl-16.1.1.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-analytics-unity-5.1.1.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-app-unity-5.1.1.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-common-16.0.0.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-core-16.0.1.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-iid-16.0.0.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-iid-interop-16.0.0.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-measurement-connector-16.0.0.aar</file>
    <file>Assets/Plugins/Android/com.google.firebase.firebase-measurement-connector-impl-16.0.1.aar</file>
  </files>
</dependencies>

Thanks for the help!

@Crashthatch FYI I just noticed the last patch I made to the Android Resolver breaks some of the use cases it needs to support e.g dealing with two user specified dependencies that are incompatible.  So I recommend keeping an eye on our https://github.com/googlesamples/unity-jar-resolver repo as we'll likely change the dependency specification API for choosing a dependency that should not be auto-upgraded when a conflict is found.


Track all (cross-module) references to a TableType

Right now, there is no easy way to find all the locations where a TableType is being referenced (typically, we are interested in properties indexed on it).
The current way seems to be (untested):

Find the module where the table type is defined (definitionModuleName)
Find all of its reverse dependencies (all modules which require this module)
Reverse lookup their astTypes to see if the TableType is referenced

But we need to be careful since a reverse dependent may re-export a used table type: so we will need to find all transitive dependents as well.
Support for such information to be easily accessible would be very helpful to fully support LSP features such as "Find All References" and "Rename Variable" across files

I don't think we're going to track and provide such information.
It's usually precisely the job of LSP "Find All References" to find all references, so if there's no pre-made list, it will have to look stuff up.
Keep in mind that modules are immutable after processing, so a module require cannot make modifications to the target module.
We're up for suggestions if some specific reference improvements (reverse deps added along SourceNode requireSet?) can make the job of the search easier.

I think that's fair. I will get back to you on that!

From initial observations, a couple of things:

reverse deps added along SourceNode requireSet?

This would be nice! I am doing the same thing that frontend.markDirty() does - maybe it would be useful there too

Is the ast type for definitions stored anywhere?
In the two cases here:
local data = {}

data.foo = "testing"

function data.call()
end

function data:method_call()
end

It would be nice if data.foo and data.call (i.e., the whole AstExprIndexName l-value) were stored in Module.astTypes. Right now, only the AstExpr inside of the AstExprIndexName is. It would save me having to use a visitor to search the whole AST.
Note that in these cases, the whole AstExprIndexName is available in astTypes:
local _ = data.foo
local _ = data.call()
local _ = data:method_call()

Given two modules:
-- Module/A
local data = {}
data.foo = 1
data.bar = 2
return data

-- Module/B
local data = require(Module/A)

local _ = data.foo

The two TypeId's for data here are different: the one in Module/A is Unsealed, whilst the one in Module/B is sealed. It means they can't be compared via ptr equality.
Not sure there is much that can be done here from your side. Right now, I think I can get away with comparing ttv.definitionModuleName and ttv.definitionLocation to find equality.

Going to close out this issue as I solved all of my above problems.
The reverse deps for alongside require set would still be nice, but is not necessary for me