touch_with_version does not work with conditional options

touch_with_version is not working correctly with the on and only options combined. However touch_with_version works fine with both options seperately. For example:
has_paper_trail on: [:update], only: [:some_attr]

With this in the model, after running touch_with_version runs and doesn't error but no version is created.
# frozen_string_literal: true

# Use this template to report PaperTrail bugs.
# Please include only the minimum code necessary to reproduce your issue.
require "bundler/inline"

# STEP ONE: What versions are you using?
gemfile(true) do
  ruby "2.4.1"
  source "https://rubygems.org"
  gem "activerecord", "5.1.4"
  gem "minitest", "5.10.3"
  gem "paper_trail", require: false
  gem "sqlite3"
end

require "active_record"
require "minitest/autorun"
require "logger"

# Please use sqlite for your bug reports, if possible.
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
ActiveRecord::Base.logger = nil
ActiveRecord::Schema.define do
  # STEP TWO: Define your tables here.
  create_table :users, force: true do |t|
    t.text :first_name, null: false
    t.timestamps null: false
  end

  create_table :versions do |t|
    t.string :item_type, null: false
    t.integer :item_id, null: false
    t.string :event, null: false
    t.string :whodunnit
    t.text :object, limit: 1_073_741_823
    t.text :object_changes, limit: 1_073_741_823
    t.integer :transaction_id
    t.datetime :created_at
  end
  add_index :versions, %i[item_type item_id]
  add_index :versions, [:transaction_id]

  create_table :version_associations do |t|
    t.integer  :version_id
    t.string   :foreign_key_name, null: false
    t.integer  :foreign_key_id
  end
  add_index :version_associations, [:version_id]
  add_index :version_associations, %i[foreign_key_name foreign_key_id],
    name: "index_version_associations_on_foreign_key"
end
ActiveRecord::Base.logger = Logger.new(STDOUT)
require "paper_trail/config"

# STEP THREE: Configure PaperTrail as you would in your initializer
PaperTrail::Config.instance.track_associations = true

require "paper_trail"

# STEP FOUR: Define your AR models here.
class User < ActiveRecord::Base
  has_paper_trail on: [:update], only: [:first_name]
end

# STEP FIVE: Please write a test that demonstrates your issue.
class BugTest < ActiveSupport::TestCase
  def test_1
    user = User.new(first_name: "Jane")
    user.save!

    assert_difference(-> { PaperTrail::Version.count }, +1) {
      user.paper_trail.touch_with_version
    }
  end
end

# STEP SIX: Run this script using `ruby my_bug_report.rb`

Turns out this is also true with the if option (and probably the others).
Currently my workaround involves creating new classes that inherit from the parent class and simply have has_paper_trail without any options. I then use this new class whenever I want to call touch with version. However I think this is a very ugly solution.
How can I create a new version regardless of any of the options when using touch_with_version. This must be possible?

Hi Weston,
The docs say for touch_with_version say:
# Mimics the `touch` method from `ActiveRecord::Persistence`, but also
# creates a version. A version is created regardless of options such as
# `:on`, `:if`, or `:unless`.

The :only option isn't specifically mentioned, but I think it's clear that the intention is to always create a version.
Here's what I'm seeing when I run your script:
has_paper_trail                                     # pass
has_paper_trail on: [:update]                       # pass
has_paper_trail only: [:first_name]                 # fail
has_paper_trail on: [:update], only: [:first_name]  # fail

It seems :only is the problem and :on is not relevant.
Please take it from here and prepare a PR with a fix and new tests, thanks.

After investigating, the cause of this problem is in lib/paper_trail/record_trail.rb

touch_with_version: https://github.com/airblade/paper_trail/blob/master/lib/paper_trail/record_trail.rb#L433
will_record_on_update https://github.com/airblade/paper_trail/blob/master/lib/paper_trail/record_trail.rb#L592

This bug would effect all of the conditional options only, if, unless, skip, ignore
Looks like I would need to re-create the logic for all these options within will_record_on_update? otherwise it can possibly create 2 version entries.
I will continue to work on adding that logic within that method. However, please let me know if theres a better way I can go about this.

https://github.com/airblade/paper_trail/blob/3960d7ff75aa3000cf55a42e4fcc39af5e073987/lib/paper_trail/record_trail.rb#L433-L434
Instead of recreating all the logic I thought it might be easier to just wrap the save call in a without_versioning block. See the following code.
record_update(true)
@record.paper_trail.without_versioning do
  @record.save!(validate: false)
end

This fixed everything and all tests passed except for one test regarding enum's. Related to this PR https://github.com/airblade/paper_trail/pull/846/files#diff-b231cea2817ec877c717184b869a5f74
Would love it if anyone has some feedback fixing the enum bug using this new implementation.

Fixed by https://github.com/airblade/paper_trail/pull/1053, will release in 9.0.0.


Conflict fix

this hopefully fixes the mess with merging from the billing branch.

This was reverted back from May 25th, some changes may need to be done.


Updated data types for use with multi-FPGA applications.

[X ] This contribution adheres to CONTRIBUTING.md.
What does this Pull Request accomplish?
Updated data types for use with multi-FPGA applications.  These changes are additive, and the presence of the new fields should not effect legacy code.
Why should this Pull Request be merged?
This PR will be needed by future changes for multi-FPGA support.
What testing has been done?
This change has not yet been tested!

@rlratzel can you update the FPGA Data array in Compiled Data.vi to include not just the 1.3 APUs, but also the other related channels, e.g. 1,0 Analog Replays, 1.0 Digital Pattern Gens, and Unused Analog replays? After reviewing this further it looks like we need to duplicate most of the items currently not in the array into the cluster inside it.


feat: add Numpad support

Add support for capturing numpad specific key events.
Fixes #29.

Testing is needed with MacOS and Linux

@ostrosco Are the naming conventions in this project more leaning towards Windows or Linux/MacOS? In Windows it's called "numpad", in Linux/MacOS "keypad" but in the end it probably doesn't make a huge difference.

Fixes #29

I'm so sorry for leaving this out for so long; real life had really gotten in the way. This all looks great and I'm perfectly happy with the naming convention of numpad. Thanks for the PR and sorry for taking so long to accept it.

I'm so sorry for leaving this out for so long; real life had really gotten in the way. This all looks great and I'm perfectly happy with the naming convention of numpad. Thanks for the PR and sorry for taking so long to accept it.


Override hardcoded third-party CDN

Folks, this refers to the hardcoded CDNJS_BASEURL in oc-client.js.
Right now it appears there's no clean way to override that, so that I may pick up jQuery from my own CDN instead. The use case is driven by enterprise deployments that aren't keen on opening up to external CDN yet.
Any pointers on driving this via registry, or via browser oc.conf would be really useful.

Hi, I think we should totally allow one or both.
Having that stuff driven by the registry sounds like the best option but may require a bit of coordination.
The oc.conf override instead seems quite an easy win - would you be able to attempt a Pull Request for that?

Hi @matteofigus. Sure, working on that now. Will check back in a bit.

The oc.conf approach actually opens up a security hole, it'd be possible for anyone with access to the browser to fetch his own script instead (assuming cors headers are left as permissive as they are currently).
The safer alternative has already been implemented, do not load jQuery if already present.
I figure we should do the same for HandleBars at the minimum.


updating a few of the help texts

Updating a few of the help cmd text values since a few partners have had confusion around these values.

Below is the new output
Flags:
      --certification-project-id string   Certification Project ID from connect.redhat.com/projects/{certification-project-id}/overview
                                          URL paramater. This value may differ from the PID on the overview page.
                                          (env: PFLT_CERTIFICATION_PROJECT_ID)
  -h, --help                              help for container
      --pyxis-api-token string            API token for Pyxis authentication (env: PFLT_PYXIS_API_TOKEN)
      --pyxis-env string                  Env to use for Pyxis submissions. (default "prod")
      --pyxis-host string                 Host to use for Pyxis submissions.
                                          This will override Pyxis Env.
                                          Only set this if you know what you are doing.
                                          If you do set it, it should include just the host, and the URI path.
                                          (env: PFLT_PYXIS_HOST)
  -s, --submit                            submit check container results to red hat

Global Flags:
  -d, --docker-config string   Path to docker config.json file. This value is optional for publicly accessible images.
                               However, it is strongly encouraged for public Docker Hub images,
                               due to the rate limit imposed for unauthenticated requests. (env: PFLT_DOCKERCONFIG)
  -l, --list-checks            lists all the checks run for a given check

Signed-off-by: Adam D. Cornett<EMAIL_ADDRESS>

/test 4.8-e2e


XML Configuration

Hi,
All examples include YAML configuration but no matter how much I tried, I couldn't get this configured in config.xml.
Could someone please provide some XML config examples in the documentation?
Thank

HI @FlorinAsavoaie,
Could you try this: http://converter.rosstuck.com ?

That one clearly says it ain't for config but for services...
On Sun, Feb 26, 2017 at 1:04 PM, Robin Chalas<EMAIL_ADDRESS>wrote:

HI @FlorinAsavoaie https://github.com/FlorinAsavoaie,
Could you try this: http://converter.rosstuck.com ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lexik/LexikJWTAuthenticationBundle/issues/308#issuecomment-282548266,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC-J0U2xdcbTuey4ajVa8egzmUepKcdoks5rgVxQgaJpZM4MMVwy
.

@FlorinAsavoaie In fact we do not provide a schema for xml configuration. If nobody does it, I will work on this as soon as possible.


Fix: Referencing entities in where filter causes an error.

Resolves #256
Description
Please see the linked issue for more details.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

@plypaul per our convo in Slack I think we should backport this to 0.4.latest fix.


Oracle ana

This NFT frontend consist of 3 main panels for interacting with the NFT minting process.

Left panel: displays the contract details, Chainlink V_RF Coordinator, KeyHash, VRF ubscritiopn ID, Gas Limit_, and also the Contract Address and its owner's address. This info could be removed from the frontend, but for now it's display for checking purposes.

Center panel: provides buttons to request random words (only the contract's owner can request it, a.k.a. my address) but once the VRF request is approved and the 'requestID' is received, the user can enter it into the textfield and click on the 'Mint NFT' button. Then, he can check his balance with the 'Check NFT balance' button (it chacks the balanceOf the address of the connected wallet).

Note: when a 'requestId' is received and used for mint a NFT, its random number is used to tag the 'serie' of that NFT. So each token has a 'serie', a 'name' and an 'image' values. By default, all the NFts have the same name and image. Ideally we should have a collection of different images/names and assign them randomly, but right now it's not that fancy.

Right panel: allows the user to view details of a specific owned NFT, entering the token ID, and shows the series (vrf random num), the name ('idea') and the ipfs-hosted image of the NFT.

Alert added


Windows build for Casadi?

Is there a specific reason why there is no Windows build?
We plan to distribute a package with conda that depends on Casadi.

No specific reason. I didn't have much use for a windows build, and creating / debugging the recipe does take some time.
Many of the dependencies we use also are missing windows builds.. (I take the blame for missing windows builds for the first two)

conda-forge/ipopt-feedstock#1
ampl-mp
mumps

metis has an example of a windows build that we could follow, and the casadi/binaries channel has some recipes that we could likely adapt as well.
Ultimately I don't see myself having the time or expertise to go through these, but I would be happy to accept pull requests (on the feedstocks that I manage) if you wanted to give it a shot?

Sure! Let me first get my hands on a Windows machine, that would speed up debugging.

What's the current status for this?
I found this package to include Windows as supported platform:
https://anaconda.org/meco-staging/casadi
Conda-forge is now having ipopt binaries as well:
https://anaconda.org/conda-forge/ipopt

What's the current status for this?

I think that with a bit of effort enabling a Windows build of Casadi should be doable, it is only necessary to enable again the Windows build in the recipe, and make sure that the CMake machinery of casadi to find ipopt work fine with the ipopt on Windows installed by the ipopt conda-forge package.

What's the current status for this?

I think that with a bit of effort enabling a Windows build of Casadi should be doable, it is only necessary to enable again the Windows build in the recipe, and make sure that the CMake machinery of casadi to find ipopt work fine with the ipopt on Windows installed by the ipopt conda-forge package.

This is kind of easier said than done though...
Locally, I have no problem building it for Windows. However, I never managed to made it work on remote... If you guys are willing to help, I'll be VERY glad (a lot of my other work doesn't work on Windows because of this non-working dependency...)

This is kind of easier said than done though...
Locally, I have no problem building it for Windows. However, I never managed to made it work on remote... If you guys are willing to help, I'll be VERY glad (a lot of my other work doesn't work on Windows because of this non-working dependency...)

I would be happy to help, if you have some medications that work locally, I suggest to submit a PR, I would be happy to help in debugging any possible error that could emerge.

I would be happy to help, if you have some medications that work locally, I suggest to submit a PR, I would be happy to help in debugging any possible error that could emerge.

This was done in https://github.com/conda-forge/casadi-feedstock/issues/3 .

Great!
On Thu, 20 May 2021 at 01:27, Silvio Traversaro @.***>
wrote:

This was done in #3
https://github.com/conda-forge/casadi-feedstock/issues/3 .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/casadi-feedstock/issues/3#issuecomment-844564434,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIGNMUSZOJNL3DHNOVIR6LTORCPRANCNFSM4DJWDKUA
.

--
Francisco J. Navarro-Brull

closing with #47


Working on a Docker Compose clustering example

Hi, I have been working on an example with Docker Compose and a small modification in one of your images, I haven't upload it yet (I'll do it during the weekend) but maybe you can host it here with the rest.
In short, compose file sets a NODENAME, COUCHDB_USER and COUCHDB_PASSWORD for container.
version: '2'
services:
  coordinator:
    container_name: coordinator
    image: sayden/couchdb2:compose
    network_mode: docker_internal_net
    environment:
    - NODENAME=coordinator
    - COUCHDB_USER=admin
    - COUCHDB_PASSWORD=password
    ports:
    - "5984:5984"
    - "5986:5986"
    - "6984:6984"
  worker1:
    container_name: worker1
    image: sayden/couchdb2:compose
    network_mode: docker_internal_net
    environment:
    - NODENAME=worker1
    - COUCHDB_USER=admin
    - COUCHDB_PASSWORD=password
  worker2:
    container_name: worker2
    image: sayden/couchdb2:compose
    network_mode: docker_internal_net
    environment:
    - NODENAME=worker2
    - COUCHDB_USER=admin
    - COUCHDB_PASSWORD=password
  worker3:
    container_name: worker3
    image: sayden/couchdb2:compose
    network_mode: docker_internal_net
    environment:
    - NODENAME=worker3
    - COUCHDB_USER=admin
    - COUCHDB_PASSWORD=password

Also, local.ini needed a bit more of data to work. This is the resulting one:
[chttpd]
port = 5984
bind_address = <IP_ADDRESS>

[httpd]
port = 5986
bind_address = <IP_ADDRESS>
enable_cors = true

Finally I also expose 5986
Tell me if you want it here and I'll make you a pull request.

🎉  This looks like it could be very helpful for people trying to set up a cluster. Maybe we can add it as an example.

I made it work with a few workarounds. I'm struggling to understand how CouchDB 2 handles clustering. I managed to get it work setting a different NODENAME on each container that are visible using a DNS server. After a failure of a container I can't reconnect the node. But I managed to deploy a 30 containers cluster! :)
Do you want that I open the PR and maybe you can help me to fix the workarounds?

This is very useful. Will this change (e.g.: expose port 5986) be available as latest in the Hub?
I'm struggling to understand how to setup clustering. I have read all the online Apache documentation, and using the 2.0.0/latest. Are there any good example of the steps to create the containers (node names) and adding the nodes to the cluster?

I got the cluster working with 2.0.0/latest. The NODENAME has to be passed equal to the server host (domain) name.
Example:
docker run -e NODENAME=myserver1.com -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password -d -p 5984:5984 -p 4369:4369 -p 9100:9100 -p 15984:15984 -p 25984:25984 -p 35984:35984 -p 15986:15986 -p 25986:25986 -p 35986:35986 -p 5986:5986 --name mycouchdbinstance klaemo/couchdb:latest
I just cannot cluster Docker containers on the same server due to a "document conflict" error.

@dsietz I won't be in front of the computer before 3 or 4 hours but I remember I also had this problem.
The fix was to set the HOSTNAME to the same value of NODENAME on each container. The reason is that each CouchDB node tries to reach other instances by TCP requests on their NODENAME. So each container must resolve (DNS) the NODENAME to the address of the rest.
I'll try to upload some example compose file later.

@sayden ie. default $NODENAME to hostname and 2.0.0 image would be cluster ready?

@sayden I'm closing this. But this would be great as a section in the Readme. We moving the repo to  https://github.com/apache/couchdb-docker


Document provisional status for testing utilities

Fix for #1154

Current coverage is 98.40% (diff: 100%)

Merging #1159 into master will not change coverage

@@             master      #1159   diff @@
==========================================
  Files            28         28
  Lines          6505       6505
  Methods           0          0
  Messages          0          0
  Branches       1093       1093
==========================================
  Hits           6401       6401
  Misses           54         54
  Partials         50         50

Powered by Codecov. Last update 8a145e0...12c7ae6


Add slug to operators

Add slug to operators, will be used by frontend app for better SEO.
https://www.pivotaltracker.com/story/show/184614863

No, I just added a filter, not using slug as id in the route, as I had problems with using hybrid approach (both id, and slug) as id in the route. The solution to override find_by_key does not work here (at least with this version of jsonapi-resources)


On capturing of a piece, defending player's piecesInHand tally does not increment

increment is called using the gamePiece's reference to the player. This is likely the source of the issue, maybe try moving that functionality elsewhere. GamePiece likely doesn't need a reference to its player anyway

Note: This only happens when getPossibleMoves() is used. I think the pieces are holding onto bad player references (likely in the stack of previous moves). I don't really need this functionality at the moment, so the bug can be avoided by disabling the functionality in the gameplay loop.


ci: test

Commit https://github.com/HumanSignal/infra/commit/412c085c81b5ed718b8ed34722a927c68e1df17b is created.

Commit https://github.com/HumanSignal/infra/commit/68f166cb7cf5a16f0728a7e90fbb2e1a45784975 is created.

Commit https://github.com/HumanSignal/infra/commit/a7e51b8284bd978d0800bc6e729b7bfe6034a231 is created.


Question?

Saw you from the discord. Is this going to be a static website?

This gonna be a Static site for while ^^


Fix insecure SQL connection

Description
The current SQL connection string does not specify Encrypt=True, which makes the connection insecure and susceptible to man-in-the-middle attacks.
Recommendation
Update the SQL connection string to enforce encryption by setting Encrypt=True.
Example
// Corrected code with Encrypt=True
SqlConnection m_dbConnection = new SqlConnection("Data Source=webroam.sdf;Version=3;Encrypt=True;");
m_dbConnection.Open();
SqlCommand command = new SqlCommand("SELECT score, name, family FROM highscores", m_dbConnection);
command.CommandText = "SELECT score, name, family FROM highscores";
command.ExecuteNonQuery();
m_dbConnection.Close();

References
Microsoft: SqlConnection.ConnectionString Property
Common Weakness Enumeration: CWE-327

SqlCeConnection ?


fix: crash when scroll event's values are 0

I don't know why, but the fact is e.nativeEvent.layoutMeasurement.width often be 0.
That results of Infinity when using newIndex and currentMedia will be undefined.

Picture above is because of:
console.log(newIndex, "!!!", event.layoutMeasurement); // add in `_onScroll(e)` function in FullScreenContainer.js

// output: Infinity "!!!" Object {width: 0, height: 0}

Hi @XadillaX!
I just merged an old PR that'd fix this problem: https://github.com/halilb/react-native-photo-browser/pull/13
Could you take a look at that if it fixes the problem?


Feature request: AKWaveTable per note velocity (w/ prototype code)

Hi! Long time lurker, first time poster :-)
I'm successfully using AKWaveTable as the targetNode of an AKSequencerTrack.
The AKSequencerTrack notes are correctly triggering the AKWaveTable to start playback. However, the note's velocity information is not used in the playback. As far as I can tell, this is due to lines 332-333 of AKWaveTableDSPKernel.hpp which only check if the velocity is within [0-127], and then start the playback without any velocity info being passed/used.
I made a (hacky? horrible? immoral?) change to AKWaveTableDSPKernel.hpp which consists of the following:
uint8_t note = midiEvent.data[1];
uint8_t veloc = midiEvent.data[2];
if (note > 127 || veloc > 127) break;
// the change is the line below
setVolume(float(veloc) / 127.0);
start();
break;

Should I lose my programming license? Be expelled from GitHub? Lose access to electricity? :-)
Yes -- the code above does work. As in, the notes' velocities do affect the AKWaveTable playback volume.
But... is this ok? :-) If yes, I'll be happy (& proud) to open a PR. If not, I'll disappear in shame and never bother anybody again here. :-)
Thank you!

Make a PR, I think this makes sense!


New clippy warnings in nightly

After the next Rust release, a new beta will be branched and the following new clippy warnings will start making builds fail (at least I guess this is how the timeline will look like):

error: indexing into a vector may panic
   --> src/rust_connection/mod.rs:508:30
    |
508 |     let extra_length = match buffer[0] {
    |                              ^^^^^^^^^ help: try this: `buffer.get(0)`
    |
    = note: `#[deny(clippy::match_on_vec_items)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_on_vec_items
error: indexing into a vector may panic
   --> src/rust_connection/mod.rs:564:11
    |
564 |     match setup[0] {
    |           ^^^^^^^^ help: try this: `setup.get(0)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_on_vec_items
error: indexing into a vector may panic
   --> src/rust_connection/mod.rs:508:30
    |
508 |     let extra_length = match buffer[0] {
    |                              ^^^^^^^^^ help: try this: `buffer.get(0)`
    |
    = note: `#[deny(clippy::match_on_vec_items)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_on_vec_items
error: indexing into a vector may panic
   --> src/rust_connection/mod.rs:564:11
    |
564 |     match setup[0] {
    |           ^^^^^^^^ help: try this: `setup.get(0)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_on_vec_items
error: aborting due to 2 previous errors

Both of these are false positives. I opened https://github.com/rust-lang/rust-clippy/issues/5553 about this. For the time being, this can just be ignored.
If the clippy devs decide that this the way it is supposed to be... we again have a slight problem. #[allow]ing the lint means that x11rb no longer can be linted with clippy from Rust stable.

Clippy moved the lint to pedantic.


Figure legends

Need to write once we agree upon figures

Partially done: https://github.com/SchlossLab/Schloss_Census2_mBio_2015/commit/409eca58fd85fe601eb7c91e06760a8e6eb2ae7b


Upload to pypi soon

Hasn't been updated in a while and I'd like to try some of the new features

Indeed. There's been quite a few braking changes since v0.1.3

Next version should be v0.2.0

Correct and I'd be willing to devote some time to that


[go] Only allocate memory when needed

Even when not copying the data for the index (only relevant for memory
mapped flatgeobuf files, we were allocating the memory to hold the
copy.

Sorry, I had to force push to clean up my remote branch. Can you take another look? The actual change is like 2 lines or so. :)


Fetch & Display Message from Server

milestone requested we submit a PR
important changes:

use fetch to get the text data from the url/data doGet function
slice the message to remove formatting (so that if you go to url/data the formatting remains)
display the cleaned data from server on index.html

@Caffeinix do you mean I should pull when I switch to a new branch? Since the only pushes are coming from me shouldn't my code always be the most up to date?

I'm not quite sure how this maps to the process on your side, but what I'm seeing is that changes from a previous PR are showing up as part of the diff in this one as well.  Pulling won't switch you to a new branch, it'll just merge the changes that have been merged into that upstream branch into your local version.


Custom movement-Controls - enable y axis movement without enable fly ?

Hi there,
i want to have some custom controls where i can move around on the X-Z-Axis with WASD and also move Up and Down on the Y-Axis with Q and E.
So.. i edited the keyboard controls to support movement on the Y-Axis with 'Q'(Up) and  'E'(Down)
The Problem is, that i have to enable " fly " else  Q or E would effect movement on Z or X -Axis.
I found the Reason here ; ( movement-controls.js)
if (data.fly) {
          velocity.copy(dVelocity);
          velocity.multiplyScalar(this.data.speed * 16.66667);
        } else {
          vector2.set(dVelocity.x, dVelocity.z);
          vector2.setLength(factor * this.data.speed * 16.66667);
          velocity.x = vector2.x;
          velocity.z = vector2.y;
}

Does anyone has a clue how i can achieve this ?

See customizing movement controls, or you can also modify the source code directly of course.
Closing this issue as I can't offer much 1:1 support here, I'd recommend Stack Overflow for help.


(dropbox) should be version 100.4.409

@AdmiringWorm @gep13 @majkinetor @ferventcoder
The current stable version is 100.4.409, but the current version for chocolatey is version 99.4.501

It looks like the updater is failing to update due to a Forbidden response from the server.
au_GetLatest failed
Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (403) Forbidden."

https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f#dropbox

@AdmiringWorm the error if forbidden is due to the version being passed to the URL check in the script.
(Example: latest version 99.6.54 version that gets passed to the URL check is 99.6.54, but since the latest version is 100.4.321 the version that gets passed to the URL check is 00.4.321 which results in a forbidden URL error )

We will be working on a new updater for this package. Website and versioning changes make this a need for this package.

@AdmiringWorm
Since the merging of PR #1508 . I will now close this issue.


Video: improve TBT

Follow up from: https://github.com/hlxsites/bevespi/pull/169

@lansami solved in #322 ?

yes, this should be solved, but I think there is space for improvement
the video library is currently loaded with delay, 3.2s after the video block is loaded, this does not mean the script is loaded after the page load.
the script is loaded with defer, it's execution is started after the page load, this will not block the page, but for the user the experience is that they will see a blank space for a short time
I've tried also to use a placeholder and start the download of the library after the user clicks on the placeholder, this increased the page performance, but it was not very user friendly because sometimes the autoplay of the kaltura is not always working.
What I would suggest for improvement would be to set a placeholder for the video, using a image from the doc, and replace the placeholder when the library is loaded and the video is ready, I think this would increase the user experience

fixed in #322


Remove outline styling to allow default browser selection elements

The outline focus border shows up after you click the element:
E.g.: click a link then this shows up before the page changes

This border should only show up after hitting Tab

Hiding outline effects is not recommended as far as accessibility is concerned. The browser will add default styles for element outline when element is in focus / tabbed / clicked.

Right and I agree, my suggestion here is not to add any styling to outline effects by default and to allow browsers to apply their default styling, which are more accessibility focused. The default Tachyons outlines are not great from both a design and accessibility perspective.

Gotcha @musm . The title was misleading, a bit. :slightly_smiling_face:

I agree, this should probably be the default behaviour, and is in keeping with Tachyons' ethos. Can we find any other sources to evidence this being best practice in terms of a11y?

Hello, is this issue still open? I have a project for a software methodology class to contribute to an open source repo and I am very interested in working on this project. Could I be assigned to this issue? Thanks!


OLS-546: Use cluster id as user id

Description
Use cluster id as user id
Type of change

[x] New feature

@bparees @xrajesh The user id in the e2e CI is "system:serviceaccount:openshift-lightspeed:test-user". In order to have the feature in the PR covered by e2e test, I need to hit the /authorized endpoint as the "kube:admin". Would you know an easy way how to do it besides updating the the request model of that endpoint to allow post user (which I'm not sure if we want to do)? Another option would be to remove the e2e test.

@onmete The tests are using the test-user's token. here  . You can make a API call as kubeadmin by getting the kubeadmin's token. I am thinking we are logging in as the kubeadmin. Hence  kubeadmin_token=$(oc whoami -t) should give us the kubeadmin token. We will need a function just like def get_user_token(name: str) -> str: to run the oc whoami -t . If you make use of that token and make a OLS api call, it should get you "kube:admin"

/retest

@onmete minor change proposed - otherwise - this LGTM.

/lgtm

/approve

/retest

/retest

/lgtm

/retest

/retest

/lgtm


Backend - Authentication - OAUTH2 (Study)

Study how to enable OAUTH2 with [JAAS](http://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/JAASRefGuide.html.

Picketlink project provides OAUTH2 client facilities, but on JAAS integration for this.
There's an OAUTH2 JAAS module developped here that could be reused.

deprecated


Getting started is hard

Hello!
Your project seems interesting after testing other libraries that tries to do the same thing but with iframe and web forms which is not that nice.
I have spent a couple hours trying to get your library into my simple web application and failing. I am using Visual Studio 2013.
First I installed the Nuget package "ASP.NET MVC". It created som boilerplate code but no dll was referenced so I got two compiler errors of this type: The type or namespace name 'AlanJuden' could not be found (are you missing a using directive or an assembly reference?)
Then I found your dll inside the git-repo (under nuget\lib\net452). Copied that file into my project and referenced it. The I got the exact same two compile errors as before!
Then I open you .sln file from the git-repo but when building that I got lots of compiler errors of this type: Unexpected character '$' in HtmlHelperExtensions.cs and ReportServiceHelper.cs. Looking at your code in git in the browser I can see there are $ signs sprinkled here and there, should it be there? If so, how do I make it compile?
Also Nuget could not download Microsoft.Net.Compilers.props and ApplicationInsights. All other Nuget packages was downloaded and installed properly.
Can you help me out here? This might not be an issue but in my opinion you need to clarify the documentation a bit and package your solution so that it is easier to get started.
Thanks for the great work though! This stuff is really needed.

Hello @martindlarsson, if I had to make a bet...your existing project's .net version is set to a lesser version than mine is set for (mine is set to .net 4.5.2 as you noticed from nuget\lib\net452). Please check your project's .net version and see if you are possibly set to .net 3.5 or .net 4.0 instead of at least 4.5.2. Also, I'm assuming that your using standard .net rather than .net core.

That might be the case that my project is set to 4.5 but when opening your
solution I am using your settings. Then it should compile if it compiles
for you, right?
I'm using standard .net, not core.
On Fri, Feb 17, 2017, 16:32 Alan Juden<EMAIL_ADDRESS>wrote:

Hello @martindlarsson https://github.com/martindlarsson, if I had to
make a bet...your existing project's .net version is set to a lesser
version than mine is set for (mine is set to .net 4.5.2 as you noticed from
nuget\lib\net452). Please check your project's .net version and see if you
are possibly set to .net 3.5 or .net 4.0 instead of at least 4.5.2. Also,
I'm assuming that your using standard .net rather than .net core.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alanjuden/MvcReportViewer/issues/12#issuecomment-280681377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANazAo9Obdm1dgekkyyDp0nr6jmoZGsnks5rdb2jgaJpZM4MEWiE
.

Correct - opening my solution and compiling should work as long you have .NET 4.5.2 framework installed on your computer.
The issue in your project is that visual studio seems to ignore any references that are above your project's .net framework version so it acts as if the reference doesn't exist (it usually highlights the reference with a yellow triangle if you expand your references section).
However, it should be relatively painless to update your framework version from the project properties screen.

@martindlarsson: did my suggestion work for you?

I left my computer at work. Have to try it on Monday. Thanks!
On Sat, Feb 18, 2017, 03:22 Alan Juden<EMAIL_ADDRESS>wrote:

@martindlarsson https://github.com/martindlarsson: did my suggestion
work for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alanjuden/MvcReportViewer/issues/12#issuecomment-280814372,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANazAgK-slplX0DbIpahyws84OcHSJkSks5rdlXigaJpZM4MEWiE
.

Moving up to 4.5.2 did the trick. Though you are using C# 6 features which not is available in Visual Studio 2013. So that is why the project did not compile.
I am having some other issues as well but I'm going to try to fix them myself, otherwise open new issues here.

Thanks for reporting back @martindlarsson. I'm going to close this one out now.


FINERACT-1499-DB-connection-exception-fix-for-bootRun

Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[x] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@ptuomola, @vorburger, @vidakovic   please check this. This is blocking by local bootRun.
ref : https://stackoverflow.com/questions/62875244/caused-by-java-lang-runtimeexception-driver-com-mysql-cj-jdbc-driver-claims-to?rq=1

@fynmanoj thanks again for this one... just in time another colleague stumbled upon it and needed the fix. :clap:


Windows 10 support

Any plan to add windows 10 support?
By the way, many thanks for this plugin :)

Hi,
I would also like to add Windows 10 in the platforms list, however, currently I do not have any Windows environment set up or device to work on.
Also I will welcome any pull request regarding that platform :-)

Hi,
I'll look for somebody on freelancer.com to have this done, even if  I have a very low budget.
Thanks

@smorstabilini I am starting learning Windows plugin dev, will try to create this plugin.


Add 37 more unique app signature hashes

I extracted signatures hashes from most of my current apps and made sure there is no duplicates submitted. I also correctly formatted everything using regex. In the future I will likely contribute more app signature hashes.
Now it is necessary to verify the listed signature hashes and optionally add signature hashes for apps from other sources. Afterwards it is ready to be merged.

please only verify those app signature hashes which have comments. Those that don't are WIP

👍 For the apps you still haven't please add the comment with GitHub/Google Play Store or Codeberg/Google Play Store or whatever combination and not Official.

@soupslurpr completed some part of it. You may start verifying those with comments.

Thanks, but the verification info format unfortunately had to be changed to support multiple signers and signing key rotation. Please refer to https://github.com/soupslurpr/AppVerifier/blob/master/CONTRIBUTING.md for info about how the database will be formatted. :)

@soupslurpr but it is correct. You sent me the sample. It is only necessary to resolve the merge conflict (shouldn't be difficult).

however I am still working on my submission

You did the formatting wrong, there should be a Hashes for every different list of hashes

ok I will redo everything again

sorry, I should have explained it clearer

There is an explanation at the top in the comment and also refer to the previous entries.

yeah you should've sent two hash entries. I also don't know how to resolve all of these merge conflicts (and sync fork) cuz I never actually contributed properly :laughing:


reCaptcha Support

Added Support for reCaptcha
In the config just enter the public and private keys if you want to use it otherwise leave them blank

I get some errors using this:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /Users/Shared/munkireport-php/app/controllers/auth.php on line 65

Warning: file_get_contents(): Failed to enable crypto in /Users/Shared/munkireport-php/app/controllers/auth.php on line 65

Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=6Lc0sCcTAAAAALpCnq0OT8ot7y2p-gVgHiqTy38X&response=03AHJ_VutsoVRinap9xxE1mt-r6R2NCJNV2nECif3oOxIgoJD7YqOSW3bJt-IVIxbNaQ26ND928z0wSeNQReynX2GKWgsmSlQ0KcrYzQ4g9EmmWdcFBYqfCOKPN-Ljdbil31nK-oK7snzBd5oh62Ab4835nXoFOPUF6luTyKHjTuNDPlhYnB2op9scj58uXRoNEknq-zg8imuJqO9iNFd3I3cgqXIIBm4Fm5KAvJTvL-8VXYGMGUbrOeWwLvZWUemDsPfrWxJtOC4fhMJiAVVT6akIsca1V0HwRI2XREZL0IH35_98dCwT-8gTp0Fcy9AbqE3Hngr9uhiRvleypYD_tChlavR4zGI0eGBM9GhPow2MRDxxGkHYb8AzoJnunOzuvCCoftqSYKwiwgFcMbXlUnn2xFJ7IB-xTlAfjedZ_YluREMfyoHLuQTnC2OF9o4lzuGS9NykgacSs-eg-6ys4cM-CgvHMBOxiU2B1mBKr1f9nZfof15Uh_r8ROW0rlKIc1DWg6yBffjFJrOPIiKTqN0GR2gLjD7895GKNFnY28x_3O62CZeHc2zKHkA41qDamDC61dp6EkMbj0-5rKjEZWfFlwbvhKA11SsdiW8Yy1t9D95hg8l1uyx9H4eWb4-NbhRLo0jkTcgFjNykoKvPT6wc3Y-CUt8yX6blEBC_gihgJWw-qEvWTZx20mGVmGed8izS7vnwbWt1Ntt96ivzKF2QCeJYjGa6Tlmp58he8_esycNAoGi7utogPPxTGLKMhmopUzV906NEMTCWlWi4pWPmBI3Y3W1izeEUnwzymDv8bE_ygAUHnKuokoUWY0QOGu_IOSqC8IGx6gJ5ORUu-VMVy89TGURmcZFGZlG2flqjga11DjRUJM1jjAgXmBt in /Users/Shared/munkireport-php/app/controllers/auth.php on line 65

checking now - interesting
i may have assumed https       reviewing that part now

Made some auth.php changes for admins that don't enable it
checking on SSL issue reported

Without causing a security hole
Does your PHP version have cURL installed?
On linux: sudo apt-get install php5-curl
Windows enable the curl extension
Otherwise we can put this in the script which is a security hole (minor one) but will work
$arrContextOptions=array(
"ssl"=>array(
"verify_peer"=>false,
"verify_peer_name"=>false,
),
);
Let me know what you would like to do

My php version does have curl enabled. Minor security holes turn into big security holes overnight and aren't an option in my environment.

Agree with you there  :)    Hmm thanks for checking;  I tested this on PHP 5.6.x Windows box   digging more      seems to be common across the board ; we do have the option to specify the ssl cert itself and can probably just inject it in the folder;    reviewing this option

Try now added a cacert.pem file that goes in a specific directory
then modified the code per http://stackoverflow.com/questions/33849880/recaptcha-file-get-contents-ssl-operation-failed
FYI the cacert.pem was acquired from the site: http://curl.haxx.se/ca/cacert.pem

Made a change to the view of login.php to look better on smaller devices too (changed offset of button from 3 to 2)

What's your motivation for adding a reCaptcha?

Help protect against bots
Especially since our instance is linked to LDAP - AD and publicly accessible

Still the same error. I'm running version 5.6.23 on my local macOS machine as in https://github.com/munkireport/munkireport-php/wiki/Quick-demo

Interesting, spinning up a mac vm to test with and will get back to here

Maybe also take a look at https://github.com/google/recaptcha

Ok heavily changed the auth.php code and removed the SSL folder not needed
Also switched everything to post requests per Google Recommendation
tested on Mac OS X using the quick test guide
tested on Windows with https and works too

modified result != 1
Result is actually going to be 1 if it succeeds otherwise blank for anything else

Still the same error for me. (macOS 10.12, php --version
PHP 5.6.23 (cli) (built: Jul 22 2016 19:05:30) )

On the dev instance you added SSL cert correct?  if so  do you have quick instructions on adding a test one to the machine?  otherwise can dig into that

I just pulled your branch and ran that with my reCaptcha credentials in config.php. I did nothing more to get it working.

interesting let me try pulling my branch again and try again  maybe a weird character or something when copying the code over to github    have seen that before

I tested it without ssl and it's working. 10.11.6, php 5.5.36

thanks for confirming!     i used just http on the mac machine (followed the dev setup) and then tested with and without https on a windows production server
let me figure out loading an ssl cert into a test mac machine and test away there

installed mamp pro (https://www.mamp.info/en/) (using PHP 5.6.10  OS X 10.11.6) and setup ssl with a self-sign cert and left all defaults   and it works fine in https and http
can someone send me a list of php modules installed and i will check against my list to see if one is missing

to rule out google keys too this is the test keys i tested against to check they would work   (then i used my own production keys too)
With the following test keys, you will always get No CAPTCHA and all verification requests will pass.
Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
The reCAPTCHA widget will show a warning message to claim that it's only for testing purpose. Please do not use these keys for your production traffic.
https://developers.google.com/recaptcha/docs/faq


Keep the same type of name

https://github.com/paritytech/substrate/commit/eefba93cf62ff80e1011dbe1cd3a543b711f7bb9#diff-402ebe8b386bd8422131875c431704f41f17f30dd1cebe04b96082b561ef899bR267
Replaced with TaskName everywhere else but not here

I meet this error when signing the CLA: ERROR: signature_token is missing or is invalid.

If I am in San Francisco around that time, I will be there, but it is quite some distance away, so it doesn't seem terribly likely.
Sent with Proton Mail secure email.
------- Original Message -------
On Friday, November 4th, 2022 at 3:55 AM, zjb0807 @.***> wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/paritytech/substrate/pull/12616
Commit Summary

195dbe6 Keep the same name

File Changes
(1 file)

M frame/scheduler/src/lib.rs (8)

Patch Links:

https://github.com/paritytech/substrate/pull/12616.patch
https://github.com/paritytech/substrate/pull/12616.diff

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

The cla CI passed.


Add Documentation Note on Exporting Names in Rive Files

Hello,
I recently encountered an issue while using the package. It was unable to reference shapes and other elements by their names because these names were not being exported in the Rive files I was using. I discovered that in Rive, there is a specific setting that must be enabled to export these names along with the file.
I resolved this issue by enabling the "Export Options -> Export all names" setting in Rive, which allowed the package to function as intended. However, this requirement was not documented in the package's instructions, and it took a considerable amount of time to diagnose and resolve the issue.
Suggestion:
It would be highly beneficial for future users if the documentation could include a note or section about the need to enable the "Export names" setting in Rive when preparing files for use with this package. This addition would help prevent similar issues for others and improve the overall user experience.
Thank you for your efforts in maintaining this package. I look forward to seeing this enhancement in the documentation.

Thank you for bringing this to my attention and for sharing your experience with the package. I appreciate your detailed explanation of the issue you encountered and the solution you found.
I am aware of this limitation in the current version of the package, and I want to assure you that I am working on addressing it. In the upcoming update, I will be making several improvements:
I will update the documentation to include a note about the "Export Options -> Export all names" setting in Rive. This will help future users avoid the issue you encountered and streamline their workflow.
Additionally, I'm planning to expand the package's capabilities by adding support for linear and radial gradients.
These enhancements will be part of the next release, which I aim to publish soon. Your feedback is invaluable in helping me improve the package and its usability for the community.
Thank you again for taking the time to report this issue and for your suggestion regarding the documentation. Your contribution is greatly appreciated :)


CLOUDSTACK-10434:Some APIs should have access check

Description
This PR fixes the CLOUDSTACK-10434. I think some APIs lack access check and  list them in below table. I also give the pattch to add the access check for the api in this table. Anyone chould change this table, If you think the APIs do not need access check and change their lable as "no".

API
Lack?

VolumeApiServiceImpl # updateVolume
yes

VolumeApiServiceImpl # detachVolumeViaDestroyVM
yes

VolumeApiServiceImpl # takeSnapshot
yes

VolumeApiServiceImpl # migrateVolume
yes

AccountManagerImpl#createApiKeyAndSecretKey
yes

LoadBalancingRulesManagerImpl#applyLBStickinessPolicy
yes

LoadBalancingRulesManagerImpl#applyLBHealthCheckPolicy
yes

TemplateManagerImpl#createPrivateTemplate
yes

SnapshotManagerImpl#updateSnapshotPolicy
yes

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[x] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[x] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: centos7 :heavy_multiplication_x: centos8 :heavy_multiplication_x: debian. SL-JID 220

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: centos7 :heavy_multiplication_x: centos8 :heavy_multiplication_x: debian. SL-JID 227

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian.
[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time:  10:02 min [INFO] Finished at: 2021-03-25T16:53:40+08:00 [INFO] ------------------------------------------------------------------------
It's strange. Anyway, submit an empty commit to trigger test again.

It's strange. Anyway, submit an empty commit to trigger test again.

@lujiefsi you can do this by closing and reopening on github, you don't have to push.

It's strange. Anyway, submit an empty commit to trigger test again.

@lujiefsi you can do this by closing and reopening on github, you don't have to push.

Got it.  I have merged these commits as one.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 278

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian Build Failed (tid-291)

@blueorangutan test

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-300)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36125 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4859-t300-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Smoke tests completed. 84 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestKubernetesCluster>:teardown
Error
72.89
test_kubernetes_clusters.py

test_01_migrate_VM_and_root_volume
Error
69.31
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
50.10
test_vm_life_cycle.py

@blueorangutan test

@blueorangutan test centos7 vmware-67u3

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Trillian test result (tid-338)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34939 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4859-t338-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 84 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_deploy_kubernetes_cluster
Failure
104.55
test_kubernetes_clusters.py

test_02_invalid_upgrade_kubernetes_cluster
Failure
52.24
test_kubernetes_clusters.py

test_03_deploy_and_upgrade_kubernetes_cluster
Failure
55.24
test_kubernetes_clusters.py

test_04_deploy_and_scale_kubernetes_cluster
Failure
110.35
test_kubernetes_clusters.py

test_05_delete_kubernetes_cluster
Failure
52.15
test_kubernetes_clusters.py

test_07_deploy_kubernetes_ha_cluster
Failure
60.26
test_kubernetes_clusters.py

test_08_deploy_and_upgrade_kubernetes_ha_cluster
Failure
58.25
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
72.48
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
111.94
test_kubernetes_clusters.py

ContextSuite context=TestVAppsVM>:setup
Error
44.57
test_vm_life_cycle.py

@Spaceman1984 can you manually test those APIs, I reckon those are not covered by smoketests

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 370

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 372

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 386

Hi @lujiefsi can you please resolve the conflicts?

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 425

@lujiefsi can you address review comments?
@Spaceman1984 ping - any update on manual testing?

@lujiefsi can you address review comments?
@Spaceman1984 ping - any update on manual testing?

YES, i am addessing review comments and  testing it.

Tested all calls manually except LoadBalancingRulesManagerImpl#applyLBHealthCheckPolicy, I'm not sure how to. @rhtyd.
Seems like I need Netscaler infra.

@blueorangutan package

@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian.
Seems like I need Netscaler infra.
Other than that, no issues found.

I picked up an issue with one of the calls, it doesn't break anything, I just feel that the check is not needed in this particular situation. In AccountManagerImpl#createApiKeyAndSecretKey - this method is called the first time the management server starts up and the baremetal system user doesn't exist. The checkAccess method then checks if the system user is allowed to access the baremetal system user account, which always returns true for the system account.

API Command Name
Method
Owner
Different User

updateVolume
VolumeApiServiceImpl # updateVolume
Pass
Pass

destroyVirtualMachine
VolumeApiServiceImpl # detachVolumeViaDestroyVM
Pass
Pass

createSnapshot
VolumeApiServiceImpl # takeSnapshot
Pass
Pass

migrateVolume
VolumeApiServiceImpl # migrateVolume
Pass
Pass

N/A - called to create baremetal user the first time the management server starts up. - I don't believe we need this check
AccountManagerImpl#createApiKeyAndSecretKey
N/A
N/A

createLBStickinessPolicy
LoadBalancingRulesManagerImpl#applyLBStickinessPolicy
Pass
Pass

createLBHealthCheckPolicy
LoadBalancingRulesManagerImpl#applyLBHealthCheckPolicy
skipped
skipped

createTemplate
TemplateManagerImpl#createPrivateTemplate
Pass
Pass

updateSnapshotPolicy
SnapshotManagerImpl#updateSnapshotPolicy
Pass
Pass

Merging based on @Spaceman1984 's test report, smoke tests and reviews.


Add TypeScript example  in examples  dir.

Feature request

What is the expected behavior?
As there is an example of coffee-script but there is no example of TypeScript, is it better to add it?
What is motivation or use case for adding/changing the behavior?
Projects in the world have typescript
I thought it should be added because it is increasing.
How should this be implemented in your opinion?
Add  TypeScript  example to example directory.
Are you willing to work on this yourself?
yes, of course.

Feel free to send a PR.


Package installation from github / import fails

I was able to successfully install the package from github via:
pip3 install git+https://github.com/ccb-hms/BioPlexPy.git#egg=BioPlexPy

However, importing the package throws a Module not found error:
ludwig@Ludwigs-MacBook-Pro ~ % ipython
Python 3.9.5 (default, May  4 2021, 03:36:27)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.0.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import BioPlexPy
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Input In [1], in <module>
----> 1 import BioPlexPy

File /usr/local/lib/python3.9/site-packages/BioPlexPy/__init__.py:1, in <module>
----> 1 from helper_funcs import getBioPlex
      2 from helper_funcs import getGSE122425
      3 from helper_funcs import bioplex2graph

ModuleNotFoundError: No module named 'helper_funcs'

I believe this can be fixed by specifying (note the dot in front of helper_funcs):
from .helper_funcs import getBioPlex

in your init.py file.

fixed, added a "." before each func name in the init file


Move an App into a Team Workspace

Also Rename Team Workspaces

Closing to use Notion as the source of truth for this issue per @markramm


Compile problem with RP2040 and PROPERTY C_STANDARD 90

Describe the bug
when you try to compile the FreeRTOS Plus TCP (V4) with RP2040 the build starts failing on pico library  with multiple errors like:
expected declaration specifiers or '...' before string constant
use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code

if we disable the line 3 in CMakeLists.txt file in the source folder
# set_property(TARGET freertos_plus_tcp PROPERTY C_STANDARD 90)

the project compiles correctly
Target

Development board: custom development board
Instruction Set Architecture:  ARM
IDE and version: vscode
Toolchain and version:  arm-non-eabi-gcc 10.3.1

arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621 (release)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Host

Host OS: GNU/Linux
Version: Ubuntu 22.04

To Reproduce

Use project ... and configure with ...
Run on ... and could observe ...

Expected behavior
Compile the FreeRTOS-Plus-TCP without any source code changes
Additional context
We are creating a custom network driver that leverage FreeRTOS-Plus-TCP V4 features

Some fixes were made recently for C90 compliance. Are you using the latest code from main?

@aggarg no, effectively i use the tag V4.0.0 but i got the same list of errors with the main branch
[build] pico-sdk/src/rp2_common/hardware_gpio/gpio.c:147:5: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code
[build] pico-sdk/src/rp2_common/hardware_gpio/gpio.c:150:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
[build]   150 |         for(uint i=gpio;events8 && i<gpio+8;i++) {
[build]       |         ^~~

[build] pico-sdk/src/rp2_common/hardware_gpio/gpio.c:150:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
[build]   150 |         for(uint i=gpio;events8 && i<gpio+8;i++) {
[build]       |

This warning is not from our code but from Pico. Are you setting C90 in your application CMake? Can you share your project that we can use to repro the problem?

@aggarg i'm not but the FreeRTOS-Plus-TCP does it right? This is the line in CMakeLists.txt in the source folder https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/7a58ae819ce3ca3f79a4e167d4a193da54ba2205/source/CMakeLists.txt#L3
Here the source file https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/source/CMakeLists.txt#L3

The line you mentioned only sets the C90 for freertos_plus_tcp target - so it should not cause failures in Pico code. Did you add more files to freertos_plus_tcp target?

Hi @aggarg you are right during the compilation i have thi CMakeLists.txt file
set(FREERTOS_HEAP "3")
set(FREERTOS_PORT "GCC_RP2040")

set( FREERTOS_PLUS_TCP_NETWORK_IF "A_CUSTOM_NETWORK_IF" CACHE STRING "" FORCE)
set( FREERTOS_PLUS_TCP_TEST_CONFIGURATION "DISABLE_ALL" CACHE STRING "" FORCE)
set( FREERTOS_PLUS_TCP_BUFFER_ALLOCATION "1" CACHE STRING "" FORCE )
set( FREERTOS_PLUS_TCP_COMPILER "GCC" CACHE STRING "" FORCE )

link_libraries(
    pico_stdlib
    pico_multicore
)

add_subdirectory(FreeRTOS-Config)
add_subdirectory(FreeRTOS-Kernel)
add_subdirectory(FreeRTOS-Plus-TCP/source)
add_subdirectory(FreeRTOS-Plus-TCP/tools)

And if i doesn't link the pico library for the kernel i cannot compile for the RP2040 and use the multicore. Do you have any advice to compile the kernel for the rp2040 and the support for the TCP?

Nothing seems wrong here at first glance.

i can create a dedicated repository as an example for this problem with the pico-sdk to show the problem i just need some time to create it from scratch

Can you do this and share the build instructions also so that we can repro the problem?

Closing this issue as it is not directly related to the +TCP code.
Feel free to reopen this if you think otherwise.


binary classification only!?

I created a new processor in run_classifier where the get_labels method returns ["0", "1", "2", "3", "4", "5"] and it's giving me an error where I try to run:
"Assign requires shapes of both tensors to match. lhs shape= [6,768] rhs shape= [2,768]"
I'm using multi_cased_L-12_H-768_A-12
I found a couple of posts that mention this issue but no reference to how to go about solving it.

Hi,
I am facing a similar problem. Were you able to solve it?

The solution is to make sure your old data is deleted upfront
DO_DELETE = True
Because your lhs shape= [6,768] refers to a 6 label classification and your rhs shape= [2,768] to a binominal classification.


fatal error: host/ble_hs.h : No such file or directory  [[same for esp_nimble_hci.h]]

I feel the lv_micropython repository needs issues turned on, so there's a place for people to report with things specific to it.

Lacking that place: I try to compile the esp32 port on the dev-8.0 branch of that and get:

/Users/rop/code/esp/lv_micropython/extmod/nimble/modbluetooth_nimble.c:38:10: fatal error: host/ble_hs.h: No such file or directory
 #include "host/ble_hs.h"
          ^~~~~~~~~~~~~~~
compilation terminated.
/Users/rop/code/esp/lv_micropython/ports/esp32/mpnimbleport.c:35:10: fatal error: esp_nimble_hci.h: No such file or directory
 #include "esp_nimble_hci.h"
          ^~~~~~~~~~~~~~~~~~
compilation terminated.

It's probably something silly, but I'd really appreciate any pointers on how to solve. Turning off bluetooth in the menuconfig does not help.

I feel the lv_micropython repository needs issues turned on, so there's a place for people to report with things specific to it.

Originally, lv_micropython was created as an example of how to use lv_micropython_bindings on a Micropython fork.
As such, we try to keep changes there as minimal as possible and we try to keep it in sync with Micropython upstream releases. We also try to add changes to lv_micropython_bindings instead of to lv_micropython, when possible. (for example we keep all drivers in lv_micropython_bindings, the ESP32 CMake functionality etc.)
Eventually it turned out many people are using lv_micropython directly and only a few use it as a reference to support LVGL on their own Micropython fork, but I still think it makes sense to maintain most changes in lv_micropython_bindings and to keep lv_micropython as close to Micropython upstream as possible.
For now, please open issues here on lv_binding_micropython while questions can go to the forum.

2. Lacking that place: I try to compile the esp32 port on the dev-8.0 branch of that and get:

What ESP-IDF version are you using?
I'm currently using v4.2 tag (c40f2590bf759ff60ef122afa79b4ec04e7633d2) and I'm not seeing this problem.
Micropython is probably not compatible with all ESP-IDF versions.

I tried v4.1, v4.2 and v4.3 tags, and had same problem with all of them... I'll try starting from scratch tomorrow and going step by step.

Are you still facing this problem?
I've just cleaned and rebuilt lv_micropython with ESP-IDF v4.2 without any problem.
Maybe that's something in the environment?

Maybe you didn't update submodules correctly?
What toolchain version are you using? (I'm using xtensa gcc 8.4.0)
What CMake version are you using? (I'm using cmake 3.18.4)

/Users/rop/code/esp/lv_micropython/extmod/nimble/modbluetooth_nimble.c:38:10: fatal error: host/ble_hs.h: No such file or directory
#include "host/ble_hs.h"

Looking for ble_hs.h I can find it on my workspace in two places:

Under lv_micropython: lib/mynewt-nimble/nimble/host/include/host/ble_hs.h
Under espidf: components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs.h

Can you find it on these locations on your workspace?
If not, maybe you can try cloning a fresh workspace, updating submodules etc.

Oh sorry, should have posted a followup and closed the issue: it fixed itself when I fixed my weird state-issue with my own fork that I could only solve by starting over...

I feel the lv_micropython repository needs issues turned on, so there's a place for people to report with things specific to it.

Originally, lv_micropython was created as an example of how to use lv_micropython_bindings on a Micropython fork.
As such, we try to keep changes there as minimal as possible and we try to keep it in sync with Micropython upstream releases. We also try to add changes to lv_micropython_bindings instead of to lv_micropython, when possible. (for example we keep all drivers in lv_micropython_bindings, the ESP32 CMake functionality etc.)
Eventually it turned out many people are using lv_micropython directly and only a few use it as a reference to support LVGL on their own Micropython fork, but I still think it makes sense to maintain most changes in lv_micropython_bindings and to keep lv_micropython as close to Micropython upstream as possible.
For now, please open issues here on lv_binding_micropython while questions can go to the forum.

Hi Amirgon,
Can I suggest that you include your two paragraphs on lv_micropython vs lv_micropython_bindings early on in the main README.md somewhere? As a new user to the project I found it surprisingly difficult to understand how all the projects relate, and this explanation is helpful. This is a useful nugget of orientation info that doesn't deserve to get lost in the comment thread of a closed issued :)

Can I suggest that you include your two paragraphs on lv_micropython vs lv_micropython_bindings early on in the main README.md somewhere?

Done.


4YI: some issue with camera claimed to be being used for tracking

<EMAIL_ADDRESS>

1578073 - probably this one, but it says android
1492223
1466148 - might be relevant

All mention permissions being bypassed, and all are to do with WebRTC (which we disable)

I was already tracking/aware of this: and it's not a problem for us in several ways (don't get me wrong, it's a bug and I didn't dig into the specifics a lot) but it requires WebRTC. RFP also mitigates the enumerate devices
 ** 1372073 - spoof/block fingerprinting in MediaDevices API (FF59+)
      Spoof: enumerate devices reports one "Internal Camera" and one "Internal Microphone" if
             media.navigator.enabled is true (see 2505 which we chose to keep disabled)

closing


[0.29.x] Support except + nogil statement

Based on: 77918c57b5
Closes #5423

Now that I see this, we probably allow except +nogil, without space. Not necessarily something to fix in this PR, but we should distinguish a user provided exception handling function called nogil from the nogil modifier (i.e. except + nogil). Or at least reject it and require a space.

Superseded by https://github.com/cython/cython/commit/fa9b2e92301ce9fc61a802ba11c6183d2688e20c


Memory leak

Need to implement Renderer.dispose() and other Three.js/WebGL gc stuff.

Mostly fixed by opening player in a new iFrame (85a80e39d2f533bc71cf61af421f81e14730859f...2c150a7df07257c81f5d520a690a83093cb0b116) but the status on editor is unknown, we are still using Three.js in main thread to create thumbnails


Publish docker images to Docker Hub registry

TODO:

[DONE] Split Dockerfile into 2 files
Setup Docker Hub repositories
Setup Docker Hub tests
Switch to deployment from Docker Hub

Splitted Dockerfile: https://github.com/thenewboston-developers/Core/pull/119

Docker Hub setup: https://github.com/thenewboston-developers/Core/pull/120

Unittests for Docker Hub: https://github.com/thenewboston-developers/Core/pull/121

Partial switching to Docker Hub: https://github.com/thenewboston-developers/Core/pull/123

Remaining switching: https://github.com/thenewboston-developers/Core/pull/124

@buckyroberts Done.
See updated INSTALL.production.rst
Briefly:

End-users can deploy from Docker Hub public repositories (not need for authentication)
We still deploy from GitHub registry to thenewboston.network, because we need to trigger deployment after image built is ready (while Docker Hub may delay builds and overall there is no synchronization between GitHub actions and Docker Hub image builds)
End-users can still deploy from GitHub registry if they want to, but it is not recommended, because it is more complicated because of GitHub registry authentication


Add bitcoin or ethereum payment

Hi
I thought about if it was possible or a good idea to add a possibility or a function or node in the Godot engine to include cryptocurrency payment like bitcoin for in-app purchases in your game. Even do I'd think it could have been weird if it was done I will be happy else if it can't I will contempt myself with the existing options. Thanks.

You should create feature proposals in a specific repo - https://github.com/godotengine/godot-proposals/ (and make them correctly formed using this template https://github.com/godotengine/godot-proposals/blob/master/.github/ISSUE_TEMPLATE/feature---enhacement-proposal.md). Otherwise this is inappropriate of our quality barrier. Closed.

Thanks for informing
On Sat, 14 Sep 2019, 06:46 Yuri Roubinsky<EMAIL_ADDRESS>wrote:

Closed #32130 https://github.com/godotengine/godot/issues/32130.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/32130?email_source=notifications&email_token=ALN24ECUEJNHFTF3B3B6FELQJR3ERA5CNFSM4IWVY5Q2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTT7SIOA#event-2633966648,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALN24EC5XI77YUFBYF6RG6DQJR3ERANCNFSM4IWVY5QQ
.

I've created something along the lines of your request for the time being. Maybe you're interested: http://www.insert-coins.org

Oh thanks much I'll check it out.
On Wed, 20 Nov 2019, 16:45 Martijn Bolt<EMAIL_ADDRESS>wrote:

I've created something along the lines of your request for the time being.
Maybe you're interested: http://www.insert-coins.org
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/32130?email_source=notifications&email_token=ALN24EDNHP2WRFYQTADDWSTQUVLSDA5CNFSM4IWVY5Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEESNREA#issuecomment-556062864,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALN24EBSXOK2UXND5F2WUP3QUVLSDANCNFSM4IWVY5QQ
.


Your project requires a newer version of the Kotlin Gradle plugin.

e: /Users/yoer/.pub-cache/hosted/pub.dev/flutter_callkit_incoming-2.0.0/android/src/main/kotlin/com/hiennv/flutter_callkit_incoming/widgets/RippleRelativeLayout.kt: (129, 27): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /Users/yoer/workspace/gradle_user_home/caches/transforms-3/f9bd3816add3c36f02c5ab14e144e020/transformed/jetified-kotlin-stdlib-1.8.10.jar!/kotlin/Unit.class
e: /Users/yoer/.pub-cache/hosted/pub.dev/flutter_callkit_incoming-2.0.0/android/src/main/kotlin/com/hiennv/flutter_callkit_incoming/widgets/RippleRelativeLayout.kt: (130, 13): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /Users/yoer/workspace/gradle_user_home/caches/transforms-3/f9bd3816add3c36f02c5ab14e144e020/transformed/jetified-kotlin-stdlib-1.8.10.jar!/kotlin/Unit.class
e: /Users/yoer/.pub-cache/hosted/pub.dev/flutter_callkit_incoming-2.0.0/android/src/main/kotlin/com/hiennv/flutter_callkit_incoming/widgets/RippleRelativeLayout.kt: (136, 27): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /Users/yoer/workspace/gradle_user_home/caches/transforms-3/f9bd3816add3c36f02c5ab14e144e020/transformed/jetified-kotlin-stdlib-1.8.10.jar!/kotlin/Unit.class
e: /Users/yoer/.pub-cache/hosted/pub.dev/flutter_callkit_incoming-2.0.0/android/src/main/kotlin/com/hiennv/flutter_callkit_incoming/widgets/RippleRelativeLayout.kt: (137, 13): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /Users/yoer/workspace/gradle_user_home/caches/transforms-3/f9bd3816add3c36f02c5ab14e144e020/transformed/jetified-kotlin-stdlib-1.8.10.jar!/kotlin/Unit.class
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':flutter_callkit_incoming:compileDebugKotlin'.

Compilation error. See log for more details

when I upgrade to version 2.0.0, the project fails to compile and prompts to upgrade to the latest Gradle.
Is it possible that flutter_callkit_incoming is using syntax or features that are only supported in the latest Gradle version?

you can try add in android/build.gradle
buildscript {
ext.kotlin_version = '1.8.0'
...
}
change version to 1.8.0

after change version to 1.8.0
`
Launching lib/main.dart on HMA L29 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.

Where:
Script '/Users/yoer/workspace/sources/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 950

What went wrong:
A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
Could not create task ':app:copyFlutterAssetsDebug'.
Could not create task ':app:mergeDebugAssets'.
Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.

Try:

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

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

BUILD FAILED in 1m 58s
Exception: Gradle task assembleDebug failed with exit code 1
`

I think you need to upgrade Gradle version
android/build.gradle
classpath 'com.android.tools.build:gradle:7.1.2'
android/gradle/wrapper/gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip

A problem occurred configuring project ':sqflite'.
> Could not resolve all files for configuration ':sqflite:classpath'.
   > Could not resolve com.android.tools.build:gradle:7.4.2.
     Required by:
         project :sqflite
      > No matching variant of com.android.tools.build:gradle:7.4.2 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.4' but:
          - Variant 'apiElements' capability com.android.tools.build:gradle:7.4.2 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.4')
          - Variant 'javadocElements' capability com.android.tools.build:gradle:7.4.2 declares a runtime of a component, and its dependencies declared externally:
              - Incompatible because this component declares documentation and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about its target Java version (required compatibility with Java 8)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.4')
          - Variant 'runtimeElements' capability com.android.tools.build:gradle:7.4.2 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.4')
          - Variant 'sourcesElements' capability com.android.tools.build:gradle:7.4.2 declares a runtime of a component, and its dependencies declared externally:
              - Incompatible because this component declares documentation and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about its target Java version (required compatibility with Java 8)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.4')
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':sqflite' of type org.gradle.api.Project.
   > Could not get unknown property 'android' for project ':sqflite' of type org.gradle.api.Project.

[✓] Flutter (Channel stable, 3.7.12, on macOS 12.2.1 21D62 darwin-arm64 (Rosetta), locale zh-Hans-CN)
    • Flutter version 3.7.12 on channel stable at /Users/yoer/workspace/sources/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (6 weeks ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/yoer/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/yoer/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

This problem has been blocking my project for a while.
Can you please tell me the specific reasons that caused it?
It occurs when upgrading to version 2.0.
Additionally, my project does not use sqlite.

you can set Android Studio build with java8. Setting>Build Tool>Gradle> set java8 instead of 11

sloved,
project/android/gradle/wrapper/gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

project/android/build.gradle:
buildscript {
    // kotlin version should be 1.8.0
    ext.kotlin_version = '1.8.0'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

        // support notification
        classpath 'com.google.gms:google-services:4.3.10'
    }
}


rkt enter is too limited for debugging stage1 or ACIs

When developers want to debug their ACIs, it is useful to enter in the container to debug it in that environment. However, the ACI might not have a shell (/bin/bash) or the usual debugging tools (ip, gdb, strace...) so rkt enter does not help much.
When debugging changes to stage1, it is useful to enter in stage1 rather than in the chrooted environment for the app. I have a script in /var/lib/rkt/containers/install-busybox.sh to enter in the most recent container:
#!/bin/sh
IMG=$(ls -rt|grep -v .sh$|tail -1)
cd $IMG/stage1/rootfs/bin || exit 1
cp /bin/busybox ./
ln -sf busybox ls
ln -sf busybox ln
ln -sf busybox grep
ln -sf busybox cat
ln -sf busybox ps
ln -sf busybox find
ln -sf busybox cp
ln -sf busybox mkdir
ln -sf busybox mount
ln -sf busybox vi
echo ID=$IMG
nsenter -t $(pidof etcd)  -m -p  /bin/bash

Instead of having each Rocket contributor writing their own debugging tools, it would be good to add something in Rocket. It could be either a new command for debugging, or debugging tips in the README.md file.

I would like if rkt enter could mount a debug volume inside the contains with busybox, strace, gdb, etc. It could come from a debug.aci? I'm not sure where it would mount it though...
At the moment, my script copying busybox is enough, but it might stop working if the container gets read-only.

@alban what do you want to do with this? please assign to milestone

Since systemd-v219, systemd-nspawn has support for adding new bind mounts after the container has been started, via machinectl bind. Maybe rkt enter could use that to add a bind mount with debugging tools?
Set milestone=vfuture.

We should check how to use Delve for debugging Go apps running in rkt.
/cc @derekparker

This use-case is being worked on in #2932


chore: don't export GroupWithZero.inv_zero

Exporting makes it not show as inv_zero in the search results, meaning it's very non-discoverable.

@YaelDillies Which kind of "search result" are you speaking about? Can you provide a minimal example showing how things were before and after this PR?

I'm talking about the docs search. Go to https://leanprover-community.github.io/mathlib4_docs and type inv_zero in the search bar. This is what you get

After the PR, it will be the first result.

Oh, I see, nice catch! I would personally modify the PR description (by adding "search results in the doc webpage" or something along these lines), and the PR title by adding the module where the modif takes place (chore(thisfile.lean)), but of course LGTM.

maintainer merge

I've clarified the PR description

Can you open an issue against doc-gen about how export is not handled, and reference it in the PR description?
I think there are quite a few of these; it might make more sense to sweep over all exports in Algebra/.

I think there are quite a few of these; it might make more sense to sweep over all exports in Algebra/.

I don't really have the energy to do this, especially regarding whether they should be aliases or not. But feel free to push to this branch


Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)
Expected results
No error
Actual results
Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)
Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)
Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)
Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)
Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)
Code sample
Code sample
NO

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
➜  ~ flutter doctor -v
[✓] Flutter (Channel stable, 3.10.0, on macOS
    12.6.5 21G531 darwin-x64, locale en-CN)
    • Flutter version 3.10.0 on channel stable at
      /Users/me/Code/flutter
    • Upstream repository
      https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (9 days ago),
      2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror
      https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices
    (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/me/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/jav
      a
    • Java version OpenJDK Runtime Environment
      (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at
      /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨
      https://plugins.jetbrains.com/plugin/9212-flu
      tter
    • Dart plugin can be installed from:
      🔨
      https://plugins.jetbrains.com/plugin/6351-dar
      t
    • Java version OpenJDK Runtime Environment
      (build 11.0.11+0-b60-7590822)

[✓] IntelliJ IDEA Community Edition (version
    2022.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA
      CE.app
    • Flutter plugin version 73.0.2
    • Dart plugin version 222.4345.14

[✓] Connected device (3 available)
    • iPhone (mobile) • 00008101-001814E13A30001E •
      ios            • iOS 16.1.1 20B101
    • macOS (desktop) • macos                     •
      darwin-x64     • macOS 12.6.5 21G531
      darwin-x64
    • Chrome (web)    • chrome                    •
      web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors)

@denghejun
Please provide us a complete minimal reproducible code sample that shows the log you are reporting, so that we can make this issue actionable.


[Question] OfficeScan popups warning dialog for cppnamelint.exe

How to fix this problem?

You may sign the tool making the OfficeScan knows it.


Tutorial or Demo

for a non technical user it is really hard to setup.
Can you do a sample video while setting it up on google collab.

no reply???

Hi. I understand it can be overwhelming due to the API requirements from both TickTick and GCalendar.
Right now I do not have the time for a demo video. However, I'll upload a Google colab with more detailed instructions which I believe will help make the setup clearer and accesible.

egarly waiting
will google collab keep running and sync the ticktick and gcal?

I am not sure. I believe Google Collab has a time limit after which it will stop running. Therefore, you would need to rerun it whenever it stops. I think that makes Google Collab not the best choice of keeping a constant 2-way-sync.
What to use would depend on your system, but the overall idea is to run the Python script every k minutes/hours (depending on your need). Some easy tools you can use for this are

Windows: Task scheduler (e.g. example tutorial)
Linux: Cron job (e.g., example)

Hi. I understand it can be overwhelming due to the API requirements from both TickTick and GCalendar.
Right now I do not have the time for a demo video. However, I'll upload a Google colab with more detailed instructions which I believe will help make the setup more accesible.

Waiting for the collab.


Can some macOS (arm64) specifics be added?

Can you please add steps for using
Installing DotNet Core SDKs/Runtimes required
VSCode extensions & Settings required
Any other OS specific steps required
and
Troubleshooting steps
for macOS (arm64) Logic Apps Standard Development

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

ID: cbdd9c30-1bc1-7af6-158d-f65ad23f45b7
Version Independent ID: c8828014-4369-ead5-2d05-8c3e823fc93e
Content: Create Standard workflows in single-tenant Azure Logic Apps with Visual Studio Code - Azure Logic Apps
Content Source: articles/logic-apps/create-single-tenant-workflows-visual-studio-code.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@axiomitdavid
Thanks for your feedback! We will investigate and update as appropriate.

Hi @axiomitdavid,
Where possible, I'll add some links to more clearly specify where to find the macOS versions. However, most download pages just list all the OS versions available, so you just select the ones specific to your OS. The specific tools and extensions required are the same across OS versions.

The doc update will go live after 4 PM Pacific Time.
@mike-urnun-msft: #please-close


Implement support for order of execution of workitems

Currently, Workitems are displayed on the front end in the same order as they are fetched from backend. We want a mechanism in backend to support the order of execution of workitems. The order of execution is global and stored/retained.
Related

User Story #318
UI Issue (https://github.com/almighty/almighty-ui/issues/355)

I wonder if this note from the user story is taken a bit to seriously here:

Note: the context of the current story is only a global order, tied to the work item. There are no requirements about tenants, users or projects yet. The order is stored as a numeric value on the work item. Reordering a work item is an operation on this field of the current and (possibly) the surrounding work items. This is the solution for now, keep in mind that this might be replaced by a list-attached order later (like a map of filters->gravity instead of a single value)

Especially the sentence

keep in mind that this might be replaced by a list-attached order later (like a map of filters->gravity instead of a single value)

makes me wonder if it really is a good idea to store the order as an integer on the workitem itself.
I don't think one int can help here.
How will a number be changed when moving items up an down in larger steps? For example, consider a work item list with just the IDs and the new order number like this:

ID
OrderValue

1
100

2
200

3
300

4
400

Let's say you want to move the order of IDs from 1,2,3,4 to 1,4,2,3.

ID
OrderValue

1
100

4
150

2
200

3
300

Now make it from 1,4,2,3 to 1,3,4,2.

ID
OrderValue

1
100

3
125

4
150

2
200

Now, I don't know your algorithm, but a simple method of spacing the order IDs by a factor of let's say 100, doesn't help very much. While first we could place 99 items between ID 1 and 2, after only 2 movements we can only place 24 between 1 and 3. That's a worst case of less than log_2(n) movements before we run out of numbers. So for a spacing of 1000 between the order numbers you can make ~10 moves in the worst case.
Global list
Even though we shall implement a global order or execution I'd recommend to still implement it as a table external to the work item and maybe use either doubly linked lists or Postgres specific hierarchy  functionality to store the sorting. Postgres even supports storing arrays in one column (but I'm not sure if the array elements actually can reference work item IDs).
Extensible list proposal
Let's say you have this list of Work items (just IDs are listed here: SELECT id FROM worki_items):

id

1

2

3

4

You could create an extra table that stores ordering like this:

wiid
previous
next

1
nil
2

2
1
3

3
2
4

4
3
nil

To ensure that work items are referenced correctly you have to write triggers that properly delete an entry from the list. A simple ON DELETE CASCADE is not enough because it would invalidate the linking. For example: When Work item 3 is delete, you have to modify work item 2's next pointer to point to 4 instead of 3 and you have to modify the work item 4's previous pointer to point to 2 instead of 3:

wiid
previous
next

1
nil
2

2
1
4

4
2
nil

All in all, any move operation on the list can be done in O(1).
For new work items you'd also need a trigger to add an item to a defined position in the list.
One downside of my approach is that fetching work items in a defined order requires more though.
As soon as lists are no longer part of the global namespace we can simply add another column that references a project id for example.
NOTE: There may be more clever ways of storing an ordered list but I just wanted to mention that I cannot think of any approach that uses an integer on a work item to store an order. This is determined to not scale, I guess.

I think you're simply trading the complexity of insert for the complexity of searching: If you want to find the items nr 100-110 in the list, you'll have to fetch 110 items from the database.

I think you're simply trading the complexity of insert for the complexity of searching: If you want to find the items nr 100-110 in the list, you'll have to fetch 110 items from the database.

That's exactly why I wrote:

NOTE: There may be more clever ways of storing an ordered list but I just wanted to mention that I cannot think of any approach that uses an integer on a work item to store an order. This is determined to not scale, I guess.

One idea is to play with the key length: thing of a numbered list:
1.
2.
3.
if you want to insert something between 1 and 2, you just make it 1.1:

1.1
2
3
This would keep inserts O(1). Of course, you'd have to rebalance the tree every once in a while in order to keep keys from becoming stupid long. You could select nodes for rebalancing relatively easily by selecting nodes by tree length