50 run tests requiring a bitbucket server in GitHub actions

This is a rather large PR which adds support for running the PropEr tests in prop_api.erl and prop_yml.erl. These tests require a running Bitbucket Server instance, which is the reason these have not been run before. This also caused problems because PRs opened against the GitHub repo were not being tested properly. (These tests were only run internally at Klarna.)
To spin up a Bitbucket Server instance, the build.yml workflow has been modified to start a Bitbucket service using the atlassian/bitbucket-server:7.17.1 Docker image. It uses a "time-bomb" license retrieved from here which will automatically expire after three hours.
There is also a docker-compose setup in scripts/pre-test-hook.sh which is invoked automatically when running rebar3 proper locally. (Currently, to run these tests locally, you must use the run-tests-with-bb.sh script, but I hope to fix so that won't be necessary, and users should be able to just run rebar3 proper to test things, and things should "just work".

Caveat: the workzone and hook tests will not be run, since these require additional plugins installed in Bitbucket.


Store and map projection progress

Codecov Report

Merging #29 into master will increase coverage by 5.1%.
The diff coverage is 81.03%.

@@            Coverage Diff            @@
##           master      #29     +/-   ##
=========================================
+ Coverage   87.42%   92.53%   +5.1%
=========================================
  Files          22       23      +1
  Lines         525      509     -16
  Branches       19       19
=========================================
+ Hits          459      471     +12
+ Misses         66       38     -28

Impacted Files
Coverage Δ

...us/sourcing/persistence/IndexFailuresStorage.scala
100% <ø> (ø)
:arrow_up:

...us/sourcing/persistence/SequentialTagIndexer.scala
0% <0%> (ø)
:arrow_up:

...urcing/persistence/ProjectionProgressStorage.scala
100% <100%> (ø)

...ain/nexus/sourcing/persistence/IndexerConfig.scala
93.1% <100%> (+3.1%)
:arrow_up:

...xus/sourcing/persistence/ResumableProjection.scala
100% <100%> (ø)
:arrow_up:

...exus/sourcing/persistence/ProjectionProgress.scala
100% <100%> (ø)

...sourcing/persistence/ProjectionProgressCodec.scala
90% <100%> (ø)

...ch/epfl/bluebrain/nexus/sourcing/StreamByTag.scala
68.08% <70.96%> (+6.08%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

Shouldn't an interface with the StreamCoordinator actor be implemented somewhere here, as:
// Calls the StreamCoordinator like: actor ? FetchLatestState
def fetchState[A]: F[Option[A]] = ???
// Calls the StreamCoordinator like: actor ? LatestState(Some(value))
def state[A](value: A): F[Unit] = ??
// Calls the StreamCoordinator like: actor ? Stop flatmap actor ? Done
def stop: F[Unit] = ??


chore(main): release bspwm 1.17.0

:robot: I have created a release beep boop
1.17.0 (2024-08-21)
Features

bspwm: add rules for where certain programs should open (c6dfc27)
bspwm: fix dynamic monitor swap and re-set polybar (794c111)
polybar: improved machine generalisation (6061fe9)
polybar: use uv to run a script with dependencies (2a96b49)

Bug Fixes

bspwm: use $HOME, not hard coded path (855655a)

Miscellaneous

main: release bin 1.15.5 (#104) (402080e)
main: release dprint 1.15.6 (#107) (c7aef97)
main: release mise 1.17.1 (#101) (c49c74a)
main: release picom 1.15.3 (#112) (913aeae)
main: release tmux 1.16.1 (#111) (7ae9dfb)
main: release X 1.15.5 (#110) (8acb2de)
main: release zathura 1.16.0 (#109) (f012b63)
polybar: remove resource intensive music module (e3df5c0)

Styles

bspwm: format with dprint (d5f441d)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

bspwm-v1.17.0
:sunflower:


Problem fetching NCLOB column

I connect to an SAP HANA Cloud database through hdbcli drivers, and I get the following stack trace:
Error: (-10419, ' Character value contains non-ASCII characters (8)')
The specific error arises from the call of the dbapi_cursor.fetchall().
After investigation, I found that the removal of the single column present in the query of type NCLOB makes the query successfull.
Indeed there are non-ASCII chars present in the column, but to my understanding the data type NCLOB should be able to have utf8 content.
I tried to set the parameter charset in the connection string, in the case there was any other charset defined by default, but I had no success in here.
The connection string uses hana+hdbcli; other queries with several data types, including NVARCHAR, work properly.

Despite having overridden the column type within the model, the driver was fetching the data as per table scheme from the server, where the column type was CLOB. The only solution was in the end to modify the column type to NCLOB explicitly.


Always run fmt check in CI

Previously, make fmt-check would only run as a dependency of make test, which only runs on tag events. See also #2544.
I also removed fmt-check as a dependency of test, because I don't see why the two should be related. Let me know if I'm missing something.

required-gofmt-version is failing in CI: We require go version 1.7 or 1.8 to format code (https://drone.gitea.io/go-gitea/gitea/715/5)

@sapk Done

Codecov Report

Merging #2546 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2546   +/-   ##
=======================================
  Coverage   26.99%   26.99%
=======================================
  Files          85       85
  Lines       17097    17097
=======================================
  Hits         4615     4615
  Misses      11807    11807
  Partials      675      675

Continue to review full report at Codecov.

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

LGTM


Sorting not working properly when column contains string with mixed cases

If I use a collection of eloquent models as my data source, and if the collection consists of models having the following properties(for example): name, age, organization - if name for example contains mixed cases(e.g. some names written in lower case only, some in uppercase first, or all uppercase etc.), sorting does not work properly.
Example:(desc)
test3
test2
test1
Uncharted
The one with the capital U always comes in between for some reason. This only seems to happen with collections.
I can provide any code you wish.
Using Laravel 5.

I just tested this and seems to work for me. Like on example output below, I use the demo app and change the email field to EmAil and it works.
0: {id: 43, name: "Prof. Nick Mitchell", EmAil: "America.Pouros@Breitenberg.com",…}
EmAil<EMAIL_ADDRESS>created_at: "03-02-2016"
id: 43
name: "Prof. Nick Mitchell"
updated_at: "03-02-2016"

Please provide some code to replicate the issue? Thanks!

This is my DataTable class, I'm providing it here in its entirety.
http://pastebin.com/8N7xvKBh
In the meantime we added a workaround. V_anketa is a database view, so we added a column with all uppercase letters(which sorts right), and left the standard one. Then we sort by the uppercase one and display the standard one.
But this leads to duplicating columns in a view and selecting more than we need which could be a performance issue in the future.

Any ideas?

You code seems fine. Just make sure the column name value is the same with the table/source column name or index and I think it should work fine.
->columns([
  [data: 'data_to_display', name: 'ColumnName']
])

@matsura Please reopen if you're still this issue.


PLL frequency out of spec

Section 2.18 of  RP2040 datasheet:
• Minimum reference frequency (FREF / REFDIV) is 5MHz
• Oscillator frequency (FOUTVCO) must be in the range 750MHz → 1600MHz
• Feedback divider (FBDIV) must be in the range 16 → 320
• The post dividers POSTDIV1 and POSTDIV2 must be in the range 1 → 7
• Maximum input frequency (FREF / REFDIV) is VCO frequency divided by 16, due to minimum feedback divisor
Additionally, the maximum frequencies of the chip’s clock generators (attached to FOUTPOSTDIV) must be respected. For
the system PLL this is 133MHz, and for the USB PLL, 48MHz.
pico-sdk fix PR: https://github.com/raspberrypi/pico-sdk/pull/869
embassy-rp fix commit https://github.com/embassy-rs/embassy/commit/5bbed315131991745efacbaa5c384e11f704923b

Interesting. It looks like the datasheet has changed at some point in time. Before, it listed 400MHz as the minimum frequency.
https://web.archive.org/web/20211101082621if_/https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf#[{"num"%3A254%2C"gen"%3A0}%2C{"name"%3A"XYZ"}%2C115%2C595.784%2Cnull]
Was this change announced somewhere?

It was part of datasheet revision 1.8, 17 Jun 2022: "Increased PLL min VCO from 400MHz to 750MHz for improved
stability across operating conditions"


Attestation with a private key

What happened:
The readme still has the steps using the now removed --key flag.
Relevant parts:

Local private key support
Adding an SBOM to an image as an attestation using Syft

What you expected to happen:
The readme should be updated to reflect the breaking changes between v0.65.0 and v0.66.0. Trying to run the given command results in the following error: error during command execution: unknown flag: --key. I'd appreciate up-to-date steps.
Anything else we need to know?:
If the problem is on my side and the readme is correct, let me know and I'll provide more relevant feedback.

I have similar issue in my CI environment that has the key stored in the secrets.
I'm looking for updated steps for the attestation.
If needed, I can be available to help

Hi @TomiOhl and @ReDemoNBR, thanks for catching this. We will have an updated README and a new way to specify a private key in the next release of Syft.  There's some additional information about the change here: https://github.com/anchore/syft/pull/1442
Hope this helps and sorry for the trouble!

@TomiOhl I've merged a new change that's unreleased but on the tip of main. Let me know if this is still behaving incorrectly to your expectations.
Tested with:


Use lint toolchain in program lint script

Problem
The program lint script at scripts/program/lint.mjs is using the toolchain for format instead of lint.
Summary of Changes
Update it to use lint!

Ah well spotted!
I've noticed there's the same issue with pnpm clients:rust:lint in this line:
https://github.com/solana-program/create-solana-program/blob/main/template/clients/rust/scripts/client/lint-rust.mjs#L15
Would you mind adding this to your PR? And also adding a changeset by running changeset locally.

Done!


Dropout during prediction phase

Hello,
I have used "tf.keras.layers.Dropout(0.2)(x, training=True)" to turn on the dropout during the prediction phase when i trained my model. Is there any method to turn it off again during the prediction when loading the h5 saved model?
I'am using TF version: 2.10.
Thank you

@ProfessorHT,
A Keras Model is trainable by default - you have two means of freezing all the weights:

model.trainable = False before compiling the model
for layer in model.layers: layer.trainable = False - works before & after compiling

We can use layer.trainable=False for the same. Layers & models also feature a boolean attribute trainable. Its value can be changed. Setting layer.trainable to False moves all the layer's weights from trainable to non-trainable. This is called "freezing" the layer: the state of a frozen layer won't be updated during training (either when training with fit() or when training with any custom loop that relies on trainable_weights to apply gradient updates).
layer = keras.layers.Dense(3)
layer.build((None, 4))  # Create the weights
layer.trainable = False  # Freeze the layer

print("weights:", len(layer.weights))
print("trainable_weights:", len(layer.trainable_weights))
print("non_trainable_weights:", len(layer.non_trainable_weights))

Thank you!

Thank you for the response.
After i trained my model and saved as h5 file, I have try to load the model and use the code below before predicting:
for layer in model.layers:
if layer == "dropout" :
layer.trainable = False
As you mentioned above that this method will turn off the layer named dropout. But if I try to make a test on a single image for 100 time approximately at each time i receive different prediction and it's a huge difference so it's like the dropout layer is still activated in the test time.

@ProfessorHT,
Dropout is not used after training when making a prediction with the fit network.
The weights of the network will be larger than normal because of dropout. Therefore, before finalizing the network, the weights are first scaled by the chosen dropout rate. The network can then be used as per normal to make predictions. Thank you!

Hello @tilakrayal
Thank you for your response.

Therefore, before finalizing the network, the weights are first scaled by the chosen dropout rate. The network can then be used as per normal to make predictions.

That's right. But the idea is that it didn't function like this for me.
========================Code & Results===================================
The test code is stated below:
`BATCH_SIZE = 1
IMG_SIZE = (... , ... )
allevaccuracy = []
allevaloss = []
model = tf.keras.models.load_model("Model.h5")
test_data = tf.keras.utils.image_dataset_from_directory(
'test',
label_mode='categorical',
batch_size=BATCH_SIZE,
image_size=IMG_SIZE,
)
for layer in model.layers:
layer.trainable = False`
When i try this code on the test dataset that contain two image (for test of the code) I get different results at each run as shown below:
model.predict(test_data)
2/2 [==============================] - 0s 358ms/step
Out[3]:
array([[1.1455322e-05, 9.9998856e-01],
[1.0000000e+00, 5.6772804e-09]], dtype=float32)
model.predict(test_data)
2/2 [==============================] - 0s 249ms/step
Out[4]:
array([[9.9999988e-01, 1.4690319e-07],
[1.8595392e-03, 9.9814045e-01]], dtype=float32)
model.predict(test_data)
2/2 [==============================] - 0s 247ms/step
Out[5]:
array([[4.6881149e-03, 9.9531186e-01],
[1.0000000e+00, 1.4155777e-08]], dtype=float32)
model.predict(test_data)
2/2 [==============================] - 0s 223ms/step
Out[6]:
array([[1.0000000e+00, 6.6442278e-09],
[1.3445069e-05, 9.9998653e-01]], dtype=float32)
model.predict(test_data)
2/2 [==============================] - 0s 355ms/step
Out[7]:
array([[2.1816030e-04, 9.9978191e-01],
[9.9997663e-01, 2.3322356e-05]], dtype=float32)
model.predict(test_data)
2/2 [==============================] - 1s 458ms/step
Out[8]:
array([[1.000000e+00, 3.651782e-08],
[2.165683e-03, 9.978344e-01]], dtype=float32)
model.predict(test_data)
2/2 [==============================] - 0s 253ms/step
Out[9]:
array([[9.999994e-01, 5.724883e-07],
[6.958003e-02, 9.304200e-01]], dtype=float32)
Also as you stated in the first reponse using

for layer in model.layers: layer.trainable = False - works before & after compiling

there is no trainable parameter as shown below:
Total params: 23,568,898
Trainable params: 0
Non-trainable params: 23,568,898
========================Question===================================

Now after you have view the codes and results why the result differ each time?
Is there any other method to apply MC Dropout? (Without using  training=True in "tf.keras.layers.Dropout(0.2)(x, training=True)"  at the training time)
What can i do to let the results be the same at each time?


fix: remove tags update

This is not needed for the add-on repositories and it is causing issues (like, https://github.com/splunk/addonfactory-ucc-generator/issues/404).

:tada: This PR is included in version 1.7.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


feat: generalize Prod.wellFoundedLT/GT to Preorders

.. using a standard antisymmetrization trick. Also

Add lemmas wellFoundedLT/GT_antisymmetrization_iff.

Establish the OrderIso between the antisymmetrization of a product preorder and the product of antisymmetrizations.

Golf the original Prod.wellFoundedLT and rename it to Prod.wellFoundedLT'.

Golf StrictMono.wellFoundedLT etc. and move to where StrictMono is defined.

Thanks! :tada:
bors merge


Renable the ScmTimestamp test on FreeBSD i386

The relevant bug was fixed in 11.3-RELEASE
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222039

Failed due to an intermittent network problem.
bors retry

bors retry

Thank you posborne.  Github is a little more annoying now that I have two accounts.

Another download failure from cross.
bors retry


Dashboard changes and CAPP deployment changes are missing in the latest updates

Description:
The changes done for dashboard at https://github.com/wso2/devstudio-tooling-ei/issues/31 and improvements done to CAPP deployment are missing in the latest platform update
Suggested Labels:
Suggested Assignees:
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Fixed at https://github.com/wso2/devstudio-tooling-platform/commit/a547919712523823d0f06797057a56e126b94e0e


sc-7000 disable mouse scrolling in number type inputs

Scope of changes
Update TRIXO Questionnaire page so that currency fields do not change when cursor moves
Type of change

[x] bug fix
[ ] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
When the focus is on the amount field and the cursor moves, the amount will change and the user may not realize it.
Change so that the amount does not change when the cursor is moved. One idea is to have an up and down toggle in
the field so that the amount does not change unless the user clicks the toggle.
Author checklist

[ ] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[ ]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[ ]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #631 (80d0abc) into main (82790b2) will decrease coverage by 0.00%.
The diff coverage is 85.71%.

:exclamation: Current head 80d0abc differs from pull request most recent head 1f347ff. Consider uploading reports for the commit 1f347ff to get more accurate results

@@            Coverage Diff             @@
##             main     #631      +/-   ##
==========================================
- Coverage   39.03%   39.03%   -0.01%
==========================================
  Files         439      439
  Lines        4872     4875       +3
  Branches     1202     1201       -1
==========================================
+ Hits         1902     1903       +1
- Misses       2787     2789       +2
  Partials      183      183

Impacted Files
Coverage Δ

...er-ui/src/components/ui/InputFormControl/index.tsx
87.50% <85.71%> (-12.50%)
:arrow_down:

Continue to review full report at Codecov.

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


Generate few SURF feature visualizations

Generate at least 1 image per class per dataset visualizing the SURF features (interest point/blobs). Related to issue #22 .

Images are at
C:\Projects\DynaSlum\Results\Classification3Classes\SURFFeaturesExamples


Drawer

Summary
Container component for housing other content such as navigation components, info callouts, overlay forms, other page sections.
The drawer would appear on the side of the screen and can be used in a number of different use cases.
Drawer should consider the following:

Permanent positioning
Expandable and collapsible
Anchored to viewport, or anchored to container.
Left, right, top, bottom position.
Scrolling behavior
Modality optionality
Affect on background content (push/overlay)
Responsive layout patterns
Multi-drawer behaviour

💰 User value
This provides a common content container to achieve different layouts.
📚 User Stories
If relevant, describe the high-level functionality as user stories.
As an ICDS user:
I need
So that
📝 Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Config
Given that a drawer component is being configured
When setting its properties
Then the following suggested properties can be set:
•	Position: Left, right, top, bottom
•	Size: SM, MD, LG
•	Expanded: True, false
•	Header: True, false
•	Button: True, false
•	Checkbox: True, false
ASSESSMENT CRITERIA
Sizing
Given that a drawer component is being implemented
When configuring it
Then its size can be set to SM, MD, or LG
And any body text labels should wrap onto multiple lines if then required
Given that a drawer component is being implemented as left/ right
When configuring it
Then its height can be set to the value of the container
And any body text labels should wrap onto multiple lines if then required
Given that a drawer component is being implemented as top/ bottom
When configuring it
Then its width can be set to the value of the container
And any body text labels should wrap onto multiple lines if then required
Content
Given that a drawer component is being implemented with a header
When configuring it
Then it is not expected to truncate text
And instead will limit line length in relation to the size of the Drawer
Animation/ transitions
Given that a drawer component is being implemented as a temporary item
When configuring it
Then it will expand upon click
And an overlay of 25% will be applied to the web page aside from the Drawer
✏ Designs
If there's a Figma design file (or other mock-up), include it here.
## 🧾 Guidance
Guidance on design file in Teams.

Option to trigger from any components, but also the arrows


[minor](hash table) parameterize hash table

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 32.93 seconds
stream load tsv:          426 seconds loaded<PHONE_NUMBER>9 Bytes, about 167 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230516032010_clickbench_pr_144185.html

run buildall


Add Linkedlist problem in C++

Delete N nodes after M nodes of a linked list
Delete Middle of Linked List
Remove Loop in linked list

I want to work on this issue under HSOC

Go for it


Support for 1.21.4

When the mod support 1.21.4?

Soon! It's first on the list of things to update.
It's a busy time of year!

Keep going!

Turns out 1.21.3's version worked with no changes, so updated the mod page.


add a shorthand to jump to the history of the job

The intention of this change is to provide a shorthand to simplify checking failed jobs if they fail also on other branches or reverted to a good state.

@matofeder A review would be great.


python2 / python3 - Common role on Ubuntu 18.04. fails

Hi,
I'm kinda new to this ecosystem, so excuse me if I'm missing something.
For me the changes made in #55 lead into an error when deploying the kolla common role on Ubuntu 18.04.
I think kolla-ansible:train still uses python2 and therefore runs into an error when trying to manage docker resources on the destination hosts.
Well I guess kolla-ansible doesn't explicitly choose to use python2, but rather it's the default python interpreter on Ubuntu 18.04.
I assume this would work if python3 was set as default python interpreter on the destination host - but it isn't and I don't think it's done during bootstrapping.
best regards,
Patrick

Ubuntu 18.04 and kolla-ansible:train works fully with Python3. It is a problem if Python2 is still installed and /usr/bin/python points to Python2.
Please test if it works with this change:
https://github.com/osism/testbed/blob/master/inventory/group_vars/all.yml#L2
Alternatively, you can have /usr/bin/python point to Python3. I mean for that you have to uninstall Python2:
update-alternatives --install /usr/bin/python python /usr/bin/python3 1

I would also expect it to work by setting it through the inventory.
I can't really test it right now since I'm working on my productive cluster. I can verify this again next week.
I think this should be noted somewhere in the documentation. Or the update-alternatives could be done during bootstrapping in case the host is ubuntu 18.04. or/and in case it points to python2
You don't have to uninstall python2 to set  the alternatives.

I move this to documentation and add missing documentation first.
I will add a test etc. during the bootstrap for usability of Python3.


Generate sample for ResourceHealth

Generate sample for ResourceHealth

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


Only rescue NameError related to wanted policy constants

Hello. When you are rescuing all NameError's, you are also rescuing the errors not related to the constant you are trying to get - the ones that happen during autoload, for example. This will result in user getting wrong error messages:
# autoloadable.rb
class AutoloadablePolicy < Missing
end

Pundit.policy!(user, Autoloadable) will throw Pundit::NotDefinedError: unable to find policy `AutoloadablePolicy` for `user`  instead of NameError: uninitialized constant Missing.
Another example:
# autoloadable.rb
class AutoloadablePolicy
  foo
end

Pundit.policy!(user, Autoloadable) will throw the same error instead of undefined local variable or method `foo' for main:Object.
This can confuse the gem user.

@faucct Thank for this PR. Could you rebase on master since Travis is now green again?

Fixed by #491

Sorry for not rebasing. I guess I have missed the notification :(


Swapped new script dialog buttons

Every Godot dialog has "confirmation" action button on the left side of the dialog.
For example node add dialog:

original

swapped

This should improve the user experience

I copied the layout of the add script popup though, and I have the create new node create button on the right.
I wonder if it's dependent of the os language or something.

Interesting...
I'm using window, if that helps.

I'm on linux, checked windows and I have it swapped like you. Seeing videos on youtube osx is the same order as linux.
Not sure why windows is different, but I've pushed a fix that should swap it there.
Thanks for noticing!


Chore#80 clean dev

Cleaned up Dev code

i went through clean dev and did my fixes, pls rereview; also, github says build failed but it works fine on my end :// github did say the issue was in climber but that's not even used so 😭
major changes:

in PIDController, sometimes we use tolerance as a percent of the setpoint and other times we use it as a hardcoded value (like 200 RPM or smth) it was a pretty even split so i didn't standardize that, instead I added tolerance/tolerancePercent to PIDController and updated the atSetpoint calculations accordingly
updated and added to the readme :))
added all values used in commands to constants (besides wrist angle for shooting at speaker, those constants are already made but not in Dev yet so just leave that)


scipy.misc is deprecated and has no attribute imread.

Hello, this version of the package has been deprecated, what version are you using?

Hi! The version of scipy used is 1.2.1.

This steps here helped me with the data preprocessing:
conda install scipy==1.2.1
pip install pillow

Then python Prepare_ISIC2017.py

This steps here helped me with the data preprocessing:
conda install scipy==1.2.1
pip install pillow

Then python Prepare_ISIC2017.py

Did you install the environment according to the author's steps? Why can't I degrade the version of scipy following your method?

with conda install scipy==1.2.1

with pip install scipy==1.2.1

@Zong-Liang Installation of scipy== version 1.2.1 requires python version 3.7 and below. We have created an environment named tool for pre-processing data as follows:
conda create -n tool python=3.7
conda activate tool
pip install h5py
conda install scipy==1.2.1
pip install pillow

Thx for your reply. After obtaining the .npy file using your method, I tried training with isic18, but encountered the following error. I reinstalled the environment once again, but the problem persists.

@Zong-Liang You should be able to get help in issue 6.

It works for me. python==3.10
import imageio.v3 as iio
from skimage.transform import resize
img = iio.imread(img_path)
img = np.double(resize(img, [height, width], order=1))


warp-terminal: 0.2<IP_ADDRESS>.02.stable_04 -> 0.2<IP_ADDRESS>.02.stable_01

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for warp-terminal is: Rust-based terminal
meta.homepage for warp-terminal is: https://www.warp.dev
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2<IP_ADDRESS>.02.stable_01 with grep in /nix/store/cddkbcg5rm395j0z87mfwgpdy0a86ag7-warp-terminal-0.2<IP_ADDRESS>.02.stable_01
found 0.2<IP_ADDRESS>.02.stable_01 in filename of file in /nix/store/cddkbcg5rm395j0z87mfwgpdy0a86ag7-warp-terminal-0.2<IP_ADDRESS>.02.stable_01

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

warp-terminal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cddkbcg5rm395j0z87mfwgpdy0a86ag7-warp-terminal-0.2<IP_ADDRESS>.02.stable_01 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A warp-terminal https://github.com/r-ryantm/nixpkgs/archive/814543ec44215e456a52ef7c334e554bc4eb10bf.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/814543ec44215e456a52ef7c334e554bc4eb10bf#warp-terminal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cddkbcg5rm395j0z87mfwgpdy0a86ag7-warp-terminal-0.2<IP_ADDRESS>.02.stable_01
ls -la /nix/store/cddkbcg5rm395j0z87mfwgpdy0a86ag7-warp-terminal-0.2<IP_ADDRESS>.02.stable_01/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

warp-terminal

Maintainer pings
cc @emilytrau @Enzime @imadnyc @DontEatOreo for testing.

@NixOS/nixpkgs-merge-bot merge


Adding prototype pattern's es6 implementation

Hi Mihir, please remove the Cloneable class, it`s unnecessary.


Code-first schemas: support for converting comments into schema docs

Didn't implement this in Go yet, should be pretty trivial though: https://pkg.go.dev/go/ast#Comment
Not sure if it works with strawberry @helderco (no need to support it immediately if not, this is just a tracking issue so we don't forget about it).
TS supports grabbing comments too: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#using-the-type-checker

Yes it's supported. Not necessarily via comments, but you can set descriptions.

Addressed in modules implementation


Fixes #14  loading attribute problem

Reason: outdated vnu-jar
All tests passed with and without errors.

@yunusga Thanks a lot! It is awesome!

@yunusga New release is ready
https://github.com/dutchenkoOleg/node-w3c-validator/releases/tag/2.0.1


Quick and dirty String prototype

I took a stab at using the Any* erasers from AnyUnicode.swift, but hit some brick walls I wasn’t sure how to work around. We’ll want to use those in the future.
For now I made a “String” type that has an enum of the different kinds of things we’ll want, and is otherwise hard coded for our “canonical form”, which is UTF16 in whatever normal form we end up wanting (likely NFC or FCC). This will unblock some other work at least.
I haven’t integrated my comparison logic, so we currently just do the super slow character-wise comparison. It also has not been exhaustively tested.

@airspeedswift or @moiseev , do we do testing on these PRs, or do you just want them merged?

@milseman When it's on the branch like this, I often simply push directly.

Any objections to merging it? We can fix Slava's points on the shared branch.


make strict runtime

Reduce amount of code, make strict configurable at validation time.
I've done some benchmarking and this seems to have no (or <5%) effect on performance.

@hoodmane any idea on the failure here?
Full error message can be seen in CI, but it starts:
Pyodide has suffered a fatal error. Please report this to the Pyodide maintainers.
The cause of the fatal error was:
RangeError: Maximum call stack size exceeded
    at invoke_viiiiiii (/home/runner/work/pydantic-core/pydantic-core/node_modules/pyodide/pyodide.asm.js:10:1546383)
    at wasm://wasm/006e1b7a:wasm-function[418]:0x47691
    at invoke_viiiiiii (/home/runner/work/pydantic-core/pydantic-core/node_modules/pyodide/pyodide.asm.js:10:1546351)
    at wasm://wasm/006e1b7a:wasm-function[418]:0x42862
    at wasm://wasm/006e1b7a:wasm-function[628]:0x94841
    at wasm://wasm/006e1b7a:wasm-function[418]:0x46dd3
    at invoke_viiiiiii (/home/runner/work/pydantic-core/pydantic-core/node_modules/pyodide/pyodide.asm.js:10:1546351)
    at wasm://wasm/006e1b7a:wasm-function[418]:0x47691
    at invoke_viiiiiii (/home/runner/work/pydantic-core/pydantic-core/node_modules/pyodide/pyodide.asm.js:10:1546351)
    at wasm://wasm/006e1b7a:wasm-function[418]:0x42862 {
  pyodide_fatal_error: true
}
/home/runner/work/pydantic-core/pydantic-core/node_modules/pyodide/pyodide.asm.js:10
...

Is it consistent? I've been seeing this error again recently and I'm not sure exactly the cause I should look at the Pyodide stack benchmarks and see if there's a visible regression anywhere.
I suppose the most likely real cause is that some rust functions are taking up very large amounts of stack space when compiled to wasm.
It's a bit complicated because wasm actually has a pair of stacks the true call stack and the in-memory stack. The true call stack is small and fast. It is impossible to take a pointer to the true call stack it lives outside of the linear addressable memory.
The compiler will try its best not to spill stuff to the slower data stack. I think it's not too concerned about call stack usage. So if you have a lot of stack data and a change allowed it to avoid spilling it somehow you could end up with a really fat function call.
Anyways it's a bit complicated and we have pretty limited experience with rust wasm extension modules so it might take more investigation. I'll try to investigate this further over the weekend.

In case it helps @hoodmane - there are 3 tests causing this failure, all are in tests/validators/test_recursive.py and all are now skipped.
Once this PR is fixed and tested otherwise, I might merge it as there's a diff and I don't want it to start conflicting.

Okay, so this seems to relate to the recursion limit again.
I've set sys.setrecursionlimit(200) and two of the tests have started passing, my guess would be that the one remaining test I've had to skip might be persuaded to pass with the right recursion limit.

Well yes... but if the test is supposed to show that in normal operation there won't be a stack overflow when you do an infinite recurse then the fact that it passes when you set a low recursion limit isn't very helpful since that won't be the case in normal operation. Maybe you could use Py_EnterRecursiveCall multiple times when compiling for the wasm target.

We've set it to 1000. This is small enough to pass the recursion tests in the core test suite.

Hi @hoodmane I seem to have solved the recursive problems by setting BACKUP_GUARD_LIMIT to match pypy.
I think (but unclear) that I might have got confused about which tests were failing, either way this seems to have been resolved.

@PrettyWood you happy for me to merge this?
In effect it reduces the amount of code and makes strict a runtime option.

@samuelcolvin So it means we can't mix lax and strict anymore?
{
  'type': 'typed-dict',
  'fields': {
    'field_a': {'schema': 'int', 'strict': True},
    'field_b': {'schema': 'int', 'strict': False},
  }
}

Yes you can, just you can override both at runtime.

I expected this test (I just wrote it) to pass
def test_mixed_strict(py_and_json: PyAndJson):
    v = py_and_json({
        'type': 'typed-dict',
        'fields': {
            'x': {'schema': 'int', 'strict': True},
            'y': {'schema': 'int', 'strict': False},
            'z': {'schema': 'int'},
        }
    })
    assert v.validate_test({'x': 1, 'y': 2, 'z': 3}) == {'x': 1, 'y': 2, 'z': 3}
    assert v.validate_test({'x': 1, 'y': '2', 'z': '3'}) == {'x': 1, 'y': 2, 'z': 3}
    with pytest.raises(ValidationError) as exc_info:
        v.validate_test({'x': '1', 'y': 2, 'z': '3'})
    assert exc_info.value.errors() == [{'kind': 'int_type', 'loc': ['x'], 'message': 'Value must be a valid integer', 'input_value': '1'}]

Sorry if I'm missing something

Strict must go inside the schema, not the field.

🤦 thanks sorry


Publish Test Results contains error message and doesnt show publish Code Coverage

Required Information
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Publish Test Results@2
Environment

TFS On-Premise Version: Dev17.M153.5
Agent: Windows_NT Version:  10.0.17763

Issue Description
Publish Test Results Task is used in a Release Pipeline.
Task succeeds, but error message in log.
Unit Test Runs get importet but Code Coverage does not, even though it is in the attachment.
Task logs
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<CreateRequestMessageAsync>d__34.MoveNext() in D:\V2.0\A1\_work\56\s\Vssf\Client\WebApi\VssHttpClientBase.cs:line 538
2020-09-11T12:28:23.6997305Z --- End of stack trace from previous location where exception was thrown ---
2020-09-11T12:28:23.6997399Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2020-09-11T12:28:23.6997716Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-09-11T12:28:23.6997767Z    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__28`1.MoveNext() in D:\V2.0\A1\_work\56\s\Vssf\Client\WebApi\VssHttpClientBase.cs:line 413
2020-09-11T12:28:23.6997805Z    --- End of inner exception stack trace ---
2020-09-11T12:28:23.6997869Z    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2020-09-11T12:28:23.6997912Z    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
2020-09-11T12:28:23.6997958Z    at System.Threading.Tasks.Task`1.get_Result()
2020-09-11T12:28:23.6998008Z    at Microsoft.Azure.Pipelines.TestClient.PublishCodeCoverage.CodeCoverageInvoker.<QueueCodeCoverageMerge>d__2.MoveNext() in D:\V2.0\A1\_work\56\s\Ta\Tasks\PublishCodeCoverage\Merge\CodeCoverageInvoker.cs:line 53
2020-09-11T12:28:23.6998082Z ---> (Inner Exception #0) Microsoft.VisualStudio.Services.WebApi.VssResourceNotFoundException: API resource location 9b3e1ece-c6ab-4fbb-8167-8a32a0c92216 is not registered on [CollectionURL].
2020-09-11T12:28:23.6998140Z    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<CreateRequestMessageAsync>d__34.MoveNext() in D:\V2.0\A1\_work\56\s\Vssf\Client\WebApi\VssHttpClientBase.cs:line 538
2020-09-11T12:28:23.6998208Z --- End of stack trace from previous location where exception was thrown ---
2020-09-11T12:28:23.6998247Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2020-09-11T12:28:23.6998287Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-09-11T12:28:23.6998498Z    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__28`1.MoveNext() in D:\V2.0\A1\_work\56\s\Vssf\Client\WebApi\VssHttpClientBase.cs:line 413<---

@Hack3l ,
Thank you for the details shared.
Could you please set system debug:true while running it and share the full logs.

@Hack3l
It would be great if you can share the pipeline definition and detailed logs(system debug: true) that help us to troubleshoot it faster.

It now shows an error message that code coverage cannot be published in a Releae Pipeline


Support for container and TTL nodes

Description
Enables creating container nodes and TTL nodes
Motivation and Context
Fixes #210
How Has This Been Tested?

For both cases, it can take anywhere between 20 seconds and way more before Zookeeper actually cleans up the nodes

For container nodes
const Zookeeper = require('zookeeper');

const zkClient = new Zookeeper({
	connect: 'localhost:2181',
	timeout: 5000,
	debug_level: Zookeeper.ZOO_LOG_LEVEL_WARN,
	host_order_deterministic: false,
});

zkClient.on('connect', async () => {
	const nodeName = `/containerTest-${('' + Math.random()).split('.')[1]}`;
	await zkClient.create(`${nodeName}`, null, Zookeeper.ZOO_CONTAINER).catch((e) => console.log('create failed', e));
	await zkClient.create(`${nodeName}/child`).catch(console.log);
	await zkClient.delete_(`${nodeName}/child`).catch(console.log);
	const start = Date.now();
	while (true) {
		await new Promise(r => setTimeout(r, 1000));
		try {
			await zkClient.exists(nodeName);
			console.log(`it still exists after ${Date.now() - start}`);
		} catch(e) {
			console.log(`it was deleted after ${Date.now() - start}`, e);
			break;
		};
	}
	zkClient.close();
});

zkClient.init();

For TTL nodes:
const Zookeeper = require('zookeeper');

const zkClient = new Zookeeper({
	connect: 'localhost:2181',
	timeout: 5000,
	debug_level: Zookeeper.ZOO_LOG_LEVEL_WARN,
	host_order_deterministic: false,
});

zkClient.on('connect', async () => {
	const nodeName = `/ttlTest-${('' + Math.random()).split('.')[1]}`;
	console.log('nodeName: ' + nodeName);
	await zkClient.create(`${nodeName}`, '', Zookeeper.ZOO_PERSISTENT_WITH_TTL, 1000).catch((e) => console.log('create failed', e));
	const start = Date.now();
	while (true) {
		await new Promise(r => setTimeout(r, 1000));
		try {
			await zkClient.exists(nodeName);
			console.log(`it still exists after ${Date.now() - start}`);
		} catch(e) {
			console.log(`it was deleted after ${Date.now() - start}`, e);
			break;
		};
	}
	zkClient.close();
});

zkClient.init();

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] I have read the code of conduct.
[X] I have read the contributing guide.
[x] I have updated the documentation accordingly (if applicable).

Very cool!
I'll have a look within a couple of days, not more than a week.

One thing that I just thought of is Windows support. Currently there is a (undocumented) workaround for Windows clients: because of not yet solved issues in the official C client, the version built on windows is 3.4.14 (some background can be found in the changelog).
What I'm thinking about is that it maybe is necessary to handle that, by some "if windows" clause, or if it is possible to determine the current client version running, and branch out with if/else?

AH, yeah. Can you tell me what #ifdef to use? Then I'll put that in. Unfortunately I don't have Windows available to test on though.
I suppose we'd #else define the constants as -1 (or something) then, so we can throw if people try to use them in a Windows environment.

Does the exception also apply to cygwin?

Hello again @dreusel!
I'm sorry for the delay. I think I need more time to test, review this PR and give feedback. Hope that is ok!

That's okay 👍

Hi @dreusel!
Your pull request inspired me to try and fix the Windows issue with using an outdated ZooKeeper Client version. And I think I've succeeded 😄
Now, all platforms will use v.3.5.8 of the C client code and there is no longer any need to handle Windows separately for the Container and TTL features.
This means that your Pull Request need some updates.
But don't worry about the prebuilds, I think it is totally fine to just delete them. I will build new ones in a separate release build.
I will also have a look at the changes in your PR and share some feedback.
If you are on vacay - no worries! Come back to this PR when you have an opportunity, there is no hurry from my point of view.

Hi again @dreusel!
Do you want to continue with this PR?
/David

Hi again @dreusel!
Do you want to continue with this PR?
/David

Hey there @DavidVujic , sorry, I was planning to continue on it but I didn't find the time.

Hey there @DavidVujic , sorry, I was planning to continue on it but I didn't find the time.

I've also removed the win32 workarounds, but I dont have time to actually test it.

I've also removed the win32 workarounds, but I dont have time to actually test it.

Great @dreusel, thank you!
I'm planning to review and test this within a couple of days and want to release a new version next week. I will also will have a closer look and take your good suggestions about the API in consideration. Thank you for doing this!

Great @dreusel, thank you!
I'm planning to review and test this within a couple of days and want to release a new version next week. I will also will have a closer look and take your good suggestions about the API in consideration. Thank you for doing this!

@dreusel I'm going to create a new feature branch and add your changes to it, together with updates to the prebuilds, readme and the feedback in this PR.
I'll squash and rebase the commits before merging, and will make sure your name will be in the commits (both our names will be there as "co-authored by").
I will reference the new PR to this one too, so we can keep track of the history and conversations.

@dreusel I'm going to create a new feature branch and add your changes to it, together with updates to the prebuilds, readme and the feedback in this PR.
I'll squash and rebase the commits before merging, and will make sure your name will be in the commits (both our names will be there as "co-authored by").
I will reference the new PR to this one too, so we can keep track of the history and conversations.

Sounds good @DavidVujic! Let me know if there's anything specific you want my help with

Sounds good @DavidVujic! Let me know if there's anything specific you want my help with

Closing this one. Thank you for adding this feature! I think this package is the only one out there with TTL and Container support for Node.js. Great work @dreusel!
Merged with co-authored: https://github.com/yfinkelstein/node-zookeeper/commit/b625f40ee96d7bb9940b6f96ae7eda50985ca381

Closing this one. Thank you for adding this feature! I think this package is the only one out there with TTL and Container support for Node.js. Great work @dreusel!
Merged with co-authored: https://github.com/yfinkelstein/node-zookeeper/commit/b625f40ee96d7bb9940b6f96ae7eda50985ca381


Updated locale files

Preparing for next release. Update the translation files so people can refill them out again via website.

Superseded by #378


[second implementation] vp9 encoder: enable second reference frame mode

This second implementation is given to compare against the original patch
vp9 encoder provides two modes for reference frames
Mode 0: This is using previous frame as last reference and
previous key frame as gold and alternate references.  On this
scheme, the reference_frames array will be cleared by a key frame,
then the key frame will populate all 8 slots and last frame will be
updated on slot 0.
Mode 1: This is using previous frame as last reference, one frame
before that is the gold reference and one more frame before that is the
alternate reference. On this scheme, the reference_frames array will be
cleared by a key frame, then the key frame will populate all 8 slots. Then
the first 3 slots will be used as a circular reference list where last/gold/alt
frames will be kept and will be updated according to the rules given by the
intel driver.
This can be tested with libyami-utils yamiencode patch
Fixes #554
Signed-off-by: Daniel Charles<EMAIL_ADDRESS>

close this since we have https://github.com/01org/libyami/pull/560
Hi @chivakker
Thanks for second implmentation.


Color function call and self in Python

Function name in function call isn't colored in Python, while in other languages it is.

self is not colored in function argument

🚢 Shipped with extension release version 🏷 0.4.0.


2nd round of adding to Cyr's works in bank project

Description:
trying to help cyr out with his works in bank project #5659.
Changes:
These items will work in bank:

Fishing Contest — Fishing master cape, Ring of luck & Crystal fishing rod
Hunter master cape
Mining — Mining master cape
Farming — Ring of endurance
?? Combat — Ranged, Magic, Attack & Prayer master capes — This one is a maybe?
ODS — Runecraft master cape

Other checks:

[ ] I have tested all my changes thoroughly.

We're definitely not making the combat stuff work from bank as of now.
Also, I think the tome of water/fire should maybe still require being equipped?
I don't see any changes for Mining master cape? But mining is a much more complicated thing to fix, so I'd suggest you leave that one alone.
The rest seem ok

We're definitely not making the combat stuff work from bank as of now.
Also, I think the tome of water/fire should maybe still require being equipped?
I don't see any changes for Mining master cape? But mining is a much more complicated thing to fix, so I'd suggest you leave that one alone.
The rest seem ok

okay ill fix

We're definitely not making the combat stuff work from bank as of now.
Also, I think the tome of water/fire should maybe still require being equipped?
I don't see any changes for Mining master cape? But mining is a much more complicated thing to fix, so I'd suggest you leave that one alone.
The rest seem ok

I can switch back the strength mastercape if that was how you wanted it in Monkey Rumble but I read in your PR that thieves armband is not to be set to work from bank but it was

Reverts made (need to be equipped)

water & fire tomes
strength master cape (listed in monkey rumble)
Thieves' armband (it was set to work from Bank)


Unexpected token 'U'

Describe the bug
I'm getting this error opening my project. It still worked earlier on, not sure what this means:
Unexpected token 'U', "Unexpected"... is not valid JSON
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-jvhjfi
Steps to reproduce
Click on the URL and see if the project imports properly.
Expected behavior
The project imports and opens properly.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>
performance.memory = {
  "totalJSHeapSize": 107294506,
  "usedJSHeapSize": 102551898,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = essimoon
Chat ID = 18eadbc8fd3d

Additional context
Error:
An unknown error occured while running an action.

Is there a way to reach out to support?
I am middle of a meeting and bolt has stopped working.

Is there a way to reach out to support? I am middle of a meeting and bolt has stopped working.

oh, so it's a global issue? Thanks for the heads-up. Unfortunately I don't know how to contact them directly

Update: it works again!

@essimoon Thanks for the report and apologies for the frustrating experience! The fix is explained in #1471


fix: pipe evaluation to multi-select-hash

This PR fixes pipe evaluation to multi-select-hash.
Fixes #54
CC @springcomp how can run compliance tests for this ?
Do i need to reference a file here https://github.com/jmespath-community/go-jmespath/blob/46c049439f431ac4a7920434aaa3ff9a46d7e2ab/jp_test.go#L27-L50 ?

Compliance tests are still there https://github.com/jmespath-community/go-jmespath/blob/main/jp_test.go
From what I understand we don't run all tests though, there's a white list to run only a subset of the test files.

From what I understand we don't run all tests though, there's a white list to run only a subset of the test files.

Indeed, we exclude benchmarks tests.
And legacy literals which some implementations may choose to support but that's not the case for the go implementation.
Maybe a black list would be more explicit as in the typescript implementation.


switch on priority queues

What are you changing?
Switch on priority lanes
Archive:  .previous.env.zip
  inflating: .env
Archive:  .env.zip
  inflating: .env
38c38
< FF_PRIORITY_LANES=false
---
> FF_PRIORITY_LANES=true
make: *** [diff-staging] Error 1

Smoke tests might have failed due to the currently running performance tests running in staging. We can retry to run the smoke test GH action once these are done.


Can webhooks be registered for the user?

I'd like to have only one webhook on the user model.
Would that be triggered whenever anything in the users boards, lists etc changes?

You can set a webhook on a user but that will only trigger POSTs when the user takes an action. The  action action object being created is what triggers the webhook.
If you want to watch specific boards, lists, and cards for changes, it is best to setup a webhook for those objects individually. However, a webhook on a board will catch changes to the cards and lists on it.

So to watch a whole account I'd have to register hooks for all boards and the user? Imagine I have a dashboard that shows all recent activities across all boards. Or is the Notification model also watchable via webhook?

If you want to keep track of all of the activity across a set of boards, you'd want to setup a webhook for each of the boards. Setting up a webhook on a single user in addition to all of the boards would give you duplicate actions as the actions that user takes on the set of boards you are already watching should be captured by the webhooks on those boards.
An individual Notification object can have a webhook setup on it, but that would only give you information about the single notification object and not all notifications.

Why isn't it possible to create a webhook for a user's notification?
It seems a natural enough request, you classically want to have a handle on notifications for a specific user.
Would a webhook on a Member be triggered for each notification received ?


Use regional collectors based on os.environ['AWS_REGION']

fixed by https://github.com/iopipe/iopipe-python/pull/61


Avoid importing CoreFoundation in Xcode builds

CoreFoundation was being imported as a module which ended up attempting to pull in headers from the system CoreFoundation. This causes build failures when attempting to test Foundation using Xcode.
The change listed avoids this failure by not letting the module map sneak into the XCTest build

@swift-ci please test macOS

@swift-ci please test


Enhancement - vpc attribute of aws_eip is depreciated

│ Warning: Argument is deprecated
│
│   with module.vpc.aws_eip.nat,
│   on .terraform/modules/vpc/main.tf line 99, in resource "aws_eip" "nat":
│   99:   vpc      = true
│
│ use domain attribute instead

i got same issue

Hi thanks for opening this issue. just wanted to clarify - this is only a warning, correct? not an error?

Just change this line to domain = "vpc"

I have issued a PR to change the declarations.

it is still on the main documentation site:
https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest

@da1ight removing the vpc=true and adding the domain=vpc gives me an error when destroying the eip:
➜  terraform destroy
╷
│ Error: Value for unconfigurable attribute
│
│   with aws_eip.nat_gateway_eip,
│   on main.tf line 92, in resource "aws_eip" "nat_gateway_eip":
│   92:   domain     = "vpc"
│
│ Can't configure a value for "domain": its value will be decided automatically based on the result
│ of applying this configuration.


[Bug]: install script installs old beta version 270, not current 271 beta version

Description
Install script
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
installs beta 270, not current beta 271
Auto-Update does not work in 270, but I cannot install on a new server 271. So I'm stuck with a non working coolify which I cannot update. beta.271 would contain the fixes necessary, but is not reachable…
Minimal Reproduction (if possible, example repository)
run curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
Exception or Error
No response
Version
270

Not sure if recommended, but after installation, you can manually run the upgrade script on the server, it will fetch the latest beta. That's what I did so 270 was upgraded to 271.
/data/coolify/source/upgrade.sh

Greets
-act

@actraiser thx, that worked!


Use correct secret and don't assume bodyParser.json

Use correct variable for secret key (secret which is now passed into the middleware, rather than SHOPIFY_APP_SECRET, and stop stringifying the body from JSON.
This makes webhook verification work correctly, as long as the consuming app isn't using bodyParser.json() to parse the request body.
As far as I understand it, in order to make this bulletproof (to work regardless of the downstream app configuration), we need to use some kind of explicit body parsing in our webhook middleware. That's the part I'm a bit stuck on and will probably need some more help with.

Good start, if you make the changes we discussed offline I'll be happy to 👍.
We should really add tests for this as well :)

Test failures seem unrelated and the output isn't very helpful:
FAIL  routes/tests/shopifyAuth.test.js
  ● Test suite failed to run

    SyntaxError: Unexpected token {

      at ScriptTransformer._transformAndBuildScript (node_modules/jest/node_modules/jest-cli/node_modules/jest-runtime/build/script_transformer.js:305:17)
      at next (native)

Maybe I'm missing something though? I'll dig in further tomorrow

This PR fixes the following issues:
https://github.com/Shopify/shopify-express/issues/18
https://github.com/Shopify/shopify-node-app/issues/70

LGTM, circle issue is a node version problem.

Tests coming in a future PR 😅


Replace BACKEND variable on run, not at build time.

This changes how we update src/leaflet_options.js and debug/index.html to replace the URL queried by the frontend.  Updates are made at docker run time, not docker build, enabling easy swapping of the URL without needing to re-build the image.

I have this warning when trying to build from source :
➜  docker git:(docker_replace_on_run_not_build) docker build .
Sending build context to Docker daemon 4.608 kB
Step 1/8 : FROM alpine:3.5
3.5: Pulling from library/alpine
627beaf3eaaf: Already exists
Digest: sha256:58e1a1bb75db1b5a24a462dd5e2915277ea06438c3f105138f97eb53149673c4
Status: Downloaded newer image for alpine:3.5
 ---> 4a415e366388
Step 2/8 : ENV BACKEND 'http://localhost:5000'
 ---> Running in 18412529dec8
 ---> d79c4dabdcf1
Removing intermediate container 18412529dec8
Step 3/8 : RUN mkdir /src
 ---> Running in 488c651e7f00
 ---> ef1c4e105417
Removing intermediate container 488c651e7f00
Step 4/8 : COPY . /src
 ---> c24d879e0f4b
Removing intermediate container 029872f22b78
Step 5/8 : WORKDIR /src
 ---> fc6b5d3276c4
Removing intermediate container f0587d6cd8e6
Step 6/8 : RUN apk add --no-cache sed nodejs &&     cd /src &&     npm install
 ---> Running in 4f51320e13d8
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
(1/9) Installing ca-certificates (20161130-r1)
(2/9) Installing libcrypto1.0 (1.0.2k-r0)
(3/9) Installing libgcc (6.2.1-r1)
(4/9) Installing http-parser (2.7.1-r0)
(5/9) Installing libssl1.0 (1.0.2k-r0)
(6/9) Installing libstdc++ (6.2.1-r1)
(7/9) Installing libuv (1.9.1-r0)
(8/9) Installing nodejs (6.9.2-r1)
(9/9) Installing sed (4.2.2-r0)
Executing busybox-1.25.1-r0.trigger
Executing ca-certificates-20161130-r1.trigger
OK: 44 MiB in 20 packages
npm WARN enoent ENOENT: no such file or directory, open '/src/package.json'
npm WARN src No description
npm WARN src No repository field.
npm WARN src No README data
npm WARN src No license field.
 ---> 8ca3db8d4d4d
Removing intermediate container 4f51320e13d8
Step 7/8 : EXPOSE 9966
 ---> Running in d73de1902cac
 ---> be4b09b169ca
Removing intermediate container d73de1902cac
Step 8/8 : CMD npm start
 ---> Running in abae23db15c5
 ---> c59693dfe85c
Removing intermediate container abae23db15c5
Successfully built c59693dfe85c

and this error when running :
➜  docker git:(docker_replace_on_run_not_build) docker run -p 9966:9966 -e BACKEND='http://osrm-ecs-384257900.eu-west-1.elb.amazonaws.com' c59693dfe85c
npm ERR! Linux 4.9.12-moby
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.9.2
npm ERR! npm  v3.10.9
npm ERR! path /src/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open '/src/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/src/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /src/npm-debug.log

@pocman The Dockerfile contains COPY . /src.  Can you try the following instead:
$ pwd
/home/danpat/osrm-frontend
$ docker build -f docker/Dockerfile .

the problem seems to be the relative path used in the COPY command - your working directory needs to be the repository root, not the docker folder.

Thanks, it's working for me.


Fix Java HTML report config and remove unnecessary package imports

@sebrose please check if the HTML config works for you. For me only specifying a folder caused an error.


Free custom atSigns loop hole

Summary
People who know how to use the Web API that talks to the registrar can somewhat get custom atSigns for free.
How to abuse

Make 1000 api calls to the get-free-atsign endpoint
Filter the data (for example, filter atSigns that don't have numbers)
Choose what atSigns you like
Use the register-person and validate-person endpoints to pair the atSign with your email.

Code
Here is the filtering code. It's only 20 lines of code.
atSign = ((await apiUtil.getFreeAtSigns(1)))[0]; is where you make a request to the get-free-atsign endpoint.
void main(List<String> args) async {
  ApiUtil apiUtil = ApiUtil();
  int count = 0;

  int num = 100; // num atSigns
  int maxCalls = 1000;

  for(int i = 0; i < num; i++) {
    String atSign;
    do {
      atSign = ((await apiUtil.getFreeAtSigns(1)))[0];
      count++;
      if(count >= maxCalls) {
        print('Max api calls reached: $count');
        exit(0);
      }
    } while(atSign.contains(RegExp(r'[0-9]')));
    // } while(!atSign.contains('green'));
      print('atSign ${i+1}: $atSign');
  }
  print('Api calls: $count/$maxCalls');
}

Example of filtering:
jeremytubongbanua@Jeremys-M2-Air sshnoports % dart run bin/test.dart
atSign 1: barracudabeaver
atSign 2: uniquebarracuda
atSign 3: cookingantelope
atSign 4: amateursnowkiting
atSign 5: acidbreaksharsh
atSign 6: cookingantelope
atSign 7: bookillegalsnow
atSign 8: snowboatingtory
atSign 9: bluebeestimated
atSign 10: aliensarmadillo
atSign 11: strongacidhouse
atSign 12: acidjazzplanned
atSign 13: badgerbagellively
atSign 14: snowblueacaraje
atSign 15: snookereventual
atSign 16: giganticsketching
atSign 17: snowbikingarepa
atSign 18: broadbatonbakso
atSign 19: atomicanticucho
atSign 20: moledistinguished
atSign 21: onsnowkitingant
atSign 22: assaultadvanced
atSign 23: banhcookingtame
atSign 24: cabaretbatatabe
atSign 25: computerobliged
atSign 26: cabaretmysterious
atSign 27: smallaloobanana
atSign 28: hideandseeknosy
atSign 29: donkeyacappella
atSign 30: grievingcabaret
atSign 31: arepaacidtechno
atSign 32: fullantacoustic
atSign 33: snowadorablethe
atSign 34: unitedturntablism
atSign 35: brainybeaverthe
atSign 36: sympatheticaloo
atSign 37: okayantsnocross
atSign 38: batatababoonraw
atSign 39: arepabluedonkey
atSign 40: plannedbaksothe
atSign 41: bittersweetzany
atSign 42: candledisturbed
atSign 43: identicalantelope
atSign 44: interimbearbatata
atSign 45: snowsunnyassault
atSign 46: antelopetypical
atSign 47: batmanfrontsnow
atSign 48: albatrosshungry
atSign 49: blizzardrenewed
atSign 50: badgerautomatic
atSign 51: candlequerulous
atSign 52: arealoosuccessful
atSign 53: theblackcombined
atSign 54: batatafunalpaca
atSign 55: moralbaboonbanh
atSign 56: thethoroughbaton
atSign 57: badgerautomatic
atSign 58: badgersnowshoeing
atSign 59: coffeethebadger
atSign 60: thewarmacidtechno
atSign 61: alpacathemarked
atSign 62: batagorapefunny
atSign 63: bananamanianormal
atSign 64: barracudaspotty
atSign 65: padmashreeworthy
atSign 66: cookingimperial
atSign 67: amateurblizzard
atSign 68: acousticeastern
atSign 69: batonplasticbat
atSign 70: rivalblackpanther
atSign 71: batacidjazzworthy
atSign 72: atomicunchanged
atSign 73: belgiananteater
atSign 74: baboondoublethe
atSign 75: barracudaspotty
atSign 76: bittersweetpale
atSign 77: amateursmartthe
atSign 78: blackasinansnow
atSign 79: becoolsadalmond
atSign 80: soccermaturethe
atSign 81: aliensaccordion
atSign 82: nicebaksobecool
atSign 83: grimalmondbagel
atSign 84: acutebluecandle
atSign 85: overallantelope
atSign 86: moralbaboonbanh
atSign 87: antelopetypical
atSign 88: upsetbaboonalmond
atSign 89: uniquebarracuda
atSign 90: yabberingaliens
atSign 91: becoolsadalmond
atSign 92: aliensarmadillo
atSign 93: identicalantelope
atSign 94: acidbreaksouter
atSign 95: crucialthearepa
atSign 96: skilledarancini
atSign 97: bealooscattered
atSign 98: alliedarmadillo
atSign 99: baboondoublethe
atSign 100: eagerbananaaliens
Api calls: 969/1000

@ksanty Could you please link the recording here?

Nvm, sorry it wasn't you that recorded it
Found it. https://drive.google.com/file/d/1ddjqflrg_3xZehY8ZjhRCQD8-seVEnbY/view?usp=sharing

@JeremyTubongbanua I guess this is a registrar api issue and not secondary server issue

@athandle look what Jeremy found :)

This will need to be moved to the registrar repo

This will need to be moved to the registrar repo

Go for it, I'm still unaware of what repos we even have...

@JeremyTubongbanua are you able to get atSign which is not generated by API? or it's you are able to filter and get atSign from the atSigns generated by API?

@JeremyTubongbanua are you able to get atSign which is not generated by API? or it's you are able to filter and get atSign from the atSigns generated by API?

No I'm not able to. I have to filter first

@JeremyTubongbanua as long as you can get any atSign generated by API, it's okay. if you are able to create your own then it's a bug

@JeremyTubongbanua as long as you can get any atSign generated by API, it's okay. if you are able to create your own then it's a bug

That's true @athandle
I just thought I'd make a ticket for it because this would be a great public app someone could make in the future that could possible impede sales of custom atSigns if people can easily gain hold of somewhat decent atSigns.

will take care in registrar ticket created


[feat]: modify sample weight & add pairwise loss to multi tower model

remove dependency of the fix position of sample weight column
fix bug of share embedding of id feature and sequence feature
add pairwise loss option to multi tower model

已补充

add test and docs

已添加


[Windows Wallet] recipient() does not refer to any valid address

Hi all,
I tried to swap DFI to BTC/ETH/USDT in DEX and get the error "recipient () does not refer to any valid address"

Wallet: 2.1.13
Type: Windows 10 - 10.0.19042
App Log: recipient_error.log
[2021-01-28 00:36:38.039] [IPC-RENDERER-error] [isBlockchainStarted] {"message":"Request failed with status code 500","name":"Error","stack":"Error: Request failed with status code 500\n    at e.exports (file:///vendor.d5241135cfdddf9a65b1.js:8:101767)\n    at e.exports (file:///vendor.d5241135cfdddf9a65b1.js:8:104168)\n    at XMLHttpRequest.f.onreadystatechange (file:///vendor.d5241135cfdddf9a65b1.js:8:97988)","config":{"url":"/","method":"post","data":"{\"jsonrpc\":\"1.0\",\"id\":\"7307471533660646\",\"method\":\"getblockchaininfo\",\"params\":[]}","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","cache-control":"no-cache"},"baseURL":"http://VbdLrwkL:a190c202d4321c8ef4f108c5db0cb9f715556e7bf254c55483118644611275e3@<IP_ADDRESS>:8555","transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1}}
[2021-01-28 00:36:40.036] [IPC-RENDERER-error] [isBlockchainStarted] {"message":"Request failed with status code 500","name":"Error","stack":"Error: Request failed with status code 500\n    at e.exports (file:///vendor.d5241135cfdddf9a65b1.js:8:101767)\n    at e.exports (file:///vendor.d5241135cfdddf9a65b1.js:8:104168)\n    at XMLHttpRequest.f.onreadystatechange (file:///vendor.d5241135cfdddf9a65b1.js:8:97988)","config":{"url":"/","method":"post","data":"{\"jsonrpc\":\"1.0\",\"id\":\"19090923680263283\",\"method\":\"getblockchaininfo\",\"params\":[]}","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","cache-control":"no-cache"},"baseURL":"http://VbdLrwkL:a190c202d4321c8ef4f108c5db0cb9f715556e7bf254c55483118644611275e3@<IP_ADDRESS>:8555","transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1}}
[2021-01-28 00:36:42.036] [IPC-RENDERER-error] [isBlockchainStarted] {"message":"Request failed with status code 500","name":"Error","stack":"Error: Request failed with status code 500\n    at e.exports (file:///vendor.d5241135cfdddf9a65b1.js:8:101767)\n    at e.exports (file:///vendor.d5241135cfdddf9a65b1.js:8:104168)\n    at XMLHttpRequest.f.onreadystatechange (file:///vendor.d5241135cfdddf9a65b1.js:8:97988)","config":{"url":"/","method":"post","data":"{\"jsonrpc\":\"1.0\",\"id\":\"6279281580117477\",\"method\":\"getblockchaininfo\",\"params\":[]}","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","cache-control":"no-cache"},"baseURL":"http://VbdLrwkL:a190c202d4321c8ef4f108c5db0cb9f715556e7bf254c55483118644611275e3@<IP_ADDRESS>:8555","transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1}}
[2021-01-28 00:37:04.887] [IPC-RENDERER-info] [handleTestPoolSwapTo] "Starting"
[2021-01-28 00:37:11.277] [IPC-RENDERER-info] [handlePoolSwap] "Starting"
[2021-01-28 00:37:11.314] [IPC-RENDERER-info] [handlePoolSwap] "1. Address  Amount 0"
[2021-01-28 00:37:11.317] [IPC-RENDERER-info] [handlePoolSwap] "Account to Account"
[2021-01-28 00:37:11.319] [IPC-RENDERER-info] [handlePoolSwap] "UTXOs to Account"
[2021-01-28 00:37:11.337] [IPC-RENDERER-error]  "Request failed with status code 500"
[2021-01-28 00:37:44.411] [IPC-RENDERER-info] [handleTestPoolSwapTo] "Starting"
[2021-01-28 00:37:55.788] [IPC-RENDERER-info] [handlePoolSwap] "Starting"
[2021-01-28 00:37:55.818] [IPC-RENDERER-info] [handlePoolSwap] "1. Address  Amount 0"
[2021-01-28 00:37:55.819] [IPC-RENDERER-info] [handlePoolSwap] "Account to Account"
[2021-01-28 00:37:55.820] [IPC-RENDERER-info] [handlePoolSwap] "UTXOs to Account"
[2021-01-28 00:37:55.844] [IPC-RENDERER-error]  "Request failed with status code 500"

I just receive the same error message.

I just receive the same error message.

Open console and try:

utxostoaccount {"ADDRESS":"AMOUNT@DFI"}

e.g.

utxostoaccount {"yFgrUd8RdL39Yrsqnv9B3yFXnaThGqQ2bm":"1.0@DFI"}

Then go back to DEX and try again.
Same Issue as https://github.com/DeFiCh/app/issues/401

Open console and try:

utxostoaccount {"ADDRESS":"AMOUNT@DFI"}

e.g.

utxostoaccount {"yFgrUd8RdL39Yrsqnv9B3yFXnaThGqQ2bm":"1.0@DFI"}

Then go back to DEX and try again.
Same Issue as https://github.com/DeFiCh/app/issues/401

Looks the blockchain got currupted somehow. Have to reindex again :( Will try tomorrow after sync is finished

Looks the blockchain got currupted somehow. Have to reindex again :( Will try tomorrow after sync is finished

Same error message with 2.1.13. console with utxostoaccount {"ADDRESS":"AMOUNT@DFI"} solved the problem.

Same error message with 2.1.13. console with utxostoaccount {"ADDRESS":"AMOUNT@DFI"} solved the problem.

can confirm, command "utxostoaccount" solved the issue.

can confirm, command "utxostoaccount" solved the issue.

Hi @Darkwinde @Plutoris @Gilli1545 , the error occurs because you've 0 accountDFI balance — which is required to perform swap and other functions. The app tries to search for an address to deposit into so it looks for a DFI address but can’t find any, hence the error. As @Kracht mentioned, please try the following via CLI.
Send 1 DFI to your own address:

utxostoaccount {“your_address”:”1.0@DFI"}

eg. utxostoaccount {“tqEwHra78cNvs4MHaHzTFPRbr7enwHyFrG”:”1.0@DFI"}
Check balances again:

getbalance — utxoDFI
gettokenbalances — accountDFI
Try the function again.

Hi @Darkwinde @Plutoris @Gilli1545 , the error occurs because you've 0 accountDFI balance — which is required to perform swap and other functions. The app tries to search for an address to deposit into so it looks for a DFI address but can’t find any, hence the error. As @Kracht mentioned, please try the following via CLI.
Send 1 DFI to your own address:

utxostoaccount {“your_address”:”1.0@DFI"}

eg. utxostoaccount {“tqEwHra78cNvs4MHaHzTFPRbr7enwHyFrG”:”1.0@DFI"}
Check balances again:

getbalance — utxoDFI
gettokenbalances — accountDFI
Try the function again.

Hi @Darkwinde , if the issue v2.1.13 Error: Corrupted block database detected persist, we can further discuss on the problem there. Let's keep same issues in one thread. Send screenshots of your error, activity monitor and app logs — more info in the thread. Thank you.

Hi @Darkwinde , if the issue v2.1.13 Error: Corrupted block database detected persist, we can further discuss on the problem there. Let's keep same issues in one thread. Send screenshots of your error, activity monitor and app logs — more info in the thread. Thank you.

Hi @izzycsy,
after using CLI command it worked. 👍 Interresting that I only have to do it once. After it I could do what ever I want with the rest of my funds 😄
From user perspective, was a bit irritating why a DFI transfer from Bittrex to the wallet (which correctly showed the funds) is leading to the issue. Transferring the funds, I would assume that accountDFI balance is been implicitly done. 😃
If this two steps are required / mandatory...maybe worth to think about a red text highligthing on this, if the wallet detects funds but no address balance. By a button, the user could trigger this action then without CLI command and with a confirmation dialog outlining the fees and why this is required once befor DEX swap and other services will work, would help a lot and improve user experience.

Hi @izzycsy,
after using CLI command it worked. 👍 Interresting that I only have to do it once. After it I could do what ever I want with the rest of my funds 😄
From user perspective, was a bit irritating why a DFI transfer from Bittrex to the wallet (which correctly showed the funds) is leading to the issue. Transferring the funds, I would assume that accountDFI balance is been implicitly done. 😃
If this two steps are required / mandatory...maybe worth to think about a red text highligthing on this, if the wallet detects funds but no address balance. By a button, the user could trigger this action then without CLI command and with a confirmation dialog outlining the fees and why this is required once befor DEX swap and other services will work, would help a lot and improve user experience.

Hi @Darkwinde @Kracht @Gilli1545 @Plutoris , this issue should be fixed in the upcoming release, I'll keep you updated when it's ready. Thank you for your patience.

Hi @Darkwinde @Kracht @Gilli1545 @Plutoris , update v2.1.17 is out.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, you may reopen this issue with new information (include screenshots) and app logs. Thank you.


InvalidCastException in GenericJsonWebHookHandler when JSON payload is an array.

I'm trying to create a GenericJsonWebHookHandler:
I started out testing with POSTMAN, but if my tests have [ ] in it, I get the following:
"Message": "The WebHook request contained invalid JSON: 'Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'.'.",
"ExceptionMessage": "Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'.",
"ExceptionType": "System.InvalidCastException",
at System.Net.Http.HttpContentExtensions.d__01.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\n
at Microsoft.AspNet.WebHooks.WebHookReceiver.d__8`1.MoveNext()
When the service actually calls back I get the exact same response and callstack, so I'm pretty sure my test is replicating the service calls.  Can anyone tell me what is going wrong or could this be a bug?

Hmmm....
So I just changed a few things in GenericJsonWebHookReceiver and and I got past the error. I guess it wasn't considered that the payload would represent an Array?  Seems like that would be a pretty common scenario, right?
I'm very new to interacting with GitHub projects, so I'd appreciate any suggestions or guidance in how to request a change, or feedback about why I might be thinking about this wrong.  Thanks very much.

Adam,
Sorry for the delay. It's quite easy to implement a receiver that accepts JSON arrays instead of JSON objects. You can just take the existing code in [1] and change line 69 [2] to this instead:
            // Read the request entity body             JArray data = await ReadAsJsonArrayAsync(request);
That said, it's a good idea to add this by default.
Hope this helps!
Henrik
[1] https://github.com/aspnet/WebHooks/blob/master/src/Microsoft.AspNet.WebHooks.Receivers.Generic/WebHooks/GenericJsonWebHookReceiver.cs
[2] https://github.com/aspnet/WebHooks/blob/master/src/Microsoft.AspNet.WebHooks.Receivers.Generic/WebHooks/GenericJsonWebHookReceiver.cs#L69

Actually, I just updated the generic receiver to handle any kind of json (value, object, array): 0648bad0058f021d434a735a283f4948ed10653e
thanks!
Henrik

Thanks Henrik,
I had to work around this for my example, but I'll check out your implementation.  It's good to have as many options as possible for our customers.
Best Regards,
Adam Burns

From: Henrik Frystyk<EMAIL_ADDRESS>Sent: 3/27/2016 6:06 AM
To<EMAIL_ADDRESS>Cc: Adam<EMAIL_ADDRESS>Subject: Re: [WebHooks] InvalidCastException in GenericJsonWebHookHandler when JSON payload is an array. (#37)
Actually, I just updated the generic receiver to handle any kind of json (value, object, array): 0648badhttps://github.com/aspnet/WebHooks/commit/0648bad0058f021d434a735a283f4948ed10653e
thanks!
Henrik
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/aspnet/WebHooks/issues/37#issuecomment-202058539


[WIP][docs] Re-org topics in Admin API section

Motivation
The sub-commands for persistent is changed into "topics". And persistent topics can be partitioned and non-partitioned topics.
Modifications

Refactor the topic structure, will keep only one md file for the topic in the "Admin API" section.
Refine the commands used in the topic section from "persistent" into "topics" for both pulsar-admin and REST API.
Adopt switch tab for pulsar-admin, REST API and Java methods.
Will add partitioned and non-partitioned sections in this md file as well.
Check links to the 3 deleted files throughout.

The whole PR will be a huge PR, I can add "partitioned" and "non-partitioned topics" later in another PR.
Please double check the REST API in the "Last Message Id" section.
The original one is "{% endpoint Get /admin/v2/topics/:tenant/:namespace/:topic/lastMessageId %}".
I've changed it into "{@inject: endpoint|Get|/admin/v2/topics/:tenant/:namespace/:topic/lastMessageId}".

All the REST API links do not work, open an issue in https://github.com/apache/pulsar/issues/8377

@zymap could you please also help check the update? thank you.

@tuteng @zymap Thank you very much for your comments. I've updated the REST API part, could you please double confirm? Thank you.


Support --abi_libraries for libc functions with complex arguments and return value

The mcsema-lift does not identify the type of arguments and return value of the libc functions with the complex number type ( float complex cexpf(float complex z)).
The pre-build library declares it as  declare <2 x float> @cexpf(<2 x float>).

This is probably an issue in ABI.cpp. We need to handle it here:

https://github.com/trailofbits/mcsema/blob/master/mcsema/Arch/ABI.cpp#L65
Maybe here, just in case a return of <2 x int> uses rax and rdx: https://github.com/trailofbits/mcsema/blob/master/mcsema/Arch/ABI.cpp#L320
Maybe here, https://github.com/trailofbits/mcsema/blob/master/mcsema/Arch/ABI.cpp#L344
Definitely here: https://github.com/trailofbits/mcsema/blob/master/mcsema/Arch/ABI.cpp#L377
Definitely here: https://github.com/trailofbits/mcsema/blob/master/mcsema/Arch/ABI.cpp#L404

I think this is probably pretty easy.

@pgoodman and @Aiethel was this fixed in the complex number support branch?

Yes.


PHP 5.3 compatibility for arrays

PHP 5.3 compatibility for Older Magento versions which don't support php 5.4+

Hi Yury,
Could you please do the pull request on the development branch.
Regards,
Rik

I saw that this was merged to master, then reverted. Will this be merged to master in any near future?

Hi Yury,
Could you please do your pull request to the develop-2.3.2 branche. Then with the next release we merge this to the master.
Regards,
Rik
Adyen


Smart blocks insert the block id of the block tagged as smart block during expansion

Roam Version: 0.8.6-2a157972
Roam42 Version: 2021-06-08-18-34 (current)

Ok. So this is caused by the zotero-roam extension. Not sure what the problem is though.

@dvargas92495 Hi David! Could this be related to the issue that was reported on Slack (https://roamresearch.slack.com/archives/C0190JLGDUJ/p1621988643082100?thread_ts=1621988643.082100&cid=C0190JLGDUJ) about selectors?

the issue on slack is an html/css conflict between jump nav and zotero, so I don't think it's causing this issue. In fact, I'd be surprised if zotero-roam is at all related to this issue. This could be a v1 smartblocks bug that shouldn't be the case in V2, but in any case I'm still curious. @sebastianpech do you have time for a call next week to help debug? https://calendly.com/dvargas92495/roamjs

@dvargas92495 Cool, thanks. Thursday works for me. I'll prepare a mostly empty graph where I can reproduce the issue that I can also share with you.

Btw. tried the smartblocks 2 beta. There the issue is gone.

great news! cool looking forward to syncing up


lost .013 wweth

i know its not allot but its allot to me and I was moving from phantom back to metamask with wormhole after figuing out i cant buy anything with it i was trying to buy sol now my weth are just gone is there anything i can do to fix this and recover my eth i cant afford this.
https://explorer.solana.com/tx/348SRzCzbzZfpdTR5voUpgEJb92t4iXnTCJb77okAt1ueBF9ZhwjnGuPsQaZh6pvJ8aLvKZHfGWU4q56xLcfyPay

The transaction was successfully processed by the Wormhole network, but the client-side transaction submission may have failed. Try clearing your cache and reloading wormholebridge.com to see if the transaction can be completed there. Make sure both wallets are connected.
If wormholebridge.com doesn't work, you can manually submit the signed VAA bytes below to the submitVAA method on the Wormhole contract: https://etherscan.io/address/0xf92cd566ea4864356c5491c177a430c222d7e678#writeContract

Digest (for reference only): 9c767ab3528092e6df67af7eab104d700bf3c10aca5b960fc91c01ec17e57951
Signed VAA bytes to submit to the contract:

0x01000000010d00896e2596cbf808492c518476d59511d97705dbcdc0a6977a60ca9fb6ff1aeb0b05eeba72ba97cf8da3cd4cf9879850568f84dea148bf34f2deb02cdb50f05c6f010154b3c0ea2c48b91f3288f658f846f126e066c1233dcc2e3f709a2a526453b903000120f2a7b31e91506635017f38eec0fe338f29d8d9d6473eb16f2d5f5339b10102adfbde3488d54c09e5de005626bc8e50eac1fdc1378dc38b19109aca42ce0deb4ad5c47444d49ff782150e20323465799e7a29c5057a0d84fd905c065db5d32e000351f4f077478709b9d385d596747721ffd549d8a9a4f01d95ebb67ebdb4871d4b07cc5279e137c7aa94e3ac63f77e4a6d20aec38012400ac913adb6be5ecc722701048682478af1925d37526e2446900db338407927a92f3a9cb81c7a50d1774e4f87763db80e9bb7b9f8a330f79d2fa056d8bac6811fa0d84b5d6d7ce9d5e02e5cf101055a158872ab0d69beb54b55a34cdc8fbfb5911fd93afa37b2e43709bd982e216f2d115cbb4431d5c4bfd4c7f4c719f64abc019779150a98373665818bd888fbb90007cf52643bbc1337b3c01db0dad53ce66b00814be638c017c1d8b79f922335271a3519691f00bdf80c71c0838e0a5b81e6e4ab1e163dad549758b19aa993bc62e00108d0e58efd1dd384a533c654abc85f1da73fdc91dc5a5e3cf2059c841c6d2738b64cd510a4f46f3960313c5efcb4c537e0c21bbc66bbdcdb58c589f52693002c52010a71d827880486a76538eb2e0a4877e2e7f155809d886e03701bba0ebc62c0b9e273d41298eb033847c10cf82aabaf1059b4c90b3f29585dbe4e51756906be4323010b26a6a5faa133080546419312dacd724ce5ba25cf3b1d3464ead8bf1ce8dc8f2f6f70ffcbb9d0375c6f9d4e9afbfa15882d942db492694fbc3898686a564e05ff010d5ed109fa47a965ec5a781f51c2b9e43f06b126b266696858c5d2f822d0482bb513de41a27b82be55f935e1e73d719bbd3dc8fcc2bb908619a96283c4a794fe600011ae7f75a4424f7dca84cf0b604caf41c3f5031a770786f0e67eb357a8c8a2994f5561c61df171832a4a60a3253641385ee9c50a88a80bb8b6a6d5e6f9d2ca7190001241f5b13c41a40dec3771aa487e059533db5df9315e524d2c19c82c38c56891cb71a51b92ede5669a93df642b0cc5ec77ddc51acd8c60d81095237ba1645417ea01613711991000005b6301022905b42c69b6ebdff71487a8fbf0f9f5f0a8e38774787c8b1f12f170e3bc5c6d000000000000000000000000e1665e0bb115cd3ffb258bbca7aa546b0c72e94702000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2090000000000000000000000000000000000000000000000000000000007bfa480


az login --identity : No access was configured for the VM, hence no subscriptions were found

I spun up a new Windows VM from the az cli using a template. The template assigned a User Assigned Managed Identity to the VM. The UI confirms that it is indeed assigned. But when I try to login via the console on the VM, I get the following error:
az login --identity
No access was configured for the VM, hence no subscriptions were found

I have also tried passing in the user directly. The said identity has assigned permissions to our key vault and I have confirmed this as well.

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

ID: 433e32dc-9881-cd09-92f5-2f967a3ad70e
Version Independent ID: c41cd763-cc08-c63e-f020-7136767c7575
Content: How to use managed identities for Azure resources on an Azure VM for sign in
Content Source: articles/active-directory/managed-identities-azure-resources/how-to-use-vm-sign-in.md
Service: active-directory
Sub-service: msi
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@AlexisJackson Hi, could you please share the document you are referring to so that we can address it quick? Thank you.

@YutongTie-MSFT I was trying to use the assigned user identity to the VM following numerous examples. One being:
https://github.com/MicrosoftDocs/azure-docs/blob/dbce872763a7bd05f6ba605b0dc406cda0afa8ec/articles/active-directory/managed-identities-azure-resources/how-to-use-vm-sign-in.md#azure-cli
Another reference being another person's issue in this repo: https://github.com/MicrosoftDocs/azure-docs/issues/25019

As another example, I've also referenced the docs here: https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest#az-login

I found the issue - the UMI has to have reader access to itself in order to be able to do az login --identity from the CLI on the VM it is assigned to.

@AlexisJackson - I'm facing the similar issue. Can you let me know hoe exactly did you solve that? How did you provided reader access to the UMI itself?

@chintanrp You have to go into the UMI resource, select "Access control" and add a Role assignment that grants Read access to the UMI in question. So as an example:
UMI = test-user-managed-identity
Role assignment on the above UMI would be to grant Read access to the same UMI, test-user-managed-identity.
Hope this helps!

@AlexisJackson Is this also applicable to System Managed Identity? That we need to assign VM System Managed Identity read access to the VM itself?

@AlexisJackson did you work this out?
I am seeing the same error with a system-managed identity created via arm?

Found this... looks to be the answer (Add role so system managed identity) in this case a role for ACR
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication-managed-identity#grant-identity-access-to-the-container-registry-1y

Hi, in case someone is still looking for a solution to this, make sure the custom role / built-in role you assign the user managed identity has the following privilege:
Microsoft.ManagedIdentity/userAssignedIdentities/read

Just a fyi, in my case i had a system and user assigned identity. The system seems to be taken first even though the user had enough access. Once i added some access to the system it worked. Could not delete the system one (policy on my end)

If you have attempting this with only a system-managed identity and your VM is in the Azure USGovernment environment, you need to first set the Az CLI cloud to AzureUSGovernment:
az cloud set --name AzureUSGovernment
az login --identity

Think it was because it just takes the system, if you want to use the user one you need to do az login --identity --username <client_id|object_id|resource_id> in order to pick up the user identity it also has. It doesn't combine them. So if you have BOTH system and user the default is take the system. You have to force it with the command to use the other one.

Think it was because it just takes the system, if you want to use the user one you need to do az login --identity --username <client_id|object_id|resource_id> in order to pick up the user identity it also has. It doesn't combine them. So if you have BOTH system and user the default is take the system. You have to force it with the command to use the other one.

Confirmed... what the actual hell...


I hope can see the HLSL ver update

Is your feature request related to a problem? Please describe.
I hope can see the HLSL ver update
Describe the solution you'd like
Because I very love use PotPlayer but PotPlayer not support GLSL ver
Describe alternatives you've considered
PotPlayer only can use HLSL (v0.9 Beta)
Additional context
HLSL ver update PLS!

I hope this too

I hope this too

See #47

See #47

Yeah this is a dupe but I never got an answer on the other issue on whether the non-CNN shaders could be converted to HLSL.

Yeah this is a dupe but I never got an answer on the other issue on whether the non-CNN shaders could be converted to HLSL.

#Jules-A
There is only one temporary texture can be used in HLSL of DirectShow based player, so it's not just CNN shaders that's hard to rewrite.

#Jules-A
There is only one temporary texture can be used in HLSL of DirectShow based player, so it's not just CNN shaders that's hard to rewrite.

@Jules-A
There is only one temporary texture can be used in HLSL of DirectShow based player, so it's not just CNN shaders that's hard to rewrite.

Even for Dark/Thin Lines shaders? They are the ones I'm most interested combining with MadVR.

@Jules-A
There is only one temporary texture can be used in HLSL of DirectShow based player, so it's not just CNN shaders that's hard to rewrite.

Even for Dark/Thin Lines shaders? They are the ones I'm most interested combining with MadVR.

Line thining already exists in MadVR, though it seems the implementation might be different. For line darkening it should be possible as it only needs 1 additional channel for storing data.

Line thining already exists in MadVR, though it seems the implementation might be different. For line darkening it should be possible as it only needs 1 additional channel for storing data.

Line thining already exists in MadVR, though it seems the implementation might be different. For line darkening it should be possible as it only needs 1 additional channel for storing data.

But it's not very good and doesn't allow tuning. For example, I run Anime4k's line thinning at 0.36 strength and 2 iterations, it's very different from the default settings although it does have it's strengths (720p+) and weakness (480p- or aliased).

Line thining already exists in MadVR, though it seems the implementation might be different. For line darkening it should be possible as it only needs 1 additional channel for storing data.

But it's not very good and doesn't allow tuning. For example, I run Anime4k's line thinning at 0.36 strength and 2 iterations, it's very different from the default settings although it does have it's strengths (720p+) and weakness (480p- or aliased).


How to execute the same function in a loop

I want to upload multiple images asynchronously.
how can I write it using PromiseKit?
let images:[UIImage]!

self.upload(image0).then {_ in
     self.upload(image1)
}.then {_ in
     self.upload(image2)
}.then {_ in
     self.upload(image3)
}
....
.then {image9 in
     self.upload(image9)
}

or
for image in images {
....
}

when(fulfilled: images.map(upload)).then { results in
     //…
}

@mxcl Thank you,I really appreciate.


Fix/tfd 147 add kerberos support

Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Add kerberos support to TCOMP HDFS components.
Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:

Pull request test result: success :star:

Pull request test result: failure :x:


Linkable text in RichText.

I am not sure if adding event function to TextStorage is a good thing.

This looks better and simpler!
Is TextLayout expected to be cheaply clonable? If yes, then cairo backend shouldn't be using line_metrics: Vec<LineMetric>. If no, we should use Vec<(Rect, usize)>

This looks better and simpler!
Is TextLayout expected to be cheaply clonable? If yes, then cairo backend shouldn't be using line_metrics: Vec<LineMetric>. If no, we should use Vec<(Rect, usize)>

Yes, we expect TextLayout to be cheaply clonable. The Vec<LineMetric> will be fixed when the new linux text work lands, in https://github.com/linebender/piet/pull/389.

@Maan2003 can you add a few links to one of the examples, so that I can play around with this a little bit for testing?

added open as a dev dependency. We may want to add a way to open things to druid.
rewrote markdown example to use RichTextBuilder because we can't add links to RichText(because Arc[Link]).
We should add len() to RichTextBuilder. So that we don't have to manually keep track of current_pos

I think for now I would have the links be 'dummy' links, and not actually open anything? Maybe just log to the console? I'm more interested in seeing that that the hover works and the command is received than what we actually do with it.

Given that this example doesn't work on web anyways, I have removed dev dependency on open for web target

sorry for the run-around on the implementation.

thanks for that, it lead to better code and thanks for the doc comments help :)


#2042 added when idle mechanism

#2042 This commit adds support for the [whenidle] attribute, and includes an example for its use.

Can you document this new feature in the manual? Otherwise it looks good

Added a blurb to the section about entry method attributes, can add more if it is insufficient.


pro model

hi, do you have any plans for releasing the stable animator pro model? any exact date?🌹🌹🌹

Hi, StableAnimator-Pro is still under review. I’ll release it as soon as possible. Stay tuned!

Any process?

Any process?

Hi, StableAnimator-pro is currently under review by the company.