Add a super admin client builder w/ hosts params

Signed-off-by: bowenlan-amzn<EMAIL_ADDRESS>Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #322 (65281f8) into main (5fd25b0) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #322      +/-   ##
============================================
- Coverage     73.42%   73.29%   -0.13%
+ Complexity      698      696       -2
============================================
  Files           110      110
  Lines          4587     4595       +8
  Branches        606      606
============================================
  Hits           3368     3368
- Misses          968      976       +8
  Partials        251      251

Impacted Files
Coverage Δ

...ensearch/commons/rest/SecureRestClientBuilder.java
49.13% <0.00%> (-3.64%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


yslow-3.1.8 fails silently + hangs forever

This 404 links should return quickly with an error.
Instead, the request fails silently + hangs forever.
phantomjs yslow.js --info basic --format plain https://davidfavor.com/flarg.txt
This occurs on all requests, for good URLs or bad.

# phantomjs --version
2.5.0-development


Skipping because provider prefetch failed

Describe the Bug
After update puppet agent to 8.10.0 i have errors wit chocolatey provider (8.7.0 -  working)
Steps to Reproduce
Steps to reproduce the behavior:
in powershell or cmd running command
puppet agent -t
Environment

Version 8.10.0
Platform Windows 10 or 11

Output:
Debug: Prefetching windows resources for chocolateyfeature
Debug: Gathering features from 'C:\ProgramData\chocolatey\config\chocolatey.config'.
Error: Could not prefetch chocolateyfeature provider 'windows': Malformed XML: Content at the start of the document (got 'Γê⌐ΓòùΓöÉ')
Line: 1
Position: 47
Last 80 unconsumed characters:
<?xml version="1.0" encoding="utf-8"?>
Warning: /Stage[main]/Windows::Chocolatey/Chocolateyfeature[allowEmptyChecksums]: Skipping because provider prefetch failed
Debug: /Stage[main]/Windows::Chocolatey/Chocolateyfeature[allowEmptyChecksums]: Resource is being skipped, unscheduling all events
Debug: Prefetching windows resources for chocolateyconfig
Debug: Gathering sources from 'C:\ProgramData\chocolatey\config\chocolatey.config'.
Error: Could not prefetch chocolateyconfig provider 'windows': Malformed XML: Content at the start of the document (got 'Γê⌐ΓòùΓöÉ')
Line: 1
Position: 47
Last 80 unconsumed characters:
<?xml version="1.0" encoding="utf-8"?>
Warning: /Stage[main]/Windows::Chocolatey/Chocolateyconfig[cachelocation]: Skipping because provider prefetch failed
Debug: /Stage[main]/Windows::Chocolatey/Chocolateyconfig[cachelocation]: Resource is being skipped, unscheduling all events
Debug: Prefetching windows resources for chocolateysource
Debug: Gathering sources from 'C:\ProgramData\chocolatey\config\chocolatey.config'.
Line: 1
Position: 47
Last 80 unconsumed characters:
<?xml version="1.0" encoding="utf-8"?>
Warning: /Stage[main]/Windows::Chocolatey/Chocolateysource[chocolatey]: Skipping because provider prefetch failed
Debug: /Stage[main]/Windows::Chocolatey/Chocolateysource[chocolatey]: Resource is being skipped, unscheduling all events
Warning: /Stage[main]/Windows::Chocolatey/Chocolateysource[stable]: Skipping because provider prefetch failed
Debug: /Stage[main]/Windows::Chocolatey/Chocolateysource[stable]: Resource is being skipped, unscheduling all events
Warning: /Stage[main]/Windows::Chocolatey/Chocolateysource[testing]: Skipping because provider prefetch failed
Debug: /Stage[main]/Windows::Chocolatey/Chocolateysource[testing]: Resource is being skipped, unscheduling all events
Debug: Class[Windows::Chocolatey]: Resource is being skipped, unscheduling all events

Thank you for reporting this @andryua , I saw you also opened an issue in the Chocolatey module. We will chat with the modules team and see if we can determine where the issue lies.

Hi! Can you help me? I using chocolatey 0.15 or 1.31 not latest version. And one more - we configuring chocolatey by puppet and after update to 8.8.1 - puppet agent always rerewrited config.xml (chocolatey config file). now we using 8.7.0 - that version working ok.

if i update to chocolatey lates version - error still exist on puppet agent 8.10.0


python3Packages.graphviz: 0.17 -> 0.18

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 145595 run on x86_64-linux 1

13 packages marked as broken and skipped:

bareos
cwltool
pepper
python38Packages.dask-xgboost
python38Packages.optuna
python38Packages.schema-salad
python38Packages.tvdb_api
python39Packages.dask-xgboost
python39Packages.optuna
python39Packages.schema-salad
python39Packages.tvdb_api
tribler
tvnamer

6 packages failed to build and already failed to build on hydra master:

home-assistant: log was empty
ioccheck: log was empty
python38Packages.qiskit: log was empty
python38Packages.qiskit-aqua: log was empty
python39Packages.qiskit: log was empty
python39Packages.qiskit-aqua: log was empty

137 packages built:

apache-airflow (python39Packages.apache-airflow)
beets
beetsExternalPlugins.alternatives
beetsExternalPlugins.copyartifacts
beetsExternalPlugins.extrafiles
cmake-language-server
cryptop
flexget
lexicon
mnamer
mnemosyne
poetry2conda (python39Packages.poetry2conda)
python38Packages.WSME
python38Packages.aioeafm
python38Packages.aiogithubapi
python38Packages.aiomodernforms
python38Packages.amqtt
python38Packages.apache-airflow
python38Packages.aria2p
python38Packages.backoff
python38Packages.cachecontrol
python38Packages.catboost
python38Packages.censys
python38Packages.cherrypy
python38Packages.consonance
python38Packages.diagrams
python38Packages.dissononce
python38Packages.einops
python38Packages.geocachingapi
python38Packages.graphviz
python38Packages.hypothesis-auto
python38Packages.junos-eznc
python38Packages.mapbox
python38Packages.mxnet
python38Packages.myjwt
python38Packages.objgraph
python38Packages.poetry
python38Packages.poetry2conda
python38Packages.pyairnow
python38Packages.pyalgotrade
python38Packages.pyiqvia
python38Packages.pylxd
python38Packages.pyopenuv
python38Packages.pyprosegur
python38Packages.pysnow
python38Packages.pysychonaut
python38Packages.python-miio
python38Packages.pytm
python38Packages.qiskit-aer
python38Packages.qiskit-ibmq-provider
python38Packages.qiskit-ignis
python38Packages.qiskit-terra
python38Packages.questionary
python38Packages.requests-cache
python38Packages.retworkx
python38Packages.roombapy
python38Packages.scikit-bio
python38Packages.simplisafe-python
python38Packages.skidl
python38Packages.soco
python38Packages.streamz
python38Packages.teslajsonpy
python38Packages.toonapi
python38Packages.transitions
python38Packages.url-normalize
python38Packages.velbus-aio
python38Packages.versionfinder
python38Packages.wled
python38Packages.ws4py
python38Packages.xdot
python38Packages.xgboost
python38Packages.yalesmartalarmclient
python38Packages.yowsup
python39Packages.aioeafm
python39Packages.aiogithubapi
python39Packages.aiomodernforms
python39Packages.amqtt
python39Packages.aria2p
python39Packages.backoff
python39Packages.cachecontrol
python39Packages.catboost
python39Packages.censys
python39Packages.cherrypy
python39Packages.consonance
python39Packages.diagrams
python39Packages.dissononce
python39Packages.einops
python39Packages.geocachingapi
python39Packages.graphviz
python39Packages.hypothesis-auto
python39Packages.junos-eznc
python39Packages.mapbox
python39Packages.mxnet
python39Packages.myjwt
python39Packages.objgraph
python39Packages.poetry
python39Packages.pyairnow
python39Packages.pyalgotrade
python39Packages.pyiqvia
python39Packages.pylxd
python39Packages.pyopenuv
python39Packages.pyprosegur
python39Packages.pysnow
python39Packages.pysychonaut
python39Packages.python-miio
python39Packages.pytm
python39Packages.qiskit-aer
python39Packages.qiskit-ibmq-provider
python39Packages.qiskit-ignis
python39Packages.qiskit-terra
python39Packages.questionary
python39Packages.requests-cache
python39Packages.retworkx
python39Packages.roombapy
python39Packages.scikit-bio
python39Packages.simplisafe-python
python39Packages.skidl
python39Packages.soco
python39Packages.streamz
python39Packages.teslajsonpy
python39Packages.toonapi
python39Packages.transitions
python39Packages.url-normalize
python39Packages.velbus-aio
python39Packages.versionfinder
python39Packages.wled
python39Packages.ws4py
xdot (python39Packages.xdot)
python39Packages.xgboost
python39Packages.yalesmartalarmclient
python39Packages.yowsup
quark-engine
sabnzbd
sambaFull (samba4Full)
soco-cli
tebreak
theharvester


Code style

It's time for us to choose a code style of this library.
My proposition:
https://github.com/feross/standard
The convention above is called "feross/standard"
Widely spread, and in my opition, it's a good convention. However, I don't like some points of this style.
Check out the requirements: https://github.com/feross/standard/blob/master/RULES.md
We can just accept this style. Or we can discuss about it little bit more.
You may check the points with which I disagree:
https://github.com/huumanoid/xat-client/blob/master/.eslintrc.json
Please, tell me which rules you would prefer to alter.
Or may be you have your own offers? Please, share!

Interesting!
Since i'm not really curious about code style, i'll suggest you to use your method and maybe see later for a better one?
Same as my previous comment on your pull request, i'll take a look better after work.

Of course it's not urgent. We may leave it as is. Just keep in mind.


Change size gallery

Hi Dear, and tank you for this Extension useful,
I have a question : How Can I Change Width and height Gallery slide show?
I have a div with width:600px and height : 400px; I put the code in there, but it is much larger than 600x400 :(.
Plz guide me !!

In .blueimp-gallery.min.css change .blueimp-gallery-carousel{.... padding-bottom

About to refactor the library to be part of http://yiiwheels.com sorry if i take time to respond as to refactor all our extensions is quite a lot of work

I think your question can be answered here: https://github.com/blueimp/Gallery#container-and-element-options


child chart requirements.yaml alias not respected by parent when processing values.yaml

I'm trying to create an umbrella chart that includes subcharts.  One of the subcharts is using requirements.yaml with an alias, i.e.
dependencies:
- name: nginx-ingress
  version: 0.22.1
  repository: https://kubernetes-charts.storage.googleapis.com
  alias: mynginx

The subchart is using this alias within its values.yaml, i.e.:
mynginx:
  controller:
    ingressClass: mynginx

This works as expected at runtime.  Running helm template subchart.tgz --debug:
COMPUTED VALUES:
dvnginx:
  controller:
    ingressClass: dv-nginx

The umbrella chart build is putting the above prepackage tgz into charts/.  But when I run  helm template umbrella --debug I get:
COMPUTED VALUES:
umbrella:
  mynginx:
    controller:
      ingressClass: dv-nginx
  nginx-ingress:
    controller:
		...
      ingressClass: nginx

This breaks at runtime (the above example has more overrides that the child is making to ingress-nginx for private purposes).
The umbrella chart is not using requirements.yaml.
Is this a bug, where the aliasing is not preserved through the additional layer of nesting, or do I need to do more at umbrella level to use the child chart correctly?
Output of helm version:
Client: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}

Maybe related to https://github.com/kubernetes/helm/issues/3734 ?

Closing due to inactivity. Please open a new ticket against Helm 3 if this issue persists. Thanks!


removed all nunit bits from sample specs

Amir,
I'm just cleaning up all my stale branches. These changes remove all dependency on nunit in our sample specs project. This paves the way for removing all nunit deps, which paves the way for cleaner tdd.net implementation. The presence of the nunit dll in nspec projects is causing problems with tdd.net invoking the correct runner.
I think I've accounted for the only oddity in that debuggershim can no longer live in sample specs. So I've moved it to NSpecSPecs and updated what I believe is the only reference in nspec.nuspec. If you are cool with these changes, please merge them. Otherwise, let me know what you think.

done :-)


feat: implement UserData for all major structs

What it says on the tin: this PR adds a lua feature flag and implements UserData for all major data types in the codebase. This will be complemented by a second PR that adds a rocks-lua module, allowing rocks to be packaged and used directly in any Lua application.
Notes: we could implement __tostring methods for all these types later down the road, making debugging them easier. What do we think?

I'll go through clippy's complaints and fix them up :+1:


JFXTabPane set Side not working

Trying to change the Side of JFXTabPane is not working for some reason :)
https://github.com/jfoenixadmin/JFoenix/issues/30 Will this be fixed?
Code:
import com.jfoenix.controls.JFXTabPane;

import javafx.application.Application;
import javafx.geometry.Side;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

public class MyApp extends Application {

    /**Main Method
     * @param args
     */
    public static void main(String args[]) {
	launch(args);
    }

    public void start(Stage primaryStage) {

	JFXTabPane tabPane = new JFXTabPane();
	//Here trying to set the side
	tabPane.setSide(Side.LEFT);

	for(int i=0; i<4; i++)
	    tabPane.getTabs().add(new Tab("Tab "+i,new Label("Imagicon")));

	primaryStage.setScene(new Scene(new BorderPane(tabPane),400,400));
	primaryStage.show();
    }
}

One more question :)
How to change the style of JFXTabPane ? I am trying using
.jfx-tab-pane .tab-header-area .tab-header-background {
/-fx-opacity: 0.0;/
-fx-background-color:linear-gradient(#38424b 0.0%, #1f2429 20.0%, #191d22 100.0%);
}
.jfx-tab-pane .tab .tab-label {
-fx-alignment: CENTER;
-fx-text-fill: white;
-fx-font-size: 12.0px; /* before it was 12px */
-fx-font-weight: bold;
-fx-wrap-text: true;
-fx-cursor:hand;
}
but nothing happens ...

Hello,
JFXTabPane  nly support the TOP side for now, it will be reworked soon. in the meantime, feel free to add your own contribution to JFoenix.
Regards,

Thanks for reply:)
2017-04-04 9:45 GMT+03:00 JFoeniX<EMAIL_ADDRESS>
Hello,
JFXTabPane nly support the TOP side for now, it will be reworked soon. in
the meantime, feel free to add your own contribution to JFoenix.
Regards,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jfoenixadmin/JFoenix/issues/288#issuecomment-291408884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATbiwBl6eVZyiaNpJRnA2CGlznvVmx0jks5rsecigaJpZM4MwLUs
.

JFXTabPane doesn't work in MacOS using JDK121. When I click on any one of a tab, it freezes up.
Surprisingly, after I replace JFXTabPane with the plain vanilla JavaFX's TabPane, it also freezes up on me in MacOS.
In Linux or Windows, I never run into the same problem.

Hello,
we updated JFXTabPane, now it supports the side property. you can test using the latest JFoenix jar.
please note that it's not pushed to maven central yet, it will be by the end of the month.
Regards,

I will definitely test it :) !  👍
On Mon, 10 Apr 2017, 18:05 JFoeniX<EMAIL_ADDRESS>wrote:

Closed #288 https://github.com/jfoenixadmin/JFoenix/issues/288.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jfoenixadmin/JFoenix/issues/288#event-1036640668, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATbiwC9qMT1LYrG_KQ7qeP9MhXGXuSaCks5rukU5gaJpZM4MwLUs
.


[WIP, perf] Exploration changes for performance of AvaloniaObject SetAndRaise method

What does the pull request do?

Starts performance exploration for AvaloniaObject.SetAndRaise. I wish for this to start discussion about potential design changes, etc.
What is the current behavior?

As many people noticed this method is quite heavy on the performance and can appear as hot spot in some benchmarks as well. I decided to run some simple benchmark to see what is the performance.
You can see it in the code but in a nutshell - create new AvaloniaObject and set it's property 100 times.

Method
Mean
Error
StdDev
Ratio
Gen 0/1k Op
Gen 1/1k Op
Gen 2/1k Op
Allocated Memory/Op

SetAndRaiseOriginal
27.21 us
0.1279 us
0.1196 us
1.00
69.8853
-
-
53.68 KB

SetAndRaise
16.04 us
0.0735 us
0.0688 us
0.59
58.6853
-
-
45.09 KB

SetAndRaiseFast
10.00 us
0.0489 us
0.0458 us
0.37
16.9830
-
-
13.05 KB

SetAndRaiseStyled
29.52 us
0.0897 us
0.0749 us
1.08
36.1023
-
-
27.75 KB

So not only this method takes quite some time (and SetAndRaise is called quite a lot in framework), but it allocates over 50KB to set 100 integers. For the reference using a regular CLR integer property takes around 200 ns. I also added a comparison with StyledProperty later, to find out that it is almost as fast as DirectProperty and uses less memory :)
What is the updated/expected behavior with this PR?

Run DirectPropertyBenchmark from Avalonia.Benchmarks project.
How was the solution implemented (if it's not obvious)?

First I did the "easy" change by avoiding extra lambda allocation in SetAndRaise that just called other variant that had a bit different signature. Since the method that does not take setterCallback is used almost anywhere and the version that takes it is used in 2 places I deemed that it makes more sense to just call underlying Setter.SetAndNotify implementation in this case. This improved perf a tiny bit and got rid of few KBs of allocations.
Next step was the DeferredSetter.SetAndNotify, which suffered due to non-cached dictionary lookup for the matching SettingStatus of the property. By essentially manually inlining all logic into that function it is enough to do one lookup, and then create new instance on demand if necessary.
This approach is named SetAndRaise in the benchmark. Approach currently in the codebase is called SetAndRaiseOriginal.
But after looking at that code further I realized that it can be optimized even further for the simple case (which is extremely common).
New approach is called SetAndRaiseFast and it manages to get rid of most of the allocations (I think only two boxing allocations for value and backing still happen there on regular basis). I am still not entirely sure I got this right as the original code got so many layers of callbacks that it was hard to tell what it tried to achieve. Unit tests pass and everything seems to work if I replace the implementation.
Obviously it would be nice to eliminate most of the allocations there, but this might be quite hard as a lot of code around relies on object  and plenty of boxing/unboxing happens around there.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

cc: @grokys @jkoritzinsky

The updates look good to me! I'd say if we need to have two versions because of usage differences (with one being a fast path) then that's ok. When I wrote this, I was just glad I was able to construct a state machine that did the right thing. I didn't really focus on performance at the time. Once this is marked "Ready for review" then I'll take another pass.

@jkoritzinsky I did a bit more aggressive changes now, this increased perf again, and for simple case of 1 direct property it is 4 times faster than current implementation. It also allocates 5 times less and triggers less GC. I think general memory footprint should stay almost the same, not sure if that matters that much for this, as it allows to save quite some memory bandwidth during runtime.

I will rework this to remove SetAndRaise that take a callback.

@jkoritzinsky Please take a look when you have a moment. Since @grokys removed a need for SetAndRaise taking a callback I was able to streamline that code even further. Now performance of our direct property fast path is quite close to just setting that value directly and raising manually (simple case in benchmarks).
I still kept old implementation for comparison and benchmark reasons, but if we are happy with this implementation I will remove old one.

Oh, it still seems we use callback overload in PriorityValue.UpdateValue. Will take a look what I can do there.

In the end I had to bring back support for callbacks in DeferredSetter, but I decided to give it completely separate path, as I don't want to regress direct properties perf.
Still, I guess I also reduced memory footprint and perf of non-direct properties by caching callbacks and reducing callback nesting.
I didn't benchmark non-direct properties, as I don't have a setup for it.

@grokys @jkoritzinsky Removed old implementation and fixed usage in PriorityValue - all tests are green now as well.


The method setNode(String) is undefined for the type EntityCapabilitiesManager

Broken in 0.9

Yes, sorry, it moved to ClientEntityCapabilities1Protocol, because I abstracted XEP-115 and XEP-390.
EntityCapabilitiesManager is now an interface which manages both protocols (the implementation of it, ClientEntityCapabilitiesManager).
Because you cannot set a 'node' in XEP-390 (it is computed), the setNode got removed.
Try this:
xmppClient.getManager(ClientEntityCapabilities1Protocol.class).setNode("mynode");

Yes, works as expected, thanks

You are fast ;-)


Black screen since Chrome OS update (XFCE 14.04)

name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9000.82.0 (Official Build) stable-channel edgar
kernel: Linux localhost 3.18.0-13527-gc2f2230 #1 SMP PREEMPT Wed Feb 1 15:01:31 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

Please describe your issue:
Since my CB3-431 updated to the new version of chromeos, using the startxfce4 command has resulted in a black screen, with no response at all. Having to force restart.
I have update all software in the chroot and also updated the chroot using the crouton script.

@Benjadahl,
See https://github.com/dnschneid/crouton/issues/3057#issuecomment-279196855
And please use the search feature on this site to look for your issue before posting.
Hope this helps,
-DennisL


On-connect issue

When I am attaching the OTG  camera device I am not able to see the output of that camera and I have to do 2 things to see the output

Restart the app
Select a resolution

and I want to get rid of this problem
I want that as I attach the device the output will show on my screen.

I can't reduce this question.

I have resolved the second problem "Select the resolution" but I am stuck in the first one  "Restarting the app".
I think it not a good UX that user have to re-start the app after granting the permission.
I just want to resolve this issue. I just want to show the preview immediately when a user grant the permission.
I tried it but it is not working. Please let me show you the code.
` @Override
public void onAttachDev(UsbDevice device) {
// request open permission
if (!isRequest) {
isRequest = true;
if (mCameraHelper != null) {
mCameraHelper.requestPermission(0);
isPreview = true;
onConnectDev(device, true);
}
}
}
@Override
public void onConnectDev(UsbDevice device, boolean isConnected) {
handleDeviceConnection(device, isConnected);
}
    private void handleDeviceConnection(UsbDevice device, boolean isConnected) {
        if (!isConnected) {
            showShortMsg("fail to connect,please check resolution params");
            isPreview = false;
        } else {
            mCameraHelper.startPreview(mUVCCameraView);
            isPreview = true;
            showShortMsg("connecting");
            // initialize seekbar
            // need to wait UVCCamera initialize over
            new Thread(new Runnable() {
                @Override
                public void run() {
                    try {
                        Thread.sleep(2500);
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                    Looper.prepare();
                    mCameraHelper.updateResolution(1280, 960);
                    if(mCameraHelper != null && mCameraHelper.isCameraOpened()) {
                        mSeekBrightness.setProgress(mCameraHelper.getModelValue(UVCCameraHelper.MODE_BRIGHTNESS));
                        mSeekContrast.setProgress(mCameraHelper.getModelValue(UVCCameraHelper.MODE_CONTRAST));
                    }
                    Looper.loop();
                }
            }).start();
        }
    }

`

please help me out it is really important. I just want to show the preview immediately when a user grants permission.
I tried it but it is not working.

please help me out it is really important. I just want to show the preview immediately when a user grants permission. I tried it but it is not working.

I really don't know how to position the problem,
I think you can check the initiate route?

Good news! You can modify the USBMonitor.java(178), like this:
//Build.VERSION.SDK_INT <= 30 ? 0 : PendingIntent.FLAG_IMMUTABLE);
0);


correctly encodes special characters in the href option

Fixes #11
Encoding both single quotes and ampercent special characters as mentioned by op.
Created bitbar plugin and tested the functionality.
Took some inspiration from pull request #16.

IssueHunt Summary

IssueHunt has been backed by the following sponsors. Become a sponsor

How about double-quotes?

I closed this PR in favor of #19 as Image was deleted somehow in this PR. Let's continue discussion there.


chore: remove verify-api pre-push hook

Description of changes
Removes api extract pre-push hook
Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #11799 (7b45a89) into dev (984c0f8) will increase coverage by 0.69%.
The diff coverage is 57.52%.

@@            Coverage Diff             @@
##              dev   #11799      +/-   ##
==========================================
+ Coverage   49.45%   50.14%   +0.69%
==========================================
  Files         692      707      +15
  Lines       33424    34284     +860
  Branches     6840     7062     +222
==========================================
+ Hits        16529    17191     +662
- Misses      15370    15592     +222
+ Partials     1525     1501      -24

Impacted Files
Coverage Δ

...y-appsync-simulator/src/resolvers/unit-resolver.ts
90.32% <0.00%> (ø)

...ages/amplify-appsync-simulator/src/schema/index.ts
70.68% <0.00%> (-1.25%)
:arrow_down:

...tor/src/velocity/util/transform/dynamodb-filter.ts
4.93% <0.00%> (ø)

...ync-simulator/src/velocity/util/transform/index.ts
21.05% <0.00%> (ø)

...c/provider-utils/awscloudformation/import/index.ts
31.02% <ø> (ø)

...vice-walkthrough-types/cognito-user-input-types.ts
100.00% <ø> (ø)

...wscloudformation/utils/auth-sms-workflow-helper.ts
43.75% <0.00%> (ø)

...ges/amplify-category-custom/src/commands/custom.ts
0.00% <0.00%> (ø)

...ion/service-walkthroughs/lambdaLayerWalkthrough.ts
11.21% <0.00%> (ø)

...mation/service-walkthroughs/scheduleWalkthrough.ts
16.49% <0.00%> (ø)

... and 221 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


scalar literals

We also want to have exponential scalar literals with the e keyword.
scalar x = 2.54e-10 etc.
Would this require any changes to the scanner?

Yes, gonna add that in after scanner. But we first have to see what the float_from_string_literal Function can handle

Was this ever tested?

no


Package install

This PR addresses the issue #135 - Packaging of third party dependencies.
Implemented a way to install dependencies using bower. In the file node.js if browser is detected then all the dependencies are injected in the head of the page where ermrest.js is included.
You can have a look at the network tab of this page to determine whether the scripts markdown-it.min.js, markdown-it-sup.min.js and markdown-it-sub.min.js are loaded or not.
I need to come up with a way of accepting different value for the ermrestjs path variable.

@robes can you take a look at this?

This looks fine to me. Unless anyone else object, you can merge it on Monday.

@hongsudt thanks for the nudge.
@chiragsanghvi great job with this!
side note... for the record, I feel slightly uneasy about dynamically pulling in scripts, but I have a feeling this is the "right" way to do it in javascript.
Go ahead and merge it anytime.

As it turns out, on further inspection, this PR breaks the makefile and it seems inconsistent with the inclusion of dependencies (bower or not bower).
I've tried to make the make install work without pulling in any node dependencies. We should consult with people doing devops before we change that, because pulling in the node deps pulls in a lot of stuff. We could relax that requirement if we like.

@robes What is the issue in the makefile. It runs fine on my machine and TRAVIS as well.
Apart from that the make install command has a dependency on $(BIN) which is dependent on $(MODULES)  to build the package  which requires to install the node dependencies. If we don't do this we won't be able to package ermrest.js.
If this is wrong, can you suggest me what would be the right way to avoid installing node deps on.


feat: Upgrade version of pydantic?

I'm trying to use the opentrons python package and strawberry in the same project, and I'm running into an issue where strawberry requires pydantic at version 1.6.1 or higher. Opentrons pins it to 1.4. How difficult would it be to bump that version?
Thanks!
(I'm also looking into getting strawberry to play nice with an older version of pydantic, as pydantic is an optional package for strawberry.)

Hey @danwinkler, we've been exploring this ourselves! For a period of time (>1.4, <= 1.6) we were unable to upgrade Pydantic due to lack of TypedDict support. Since then, I think Pydantic may have added this support, and we have reduced our reliance on TypeDict.
I'll update this post if we do any reasearch, and feel free to add any of your own if you have it! For reference, corresponding ticket in the OS repository: Opentrons/buildroot#107

Labeling this cpx so it shows up ini the CPX squad's backlog, but this isn't exclusively a CPX thing; anyone should feel free to work on it, I think.

Research update: after we get #8228 and Opentrons/buildroot#131 in, it looks like we have a pretty clear path on this upgrade. We can bundle a FastAPI and Pydantic upgrade, with the following notes:

Newer version of FastAPI errors if the OpenAPI Spec that it generates is invalid (good!)
Newer versions of Pydantic + FastAPI actually behave with string enums in various places (good!)
Our generated OpenAPI Spec is currently invalid, and upgrading causes those errors to be surfaced (bad!)

The source of the error is that the JSONSchema output by Pydantic for Tuple[float, float] (for example) is not valid OAS, even though it's valid JSONSchema. We can switch these to dataclasss with named members, which is probably a good idea on its own, and it's not an overwhelming diff. Once that change is made, upgrading Pydantic and FastAPI appears to be unblocked

We just barely missed the cutoff of the upcoming 4.6 release, so this upgrade will be in 4.7


Fix/date format issues

This fixes a couple of issues with date formatting.
First of the fixes is regarding the date navigation that currently displays e.g. in Finnish "Marraskuuta 2016" which in English means something similar to "Day of November 2016". This format would be more suitable in case we are displaying the day in front of the month name as in "1. marraskuuta 2016". Without the day it just feels incorrect.
The other fix is for the custom page title in the Page List block in case the date filter is enabled. It wasn't properly translated before.

I'd appreciate @mlocati you checking this in case you notice any possible problems regarding these changes.

@ahukkanen No problems at all, it seems to me it's a required change


Add filtering support for policy table

Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>Related Issue: https://github.com/open-cluster-management/backlog/issues/14674
Description of changes: add filtering to policy table

/cc @zlayne

/retest

/cc @jamestalton

/cc @KevinFCormier


[do not merge] Rename secret_key_base to secret_token to match v1 naming

This change makes it so that v1 and v2 use the same naming
for the session token, which is more consistent.
Worked on by @Rosa-Fox, @brenetic, @tuzz
Related: https://github.gds/gds/deployment/pull/995

It would be good to update the commit message and comment in the manifest. secret_key_base is the value expected to be used for rails 4.x apps and secret_token is the value used for rails 3.x apps.  The reason we're using secret_token is to allow this rails 4.x app to share signed cookies with the rails 3.x app it is replacing.  So it's not just about naming consistency.

Oh, actually, above I mean 4.1+ where I've said 4.x and 3.x - 4.0.x where I've said 3.x above.  Rails versions are hard.

We've updated our commit message and added a comment line. Please could you take a look @h-lame?

👍 future code spelunkers will thank you!


Added support for federated authentication to enable Azure AD authentication

This is a pull request to add support for the federated authentication and security token library login options. Federated authentication is used for Active Directory logins in Azure, particularly for user/password and managed identity logins, while the security token library handles AD application (service principal) authentication with client secrets or client certificates.
The PR includes a Terraform environment setup that provisions a VM and Azure SQL server with the appropriate role grants to verify that managed identity login is working, which is necessary to execute the full suite of tests. Tests that rely on Azure VM infrastructure are disabled if the environment settings do not provide the right DSN, to avoid impact to existing testing.
Aims to address several scenarios for #446.

Hi @kardianos and @paulmey! I pushed an update to the branch to rebase and merge with the PR #546 from @paulmey.
I have tried to incorporate the requests above in terms of restructuring code flow and moving the ADAL code to a separate package. There are some drawbacks to this - even though it's possible to just switch the import to re-enable the ADAL authentication, it seems clumsy, and I can no longer run the existing test suite in the top-level package against an Azure SQL database authenticated via Active Directory.
As this PR adds support for the ADAL workflow where the server provides the resource and STS URL, there needs to be a different function signature for providing tokens that accepts these, plus I think the context ought to be passed in to the existing access token connector. Since there was already an option to provide a custom Dialer in the existing Connector structure, I moved the security token and Active Directory providers there.
Please let me know what you think of the revised code and approach - particularly whether it is okay to have the package separation as proposed here.

@wrosenuance Thank you for the updates. There are a number of changes going on and it will take me a few days to review. Thank you for being patient with me and my requests so far.

@kardianos, did you get a chance to review this yet? Please let me know if there is any way to help!

Hi, anyone is still working on this?

@serbrech I am still using my branch in my day job, I'm still waiting for a review for this. @kardianos - is this something you can pick up again?

Sorry for the delay. This year has been a blast. I've stared this change, will try get to it.

if it's easier, could we reduce the scope of the PR to add the different options one by one?
for example, I'm only interesting in the MSI one. Happy to help land it if needed.

I'm not sure it gets much easier: the main protocol changes are required either way, the exact method for obtaining credentials is a little more removed from the core of the change.

Hello @wrosenuance - thanks for the great work on this. We have a use case where the changes enabled by this PR would greatly simplify the handling of Managed Identity (MSI) based authentication for the Telegraf sqlserver plugin. Do you have any plans to address the open comments? Is there anything I can do to help?

Hello @wrosenuance - thanks for the great work on this. We have a use case where the changes enabled by this PR would greatly simplify the handling of Managed Identity (MSI) based authentication for the Telegraf sqlserver plugin

Awesome!!

Do you have any plans to address the open comments? Is there anything I can do to help?

I have been waiting for @kardianos to take a look - after his initial review I made some changes but I have been holding off making many more as I'm waiting to get an indication of a path to merging this. For instance, if it made sense to split this up, it might have have a big effect on the way the PR proceeds.

Oh! I see some recent changes from @denisenkom have introduced conflicts so I should also adapt the PR to match. 😅

Hi @denisenkom and @kardianos, I rebased this PR to work again after the recent commits from @denisenkom and added some more test cases to increase the coverage. Could you please review and let me know if anything else is needed for this to be merged?

@wrosenuance Thank you for doing this. I just went through this an initial time in this form.
This change is large. Would it be possible for you to open a new PR with changes just to the mssql package, with as few changes as possible to existing code?

Thanks @kardianos! I will split it into a few PRs and link them here. I am thinking I can make the following large chunks:

add the connection logger code that is used to dump the packet-level activity
add the new token types and structure definitions - I think these can exist before being used
add the main functional changes to the mssql package
add the ADAL token routines from the azuread package
add the documentation

Please let me know if that doesn't work!

If you could start with just the changes to mssql package, both tokens and function changes, that would be great.

I think we should revise this plan a bit and move to 	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
It provides a broad set of credential types with little extra code needed in the driver.
Here's a piece of code from an app I'm building which uses azidentity on top of go-mssqldb
The big missing piece for me is the lack of server-provided tenant and resource url.
Also, we need to support an application-provided client id.

func (s *Sqlcmd) GetTokenBasedConnection(connstr string, user string, password string) (driver.Connector, error) {
	var cred azcore.TokenCredential
	var err error
	scope := ".default"
	t := azureTenantId()
	switch s.Connect.AuthenticationMethod {
	case ActiveDirectoryDefault:
		cred, err = azidentity.NewDefaultAzureCredential(nil)
	case ActiveDirectoryInteractive:
		cred, err = azidentity.NewInteractiveBrowserCredential(&azidentity.InteractiveBrowserCredentialOptions{TenantID: t, ClientID: getSqlClientId()})
// this scope may not be needed
		scope = "user_impersonation"
	case ActiveDirectoryPassword:
		cred, err = azidentity.NewUsernamePasswordCredential(t, getSqlClientId(), user, password, nil)
	case ActiveDirectoryManagedIdentity:
		cred, err = azidentity.NewManagedIdentityCredential(user, nil)
	case ActiveDirectoryServicePrincipal:
		cred, err = azidentity.NewClientSecretCredential(t, user, password, nil)
	default:
		// no implementation of AAD Integrated yet
		cred, err = azidentity.NewDefaultAzureCredential(nil)
	}

	if err != nil {
		return nil, err
	}
	resourceUrl := s.getResourceUrl()
	conn, err := mssql.NewAccessTokenConnector(connstr, func() (string, error) {
		opts := policy.TokenRequestOptions{Scopes: []string{resourceUrl + scope}}
		tk, err := cred.GetToken(context.Background(), opts)
		if err != nil {
			return "", err
		}
		return tk.Token, err
	})

	return conn, err
}


WIP: bsc#1046663: added indicator when user accepts node

After user accepts one or more nodes, 'Accept Node' link
is replaced by 'Acceptance in progress' text. The specific
minion is marked in sessionStorage and even if the user
refreshes the page, the 'Accept Node' won't appear until
it gets accepted.
None accepted

Partially accepted

All accepted

It works as explained. Something I noticed (and then in your screenshots as well), is that when you accept a node, the column somehow changes: it gets shifted to the left 😕 (I guess that's why it's marked as WIP 😉)

It wasn't because of that but I'll fix that since you came up with. I wanted to review the code by myself before letting others review.

One thing to consider is... I'm using sessionStorage so the Acceptance in progress label will remain over refreshes/restores of that specific tab. If user opens a new tab, Accept Node and Accept all nodes will be available. Is that okay?
To be honest, this is more like a workaround since there's no in progressstate coming from the api. Since we are still unsure about how to fetch these kind of data, I guess we are fine for now. Also, I didn't consider localStorage because there might be an error while accepting a node and that would block the user from trying to accept a node again.

Also, the changes seems to be bigger compared to yesterday's code because I've decided to break the .accept-minion callback in smaller pieces to become easier to be reviewed by other people and further refactoring.

One thing to consider is... I'm using sessionStorage so the Acceptance in progress label will remain over refreshes/restores of that specific tab. If user opens a new tab, Accept Node and Accept all nodes will be available. Is that okay?

I think so. This is something that we can re-visit once we change how we handle this.

will test and merge in 10 min.

tested and LGTM: fixes: https://github.com/kubic-project/velum/issues/228


Conflict with AzuAreaRepair

Ran into a potential conflict with AzuAreaRepair --

Pick up a connected structure using Building Pipette tool
Put away hammer (somehow this step causes an error, if the hammer isn't put away it doesn't cause an error for me)
When trying to place any next piece, the hammer seems to break and throws this error:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
WearNTear.Awake () (at :0)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
Player:DMDPlayer::PlacePiece(Player, Piece)
Player:DMDPlayer::UpdatePlacement(Player, Boolean, Single)
Player:DMDPlayer::Update(Player)

I tried this but couldn't get the issue happen. Are the mods on latest versions?

Oh hmm, I must be missing something! Mods are on the latest version. I just created a new profile in R2ModMan with just these mods and ran into the same error:
BepinEx
Server_devcommands
World_edit_commands
Infinity_Hammer
Infinity_Tools
AzuAreaRepair
Here is a video of the steps -- looks like I may have forgotten the step of placing the connected piece first. Once that is done, the next pieces place visually, but do not work right. They do not have snap points and disappear when reloading the world. Kept accidentally running into this error when moving around some blueprints. Thanks for looking at this!
https://github.com/JereKuusela/valheim-infinity_tools/assets/82234381/0e3c97c9-b65e-423f-9b2d-8843f35b3bdb


react-sketchapp support less or css?

I'm try to import css or less in react-sketchapp, but my sketch crashed when I run npm run render. If react-sketchapp support css or less? or just support css style in js file?

I tried to find the way. But all examples write style in js file.

just like React-native, react-sketchapp doesn't support css


Image objects data unpacking failed

For some search terms I get an odd error
Evaluating...
list index out of range
Image objects data unpacking failed. Please leave a comment with the above error at https://github.com/hardikvasa/google-images-download/pull/298

I think (not too sure) it happens when the results page says "Showing results for ____" and "Search instead for _____".
Google does this for example when the search terms include a badly misspelled or colloquially used non-standard word.
When I modify the same search term to use only standard words so Google no longer does this ^^ the error also disappears.

Slightly different error : "Evaluating...
str() takes at most 1 argument (2 given)
Image objects data unpacking failed. Please leave a comment with the above error at https://github.com/hardikvasa/google-images-download/pull/298"

Thank you, for notifying me. I will look into the cause of both issues, and will get back with a fix as soon as possible.

FWIW, I'm getting the same error when I run python google_images_download.py --keywords "flashlight" --format "jpg" --limit 50
If i use python3, I receive an error "Could not open URL. Please check your internet connection and/or ssl settings
If you are using proxy, make sure your proxy settings is configured correctly"

Thank you, for notifying me.
I tried google image search with misspelt queries and I could not reproduce the issue.
Could you please provide the full code/command you used with google_images_download so I can test it myself.

Good comment.
I looked into this a bit further. And the issue is slightly deeper, and not related to the program. The problematic search terms actually lead to 0 results via some google national pages and they show some results other national pages. E.g. in google.co.uk, .com and .co.in, a search term has some results. But in google.nl and .fr it has no results.
So the confusion was due to me being in one location and downloading on a server in another location. And not realizing that testing in one location doesn't reflect the results from another location. I know ofc that the results will be different but not SO different that some location shows 0 results for the same term.


Remove duplicate eQTL catalogue lines

The eQTL catalogue has duplicated lines, with identical data apart from having a different rsid, which we don’t use anyway. As a result, the fine-mapping pipeline produces duplicate top_loci entries. This is about 5% of the total.
I am implementing a fix that removes duplicate top_loci lines when the files from separate studies are merged together. However, in the future we should remove duplicate lines when ingesting the eQTL catalogue sumstats, so that we avoid any future issues.

This is done. The best solution is to simply remove the "rsid" column from the raw files, and remove duplicates in unix (sort | uniq), prior to ingesting.


Add suggested fix in frontend

Our frontend currently shows the vulnerabilities a package is vulnerable to and is safe to. This data is important but not very much consumable by an end user. We should provide a suggested fix saying "Upgrade to "

@Hritik14 so we need to change "safe to" to "Upgrade to"?

@Lawful2002 not change but we should mention that which nearest package is safe to the "vulnerable to" vulnerabilities for the upgrade.

The naming of cats is a difficult matter!
As it stands we have not yet settled on a correct set of names. As I read https://github.com/CVEProject/cve-schema/issues/87  there are references to "affected", "unaffected" there. Not sure that's the standard, the related OSV spec uses other terms too https://docs.google.com/document/d/1sylBGNooKtf220RHQn1I8pZRmqXZQADDQ_TOABrKTpA/edit and https://github.com/ossf/osv-schema/blob/main/schema.md

For OSV we are still planning to stick with the more precise introduced and fixed. It should always be clear, given source access, which specific commits introduced and fixed a vulnerability. The unaffected/affected/unknown is more important for closed-source products.
/cc @oliverchang

@rsc Thanks! FYI:

https://github.com/nexB/vulnerablecode/issues/540

Closed in favor of https://github.com/nexB/vulnerablecode/issues/1520 because the UI and models and API have evolved a lot since


Fix issue with accuracy in TFLearn project

At the moment the accuracy comes to 50%. To fix this issue I've proposed the following change.

@AdamBCo Can you please explain that line.

@AdamBCo The accuracy doesn't go above 50%? Why? What does this do?

Looks like the same issue is fixed here: https://github.com/udacity/deep-learning/pull/152
So I'll close this one and commit the other one.


nodeos_run_test-mongodb fails

 Start 28: p2p_dawn515_test

28/31 Test #28: p2p_dawn515_test .......................   Passed    1.02 sec
Start 29: nodeos_run_test-mongodb
29/31 Test #29: nodeos_run_test-mongodb ................***Failed    2.61 sec
Start 30: distributed-transactions-test
30/31 Test #30: distributed-transactions-test ..........   Passed   38.82 sec
Start 31: distributed-transactions-remote-test
31/31 Test #31: distributed-transactions-remote-test ...   Passed   56.02 sec
97% tests passed, 1 tests failed out of 31
Total Test time (real) = 396.72 sec
The following tests FAILED:
29 - nodeos_run_test-mongodb (Failed)
Errors while running CTest
Makefile:61: recipe for target 'test' failed
make: *** [test] Error 8
=================================================================
Contents of var/lib/node_00/stderr.txt:
1243131ms thread-0   chain_plugin.cpp:99           plugin_initialize    ] initializing chain plugin
1243131ms thread-0   chain_plugin.cpp:137          plugin_initialize    ] Resync requested: wiping database and blocks
1243131ms thread-0   mongo_db_plugin.cpp:803       plugin_initialize    ] initializing mongo_db_plugin
1243131ms thread-0   mongo_db_plugin.cpp:811       plugin_initialize    ] Resync requested: wiping mongo database on startup
1243131ms thread-0   mongo_db_plugin.cpp:821       plugin_initialize    ] connecting to mongodb://localhost:27017/EOStest
1243131ms thread-0   mongo_db_plugin.cpp:717       wipe_database        ] mongo db wipe_database
== Errors see above ==
Shut down the cluster.
cmd: programs/eosio-launcher/eosio-launcher -k 15
cmd: pkill nodeos
Shut down the wallet.
cmd: pkill keosd
Traceback (most recent call last):
File "tests/nodeos_run_test.py", line 93, in
if cluster.launch(prodCount=prodCount) is False:
File "/home/eos/eos/build/tests/testUtils.py", line 1198, in launch
if not self.waitOnClusterBlockNumSync(1):
File "/home/eos/eos/build/tests/testUtils.py", line 1318, in waitOnClusterBlockNumSync
if node.doesNodeHaveBlockNum(targetHeadBlockNum) is False:
File "/home/eos/eos/build/tests/testUtils.py", line 316, in doesNodeHaveBlockNum
info=self.getInfo(silentErrors=True)
File "/home/eos/eos/build/tests/testUtils.py", line 851, in getInfo
trans=Node.runCmdReturnJson(cmd)
File "/home/eos/eos/build/tests/testUtils.py", line 158, in runCmdReturnJson
return jsonData
UnboundLocalError: local variable 'jsonData' referenced before assignment

Same problem with a empty var/lib

Check the owner on 'programs/eosio-launcher/eosio-launcher'. I had same error and turned out that root was owner, not my user account. I believe it was caused by me running build as sudo.
See my notes on #2464, I ran chown on my entire build dir and now I'm getting the jsonData error that you mentioned, but mine is on the nodeos_run_test.

Thank you for replay. But seems not my case

I've been having similar problems with the nodeos_run_test.py as well on both master and Dawn-v3.0.0. What version of Ubuntu are you running? Have you tried blowing out our eos directory and rebuilding from scratch?

Ubuntu 16.04.  Yes I have clone it from github and rebuilding from scrach. A previous build run test without any error, but encounter a bug later (can not compile sample contract), so I delete entire directory and clone a new version, then encouter this problem. any idea?

ubunt 16.04. I have rebuilded Dawn-v3.0.0 for two times, but it have the same problem.

this is a snapshot of error

I have exactly the same issue
  Node> Host: localhost, Port:8888
 Cluster viability smoke test. Validate every cluster node has block 1.
         cmd: programs/cleos/cleos --host localhost --port 8888  --wallet-host localhost --wallet-port 8899 get info
          RAW > Failed to connect to nodeos at localhost:8888; is nodeos running?

          JSON>

sec@ll-B85M-DS3H-A:~/rgh/eos_719/eos/build/programs/cleos$ ./cleos create account eosio user  EOS7eanXtt1fx9sThAtg1pohi4bVVfHu2XanYaMjtxhtC65CV2S6q
Failed to connect to nodeos at http://<IP_ADDRESS>:8888/; is nodeos running?

this is my solution. about nodeos_run_test-mongodb failed.

install mongo db core
-> $ sudo apt-get install mongodb-server-core
install mongo db client
-> $ sudo apt install mongodb-clients
test mongo db
-> eosio/build/tests/nodeos_run_test.py --mongod -v --dump-error-detail >& mongo_test.out
check log
-> vi eosio/build/mongo_test.out

build validation
-> $ ~/opt/mongodb/bin/mongod -f ~/opt/mongodb/mongod.conf &
-> $ cd eosio/build
-> make test

Just tried to run the test, seems they changed the args from --mongod to --mongodb. But somehow 'command not found' is still printed


Migrate CosmWasm workspace

Closes: #1311
Description

PR author checklist:

[ ] Added changelog entry, using unclog.
[ ] Added tests.
[ ] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Closing this PR as we didn't move the cosmwasm directory out in such a way that preserved its git history.

On second thought, the commits in this PR should be fine to merge, as migrating the files out of ibc-rs should not have any adverse effects on its git history.


Tooltips are broken when when the game is built

The controller tooltips works fine in Unity but are broken after the build process.
NullReferenceException: Object reference not set to an instance of an object
  at VRTK.VRTK_ObjectTooltip.DrawLine () [0x00000] in <filename unknown>:0
  at VRTK.VRTK_ObjectTooltip.Update () [0x00000] in <filename unknown>:0``

Make sure you have the required shaders in you project Graphics Settings:

You're most likely missing Unlit/Color and UI/Overlay

It works! thank you for your help :)
Where can i found required shaders to avoid this in the future? Do you have a list?

There isn't a list anywhere, but it's a good idea to do one, I'll put one in the readme


Update  DolphinScheduler

我现在安装的1.20的单机版    但是我现在想部署DolphinScheduler集群   是否需要将1.20的卸载了   然后再部署1.21的集群版

if your ip on Standalone mode shows not localhost or <IP_ADDRESS>， you can use the same database when update, otherwise I suggest you re-intall 1.2.0 cluster

you also can try what you think, if meet some problems,  you can paster the exception info

I will close this issue, if you meet some problems, you can reopen it


Multiple ports?

Hi there! Is it possible to include support for multiple ports?
i.e. "port": ["443","465","10000"]

You can solve this with multiple entries in the domains list:
{
    "domains": [
        {
            "elb": {
                "name": "ELB name (string)",
                "port": 443
            },
            "hosts": ["list of hosts you want on the certificate (strings)"],
            "key_type": "rsa or ecdsa, optional, defaults to rsa (string)"
        },
        {
            "elb": {
                "name": "ELB name (string)",
                "port": 465
            },
            "hosts": ["list of hosts you want on the certificate (strings)"],
            "key_type": "rsa or ecdsa, optional, defaults to rsa (string)"
        }
    ],
}

Got it. Thanks!


Support subdirectory installs

I know that it isn't recommended to run Pump behind a proxy, but it's how I run all my web apps. I have one non-wildcard SSL cert, so everything is a subdirectory of my host.
I would like to make mydomain.info/social be my social presence. Unfortunately, proxying /social through Nginx doesn't work because Pump treats that as the username. Perhaps my proxy setup isn't correct, but every other app I'm running seems to play nicely in its subdirectory sandbox. I've tried setting both the address and host to include the subdirectory in the name, but no luck. Am I just missing something or is this not possible yet?
Thanks.

I don't know if this is still a need, having Let's Encrypt option for creating certs for free.

Probably. People are really opinionated. The original usecase isn't valid, but there will definitely be someone who wants this at some point.


HADOOP-17817. HADOOP-17823. S3A to raise IOE if both S3-CSE and S3Guard enabled (#3239)

S3A S3Guard tests to skip if S3-CSE are enabled (#3263)
    Follow on to
    * HADOOP-13887. Encrypt S3A data client-side with AWS SDK (S3-CSE)

    If the S3A bucket is set up to use S3-CSE encryption, all tests which turn
    on S3Guard are skipped, so they don't raise any exceptions about
    incompatible configurations.

Contributed by Mehakmeet Singh

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
11m 31s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 26 new or modified test files.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
12m 24s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 27s

branch-3.3 passed

+1 :green_heart:
compile
18m 41s

branch-3.3 passed

+1 :green_heart:
checkstyle
2m 30s

branch-3.3 passed

+1 :green_heart:
mvnsite
2m 28s

branch-3.3 passed

+1 :green_heart:
javadoc
2m 24s

branch-3.3 passed

+1 :green_heart:
spotbugs
3m 51s

branch-3.3 passed

+1 :green_heart:
shadedclient
25m  3s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 29s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 30s

the patch passed

+1 :green_heart:
compile
16m 46s

the patch passed

-1 :x:
javac
16m 46s
/results-compile-javac-root.txt
root generated 2 new + 1943 unchanged - 1 fixed = 1945 total (was 1944)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
2m 41s

root: The patch generated 0 new + 37 unchanged - 1 fixed = 37 total (was 38)

+1 :green_heart:
mvnsite
2m 32s

the patch passed

+1 :green_heart:
javadoc
2m 30s

the patch passed

+1 :green_heart:
spotbugs
4m  1s

the patch passed

+1 :green_heart:
shadedclient
24m  5s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
17m  2s
/patch-unit-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch passed.

+1 :green_heart:
unit
2m 24s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

179m 48s

Reason
Tests

Failed junit tests
hadoop.ha.TestZKFailoverController

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3506/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3506

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell markdownlint

uname
Linux 5dec177be409 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 573af8bf8a11d8612ac0c360f23b874217d78a28

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~18.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3506/1/testReport/

Max. process+thread count
2994 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3506/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Merged in branch-3.3


Fix expired Discord link

@dherrada can you take a look, a different pylint error came up

@ladyada I seem to remember I disabled the bad-whitespace check when adding Black since it was buggy, but this one must have been missed somehow. There was some discussion of removing it with a patch (https://github.com/adafruit/adabot/issues/185), but I don't think it's been run yet. I'll add this to my list of stuff to do and try to get to it sometime soon (should be Wednesday at the absolute latest).

@mcauser Thanks!


To get back the colored border inside the mailbox

In the version 5.800, there was a colored border in order to instantly know in what mailbox we were at first sight. This option disappeared with the version 5.900.
My grand mother has 2 different mailboxes, and it was very clear for here to see the difference. But now, she's lost and often stressed when checking her messages because she never now in what mailbox she's in.
So it would be convenient to get back this very important UX option to display a colored border along the message list.
Thanks

For information, I'm talking about the account view, not the unified view.
I confirm I can't see a border color in any account view (K9 v5.904), despite checking (again) all account color in Settings > [Account] > General settings > Account color, as it was in version 5.8xx.
If it should be there, as you say, should I change this "enhancement" task to a bug?


pageserver: use direct IO for disk io read path

Part of #8130
Problem
Pageserver previously goes through the kernel page cache for all the IOs. The kernel page cache makes light-loaded pageserver have deceptive fast performance. Using direct IO would offer predictable latencies of our virtual file IO operations.
In particular for reads, the data pages also have an extremely low temporal locality because the most frequently accessed pages are cached on the compute side.
Summary of changes
This PR enables pageserver to use direct IO on the read path. Since direct IO has requirements for the io buffers, we Implement a IoBufferMut buffer type that uses aligned allocation (currently set to 512).
IoBufferMut is currently used for

allocating page cache buffers
read from image / delta layers
read/write from in-memory layers

Unlike image/delta layers that have separate read and write path, both reads and writes are performed on the underlying VirtualFile of the inmemory layer. Thus we also modified its write path.

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

I'm pretty confident with all the read path changes. The inmemory layer write path changes are necessary, but maybe there is a better way to organize it?


Partial params update of the Route

Use-case:
export const mainRoute = createRoute<{
  categoryId?: string;
  locationId?: string;
}>();

sample({
  clock: selectLocation,
  source: mainRoute.$params,
  fn: (params, id) => ({ ...params, locationId: id }),
  target: mainRoute.open,
});

sample({
  clock: unselectLocation,
  source: mainRoute.$params,
  fn: (params, id) => ({ ...params, locationId: undefined }),
  target: mainRoute.open,
});

I feel this should be the default behaviour
const routes = [
  { path: '/', route: homeRoute },
  { path: '/:locale/users/:userId/posts', route: postsRoute },
  { path: '/:locale/users/:userId/posts/:postId', route: postRoute },
];

const router = createHistoryRouter({ routes });

// current url: /en/users/123/posts
postRoute.open({ postId: "456" })
// updated url: /en/users/123/posts/456

(I was implementing the same thing when i was trying to write another router https://github.com/kirillku/effector-easy-router#using-params-from-current-route)


Refactor spo folder roleassignment add to use util instead of calling other command, Closes #5282

Closes #5282

Thanks for another awesome PR 💪👍. You are on 🔥 today. We will review it ASAP

setting to draft due to the following observations
I will provide more guidance how we should proceed with this PR in near future


Squash and merge doesn't populate description

When I squash and merge a PR, I expect the description to be populated with something (I would prefer it just have the original description on the PR, but I think GitHub usually does all the commit titles).

I also agree that populating the commit message body with the PR description is better, but I think this behavior should be adopted by the entire GitHub, not only on this extension. So for the sake of fragmentation, the right path would be to mimic GitHub web functionalities.

Fixed with https://github.com/microsoft/vscode-pull-request-github/issues/5306


Add filename-retaining ReadAllViaFileBasedSource

Adds ReadAllViaFileBasedSourceWithFilename, which retains the input filename with the read elements.
We (spotify) regularly have this as an internal feature request, typically where some id or key is part of the filename or directory itself.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java_GCP_IO_Direct PreCommit

Run Java_GCP_IO_Direct PreCommit

Run Java_GCP_IO_Direct PreCommit

Run Java PreCommit

Run Java_Kafka_IO_Direct PreCommit

Run Java_Kafka_IO_Direct PreCommit

I want the tests to PASS [ even though the code doesn't look to touch things related to the test that is failing :-/ ]

Run Java_Kafka_IO_Direct PreCommit

Failing Kafka test looks due to issues not relating to this specific codebase.  Otherwise code looks good, so merging.


[{'message': 'Rate limit exceeded', 'code': 88}]

Read-only application cannot POST.
i get theese two messages alot and it doesnt do anything else

hey! the solution for that wa posted in one of the closed issues. you should be able to find it if you scroll through. any help with my issue? seems you are a little further in it than I am


color_util: 1.0.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository color_util to 1.0.0-1:

upstream repository: https://github.com/MetroRobots/color_util.git
release repository: https://github.com/MetroRobots-release/color_util-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: null

Holding for Rolling migration


Forced Focused

Problem: The captcha window needs to set the focus manually by selecting it.
Solution: Added focus on the captcha window and focus on the input box too. (Refer 2nd commit)
1st commit: Input text was hard to understand, so, improved that too.

@abhinavatai Please, state the reason for the suggested changes.

@vasugamdha   HEY CAN YOU SHARE YOUR EDITED CODE TO ME at<EMAIL_ADDRESS>

@vasugamdha HEY CAN YOU SHARE YOUR EDITED CODE TO ME at<EMAIL_ADDRESS>
you can find my final edits here-> captcha.py

Hi @vasugamdha - I want to incorporate the forced focus. Could you please do a quick merge from main?

its showing changes to multiple files for some reason. I think this should be limited to captcha.py file, right?

Yes, it is limited to captcha.py.
The other change is completely independent. The change in the other file is just for a bit better understanding of one particular confusing line i.e.
From:
minimum_slots = input(f'Filter out centers with availability less than ? Minimum {len(beneficiary_dtls)} : ')

To:
minimum_slots = input(f'Filter out centers with minimum availability of ? doses (Minimum {len(beneficiary_dtls)}) : ')

Hi @vasugamdha - I want to incorporate the forced focus. Could you please do a quick merge from main?

Do you want me to change branch from ext-dev/vishal to main?

How does captcha and the booking process work after 'slots checking..' step?  It would help if you can post some screenshots so that we can refer to them for getting an idea before booking.


When deleting a parameter added for an API resource, the pop up screen shows multiple 'No' options

Steps to reproduce:
This behavior is reproducible. Please find the steps to reproduce.
Log into the APIM publisher and click on 'Design a New REST API'.
Fill 'General Details' and 'API Definition' sections.
Under the 'API Definition' section, create an API resource.
Click on the created API resource. There you'll find the attribute name parameter. Add a parameter.
Then click on the trash icon to delete the parameter and when the popup screen came on, click 'No'. Again try to delete the same parameter. You will see 'No' option on the popup screens increases as shown in the screenshot below.

fixed with e2785cd93594dec413650e7965ea72c09ae7810b

We have to do the same fix when close button is clicked.


Firefox not playing wav files

Describe the bug
Thank you for your work! It is an amazing tool. Today i played around with some audio (wav files). On Firefox only 2 out of 20 work. On the Edge browser they all work. I do not have any error messages besides a warning about "An AudioContext was prevented from starting automatically. It must be created or resumed after a user gesture on the page.".
To Reproduce
Steps to reproduce the behavior:

Create a project (Automatic Speech Recognition Template)
Upload some wav files (also does not work if the files are in S3)
Click on play
Most do not play also the wave is shown flat

Expected behavior
The files should play in Firefox as they do in Edge
Screenshots

Environment (please complete the following information):

OS: Windows with Firefox 109 and Edge 109.0.1518.61
Label Studio Version 1.7.0

Thank you very much in advance!
Regards,

@mcrisafu could you please show codec info for these files?
On unix you can use soxi for this:
soxi file.wav

@makseq of course:
Input File     : '4142b7515fa53ddafa65cbde617d3636.wav'
Channels       : 1
Sample Rate    : 22050
Precision      : 32-bit
Duration       : 00:00:05.09 = 112279 samples ~ 381.901 CDDA sectors
File Size      : 449k
Bit Rate       : 706k
Sample Encoding: 32-bit Signed Integer PCM

Probably the problem is in 32 bit. Could you try to resave it as 16 bits?

@makseq Indeed 16 bits works. I did not test Chrome but as it uses the same engine as Edge I would assume it works. A lot of user use Firefox. I would really appreciate if you could look into this but i totally understand if this has no priority :) Thank you for your help and keep up the awesome work!

Thank you for your kind words!

if you could look into this

I'am afraid it's a browser issue, because we use a standard browser audio engine.. if a browser doesn't support it, LS doesn't support it too.

Hey @mcrisafu 👋. I have another branch which might possibly solve this for firefox, would you be able to share a file which did not work in firefox that we could test against?

Hey @bmartel 👋. Thank you but unfortunately I am not allowed to share the files.


Add sticky social icons in left of website

Feature request-
I can add  sticky social icons on the left of site.
Describe how this feature will be useful to our readers.
along with social icons in the footer we can add them in the left side which will look more interactive and when user hover over them they will scale out.
Additional context
I am a GSSoC'21 participant please assign this issue to me.
I have added this feature to a website and there its screenshot.

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

I appreciate for you showing interest in contributing to the project but this issue is not required right now since social icons are already present in the footer. And the website doesn't have any social accounts as of now so showing off our social icons really wouldn't matter.
But I would encourage you to raise more or take up any existing issues 👍
Happy Learning !


Invalid parameters are frequently silently ignored

I've noticed a number of instances where an incorrect or meaningless parameter is silently ignored:

In BIDSLayout, doing BIDSLayout(..., derivatives=True) has no effect (nor would any other argument, due to the **kwargs)
In BIDSLayout.get(), doing an incorrect return_type e.g. return_type="path" silently falls back on the default return_type=dict
In BIDSLayout.get(), putting a scope that is not raw or derivatives falls back to the default scope=None

In all of these cases, with no warning or error, I got the impression my input was acceptable and having some effect. Some sort of validation should be implemented in all cases, although the details may vary from case to case. Suggestions for each of the above cases:

For the BIDSLayout constructor, remove the **kwargs argument? It doesn't seem to be doing anything. Or at least print warnings when unused parameters are passed.
For get, strictly validate the return_type and error when unrecognized values are passed.
For get(scope=...), for now strictly validate, as it seems only raw and derivatives are allowed. If scoping by Pipeline name is ever supported, return 0 entries if nothing is within scope, as in current behaviour in pybids.

@pvandyken Good point!
That **kwargs was used to be more compliant with PyBIDS, i.e. without breaking existing users code.


Clean Code

Good Job,

Your code is clean and easy to read 👍 💯

@Harrynoqs you have done a good job, continua the good word.


CLI tests

This is a major refactor of the API.   The following needs to be satisfied before this gets merged in

[x] CLI tests
[x] Checkpoint tests
[x] Operational ipython notebook demonstrating python API

yay tests pass!


Java examples

update to Selenium 2.45.0
update chromedriver
added these Java examples:

upload file
download file
keyboard shortcuts
frames
multiple window
select from dropdown
download a file revisiting
basic authentication
JavaScript alert
right click
basic test with Safari
highlight element
jQuery growl notifications
Selenium Grid example
hover
checkboxes

Thanks for such a great pull request! I'll be writing the tips and publishing them over the next several weeks. I'll be sure to give you a mention in each of them.