Add routeOnly sniffing option

Allows the sniffed domain to be used for routing only, without overriding the destination address. This improves the routing accuracy of AsIs, and provides the expected connection behavior of the client (not resolving the domain name again on the server side), which adds a degree of privacy protection when connecting to uncontrolled servers.

Codecov Report

Merging #1271 (600e369) into master (c58a372) will decrease coverage by 0.24%.
The diff coverage is 9.09%.

@@            Coverage Diff             @@
##           master    #1271      +/-   ##
==========================================
- Coverage   44.72%   44.48%   -0.25%
==========================================
  Files         485      476       -9
  Lines       29465    29383      -82
==========================================
- Hits        13179    13070     -109
- Misses      14884    14902      +18
- Partials     1402     1411       +9

Impacted Files
Coverage Δ

app/dispatcher/default.go
27.72% <0.00%> (-0.85%)
:arrow_down:

app/proxyman/config.pb.go
18.34% <0.00%> (-0.17%)
:arrow_down:

app/proxyman/inbound/worker.go
37.60% <0.00%> (-0.46%)
:arrow_down:

common/session/session.go
70.58% <ø> (ø)

features/routing/dns/context.go
41.17% <0.00%> (ø)

infra/conf/v2ray.go
47.77% <0.00%> (-0.14%)
:arrow_down:

transport/internet/config.pb.go
16.34% <ø> (ø)

features/routing/session/context.go
65.00% <50.00%> (-1.67%)
:arrow_down:

transport/internet/udp/dispatcher.go
64.76% <0.00%> (-12.39%)
:arrow_down:

common/buf/reader.go
82.35% <0.00%> (-5.89%)
:arrow_down:

... and 21 more

Continue to review full report at Codecov.

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

This option can be useful if you want to make sure the target the server is going to dial is the target your client resolver resovled. But please note that it does not provide any "privacy protection", as the server operator can still easily sniff out the SNI or intercept DNS traffic if you're using plain unencrypted DNS. It also does not provide "the expected connection behavior of the client", because you essentially prevented server-side happy eyeballs from happening, and it's impossible to properly implement happy eyeballs from the client side of a proxy.

当路由策略使用IPIfNonMatch，在域名匹配失败后尝试ip匹配，这里是使用嗅探出的域名来解析ip还是target原本的目标连接ip?

Instead of adding a new field and option, why not just add the fakedns result to the attribute of the connection. We will need to support things like routing by process name in the future, we can make a minor infrastructure change here to make it easier to add more routing attributes later.

This option can be useful if a client uses https altsvc. Which leads to wrong IP if destOverride is enabled.


Would it be possible to add vlan tag support?

          Would it be possible to add vlan tag support at the same time?

Originally posted by @mkamsikad2 in https://github.com/ionos-cloud/cluster-api-provider-proxmox/issues/29#issuecomment-1906072942
Hi everyone, as @mkamsikad2 mentioned some months ago, can vlan tag support be added during VM's creation?
It could be handy feature.
Thank you,
Fabio

Hi! The PR #133 implements just that ☺

VLAN tag support contributed by @CiraciNicolo has been released with 0.4.0. Enjoy!

Hello,
@CiraciNicolo thank you very much for adding support for VLAN tagging! Could you please explain how to make use of this feature? I tried to add VLAN: XY to the networking config in clusterctl.yaml but to no avail. After executing clusterctl generate cluster proxmox-quickstart ... > cluster.yaml there was no mention of VLANs in the generated manifests.
I then tried to add the property vlan manually to the ProxmoxMachineTemplate spec (network.default.vlan: 16) after reviewing the changes from the PR but when I try to kubectl apply -f cluster.yaml, I get the following error:
kubectl apply -f cluster.yaml
cluster.cluster.x-k8s.io/proxmox-quickstart created
proxmoxcluster.infrastructure.cluster.x-k8s.io/proxmox-quickstart created
kubeadmcontrolplane.controlplane.cluster.x-k8s.io/proxmox-quickstart-control-plane created
proxmoxmachinetemplate.infrastructure.cluster.x-k8s.io/proxmox-quickstart-control-plane created
machinedeployment.cluster.x-k8s.io/proxmox-quickstart-workers created
error: error parsing cluster.yaml: error converting YAML to JSON: yaml: line 19: did not find expected key

The source of the error seems to be in the ProxmoxMachineTemplate proxmox-quickstart-worker.
I'm confused, as this seems to work for control plane nodes. Am I missing something obvious here?
Thanks for your help!

Nevermind, it was just a missing space. Sorry for bothering you. Thanks for your work on this project :)
After adding vlan: XY to the generated manifest, the cloned VMs had their VLAN tag set correctly 🎉

Would be nice if clusterctl adding the 'vlan:' automatically if its in the ~/.clusterapi/clusterctl.yaml file.


Issue with in values

in values should start from a capital letter.

PR

Good spot. I've merge the pull request in, its a non API breaking change so I will publish a new minor version - real soon!

That has been released as 5.0.1.


wait for the parent to read

Spawned processes have to wait for the parent process to finish
reading from the reader-side of pipe.  If a child process exits
before the reading, EOFError may raise not Errno::EAGAIN.
http://rubyci.s3.amazonaws.com/rhel_zlinux/ruby-trunk/log/20151216T003301Z.fail.html.gz

Sounds good, thanks! :+1:


Can aggregate all gradients from local wokers on local GPUs before push to parameter server ？

Can we use Graph mechnism to build the situation that all workers will aggregate all gradients from their replicated sub-graph， before pushing gradients to all pservers？
If OK， can show us some examples？
BTW：

with r1.0.1 version, inception training with distributed nodes will crash for several old APIs，and some more unpredictable reason.

TypeError: init() got an unexpected keyword argument 'replica_id' .

some ps error comes if we use non-default DNS IP when multiple NICS exist.

You can although it'll take some coding on the user end, someone on stackoverflow may be more likely to answer. The comment about crashing could be formed as another issue, if you could follow the template with reproducible example


updates for units

related to: https://github.com/KittyCAD/engine/pull/1780 https://github.com/KittyCAD/modeling-api/pull/131 https://github.com/KittyCAD/engine/pull/1782
this makes the engine aware of units for executing

[x] send SetSceneUnits cmd at start of execution
[x] add tests in executor for different units
[x] when you change your base units it should re-execute
[x] some sort of bounding box zoom on initial load?
[x] fix tests to have correct zoom

Default plane snapshots look decent again.
My work is done here.


Allow specifying HTML code as value of TextField

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
Now, the value property of TextField component is expected to be string. I would like if it was possible to specify HTML instead.
Examples 🌈

Consider this example:
<TextField value=<>Some text, <Chip label="Chip"/> another text.</> />

NOTE: The <> tag is React.Fragment

It would render TextField, where every text in the root element (Some text and another text in this example) would be editable by user and children (chip in this example) would behave like one character, (eg. deletable with backspace / delete key, arrow keys on keyboard would skip them, etc. ).
It could look like this:

Motivation 🔦

Mentions in social apps
Chip or something similar may be used as mention decoration directly inside TextField.
User-editable parsers (my case)
Some apps include user-editable parsers, eg. app for assigning metadata of lots of files from their filename, where users can define the rule.
It's often done with $(something) syntax, eg. $(name) by $(author), but using chips directly inside TextField instead would be much more pretty and user-friendly.
Implementation tip 👨💻
Maybe it could be done with naked TextFields between HTML components.

@FireFragment This is likely possible to implement but you will have to render a custom input element. Maybe with a contenteditable attribute. Also, we track the need for a rich text editor in https://github.com/mui-org/material-ui-x/issues/513.

I just discovered it's possible to do it with contenteditable='true' property on div.
Here is example (not in React): https://codepen.io/maty1000/pen/abwpbqK

Last few month I'm working on dialog, who receives HTML code. That HTML code have to become innerHTML of textarea or content editable div. We need that HTML to be exactly how it was converted by browser when a user writing text in text area or in content editable div, and then we need that text will be editable later and for that it should be restored as innerHTML to have exact look before which was before saving.
Also, there is no way to set value/defaultValue with HTML and there is no way to set dangerouslySetHTML because inside yours components there at leased one child.
When we are using TextField or TextAreaAutoResize there is no way to have Material UI styling and Material UI js implemented styling on selfimplemented custom textarea and as result we have to spend a lot of time on cloning Material UI styling, which probably also implemented with Material UI JavaScript part. So Material UI looses it's portability. We will have to rewrite out code to mirror look of your implementation of style of Material UI.
For example autoresizing will not work, if I will just duplicate your TextArea. Custom TextArea will not grow automatically. So code have to be implemented manually by developer.
Guys, I think you really need to rewrite your textarea to support dangerouslySetHTML or to mirror your TextAreaAutoResize as content-editable div, like you can make TextAreaContentEditableAutoResize or DivContentEditableAutoResize because there are situations when developers need pure HTML received by that field with chance to store also your MaterialUI styling/js styling, or it's just make no sense.


fixes #1290 [ci skip]

Fix license headers that incorrectly identified the license terms.
Signed-off-by: Christopher Ferris<EMAIL_ADDRESS>[ci skip]

LGTM. Reviewed with @christo4ferris and confirmed this PR only contains changes to comments in the code.


Fixed typo at Victor's email

What does this PR do?
Improve repo
There was a typo and Victor's email was written like this: victorfelder at gmail.com
I changed it to<EMAIL_ADDRESS>

I think that was on purpose as to not be picked up by scraper bots

Oh! Okay, that didn't occur to me! (Oops)
Either way, I'm going to leave PR open just in case, even if what you're saying makes sense.

it was on purpose


No Overlay widget found when using MaterialApp.route and nested Navigator

I'm building an app where I have a screen Home with a build that returns a  Scaffold
The Scaffold has a BottomNavigationBar and its body is my Navigator I was really thrilled when I learned that can do this to achieve an effect where my BottomNavigationBar remains visible and only my body changes depending on the pages of the Navigator but now I want to expand my design so as to support deep linking and web URLs so I switched to using MaterialApp.route instead of MaterialApp and started getting this error
======== Exception caught by widgets library =======================================================
The following assertion was thrown building BottomNavigationBar(dirty, dependencies: [_LocalizationsScope-[GlobalKey#ea2c3]], state: _BottomNavigationBarState#118bb(tickers: tracking 3 tickers)):
No Overlay widget found.

BottomNavigationBar widgets require an Overlay widget ancestor for correct operation.

The most common way to add an Overlay to an application is to include a MaterialApp or Navigator widget in the runApp() call.

I tried to wrap my Home screen with Overlay like so

   Widget homeScreen(Navigator navigator) => Overlay(
          initialEntries: [
            OverlayEntry(builder: (context) {
              return HomeScreen(
                  navigator: navigator);
            })
          ],
        );

When I do this I don't get the error any more, but non of my tabs or buttons are clickable and my navigation doesn't work.
I'm using web for this. I read the docs, and it seems that MaterialApp or Navigator wraps the content with
Overlay which  means that the cause of the problem is that I'm nesting my Navigator, but I thought that MaterialApp.route will take case of this.
I can't solve this on my own because I don't understand what Overlay is doing.  Here is my flutter doctor -v

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.2.3 20D91 darwin-x64, locale
    en-SA)
    • Flutter version 2.2.3 at /Users/mickymouse/dev/flutter
    • Framework revision f4abaa0735 (6 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mickymouse/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Applications/Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.59.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.131

• No issues found!

This is the same issue but they don't mention what to wrap https://github.com/flutter/flutter/issues/74895 If I wrap the Scaffold the navigation won't work, and I can't click on anything.

I managed to solve the problem like so
    Widget homeScreen(Navigator navigator) {
      return Builder(
        key: UniqueKey(),
        builder: (context) {
          return Overlay(
            initialEntries: [
              OverlayEntry(builder: (context) {
                return HomeScreen(
                    navigator: navigator);
              })
            ],
          );
        },
      );
    }

The problem I was having wasn't that my clicks were not being detected, but that the Overlay was being kept between Navigator rebuilds which made it look like the screen was not changing. I'm gonna keep this open just in case someone lists a better solution.

Just realized I can just wrap my MaterialApp.route with the Overlay and provide Directionality


Missing documentation of ORTModel.from_pretrained()

Feature request
We miss the documentation of ORTModel.from_pretrained() in https://huggingface.co/docs/optimum/main/en/onnxruntime/modeling_ort . It's not much, just need to add the documentation to the method and modify the mdx file.
Also, compared to https://huggingface.co/docs/transformers/v4.20.1/en/main_classes/model#transformers.PreTrainedModel.from_pretrained , we don't have an argument pretrained_model_name_or_path. Currently to load a local .onnx file, we must do e.g. ORTModelForSequenceClassification.from_pretrained("/path/to/folder/", file_name="model.onnx").
I wonder if, like for Tensorflow/Flax models in transformers, we could not do ORTModelForSequenceClassification.from_pretrained("/path/to/folder/model.onnx" and have the check os.path.isfile() like in the transformers method. Alternatively, have an argument from_onnx=True.
Here is how the check is done in transformers: https://github.com/huggingface/transformers/blob/d0acc9537829e7d067edbb791473bbceb2ecf056/src/transformers/modeling_utils.py#L1944
https://github.com/huggingface/optimum/blob/958b31757bd2453d1c0758c342aa873be4040646/optimum/modeling_base.py#L165-L174
https://github.com/huggingface/optimum/blob/958b31757bd2453d1c0758c342aa873be4040646/optimum/onnxruntime/modeling_ort.py#L155-L165
Your contribution
I can work on this

Thank you @fxmarty for opening the issue. I compared the documentation with transformers as well. It seems that for AutoModelForXXX in transformers there is also no from_pretrained documentation: See BERT.
What we could do is add a Main Class section in the documentation and add the OptimizedModel to it which implements the base from_pretrained method. For this we should add a similar nice docstring than transformers.
Can you take a look on adding the documentation and the docstring?

For the second part

Currently to load a local .onnx file, we must do e.g. ORTModelForSequenceClassification.from_pretrained("/path/to/folder/", file_name="model.onnx").

This shouldn't be the case to load a local file you should be able to only provide the path see here. The file_name can always be added to load different onnx models, .e.g q8 model.

I wonder if, like for Tensorflow/Flax models in transformers, we could not do ORTModelForSequenceClassification.from_pretrained("/path/to/folder/model.onnx" and have the check os.path.isfile() like in the transformers method. Alternatively, have an argument from_onnx=True.

Thats shouldn't be needed. Since the default always expects a model.onnx at the directory or repository. And the default is "onnx" that's why we have the from_transformers argument.
Could you please double-check? or provide an example to reproduce.

Thank you, I will do a PR ASAP for this!

This shouldn't be the case to load a local file you should be able to only provide the path see here. The file_name can always be added to load different onnx models, .e.g q8 model.

Yes, there is the default ONNX_WEIGHT_NAME (which is model.onnx): https://github.com/huggingface/optimum/blob/42825ce3e73c381ed14c2fe906cd970e9090d325/optimum/onnxruntime/modeling_ort.py#L189
Although this would break with transformers (that also make use of TF_WEIGHTS_NAME, FLAX_WEIGHTS_NAME, etc.), here as we just expect a single .onnx file I don't think it would be bad to accept
ORTModelForSequenceClassification.from_pretrained("/path/to/my/abcd.onnx")

Currently
model = ORTModelForSequenceClassification.from_pretrained("/home/my/path/", file_name="quantized_model.onnx")

prints config.json NOT FOUND in HuggingFace Hub
and
model = ORTModelForSequenceClassification.from_pretrained("/home/my/path/quantized_model.onnx")

prints requests.exceptions.HTTPError: 404 Client Error: Not Found for url.

Currently
model = ORTModelForSequenceClassification.from_pretrained("/home/my/path/", file_name="quantized_model.onnx")

prints config.json NOT FOUND in HuggingFace Hub

Is there a config.json in your directory? the ORTModelForXXX are expecting a config.json similar to what the transformers models are expecting for correct outputs etc.

There is no config.json in my directory. What should I put in it if I have a vanilla onnx (e.g. exported from python -m transformers.onnx)? A ORTConfig https://huggingface.co/docs/optimum/main/en/onnxruntime/configuration#optimum.onnxruntime.ORTConfig ? From what I read in the code, this config.json should populate self.config, but this is used nowhere I think, checking the ouputs doesn't require it, for me it is the InferenceSession's get_outputs() that does the job:
https://github.com/huggingface/optimum/blob/42825ce3e73c381ed14c2fe906cd970e9090d325/optimum/onnxruntime/modeling_ort.py#L332
I agree it is useful to have this config attribute to know about the model / consistency with transformers though.
To be fully consistent, if we require a config I would suggest to remove the default config = None in the ORTModelFor...: https://github.com/huggingface/optimum/blob/42825ce3e73c381ed14c2fe906cd970e9090d325/optimum/onnxruntime/modeling_ort.py#L405-L414
There is no such default in transformers, see https://github.com/huggingface/transformers/blob/d0acc9537829e7d067edbb791473bbceb2ecf056/src/transformers/models/bert/modeling_bert.py#L1510-L1511 and https://github.com/huggingface/transformers/blob/d0acc9537829e7d067edbb791473bbceb2ecf056/src/transformers/modeling_utils.py#L1016

Thinking more about my last comment @philschmid , I think it is best practice to incentivize to have a config.json all along to know what are the model outputs, labels, etc. Not necessarily used right now, but it is nice to have to understand what the onnx model is (otherwise it's a bit of a blackbox).
One doubt I have is: we are currently trying to dissociate ORTQuantizer from transformers. From what I understand, this means that we may provide any sole .onnx, and get a quantized model as a sole model_quantized.onnx. There is no config file here as there was none to begin with. Shouldn't we be able to load this model_quantized.onnx into an ORTModel with from_pretrained(), even though there is no config?

One doubt I have is: we are currently trying to dissociate ORTQuantizer from transformers. From what I understand, this means that we may provide any sole .onnx, and get a quantized model as a sole model_quantized.onnx. There is no config file here as there was none to begin with. Shouldn't we be able to load this model_quantized.onnx into an ORTModel with from_pretrained(), even though there is no config?

If you are converting your model with ORTModelFromXXX and from_transformers the config.json is available and so if you are saving the model to the same directory or pushing it to the hub then yes. But that's a good point. We should probably rather create a default config when there is none available like transformers is doing.
Could you take a look?


Added listBurnHistory RPC

What kind of PR is this?:
/kind feature
What this PR does / why we need it:
Adds listBurnHistory RPC
Which issue(s) does this PR fixes?:
Fixes missing RPC implementation in #48

Are you talking about the filter by token type @canonbrother ?

Are you talking about the filter by token type @canonbrother ?

yes the txtype filter, both txtype filter tests are considered same condition

you're right, let me fix it


HDDS-3823. Hadoop3 artifact should depend on the ozonefs-shaded

What changes were proposed in this pull request?
ozonefs-hadoop3 is an all-in-one ozonefs client which can be used as a single jar file.
Unfortunately it uses wrong dependency (ozonefs-common instead of ozonefs-common-shaded) which means that it downloads additional dependencies (netty-all, ...) if it's used from maven.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3823
How was this patch tested?
With CI build.

Codecov Report

Merging #1094 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1094      +/-   ##
============================================
+ Coverage     70.39%   70.43%   +0.04%
- Complexity     9382     9396      +14
============================================
  Files           965      965
  Lines         48979    49001      +22
  Branches       4790     4795       +5
============================================
+ Hits          34479    34515      +36
+ Misses        12179    12171       -8
+ Partials       2321     2315       -6

Impacted Files
Coverage Δ
Complexity Δ

.../container/keyvalue/impl/FilePerChunkStrategy.java
66.14% <0.00%> (-3.39%)
18.00% <0.00%> (+1.00%)
:arrow_down:

...va/org/apache/hadoop/hdds/utils/db/TypedTable.java
91.45% <0.00%> (-1.71%)
30.00% <0.00%> (-1.00%)

.../scm/container/AbstractContainerReportHandler.java
86.36% <0.00%> (-1.52%)
20.00% <0.00%> (-1.00%)

.../common/states/endpoint/HeartbeatEndpointTask.java
69.81% <0.00%> (-1.26%)
25.00% <0.00%> (-1.00%)

.../apache/hadoop/ozone/client/io/KeyInputStream.java
77.44% <0.00%> (-0.76%)
42.00% <0.00%> (ø%)

...iner/common/statemachine/DatanodeStateMachine.java
83.42% <0.00%> (-0.56%)
30.00% <0.00%> (ø%)

...e/container/keyvalue/impl/ChunkManagerFactory.java
78.57% <0.00%> (ø)
4.00% <0.00%> (ø%)

...ontainer/keyvalue/impl/ChunkManagerDispatcher.java
80.00% <0.00%> (ø)
9.00% <0.00%> (ø%)

.../apache/hadoop/ozone/om/OmMetadataManagerImpl.java
83.33% <0.00%> (+0.26%)
94.00% <0.00%> (+1.00%)

...ache/hadoop/hdds/scm/storage/ChunkInputStream.java
69.46% <0.00%> (+0.59%)
46.00% <0.00%> (+1.00%)

... and 10 more

Continue to review full report at Codecov.

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


No way to enable plugin after it was disabled

i have a bunch of projects and use sbt-assembly
i want sbt-assembly to be disabled by default (not sure why this is not the default)
so i use myProject(id, base) = Project(id, base).disablePlugins(Assembly).bunchofotherdefaults
in one particular project i want to enable the plugin, but i get an exception if i use enablePlugin
sbt.AutoPluginException: Error determining plugins for project 'keen-storefront' in D:\keen\storefront:
Contradiction in selected plugins.  These plugins were both included and excluded: sbtassembly.AssemblyPlugin
        at sbt.AutoPluginException.withPrefix(Plugins.scala:106)

imo the last setting should win just like it behaves everywhere, and there should be no exceptional cases

Yeah, this is a known issue in our logic system (and the translation of enablement/disablement into it).  I'm working on a mechanism to fix it.
PRs welcome if you have time.

There was recently a SO question about this: https://stackoverflow.com/questions/46779736/sbt-autoplugins-conflict-that-shouldnt-be-there/46835647#46835647.

I discovered this when I was asked by a user of sbt-s3-resolver who had a complicated multi-project build. He wanted to enable plugin in some subprojects, but not others (the plugin enables itself automatically). I think it's quite a common situation.


[FLINK-20533][datadog] Add Histogram support

Adds support for histograms to the datadog reporter, and does a bunch of cleanup work in the code.
Histograms are mapped to a series of gauges; while datadog does have a histogram metric type it is not supported via the HTTP API that we use.

@flinkbot run azure


Longest substring without repeating characters.

added a problem to find longest substring without repeating characters.please assign it to me.

/assign

please assign


Double IQN

This PR adds Double IQN. This PR includes a new example script for IQN based agents (since it does not fall under "reproducibility". It includes a new Agent DoubleIQN, as well as a test.

There are 2 ties.
IQN wins on 4 domains.

I think it is better to explicitly add train_double_iqn.py rather than train_iqn_ale.py because it will be clear from the filename what the file is for. IQN already has examples/atari/reproduction/iqn.


Add rosariopfernandes/fireXtensions

@rosariopfernandes thanks for adding your project!  Should show up on the site within 24 hours.

Thank you very much. @samtstern


Issue with unstaking

Hi, per my previous messages in the community I have an issue using online wallet. When unstaking I don’t have my balance restored.
Steps I do:

I log in the app.lyra.live/wallet
I go to staking
Click on unstaking for the staked account and receive the message “Success. Refreshing…”
I then go to the wallet and click on the button “Receive” placed on top

At this point nothing happens to the balance of the account.
Thanks in advance for your help to resolve this issue.

fixed by release <IP_ADDRESS> https://github.com/LYRA-Block-Lattice/Lyra-Core/releases/tag/<IP_ADDRESS>

Fixed in cmmit


403 Error Message when trying to export

The following error messages occurs when trying to use:
./terraform-provider-dynatrace export
Error message:
{
"code": 403,
"message": "Editing or deleting a non user specific dashboard preset is not allowed. Dashboard bf71f71f-d8ee-4145-b054-3526bb194141",
"constraintViolations": null
}

Sorry for the late response here - I've been unavailable for quite some time.
I'm asking for patience until coming Monday, when I'm pushing out a new version of the Provider with several bug fixes.

Release 1.9.0 takes care of this issue


Check if the Request has a key in only()

Why?
When updating a model one would want to use the only() method on the Request object but if you have notNull constraints on the model and you are only updating part of it with a PATCH request you will get an error because of the notNull constraint.
Say you have a Post and the post has some fields
[
	‘title’ => ‘string|required’,
	‘body’ => ‘text’,
	‘cetegory_id’ => ‘int|nullable’
]

if you just want to update the category_id with an Ajax PATCH request and you are using
$post->update(request()->only(‘title’, ‘body’, ‘category_id’));

you will get an error about a “Not Null constraint” on the title. This is because the only() method adds all the keys provided to the returned array even of they are not in the request (it just sets them to null).
So I have added an if statement to first check if the keys are included in the request object before adding them to the $results array.
/**
 * Get a subset containing the provided keys with values from the input data.
 *
 * @param  array|mixed  $keys
 * @return array
 */
public function only($keys)
{
    $keys = is_array($keys) ? $keys : func_get_args();

    $results = [];

    $input = $this->all();

    foreach ($keys as $key) {
+       if($this->has($key)){
            Arr::set($results, $key, data_get($input, $key));
+       }
    }

    return $results;
}

This is actually the intended behaviour. I think you want the "intersect" method?

This would be a major breaking change to change this, when it's not a "bug".

Thank You Graham I will take a look at ‘intersect'.
Thank You
–––––––––––––
Sam Podlogar
<EMAIL_ADDRESS>https://pre.hidalgo365.com
On Dec 29, 2016, 6:11 AM -0700, Graham Campbell<EMAIL_ADDRESS>wrote:

This would be a major breaking change to change this, when it's not a "bug".
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


functionality to abort running executions

Very useful e.g. when a sleep-deprived Kata starts a bootstrapping algorithm with threshold 0.0... Or a non-sleep-deprived evil non-Kata does similar things.
Desirable:

being able to "delete" a running execution via swagger
having automatized mechanisms to kill processes that exceed some specified processing time / memory usage / whatever

Opens up some other questions:

how to make sure a person may only disrupt his own executions? Do we want to require users to login before using? Or some other mechanism? ...

Some comments by the not-sleep-deprived-anymore @kba:

Strongly against auth. I can see that we might need it, but then we should stop and discuss this thoroughly and implement something that is sustainable. Auth schemes that work within a User interface and the REST API  (and the backend?), the modelling of users and permissions etc. take time to plan and implement.

From the infolis-web perspective, the functionality would be very thin: Handle some HTTP requests by the user on an execution and

signal to the backend that it should poll the new execution state or
signal execution and new state to the backend

In any case, some effort hast to be invested in the threadPool managing the executions on the backend to handle state updates, e.g. pausing/restoring/aborting threads.
Not hard, but tedious to test and catch all edge cases and make it work in a Servlet container.
I'd propose that we go about this in three steps:

Implement and test execution state changes on the backend
Implement a service endpoint on the backend (e.g. PATCH on /infoLink-1.0/infolis-web/execute) to expose this functionality
Create an external-facing webservice to update the state of an execution or reuse the RESTful semantics
Create either a client library (might be a good use case for the JS client) or a cronjob or similar that polls /api/monitor, retrieves status information via /api/execution/:id (such as When was the last time the log got updated? or the memory footprint which the backend would need to post).

Anyway, I think 2) and 3) are easy to implement (needs minor discussions on the protocol), 1) needs a lot of testing and 4) can be as simple or as complicated as necessary.


[Bug]: Rainbow delimiters no longer working for C# files

Neovim version
v0.10.0-dev-3117+g4e5c633ed
Language affected
c_sharp
Query
rainbow-delimiters
Strategy
global
Description
The rainbow effect for delimiters in C# is no longer working. This might've happened with a recent update, but I have been unable to track down which commit might be the culprit.
This can be seen with the provided test files, here is loop.cs

I have ensured treesitter is working, I have also run :TSUpdate to ensure the parsers are all up to date. No other file type seems to be affected.

Probably a change in node names in the C# parser. I'm currently out of town, feel free to ping me if I don't reply in two weeks time.

Yeah, it's working now! Thank you! ^-^


Comp API + Vuetify + Reference = ♾ update loop

Version
1.0.3
Subject of the issue
It looks like if you add a ref to any Vuetify component (I tested VForm, VBtn,  and VCard) with @vue/composition-api then it displays the infinite update loop message and fails the test.
[Update]:
It looks like it has to do with updating the input and having a ref.  If you remove the ref to the button or the v-model on the input the error goes away.  I'm pretty sure that the v-text-field uses requestAnimationFrame as well.
Steps to reproduce
<template>
  <v-form>
    <v-text-field v-model="name"></v-text-field>
    <v-btn ref="foobar">
  </v-form>
</template>

<script lang="ts">
  import { defineComponent, ref } from '@vue/composition-api';

  export default defineComponent({
    setup: () => {
      const name = ref('');
      const foobar = ref<HTMLElement>(null);
      return { name, foobar };
    }
  });
</script>

Expected behavior
The tests to pass with no warning
Actual behavior
[Vue warn]: You may have an infinite update loop in a component render function.

found in

---> <TestComponent> at src/components/TestComponent.vue
       <Root>
      1) Should be enabled when valid

Possible Solution
Most likely related to #1407 ?

There are a lot of ways to trigger an infinite loop in Vuetify testing, for some reason. I think you are right that #1407 is related. I do not think this is related to the Composition API.
This is a very interesting reproduction, it is much more minimal than the #1407 one. I guess we need to dive into Vuetify.
I wonder if opening an issue on Vuetify might get some more action on this?

I can file a bug report over there as well.  Do you think if there wasn't composition API that removing there ref would still fix this?

Unlikely... you should be able to try it out easily though and find out. I think this is related to the odd way that Vuetify creates  components (using many mixins and the such). I don't have a good reason why, but no other library has this problem, and there have been other weird bugs historically that were related to heavy use of mixin and extends.


manual query to pinpoint hbase

Prerequisites
Please check the FAQ, and search existing issues for similar questions before creating a new issue.YOU MAY DELETE THIS PREREQUISITES SECTION.

[x] I have checked the FAQ, and issues and found no answer.

sometime i need search string for all transaction
iam using ponpoint docker, and modify docker-compose.yml
`#zookeepers
zoo1:
image: zookeeper:3.4
ports:
- 2188:2181
restart: always
hostname: zoo1
environment:
ZOO_MY_ID: 1
ZOO_SERVERS: server.1=<IP_ADDRESS>:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
networks:
- pinpoint
zoo2:
image: zookeeper:3.4
restart: always
hostname: zoo2
ports:
- 2189:2181
environment:
ZOO_MY_ID: 2
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=<IP_ADDRESS>:2888:3888 server.3=zoo3:2888:3888
networks:
- pinpoint
zoo3:
image: zookeeper:3.4
restart: always
hostname: zoo3
ports:
- 2199:2181
environment:
ZOO_MY_ID: 3
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=<IP_ADDRESS>:2888:3888
networks:
- pinpoint`
i try connect to pinpoint hbase using simple python
`import hbase
zk = 'localhost:2188,localhost:2189,localhost:2199'
if name == 'main':
with hbase.ConnectionPool(zk).connect() as conn:
table = conn['AgentInfo']['Info']
for row in table.scan():
print(row)
exit()`
and throw error
File "hbase_py.py", line 6, in
with hbase.ConnectionPool(zk).connect() as conn:
File "/usr/local/lib/python3.4/dist-packages/hbase/connection.py", line 258, in connect
return Connection(self._on_conn_close, self._zkquorum)
File "/usr/local/lib/python3.4/dist-packages/hbase/connection.py", line 89, in init
self._client = client.Client(zkquorum)
File "/usr/local/lib/python3.4/dist-packages/hbase/client/client.py", line 145, in init
self._master_service = services.MasterService(zkquorum)
File "/usr/local/lib/python3.4/dist-packages/hbase/services/services.py", line 86, in init
super(MasterService, self).init(None, None)
File "/usr/local/lib/python3.4/dist-packages/hbase/services/services.py", line 32, in init
self._rebuild_request()
File "/usr/local/lib/python3.4/dist-packages/hbase/services/services.py", line 89, in _rebuild_request
self._host, self._port = zookeeper.get_master(self._zkquorum)
File "/usr/local/lib/python3.4/dist-packages/hbase/services/zookeeper.py", line 40, in get_master
return _get_address(zkquorum, PATH_MASTER, timeout, retries)
File "/usr/local/lib/python3.4/dist-packages/hbase/services/zookeeper.py", line 99, in _get_address
'ZooKeeper does not contain a %s node.' % path
hbase.exceptions.NoSuchZookeeperNodeError: ZooKeeper does not contain a /hbase/master node.
any suggestion, how i can connect to hbase. and maybe on next release version we can search string from all transaction
thanks

Hello, @harissutanrafiq
We don't use any query to access hbase.
I know there are several users who would like to use a similar function as this.
But currently, there isn't any.
If you get to know an easy way for this. Please share with the community

Direct access to the hbase is not recommended.
Reasons for this

The data stored in the hbase is binary. Reading data requires complex decoding.
Specifications of binaryformat may change in the future
Hbase has the advantage of scalability, but its query capability is poor, so there will be very little that can be done through queries.

Recommended Architecture

Flink layer

Works with the search engine (such as ES) on the flink.
Create search index in flink and save it in search engine

Collector layer

Works with the search engine in the collector.
The structure is similar to the flink module.
Advantage : simplie
Disadvantage  : The collector does not provide distributed stream processing, So search engines need to store more data, or they need more processing power.


hide done button above keyboard for iOS

Summary

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

See https://github.com/facebook/react-native/pull/33053#issuecomment-1032334371


Change is_training of tf.contrib.layers.batch_norm to conditional function

tf.contrib.layers.batch_norm is using is_training as a python boolean variable so I may have to define two different ops which share its variables by using reuse=True to the second op.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/layers/python/layers/layers.py#L209
However, I think it is better to use tf.placeholder or other tensor variables as is_training and use tf.cond to dynamically change training and testing phase without defining two different ops. Or is there any better usage of using tf.contrib.layers.batch_norm that I couldn't think of? Also, is tf.contrib.layers.fully_connected ready to use batch_norm as a normalizer_fn (because I guess this is still in contrib for several months)?

I am currently using it like that with my own wrapper around it and think that it is supposed to work like that as tf.contrib.layers.dropout does: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/layers/python/layers/layers.py#L433-L435

@ilblackdragon Could you take a look at this please?

I already have done it internally, it will push soon.

Fixed in https://github.com/tensorflow/tensorflow/commit/9da5fc8e6425cabd61fc36f0dcc1823a093d5c1d#diff-94bbcef0ec8a5cdef55f705e99c2b2ed

do we need to update tensorflow? I tried but it seems it made no difference.

Yeah you need 0.10 https://github.com/tensorflow/tensorflow/tree/r0.10


Custom Jarvis Binary Search Function

This is where I ran into most of my issues with my final project so this will likely be the hardest issue to complete. It is recursive and should be finding which tangent line from each point on each sub convex hull is the most "counter clockwise" to the current point on the overall convex hull.

Most of the work was done in the findTangentPoint() function so I am going to use this to implement it across the entire set of points, right now my test cases account for any hull with 3 or more points so I will likely need to add base cases to handle 1 and 2 point hulls.


pushy native module not loaded,

i've have already hit the "react-native link pushy-react-native" and it is working fine on android but on ios it shows the "Pushy native module not loaded please make sure to run "react-native link pushy-react-native""

Hi @amrshakya,

Did you follow the instructions at https://pushy.me/docs/additional-platforms/react-native?
Open your project in Xcode:

open ios/*.xc*

Clean the project
Rebuild the project
Run the project from Xcode on your iOS device

Does it still throw this error?

Yes i did follow all the instruction as mentioned in the documentation.

it finally worked but now i get this but only on iOS.

it finally worked. but now i got these following warning only on iOS.

Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
Possible Unhandled Promise Rejection (id: 0): Error: Registration failed. Error Domain=NSCocoaErrorDomain Code =3010 "remote notifications are not supported in the simulator"

Hi @amrshakya,

If this is just a warning and the project compiles, please ignore it for now, as our plugin definitely has the RCT_EXPORT_MODULE() declaration:
https://github.com/pushy-me/pushy-react-native/blob/d26870a3f855f6aa94224ece61c6ab1cee18d168/ios/PushyModule.m#L6

As the error states, unfortunately the iOS Simulator cannot register for nor receive notifications. To register for and receive push notifications from APNs using Pushy you actually need to be testing your app on a physical iOS device.

thanks.

Our pleasure. Please reach out with any further questions or issues.

i only want using pushy for Android, get same error... can't get rid of it

Hi @a396901990,
Please reach out to our support e-mail at<EMAIL_ADDRESS>with the full error message and we will be happy to provide further assistance.

@a396901990 were u able to resolve this? i also want it for android only. I am getting the same error


Q and W hotkeys not working for GridMap

Godot version
v4.0.stable.official [92bee43ad]
System information
Windows 10
Issue description
Trying to use the GridMap in Godot 4.  The hotkeys Q and E which raise and lower the floor do not seem to be functional.
Steps to reproduce
Create a new 3D scene and add a GripMap to it.
Draw some tiles in the map.
Press Q and E keys to adjust the floor height.
Observe the floor height does not change,
Minimal reproduction project
SilverBall.zip

They worked in Godot 3, so this is a regression at least.  They also look like shortcuts in the drop down menu, so if they aren't those short cut indicators should be removed.

Cursor Clear Rotation (W) does not work too

Duplicate of https://github.com/godotengine/godot/issues/71916.


Access Your Launchpad Site with SAP Mobile Start

Hi,
Tutorials: https://developers.sap.com/tutorials/mobile-start-access-launchpad-site.html
Issue: Regarding Documentation Update
Here, observation: In the documentation ANDROID tab is missing only IOS tab is mentioned for that Documentation Update is required.
Steps to reproduce:
In STEP 2:  Access QR-Codes in the User Settings
3. In the Settings screen, choose the SAP Mobile Start Application tab.
please refer the below screenshot,
Expected:

Actual:

Please update the documentation as per the screenshot accordingly.
Labels:
Landscape Labels - trail3, trail2
Sprint Label: SCPTest-2302A
Scenario Label: SCPTest-psite
Priority: Medium
Thanks and Regards,
Soumya Gyanapnor

The tutorial got updated with https://github.com/sap-tutorials/Tutorials/pull/23023
With that screenshots got updated to reflect the current state. This also addresses this issue.
Happy to close it now, sorry it took so long.


[ru] Localize Reliability

Description
This Issue is to localize Reliability into Russian.
Checklist before opening your PR (put x in the checkboxes) — note that you have to add this checklist to your PR and check all the boxes for it to be approved.

[] This PR uses the dev-ru branch as a source/target.
[] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

ETA: TBD
Useful links:
Как внести свой вклад
Руководство по стилю
Slack channel
Telegram channel

Assign this to me, please :)

Done 😎


Added support for JSON translations

With this pull request we will be able to use json messages that is supported in Laravel 5/6.
See https://laravel.com/docs/5.7/localization#using-translation-strings-as-keys

Thanks for your contribution!


pythonPackages.wavedrom: init at 2.0.3.post2

Motivation for this change
Add wavedrom (https://github.com/wallento/wavedrompy) for Python.
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 via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution 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.

Result of nixpkgs-review pr 137313 at fb25bbdd run on aarch64-linux 1

2 packages built successfully:

python38Packages.wavedrom
python39Packages.wavedrom

2 suggestions:

warning: no-uri-literals
URI literals are deprecated.
Near pkgs/development/python-modules/wavedrom/default.nix:53:16:
   |
53 |     homepage = https://github.com/wallento/wavedrompy;
   |                ^

warning: python-explicit-check-phase
Consider using pytestCheckHook in checkInputs rather than checkPhase = "pytest";.
Near pkgs/development/python-modules/wavedrom/default.nix:45:3:
   |
45 |   checkPhase = ''
   |   ^

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 137313 run on x86_64-linux 1

2 packages built:

python38Packages.wavedrom
python39Packages.wavedrom


Add FilterPath to SearchRequestDescriptor

I'm migrating from NEST to Elasticsearch .NET Client and noticed that FilterPath can't be configured for a search request.
Please add an option to configure FilterPath similar to the one existing in NEST.
Nuget Version: Elastic.Clients.Elasticsearch 8.11.0

Hi there! PlainRequest actually contains a FilterPath property, but its use is disabled as for the reason stated in the documentation:
/// <summary>
///     A comma-separated list of filters used to reduce the response.
///     <para>
///         Use of response filtering can result in a response from Elasticsearch
///         that cannot be correctly deserialized to the respective response type for the request.
///         In such situations, use the low level client to issue the request and handle response deserialization.
///     </para>
/// </summary>
[JsonIgnore]
public string[] FilterPath
{
    get => Q<string[]>("filter_path");
    set => Q("filter_path", value);
}


Question:

What is your installation issue?
localcolabfold fails to run even tiny peptide sequences with cuda out of memory errors.  I was encouraged by the README indicating that GPUs were optional.  My environment has a small GPU built into the laptop (2Gb) of RAM, and I am testing with something small, but even that fails.
Computational environment

OS: [WSL2]
CUDA version if Linux (Show the output of /usr/local/cuda/bin/nvcc --version.)

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

Output from colabfold_batch input.fa output with a   < 25 aa peptide.
WARNING: You are welcome to use the default MSA server, however keep in mind that it's a
limited shared resource only capable of processing a few thousand MSAs per day. Please
submit jobs only from a single IP address. We reserve the right to limit access to the
server case-by-case when usage exceeds fair use. If you require more MSAs: You can
precompute all MSAs with `colabfold_search` or host your own API and pass it to `--host-url`

2023-09-01 15:31:25.996296: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2023-09-01 15:31:30.007547: E external/org_tensorflow/tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:114] *** WARNING *** You are using ptxas 10.1.243, which is older than 11.1. ptxas before 11.1 is known to miscompile XLA code, leading to incorrect results or invalid-address errors.

2023-09-01 15:31:30.285635: E external/org_tensorflow/tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:114] *** WARNING *** You are using ptxas 10.1.243, which is older than 11.1. ptxas before 11.1 is known to miscompile XLA code, leading to incorrect results or invalid-address errors.

2023-09-01 15:31:30.354863: E external/org_tensorflow/tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:114] *** WARNING *** You are using ptxas 10.1.243, which is older than 11.1. ptxas before 11.1 is known to miscompile XLA code, leading to incorrect results or invalid-address errors.

2023-09-01 15:31:39.206490: E external/org_tensorflow/tensorflow/compiler/xla/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_OUT_OF_MEMORY: out of memory
2023-09-01 15:31:39.206559: E external/org_tensorflow/tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:695] could not allocate CUDA stream for context 0x3bb5e40: CUDA_ERROR_OUT_OF_MEMORY: out of memory

To Reproduce
Fresh installation in WSL2 with current install script and supporting nvidia libraries.
Set up environment variables as suggested
export TF_FORCE_UNIFIED_MEMORY="1"
export XLA_PYTHON_CLIENT_MEM_FRACTION="4.0"
export XLA_PYTHON_CLIENT_ALLOCATOR="platform"
export TF_FORCE_GPU_ALLOW_GROWTH="true"

Expected behavior
I was expecting it to attempt to fold my small input.  I was hoping that should it have insufficient GPU ram on my modest GPU ( I think it has just 2Gb), that it would use regular RAM, or that there would be an option to ignore the GPU, but it instead seems to try to use the GPU and fail.  This might be a) impossible  b) something I'm missing in the docs, or c) an install problem?
thanks in advance
Darren
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.30.02              Driver Version: 531.14       CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Quadro M620                     On | 00000000:01:00.0  On |                  N/A |
| N/A    0C    P0               N/A /  N/A|    965MiB /  2048MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

A ~20 aa peptide needs more than 2 GB GPU memory
and it seems that only 1 GB was available when you ran no processes

Open localcolabfold\colabfold-conda\bin\colabfold_batch, add the code at the beginning to disable the GPU:
import os
os.environ["CUDA_VISIBLE_DEVICES"]="-1"

By the way, your Cuda compiler driver version is lower than 11.1

Thanks! -  a few docs on the various environment variables wouldn't go astray.  I copied the recommended ENVs for my WSL2 bash_profile but didn't find any explanation on what they do.  That's very helpful though - I think that solves my problem.   As for the compiler driver version,  I used the setup script for this project to install everything, and then even tried to update the cuda drivers separately when it wasn't behaving and I noticed the same discrepency.  No shade on you but the expletive-show of python and nvidia package management is so spectacularly bad at this point that I'm impressed anyone ever gets a working environment.  I'm contemplating nuking my WSL instance from low earth orbit and starting over.  It probably doesn't help running WSL2 under windows, but Python and Nvidia have both demonstrated they shouldn't be allowed to version things and release them unsupervised.


Throttle calls to GetRecords

https://github.com/remind101/kinesumer/issues/26
This will throttle calls to GetRecords to a maximum of 5 calls per second, by default, which is recommended in the Kinesis documentation.

👍


Do not fail on unhappy CodeCov

Issue
We have enabled CodeCov to see the tests coverage statistic, but it makes CI/CD unhappy.
Solution
Do not fail CI/CD for now. At the moment we are running CodeCov for statistic only, we are not enforcing committers to make CodeCov happy. One day in the future, we will re-consider this.

Although it can be a PITA, it's for the best.

Sold. Abandoning for now. The last commit contains the config example we can use if necessary.


How to use two pools on the same ip?

I am not sure this is much related to MPOS but I hope to receive an advice here. I have two vps with the same ip.
Let say pool 1 is using <IP_ADDRESS>:80.
Pool 2 is using <IP_ADDRESS>:79.
This is how to connect miner to pool 1: ./cgminer --scrypt -o stratum+tcp://<IP_ADDRESS>:3333 -u Weblogin.WorkerName -p WorkerPassword
My question is how to connect miner to pool 2?

This isn't related to MPOS indeed and a very basic question. Use Pool 2 IP instead of Pool 1 in your minerd. Always depends on where you stratum is running really.

Use a reverse proxy to forward ports. try googling it,


How I can use wherePivot in controller

Laravel Version: 5.4
PHP Version: 7
Database Driver & Version:

Description:
I am using pivot columns in manytoMany relationships.
when i use wherePivot('column', '=', 'val') in relationship method of model. Its working fine.
But i need to make 'val' dynamic. It might be 1,2,3 etc.
I want to do it in controller but its not working.
$model->{relationMethod}()->wherePivot() also not working
How i can use dynamic values in where pivot???
@greut @ceejayoz @wuwx @phaza @gslin
Steps To Reproduce:

This repo is for bug tracking. Use the forums or slack channel for solving your issue

Please ask on the forums, this repo is for bug reporting only. You can use https://laracasts.com/discuss or https://laravel.io/forum which are forums with a very large community of developers helping each other.


Use split glob pattern for identifier, force relative path

This PR does the following:

Moves helper functions such as makeImport, freezeNamespaceObject, and makeNamespaceObject out of the main function body.

Forces path to be relative, even if glob: is used.

Removes common-path-prefix and common-extname in favor of breaking apart the glob expression. The unique portion is used.
GlobSync is used instead of glob.sync to get more information. glob.sync is a helper of GlobSync that returns the result.found.
result.minimatch.set is the expression split by /. Minimatch, glob's matching library, represents literal parts of the expression as a string, dynamic parts as a RegExp, and ** as GLOBSTAR (ref constant).
NOTE: Glob supports more than one expression. So set is actually a 2-D array. Since 1 expression is only used in this package, the outer array always has a length of 1. So in the code we actually use set[0].
The min and max part of the split expression is used as unique part of the path:

./foo/*/bar/*/bat.js resolves to */bar/*
./foo/*/bar/*.js resolves to */bar/* (if filename is included extension is removed)

Ok, so I was removing the whole extension using nodePath.extname. The issue with this is you could have conflicts if you had something like foo.one.txt and foo.two.txt. That was the point of common-extname.
The issue with common-extname, however, is it would remove .one.txt if you only had .one.txt. That would change if you added a file with .two.txt into the same directory.
So I figured I would do something more determinate. The extension is pulled from the import expression. For example, if you have a pattern like *.js only .js is removed. If you have a pattern like *.one.js then .one.js is removed. The key - it will always be this way because a file with .two.js will not be included unless you change the pattern. Including new files now won't change the behavior.

@novemberborn I'm done with the first pass. I mostly focused on adding brace support. Several of the items above are fixed, although with the code changes I'm sure there will be more comments.
I did not remove the two tests yet - I think it may be a good idea to go thru each test and clean it up a bit. I thru in a couple brace tests using existing figures, which may not make much sense. When I have more time I can go over the tests in more detail.

I made all the review changes mentioned above. At some point I want to revisit the tests and go over them in more detail, but that shouldn't hold up the merge.
Sorry for the delay. I've been dealing with a family crisis since last week.

Thanks, I'll try and have a look tomorrow.

Sorry for the delay. I've been dealing with a family crisis since last week.

No worries, that's far more important. Hope it ends well.

I've pushed some tweaks, mostly renaming the very short variables which, for me at least, helps with readability.
I've also tried to refactor the makeSubpathExpressions function but I'm a bit confused by parts of it. I've added FIXME comments for that. Perhaps you could elaborate on those?
I'd like to take a pass through the README to make sure it's phrased in terms of the new glob-determines-name behavior. I haven't looked in depth at the tests yet.

I've also tried to refactor the makeSubpathExpressions function but I'm a bit confused by parts of it. I've added FIXME comments for that. Perhaps you could elaborate on those?

My earlier comments no longer show. Basically, yes, that code was for matching braced patterns. The logic was basically if one of the other patterns did not match, it was dynamic even if it was a string. Which was only a problem if it was at the end. For exampe,foo.{csv,txt} produces foo.csv and foo.txt.
I refactored the code to stop using globSet (not documented anyway) and I match the extension from the RegExp pattern instead. I also place the ending ) before the extension, so I no longer have to treat extension separately. Also it now creates a single RegExp for all sets.

I've been at a conference this weekend, will try to have a look at this tomorrow.
Meanwhile, is it OK if I add you as a maintainer on this repo and npm? These are really great contributions.

@lukescott very nice!
I've pushed a fix for patterns like {a,b/c}/d, in which case the minimatch.set array contains pattern lists of varying lengths. This was quite tricky to work through so I ended up rewriting a fair bit of your recent code. I'm also using Set() to obviate the need for lodash.uniq. Let me know what you think.

(Still need to review tests and update the readme).

Hmmm. I didn't consider / inside the brace. What happens with multiple instances of those in different positions? minimatch's makeRe takes separate patterns and combines them with |. With flattenSet I was trying to make a shorter pattern. I think it may be easier (and more readable) to revert it to the original makeSubpathExpressions and simply join each expression with a |.

Hmmm... I didn't consider / in path. What happens when you have more than one of these? I'm not sure I fully understand what's going on in the revised code.

Here are a couple interesting patterns:
./fixtures/{use-dir-name,}/{one,two,thr/ee}/foo.txt
./fixtures/{use-dir-name,use-dir/name2}/{one,two,thr/ee}/foo.txt

Which generates
^(?:\.)/(?:fixtures)/((?:use-dir-name|one|two|thr)(?:/(?:one|two|thr|ee))?(?:/(?:ee))?)/(?:foo\.txt)$
^(?:\.)/(?:fixtures)/((?:use-dir-name|use-dir)/(?:one|two|thr|name2)(?:/(?:ee|one|two|thr))?(?:/(?:ee))?)/(?:foo\.txt)$

The expressions are less precise. They allow for invalid matches... although glob has already done matching, so maybe it's ok?
minimatch's makeRe makes each expression separately and joins with |. It's a longer expression though:
/^(?:\.\/fixtures\/use\-dir\-name\/one\/foo\.txt|\.\/fixtures\/use\-dir\-name\/two\/foo\.txt|\.\/fixtures\/use\-dir\-name\/thr\/ee\/foo\.txt|\.\/fixtures\/use\-dir\/name2\/one\/foo\.txt|\.\/fixtures\/use\-dir\/name2\/two\/foo\.txt|\.\/fixtures\/use\-dir\/name2\/thr\/ee\/foo\.txt)$/
/^(?:\.\/fixtures\/use\-dir\-name\/one\/foo\.txt|\.\/fixtures\/use\-dir\-name\/two\/foo\.txt|\.\/fixtures\/use\-dir\-name\/thr\/ee\/foo\.txt|\.\/fixtures\/one\/foo\.txt|\.\/fixtures\/two\/foo\.txt|\.\/fixtures\/thr\/ee\/foo\.txt)$/

The reason we don't use minimatch's makeRe is because it lacks capture / extension isolation.

I created a package called minimatch-capture, which now does most of the heavy lifting for capturing. This package has been slimmed down quite a bit. minimatch-capture has 67 tests covering varying use cases.
One change is braces are no longer considered capturable by themselves. For instance, with the path ./fixtures/use-dir-name/{one,two,thr/ee}/foo.txt there is nothing to capture because it is split into 3 patterns.
In that test I changed it to ./fixtures/use-dir-name/{!(sub),@(sub)/*}/foo.txt, which captures:
./fixtures/use-dir-name/one/foo.txt = one
./fixtures/use-dir-name/two/foo.txt = two
./fixtures/use-dir-name/sub/three/foo.txt = sub/three
./fixtures/use-dir-name/sub/four/foo.txt = sub/four

You can change the pattern to ./fixtures/use-dir-name/{!(sub),sub/*}/foo.txt, which captures:
./fixtures/use-dir-name/one/foo.txt = one
./fixtures/use-dir-name/two/foo.txt = two
./fixtures/use-dir-name/sub/three/foo.txt = three
./fixtures/use-dir-name/sub/four/foo.txt = four

The reasons for this:

The test ./fixtures/ext-from-pattern/*.{txt,csv} wants to omit the extension. minimatch-capture doesn't care about extension.

When I tried to make minimatch-capture's split method include braces and figure out the left/middle/right before expanding the pattern, it broke a lot of tests. The matching was no longer consistent with minimatch.

Hey @lukescott, apologies for dropping off the radar. Will try to get back to you on this tomorrow.

I created a package called minimatch-capture, which now does most of the heavy lifting for capturing. This package has been slimmed down quite a bit. minimatch-capture has 67 tests covering varying use cases.

Awesome!

One change is braces are no longer considered capturable by themselves. For instance, with the path ./fixtures/use-dir-name/{one,two,thr/ee}/foo.txt there is nothing to capture because it is split into 3 patterns.
In that test I changed it to ./fixtures/use-dir-name/{!(sub),@(sub)/*}/foo.txt

If I'm understanding this correctly, * and ** are automatically captured. You can use !(pattern), ?(pattern), +(pattern), *(pattern) and @(pattern) to ensure other path components are captured. Brace expansions are not necessarily captured, unless they're between other capture groups. For example ./*/{foo,bar}/*.txt causes foo and bar to be included in the identifiers. Otherwise it's not possible to capture brace expansions (({foo,bar}) doesn't work), so they have to be rewritten using the parentheses-matching syntax.
I've updated the tests and the readme, though we should probably document the capturing behavior better, especially as it comes to brace expansions. Beyond that I think this is good to go!

If I'm understanding this correctly, * and ** are automatically captured. You can use !(pattern), ?(pattern), +(pattern), (pattern) and @(pattern) to ensure other path components are captured. Brace expansions are not necessarily captured, unless they're between other capture groups. For example .//{foo,bar}/*.txt causes foo and bar to be included in the identifiers. Otherwise it's not possible to capture brace expansions (({foo,bar}) doesn't work), so they have to be rewritten using the parentheses-matching syntax.

Yep, that's correct.

Landed! 🚀 ✨ 🎉  And shipped as 2.0.0!
I've added you to this repo and on npm as well. Many many thanks for pushing this new approach.


Bridging Header?

I'm unfamiliar with this term. Do I add this to an existing header file?

Nevermind. It's obvious once you add files in XCode.


Update to Laravel 10?

Is an update to Laravel 10 on your roadmap?

Thanks for pinging. Now it's on the roadmap :)

Version 1.2.0 supports Laravel 10.
Thanks again for pinging! :tada:

That is so great. Thank you very much.


lazySizes and columns (CSS) ... !?

I guess it's impossible to instruct lazySizes to lazyload images which are loaded by CSS order (columns) ... isn't it? See what happens on this page ... and scroll ... :o

lazySizes loads the image in the visual order (CSS) not in structural order. This means it is possible. The problem is that your layout changes after images are loaded. To fix this you should follow the readme.


Identify Internal Champions

This is just a placeholder ticket created on Friday, Oct 1. Will build this out!
Acceptance Criteria:

[x] Identify who we think internal champions are
[x] Get feedback from Matt
[ ] Send email to key players notifying them of their key player status & asking if there's anyone we missed
[ ] Notifying of upcoming Key Player meetings (both for Personas and Process mapping)

Hi @jaimiebutton, MZ has provided some names as primary contacts/Champions for the team:

Main point of contact: Taylor
External User Engagement: Meghan
Tech Team: Shelby
Development Team: Taylor (same as primary contact)
Operations Team: Amanda

I'm sure others will emerge, but this is a good start :)


Build with Bazel

Bazel is Google's build system...
But more importantly, it seems like with Bazel we'd get the advantages of having a repeatable build that we're trying to get with Glide, but without having to check all the third party code in to Git.

Lets not switch to Bazel till Milestone 1. Don't want to have destruction and new learning curve.


[stable/prestashop] Improve upgrade instructions in NOTES.txt

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
This PR improves the upgrade instructions in NOTES.txt
Checklist

[x] DCO signed
[x] Chart Version bumped

/ok-to-test
/lgtm


Update Composer dependencies (2021-10-11-00-13)

Visual regression test passed!
View the visual regression test report


Test ES test util flakiness

Just testing flakiness of the ES test util.

@shirshanka @gabe-lyons looks like there is no problem with ES test utils flakiness.


Add sorting to range use plan list

Reimplements the range use plan table using material-ui.
Very little styling has been done so far to make this table look the same as the old one.
Old table:

New table:

Relies on https://github.com/bcgov/range-api/pull/143
Relates to #562

Why status isn't sortable yet:  @LisaMoore1 the challenge presented by sorting on Status is that its figured out client side and is dependant on who is viewing the queue (because of our role-based status set up).  I think @calebissharp if we are continuing to roll with that we should do what we talked about this morning and make the table have the smarts to make the sort work alphabetically for both RO and AH.  The alternative is we all switch to using one status which simplifies things, although we'd have some unraveling to do there as well.
Otherwise looks good so far buddy.  It's not styled exactly like the original but we'll let @LisaMoore1 pick what is most important to improve upon first other than sorting on status (unless she thinks otherwise).

@LisaMoore1 I've added another "status code" column, which can be sorted alphabetically, as a solution for now.
This is what it looks like:

How's this looking @micheal-w-wells?

I think if we can sort by RAN, Agreement Holder and some sort of course on status that solves our main sorting need. Someday filtering on status would be idea.

Looks good to me @calebissharp : )

`/home/runner/work/range-web/range-web/node_modules/liftoff/lib/file_search.js:10
path = findup(search, {cwd: paths[i], nocase: true});
^
TypeError: findup is not a function`. Other than this : P

@micheal-w-wells Finally figured out how to get the action to successfully complete. Going to merge this now.


Can't open datapackage from a localhost URL

Current Behaviour
Unable to open data packages from localhost URLs
When you attempt to open a datapackage from a http://localhost/.... URL an error is displayed and the and the package isn't loaded when you click Open URL
Expected Behaviour
No error message and open the data package from the specified localhost URL.
Steps to Reproduce

Run Data Curator
Choose File -> Open Data Package -> json from URL
Enter  http://localhost/anything

The message "The url-dialog field is not a valid URL." is displayed within the dialog.
Your Environment
Windows 10 Enterprise
Data Curator version 0.18.5

Hi @chrislove
You're correct - the validation on the URL is looking for a typical external URL format, with the required dot-3 letter designation.
In an ideal wishlist: the menuitems would have had an extra one reading:

zip from URL...
zip from file...
json from URL...
json from file...

Unfortunately in the prioritising of functionality, open json from file was cut.
I've linked this ticket in to the existing reference, should this be prioritised again to add as a new feature.


[Ask] Can I set the bot to capture mode but do not move from certain location?

Expected Behavior
The bot stay still in one location waiting pokemon to spawn from the pokestops with lures.
Actual Behavior
The bot move away
Steps to Reproduce
Login from phone, look for pokestop with lures then find the exact position to get spawn from the pokestop. Then set the bot to that location.

use --maxstep 1

make sure to NOT add the -s

thx @douglascamata ! cheers

Is it actually possible to stay at a spot and just spin the pokestops around you?


Teach the generic specializer how to convert @in_guaranteed parameters to @guaranteed parameters.

radars rdar://problem/37947612 and rdar://problem/33767770
We already do this for @in parameters. I think it was just never implemented for
@in_guaranteed. The reason I am doing this now is that a bunch of test cases
that tested @in -> trivial. By doing this I get the @in_guaranteed -> trivial
implying those test cases do not need to be updated.
Important Note: We have bad test cases for resilience when dealing with generic specializer. Also add correct test cases + change existing ones

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge

@swift-ci smoke test linux


Re-enable HTTP/2 for Go 1.7.

This re-enables HTTP/2 with Go 1.7. I am defensively setting the map to {"h2"}, if caddytls.MakeTLSConfig didn't set anything beforehand. Does that make sense?
It works on my public server.
fixes #975

Cheers Wolfgang!
The only issue I wonder about -- not a showstopper for now -- is if the MakeTLSConfig() function will ever set next protocols so that it's not empty. In that case, HTTP/2 would not be enabled again. But I can't see why MakeTLSConfig would be modified to set NextProtos because that function is agnostic of the application layer (like HTTP). So I think I'll merge this in, but we should probably get some tests in place to ensure HTTP/2 is enabled when it is supposed to be. (Although these tests will require a new harness that doesn't exist yet, and is a different topic entirely.)

Hey Matt, exactly my thoughts and that's why I didn't want to merge w/o review.

I wonder about is if the MakeTLSConfig() function will ever set next protocols so that it's not empty. In that case, HTTP/2 would not be enabled again.

Maybe "hard setting" would be better in order to "fail early" when someone fiddles with NextProtos() inside MakeTLSConfig(). But then again I think spending some energy on some sort of test harness is a better investment in order to prevent regressions. When I was writing this fix I was looking at the test files at the vicinity of this code and didn't find anything except trivial or very sparse special case tests. So I've stopped there. Or to put it differently: Lack of tests discourages writing tests.


Feature/get account transactions pagination implementation

What is this pull request?
GetAccountTransactions rxstuff implementations
Why do you implement it? Why do we need this pull request?
Separate PR of https://github.com/hyperledger/iroha/pull/650
Details/Features

Add pagination into GetAccountTransactions
Remove GetAccountTransactions, GetAccountAssetTransactions and their query registrations test
Add TODO and comment out Redis implementation.

Same Rx stuff implementations of https://github.com/hyperledger/iroha/pull/650

Codecov Report

Merging #717 into trunk/get-transactions-pager-queries will increase coverage by 0.14%.
The diff coverage is 0%.

@@                           Coverage Diff                            @@
##           trunk/get-transactions-pager-queries     #717      +/-   ##
========================================================================
+ Coverage                                 42.91%   43.05%   +0.14%
========================================================================
  Files                                       307      309       +2
  Lines                                     12501    12255     -246
  Branches                                   6940     6714     -226
========================================================================
- Hits                                       5365     5277      -88
- Misses                                      704      847     +143
+ Partials                                   6432     6131     -301

Impacted Files
Coverage Δ

test/module/irohad/torii/torii_queries_test.cpp
9.16% <ø> (-1.29%)
:arrow_down:

libs/generator/generator.hpp
80% <ø> (ø)
:arrow_up:

.../irohad/model/converters/pb_query_factory_test.cpp
9.09% <ø> (+1.15%)
:arrow_up:

irohad/model/queries/get_transactions.hpp
0% <ø> (ø)
:arrow_up:

irohad/model/query_execution.hpp
100% <ø> (ø)
:arrow_up:

irohad/model/registration/query_registration.hpp
22.22% <ø> (+2.22%)
:arrow_up:

irohad/ametsuchi/block_query.hpp
50% <ø> (ø)
:arrow_up:

test/module/irohad/ametsuchi/ametsuchi_test.cpp
16.53% <ø> (+0.5%)
:arrow_up:

irohad/model/converters/pb_query_factory.hpp
100% <ø> (ø)
:arrow_up:

irohad/ametsuchi/impl/redis_block_query.hpp
0% <ø> (ø)
:arrow_up:

... and 21 more

Continue to review full report at Codecov.

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

Sonarqube

BLOCKER generator.hpp#L19: Reserved name used for macro (contains two consecutive underscores)

Fix it by rebasing trunk after review.

Ah, tests are in #718, i think you can merge these prs in one

RedisBlockQuery::reverseObservable itself doesn't have unit test for now. If Redis implementation uses this, I'll create its test.

Sonarqube reports 2 critical issues but fixing this seems out of the task of this PR.


Fix pagination count for TSPPs on Admin App

Description
On admin app, fixes pagination total when TSPPs are filtered.
Setup
On admin app
go to TSPP Page
filter by Traffic Distribuition List id = f761a999-03c6-4b36-95a7-c035a8e7453c
Total count (as seen in pagination bar) should match number of records shown.
Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

@Igarfinkle would you be ok adding the new count method to the rest of the list endpoints in the admin app in this PR? Might not make sense to create separate stories for other endpoints since the bug affects them all equally.


Automated cherry pick of #947: support add pid file

Cherry pick of #947 on release/2.9.0.
#947: support add pid file

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.9.0@794d1b9). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             release/2.9.0    #950   +/-   ##
===============================================
  Coverage                 ?   7.56%
===============================================
  Files                    ?     343
  Lines                    ?   53861
  Branches                 ?       0
===============================================
  Hits                     ?    4075
  Misses                   ?   49406
  Partials                 ?     380

Flag
Coverage Δ

#aFlag
7.56% <ø> (?)

Continue to review full report at Codecov.

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

/lgtm
/approve


dependencies updated

closes #20

No description provided.

Please attach issue number from next time on PR :+1: . #20
Also can you add the .idea to the gitignore doesn't seem relevant here!

.idea is folder is added to gitignore

Solve the merge conflict

merge conflict resolved

Is my branch merged with master ?

Because on pulling the master, its showing 4999 vulnerabilities


Error list image path

hi,
when i run code your code in Colab have error at line 106 demo/demo.py:
106| args.input = glob.glob(os.path.expanduser(args.input[0]))

it not return a list of image path. but if change:
106| args.input = [args.input[0] + '/' + name for name in os.listdir(args.input[0]) if name.endswith(('png', 'jpg', 'jpeg'))]

it work!
And the mask result not good as you said, can you tell me how to get a perfect result as your paper

This is script we recommend for visualization. Current checkpoint is a retrained beta version, we will update the final released checkpoints before CVPR.


No peers and source available

Yesterday I have downloaded the Mooncoin Wallet, but it took ages for syncing. So I searched and found the cryptochainer.com. Now he says that I have only twee weeks left for syncing, but he doesn't have a source available and there are no peers. So he isn't syncing. What to do?

If you don't have mooncoin.conf file inside (like in my case) - just create it and add inside all lines from baziez comment.

addnode=<IP_ADDRESS>:44664
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>:44664
addnode=<IP_ADDRESS>:44664
addnode=<IP_ADDRESS>:44664

fixed in #15


Capturing technical nuances in Slim CI

What are you changing in this pull request and why?
Capturing the technical details @joellabes suggested in a previous fix to improve this page.
Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry _redirects
[ ] Ran link testing to update the links that point to the deleted page

@joellabes David updated the UI! I edited the changes and wanted your final ✅  to see if this looks ok to you


 As part of converting to use slog, several other
related changes are required to get prometheus working, including:

removed unused logging util func RateLimit()
forward ported the util/logging/Deduper logging by implementing a small custom slog.Handler that does the deduping before chaining log calls to the underlying real slog.Logger
move some of the json file logging functionality to use prom/common package functionality
refactored some of the new json file logging for scraping
changes to promql.QueryLogger interface to swap out logging methods for relevant slog sugar wrappers
updated lots of tests that used/replicated custom logging functionality, attempting to keep the logical goal of the tests consistent after the transition
added a healthy amount of if logger == nil { $makeLogger } type conditional checks amongst various functions where none were provided -- old code that used the go-kit/log.Logger interface had several places where there were nil references when trying to use functions like With() to add keyvals on the new *slog.Logger type

@SuperQ if you don't mind taking a look when you have time as well, I'd appreciate it!
And sorry all for the massive change set :sweat_smile:

Opening as draft for now so it's known that there's work in progress -- still need to fix up tests around the custom query log testing that's done in cmd/prometheus/query_log_test.go, but I believe that should cover most things.
It builds and has been running well for me in my testing so far; feedback welcome!

@bboreham I believe this is ready for a re-review. I've rebased on current upstream main, incorporated fixes for some of the feedback provided so far, and go tests working locally.
Things work locally using go workspaces, but as I mention in the updated PR description, this requires functionality in 2 PRs that haven't made their way to an upstream release yet in prometheus/common. Because of this, test failures should be expected as things fail to compile for obvious reasons.

Pin to a commit in go.mod ?

Pin to a commit in go.mod ?

Sure, I can do that. I'd prefer not to do that at merge time, but happy to do that for now at least.

All lights are green (after pinning prometheus/common to commit) :upside_down_face:

I plan to cut a prometheus/common tag after https://github.com/prometheus/common/pull/700.

Bumped prometheus/common to v0.60.0, rebased to solve a merge conflict, squashed commits, and updated commit description to match current state :+1:

@roidelapluie Yea, I don't like the full path either. We haven't been able to figure out a way to get the relative path. :disappointed:
We could change this in the promslog package to only print the filename like we had in go-kit logging.

didn't we go for ts ?

We did in the past and promslog will format the timestamp key as ts when using the legacy GoKitStyle formatting. Since 3.0 presents the opportunity for breaking changes, it was decided to keep it as is and adopt slog as much as possible. Should we revisit that stance?

Also, I'm just noticing the lack of a Z in the default slog timestamp in that log; doesn't prometheus have an explicit UTC-everywhere policy? If so, I would vote to alter that from the default behavior to use UTC always in our lib

I think we should keep as much of slog format as possible. time is fine instead of ts.

Please excuse the frequent force pushes -- this PR touches a ton of stuff and I'm trying to stay on top of all the merge conflicts, heh

Agreed, I'd love for this to have some time in a RC before the 3.0 launch

resolved another merge conflict and fixed up go mods that got messed up earlier

Mmh, I see slog does not return error, but we sill moved query logger to slog?

Yes, so far we've been operating with the goal of "full slog adoption" as much as possible. The QueryLogger interface has been updated to match the slog sugar logger methods available, the difference being that With() on the query logger does not return a new logger but rather updates the querylogger's internal logger.
I had some similar thoughts. Do you have any thoughts/opinions?

I'm game for merge. Like @SuperQ had mentioned a ways above, let's get it in and iterate on improvements :+1:

@roidelapluie As far as I remember looking at the go-kit/log code, the Log() interface swallowed all errors anyway and always returned nil. I think it was only there for internal use or something like that. This is why we added an exception to golangci-lint configs to ignore errcheck issues.
Which reminds me, @tjhop , you can remove this from the .golanci.yml
      # Never check for logger errors.
      - (github.com/go-kit/log.Logger).Log

Which reminds me, @tjhop , you can remove this from the .golanci.yml

Woops, I had it in there at one point, must've lost in one of the recent rebases. Thanks!

Did a thorough self-review and see a few other spots to tidy up, will get things better cleaned up


Rename autorest.csharp branch feature/v3 to main

The default branch for autorest.csharp is being renamed from feature/v3 to main

API change check
API changes are not detected in this pull request.


Expression language variables and functions in UI

Hardcoded for some languages. It would be great to have in camel-catalog


Error install Xcode 9 Beta 2

$ xcversion install "9 beta 2"
######################################################################## 100.0%
Please authenticate for Xcode installation.
Password:
/Applications/Xcode-9.app: a sealed resource is missing or invalid

This is the second time this has happened, and I don't know what to do to make it succeed, since no other information is being printed 🙃
Happening with v2.2.0

Can confirm I get the same.

Interestingly I just manually extracted Xcode 9 beta 2 from the .xip and dragged it to /Applications after first rm -rf'ing my beta 1 app. I ran this: spctl --assess --verbose=4 --raw --type execute /Applications/Xcode-9.app, which seems to be the same invocation xcode-install uses except with the addition of the --raw option, and this was the result:

And now I don't see the issue happen at all verifying it within the Caches dir, on a different computer which has once already verified the first Xcode 9 beta, no matter the name of the bundle (which I wouldn't have though would create an issue, but just to simulate the same thing XcodeInstall does):
➜  xcode-install git:(master) ✗ spctl --assess --verbose --raw /Users/tsutton/Library/Caches/XcodeInstall/Xcode-beta.app
/Users/tsutton/Library/Caches/XcodeInstall/Xcode-beta.app: accepted
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>assessment:authority</key>
	<dict>
		<key>assessment:authority:flags</key>
		<integer>2</integer>
		<key>assessment:authority:row</key>
		<integer>3</integer>
		<key>assessment:authority:source</key>
		<string>Apple System</string>
	</dict>
	<key>assessment:remote</key>
	<true/>
	<key>assessment:verdict</key>
	<true/>
</dict>
</plist>

➜  xcode-install git:(master) ✗ spctl --assess --verbose --raw /Users/tsutton/Library/Caches/XcodeInstall/Xcode-9.app
/Users/tsutton/Library/Caches/XcodeInstall/Xcode-9.app: accepted
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>assessment:authority</key>
	<dict>
		<key>assessment:authority:flags</key>
		<integer>2</integer>
		<key>assessment:authority:row</key>
		<integer>3</integer>
		<key>assessment:authority:source</key>
		<string>Apple System</string>
	</dict>
	<key>assessment:remote</key>
	<true/>
	<key>assessment:verdict</key>
	<true/>
</dict>
</plist>

Same issue with beta 4

I am seeing same error on 9 beta 5. Is there any solution for this.

Same error on 9 beta 6
/Applications/Xcode-9.app: rejected (unsealed contents present in the bundle root)

I experience the same message on High Sierra with Xcode 9


 should allow null for conditional item

Describe the bug
Navigation children only allowed NavigationChildren type, by many cases, I need pass null for navigation hidden
Steps To Reproduce
Steps to reproduce the behavior:
<Navigation>
  {isAdmin ? (
    <NavigationItem key="/accounts">
      Accounts
    </NavigationItem>
  ) : null}
</Navigation>

Expected behavior
Allow null and ignore to render
Screenshots
N/A

should allow fragment wrapped children too, for complex conditions combination.
<Navigation>
  <>
    <NavigationItem key="/topics">
      Topics
    </NavigationItem>
    <NavigationItem key="/accounts">
      Accounts
    </NavigationItem>
  </>
</Navigation>


Is there any way to model a non-power-of-two bracket?

Unfortunately there is no built-in support for it at the moment. See #8 for discussion. Closing as duplicate.


Cannot fetch neurons with Mouselight API

I am unable to download neurons using the MouseLightAPI (version 0.1.7 of morphapi) , for all neurons I try to download, I receive the follwing error:

Could not fetch the neuron AA1544 for the following reason: URL request failed: Not Found ; url: http://neuromorpho.org/api/neuron/name/AA1544

Going to the URL also suggests that the link is incorrect (

{"status":404,"error":"Not Found","message":"Requested neuron not found","path":"/api/neuron/name/AA1544"}

).
To Reproduce
I tried to run the following code, but no matter which neuron metadata subset from the Mouselight database I provide, it does not work.
from morphapi.api.mouselight import MouseLightAPI
mlapi = MouseLightAPI()

neurons_metadata = mlapi.fetch_neurons_metadata(
    filterby="soma", filter_regions=["SSs"]
)

neurons = mlapi.download_neurons(neurons_metadata[0])

I expect to be able to download the swc files for the neurons to process them.
Computer used (please complete the following information):

OS: Windows 10.
Hardware specs 128 GB RAM, Intel I9 CPU].

Hi @Antorithms
Thanks for your report, as far as I can see this is just because HTTP is no more supported and we have to switch to HTTPS. #24 should fix this.

The new 0.1.8 release should fix this issue.


Rename default relay connection api builder method from "connectField" to just "connection"

Instead of:
t.connectionField

How about just:
t.connection

WDTY @tgriesser @Weakky ?

I personally don't care that much. It depends on which angle you look at it, but I like the symmetry between t.field and t.connectionField.
I see how there's no symmetry with t.<scalar> nor t.<model|crud>, but, given that in both cases you'd start typing t.connection[...], IntelliSense will suggest you t.connectionField.
IIRC though, it used to be called t.connection. Not sure it's worth a breaking change but don't have a strong opinion

Eh, I remember going back and forth, specifically landed on connectionField (as @Weakky mentioned) for symmetry w/ field, did some user research and it seemed connectionField sounded clearer as to what it was doing.
You can also change it if you want connectionPlugin({ nexusFieldName: 'connection', })


make import/extensions apply for require() also

would be sweet if the "require extension" rule could apply to require() also

What happens if you set commonjs to true in the config?


Ability to exclude time from output

<
What would you like to be added:
By default the plugin uses the fluentd field time as an output field and optionally allows you to specify time_key. Could we please have the ability to exclude the time field entirely and let Splunk's props parsing extract a time from the event?
Why is this needed:
I'm sending access_combined logs and instead of using the time embedded in the event, it's using the time it passes through fleuntd. This is causing all the timestamps to be incorrect.

If anyone else stumbles on this, I worked around it like so:
<filter http_logs>
    @type parser
    key_name message

    <parse>
      @type regexp
      expression /(?<message>.*\[(?<logtime>\d{2}\/\w+\/\d{4}:\d{2}:\d{2}:\d{2} \+\d{4})\].*)/
      time_key logtime
      time_format %d/%b/%Y:%H:%M:%S %z
    </parse>
  </filter>

<match http_logs>
    @type splunk_hec
    hec_host $HOST
    hec_port 443
    hec_token $TOKEN
    protocol https

    index http
    sourcetype access_combined
    source ${tag}
    time_key logtime

    <format>
      @type single_value
      message_key message
      add_newline true
    </format>
  </match>

If anyone else stumbles on this, I worked around it like so:
<filter http_logs>
    @type parser
    key_name message

    <parse>
      @type regexp
      expression /(?<message>.*\[(?<logtime>\d{2}\/\w+\/\d{4}:\d{2}:\d{2}:\d{2} \+\d{4})\].*)/
      time_key logtime
      time_format %d/%b/%Y:%H:%M:%S %z
    </parse>
  </filter>

<match http_logs>
    @type splunk_hec
    hec_host $HOST
    hec_port 443
    hec_token $TOKEN
    protocol https

    index http
    sourcetype access_combined
    source ${tag}
    time_key logtime

    <format>
      @type single_value
      message_key message
      add_newline true
    </format>
  </match>

What does your log message look like? I'm trying to do the same with a Java log but as soon as I extract it and change the time_key in the splunk_hec output it won't send any logs.
My config:
`<filter myapp>
@type parser
key_name message
reserve_data true
format /(?\K\d{4}-\d{2}-\d{2}\W\d{2}:\d{2}:\d{2},\d{1,3})[^A-Z](?\w)(:?\s+-\s+(?[.]))(?\s+\K\S+)(:?\s+:\s+(?(.\n){1,100}))(\s+idid=(?.))(\K\s+printer=(?.))/
time_key logtime
time_format %d/%m/%Y %H:%M:%S.%L

<match myapp>
@type splunk_hec
hec_host $HOST
hec_port $PORT
hec_token $TOKEN
insecure_ssl true
index my-index
source k8s
sourcetype k8s_logs
`

``

If anyone else stumbles on this, I worked around it like so:
<filter http_logs>
    @type parser
    key_name message

    <parse>
      @type regexp
      expression /(?<message>.*\[(?<logtime>\d{2}\/\w+\/\d{4}:\d{2}:\d{2}:\d{2} \+\d{4})\].*)/
      time_key logtime
      time_format %d/%b/%Y:%H:%M:%S %z
    </parse>
  </filter>

<match http_logs>
    @type splunk_hec
    hec_host $HOST
    hec_port 443
    hec_token $TOKEN
    protocol https

    index http
    sourcetype access_combined
    source ${tag}
    time_key logtime

    <format>
      @type single_value
      message_key message
      add_newline true
    </format>
  </match>

@atkinsj What does your log message look like? I'm trying to do the same with a java log message but it won't send anything at all when I modify the time key.
My Config:
<filter myapp>
@type parser
key_name message
reserve_data true
format /(?\K\d{4}-\d{2}-\d{2}\W\d{2}:\d{2}:\d{2},\d{1,3})[^A-Z](?\w)(:?\s+-\s+(?[.]))(?\s+\K\S+)(:?\s+:\s+(?(.\n){1,100}))(\s+idid=(?.))(\K\s+printer=(?.))/
time_key logtime
time_format %d/%m/%Y %H:%M:%S.%L

<match myapp>
@type splunk_hec
hec_host $HOST
hec_port $PORT
hec_token $TOKEN
insecure_ssl true
index my-index
source k8s
sourcetype k8s_logs
time_key logtime

thank you for sharing the solution you found.


Valgrind output is absolutely terrifying

absolutely terrifying
Fedora 23, 64 bit

Engine crashed on shader load, that's a perfectly reasonable valgrind output.

Well okay, but even with the latest master I'm getting rather noisy valgrind results.
output from a successful valgrind run: ERROR SUMMARY: 176092 errors from 71 contexts (suppressed: 0 from 0)
output from crash during valgrind run: ERROR SUMMARY: 25873 errors from 1376 contexts (suppressed: 0 from 0)
Even if some of them are false positives, this makes detecting genuine leaks a terrible chore.


iOS: Tab Icons not showing

The Tab Icons do not show on iOS.
Tested on iPhone 12, iOS 14.5, Simulator.

Fixed with latest commit. Keeping this issue open as the tab icons are way too big on iPhone 7.

Fixed in latest commit. Tested on iPhone 7, iPhone XR, Galaxy S20.