Different outputs with torchscript file between python and rust

Hi,
I have been trying to use Rust for inference with a serialised model from python. For the same image (8-bit, grayscale), with the same preprocessings applied, I am getting different outputs.
Using the following python script, I get the result tensor([[ 5.3778, -7.3396, -1.9843]], grad_fn=<AddmmBackward0>)
import torch

from monai.transforms import (
    Compose,
    LoadImage,
    NormalizeIntensity,
    ToTensor,
)

transforms = Compose([
            LoadImage(image_only=True), NormalizeIntensity(), ToTensor()
        ])
inp = transforms("test_tch.png")
scripted_model = torch.jit.load("model.pt")
scripted_model.eval()
output = scripted_model(inp.unsqueeze(0).unsqueeze(0))
print("result", output)

I expect the same result from the Rust counterpart, but the Rust code gives me -6.0697  5.9371 -3.8800 [ CPUFloatType{1,3} ]  (Note that NormalizeIntensity does a simple normalization with calculatated mean and standard deviation. )

use image::open;
use tch::{Kind, Tensor};

let im = open("test_tch.png").unwrap();
let sz = vec![ im.height() as i64, im.width() as i64];
let mut tensor: Tensor =  Tensor::of_data_size(im.into_bytes(), sz.as_slice(), Kind::Uint8)
        .unsqueeze(0)
        .unsqueeze(0);
tensor = tensor.to_kind(Kind::Float);
// normalize intensity
let (sd, mn) = tensor.std_mean(false);
tensor = tensor.subtract(&mn).divide(&sd);
let mut model = tch::CModule::load("model.pt").unwrap();
model.set_eval();
let output = tensor.apply(&model);
output.print();

I have tested with a static import with torch.ones and both give the same result. I also verified that the image intensity statistics are the same after preprocessing (i.e. mean/std etc).
It would be great if you could give some hints on how to produce the same output from both scripts.

Ok, it looks like a permutation of image axes is missing, which I had suspected when I got same results on static images.


Update Spark to 3.3.1

Description
Spark 3.3.1 released. This PR upgrade spark to Spark 3.3.1.
How was this patch tested?
Existing test.
Does this PR introduce any user-facing changes?
No.

cc @zsxwing


Question about using extract_molecule_corefs_from_figures

I get this output when using extract_molecule_corefs_from_figures:
output:

How can I get the identifier like README and achieve the function in the paper?
README:

paper:

Thanks.

Hello, the README was out of date and has been updated. The corefs returned are in the form [mol bbox index, idt bbox index], so to get the identifier, one could do something like
coref_idx = data['corefs'][i][1]
print(data['bboxes'][coref_idx]['text'])


Client nodes showing 0 disk usage

I am using version 1.4.6 of the plugin and I'm seeing correct readings in the Nodes tab, the disk usage column for all nodes except Client Slaves (there are 2 client slaves in the cluster). Here's what it looks like (attached image):

I'm assuming this is a bug, but then again I might be missing something. Thanks,
Eugen.

Hey @eugenp
yeah, this is somehow a bug. The disk usage doesn't report the node disk, but the data partition used for elasticsearch. Being a client node, there is no data partition associated with the node.
Should anyway display that differently so it's clear.
thanks for reporting :)

That makes sense. Yeah - a clearer message would probably be good - but it's not a major thing of course. Thanks,
Eugen.


[PE-D] Commands that need a group name require typing the exact group name to be valid

Example command:

This is not optimised for users to be productive or efficient, as they would need to check the exact group names and type it exactly, wasting time.

Labels: type.FeatureFlaw severity.High
original: jaysmyname/ped#8

I agree that this may be considered as type.FeatureFlaw but definitely not severity.High. I would consider it as severity.Low, given especially that it is for fast typist who would not really find this as a huge problem.
Moreover, as a user, if I were to want to delete a group, I would already know which group I would want to delete and hence what is the group name. The app is already designed such that the user would not have to type the exact group name with case sensitivity. They can just type anything as long as the spacing is correct. I don't see this as a problem if the user already know the group name that they want to delete.


[Bug] Broadcast join is not reloading the size after data loading

@nareshpr the sizeInBytes update is no working except restart thrift server.


Remove more unused code

Coverage decreased (-0.03%) to 93.779% when pulling 2d0b48acdc0ea211cafb331f44c92a596a0ff44a on mprimi:GENIE-573-remove-more into 7241b0e5eddcdf0a3789c95418baec69a25d2d1a on Netflix:master.


Use "make_target" instead of instantiating target directly

Splitting changes related to tests from https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/pull/1608 here to make it easier to review.

@umangyadav umangyadav removed the [simple]
Wasn't simple 😥

#1608 should fix a lot of the issues we are seeing though. It should probably be merged before merging this in.

#1608 should fix a lot of the issues we are seeing though. It should probably be merged before merging this in. Then we can remove all these -no-as-needed flags.

That PR would take some more time.  This has the majority of test-related changes that would be necessary with dlopen.
I suggest  we merge this first. Later in #1608 i would only have to remove --no-as-needed link option and wouldn't have to change anything.  That way #1608 would do  unit-testing with dlopen way.

This has the majority of test-related changes that would be necessary with dlopen.

We should be able to add test cases without needing to change all target constructions to use make_target.


Vectorize erff() using avx2+fma

Vectorize erff() using avx2+fma in mlas.
Also using openmp parallel processing large blocks in erf operator.
Need suggestions on avx code and other conversions in mlas.

Have another implementation.


Problem reading a file with readFile

Hi,
I'm just trying to read a XLS file and parse it into JSON but it is frustrating why it doesnt work even opening the file.
My code is just:
if(typeof require !== 'undefined')
	XLS = require('xlsjs');

var workbook = XLS.readFile("test.xls");

But I get an error: Uncaught TypeError: Cannot read property 'readFileSync' of undefined (xls.js: 7106)
I put the test.xls in every folder of the project (root and js only) and I even tried to input the absolut path of the file, but nothing work. Any ideas?
Thanks in advance.

@Menighin if you have further issues, please raise in the https://github.com/SheetJS/js-xlsx tracker


Finish user settings UI

relevant file: https://github.com/c2c-project/prytaneum-client/blob/master/src/domains/User/UserSettings/UserSettings.tsx
UI should have the following:

update password
update name (first & last)
update email
opt in/out of notifications
request deletion of account

Anthony is doing this one, need to figure out how to add to organization so I can assign.

Anthony is doing this one, need to figure out how to add to organization so I can assign.

User can directly change their name and/or email, and a snack appears saying "Updated " where data is what they just entered.
Mocks are finished and works in storybook.

Go ahead and open the PR and make sure to ping me about it on slack/request my review.  I don't get a notification when you open a PR.

Change Notification added
just delete/disable account left
(along with regular upkeep of cleaning stuff up/responding to PR)


fix(userspace/libscap): do not return any value from void scap_fseek() function

Signed-off-by: Federico Di Pierro<EMAIL_ADDRESS>What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area libscap
What this PR does / why we need it:
The PR fixes a small bug in scap_fseek() that breaks the build on old gcc (centos7 on Falco CI).
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

@FedeDP: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: FedeDP
To complete the pull request process, please assign ldegio after the PR has been reviewed.
You can assign the PR to them by writing /assign @ldegio in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @FedeDP. Thanks for your PR.
I'm waiting for a falcosecurity member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

LGTM label has been added.  Git tree hash: 4bf73e9e916c69b37dda1c7eef3e2e88fcd40ace

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Rustfmt fails on trailing whitespace in long constant

This code, with a trailing space after the = gives
error[internal]: left behind trailing whitespace
 --> /playground/src/main.rs:1:1:18
  |
1 | const TEST: &str =
  |                   ^
  |

warning: rustfmt has failed to format. See previous 1 errors.

const TEST: &str =
    "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111";

This issue is fixed with version = "Two".

Hmm, not really, if we have a long ident on the rhs:
const TEST: &str =
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;


Anchor Information

When I like to draw symbols asCanvas in Cesium and apply getAnchor() -x and -y offset the icon is showed far of the setting position.
It always happend when I enable infoFields how in the image.

How I know the correct offset to apply?

Sort of like this should work.
https://cesium.com/blog/2016/07/20/cesium-and-milsymbol/

On 5 May 2021, at 17:47, Eliecer Osorio @.***> wrote:

When I like to draw symbols asCanvas in Cesium and apply getAnchor() -x and -y offset the icon is showed far of the setting position.
It always happend when I enable infoFields how in the image.
How I know the correct offset to apply?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

It is precisely from this page that I have taken the example.
When placing the texts, the size of the resulting canvas grows and the offset is apparently not correct.

Just used the octagon offset in another program, if it doesn't work, it is a bug in Cesium and not in milsymbol. If you still think it is a milsymbol bug, please provide a code example.


Does not recognize any ros commands

I have followed all steps on the install page, but when trying to run roscore:
C:\Windows\System32>roscore
'roscore' is not recognized as an internal or external command, operable program or batch file.
Is there a step I missed?
Thank you in advance

Did you run
> c:\opt\ros\melodic\x64\setup.bat

in the ROS Terminal?
This step is indeed missing in https://ms-iot.github.io/ROSOnWindows/GettingStarted/Setup.html .

@traversaro Thank you for answering - I updated the setup doc.


tria.ge detects this as ransomware

tria.ge uses real VM's to test if files are malicious, there wouldn't be any false positives
Setup.msi: https://tria.ge/240519-q4jc2sah9w/behavioral1
setup.exe: https://tria.ge/240519-q2wwcsah5x/behavioral1

You scanned a setup file which is provided by Microsoft, I am not aware of any viruses in the app itself.


Update results api/watcher image tags

Let's merge this after PR https://github.com/openshift-pipelines/pipeline-service/pull/430 (which we are working to merge currently)
To make sure results test is still working.

Let's merge this after PR #430 (which we are working to merge currently) To make sure results test is still working.

Sure.


Add info on writing style

Including:

Conversational style: your project / feature vs a project / feature
Use lower case in sentences: e.g. step definition vs Step Definition
Don't use a period at the end of a bullet / numbered list (like this ;) )

Use Cucumber-JVM instead of Cucumber-jvm

Use backticks (``) around keywords


powershell: not found - after installing

After installation powershell (6.0.0-beta.9-1.ubuntu.14.04) I have error when launch powershell from command line:

https://travis-ci.org/Metrolog/marks/builds/294103395
https://circleci.com/gh/Metrolog/marks/71

Why powershell not found after installation?

@sergey-s-betke  please see the release notes https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-beta.9

Note: Starting from this release, the PowerShell Core executable is renamed to be pwsh (see the issue #4214 for the discussion details). We also start to provide PowerShell Core binary archive packages for Linux and macOS for advanced deployment.

Thank You, @markekraus! It is worked!


Cannot assign to read only property '__esModule'  on Android 4.0

I have encountered this error when testing my application created from create-react-app on Android 4.x :
Uncaught TypeError: Cannot assign to read only property '__esModule' of #<Object>
I have solved the problem following this post  :
https://stackoverflow.com/questions/35461830/cannot-assign-to-read-only-property-esmodule
Concretely, I have ejected the create-react-app configuration and added these lines in the "config/polyfill.js" file :
// Android 4.x support
var defineProperty = Object.defineProperty;
Object.defineProperty = function (exports, name) {
  if (name === '__esModule') {
    exports[name] = true;
    return;
  }
  return defineProperty.apply(this, arguments);
};

I don't know if this fix is really clean but I think that it would be nice if Android 4.x support could be included in create-react-app project.
What is your opinion ?

Probably shouldn't be included since it's very niche, but pollyfilling it without ejecting should be possible? Create public/android-4-polyfill.js with that code and then place a script tag like this in the head of public/index.html.
<script src="%PUBLIC_URL%/android-4-polyfill.js"></script>

It works well this way and, as you say, there is no need to eject the configuration in this case.
It's fine for me, I closed this issue.
Thank you ;)

FYI, i stumbled upon the same issue, but i do not use create-react-app.
The problem was (and probably it is same here) with redux-thunk. I imported it as
import thunkMiddleware from 'redux-thunk';

, which loads lib/index.js, and it is where there error occurs at runtime:
// redux-thunk/lib/index
//<...>
exports.__esModule = true;
//<...>

If replace it with Object.defineProperty(exports, '__esModule', { value: true }), then it works fine.
I ended up importing redux-thunk's es module instead of prebuilt one:
import thunkMiddleware from 'redux-thunk/es'; // loads redux-thunk/es/index.js

Then i build it with rest of my assets using webpack, and it works just fine.


Feature/issue-142: duplicated dimension error with TEMPO ozone profile

Github Issue: #142
Description
Modified the remove_duplicate_dims() function so that the subsetter pipeline does not fail when encountering the duplicated "layer" dimension in TEMPO ozone profile data (variables: support_data/ozone_averaging_kernel and support_data/ozone_noise_correlation_matrix)
Overview of work done
Added checks in remove_duplicate_dims() for whether the Dimension and Variable corresponding to the duplicated dimension already exist in the NetCDF.  The function directly writes the new variable with no duplicated dimensions rather than keeping it with an altered name that needs to be renamed later in the subsetting procedure.
Overview of verification done
Added a new unit test for TEMPO ozone profile data.  Checked that all automated tests passed successfully.
Overview of integration done
Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.
PR checklist:

[x] Linted
[x] Updated unit tests
[x] Updated changelog
[ ] Integration testing

See Pull Request Review Checklist for pointers on reviewing this pull request

@nlenssen2013, @frankinspace, I've made some edits to the remove_duplicate_dims() function in this branch in order to allow the subsetter to work with TEMPO Ozone proxy data files, which have duplicated dimensions in two of the variables.  This change seems to be working well without the need to hold off renaming the variables until rename_dup_vars() does it with xarray later in the subset pipeline. I'm a bit unsure whether this will work for all cases though. Are there additional files we can do regression tests with, besides the ones used by the automated tests in the tests/data directory?

@nlenssen2013, @frankinspace, I've made some edits to the remove_duplicate_dims() function in this branch in order to allow the subsetter to work with TEMPO Ozone proxy data files, which have duplicated dimensions in two of the variables. This change seems to be working well without the need to hold off variable renaming (with rename_dup_vars() using xarray) later in the subset pipeline. I'm a bit unsure whether this will work for all cases though. Are there additional files we can do regression tests with, besides the ones used by the automated tests in the tests/data directory?

To my knowledge, GESDISC only has two collections with this duplicate dimension issue in SNDR and Tropomi. Both of those files get tested in unit test.

Hey all, just checking back on this...
@nlenssen2013, @jamesfwood, are you still planning to do additional checks with GESDISC or other data products before we move this from the fork into the base repository?  (or perhaps you've already done additional checks?)

Hey all, just checking back on this... @nlenssen2013, @jamesfwood, are you still planning to do additional checks with GESDISC or other data products before we move this from the fork into the base repository? (or perhaps you've already done additional checks?)

Yeah, it checks out with our datasets fine, the second function is still needed for one of our collections so the merged branch into develop is solid

Hey all, just checking back on this... @nlenssen2013, @jamesfwood, are you still planning to do additional checks with GESDISC or other data products before we move this from the fork into the base repository? (or perhaps you've already done additional checks?)

Yeah, it checks out with our datasets fine, the second function is still needed for one of our collections so the merged branch into develop is solid

@nlenssen2013, you mean rename_dup_vars() is still needed? Just double-checking with you, since the latest version of this branch no longer uses that function at all (actually, I was thinking the function could now be deleted too) — is that okay?
If it's okay, I'll just go ahead and squash+merge this. If not, we might need to make a few more tweaks to use that rename_dup_vars() function again.

I'm not getting all the pytest tests/ to pass without it currently, not sure if you are. Not a problem for me if it gets merged though - was able to run an individual subset on that collection and it looks good.

@nlenssen2013. hmmm, I just reran and all of the tests in tests/ passed on my laptop from this branch (danielfromearth:feature/currently-no-issue-duplicated-layer-dim).  If they aren't passing for you, are you definitely using the same branch and pulled the latest?

@nlenssen2013. hmmm, I just reran using pytest, and all of the tests in tests/ passed on my laptop from this branch (danielfromearth:feature/currently-no-issue-duplicated-layer-dim). If they aren't passing for you, are you definitely using the same branch and pulled the latest?
Perhaps we merge this into the podaac:feature branch, and then let the automated test suite — run via GitHub actions — serve as the more authoritative check before merging it into develop.

Yep, I'm fine with that


Save altair charts as pdf

Description
I am hoping to be able to save altair charts as pdf from the burger menu of the displayed chart. Right now "Save as SVG" and "Save as PNG" are already available. Still it would be great to save as pdf also, which is one of the most popular formats to save graphics in a vector format.
Suggested solution
Add a "Save as PDF" version to the burger menu. Altair already has the option to save as pdf internally, by just calling chart.save("filename.pdf"). So I hope this can be used to add the requested feature
Alternative
No response
Additional context
No response

@michaelsch71 - we welcome the contribution if you'd like to add support for this.
if you don't want to (that's ok!), you can roll this yourself pretty easily with mo.ui.button and following https://altair-viz.github.io/user_guide/saving_charts.html#png-svg-and-pdf-format
you could even pull this out to its own file and import it into your notebook if you'd like to re-use it across multiple notebooks.


Exporting a list generates an empty csv file (0 bytes)

as title says, I'm trying to export my lists. unfortunately they generate empty files
To Reproduce
Steps to reproduce the behavior:

Go to "your lists" and then open a list
Click on the top/right download/export button  (downwward arrow on top of a line)
select a folder where to save the exported file

Expected behavior
the csv file should contain the list of the exported files
Smartphone (please complete the following information):

Device: Moto g7
OS: Android 10 stock

Can you go in settings, and at the bottom, you should see your version (and possibly build number) of Open Food Facts ?

3.6.3, the last one available on google play.
I've also checked right now that on f-droid, version 3.6.8 is available.
What happens if I install it through f-droid? will I loose my lists and other saved settings?

https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/3794

@Telperion87 This is fixed in develop, which is currently in beta on the playstore


another ascii to utf8 fix

fixes an issue i had building huginn and seen by another user as well #1515

This seems harmless, but shouldn't be needed in Ruby 2.0.  Are you on 2.0+?
https://blog.engineyard.com/2013/whats-new-and-awesome-in-ruby-2?utm_source=rubyweekly&utm_medium=email

ruby 2.3.0

That's super odd.

Does anything change for you when LANG_ALL or LANG are set? http://stackoverflow.com/a/17616076/303661


ngBindHtml with analytics-on did not work

Hello,
I think it may not a bug but I have no idea how to make analytics-on to work.
// controller
$scope.testHtml = "link"

// html

this use case event tracking is not populate.
Any work around exist to work with ngBindHtml + analytics-on?
Sincerely,

You could try to interpolate the html string in the controller - or write a directive wrapper that does that


[improvement](tablet scheduler) Adjust tablet sched priority to help load data succ

improve tablet repair sched:

if a tablet had version incomplete replicas, then first fix the version incomplete replicas, after that if tablet still no enough replicas, then add new replicas.

This improvement will also fix the bug:  for 3 replica on 3 backend,  if one replica A 's  backend is dead,  one replica B miss versions, then the tablet's status is REPLICA_MISSING.  Since no new backend to locate a new replica, the sched will always fail,   also the missing versions B will not be repair.  This PR will try to fix replica B firstly, only after that it then try to add a new replica.

when load data fail, then repair this tablet imm;

increase those tablets' sched priority:
a) recently write failed;
b) had version incomplete  replicas;
c) mow;

fix colocate table health status,  if colocate tablet's replica are not alive,  its status should be unrecoverable.

But  adjust priority is still not enough due to the sched pending queue limit size 2000.   TabletChecker will put 2000 sched tasks into the sched pending queue,  if the queue is full,   even the highest priority sched task couldn't put into the queue.


Remove those partnerships that are in Planning

Remove mentions of the following from the about page:

Python Morself
DjangoCon US 2024 (Under Black Python Devs Opportunity Fund)
PyData Global Events

Hello @kjaymiller, can I work on this issue?


How to specify Arguments with ampersand?

I got this:
System.Reflection.MissingRuntimeArtifactException:
'Cannot retrieve a MethodInfo for this delegate because the method it targeted
(System.ServiceModel.Syndication.SyndicationFeedFormatter.DefaultUriParser(XmlUriData, Uri&))
was not enabled for metadata using the Dynamic attribute.
 For more information, please visit http://go.microsoft.com/fwlink/?LinkID=616868'

So I put this (into rd.xml):
	<Type Name="System.ServiceModel.Syndication.SyndicationFeedFormatter">
	<MethodInstantiation Name="DefaultUriParser" Arguments="XmlUriData, Uri&" Dynamic="Required" />
	</Type>

But it ends with:
xxx\My Project\Default.rd.xml(28): warning : ILTransform : warning ILT0027: Unparsed text in generic arguments 'XmlUriData, Uri&'.

How I should write this?
(runtime error occurs only in Release compilation, not Debug).
I would not open this Issue for my own problem; I just think that this documentation page should have information how to represent arguments like this (general info).
[Enter feedback here]

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

ID: 2f49cf8b-4877-3e00-1b29-9f6e43b9a460
Version Independent ID: a4ce4164-c7f3-ecd5-7000-b8aa5f386b97
Content: <MethodInstantiation> Element (.NET Native) - UWP applications
Content Source: windows-apps-src/dotnet-native/methodinstantiation-element-net-native.md
Product: uwp
Technology: platform
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Thanks, @pkar70! I'm investigating this, and I'll get back to you when I have some info.
-Steve

By the way, why System.Reflection.MissingRuntimeArtifactException doesn't simply print exact lines to be added to *.rd.xml...

Hi, @pkar70. I've added info to the Remarks section of this topic that should answer your question. Specifically, it details how to use the MissingMetadataException troubleshooter. I suspect that the MissingMetadataException troubleshooter exists so that the exception doesn't need to include the exact details.
Thanks!
Steve

Troubleshooter says Arguments="Uri uri&" - but ILTransform says that this is wrong. Changing it to & also doesn't help.


Emit stack trace when TrackExceptionsAsExceptionTelemetry is set to f…

Fix Issue #2064.
Changes
ILogger logs StackTraces in TraceTelemetry when TrackExceptionsAsExceptionTelemetry flag is set to false.
Checklist

[x] I ran Unit Tests locally.
[x] CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:

FxCop and other analyzers will fail the build. To see these errors yourself, compile localy using the Release configuration.

Notes for reviewers:

We support comment build triggers

/AzurePipelines run will queue all builds
/AzurePipelines run <pipeline-name> will queue a specific build

/AzurePipelines run

/AzurePipelines run

/AzurePipelines run


Register j.is-cool.dev

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] There is no NS Records (Enforced as of Sepetember 4th, 2024)

Description

Link to Website

xzrci.vercel.app

I have read the CLA Document and I hereby sign the CLA


Improve dev container support

Add devcontainer support for:

VS Code Dev Containers
Gitpod
GitHub Codespaces

When using dev containers:

Wokwi support
Web flasher support
Readme with instructions

Thanks for the quick review! The main purpose of the scripts is to make VS tasks less complex and, when using Wokwi in Gitpod/GH Codespaces, remove the need to export WOKWI_HOST from the user.
That being said, we could maybe move the complexity away from the scripts into wokwi-server and task.json and get rid of the 3 bash files

Thank you for this Sergio, great work!
I would personally like to see the scripts either moved into a scripts directory or (preferably) removed altogether if possible. Again though, this is not a blocking issue and I'm more than happy to merge this as-is. I completely understand if you've moved on to other things and don't want to poke at this anymore right now, so please just let me know your plan and I will act accordinly.


fix: Initial setup for pouch adapter

Current setup
Currently PouchDB uses a single adapter to store all application data in one place including the core data as well as the view index data. The adapter for dependent databases is registered in registerDependentDatabase in the adapter.js file.
Issue
The use of a single adapter per database becomes a problem when the user wants to store their core data and view index data separately in multiple databases. The current setup does not provide the option to do so.
Use case
One of the use cases for using separate adapters can include using the memory adapter for indexes to speed up queries. Separate adapters is also helpful in taking advantage of the encryption options of the different databases.
Approach
This PR provides an option for the user to specify a separate adapter to store their view index in addition to the main adapter for their core data.
For example the user will be able to define their main adapter using adapter and view index adapter using view_adapter. Here the core data will be stored in IndexedDB and view index data in WebSQL.
const db = new PouchDB(DB_NAME, {adapter: 'idb', view_adapter: 'websql'})

The adapter is registered…

The adapter for dependent databases is registered…
Other uses cases could include using the memory adapter for indexes to speed up queries.

Would it be better to establish a broader syntax for customizing dependent DBs? For example:
const db = new PouchDB('example', {
  dependentDbs: {
    adapter: 'websql',
    auto_compaction: true,
    PouchDB: CustomPouchDB
  }
})

Right now we ONLY modify dependent DB options if the view_adapter option has been set. This difference does not have to have a large code footprint:
let dependentDbConstructor = this.constructor
let dependentDbOptions = clone(this.__opts)
if (dependentDbOptions.dependentDbs) {
  const { dependentDbs, ...baseOpts, PouchDB: CustomPouchDB } = dependentDbOptions
  if (CustomPouchDB) { dependentDbConstructor = CustomPouchDB }
  dependentDbOptions = { ...baseOpts, ...dependentDbs }
}
var dependentDb = new dependentDbConstructor(dependentDb, dependentDbOptions);

What do you think?

Just for some context, other companies have sought this feature and been dissuaded from using PouchDB by its absence. This is part of why I support a broader dependentDbs configuration syntax, rather than just a view_adapter option. As members of an ecosystem it behooves us to consider our neighbors.

Just for some context, other companies have sought this feature and been dissuaded from using PouchDB by its absence. This is part of why I support a broader dependentDbs configuration syntax, rather than just a view_adapter option. As members of an ecosystem it behooves us to consider our neighbors.

Agreed! as first pass however do you think it would be sufficient to leave it as view_adapter and pass a String or Object as needed?  view_adapter: {"name": "idb", "encryption_key": something"} and then we can customize it more later.
Maybe @janl or someone else can add more details.

Agreed! as first pass however do you think it would be sufficient to leave it as view_adapter and pass a String or Object as needed? view_adapter: {"name": "idb", "encryption_key": something"} and then we can customize it more later.

I don't believe it makes sense to have the view_adapter option be an object, since the adapter option is always a string. If we need to pass more options to dependent DBs in order to accomplish our goals, we should go with the dependentDb syntax right away. Regardless, I recommend we implement the dependentDb syntax prior to submitting this PR to PouchDB itself.

I don’t think I agree with your comment (sorry to drop a list, I’m about to head off work so I’d like to leave as much context as possible).

“dependentDbs” is an implementation concept in PouchDB that is not surfaced to the API anywhere, so I don’t think that’s a better name (n.b. it’d have to be dependent_dbs to match naming conventions
view_adapter re-uses two already known concepts from the API. I could be persuaded to bikeshed to this to index_adapter or similar to make clear it also applies to find() indexes (on not-indexeddb adapters).
overloading an option to be a string-or-object is a normal thing to do in JS APIs, and I’m not too worried here. Keeps it simple for the simple case and convenient enough for the complex case at the expense of three more lines in the impl.

I could be persuaded

I suppose that settled it then. I'll make it happen.


Windows: [TP4] Pass container name to HCS

Signed-off-by: John Howard<EMAIL_ADDRESS>The PowerShell direct folks have requested that the friendly name of the container be passed into HCS so that when entering a powershell session into a container, the user prompt contains the friendly name (adjective_noun construct) rather than the container ID.

Jenkins nightmares :(

mmm I'm not sure we want this, but maybe it's okay in the windows world. My main concern is that names change, but IDs are forever.

@calavera - to be clear, the name field isn't persisted in HCS or Windows. It's purely a label, and this case would be used as part of the powershell prompt. Hence, there's no concern that you're identifying here.

So it'll be updated properly by "docker rename" ?

Tianon

@tianon Yes :) It'll be updated each time the container starts.

okaaaaay. LGTM

Right, I figured it'd be updated on container start, but rename is an
online operation -- does that mean that a container would have to be
restarted for the new name to propagate?

Yes, that's correct.

so I dont think that will work then for rename

Correct, not an online rename. Offline yes. To make online rework would require platform support which certainly won't make TP4

Wouldn't this be inconsistent with a Linux container, where (usually) the hostname is used in the prompt? (Which defaults to the container-ID if no hostname is provided)

@thaJeztah That was my original suggestion :) I'll confirm internally and get back to you.

For the administrator of the container host the name they see when running ‘docker ps’ is what we would like to show.  Hostname need not be unique across a given container host, and need not be the same as the container’s name.  Thus the container name or ID seem like the best options, and using the ID when someone specified the name on command line seems confusing.
A few scenarios that come to mind:
-Assume you were running a wordpress service, where each site consists of a front end and backend container.  The hostname of all the backend containers could be ‘db’ and the hostname of the frontend containers actually being the users fqdn.  If you connected and we used the hostname you can’t tell the difference – but if you named them aka tenate_db and we use the container name, now you can.

The problem I see there is that the container name should really be an implementation detail, and a process running inside a container should not be aware off that.
Keep in mind that containers are not virtual machines; mentioning that it's nice if the administrator of a WordPress stack sees the name of the container when attaching, really feels "virtual machine"-like. We don't really advocate attaching to containers to perform tasks interactively; usually, a container is regarded a "sealed entity" - (interactively) making changes to a container is only done in exceptional cases; replacing the container with a fresh/updated one is really preferred.
Finally; not all installations may want to communicate the container name (possibly multi tenant situations).
These are just my thoughts, but I really think we should think this through properly.

I'll let Taylor answer the other point, but in reference to "and a process running inside a container should not be aware off that" - it wouldn't be in this case. The name here is a label used by HCS, and not passed into the container.

As John said the process inside the container isn't aware of the container's 'management name'.  This will be utilized for much of the same reasons/scenarios we support attach (or exec) aka troubleshooting, during development etc...

I think it's weird to pass it in if it's not updated on rename.... not that anyone actually uses rename.

no one uses rename, it was broken for and entire release and no one noticed
:/
On Thu, Oct 8, 2015 at 1:41 PM, Brian Goff<EMAIL_ADDRESS>wrote:

I think it's weird to pass it in if it's not updated on rename.... not
that anyone actually uses rename.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/16495#issuecomment-146679006.

@cpuguy83 @jfrazelle any objections left here? I think it's a "lgtm" from me (one nit added above, but pls check I'm correct there)

Humm, to me I don't think we need this.  It is the same thing we do with libcontainer.  We use the low level container ID that is immutable as the ID used on the runtime and for paths in /run and cgroups.  I don't think the container name, something that is mutable and tired to services, it appropriate for a low level runtime detail.

As I said above, this is not used by the low-level runtime for anything except 'just a name'. It will be exposed in the prompt given to the user when entering a PowerShell session into it. No other processing is done on it.

It mixes a high level concept like user provided names with a low level runtime detail.  It will end up causing more issues in the future if naming schemas are changed.  Its a usability request and does not even work as the user would expect using the rename command with a running container.
The past work on docker has given us experience that having a low level id that is registered and used for systems operations is much better than using a high level concept like a user provided name exposed at this level.  Its a little more work for people who want to bypass things and perform advanced operations outside of the container's lifecycle managed by docker but also reduces bugs when people do something wrong.  If you want to poke around, you have to know what you are doing and use the container ID.
Trust me, you will thank me later whenever naming changes are made and you have the flexibility of the id to name mapping layer to not break backwards compat.

I agree. I'm sorry this hung around for so long. I really think the best route is to close.

@jfrazelle - You can't close a PR without discussion! @crosbymichael I strongly disagree here. You are confusing passing something into HCS as meaning low-level. That is not the case here.
If the concern is that it isn't changed during a rename, we can add platform support post TP4.
Please re-open this PR.

I reopened
On Thu, Oct 15, 2015 at 4:21 PM, John Howard (Microsoft) <
<EMAIL_ADDRESS>wrote:

@jfrazelle https://github.com/jfrazelle - You can't close a PR without
discussion! @crosbymichael https://github.com/crosbymichael I strongly
disagree here. You are confusing passing something into HCS as meaning
low-level. That is not the case here.
If the concern is that it isn't changed during a rename, we can add
platform support post TP4.
Please re-open this PR.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/16495#issuecomment-148549619.

The concern is that name is not supposed to be consumed by exec or graph drivers, they work on the container ID.
There have to be boundary somewhere on the system.  Within docker, once something gets passed to the execution drivers, no matter the platform and what you can code into it, it's past the user boundary.  Anything related to graph, filesystem drivers, and execution all consume and act upon container IDs and we are not going to change that for one platform.
It will add complication to our code base, "every works on container IDs internally except for Windows" (this does not make happy developers when looking for a bug), so its not only inconsistent with everything else but it's just not right to use name here.  You may not consider HCS low level but that is an implementation detail of our architecture and how many features you want to pack in there.  Within the docker model, exec drivers, graph drivers, etc are low level and do not act upon container names.

I agree with @crosbymichael. This creates a big inconsistency internally.

You can't close a PR without discussion!

PS: yes, she could close this PR because more than one maintainer has expressed their disagreement with this change.

Gosh, how did I miss that on my calendar before??! :)

Or is it suddenly International Open Source week with a lower-case o in open? I cannot believe the antagonist nature of this discussion.
The majority of the above comments are based on uninformed use cases; without knowledge of Windows or Windows container scenarios (and trust me, I sat round a table in a room at Dockercon a few months back with 17 or 18 other contributors, with I believe only a couple of them even having used Windows for any real purpose, except when forced to due to work, in 10 or more years); without consideration that there are multiple management platforms for containers on Windows - Docker, Inbox, LXD, .... ; with no consideration that the name is a management construct, and being used here AS A MANAGEMENT CONSTRUCT, not for processing, as an immutable identifier, acted upon, or any other purpose; with no consideration that there is no parallel to Enter-PSSession on Linux - it's a Windows well-known concept - it is NOT docker exec. Shall I go on? Please finally accept that Windows is not Linux. Neither is a Golden Retriever a giraffe.
By not taking this, you guys will actually be making Docker the odd-one-out in terms of management stacks on Windows.
This isn't about architectural boundaries. If anything, the architectural boundary between Docker and other management stacks is entirely through HCS. We have made it extremely clean to push that down to the right layer, and only the drivers interact with HCS. Sure, I can make a call out in core docker engine code, not in a driver, to call "SetEnterPSSessionName" which calls HCS directly, and implement new interfaces in the Windows platform to support that, but I know that would go down.
The container ID continues to be the immutable identifier for a container through HCS. And the statement about "everything works on container IDs internally except on Windows" is a false one. This PR does not change that. Everything in HCS and Windows containers below docker are keyed off the ID field, which for Docker is the 64-digit container ID.
Similarly the statement "Within the docker model, exec drivers, graph drivers, etc are low level and do not act upon container names" also remains true. It is only passing information through to be visible to other management stacks.

Edited above comment for grammar. What can I say, I'm English. And pissed at the lack of understanding by Docker Inc. folks.

@shykes

Maintainers are against, sorry, we can continue the discussion on IRC.

Seriously? So someone suggest a better way of getting the management name into HCS in a clean architectural way? If not, I will reopen as another PR. This is not the way open source is supposed to be done. Entirely unacceptable guys.

OK, as Docker inc insists to date, I have a prototyped working solution. HCS calls back through the REST API to the daemon to retrieve the management name synchronously during the call. All self-contained in Windows code. Is that acceptable to docker? Honestly a ridiculous workaround, but if the maintainers at Docker Inc. insist on not allowing it to be passed on the architectural clean path, I'm left with little choice. Comments, suggestions? @crosbymichael

An alternate is to fork docker for Windows. I'm sure that's not what you (Docker Inc.) want, but is a viable and cleaner solution.

I've reread this thread and it's still not really very clear to me what this is used for besides the label in a command prompt.  Can you maybe elaborate a bit more on what this enables beyond that?  There are some vague references here to other Windows specific functionality this makes possible, but I don't see many details on what that encompasses, so I imagine some extra clarification would probably help.
Also, I'd personally appreciate if we kept Docker Inc accusations out of this discussion; not all the maintainers work there, and this thread looks like it's got a fair amount of miscommunication/missing info that might just help clear things up. :smile:

Fair enough, @tianon. I honestly apologise for that. I understand that not -all- maintainers are docker inc employees, but the majority are, at least the ones who have raised objection. This is really is just being used for a label in a command prompt (the PowerShell Enter-PSSession command, accessible to all management platforms). Nothing more.


Properly parse code spans in md_in_html

This reverts part of 2766698 and causes other tests to break. Although,
those should be addressed in the same manner as in the core (by using
the intail attribute).
A partial fix for #1068.

Down to three failing tests.


FFMpeg cannot be found in the root directory!

Hello,
I just installed FFMpegSharp but having a difficulty setting up the envirnoment.
Whenever i try to use the FFMpeg class, it shows an exception, "FFMpeg cannot be found in the root directory!".
I have copied FFMpeg.exe from the project's FFMpeg x64/x86 folders/and also tried latest executable from the official site on to c:\ffmpeg\bin and set .
I added the path to the Windows Environment variable, user variable, path.
I also tried using the project's FFMpeg x64/x86 folders in the config variable but all didn't work.
I am not sure what is wrong with my setting.
I looked for the answer in the web but nothing worked so far.
Could someone help me, please?
I am using Windows 11.
Thank you.

You can't use a Windows binary file in a linux container, they are not cross compatible

Hello mdhiggins,
Thank you for the comment. I am purely using Windows envirnment and I think I downloaded Windows executables.

But the containers are linux based, so if you're going to override the included FFMPEG binaries that come with the container you'll need to provide linux binaries not windows ones

I installed FFMpeg Nuget package that is Windows based.

I feel like we're going in circles here. radarr-sma and any of the linuxserver based docker containers (also sonarr-sma) are not going to work with any windows FFMPEG binaries.
Is there a reason the included binaries don't work for you? The containers don't need an outside source of FFMPEG

sorry, i posted it at the wrong platform forum.
Best regards,
Fritz Hagi
MCSE, WSET Level 3
From: Michael Higgins @.>
Sent: Friday, 14 July 2023 3:25 AM
To: mdhiggins/radarr-sma @.>
Cc: Fritz Hagi @.>; Author @.>
Subject: Re: [mdhiggins/radarr-sma] FFMpeg cannot be found in the root directory! (Issue #50)
I feel like we're going in circles here. radarr-sma and any of the linuxserver based docker containers (also sonarr-sma) are not going to work with any windows FFMPEG binaries.
Is there a reason the included binaries don't work for you? The containers don't need an outside source of FFMPEG
—
Reply to this email directly, view it on GitHubhttps://github.com/mdhiggins/radarr-sma/issues/50#issuecomment-1634777696, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBB7YFRBZWJMEIJUAL52VRLXQBDPLANCNFSM6AAAAAAZ6Y3YLE.
You are receiving this because you authored the thread.Message ID: @.***>


Filewatcher: missing file causes too many errors.

If you tell the client to watch a file, but the file is missing, a whole slew of errors get generated because of the fast loop that keeps retrying. Slow the loop down or add a backoff.
If the client is reloaded or stopped while 'waiting' for a missing file to watch it deadlocks.
[INFO] 2024/04/09 14:44:26 File Watcher: Waiting for watchme-file to appear...

Okay what I found was that at some point I added code that resets the "retries" counter on a file watcher. I've now adde code that resets the retries counter a second time to what it should be after the connection is retried. It's a little tacky but it's rather isolated now. I also had already fixed the deadlock in #660, but forgot since I was using that for the unstable base. I will return that fix in a new contribution.
Files may have 6 max retries. It's not much, but honestly I think the must exist logic should just be default.


Problem debug App

Steps to Reproduce
*Target Platform: *
*Target OS version/browser: Android 9 *
Devices:
Logs

E:\flutter\.pub-cache\hosted\pub.dartlang.org\cached_network_image-1.1.2+1\lib\cached_network_image.dart were declared as an inputs, but did not exist. Check the definition of target:kernel_snapshot for errors
#0      Node.computeChanges (package:flutter_tools/src/build_system/build_system.dart:777:7)
<asynchronous suspension>
#1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:517:20)
<asynchronous suspension>
#2      _BuildInstance.invokeTarget.<anonymous closure> (package:flutter_tools/src/build_system/build_system.dart:481:35)
#3      new Future.sync (dart:async/future.dart:224:31)
#4      AsyncMemoizer.runOnce (package:async/src/async_memoizer.dart:43:45)
#5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:481:21)
<asynchronous suspension>
<asynchronous suspension>
#6      BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:419:36)
#7      _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#8      BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:400:28)
#9      buildWithAssemble (package:flutter_tools/src/bundle.dart:172:48)
#10     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#11     buildWithAssemble (package:flutter_tools/src/bundle.dart:148:31)
#12     BundleBuilder.build (package:flutter_tools/src/bundle.dart:85:13)
#13     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#14     BundleBuilder.build (package:flutter_tools/src/bundle.dart:58:21)
#15     BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:126:25)
#16     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#17     BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:97:42)
#18     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:557:18)
#19     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#20     _rootRunUnary (dart:async/zone.dart:1132:38)
#21     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#22     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#23     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#24     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#25     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#26     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
#27     _rootRun (dart:async/zone.dart:1124:13)
#28     _CustomZone.run (dart:async/zone.dart:1021:19)
#29     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#30     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#31     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#32     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#33     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#34     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

Failed to build bundle.

FAILURE: Build failed with an exception.

* Where:
Script 'E:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 794

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugArm64'.
> Process 'command 'E:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
Finished with error: Gradle task assembleDebug failed with exit code 1

Hello everyone,
After have upgrade flutter and dart, i have this error:

Before the upgrade it worked ..
Thanks

I have now this error
`Compiler message:
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:3:8: Error: Error when reading '/E:/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.2+1/lib/cached_network_image.dart': Le chemin d’accès spécifié est introuvable.
import 'package:cached_network_image/cached_network_image.dart';
^
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:70:9: Error: Type 'PlaceholderWidgetBuilder' not found.
final PlaceholderWidgetBuilder placeHolder;
^^^^^^^^^^^^^^^^^^^^^^^^
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:73:9: Error: Type 'LoadingErrorWidgetBuilder' not found.
final LoadingErrorWidgetBuilder errorWidget;
^^^^^^^^^^^^^^^^^^^^^^^^^
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:76:9: Error: Type 'ImageWidgetBuilder' not found.
final ImageWidgetBuilder imageBuilder;
^^^^^^^^^^^^^^^^^^
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:70:9: Error: 'PlaceholderWidgetBuilder' isn't a type.
final PlaceholderWidgetBuilder placeHolder;
^^^^^^^^^^^^^^^^^^^^^^^^
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:73:9: Error: 'LoadingErrorWidgetBuilder' isn't a type.
final LoadingErrorWidgetBuilder errorWidget;
^^^^^^^^^^^^^^^^^^^^^^^^^
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:76:9: Error: 'ImageWidgetBuilder' isn't a type.
final ImageWidgetBuilder imageBuilder;
^^^^^^^^^^^^^^^^^^
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart:140:20: Error: The method 'CachedNetworkImage' isn't defined for the class '_CircularProfileAvatarState'.

'_CircularProfileAvatarState' is from 'package:circular_profile_avatar/circular_profile_avatar.dart' ('/E:/flutter/.pub-cache/hosted/pub.dartlang.org/circular_profile_avatar-1.0.2/lib/circular_profile_avatar.dart').
Try correcting the name to the name of an existing method, or defining a method named 'CachedNetworkImage'.
child: CachedNetworkImage(
^^^^^^^^^^^^^^^^^^
Exception: Errors during snapshot creation: null
#0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/dart.dart:225:7)

#1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:526:25)

#2      _BuildInstance.invokeTarget. (package:flutter_tools/src/build_system/build_system.dart:481:35)
#3      new Future.sync (dart:async/future.dart:224:31)
#4      AsyncMemoizer.runOnce (package:async/src/async_memoizer.dart:43:45)
#5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:481:21)

#6      BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:419:36)
#7      _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#8      BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:400:28)
#9      buildWithAssemble (package:flutter_tools/src/bundle.dart:122:48)
#10     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#11     buildWithAssemble (package:flutter_tools/src/bundle.dart:98:31)
#12     BundleBuilder.build (package:flutter_tools/src/bundle.dart:75:11)
#13     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#14     BundleBuilder.build (package:flutter_tools/src/bundle.dart:52:21)
#15     BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:126:25)
#16     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#17     BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:97:42)
#18     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:557:18)
#19     _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#20     _rootRunUnary (dart:async/zone.dart:1132:38)
#21     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#22     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#23     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#24     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#25     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#26     Future._asyncComplete. (dart:async/future_impl.dart:552:7)
#27     _rootRun (dart:async/zone.dart:1124:13)
#28     _CustomZone.run (dart:async/zone.dart:1021:19)
#29     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#30     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)
#31     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#32     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#33     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#34     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

Failed to build bundle.
FAILURE: Build failed with an exception.

Where:
Script 'E:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 794

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugArm64'.

Process 'command 'E:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 15s
Finished with error: Gradle task assembleDebug failed with exit code 1
`

@iso57 please file an new issue, that looks entirely unrelated - in fact,  it looks like  a regular compilation error.

After upgrade flutter, I am having this error, kindly fix
FAILURE: Build failed with an exception.

Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 794

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugArm'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 17s
Finished with error: Gradle task assembleDebug failed with exit code 1

I have tried flutter doctor
flutter clean
and yet it is still not compiling

I have the same issue
So I made it again with the same name, same path
And i delete using safe remove
So it was solved


[C4GT] Admin Portal to Build Registry and Credentialing Platform

Project Details

Admin Portal to help build Registry & Credentialing platform easily through front end. This portal will use Sunbird RC framework. The objective is for any person (generally system administrators) trying to create a registry should be able to configure it easily through the admin portal. The admin portal leverages the Sunbird RC APIs and provides basic functionality such as create entity schema, add a record, and so on.
Learning Path

https://github.com/orgs/Sunbird-RC/discussions/676
Sunbird RC documentation: https://docs.sunbirdrc.dev/learn/readme
Essential reading

https://docs.sunbirdrc.dev/learn/electronic-registries
https://docs.sunbirdrc.dev/learn/electronic-registries/registry-vs-database

Complexity: Medium
Skills Required

Angular
Typescript
Postman API

Name of Mentors

Tejash L
Chaitrali

Project size
~8 weeks
Project Set Up
https://docs.sunbirdrc.dev/developer-documentation/admin-portal
Features to be implemented (Acceptance criteria)

Creation of Registry Schema

[x] #668
[ ] UI to define attributes of schema and configure properties (mandatory, Part of column in the listing, etc)
[ ] Use Sample Schema and edit it

Publish

[ ] Publish schema

Dashboard

[ ] View Schemas published or unpublished, to explore respective APIs

Roles Management
Currently, user needs to create roles in Keycloak. In this feature, user should be allowed to create and manage roles from admin portal.

[ ] Creating Roles

Add records
For the Schema created, the user should be able to view and add records.

[ ] Listing
[ ] Add Single
[ ] Bulk Records

Ownership

[ ] Configure authentication type
[ ] Configure

Attestation Workflow
Admin should be able to configure attestation workflow

[ ] Configure Auto attestation
[ ] Configure Attestor
[ ] Configure attributes required for attestation

Verifiable credential Template
Configure Verifiable Credential (VC) for the schema defined

[ ] View and Use Existing Template
[ ] Edit Template
[ ] Upload SVG Template
[ ] Create Custom Template

Milestones

Create and review high-level tech design
Implement acceptance criteria # 1

Design
https://www.figma.com/file/dRmU5ODkJDuZgvuMZQRTvQ/Admin-Portal?type=design&node-id=3010-14743&t=0aqpeHOk7pFVRc7l-4

Is it the necessity of the portal to be built with Angular or is it flexible in terms of framework.
I've pretty much experience of developing scalable and responsive NextJS frontends so curious if this can be possible.
btw the project looks good to be done.


fix(mock-library): this fixes the race condition in the mock library

n
Signed-off-by: Pranshu Srivastava<EMAIL_ADDRESS>

LGTM

should fix #167


don't replace backslashes

Addresses:
dockstore/dockstore#3562
https://ucsc-cgl.atlassian.net/browse/DOCK-1416

Ran a WDL workflow that utilized the GCS plugin and it ran successfully.


Request: for "Quick accent" tool, also offer the special characters in Hebrew of Niqqud (similar to vowels in English)

As the title says.
Niqqud is like vowels in English, but they are optional and they are added in/around the letter, usually as dots (Niqqud=putting a dot).
https://en.wikipedia.org/wiki/Niqqud
Please offer them there too.

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

ID: 06e00ed6-a50f-1bf1-af7b-81879cb0338e
Version Independent ID: 7209e902-f8ec-2f25-a0e5-d557e6e18687
Content: Microsoft PowerToys
Content Source: hub/powertoys/index.md
Product: dev-environment
Technology: powertoys
GitHub Login: @mattwojo
Microsoft Alias: mattwoj

@AndroidDeveloperLB Hello and thanks for your message. This request would be better placed in the PowerToys repository. This repo is about the documentation on MS Learn. See (for example) issue https://github.com/microsoft/PowerToys/issues/20317
@damienleroy Is this within the scope of Quick Accent?

@Jay-o-Way You are correct. I have no idea how I got here. Here:
https://github.com/microsoft/PowerToys/issues/24409


[VTA][Hotfix] Avoiding error when environment variable is not set

When running hardware tests, we can obtain a test remote via the tracker, or directly. When obtaining from the tracker, one needs to set the TVM_TRACKER_HOST and TVM_TRACKER_PORT environment variables. If unset, the test utility will try to get the hardware remote from the VTA_PYNQ_RPC_HOST and VTA_PYNQ_RPC_PORT environment variables. If either PORT variables are unset, the code below causes an error since we are casting None to int too early.

@tmoreau89 can you retrigger CI so we can merge?


Pulsar proxy with TLS enabled not ignoring attribute fields in private key (loadPrivateKeyFromPemFile())

Describe the bug
There are cases when a private key pem file (e.g., when converting a pkcs#12 pair to pem) may be of the format:
Bag Attributes
    friendlyName: *.example.com
    localKeyID: <redacted>
Key Attributes: <No Attributes>
-----BEGIN PRIVATE KEY-----
<redacted>
-----END PRIVATE KEY-----

As a result, the client can't complete the TLS connection... from client:
ERROR ClientConnection:388 | ... Handshake failed: Connection reset by peer

To Reproduce

Enable pulsar-proxy with TLS enabled
Import your tls.crt and tls.key k8s secrets (import the cert) with key being in format of Description above
Try to connect via pulsar+ssl with your client
See the error:

From client
2020-04-07 07:15:22.782 INFO  ConnectionPool:85 | Created connection for pulsar+ssl://<redacted>:6651
2020-04-07 07:15:23.051 INFO  ClientConnection:330 | ... Connected to broker
2020-04-07 07:15:23.256 ERROR ClientConnection:388 | ... Handshake failed: Connection reset by peer
2020-04-07 07:15:23.256 INFO  ClientConnection:1349 | ... Connection closed

From server:
13:45:03.437 [pulsar-proxy-io-2-1] WARN  io.netty.channel.ChannelInitializer - Failed to initialize a channel. Closing: [id: 0x488d7794, L:/<redacted>]
java.lang.IllegalArgumentException: Illegal base64 character 20
u0009at java.util.Base64$Decoder.decode0(Base64.java:714) ~[?:1.8.0_232]
u0009at java.util.Base64$Decoder.decode(Base64.java:526) ~[?:1.8.0_232]
u0009at java.util.Base64$Decoder.decode(Base64.java:549) ~[?:1.8.0_232]
u0009at org.apache.pulsar.common.util.SecurityUtility.loadPrivateKeyFromPemFile(SecurityUtility.java:206) ~[org.apache.pulsar-pulsar-common-2.4.2.jar:2.4.2]

Expected behavior
As, say, with other servers like nginx, it should be able to load the key appropriately even in this format. After applying workaround (see "Workaround" below), works:
2020-04-07 16:59:41.336 INFO  ConnectionPool:85 | Created connection for pulsar+ssl://<redacted>:6651
2020-04-07 16:59:41.536 INFO  ClientConnection:330 | [<redacted>:<redacted> -> <redacted?:6651] Connected to broker
2020-04-07 16:59:42.358 INFO  HandlerBase:53 | [persistent://<tenant>/<ns>/<topic>, ] Getting connection from pool
2020-04-07 16:59:42.572 INFO  ConnectionPool:85 | Created connection for pulsar://<redacted>:6650
2020-04-07 16:59:42.765 INFO  ClientConnection:332 | [<redacted>:<redacted> -> <redacted>:6651] Connected to broker through proxy. Logical broker: pulsar://<redacted>:6650

Desktop (Environment):

OS: Ubuntu 18.04
Kubernetes 1.15
Pulsar v2.4.2

Workaround
Make sure private key begins and ands with -----BEGIN and -----END, respectively, and restart the pulsar-proxy
Proposed Solution
In https://github.com/apache/pulsar/blob/master/pulsar-common/src/main/java/org/apache/pulsar/common/util/SecurityUtility.java#L251-279, change:
            // Skip the first line (-----BEGIN RSA PRIVATE KEY-----)
            reader.readLine();
            while ((currentLine = reader.readLine()) != null) {
                sb.append(previousLine);
                previousLine = currentLine;
            }
            // Skip the last line (-----END RSA PRIVATE KEY-----)

... to something like:
            // Jump to the first line, eg: "-----BEGIN RSA PRIVATE KEY-----"
            while(!reader.readLine().startsWith("-----BEGIN") {
                reader.readLine
            }

            // Stop once we see the last line (-----END RSA PRIVATE KEY-----)
            while ((currentLine = reader.readLine()) != null && ! currentLine.startsWith("-----END")) {
                sb.append(currentLine);
            }

@schahal  thank you for reporting this issue. since you already figured out the solution, do you want to submit a pull request?


Fix many Initialization system is overdetermined warning messages

@jacksonharvey, when you have time. We're seeing a lot of these warnings when running ThermalSystemModels.
https://github.com/ProjectTorreyPines/FUSE.jl/actions/runs/11864027768/job/33066645246#step:14:1071

Would you be able to please take a look when you have time? Thanks!!

I'll check it out, not sure why that would be happening.


Set up node.js and mongoDB

Initial Skeleton Code set these things up.
Commit: [334f9cf] (https://github.com/vladislavivanistsev/SuperCap/commit/334f9cfa9c73934982a07c5f1aac5aee59fe55c3)

Work includes: Getting familiar and also implementing simple database operation to see how that works.
Estimated: 3 man-hours


Modify File.exists? to File.exist?

As you see in the issues of Code Climate, File.exists? is a deprecated method.
So I modified it to File.exist?.

Thanks, the changes will be in the next release.


Feature/tag/86bx9xbb3

Features:

Tags

Tags edition

(Test) Get game object(s) by tag

Really good work, as an improvement u could change the tag window to be a pop up. Similar to how the scene load is done

Hi @carlosgspsp @M1R4B3L
I made the follow change

Fix project filter broken problem
Set GO to untagged before delete their tag
Save-Load scene with tag


(In Code Review) Add the ability for consumers to start the ContactUsActivity

https://jira.desk.technology/browse/MSDKA-65

:+1:


Scaling with docker?

TODO:

[x] Ensure docker configuration is correct and stable
[x] Implement redis handling
[x] Test scaling

Not sure which I didn't see this when searching for docker earlier. I can likely take this help get it landed one of these evenings. Feel free to close my other changes a duplicate of this one.

This PR is probably way out with sync with master at this point, you might be better off using this branch as a reference and starting fresh. The biggest issue I have with this is in my docker compose/setup, redis isn't always working as expected on OSX (where I've been doing my main development), but was working fairly well on linux.


GRUB2  and manual edit of /etc/sudoers

Hello
Can we please have updated documentation about what to do when SUSE is using GRUB2?
I have a concern about telling people to manually edit the /etc/sudoers file.  manual editing is taught as a bad practice.  Best practice is to use "visudo" to edit the sudo permissions.

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

ID: 5d631641-5f49-36ae-ecc5-7baf95f0506d
Version Independent ID: 7f4f39d2-41ed-8259-48e8-0879245dee92
Content: Create and upload a SUSE Linux VHD in Azure
Content Source: articles/virtual-machines/linux/suse-create-upload-vhd.md
Service: virtual-machines-linux
GitHub Login: @szarkos
Microsoft Alias: szark

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

The requirement to edit /etc/sudoers is not at all related to grub.  The issue is that SLES11 had a default sudoers configuration ("Defaults targetpw") that was incompatible with Azure in that it required users to enter the 'root' password to elevate privileges rather than their own password.  Since Azure does not set a root password then this configuration cannot work.
This parameter is part of the main sudoers configuration, not about assigning permissions to a user.  There is no other way to fix this other than to edit the configuration file, just like how most things are configured in Linux.

@szarkos Can you take a look at the additional feedback and let me know if this has been addressed so we can close the issue?

We are currently closing out long standing backlog in order to better determine which issues are still valid and which have been addressed. If you are still seeing a specific problem with this document please open a new issue so we can properly assign the feedback to the correct author and get it addressed ASAP.
#please-close


[Feature Request] Publish with no push option

Note: If your question is regarding the AWS Amplify Console service, please log it in the
AWS Amplify Console repository

Which Category is your question related to?
deployment
Amplify CLI Version
You can use amplify -v to check the amplify cli version on your system
amplify -v
4.51.3

What AWS Services are you utilizing?
Jenkins
Provide additional details e.g. code snippets
Is there a flag for amplify publish that will make it ignore the backend and only deploy the frontend?
I looked here but found nothing.
https://docs.amplify.aws/cli/usage/headless

Currently amplify publish does not support a no push option.
Marking this as a feature request.

--no-push makes sense, given that the CLI asks uses for interactive input Y/n if they want to push.
@SwaySway @renebrandel do you anticipate supporting a solution for non-interactive publish-only soon?

hi @cyrfer - what is your use case for publish without push? Don't you run into the risk of having your frontend and backend out of sync?

@renebrandel 2 uses,

I use granular steps when deploying so I can report which step causes an error.
As an optimization, when no changes are in the backend, I can skip backend steps and more quickly deploy the front end.


Public API for clients

This is not directly something related to the protocol, but should be implemented consistently across all clients. Therefore the issue in the meta repo.
How should we design the public API?
Right now, it works as follows in the Java version:
// create new instance
KeyStore permanentKey = new KeyStore();
SaltyRTC salty = new SaltyRTC(permanentKey, host, port, sslContext);
salty.connect()

// Wait until connected
salty.events.signalingStateChanged.register(new EventHandler<SignalingStateChangedEvent>() {
    @Override
    public boolean handle(SignalingStateChangedEvent event) {
        if (event.getState() == SignalingState.CONNECTED) {
            LOG.info("Connected!");
        }
    }
});

// Retrieve public permanent key and auth token
byte[] key = salty.getPublicPermanentKey();
byte[] token = salty.getAuthToken();

// Get current state
SignalingState state = salty.getSignalingState();

// Get current signaling channel
SignalingChannel channel = salty.getSignalingChannel();

// Send signaling data (e.g. offer, answer, ICE candidates)
salty.sendSignalingData(new Data("offer", "offer-string"));

// Wait for data (e.g. offer, answer, ICE candidates)
salty.events.data.register(new EventHandler<DataEvent>() {
    @Override
    public boolean handle(DataEvent event) {
        if (event.getData().getType() == "answer") {
            // handle
        }
    }
});

// Do handover
salty.handover(peerConnection);

Now the question is how to send user data. One approach is to wrap a data channel.
SecureDataChannel sc = salty.wrap(dataChannel);

The other approach would be to send data through the SaltyRTC instance.
salty.sendData(dataChannel, data);

I'd favor the second approach because it does not require wrapping (more code, more complexity, presence of encryption is not directly visible, more complexity decreases security). Otherwise users might mix up secure and non-secure data channels.
(Note that this does not yet consider the tasks system. But tasks need to be implementable outside of SaltyRTC, so it would not change much about the basics.)

I believe we should discuss what changes must be made to the API to support tasks first and then decide which way to follow. The result of this discussion should probably end up as a recommended API in the spec.

Another issue: Should we allow sending of strings through the wrapped data channel?
The current browser API supports sending of strings, blobs and arraybuffers. By simply encrypting and passing on data, we can handle arraybuffers, but not the other two. The problem is that we always encrypt bytes. If we encrypt multiple possible types, the receiver must know the type of the encoding.
I'm not sure how the DataChannel itself handles it, but we can't rely on that, as we always send encoded bytes. A workaround would be to prepend an encoding byte to the message before encrypting it.
Status quo: The user can only send binary data. That means that JSON must be manually encoded to UTF-8 on one side and decoded on the other side.
The other option would be to always use msgpack encoding instead of leaving the encoding up to the user. This way the user could also send simple objects directly through the data channel without worrying about encoding. (Note that this is not something that's supported by the data channel API.)
And a third option would be to offer both APIs: The regular secureDataChannel.send(data: ArrayBuffer) method and additionally a secureDataChannel.sendObject(data: object) method that would use msgpack.
I tend to stick to binary data only. Making it hard to send JSON is the biggest downside though.

The underlying SCTP protocol tells the data channels whether data is binary or string. That doesn't help us though as the data will always be binary.
For me it would be fine to tell the user that we only accept binary for now. I'd also be okay with a task that negotiates this (either binary only or a byte indicating which type is being used). But that's an improvement we can add to the specific task later on.

Let's close this, as the implementations are already done. If the need for API changes arises, we can still open tickets for that.


Patch for omnitrace-sample crash with HIP API.

Removed the unnecessary else.
I performed a squash merge and enabled signing.

I think that is because the main branch on my fork was behind the main branch on the omnitrace repo, so I had to merge this morning.


chore: bump packages to fix yearn sdk issues

Description
Partner to https://github.com/shapeshift/lib/pull/1076
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A
Risk
Small - reverts an existing bug.
Testing
When loading the DeFi page we should no longer get Yearn-related network errors.
Engineering
☝
Operations
☝
Screenshots (if applicable)
N/A

Already handled by https://github.com/shapeshift/web/pull/3145/


[feature]: Customizable Logger Filters for StackedLogger

Is your feature request related to a problem? Please describe.
The problem arises when trying to control log output in different environments using the StackedLogger class. Currently, there is no straightforward way to specify which logs are displayed in production versus development environments.
Describe the solution you would like
I propose adding functionality to the StackedLogger class that allows developers to specify a default log filter directly through the @StackedApp annotation. This would involve enhancing the logger setup to accept a filter parameter that determines which log messages are appropriate for different build variants or environments. For example:
@StackedApp(
  logger: StackedLogger(
    filter: MyCustomFilter(),
  ),
)

Additional Context
No response

This is a good improvement request.
We currently only have disableReleaseConsoleOutput: property on the logger, which will disable logs in release mode, but only to console output.
If you have a custom logger you're passing in you can internally determine what to log as a workaround.
But I agree, this should be easier.


tcp connection for failoverpartner

Why this 'server=tcp:server1;failoverpartner=server2' works,
and this 'server=tcp:server1;failoverpartner=tcp:server2' not working?
Error is 'lookup tcp:server2: no such host'

Looks like SQL Server not accept protocol prefix in the failoverpartner attribute. According to this documentation, the failoverpartner attribute only accept the name of the failover partner server. While the server attribute accepts the protocol prefix.


Minor comment update

Making a suggestion to try to avoid the confusing phrase 'less dense', which IMO implies the same amount of information.

We're discussing other ways of fixing this, as it seems like a bigger usability problem than originally thought :/


Initial commit

Desc:

Migrate dynamic pipeline code to golang

It is small golang program that would generate a simple pipeline.that defines that calls our trivy plugin when the dynamic pipeline is used.(a dynamic pipeline that takes in an intermediate format to generate a pipeline)

linter and program run output
Hari.Nadiminti@EUMBQTHV267VXT dynamic-buildkite-template % golangci-lint run --fix
WARN [linters_context] rowserrcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.
WARN [linters_context] wastedassign is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.
Hari.Nadiminti@EUMBQTHV267VXT dynamic-buildkite-template % go run main.go

steps:
- command: ls
  plugins:
    - equinixmetal-buildkite/trivy#v1.18.0
- label: ":sparkles: SHELL CHECK"
  plugins:
    - shellcheck#v1.3.0:
        files: script.sh
Hari.Nadiminti@EUMBQTHV267VXT dynamic-buildkite-template % go run main.go -h

Usage of dynamic-buildkite-template
This Program generates trivy step for the provided options
Options:
  -shellPlugin string
        provide shell plugin version (default "v1.3.0")
  -trivyPlugin string
        provide trivy plugin version (default "v1.18.0")
Hari.Nadiminti@EUMBQTHV267VXT dynamic-buildkite-template % go run main.go --shellPlugin="x.y.z" --trivyPlugin="a.b.c"

steps:
- command: ls
  plugins:
    - equinixmetal-buildkite/trivy#a.b.c
- label: ":sparkles: SHELL CHECK"
  plugins:
    - shellcheck#x.y.z:
        files: script.sh
Hari.Nadiminti@EUMBQTHV267VXT dynamic-buildkite-template % ```


[5.9][ConstraintSystem] Use fallback type constraint to default pack expansion

Cherry-pick of https://github.com/apple/swift/pull/66708

Explanation:

Binding of pack expansion types is delayed until solving but use of Defaultable
was preventing it from being considered early because that constraint impacts
binding set ranking, switching to FallbackType constraint give us better semantics
where pack expansion type variables are going to be bound as soon as they have
a contextual type.

Scope: Expressions with value pack expansions used inside of closures.

Main Branch PR: https://github.com/apple/swift/pull/66708

Risk: Very Low

Reviewed By: @hborla

Testing: Added regression test-cases to the suite.

Resolves: rdar://110819621
(cherry picked from commit c0d0908f25433a1f3c42daaff81b55b6c5773e24) (cherry picked from commit 4823bf29609d2fcbe80bf085d641ddbb8cf4fe11)

@swift-ci please test

@swift-ci please test Windows platform

@swift-ci please test Windows platform


Chain forks after voting out and voting in a block producer - slim

Problem
One block producer of 3 in a testnet forks.
Context
We are running a private testnet with 3 block producers, booting without problems , the producers synch and produce blocks with normality.
Steps to reproduce
1- boot a private testnet with slim branch
2- Vote for 3 BPs
3- After some time with 3 BPs producing blocks we vote out one of them
4- we wait for the change to take effect
5- with only 2 bps producing and no missing blocks, vote in the same producer you vote out
5- The chain forks

A few more details to reproduce this issue:

All nodes built at 8f2c4c6
The network runs stable as long as the three block producers are voted in.
When one node is voted out it stays in sync, but instantly forks when voted in again.

@yankunsam
we use
cleos system voteproducer prods voter init1 init2 -p voter

in what way did it fork... 2 and 1, 3 separate ways?

What was the error reported when the blocks were rejected?

We tried to reproduce the problem with the new master release (Latest commit 4f2931). And the problem seems to be fixed, The only  thing off was that  during the first cycle after the vote , one producer would produce 2 blocks instead of 12.


Meta issue: working group process retrospective

One piece of feedback that we received during the recent standard poll is

I’m in favor of ICRC-1 for the SNS, but I don’t believe the creation of a single token standard by way of a technical working group is the way to move forward.

In the scope of this issue, we shall discuss ways to improve the process of the working group to make it more efficient and enjoyable for all the parties.

We had a retrospective on 2022-08-09: https://github.com/dfinity/ICRC-1/blob/main/Charters.md#2022-08-09.


Add Kobo Deluxe

New Port for Kobo Deluxe
URL:  https://github.com/olofson/kobodeluxe
Kobo Deluxe
Instructions: All files are included and game is ready to play.
Notes: Thanks to David Olofson for this updated and enhance version of XKobo.
Tested on Jelos, ArkOS  and AmberELEC

Add the wiki entry please. :)

Add the wiki entry please. :)

Done.


feat: removing CountryDe field

Ref: CPLP-2795
Description
removing CountryDe fields in Registration Service and Administration Service
Why
removing the CountryDe fields for particular endpoints in registration service and administration service
Note : It is a dependent task with Frontend , so don't merge to dev until its completed
Issue
CPLP-2795
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

ready to merge - breaking change is considered on the FE side and all necessary changes are done


[ANCHOR-396] Use Gson for Kafka serialization/deserialization

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[x] This PR adds tests for the most critical parts of the new functionality or fixes.

What
This fixes the same thing that https://github.com/stellar/java-stellar-anchor-sdk/pull/1011 does but uses Gson instead of adding the missing JsonProperty annotations.
Why
I realized we can just use StringSerializer instead of JsonSerialization and manually serialize using Gson ourselves before sending it to Kafka.
Known limitations
N/A

Reference Server Preview is available here:https://anchor-ref-pr1049.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1049.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1049.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1049.previews.kube001.services.stellar-ops.com/

@JakeUrban Yes, previously this was handled by the JsonSerializer which uses Jackson, now we are serializing it ourselves using Gson. https://github.com/stellar/java-stellar-anchor-sdk/pull/1049/files#diff-a85a73ad30fde7513346fb3d1ac551b306b0b1935c9dfd5a67c01bdfb6c2f1c7L132

Reference Server Preview is available here:https://anchor-ref-pr1049.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1049.previews.kube001.services.stellar-ops.com/


Change size for circles

Is it possible to change the size of the circles? If so, how? I have an app where the circles are taking up too much space on some devices so that not all are visible on the screen, some are outside. I made the margin between them smaller and it worked on some devices, but on other devices they are still taking up too much space for the width of the screen.
These two parameters exist but are they for the circles only? And if so, what is PixelRatio? How do I change the width and height?
  width: PixelRatio.getPixelSizeForLayoutSize(6),
  height: PixelRatio.getPixelSizeForLayoutSize(6),

These two parameters are for the circles only. To get PixelRatio to work just import it from 'react-native'. Here is an example:
import {PixelRatio} from 'react-native'; ... <SwipeALot circleDefaultStyle={{width: PixelRatio.getPixelSizeForLayoutSize(3), height: PixelRatio.getPixelSizeForLayoutSize(3)}}>   <Text>Some Details</Text> </SwipeALot>

Yeah, figured this out a while ago, thanks anyway! I guess this issue could be closed now.


[Template] Upgrade min dependency for azure-core

https://github.com/Azure/azure-sdk-for-python/issues/24221

/check-enforcer override


App crashes when set video={true} on my android phone. urgent. please help anyone

What were you trying to do?
I am trying to record videos on my app on android phones
Reproduceable Code
<Camera
                ref={camera}
                style={{ height: '100%', width: '100%' }}
                device={type == 'front' ? devices.front : devices.back}
                isActive
                video={true}
                photo audio
              />

What happened instead?
App crashes with 'app keeps stopping'
Relevant log output
No response
Device
galaxy a03 core, android 11
VisionCamera Version
2.15.2
Additional information

[X] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Did you get the both, camera and microphone permissions?

const getCameraPermission = async action => {
setPermissions({ ...permissions, camera: false, audio: false })
const camPermission = await Camera.getCameraPermissionStatus()
const microphonePermission = await Camera.getMicrophonePermissionStatus()

let camera = false, audio = false

if (camPermission != "authorized") {
  const requestCam = await Camera.requestCameraPermission()

  camera = requestCam == "authorized"
} else {
  camera = true
}

if (microphonePermission != "authorized") {
  const requestAudio = await Camera.requestMicrophonePermission()

  audio = requestAudio == "authorized"
} else {
  audio = true
}

setPermissions({ ...permissions, camera, audio, action })

}
(devices.front && permissions.camera == true && permissions.audio == true) && (
<Camera
style={{ height: '100%', width: '100%' }}
ref={camera}
device={createPostbox.cameraType == 'front' ? devices.front : devices.back}
isActive={true}
photo={true}
video={true}
audio={true}
/>
)

I opened two terminal. One running 'npx react-native log-android' and one running the application. I don't see any logs. The only thing I see is the app closing whenever camera is about to open if I set video=true.

Run adb logcat in Terminal (or run the app through Android Studio)

Hi, this is what my logcat output:
FATAL EXCEPTION: main
Process: com.robogram.testapp, PID: 2849
java.lang.IllegalStateException: Surface was requested when the Recorder had encountered error androidx.camera.video.internal.ResourceCreationException: androidx.camera.video.internal.encoder.InvalidConfigException: Encoder cannot created: null
at androidx.camera.video.Recorder.onSurfaceRequested(Recorder.java:406)
at androidx.camera.video.VideoCapture.createPipeline(VideoCapture.java:416)
at androidx.camera.video.VideoCapture.resetPipeline(VideoCapture.java:482)
at androidx.camera.video.VideoCapture.lambda$createPipeline$0$androidx-camera-video-VideoCapture(VideoCapture.java:433)
at androidx.camera.video.VideoCapture$$ExternalSyntheticLambda0.onError(Unknown Source:10)
at androidx.camera.camera2.internal.Camera2CameraImpl.lambda$postSurfaceClosedError$14(Camera2CameraImpl.java:1175)
at androidx.camera.camera2.internal.Camera2CameraImpl$$ExternalSyntheticLambda7.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7815)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1094)

Hi, i followed this link and i fixed my problem.
I had to add these lines in "android/app/build.gradles" inside the "dependencies" script.
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
implementation "androidx.camera:camera-core:1.2.0-beta02"
implementation "androidx.camera:camera-camera2:1.2.0-beta02"
implementation "androidx.camera:camera-lifecycle:1.2.0-beta02"
implementation "androidx.camera:camera-video:1.2.0-beta02"
implementation "androidx.camera:camera-view:1.2.0-beta02"
implementation "androidx.camera:camera-extensions:1.2.0-beta02"
I thank you for your hard work on creating the 'react-native-vision-camera' package but I strongly suggest you update the package to include these updates so that others won't have the same problem.
Cheers:)

Possible duplicate of #907 (solution inside)


Fix #5 | allow something like "10-8"

Version 9.11 had issues when doing something like 80-81, this did not work correctly.
Also added simple logic to allow something like "10-8" instead of "-8" as I often double click and suddenly the input field is blank,

Just noticed there is still an error.

I'm sorry to keep you waiting, I appreciate the contribution with sign handling but the changes you made to removeMoney introduced some errors so I decided to keep my version of that function. On top of that I now ran into issues with the recursion so when I get around to fixing that I will push this and credit you in the changelog.

No problem you can just close this PR if you want to.
I noticed that with your branch doing something like
0 GP 20SP 0CP | -1GP
Would not work.
Also doing something like
1GP 80SP 0CP | - 90SP
would not work

Those are all related to the error I'm trying to figure out now. I will push your contribution and a fix for this as soon as I can.

Thanks for your work!

Ok, I pushed the update with your sign handling and my fixes for the subtraction. All of your examples and my own tests worked so hopefully no new bugs snuck in.


[Urgent] Let's Encrypt revocations affecting TLS certificates

All certificates issued in the last 90 days and validated with TLS-ALPN-01 challenge are affected. You need to (force) renew the certificate according to your ACME client’s directions.
See http://apachelounge.com/viewtopic.php?p=40901

From https://community.letsencrypt.org/t/changes-to-tls-alpn-01-challenge-validation/170427

Second, we no longer support the legacy <IP_ADDRESS>.<IP_ADDRESS>.30.1 OID which was used to identify the acmeIdentifier extension in earlier drafts of RFC 8737. We now only accept the standardized OID <IP_ADDRESS>.<IP_ADDRESS>.31. If your client uses the wrong OID when constructing the certificate used for the TLS-ALPN-01 handshake, it will break. Please either update your client, or switch to using a different validation method.

win-acme has used the standardized OID from the beginning, so renewing with any version 2.1.x is possible.


Please invite me to the GitHub Community Organization

Name
Estevamsl
Discord Username (if applicable)
No response
Additional Context
Because I want to stay on top of everything that goes on in this organization and of course, as a good dev, you have to know about the challenges of this incredible world of programming

Welcome to ChryzHub @Estevamsl 🎉🥳


Eliah Kagan: Watch eq-on.com.au

Eliah Kagan requests the watch of the watch_keyword eq-on\.com\.au. See the MS search here and the Stack Exchange search here.

eq-on\.com\.au has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Shree in Charcoal HQ


Enforce not following redirects

(note I have made this depend on my previous PR but can change it if necessary)

This change looks okay, but I cannot merge the previous change as I commented in the other issue.
Either we can hold this until we resolve the other one, or you can rebase this single commit to master.

From a mesos cluster in 0.22, I got the http:// prefix. On my more recent cluster (0.23) the prefix is gone.
I guess this is linked to work done for https://issues.apache.org/jira/browse/MESOS-1825 (support of https for the webui) since Location header not starting with a protocol should keep the protocol used before redirection.
I'll modify the patch to support both versions

I've just rebased to ignore my other patch so this one could be merged independantly.

@kamaradclimber Your PRs have been released as 0.2.4

great thanks


CLI: Safely Handle Parallel Operations

Currently, if you run 2 parallel instances of w3 test-env up, there will be 2 simultaneous channels of communication with the docker daemon which will cause "duplicate container" errors.
In order to solve this, I propose we have a locking system in place for commands that cannot be run in parallel. This locking system would:

Create a named lock file (ex: DOCKER_LOCK) when a sensitive operation is taking place.
All other commands that require the lock will have to wait for it to be available.
The lock file will be released when the command finishes its sensitive operations.

In the future, this could be implemented as a CLI command middleware: https://github.com/Web3-API/monorepo/issues/161