NoMethodError - undefined method `each' for "53d00529486a1bcd28000075":Moped::BSON::ObjectId:

Hi guys I already checked my logic but I don't see anything wrong, so I believe it could be a bug.
My models are:
class Payment
  include Mongoid::Document
  include Mongoid::Timestamps
  include Mongoid::Paranoia

  belongs_to :account, index: true
  field :deletion_reason
end

class Account
  include Mongoid::Document
  include Mongoid::Timestamps
  include ActionView::Helpers::NumberHelper
  include PublicActivity::Common
  include ActionView::Helpers::DateHelper

  include Mongoid::Paranoia

  embeds_many :account_notes
  has_many :payments

  accepts_nested_attributes_for :payments
  accepts_nested_attributes_for :account_notes
end

class AccountNote < Note
  embedded_in :account
  TOPICS = ["billing", "client services issues", "class management info"]

  validates_presence_of :account
end

class Note
  include Mongoid::Document
  include Mongoid::Timestamps

  belongs_to :user
  field :content, type: String
  field :topic, type: String
  field :date, type: Date, default: Date.current

  validates_presence_of :user, :topic, :content
end

The error occurs when executing the following code:
def destroy
    @payment = @account.payments.find(params[:id])
    @payment.update_attributes(deletion_reason: params[:payment][:deletion_reason])

    @payment.create_activity key: 'payment.deleted', owner: current_user, recipient: @account, params: {deletion_reason: @payment.deletion_reason}
    if @payment.destroy
       # THE EXCEPTION IS THROWN HERE ################
      @account.account_notes.create(topic: "billing", content: "Payment Deleted due<EMAIL_ADDRESS>account: @account, user_id: current_user.id, date: @payment.deleted_at)
      #################################################
<EMAIL_ADDRESS>    else
      @payment.activities.last.destroy
    end

    respond_to do |format|
      format.js
    end
  end

This is the stack trace:
NoMethodError - undefined method `each' for "53d00529486a1bcd28000075":Moped::BSON::ObjectId:
  mongoid (3.1.6) lib/mongoid/atomic/modifiers.rb:121:in `add_operation'
  mongoid (3.1.6) lib/mongoid/atomic/modifiers.rb:87:in `block in set'
  mongoid (3.1.6) lib/mongoid/atomic/modifiers.rb:84:in `set'
  mongoid (3.1.6) lib/mongoid/atomic.rb:364:in `generate_atomic_updates'
  mongoid (3.1.6) lib/mongoid/atomic.rb:134:in `block in atomic_updates'
  mongoid (3.1.6) lib/mongoid/atomic.rb:132:in `atomic_updates'
  mongoid (3.1.6) lib/mongoid/persistence/operations.rb:145:in `init_updates'
  mongoid (3.1.6) lib/mongoid/persistence/operations.rb:118:in `updates'
  mongoid (3.1.6) lib/mongoid/persistence/operations/update.rb:46:in `block in persist'
  mongoid (3.1.6) lib/mongoid/persistence/modification.rb:26:in `block (2 levels) in prepare'
  activesupport (3.2.16) lib/active_support/callbacks.rb:414:in `_run__1888542753040091012__update__2932193531082085051__callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.16) lib/active_support/callbacks.rb:385:in `_run_update_callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:81:in `run_callbacks'
  mongoid (3.1.6) lib/mongoid/callbacks.rb:130:in `run_callbacks'
  mongoid (3.1.6) lib/mongoid/persistence/modification.rb:25:in `block in prepare'
  activesupport (3.2.16) lib/active_support/callbacks.rb:414:in `_run__1888542753040091012__save__2932193531082085051__callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.16) lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:81:in `run_callbacks'
  mongoid (3.1.6) lib/mongoid/callbacks.rb:130:in `run_callbacks'
  mongoid (3.1.6) lib/mongoid/persistence/modification.rb:24:in `prepare'
  mongoid (3.1.6) lib/mongoid/persistence/operations/update.rb:45:in `persist'
  mongoid (3.1.6) lib/mongoid/persistence.rb:150:in `update'
  mongoid (3.1.6) lib/mongoid/persistence.rb:87:in `save'
  mongoid (3.1.6) lib/mongoid/relations/proxy.rb:143:in `method_missing'
  mongoid (3.1.6) lib/mongoid/relations/auto_save.rb:82:in `block (3 levels) in autosave'
  mongoid (3.1.6) lib/mongoid/relations/auto_save.rb:81:in `block (2 levels) in autosave'
  mongoid (3.1.6) lib/mongoid/relations/auto_save.rb:35:in `__autosaving__'
  mongoid (3.1.6) lib/mongoid/relations/auto_save.rb:78:in `block in autosave'
  activesupport (3.2.16) lib/active_support/callbacks.rb:405:in `_run__2983067559894985491__save__2932193531082085051__callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.16) lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:81:in `run_callbacks'
  mongoid (3.1.6) lib/mongoid/callbacks.rb:130:in `run_callbacks'
  mongoid (3.1.6) lib/mongoid/persistence/insertion.rb:23:in `prepare'
  mongoid (3.1.6) lib/mongoid/persistence/operations/embedded/insert.rb:32:in `persist'
  mongoid (3.1.6) lib/mongoid/persistence.rb:56:in `insert'
  mongoid (3.1.6) lib/mongoid/persistence.rb:85:in `save'
  mongoid (3.1.6) lib/mongoid/relations/many.rb:44:in `create'
  app/controllers/accounts/payments_controller.rb:56:in `destroy'
  actionpack (3.2.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  actionpack (3.2.16) lib/abstract_controller/base.rb:167:in `process_action'
  actionpack (3.2.16) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (3.2.16) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  activesupport (3.2.16) lib/active_support/callbacks.rb:469:in `_run__2531881480130901124__process_action__1173113247620882588__callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.16) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.16) lib/abstract_controller/callbacks.rb:17:in `process_action'
  actionpack (3.2.16) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (3.2.16) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  activesupport (3.2.16) lib/active_support/notifications.rb:123:in `block in instrument'
  activesupport (3.2.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.16) lib/active_support/notifications.rb:123:in `instrument'
  actionpack (3.2.16) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (3.2.16) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  newrelic_rpm (<IP_ADDRESS>) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:38:in `block in process_action'
  newrelic_rpm (<IP_ADDRESS>) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:339:in `perform_action_with_newrelic_trace'
  newrelic_rpm (<IP_ADDRESS>) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37:in `process_action'
  actionpack (3.2.16) lib/abstract_controller/base.rb:121:in `process'
  actionpack (3.2.16) lib/abstract_controller/rendering.rb:45:in `process'
  actionpack (3.2.16) lib/action_controller/metal.rb:203:in `dispatch'
  actionpack (3.2.16) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  actionpack (3.2.16) lib/action_controller/metal.rb:246:in `block in action'
  actionpack (3.2.16) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  actionpack (3.2.16) lib/action_dispatch/routing/route_set.rb:36:in `call'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.16) lib/action_dispatch/routing/route_set.rb:608:in `call'
  newrelic_rpm (<IP_ADDRESS>) lib/new_relic/rack/error_collector.rb:55:in `call'
  newrelic_rpm (<IP_ADDRESS>) lib/new_relic/rack/agent_hooks.rb:32:in `call'
  newrelic_rpm (<IP_ADDRESS>) lib/new_relic/rack/browser_monitoring.rb:27:in `call'
  newrelic_rpm (<IP_ADDRESS>) lib/new_relic/rack/developer_mode.rb:45:in `call'
  mongoid (3.1.6) lib/rack/mongoid/middleware/identity_map.rb:34:in `block in call'
  mongoid (3.1.6) lib/mongoid/unit_of_work.rb:39:in `unit_of_work'
  mongoid (3.1.6) lib/rack/mongoid/middleware/identity_map.rb:34:in `call'
  warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
  warden (1.2.1) lib/warden/manager.rb:34:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  rack (1.4.5) lib/rack/etag.rb:23:in `call'
  rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/head.rb:14:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/flash.rb:242:in `call'
  rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
  rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  activesupport (3.2.16) lib/active_support/callbacks.rb:405:in `_run__2010804792476588076__call__2932193531082085051__callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.16) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.16) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/reloader.rb:65:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
  better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
  better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.16) lib/rails/rack/logger.rb:16:in `block in call'
  activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
  quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
  actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
  railties (3.2.16) lib/rails/engine.rb:484:in `call'
  railties (3.2.16) lib/rails/application.rb:231:in `call'
  rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
  thin (1.5.1) lib/thin/connection.rb:81:in `block in pre_process'
  thin (1.5.1) lib/thin/connection.rb:79:in `pre_process'
  thin (1.5.1) lib/thin/connection.rb:54:in `process'
  thin (1.5.1) lib/thin/connection.rb:39:in `receive_data'
  eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
  thin (1.5.1) lib/thin/backends/base.rb:63:in `start'
  thin (1.5.1) lib/thin/server.rb:159:in `start'
  rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
  rack (1.4.5) lib/rack/server.rb:268:in `start'
  railties (3.2.16) lib/rails/commands/server.rb:70:in `start'
  railties (3.2.16) lib/rails/commands.rb:55:in `block in <top (required)>'
  railties (3.2.16) lib/rails/commands.rb:50:in `<top (required)>'
  script/rails:6:in `<main>'
  script/rails:0:in `<main>'

By the way, the id in the exception message, "53d00529486a1bcd28000075" , is the id of the AccountNote object, that got created.
Please let me know if I can provide more information.

I also had this problem, a more specific warning would have been useful. If not for this issue, god knows how long I would have been going around in circles.

I see similar errors, though I see them with embedded models and timestamps.

I was able to fix mine by removing one of my relations.


Missing requirements and problems in Install section in README

I installed this exporter on my raspi zero 2 w. But I had to learn the hard way, that you need to install go and gcc before you can try to install. Also the install part assumes you have prometheus on the same machine. Also it assumes you have a node_exporter user, also not true if prometheus is not running on the same machine.
Would be nice to have a requirement info and what to configure if prometheus is running on a different host.

hey @alexrjs you can check pull requests there is Docker build and Docker compose image for ARM x64 are ready to go.


command 'cut' not found

I tried to use my NERDTree bookmarks by adding this line from the wiki to neovims init.vim file:
let g:startify_bookmarks = systemlist("cut -sd' ' -f 2- ~/.NERDTreeBookmarks")
But I get the output command 'cut' not found
I am using Windows 10.
Any ideas?

Install cut?

Install cut?

There is no cut for Windows 10.


Added new logo and made small changes

Description :
Added New logo and made link changes

@roverflow Can You Revolve The Conflicts?

please verify the changes

Done and Merged 💯
Great Work 🎉


How to subscribe and unsubscribe device

Hello, in my app I need subscribe my device when login and unsubscribe after logout, just I could use the app with different users (on different moments obviously) and notifications will arrive to the correct user, so if device is subscribed permanently when I install the app the same device will receive notifications of all users who used the app on the same device.
Thanks.

Hi @davidgit75 , I'm also trying to accomplish this, I use react-redux so i had previously created a middleware in which i listen for the relevant events (e.g LOGIN_SUCCESS, LOGOUT_SUCCESS) before binding and unbinding the event listeners, but for some reasons the listener handlers don't get called if not registered on a react component lifecycle event (componentDidMount, componentWillMount etc). I then decided to create a component and watch for a redux store state change before binding, this also does not work for reasons i'm not quite sure of but here is the weirdest of all.
Even setting a timeout before binding does not work
...
componentWillMount () {
   setTimeout(() => {
        OneSignal.addEventListener('ids', (ids) =>< {
            console.log('Device info:' + ids)
       })
   }, 5000)
}
...

Still debugging to better understand why. Please do share and observations you might also have experienced.

Hi @davidgit75 , I'm also trying to accomplish this, I use react-redux so i had previously created a middleware in which i listen for the relevant events (e.g LOGIN_SUCCESS, LOGOUT_SUCCESS) before binding and unbinding the event listeners, but for some reasons the listener handlers don't get called if not registered on a react component lifecycle event (componentDidMount, componentWillMount etc). I then decided to create a component and watch for a redux store state change before binding, this also does not work for reasons i'm not quite sure of but here is the weirdest of all.
Even setting a timeout before binding does not work
...
componentWillMount () {
setTimeout(() => {
OneSignal.addEventListener('ids', (ids) =>< {
console.log('Device info:' + ids)
})
}, 5000)
}
...
Still debugging to better understand why. Please do share any observations you might also have experienced.

Hi @davidgit75 , I'm also trying to accomplish this, I use react-redux so i had previously created a middleware in which i listen for the relevant events (e.g LOGIN_SUCCESS, LOGOUT_SUCCESS) before binding and unbinding the event listeners, but for some reasons the listener handlers don't get called if not registered on a react component lifecycle event (componentDidMount, componentWillMount etc). I then decided to create a component and watch for a redux store state change before binding, this also does not work for reasons i'm not quite sure of but here is the weirdest of all.
Even setting a timeout before binding does not work
...
componentWillMount () {
   setTimeout(() => {
        OneSignal.addEventListener('ids', (ids) =>< {
            console.log('Device info:' + ids)
       })
   }, 5000)
}
...

Still debugging to better understand why. Please do share and observations you might also have experienced.

Hi @davidgit75 , I'm also trying to accomplish this, I use react-redux so i had previously created a middleware in which i listen for the relevant events (e.g LOGIN_SUCCESS, LOGOUT_SUCCESS) before binding and unbinding the event listeners, but for some reasons the listener handlers don't get called if not registered on a react component lifecycle event (componentDidMount, componentWillMount etc). I then decided to create a component and watch for a redux store state change before binding, this also does not work for reasons i'm not quite sure of but here is the weirdest of all.
Even setting a timeout before binding does not work
...
componentWillMount () {
   setTimeout(() => {
        OneSignal.addEventListener('ids', (ids) =>< {
            console.log('Device info:' + ids)
       })
   }, 5000)
}
...

Still debugging to better understand why. Please do share any observations you might also have experienced.

@theslyone I used addEventListener on the app index, just the events are binded on all app, just:
  componentWillMount() {
    OneSignal.addEventListener('received', notification => this.onReceived(notification));
    OneSignal.addEventListener('opened', openResult => this.onOpened(openResult));
    OneSignal.addEventListener('registered', notifData => this.onRegistered(notifData));
    OneSignal.addEventListener('ids', device => this.onIds(device))
  }

componentWillUnmount() {
    OneSignal.removeEventListener('received', notification => this.onReceived(notification));
    OneSignal.removeEventListener('opened', openResult => this.onOpened(openResult));
    OneSignal.removeEventListener('registered', notifData => this.onRegistered(notifData));
    OneSignal.removeEventListener('ids', device => this.onIds(device));
  }

componentDidMount() {
    OneSignal.getTags((receivedTags) => {console.log('**++ TAGS RECEIVED ++**', receivedTags); this.props.setDeviceTags(receivedTags)});
  }
``

I dont know if I understood your question, so I am using redux too. If this doesn't help you and I can help you I 'll be careful  to do it.

For the original question, I would try to use setSubscription method.
https://github.com/geektimecoil/react-native-onesignal#change-user-subscription-status
We're still not too familiar how this library works with redux and we see some issues regarding it. I hope we'll find some time to adjust the library to make it work right with redux.


sorter(cdc): use correct resolved timestamp to check progress

What problem does this PR solve?
Issue Number: close #9213 .
What is changed and how it works?
Use correct sorter resolved timestamp to collect table progresses.
Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/test verify

/merge

/retest-required

/retest-required

/retest-required

/cherry-pick


TBOX-143: Trigger the Publish to PyPI action when a release is created

↪ Pull Request
This PR modifies the Publish to PyPI action to be triggered when a release is published.
✔ PR Todo

[x] Update title to link to TBOX issue (i.e. start pull request title with TBOX-xx)
[ ] Approval from first code-reviewer
[ ] Approval from second code-reviewer (only required if a second reviewer has left comments)
[ ] Pass all checks

I believe that types: [released] is correct to trigger when a draft release is published and not marked as a "pre-release".

@skalish can you provide a link to documentation or article you read that pointed you in that direction?

I believe that types: [released] is correct to trigger when a draft release is published and not marked as a "pre-release".

Source: https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#release

Okay, I can confirm from experimentation on a personal repo.
This is triggered when:

A release is published
A pre-release is changed to a release
A draft release is published  <-- this is what our workflow will involve

This is not triggered when:

A draft release is created/saved/edited
A pre-release is published


Add support for 16-bit and 8-bit architectures

For example, the ATmega328P I'm using right now has an 8-bit architecture. It seems this change is all that's needed to make postcard work on that MC, but I'll add a comment once I actually tried it out.

Alright, I tested it now, it works perfectly on the ATmega328P, both serialization and deserialization. I have no reason to believe it won't work for 16-bit either :)

Awesome,thank you!
As a note, although the atmegas are 8-bit CPUs, they have 16-bit pointers (and 16-bit usizes). I'm almost certain Rust wouldn't work with 8-bit pointers, but hey, I'll keep it just in case :)


several issues with demo example when setting up on mac os

Hello together,
I am currently trying to setup this example on my mac. Unfortunately without  much success so far. There were several issues I ran into:

When I follow the readme to set up the demo and I try to enable keycloak support

npm run keycloak:init

><EMAIL_ADDRESS>keycloak:init /Users/cjohn/Entwicklung/IMS_Help/ionic-showcase/server
> node ./scripts/keycloak/initKeycloak.js

internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'axios'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Users/cjohn/Entwicklung/IMS_Help/ionic-showcase/server/scripts/keycloak/initKeycloak.js:14:15)

I got the above error message. Seems like there was a dependency to axios missing. I could install it manually and than the script worked.

When the keycloak init script finishes it provides the configuration files for the graphql server and the client app.

2. Copy the following app config into the auth section in ionic-showcase/assets/config.js
{
  "id": "some-id",
  "name": "keycloak",
  "type": "keycloak",
  "url": "http://localhost:8080/auth",
  "config": {
    "realm": "voyager-testing",
    "auth-server-url": "http://localhost:8080/auth",
    "ssl-required": "none",
    "resource": "voyager-testing-public",
    "public-client": true,
    "use-resource-role-mappings": true,
    "confidential-port": 0
  }
}

The file ionic-showcase/assets/config.js does not exist in the project. I assume the relevant file is under
ionic-showcase/src/assets/config/config.js
At least I added the configuration into this file in the following way:
window.showcaseConfig = {
  "backend": {
    "serverUrl": "http://localhost:4000/graphql",
    "wsServerUrl": "ws://localhost:4000/graphql"
  },
  // "push": {},
  "auth": {
	"id": "some-id",
  	"name": "keycloak",
  	"type": "keycloak",
  	"url": "http://localhost:8080/auth",
  	"config": {
    		"realm": "voyager-testing",
    		"auth-server-url": "http://localhost:8080/auth",
    		"ssl-required": "none",
    		"resource": "voyager-testing-public",
    		"public-client": true,
    		"use-resource-role-mappings": true,
    		"confidential-port": 0
  	}
  }
};

Unfortunately, the client configuration does not seem to work for me. Please note, I also copied the configuration file into the specified location ionic-showcase/assets/config.js. This did not work either. When using the client app in my browser no functionality in the demo is working:

When I go to manage tasks it says "online" I assume there exists a connection to graphql server? However, I also get the following error message "Problem with listening to cache changes" And I am not able to add task via the + submenu.

When I go to User Profile, I get the following error message: "Login failed. Cannot retrieve profile.Please review keycloak client configuration

Files, When I go into this section I also get an error message: Fetching Files. Cannot fetch files. Please make sure you are online.

Under Settings I can enable push. However, from the description it is unclear to me if I need an additional server to run push notifications and how this feature can be used in the demo. Is the Mosca MQTT Broker used for this functionality?

I assume my interpretation of the config file is somehow wrong. Could you please give me directions on how I could get this demo up and running and please improve the documentation.
Thanks!
Please note, adding tasks in online and offline mode works as expected if I disable the keycloak integration. So this seems to be the reason. Hence, I assume I would need to hints from you. Where to put the config and how to use the push functionality
Best regards,
Christoph

@cjohn001 Amazing issue! thank you so much for logging it with so many useful details.
I have fixed all issues and they should be available on a master branch now.
Really sorry for issues that you were experiencing.
PS: We also have guided documentation that is using showcase:
https://github.com/aerogear/mobile-walkthrough/
If you are looking to deploy Showcase see also:
https://github.com/aerogear/datasync-deployment


OPT20029:  Run and Upload a Nalanda TXT file to staging.pecha.org

Note
Split the sentence with shad and collate with 200 lines for each chapter since sefaria which pecha.org has issue loading high file.
Implementation Steps

[x] Find largest txt file
[x] Run and upload to txt file

The biggest file is hfmls/08-Kamalashila/D4267y/D4267y.txt with a size of 3.4121875762939453 MB

Kamalashila D4267 has 17403 lines, so about 88 chapters (each chapter has 200 lines).

Pecha uploaded to IB2434B64

uploaded to staging pecha.org


drag and drop cause UI freeze

drag annotation is not very responsive when there are a lot of element on the page, this seems to be a known issue on chrome https://bugs.chromium.org/p/chromium/issues/detail?id=820798&q=drag and drop performance&colspec=ID Pri M Stars ReleaseBlock Component Status Owner Summary OS Modified
firefox works fine

this issue seems disappear to me, chrome 80, macbook pro


Bump version to 0.6.0

The 0.6.0 release has been published for some time, this commit
increments the version number for the package from source so that we can
differentiate it from released versions and to prepare for the next
release.

Pull Request Test Coverage Report for Build 290045344

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

Totals

Change from base Build 286858140:
0.0%

Covered Lines:
2217

Relevant Lines:
2367

💛  - Coveralls


CDI file versioning

After updating to 0.5.3, I generated CDI files with version CurrentVersion = cdi.CurrentVersion = 0.5.0.
Those files where not accepted by crio 1.24.2.
It started working again after switching back to 0.2.0.
What is the right version to use with the current CDI 0.5.3 package?

CRI-O has not been updated with latest CDI. I'll file a PR.

@klihub which version is CRI-O currently on? It should be at least 0.3.0 since this was our first tagged version.

I just checked (original comment was inaccurate). master/main is on 0.5.2.

In hindsight, the suggestion to use cdi.CurrentVersion in generated Specs was not necessarily the best idea. If we soon stop bumping the version then it'll probably be fine. If not, then maybe it would be better to

define also an EarliestCompatibleVersion
update the docs to suggest using that by default, unless newer features are really used
ensure during Spec write that the advertised version is in sync with the Spec content

I don't know whether we can set this value statically. Would it be possible to add a minVersion tag to the spec fields and then query this using the reflect package to get the minimum required version for the spec being saved?
We would then check all the non-empty fields of the spec for the highest minVersion and use this when creating the spec. This need not be automatic, but we should provide utility functions that could check this as a start.

I have created https://github.com/container-orchestrated-devices/container-device-interface/pull/93 to take a pass at this. I'm not sure whether where I'm putting this is best. I can see methods off each of the spec types that returns the minimum version (or the empty string in cases where it doesn't matter), but 'm not sure whether that complicates our API.

Note that I have removed the requirement for creating a spec with the minimal version of the spec automatically. This requires a bit of a rework on how the spec is validated. I can add it if we think that this is a requirement.


Fix CI/CD for updated bpf_conformance

The updated bpf_conformance requires a new(er) version of libbpf than is available on github runners. With this change, we build our own version of libbpf from source so that we are using a new(er) version of the library with all the necessary features.

coverage: 83.337% (+0.5%) from 82.808% when pulling 93658dfc699dabfa8875f050199a155af41baa18 on hawkinsw:update_cicd into f4e91d790a84e3d8f3206ddec102106b7039367d on iovisor:main.


if the chunk file was changed, the main bundle was changed too, how can we keep the main bundle file remains the same?

Do you want to request a feature or report a bug?
feature

What is the current behavior?
if chunk file was changed, the main bundle was changed too, how can we keep the main bundle file remains the same?
i know the main bundle need to understand how then chunk file was changing, so when chunk file was changed, the url of chunk file may be changed to anthoer, so the url of chunk file was changed in main bundle file, so is there a way to notify the main bundle what is the new url of new chunk file by config, so the main bundle will be cached for a long time?
for example:
the outout file just like below:
-rw-r--r-- 1 didi staff 450 9 27 17:46 chunk.home.b26b8d5c.js
-rw-r--r-- 1 didi staff 450 9 27 17:46 chunk.other.a9eaa255.js
-rw-r--r-- 1 didi staff 10442 9 27 17:46 index.html
-rw-r--r-- 1 didi staff 554 9 27 17:46 manifest.dep.todos_lib.json
-rw-r--r-- 1 didi staff 7715 9 27 17:46 todos.0a7d9a82.js
-rw-r--r-- 1 didi staff 92889 9 27 17:46 todos_lib.37d04ef8.js
-rw-r--r-- 1 didi staff 31364 9 27 17:46 todos_lib.37d04ef8.js.gz
-rw-r--r-- 1 didi staff 15 9 27 17:46 todos_scss.6700e3e5.css
-rw-r--r-- 1 didi staff 2540 9 27 17:46 todos_scss.742b186a.js
when the home chunk file was changed, the output just like below:
total 328
-rw-r--r-- 1 didi staff 438 9 27 17:53 chunk.home.59b94147.js
-rw-r--r-- 1 didi staff 450 9 27 17:53 chunk.other.a9eaa255.js
-rw-r--r-- 1 didi staff 10442 9 27 17:53 index.html
-rw-r--r-- 1 didi staff 554 9 27 17:53 manifest.dep.todos_lib.json
-rw-r--r-- 1 didi staff 7715 9 27 17:53 todos.ddad5b57.js
-rw-r--r-- 1 didi staff 92889 9 27 17:53 todos_lib.37d04ef8.js
-rw-r--r-- 1 didi staff 31364 9 27 17:53 todos_lib.37d04ef8.js.gz
-rw-r--r-- 1 didi staff 15 9 27 17:53 todos_scss.6700e3e5.css
-rw-r--r-- 1 didi staff 2540 9 27 17:53 todos_scss.742b186a.js
If the current behavior is a bug, please provide the steps to reproduce.
just use async method to load js chunk , you will find it

What is the expected behavior?
as you know, chunk.home.[chunkhash].js and todos.[chunkhash].js were both changed, but it is not necessary to change the todos.[chunkhash].js, is there any better way to solve this?
If this is a feature request, what is motivation or use case for changing the behavior?
to realize long cache for the main js file when chunk file was changed
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack:3.6.0
node:v6.4.0

see https://webpack.js.org/guides/caching/#extracting-boilerplate
and https://github.com/soundcloud/chunk-manifest-webpack-plugin

How does it work in webpack 4? I can't find a guide for this :(

How does it work in webpack 4? I can't find a guide for this :(


Create Plan Fail

I still encounter issues below when testing with the master branch commit https://github.com/linkedin/iris/commit/500822ac5d757884246c95145d6a89531c503f81

Error: Invalid plan - Priority not found for step 1 when saving plan
Error 400 Target type user not found on /v0/targets/user

sync_targets.py seems to be running fine:
2022-04-05 16:12:44,234 INFO root Sending metrics: failed_tasks: 0, ldap_lists_added: 0, ldap_lists_failed_to_add: 0, ldap_lists_found: 0, ldap_lists_removed: 0, ldap_memberships_added: 0, ldap_memberships_failed_to_add: 0, ldap_memberships_found: 0, ldap_memberships_removed: 0, ldap_reconnects: 0, others_purged: 0, sql_errors: 0, teams_added: 0, teams_failed_to_add: 0, teams_found: 0, user_contacts_updated: 0, users_added: 0, users_failed_to_add: 0, users_failed_to_update: 0, users_found: 0, users_purged: 0
2022-04-05 16:12:44,234 INFO root Starting oncall sync...
2022-04-05 16:12:44,441 INFO root Users to insert (0)
2022-04-05 16:12:44,441 INFO root Users to update (5)
2022-04-05 16:12:44,447 INFO root Teams to insert (0)
2022-04-05 16:12:44,450 INFO root Users to mark inactive (0)
2022-04-05 16:12:44,450 INFO root Teams to mark inactive (0)
2022-04-05 16:12:44,451 INFO root oncall sync took 0.22 seconds

target_type, target, and priority are not empty
mysql> select * from target_type;
+----+--------------+
| id | name         |
+----+--------------+
|  3 | mailing-list |
|  2 | team         |
|  1 | user         |
+----+--------------+
3 rows in set (0.00 sec)

mysql> select * from target;
+----+--------------------------------------+---------+--------+
| id | name                                 | type_id | active |
+----+--------------------------------------+---------+--------+
|  1 | demo                                 |       1 |      0 |
|  4 | b291694f-7789-4436-a5d2-ca37f67b3df3 |       2 |      0 |
|  5 | 8558d07b-b5ae-44c3-b3c0-6f4179e79402 |       2 |      0 |
|  6 | abc                                  |       3 |      1 |
|  7 | demo                                 |       3 |      1 |
|  8 | jp******                             |       1 |      1 |
|  9 | bn*****                              |       1 |      1 |
| 10 | bl******                             |       1 |      1 |
| 11 | cb******                             |       1 |      1 |
| 12 | pr*****                              |       1 |      1 |
| 13 | Di******                             |       2 |      1 |
| 14 | On****                               |       2 |      1 |
+----+--------------------------------------+---------+--------+
12 rows in set (0.00 sec)

mysql> select * from priority;
+----+--------+---------+
| id | name   | mode_id |
+----+--------+---------+
|  8 | urgent |      26 |
| 17 | high   |       8 |
| 26 | medium |      35 |
| 35 | low    |      35 |
+----+--------+---------+
4 rows in set (0.00 sec)

The problem also appears with the default dataset.
Originally posted by @bla-ckbox in https://github.com/linkedin/iris/issues/644#issuecomment-1088978533

Probably a duplicate of #686

@bla-ckbox This should be fixed now


SUBMARINE-210. Link to the Submarine installer is missing

What is this PR for?
Fix submarine installer link error
What type of PR is it?
[Documentation]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-210
How should this be tested?
https://travis-ci.org/pingsutw/hadoop-submarine/builds/591942723
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

LGTM


[BC API 2.0 | salesCreditMemo] Remove countryRegion from Navigation

DO NOT MERGE! as this PR edits the lines between the DO_NOT_EDIT section.
When calling /countryRegion I get the following error:
{
    "error": {
        "code": "BadRequest_NotFound",
        "message": "No HTTP resource was found that matches the request URI 'http://bcserver:7048/BC/api/v2.0/companies(f0bb10fd-583f-ee11-be74-6045bdc8c285)/salesCreditMemos(2ecba445-0a49-ee11-ad0b-d1b90fccd947)/countryRegion?tenant=default'."
    }
}

Thanks for your contribution, much appreciated. We just refreshed the API and this is indeed removed from the API now. Closing this PR. Thanks.


I having problems with bringToTop

https://github.com/photonstorm/phaser/blob/master/src/utils/array/BringToTop.js#L23
When you try to bring to the top the second element, the element stills in the same position.
I just made a small change to replace:
if (currentIndex !== -1 && currentIndex < array.length - 2) for
if (currentIndex !== -1 && currentIndex < array.length - 1)
It works, but I want to know if there is any decision behind this, I read that the previous implementation used and it doesn't have this '-2'.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I ran into this issue too. As a workaround I called bringToTop on a couple of other sprites that I don't care about first. That changes the position of the sprite I want and bringToTop will then work.

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Public API functions implementation

Please review my patch. Thank you.

Ready.

Hi!
This pull request have a chance to be merged into mainstream?

@ZigzagAK Yeah sure. It's just that we're planning a thorough refactoring in this module in the next couple of months and we'll take care of this part in the new rewrite. And we don't want to touch the current old code base any more. Thanks for your understanding!

@agentzh Thanks.

No longer needed.


write documentation around docker volume cleanup

Right now we don't clean up the docker volume. It would be nice to write some documentation on how users can do this themselves.

At very least, I would imagine this doc is a spec for future switches.


Enable dependabot updates for GitHub Actions

I noticed that our GitHub action for CodeQL scanning is out of date. I also noticed that Dependabot now supports updating actions, so I'd like to let Dependabot take care of updating CodeQL for us.

Coverage: 75.075%. Remained the same when pulling 71d3fcb9a8aea8ccd66a139dbbe6161fd9ac099d on jtschladen:dependabot-githubactions into 3768c1982c9a5766761cdbd39417471d4a5e7933 on Netflix:master.


Grammar: types

One rule (FunctionParametersMaybeNamedVariadic) is blocked on #430.
I was thinking it might be a good idea to split the types chapter into multiple subchapters.  If you want, I can do that after this is done.

Thanks again!


ScrolledWindow policies

What do you think of changing the function's signature to something like this?
sfg::ScrolledWindow::SetScrollbarPolicies( Policy horizontal, Policy vertical );

Where Policy is:
enum Policy {
  Always = 0,
  Automatic,
  Never
};

That was my first idea when originally implementing ScrolledWindow. However I scrapped it and went for the way it is now. I prefer having one getter and setter for all policies, and unless you're willing to implement another struct to encapsulate both of them in the getter, I don't think splitting the policies is a good idea. We could however add the function you suggested as an alternative to the current one. The policies would just be OR'd and passed to the current one.

It's mostly a question of taste. :)
I prefer
if( foo->GetHorizontalScrollbarPolicy() == sfg::Scrollbar::Automatic ) { ...}

you do the other way. I was just asking. If it's consistent with the rest of the library, I'm fine with it.

Except it would be in the ScrolledWindow namespace :P (sfg::ScrolledWindow::Automatic)
if( foo->GetScrollbarPolicy() == ( sfg::ScrolledWindow::HorizontalAutomatic | sfg::ScrolledWindow::VerticalAutomatic ) ) { ... }

there would be less calls to the lib if the dev wanted to determine which policies are active because more information is sent in the return value. And about consistency: look at sfg::Window::GetStyle() so I guess it is :P

there would be less calls

Come on! Returning an integer can't even be called a "call". :D (it's inlined by many compilers automagically nevertheless, I assume) However, it's okay.
Window::GetStyle() is different. If there would be two kinds of styles, I'd do Window::GetStyleA() and Window::GetStyleB(). :)

Functions can't be inlined beyond a translation unit, let alone executable boundaries. If you really count on those "little" functions being inlined you would have a better chance of the compiler doing that if it's definition was within the header and not the cpp. But as we all know you prefer it this way so it is very very very unlikely that such calls get optimized out. I could be wrong though. Think of what kind of a symbol would be exported when writing a dynamic lib.
But back to the matter at hand... I'm not splitting it up. If you want to, be my guest ^^ I have nothing against it. Close this issue if you also don't feel like doing it yourself :P

Functions can't be inlined beyond a translation unit[...]

Not true. If object code is available, it can be inlined. But you may be right with dynamic libs. I don't know if there are special mechanisms that provide object code when declared inline.

If you really count on those "little" functions being inlined[...]

I don't, you were whining about so many calls made when splitting it up. :P

I'm not splitting it up. If you want to, be my guest ^^

I'm sure it will be a pike in my *ss if it stays the way it's now. ;) What about returning a std::pair?

I guess std::pair would be simpler but in the end you're still returning a data structure which is what I wanted to avoid in the beginning. Primitive data types are the best ^^.

I guess std::pair would be simpler but in the end you're still returning a data structure which is what I wanted to avoid in the beginning.

Whyyyy? ;) Don't argue with speed, it's NOT noticable, even not on a 286 (and especially not for a method you will probably NEVER call :D).

and especially not for a method you will probably NEVER call :D

Why is this issue still open? :P

Premature optimization is the root of all evil

I don't count this as optimization. More like keeping things simple.
That quote isn't an excuse for making no effort at all to keep the lib running at an acceptable speed. Sure this isn't really the case with this issue. Just my 2 cents


Redirect calls to the correct endpoint if the server receives a request for the home path

@n1ru4l I think /graphql is fine because there might be other endpoints like health check etc. But we can think of a landing page instead.

We decided to do a landing page for v3


Command everyFifteenMinutes()->withoutOverlapping() fires again after 15 minutes even though the previous command hasn't completed as yet

Laravel Version: 5.6.39
PHP Version: 7.1.31
Database Driver & Version: N/A

Description:
Command everyFifteenMinutes()->withoutOverlapping() fires again after 15 minutes even though the previous command hasn't completed as yet
Steps To Reproduce:
Command Kernel Entry
$schedule->command('sms:legacy:app:send')->everyFifteenMinutes()->withoutOverlapping();
Enable logging to file. As you can see, another message starting at zero executes before the previous command stopped running.  Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? We'll help you out and re-open this issue if so.
Thanks!

Okay, so I spent some time upgrading to Laravel Framework 6.17.0 using PHP 7.2.24
I then created this command:
<?php

namespace App\Console\Commands\Sms;

use Illuminate\Console\Command;

// php artisan sms:test
class TestSmsCommand extends Command
{
    protected $signature = 'sms:test';
    protected $description = '';

    public function __construct()
    {
        parent::__construct();
    }

    public function handle()
    {
        while(true)
        {
            info(self::class.' started process');

            sleep(600);

            info(self::class.' ended process');

            exit();
        }
    }
}

then added this to the schedule:
$schedule->command('sms:test')->everyFiveMinutes()->withoutOverlapping();
after deploying, this is the output of the log file:
[2020-02-26 16:45:03] test.INFO: App\Console\Commands\Sms\TestSmsCommand started process
[2020-02-26 16:50:05] test.INFO: App\Console\Commands\Sms\TestSmsCommand started process
[2020-02-26 16:55:03] test.INFO: App\Console\Commands\Sms\TestSmsCommand ended process
[2020-02-26 16:55:04] test.INFO: App\Console\Commands\Sms\TestSmsCommand started process
As you can see, the first one kicks-off at 2020-02-26 16:45:03
Then it kicks-off again at 2020-02-26 16:50:05 (5 minutes later), but according to the documentation, the second one should not kick-off if the first one is still processing.
Or am I mistaken?


Guidance: Dialog boxes

Component guidance to instruct users on the proper implementation and use of dialog boxes, related to modals

We removed details about --ic-z-index-dialog in #372 as felt best to not mention until component guidance available. This will need adding back in


Docs on converting v2.2 flags to v3 flags

There are some flags from v2.2 being lost in v3 for etcd server binaries. For example, "-addr" is one of them.
We should have docs about this for etcd upgrade.

Note:

https://github.com/coreos/etcd/blob/release-2.0/etcdmain/config.go#L187-L193
requires HTTP/HTTPS schema in addr

@hongchaodeng They are depreciated in 0.4 -> 2.0 upgrades. Not 2.0 -> 3.0. We cannot carry this forever. I do not think this is something we should address in 3.0 doc.


jmxtrans-263.rpm doesn't detect java properly.

Hello,
I am trying to install jmxtrans-263.rpm on CentOS 7.3.
I am having java installed and version 1.8.
But when I try to install jmxtrans-263.rpm, it throws below error
error: Failed dependencies: 	java >= 1.7 is needed by jmxtrans-263-1.noarch
Anyone facing the same ?
Thanks,
~Raju.

Did you install java via RPM or manually? If RPM does not know about it, it will not find the dependency...

Java isn't installed via rpm. I overcome it by issuing nodeps while installing the rpm of jmxtrans

I'm closing this, RPM is not expected to know about packages not managed by RPM...


WebServer: HTTP/2 support

Environment Details

Helidon Version: 0.10.1
Helidon SE

Problem Description
WebServer does not currently support HTTP/2. Netty has some support for it.

There is now experimental support for it. See,
https://github.com/oracle/helidon/wiki/Experimental-HTTP-2-Support

@barchetta @spericas should we close this issue ?

I will close this one and open a new issue for all future HTTP/2 work.


Add md for rft

closing #56

tests are failing but believed to false a false negative because of the recurring problem of tests interacting with each other when running github actions. #67 Hope somebody can fix

Think https://github.com/equinor/fmu-sumo-sim2sumo/pull/74 should fix the failing tests.


bazel.fuzz is not run by CI

Seems pretty broken when run on CLI:
./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.fuzz'

ERROR: Error while parsing 'attr('tags','fuzzer',//test/... @com_github_google_quiche//:ci_tests)': syntax error at '@com_github_google_quiche//:ci_tests )'

I think we should be validating that the local fuzz flows continue to work in CI. I noticed this when working manually through the instructions at https://github.com/envoyproxy/envoy/tree/main/test/fuzz#running-fuzz-tests-locally.
CC @phlax

my guess is that it just wants to run:
bazel query 'attr("tags","fuzz",//test/...)'

in do_ci.sh re the first issue


Simplify handling of cleartext-signed data

This MR further brings handling of cleartext-signed data in line with handling of inband-signed data.
It also gets rid of the ugly hacky ConsumerOptions.isCleartextSigned().

While after merging this PR, the codebase still passes all tests, we probably want to be on the safe side and create a dedicated alpha release for possible smoke testing in downstream projects.

Coverage decreased (-0.08%) to 89.784% when pulling 5331934dd80ebe2464598b6a07145e2308c6b75c on simplifyParser into a3f9311d9a9bb080c506af6d08f28d93072c9bfe on master.

Created release 1.1.1-alpha1 with just this change compared to 1.1.0.
The new release should be available on maven central in a few hours.
@DenBond7 @IvanPizhenko @tomholub if you could build your apps using the alpha version of pgpainless to do some smoke testing (maybe you have an extensive test suite that you could run the alpha against to check if something breaks?), that would be awesome!

@vanitasvitae I've tried and automated tests for EAP, EKM, FES and WKD passed.

@IvanPizhenko @vanitasvitae

Unit tests for Android app have passed.

I've checked this moment. All looks good. I have not found any critical issues.


About Ablated Diffusion Model (ADM)

Hi, congrats on the great work!
I am interested in trying your Ablated Diffusion Model (ADM) baseline. Would you be able to share with us the implementation? Thank you.

@yufu-wang Thanks for your interest in our work!
The DIFT_adm implementation is released here. But before using that, you first need to follow the instruction here to set up pre-trained model and weights.


Spelling errors in words (quoto -> quote)

In metagpt/actions/xxx.py, there are 7 instances in the file where the quote was mistakenly written as a quoto

@stellaHSR can you assign this issue to me, I am working on it.


feat(semantic): add ScopeFlags::CatchClause for use in CatchClause

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4205  👈
#4203
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite

No one seems to have a problem with that. I merge this PR avoid to conflict with another


Release of the custom actions

Description
Screenshot
Checklist

[x] I have not referenced individuals, products or companies in any commits, directly or indirectly
[x] I have not added data or restricted code in any commits, directly or indirectly
[x] I have updated the docstring of any public function/class/model changed
[ ] I have added tests to cover my changes (if applicable)

Types of changes

[ ] Docs/refactoring (non-breaking change which improves codebase)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

@antonymilne do you think we should use Ellipsis instead of "outputs" as namedtuple typename in internal usage (because namedtuple typename means nothing to us): namedtuple("outputs", [])(**{}) -> namedtuple(..., [])(**{})

I see what you mean and consider this before also but decided this is not a good idea. In fact we should do namedtuple("Outputs", ...) with capital O to be a bit more consistent with convention.

@antonymilne Thanks a lot on f3ac937 - Docs look much better now 📝 🤩.


Add newline in Administration main.js

Installing this plugin makes the administration watcher fail with the following error. Adding the newline fixes it.
ERROR in /vagrant/htdocs/custom/plugins/MolliePayments/src/Resources/app/administration/src/main.js
Module Error (from ./node_modules/eslint-loader/index.js):

  ✘  http://eslint.org/docs/rules/eol-last  Newline required at end of file but not found
  ../../../../../../custom/plugins/MolliePayments/src/Resources/app/administration/src/main.js:2:35

✘ 1 problem (1 error, 0 warnings)

@runelaenen Your pull request is based on 1.0.19. Could you try a pull request on the latest version (1.3.8)?

@milan-kiener  It shouldn't matter where my pull request originates from, as the file has not changed in the mean time.
Do you mean I have to change the branch I want to merge into?


Delete loop from linked list

Aim

will be adding code for remove loop from linked list in Gfg/Java folder

Details

problem statement -

Given a linked list of N nodes such that it may contain a loop.

A loop here means that the last node of the link list is connected to the node at position X. If the link list does not have any loop, X=0.

Remove the loop from the linked list, if it is present.

Example -

Input:
N = 3
value[] = {1,3,4}
X = 2
Output: 1
Explanation: The link list looks like
1 -> 3 -> 4
^    |
|____|
A loop is present. If you remove it
successfully, the answer will be 1.

Programming language

[ ] C
[ ] C++
[X] Java
[ ] Python

please assign me as I am participant of LGMSOC21


How can the IP get blocked when changing default port?

Could you please explain what it means for IP to get blocked when changing default port?
I have a web server running on nginx and it requires the 443 port.

Bots and crawlers in internet are monitoring traffic to your server. when you server huge amount of traffic on ports other than well known ports, they will detect your server.
Try to run different apps in different server.


Refactor charts

Shorts the code and makes it more service oriented.
Brings an important fix that will save us from having the very same nodeID on different pods.

LGTM


Also support references to simple types having no restrictions

The previous PR forgot simple types that have no restrictions.
Fixes #18.

Coverage increased (+0.08%) to 91.647% when pulling f483ba7c201570b03348945d8ce54764f76b8154 on swisspush:simple-type-refs into 645b9f2115872acc2feda95de91b0aaa16a87a38 on ethlo:master.


Support globalThis proposal

Discussion: #7536
https://github.com/tc39/proposal-global

Hello
Any news about globalThis support in Flow?


add 12 months to a date in 12th month.

I'm facing an error when I'm trying to add 12 months to a date which is in 12th month of current year.
That is to say:
$v = verta()->parse('1397-12-07 14:12:32'); $v = $v->addMonths(12);
The error message is:
ErrorException: Undefined offset: 1 in file /vendor/hekmatinasser/verta/src/Verta.php on line 1484
Stack trace:

ErrorException>()
/vendor/hekmatinasser/verta/src/Verta.php:1484
Illuminate\Foundation\Bootstrap\HandleExceptions>handleError() /vendor/hekmatinasser/verta/src/Verta.php:1484
Hekmatinasser\Verta\Verta>isValideDate() /vendor/hekmatinasser/verta/src/Verta.php:590
Hekmatinasser\Verta\Verta>createJalali() /vendor/hekmatinasser/verta/src/Verta.php:2224
Hekmatinasser\Verta\Verta>addMonths()

Thanks in advanced.

hi
Thank for report bug, fix this error in v1.9.9


How to overlay http subtitle stream on http AV stream

Given the yaml file below, how to overlay a subtitle stream in SRT format from http://<IP_ADDRESS>/sustain?srt=3
Thanks
streams:

  CAM:
    - ffmpeg:http://<IP_ADDRESS>/sustain?stream=1#video=h264
    - ffmpeg:http://<IP_ADDRESS>/sustain?audio=2#audio=opus

SRT not supported. What you are viewing? Is it usual TV?

Streams generated by an ESP32, viewed on the go2rtc built in player for testing. ChatGPT indicates ffmpeg can combine SRT and video eg
ffmpeg -i http://path_to_video_stream -i http://path_to_subtitle_stream -c:v copy -c:a copy -c:s mov_text
but how to incorporate this into the yaml file if possible.
Thanks.

What is inside your SRT? Is it some real time information?

At this stage just a series of timestamps
1
00:00:00 --> 00:00:01
17:58:52

2
00:00:01 --> 00:00:02
17:58:53

would something like:
- exec:ffmpeg -i http://<IP_ADDRESS>/sustain?stream=1 -i http://<IP_ADDRESS>/sustain?srt=3 -c:v copy -c:a copy -c:s mov_text
be in the right direction, but how to direct it to the go2rtc player as a h264 stream

Once again. For now go2rtc doesn't support any subtitles. Because I haven't seen any point to them. For real time tasks.
I thought you were going to tell me some interesting reason to support them. But so far, I don't see one :)

Fair enough, thanks for your time.

I haven't see useful software, that can generate subtitles in real time. For example voice recognition. Or even telemetry data from some sensors.

My esp32s3 app can generate real time telemetry data which it currently stores as an srt file along with an avi file which can be played back together with eg VLC. A user suggested adding streaming audio and referenced your app, and outputting an srt stream as well is straightforward

This would be a great feature 👍

That's a pretty big task. Need to add a new entity - text. I'll hold off until a better time.


pkg/kube: fix client.PodExecCommands repeated error message

fix client.PodExecCommands repeated error message
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
b2143a88999a4a3663e0597cffd29f2be9a575db
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio


Compilation error with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I just upgraded from monapt 0.7 to 1.0.1 and got the following error when I compile my project:
ERROR in [at-loader] ./node_modules/monapt/dist/src/option/some.d.ts:5:15
    TS2420: Class 'Some<A>' incorrectly implements interface 'Option<A>'.
  Types of property 'getOrElse' are incompatible.
    Type '<B, A extends B>(this: Some<A>, defaultValue: () => B) => B' is not assignable to type '<B, A extends B>(this: Option<A>, defaultValue: () => B) => B'.
      The 'this' types of each signature are incompatible.
        Type 'Option<A>' is not assignable to type 'Some<B>'.
          Property 'value' is missing in type 'Option<A>'.

ERROR in [at-loader] ./node_modules/monapt/dist/src/try/failure.d.ts:7:15
    TS2420: Class 'Failure<A>' incorrectly implements interface 'Try<A>'.
  Types of property 'getOrElse' are incompatible.
    Type '<B, A extends B>(this: Failure<A>, defaultValue: () => B) => B' is not assignable to type '<B, A extends B>(this: Try<A>, defaultValue: () => B) => B'.
      The 'this' types of each signature are incompatible.
        Type 'Try<A>' is not assignable to type 'Failure<B>'.
          Property 'error' is missing in type 'Try<A>'.

ERROR in [at-loader] ./node_modules/monapt/dist/src/try/success.d.ts:7:15
    TS2420: Class 'Success<A>' incorrectly implements interface 'Try<A>'.
  Types of property 'getOrElse' are incompatible.
    Type '<B, A extends B>(this: Success<A>, defaultValue: () => B) => B' is not assignable to type '<B, A extends B>(this: Try<A>, defaultValue: () => B) => B'.
      The 'this' types of each signature are incompatible.
        Type 'Try<A>' is not assignable to type 'Success<B>'.
          Property 'value' is missing in type 'Try<A>'.

It seems that the error comes from following declarations in the typedef:
some.d.ts
private value;

failure.d.ts
private error;
readonly exception: Error;

success.d.ts
private value;

When commenting out these lines, it compiles without error. After some research, it found this statement "[T]he root cause here is that you declared destination as protected. A protected method can only be implemented or overridden by a class that inherits (through extends, not implements) the class which first declared the method." (source.
Probably the same is true for private variables.

Hey - thanks for the bug report.  From what I can tell, this looks like an issue specific to TypeScript 2.4.x.  I'll dig into this more.
Also, I'll leave myself a note to set up a test matrix to build against multiple versions of TypeScript.

I made some changes that may have fixed this in https://github.com/jiaweihli/monapt/commit/7a63ffef7d066f6d56e82307d4334ec384251085.  It's in 1.0.4.
Can you take a look and see if that makes your compile errors go away?

Thanks! That was very quick. It compiles without any error now.

Glad to hear things are working - thanks for letting me know! 😄


mr.

Problem description

Problem location

I saw a problem at the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL

Other:

Project version(s) affected

Suggestions for a fix

right

#13421


Proxy configured with asp.net core 2.2 with full framework 4.6.1 returns  "Your POST request is not being received quickly enough. Please retry"

In order to call some APIs which do not support cors, we configured a proxy (using AspLabs Proxy) in an existing asp.net  core 2.2 with framework 4.6.1. Calling those APIs through this proxy results in 408 with message Your POST request is not being received quickly enough. Please retry.. But it perfectly works fine with the proxy configured with asp.net core 2.2. It also works fine with rest clients (e.g., postman) and browsers. Here is the code. Thanks for your help in advance.
public void ConfigureServices(IServiceCollection services)
{
	...
	services.AddProxy(options =>
	{
		options.MessageHandler = new HttpClientHandler
		{
			AllowAutoRedirect = false,
			UseCookies = true
		};
	});

	services.AddMvc(...).SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
        ...
}

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
	...
	app.UseWebSockets()
		.Map("/auth-proxy", api => api.RunProxy(new Uri("https://auth.example.com")));

	...
}

Where did you get RunProxy? There was a prototype by that name but never shipped a supported version.


High severity vulnerabilities are reported for v1.2.13

We're using nanomatch in serverless, and we were notified by some users that on snyk.io, nanomatch is marked as vulnerable due to dependencies it relies on -> https://app.snyk.io/test/npm/nanomatch/1.2.13

Isn't this an issue for snapdragon?

Isn't this an issue for snapdragon?

Doesn't look like. Latest version of snapdragon (v0.12) is clean -> https://snyk.io/test/npm/snapdragon/0.12.0
Problem is that this project depends on outdated v0.8

I see it's fixed in master, so it's probably just a question of publishing new release (?)

@medikoo I'm looking into this and will have something published soon, thanks for the issue.

@medikoo everything should be patched and updated correctly now. Please install and let me know if you notice any more issues.

@doowb thanks for the fix! @medikoo thanks for creating the issue!

Thanks @doowb still I don't see any new version published (?) Latest on npm is still 1.2.13 which shares the vulnerability

New patched versions of the affected dependencies in the tree were published. We couldn't just update nanomatch because it would take more refactoring due to changes in some of the dependencies.
You should be able to get the latest patched versions of all of the dependencies by forcing reinstalls (e.g. clearing caches and deleting lock files). Check out this short guide for more information.

Ok, I see that old versions of mixin-deep and set-value where patched.
Still snyk.io reports them as vulnerable: https://app.snyk.io/test/npm/nanomatch/1.2.13
but I guess it's now an issue on snyk.io side

Confirmed fixed.
I followed the guide in https://github.com/micromatch/nanomatch/issues/22#issuecomment-505480852, (basically rm -rf node_modules package-lock.json) and to my surprise, npm install brought in the correct version of set-value package.
I'm surprised because... I have no idea how this works without nanomatch cutting a new release. Magical 🦄

Hi, it's been a year, is there a plan to release new version, so people who don't want to use deprecated libraries wouldn't have to run on master?


fixed navbar dropdown lists position in mobile view

Description
This PR is Regarding issue #525.
I have fixed the position of nav-bar drop-down in mobile view and also fixed some comments spelling mistakes in main.js file
Thanks in Advance

Hey @abhiraj-ku , it would be great if u add the screenshot of that navbar thingy to review!

sure @akshathar-navada

Thanks @abhiraj-ku

Thanks @akshathar-navada  for merging . I will look to contribute more to this project

Thanks @akshathar-navada for merging . I will look to contribute more to this project

It's our pleasure to review and merge your PR  :)


Use thread pool for parallel execution, stop gracefully on test failure

Motivation and Context
Currently the run_in_parallel.py script uses processes to parallelise execution. This PR changes this to use a standard library thread execution pool. It also defaults to gracefully stopping on the first failure, with the option to turn this off. This will cancel all not started scenarios and allow any in progress to complete before exiting.
What has changed

Use thread execution pool for parallel test execution
Stop parallel tests on first failure by default
Add command line option to not stop on first failure
Small refactor of parallel _run_scenario function

How to test?
Run the tests locally, all the parallel tests should still pass and the execution time should not be worse than before the changes.
Introduce a forced test failure and check the tests stop (note they will finish executing any other tests in progress rather than shutting down immediately).
Links
https://trello.com/c/o1SDodzq/380-acceptance-tests-terminate-parallel-execution-gracefully-on-failure

 Acceptance Tests: Terminate Parallel execution gracefully on failure


Implement session management in websocket communication

Currently, all clients listen to all topics the same way. As a result, if you open the application in two browser windows (one of them even may be anonymous / incognito without sessions), both instances receive the messages.
We need to implement separation based on browser tab sessions.

Not to self... This is a handy resource:

http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html#websocket-stomp-user-destination

... especially in combination with these tickets:

https://jira.spring.io/browse/SPR-12143
https://jira.spring.io/browse/SPR-11309


When we have predictions show those over alerts

https://app.asana.com/0/555089885850811/1207562164283201/f
This will work in most cases, but there is one case where it will present incorrect information. If there are one or fewer predictions and there is an alert then it will say there is no service. I can see this happening at the end of service for the day. But, it is still better than it saying there is no service for the entire day.

@thecristen can you spell out better logic to implement? There are a lot of assumptions and implicit things encoded in this code and, frankly, I'm not sure what fixes/breaks anything.

Also, since I'm picking up the ticket to add direction id to the alerts, I'm not sure if it is even worth merging this PR since it will just be reversed in the next few days.


rocrand.h file not found

library/include/hiprand_hcc.h should include rocrand/rocrand.h instead of rocrand.h.

Fixed in #58


Revocation Concurrency Issue

There is a race condition that can occur when you are updating revocations.
vc 1
vc 2
cred status list 1
Thread 1
update vc 1
update cred status list 1
Thread 2
update vc 2
update cred status list 1
save cred status list 1
Thread 1
save cred status list 1
Thread 2 got overwritten basically and there is no revocation for vc2
Need to make this updateStatus api atomic

Fixed here - https://github.com/TBD54566975/ssi-service/commit/c474c091861c40e74c339ec5ef35cba09025c456


Glyphs which are missing from font are invisible

If you type a backslash, you won't be able to see it, and your game won't run until you find a way to delete it. This can be very confusing.
Glyphs which are missing should render as a square or some "unknown" thing.

I want a mechanic to detect unknown mechanics, specially utf8 one, on android I enjoy a lot of crashes because of pressing utf8 char button in the keyboard, that's annoying..

Fixed in V0.0.2 PRE


upgrade nextjs-live-cursors-advanced to 0.18

@ofoucherot  I took the liberty to add the suggested tweaks in here myself, so we can merge this into the release branch for tomorrow! Thanks for doing the conversion! 🙌


Mobile app for microsoft docs

It will be great if we have Mobile app for docs.microsoft.com or different mobile app for different technology like asp.net mvc , asp.net core, etc..

⚠ Idea migrated from UserVoice
Created By: Nirav
Created On: 2017/05/13 04:05:05 +0000
Votes at Migration: 1
Supporters at Migration: 1

#log-suggestion @dastaffo to take a look.

🚀 ATTENTION: Internal request logged.

@ShevaDas FYI

Closing this item as it's currently not something that we're looking at. The mobile experience with the docs.microsoft.com website should provide all context and functionality.

It will be great if we have Mobile app for docs.microsoft.com or different mobile app for different technology like asp.net mvc , asp.net core, etc..
⚠ Idea migrated from UserVoice
Created By: Nirav
Created On: 2017/05/13 04:05:05 +0000
Votes at Migration: 1
Supporters at Migration: 1


Custom reports

Is there an easy way to add custom reports ? It seems that forking the dashboard reports app isn't as straight forward as i hoped.
All i could find, was this old issue https://github.com/django-oscar/django-oscar/issues/32 and it seems like it was never implemented.

Figured it out.. closing..

jakobholmelund now i'm facing the same issue can you help me figure out the way?

Sure :)
Have tried forking other apps than the dashboard ?

Got it, thank you @jakobholmelund

I've forked another app and I'm not sure what I am missing.


Selected provider is always nil for Rust

Neovim version (nvim -v | head -n1)
NVIM v0.10.0-dev-900+g4a1fb37108
Operating system/version
archlinux
How to reproduce the issue
-- Setting
vim.o.foldcolumn = '1'
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
local status_ok, ufo = pcall(require, "ufo")
if not status_ok then
return
end
local ftMap = {
vim = "indent",
python = { "indent" },
git = "",
lua = { "lsp", "treesitter" },
rust = { "lsp", "treesitter" },
c = { "lsp", "treesitter" },
cpp = { "lsp", "treesitter" },
}
ufo.setup {
open_fold_hl_timeout = 150,
close_fold_kinds = { "imports", "comment" },
preview = {
win_config = {
border = { "", "─", "", "", "", "─", "", "" },
winhighlight = "Normal:Folded",
winblend = 0,
},
mappings = {
scrollU = "",
scrollD = "",
jumpTop = "[",
jumpBot = "]",
},
},
provider_selector = function(bufnr, filetype, buftype)
return ftMap[filetype] or { "treesitter", "indent" }
end,
}
vim.keymap.set("n", "zR", ufo.openAllFolds)
vim.keymap.set("n", "zM", ufo.closeAllFolds)
vim.keymap.set("n", "zr", ufo.openFoldsExceptKinds)
vim.keymap.set("n", "zm", ufo.closeFoldsWith) -- closeAllFolds == closeFoldsWith(0)
vim.keymap.set("n", "K", function()
local winid = ufo.peekFoldedLinesUnderCursor()
if not winid then
vim.lsp.buf.hover()
end
end)
`nvim --clean +'so mini.lua'`

1. LSP rust-analyzer is installed correctly before
2. Treesitter is updated
3. `capabilities.textDocument.foldingRange` for LSP  is setted according to the document

### Expected behavior

ufo works well with Rust or C/C++ using LSP or Treesitter provider.

### Actual behavior

The provider is always nil, which means I can't do anything with ufo.
I find that the selected provider is always `nil` for my Rust project (actually, so does C/C++ project):

I tried your config above and couldn't reproduce. I believe it's not ufo's bug.

Enable ufo log: UFO_LOG=debug nvim;
Get log from another terminal: tail -f ~/.cache/nvim/ufo.log;

Thanks. After several try with restart neovim and waiting for LSP complete parsing, it works. I think I should wait for it complete patiently.
Thanks for your reply. @kevinhwang91 's method is helpful in the future when I meet issue.

Plugin like LSP progress indicator may be useful for a large repo.

Got it. So if LSP progess is not finished, the selected provider will be nil in nvim-ufo?

I find it behave strange on my other computer which runs on Windows. The configure is just the same, but after I open a Rust project, the log would be:
[23-08-22 12:38:42] [DEBUG] init.lua:128 : attach bufnr: 1
[23-08-22 12:38:43] [INFO] init.lua:89 : providers: { "treesitter", "indent" }
[23-08-22 12:38:44] [DEBUG] init.lua:128 : attach bufnr: 4
[23-08-22 12:38:44] [DEBUG] init.lua:128 : attach bufnr: 5
[23-08-22 12:38:45] [DEBUG] init.lua:53 : requestFoldingRange({ "treesitter", "indent" }, 1) has elapsed: 2199ms
[23-08-22 12:38:45] [DEBUG] init.lua:83 : update fold again for bufnr: 1

The buffer 4 is the opened Rust file, but it does not update fold, and after LSP finished, I can confirm that the selected provider is still nil:

Got it. So if LSP progess is not finished, the selected provider will be nil in nvim-ufo?

https://github.com/kevinhwang91/nvim-ufo/blob/aebd36bf5447862671356fcd5d4a8708ce6c9470/lua/ufo/fold/init.lua#L90-L95
Only assign value in line 95. So nil is expected in the request.

I find it behave strange on my other computer which runs on Windows. The configure is just the same, but after I open a Rust project, the log would be:

From your log, no request for bufnr 4 which is attached, not sure if it is your complete log.

Yes, it is a complete log. I upload the whole one here, and you can see I've tried sever times by restart neovim with opening the same file:
ufo.log

OK, I find a phenomenon:

I use auto-session (https://github.com/rmagatti/auto-session) to manage session. If the opened file is recovered by auto-session, nvim-ufo will not try to update the buffer
If I open the Rust file by myself with nvim xxx.rs, nvim-ufo will work well

So I think it is related to auto-session's recover session behave. When does nvim-ufo try to update the buffer?

Look like BufDetach event is fired. Change log level and debug yourself,  no idea about your ENV.
UFO_LOG=trace nvim

OK, I'll try, hope I can find a workaround for this. Thanks.
But I still upload the trace log here:
ufo.log

Thanks, from the trace log I found a bug, please update the code, hold that commit should help you.

OK. Thanks again!


Implementing elements UI as the UI library for DPF

I recently ended up discovering the "Elements" UI library, it seems to be a C++ UI library under a non viral license that was from the beginning developped to work well with audio plugin frameworks to compete with JUCE
I feel like this could be a very good thing to integrate it to DPF to make dpf easier to work with.
I am going to personally look into implementing support for it, I think I saw at one point that it had a pugl version somewhere, which should make its implementation easy

same as per #355 use https://github.com/DISTRHO/DPF-Widgets that is where such thing belongs.
For DPF I have interest on pushing the event logic around widget handling, but besides nanovg there wont be another official graphics API in this repo


Navigation and Menu Replacing

Summary
We discussed a slightly re-designed navigation:

Move "Identity" menu from bottom-left to top-right
Move Status badge from top-right to bottom-left where the identity menu was
Move references page into question mark drop down left to the new location of the identity menu top-right.
Updated Screenshots for End-User Documentation

The "change default organization" is hidden behind "user settings" which is by default hidden behind my name and avatar at the bottom left - so It's very hard to find the first time. Make it a permanent menu item "My default organization" or "Manage default organization" as long as there are not that many other menu items yet?

The "change default organization" is currently hidden behind "user settings" which is by default hidden behind my name and avatar at the bottom left - so It's very hard to find the first time. Make it a permanent menu item "My default organization" or "Manage default organization" as long as there are not that many other menu items yet?

My suggestion would be to enhance the "Welcome Screen" (implemented in #113) with a check if the default organization is configured and if not point the user there.

I've implemented the first three points, see attached screenshots.
@tobru are you happy with that or would you like anything differently? I am also happy to jump on a call today or tomorrow to discuss any needed changes - might be easier.

My suggestion would be to enhance the "Welcome Screen" (implemented in https://github.com/appuio/cloud-portal/pull/113) with a check if the default organization is configured and if not point the user there.

So if the user is already part of an organization, that welcome screen pop-up should instead show a button to take the user to set their default organization?
Identity menu and status badge moved, added question mark menu:

Identity menu open:

Question mark menu open:

I check the details today after Lunch.

So if the user is already part of an organization, that welcome screen pop-up should instead show a button to take the user to set their default organization?

Yes, I'd say so. What do you think @corvus-ch ?

Instead of linking to the /references in the help menu, I'd directly integrate the links from this references page in the help menu.


Installing for production

Is there documentation on how to setup for production? Just read that this docker image is for local dev and evaluation only...
Ideally there would be a docker-compose that'd just work.
I'd be happy to write a setup and provide the docker-compose once I get it to work, but not sure where to start or if it's even possible to host for production.
Any hints or tutorials I've missed?

Also interested in this. @leprodude any progress on the docker-compose?

I've been able to build and host it, but somehow my database wasn't initialising properly, so I couldn't use it.
I've decided to wait a bit, as the code base is being switched etc. but at some point I'll try again and post an update here if I get it to work properly

@leprodude thanks for the info. Did you try initializing your own production docker image rather than starting with this as a base?

Honestly I don't remember atm. I probably just used the docker image and made some changes to the docker-compose template...

I tried also to install on production (first, test on local) and it is not very clear about what is wrong to use docker behind proxy on production.
The biggest problem for me is how set database for the first start. I don't understand what is necessary, also how create the first user (because some value seems to be necessary but the first user just need username, mail and password. I don't understand why more information is necessary.


kcoid discovery error

With latest containers I cannot get Kopano demo up and running. I end up with:

kopano_server kcoid discovery error: unexpected response content-type: text/html

Repeating - after 5 mins docker container kopano_server exiting itself.
Same setup was running end of January 2019 without problems. Any changes breaking things?
I also tried to recreate all containers, volumes and networks from scratch but ended in similar problems as described here: https://github.com/zokradonh/kopano-docker/issues/88
Although I'm on ubuntu 18.04 LTS.
Any idea what's going on. Has the discovery stuff changed somehow or is it broken in nightly?

Hi @mhoffmann75 ,
I did some changes to the compose file in #89. It seems like the lookup of the discovery document (served through kopano_konnect) is failing in your scenario.
Can you post your current docker-compose.yml and .env?

I setup a complete fresh Debian buster (testing) with docker.io and docker-compose and now bringing up Kopano docker demo did make no problems. Maybe it is just a problem with ubuntu 18.04 or somehow my ubuntu server got screwed.
Still struggling to get up Caldav for Kopano but that's another story ...

I did a retest with a clean 18.04 meanwhile and here it all worked out of the box.

Ok thanks, than my box is screwed :-)


Example is not working properly

I've been using a camera before, and I'm going to introduce vision-camera-ocr for a new function.
But I tried to follow the example, but it didn't work.
If you run like this, runOnJS says it can't find it, but it doesn't work.
What is the problem and how do I solve it?
[package information]

react-native-vision-camera : 3.0.0
vision-camera-ocr : 1.0.0
react-native-reanimated : 3.5.1
react-native-worklets-core : 0.2.0

[code]

import {Camera, useCameraDevices, useFrameProcessor} from 'react-native-vision-camera';
import {runOnJS} from 'react-native-reanimated'
import { OCRFrame, scanOCR } from 'vision-camera-ocr';

const App = () => {
  const camera = useRef<any>(null); // 카메라 화면
  const devices = useCameraDevices();
  const device = devices.back; // 후면 카메라 사용
  const [ocr, setOcr] = React.useState<OCRFrame>();

  const frameProcessor = useFrameProcessor((frame) => {
    'worklet';
    const data = scanOCR(frame);
    runOnJS(setOcr)(data);
  }, []);

  ...

  return(
    <Camera
      ref={camera}
      style={{
        height: '100%',
        width: windowWidth,
      }}
      device={device}
      isActive={showCamera}
      photo={true}
      fps={240}
      frameProcessor={frameProcessor}
    />
  )
}

[babel.config.js]
module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
  plugins: [
    ['babel-plugin-styled-components'],
    [
      'react-native-reanimated/plugin',
      {
        globals: ['__scanOCR'],
      },
    ],
  ],
};

this package only work with react-native-vision-camera v2.
If you want to use the packege whit version 3 see https://github.com/aarongrider/vision-camera-ocr/pull/32


fix(@schematics/angular): remove the Reflect polyfill

Only IE11 and less needs it. See http://kangax.github.io/compat-table/es6/#test-Reflect
Fixes #206.

The core-js/es7/reflect is not Reflect in ES7, but the Metadata Reflection API proposal in no stage, that is not supported by any browser, but still required for JIT usage.

That's a really good point... WDYT @hansl?

@trotyl That's right, I forgot that we're still using reflect-metadata in JIT (it's not used anymore in AOT). Will update this PR.


chore: bdd-spring-1575283014 to 0.0.1

chore: Promote bdd-spring-1575283014 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


tests: add multi-tenancy tests

Ticket
If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:
Redmine ticket:

CI is green, does this still require a fix ?

replaced by #1478


[IA-2962][IA-3087] Add metrics for beta and beta toggle

https://broadworkbench.atlassian.net/browse/IA-3087
https://broadworkbench.atlassian.net/browse/IA-2962
This ticket adds metrics for the beta, and adds a hidden button to toggle between beta/current functionality.
To test the toggle, you will need to set hidden: false in Notebook.js (should be only occurrence of hidden in that file).
There are a few places where metrics use both source and application with the same value. This is because source seems to be a special category for visual display/aggregation in mixpanel.

There are a few places where metrics use both source and application with the same value. This is because source seems to be a special category for visual display/aggregation in mixpanel.

Could you elaborate a bit more why we need to specify both source and application? I don't see that in other parts of the codebase.

There are a few places where metrics use both source and application with the same value. This is because source seems to be a special category for visual display/aggregation in mixpanel.

Could you elaborate a bit more why we need to specify both source and application? I don't see that in other parts of the codebase.

I can't tell if its a property of mixpanel or a tracked field of a few metrics

I put it in to see to be safe rather than sorry when we go to display these metrics

Notebooks.js lines #414 and #426 need to be broken up. Could you run the IntelliJ reformatter?

Sort By is misaligned

Contrast that to the dev version:

Can we horizontally align the newly added rectangle below

with the stack of notebooks, as in the UX mock below?

I put it in to see to be safe rather than sorry when we go to display these metrics

I don't know MixPanel enough to make a good suggestion so I posted on the MixPanel channel.


panic message is not a string literal

Running the OS tutorial (https://os.phil-opp.com/), I get a warning every time I run the OS. I traced back the issue to this line:
https://github.com/rust-osdev/bootloader/blob/6a8a2635b400868d0fa057b74df0d1949a37ee3c/build.rs#L128
This is the warning:
warning: panic message is not a string literal
   --> build.rs:128:9
    |
128 |         format!("KERNEL does not exist: {}", kernel.display())
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(non_fmt_panic)]` on by default
    = note: this is no longer accepted in Rust 2021
    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

I run the following versions:
$ cargo --version
cargo 1.52.0-nightly (bf5a5d5e5 2021-02-18)
$ rustc --version
rustc 1.52.0-nightly (9b471a3f5 2021-02-19)
$ bootimage --version
bootimage 0.10.2

Thanks for reporting! Should be fixed with #138, which was released as v0.9.13.


WIP Akka example

This PR contains an example for the Akka framework for both Java and Scala

At the moment, the Docker image for Java does not build. This is still to be adjusted.


Fiberphotometry website enhancement

Kenia is using a website to check on her data quality using PSTH.
There are changes needed to be made to make her work more streamlined. This is rather urgent as she is completing her thesis in a few months.

Complete with associated list of sessions
cf. https://github.com/int-brain-lab/website/compare/main...photometry


do autocompletes to done

Built in symbols (like do, if, then, else) should also be added to the list of suggestions.

I think this is our first "from a user perspective" issue. :)

I cannot reproduce this, please re-open with more detail if it is still an issue.


Thread safety and temporary directory

Hi @Diviyan-Kalainathan,
I had some issues using the SID metric in a multiprocessing setting, since all processes were using the same directory name (and deleting it upon completion). I fixed this in SID.
Then I realized that the code was using /tmp instead of fetching the system's default temporary directory using gettempdir(). I modified launch_R_script and PC to use this. I think it's worth it to convert the other functions, since this will facilitate using the CDT on various platforms.
What do you think?
Cheers,
Alex

Sure, will do!

Can you just remove the f-string formatting in your cdt/utils/R.py, PC and SID implementations ? So that way I will be able to merge your contribution directly.
Thank you!

Hey @Diviyan-Kalainathan! Sorry for the delay, I removed the f-strings. Didn't have time to convert the rest of the CDT though.


Client Allocation Request for: goin-tech

Client Allocation Questions
Core Information

Name: goin-tech
Website / Social Media: www.goin-tech.com
Region: Greater China
DataCap Requested: 15TiB
Addresses to be Notarized: f1hvxl2ctghh2omzxj6saeuppgpruaklq7binuy6q
Notary Requested: ozhtdong

@emilcemalley04 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Thanks for your application. I want to know more basic information of you and your company. Please answer following question:
1.What's your name? What's your position?
2.What's your company's business? Do you have any other social media link?
3.Could you show me your company's business license?

1.YuanJie Zhang. I’m executive director and general manager.
2. Goin uses the science and technology to build a humanistic world, and is committed to becoming a technology company that uses blockchain and other high-tech to protect privacy.
The company will build a blockchain product project matrix in the future. The initial project is uefan, a close-range interest social software based on blockchain to protect privacy. Pridow, a community that inherits the cypherpunk spirit and focuses on privacy protection.
https://www.goin-tech.com/
This is our official website.
3.Can I post it by email? I will send to you later.

Thanks for your quick reply and detailed information.
I have further more questions about data and storing.
1.What kind of data do you want to store and how much? Could you please send me some demos of your data?
2.Have you/your company ever used cloud? Which platform do you use? What's your usage volume and frequency?

What we want to store is data such as system logs, program logs, blockchain currency information, etc. Because the data sample is too large, I still email to you.
2.No.We haven’t use any cloud.

data sample
On Fri, Sep 3, 2021 at 12:43 PM ozhtdong @.***> wrote:

Thanks for your quick reply and detailed information.
I have further more questions about data and storing.
1.What kind of data do you want to store and how much? Could you please
send me some demos of your data?
2.Have you/your company ever used cloud? Which platform do you use? What's
your usage volume and frequency?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/841#issuecomment-912250760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVK36FFEMAZGLAD6342FH2TUABG7HANCNFSM5DINSR5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks for your quick response. I also want to know more about your allocation strategy.
1.How many miners do you want to store your data to? How much data for each miner?
2. Will you record your allocation decision in public? Which platform will you use?
3. What method/tool will you use to inspect miners? Which aspect of miners will you inspect?
4. Have you ever allocated before? If yes, how did you do when you were questioned?

We want about 5 miners and divide to each miner equally.
Yes. I think github is suitable.
I haven't learned about related tools before. I want to find some miners who are creditable.
No, this is the first time.

Thanks for your information.
The last step, please show me your company searching consequence in the local business license searching website.

OK. Please wait a minute. I will send to your email.

Here is the searching consequence.
On Fri, Sep 3, 2021 at 1:30 PM ozhtdong @.***> wrote:

Thanks for your information.
The last step, please show me your company searching consequence in the
local business license searching website.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/841#issuecomment-912266560,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVK36FGO5ZG5737NIUYV5I3UABMPHANCNFSM5DINSR5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzaceb7zkbwajqsu3vnzbzzpdpz4vp2ee7aouoazctylad7lvnibhmp2u

Address

f1hvxl2ctghh2omzxj6saeuppgpruaklq7binuy6q

Datacap Allocated

15TiB

You can check the status of the message here: https://filfox.info/en/message/bafy2bzaceb7zkbwajqsu3vnzbzzpdpz4vp2ee7aouoazctylad7lvnibhmp2u


MSAL - Authority is added for national clouds

Task name: AzureFileCopyV1-V5,SqlAzureDacpacDeploymentV1
Description: Authority is added for national clouds
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[X] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@ozanovus Shouldn't we update also versions of other Powershell tasks that are using VstsAzureRestHelpers_?

@ozanovus Shouldn't we update also versions of other Powershell tasks that are using VstsAzureRestHelpers_?

Seems like "AzureFileCopyV1-V5,SqlAzureDacpacDeploymentV1" are the only ones affected.


Fix: multiplication(long), digits, segmentLength

fix:

multiplication for bigger long (values exceeding 10^9 could cause overflow, values until 10^18 are now parsed properly using the same algorithm, values exceeding it, using Bigint multiplication
digits, segmentLength value for 0 (should be 1)

Codecov Report

Merging #24 into master will increase coverage by 1.28%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   95.32%   96.61%   +1.28%
==========================================
  Files           2        2
  Lines         449      472      +23
==========================================
+ Hits          428      456      +28
+ Misses         21       16       -5

Impacted Files
Coverage Δ

src/bigint.cpp
96.57% <92.85%> (+1.30%)
:arrow_up:

Continue to review full report at Codecov.

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


The guest user is not able to checkout.

Bagisto Version: Master
Steps To reproduce--
1. Visit the shop.
2. Add any item to the cart.
3. Try to checkout the order.
Expected result: The guest user is not able to checkout.
Actual result: The page redirects to the login page if the guest user is trying to checkout.

@Sanjaybhattwebkul
Guest checkout toggle button was missing on product edit page due to attribute got deleted someway.
So due to this guest was not able to checkout and page was redirecting to customer login page.
Please run below command:
php artisan db:seed
It should work as expected.


retrain LiDAR-Diffusion model

@hancyran Hello, how can I retrain LiDAR-Diffusion Model.? I want to use it as a backbone for my research. Thank you very much!

Thank you for your feedback! We have updated our codebase with a main.py file for training and some text in README about  how to train your own LiDAR Diffusion. Feel free for any further questions!

@hancyran Thank you for your quick reply! Could you show me the root path of the main.py file? I have some difficulty finding the  it.

@HaiyunW Just forgot to commit it. You can check it right now.


Logger Plugin

Closes #29

The new changes look good, for the signer default fallback URL for unsupported regions I can create a new issue for that so that way it matches the other two agents.


500 Internal Server Error

Running this locally on my Macbook, I keep getting the following error:
"INFO:     <IP_ADDRESS>:49482 - "GET /openapi.json HTTP/1.1" 200 OK
Request: message='How do I program an agent?'
ERROR:app.main:IndexFlat.search() missing 3 required positional arguments: 'k', 'distances', and 'labels'
INFO:     <IP_ADDRESS>:49483 - "POST /ask-langchain HTTP/1.1" 500 Internal Server Error"
My colleague following the same instructions/procedure got it running on his Macbook.
Any idea how this could happen?
Update:
The same error shows up when running via codespace (INFO:     <IP_ADDRESS>:0 - "GET /openapi.json HTTP/1.1" 200 OK
Request: message='Give me an agent.'
ERROR:app.main:IndexFlat.search() missing 3 required positional arguments: 'k', 'distances', and 'labels'
INFO:     <IP_ADDRESS>:0 - "POST /ask-langchain HTTP/1.1" 500 Internal Server Error)

this looks like an issue with FAISS, its a somewhat common issue
I'm actually not 100% sure what the issue is (could be a platform thing?) but i would switch to using a different vectorstore


Update README.md

Updated Readme to explain how we can add the init script on system boot for debian based systems

Great template script I only update readme to add script to system boot