The Gemfile specifies faraday ~> 0.9, but the :api_debug seems to require 0.9.1

Using version Faraday version 0.9.0 gives me the following error. Updating to 0.9.1 resolves it.
https://github.com/lostisland/faraday/commit/fb6ed87714e4b3fbf2c846032ce62617ed57bfe8
=> {:user=>"my_username", :password=>"my_password", :api_url=>"https://restapi.surveygizmo.com", :api_version=>"4", :api_debug=>true}
>> survey = SurveyGizmo::API::Survey.first(id: my_survey's_id)
ArgumentError: wrong number of arguments (3 for 1..2)
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/response/logger.rb:7:in `initialize'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/middleware.rb:21:in `new'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/middleware.rb:21:in `new'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:48:in `build'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:162:in `block in to_app'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:162:in `each'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:162:in `inject'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:162:in `to_app'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:152:in `app'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:139:in `build_response'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/connection.rb:377:in `run_request'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/faraday-0.9.0/lib/faraday/connection.rb:140:in `get'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/survey-gizmo-ruby-5.0.3/lib/survey_gizmo/connection.rb:8:in `get'
        from /Users/Henner/.rvm/gems/ruby-2.0.0-p451/gems/survey-gizmo-ruby-5.0.3/lib/survey_gizmo/resource.rb:65:in `first'
        from (irb):5
        from /Users/Henner/.rvm/rubies/ruby-2.0.0-p451/bin/irb:12:in `<main>'

faraday is in violation of like every best practice of semantic versioning so this doesn't surprise me.
locally i actually use and test with faraday 0.9.2 so i will probably lock the gem to that version.

Cool, sounds good.

fixed in PR https://github.com/jarthod/survey-gizmo-ruby/pull/59


Document Variadic Generics

As far as I can see variadic generics do not exist are not documented.
For some data structures it is very useful to declare them.

We already have this, they are just not documented because it's pretty recent. Tuple, Union and Proc are all variadic generics.
https://play.crystal-lang.org/#/r/15ck

Pretty cool.

I created a corresponding issue for the reference book here: crystal-lang/crystal-book#525
The variadic generic types in the standard library should already be documented.

Should we close this issue, in that case?


Fix #304 FileAuth data

@timaschew  @WolframHempel

Coverage decreased (-0.1%) to 96.352% when pulling 2a58adedbe707594d75c0efe055bd8a895b31a4c on bug/#304-file-auth-data into ff334d6056aa0b5df3e4ec13d6934869a1f682de on master.

Coverage decreased (-0.1%) to 96.352% when pulling a00a1720d9b45168f5f0c2f5cc3a46cfb11defca on bug/#304-file-auth-data into ff334d6056aa0b5df3e4ec13d6934869a1f682de on master.

But this is an enhancement, right?

Nope, it previously didn't work as expected


Support for Jersey UK Numbers

Valid Jersey phone numbers not matching for Great Briton eg:<PHONE_NUMBER>6

Hi Michael,
Thank you for taking the time to improve libphonenumber!
We are already supporting<PHONE_NUMBER>6 as valid JE number even when it is dialed from GB region.
Check results at our demo portal: https://libphonenumber.appspot.com/phonenumberparser?number=01534123456&country=GB
https://libphonenumber.appspot.com/phonenumberparser?number=01534123456&country=JE
I'll close this as it's not an issue with the library. Please consider joining the discussion group if you'd like to discuss this further.


Wrong flag set for group in non-root users

This line in the Node template is incorrect according to the man/help page for busybox:
RUN addgroup -S app && adduser -S -g app app

-g must be G
/ # adduser
BusyBox v1.27.2 (2017-12-12 10:41:50 GMT) multi-call binary.

Usage: adduser [OPTIONS] USER [GROUP]

Create new user, or add USER to GROUP

        -h DIR          Home directory
        -g GECOS        GECOS field
        -s SHELL        Login shell
        -G GRP          Group
        -S              Create a system user
        -D              Don't assign a password
        -H              Don't create home directory
        -u UID          User id
        -k SKEL         Skeleton directory (/etc/skel)

Impact is unknown but should be fixed as soon as possible.
Expected Behaviour

app should belong to app group
Current Behaviour

app doesn't belong to the group
Possible Solution

Fix flag in all/any templates including ARM.
This will need testing too.

(I've updated the node template)

C# template is setting the group properly


Could you explain why yield* works here and not yield?

This is probably going to be a RTFM with regards to generators. Here's an excerpt.
import { take, fork, put, call } from 'redux-saga/effects'

function* fetchCompanySaga() {
  yield* call(wait, 1000)
  const action = yield take('FETCH_COMPANY')
  yield put({
    type: 'FETCH_COMPANY_SUCCESS',
    payload: {
      id: action.id,
      name: 'Foo'
    }
  })
}

// This could theoretically be any promise such as fetch(), it is just an example.
function wait(ms) {
  return new Promise(function (resolve) {
    setTimeout(() => resolve(), ms)
  })
}

export default function* root() {
  yield fork(fetchCompanySaga)
}

And it is called like so:
const sagaMiddleware = createSagaMiddleware()
const store = createStore(reducer, applyMiddleware(sagaMiddleware))
const task = sagaMiddleware.run(root)
const promise = task.done

const rendered = (<Provider store={store}>
  <Handler />
</Provider>)

// Any initial actions, for example, if we know the current route component..
store.dispatch(fetchCompany(1))

promise.then(function() {
  // Now the app can be served over HTTP
  console.log(renderToString(rendered))
})

Essentially, the
idea in this very limited sample is simply to simulate a saga that might take a while to load up. For example, a one-time only saga - for example, onboarding on a server side render. I'm interested in just working out when the root saga completes.
In this scenario, I know that I'm only going to run a certain number of actions and then the task will complete. Whether or not this is realistic is another question; I'm just trying to get the hang of redux-saga. Now, this code does actually work, however when replacing yield* with yield in place of call, the final promise never fulfills itself. This indicates to me that I would have to use yield* any time I wanted to use a promise-based resource. Is my understanding correct?
If this is the case, what is the appropriate scenario for server-side rendering (if there is one at all)? From my gathering of another issue on this repo, you should use different sagas for different environments - this seems to make sense

I don't know why it works with yield*, but you probably should change the following line:
- const action = take('FETCH_COMPANY')
+ const action = yield take('FETCH_COMPANY')

@fhelwanger Thanks. That is actually what I had, but I was reconstructing my original example after modifying it a bit (to experiment with takeEvery).

@danpantry the correct form is yield. The saga can't take the dispatched action because it's still blocked on the call(wait, 1000) when you dispatch the action. So when it resumes from the delay it remains blocked on the take.
Here is the correct code
function* fetchCompanySaga() {
  const action = yield take('FETCH_COMPANY')
  // put the delay after the take
  yield call(wait, 1000)
  yield put({
    type: 'FETCH_COMPANY_SUCCESS',
    payload: {
      id: action.id,
      name: 'Foo'
    }
  })
}

as for yield* it's used to delegate to other Iterables object (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield*). AFAIK, It shouldn't work with non iterables (like the result of call above). It seems the regenerator runtime (used by babel to transpile Generator code) resumes the Generator when you yield* to a non iterable instead of throwing an error

Hey,
I am using a React Universal environment and I am loading some data through static component from the router that loads from server initially.
The problem I am facing is that the saga is called properly on the server-side but unless I dispatch the same action again inside either componentDidMount or componentWillMount it is not reflecting on the client-side store. Also doesn't show up on the redux-devtools as well. So the yield put is basically the issue
import { call, put, takeEvery, all } from 'redux-saga/effects';
import axios from 'axios';
import jwt from 'jsonwebtoken';
import { port, host } from '../appConfig';

// const getHomeState = state => state.home; const homeState = yield select(getHomeState);

export function* fetchData() {
  try {
    const token = jwt.sign({ exp: Math.floor(Date.now() / 1000) + (60 * 60) }, 'wrongrightwhatever');
    let response = null;
    if (port) {
      const reqURL = `http://${host}:${port}/api/data`;
      response = yield call(axios.get, reqURL, { headers: { authorization: token, 'Content-Type': 'application/json' } });
    } else {
      const reqURL = '/api/data';
      response = yield call(axios.get, reqURL, { headers: { authorization: token, 'Content-Type': 'application/json' } });
    }
    console.log(response.data.msg); // sends the response message and shows up on the console
    yield put({ type: 'FETCHED_JWT', data: response.data.msg });
  } catch (err) {
    console.log(err);
  }
}

export function* watchFetchData() {
  yield takeEvery('FETCH_DATA', fetchData); // Take the 1st page data snapshots, draftdata from draftid
}

export default function* rootSaga() {
  yield all([
    watchFetchData(),
  ]);
}

Do I need to run the saga dispatching action for sure on the client & server both because then the middleware router function is called like 3 times which I want to avoid


switchLocalePath(): [Vue Router warn]: No match found for location with path

Environment

Operating System: Darwin
Node Version:     v22.3.0
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, app, runtimeConfig, vite, css, modules, eslint, i18n, primevue, image, nuxt-jsonld
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/nuxt-starter-1fg4xq?file=server%2Fapi%2Fmenu.get.ts,pages%2Findex.vue
Describe the bug
When changing language, a warning in the console appears for each page (referring to the previous language).
Additional context
No response
Logs
No response

same issue, please help


Filter credentials by schema

This is a duplicate of https://github.com/WebOfTrust/signify-browser-extension/issues/57


The price property in the trade object passed to a onTrade in a strategy is always 0

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[ x ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
I am trying to use the onTrade method to get the avg price I got in at on a buy trade and use this price to calculate a target price my strategy can use to know when to get out.
method.onTrade = function(trade) {
if(trade.action == "buy") {
this.startPrice = trade.price;
this.targetPrice = this.startPrice * this.settings.percent;
this.outPrice = this.startPrice * 0.99;
} else if (trade.action == "sell") {
this.startPrice = 0;
this.targetPrice = 0;
this.outPrice = 0;
this.startedTrendPrice = 0;
}
}
from what I have read for the latest release 0.5.14 this should be set on the trade object under price.
Expected result (what you hoped would happen)
To get the avg price of the trades done on my buy trade.
Actual result (unexpected outcome)
The price property in the trade object is always 0
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
I am using gdax.
Gekko version: 0.5.14
this error happend one second before the onTrade got called.
2018-06-15 11:28:28 (ERROR):    [gdax.js] (getOrder) returned an irrecoverable error: NotFound

Pretty should that this error is causing the issue, and it doesn't happen every trade.
2018-06-15 11:28:28 (ERROR): [gdax.js] (getOrder) returned an irrecoverable error: NotFound
After running the bot for a few hours and doing a few trades, I found that when that error doesn't happen everything works as it should.

On further investigation and after looking at the traffic between Gekko and the exchange, I found that after a buy order has completed Gekko checks the first order it did when starting the buy order again. Even tho it had cancelled it before, so Gdax is returning NotFound since the order has been cancelled.
On another note I noticed the recoverableErrors regexp doesn't match, Gdax returns NotFound instead of NOTFOUND. I have enabled the "i" flag on the regex for now so its not case sensitive.

Any ideas ?

Apologies for the late response. I think it's better to not use the current onTrade implementation for now... I'll implement a better solution as part of 0.6, see #2216.

This should be fixed by now. If it isn't please open a new issue!


Is the readme correct?

Hi @LinneyS -- the readme says this plugin is bundled with the server. Is the readme correct, or is this a stock template and not yet provisioned?

Hi @Denubis.
The readme is correct. Zotero plugin is available for manual installation on a Document Server and Integration Edition and is bundled with the rest.

Just wanted to clarify some things. The readme says it is pre-installed on the Community Edition, does that include the version that comes with nextcloud hub? Wasn't sure if that falls under "Document Server integrated with a 3rd-party storage".
Then would the plug-in only work with the web editor? Since it would be nice to have on the desktop editor, and there have been some (dead-end) discussions of it on the forms.
https://forums.zotero.org/discussion/79081/zotero-pluggin-for-onlyoffice
https://cloud.onlyoffice.org/viewtopic.php?p=25515&sid=9e2913c3e2ba960c2e2228665df273b2#p25515
https://dev.onlyoffice.org/viewtopic.php?f=9&t=9900&p=27740&hilit=zotero#p27740
https://dev.onlyoffice.org/viewtopic.php?f=9&t=24413&p=32803&hilit=zotero#p32803

Right now README file contains all installation instructions and details about where plugin installed by default so I'm closing this


Upgrade golang to 1.21

Also upgrade all dependencies in go.mod.
Fix driver/controllerserver.go to work with CSI spec v1.9.0

/ok-to-test
/lgtm
/approve

/hold
this updates the minimum supported version of these dependencies, and prevents this library being built with anything older than go 1.21.
do we want this? Binary dependencies can manage the versions of these libraries themselves, and we (I think?) support these newer versions already if someone chooses to use them in their own ‘require’ directives.
based on MVS, I think we might want to keep all of these at the oldest supported versions rather than the newest to make it easier to import and give those depending on us greater control. What do you think?

Just thought would be good to align with cert-manager repo dependencies for golang 1.21.

rebase from main


[Bug-#4640][UI] Fixed a 404 error when the project name contains "http"

Create a new project the name contain "http"，If you enter the project process list, an Error 404 will be reported，and the interface of the new process will also report an Error 404, and the URL path of the front-end splicing is not correct
this closes #4640
Brief change log
before change
const resolveURL = (url) => {
  if (url.indexOf('http')  !== -1) {
    return url
  }
  if (url.charAt(0) !== '/') {
    return `${apiPrefix}/${url.replace(reSlashPrefix, '')}`
  }

  return url
}

after change
const resolveURL = (url) => {
  if (url.indexOf('http')  === 0) {
    return url
  }
  if (url.charAt(0) !== '/') {
    return `${apiPrefix}/${url.replace(reSlashPrefix, '')}`
  }

  return url
}

Verify this pull request
(Please pick either of the following options)
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added dolphinscheduler-dao tests for end-to-end.
Added CronUtilsTest to verify the change.
Manually verified the change by testing locally.

@Ylisen Please change dev-1.3.0 to dev

good job,  please re-submit your PR to dev branch, thx
please contact me(wechat: 510570367 or mail: lidongdai@apache.org), please tell me your github id when added, thx


Remove the need to specify selected tv

We should find a way to remove the need to specify the selected TV.
Currently the user specifies it for the package like so.
TizenHelperMethods.selectedTv = tvVar;

Not sure what was that about


Insert wbr (optional word break) on Projects page

The "projects" page often spills off the screen edge because many project names include underscores and other characters.  Browsers don't know it's okay to do a line break there, so they end up spilling off the edge.
We could fix this by inserting <wbr> after certain characters in the projects page (at least in the "Name" and "Website" columns, and maybe "Description" as well).  Obvious characters to insert a <wbr> after include a sequence of /, _, -, ..  I think that "//" and ".." should stay together, so we should only insert after each series of such characters.
The <wbr> tag is supported by everyone except Internet Explorer (IE) according to https://caniuse.com/#search=wbr, and IE will simply quietly not show the breaks (so it's a reasonable backoff).  An alternative is &8203;, but I fear that browsers that don't understand &8203; will show garbage, while <wbr> will just show nothing if not understood (a more desirable result).

More info here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr - interestingly, the Yahoo Style guide recommends inserting breaks before punctuation in URLs (as discussed there).  In a table it's not clear this recommendation is important.
Here's a discussion about wbr in the HTML 5 specification:
https://www.w3.org/TR/html50/text-level-semantics.html#the-wbr-element

This is resolved by pull request #1325


Bind question

Why does the grid does not bind new entries after I delete a row?
Also, when we delete a row, the delete is not reflected in the object array. Is this expected?
I added {{data | json}} in the basic-example-data.component's template to inspect the changes and I noticed that it does not bind new rows after I delete a row.
To reproduce this, add a new record through 'Add New' action. Delete any record clicking on delete. Add another record through 'Add new' again. The new value will not be included.
Edit
I added a plunker showing what's happening when we delete a row and/or try to add new row after deleting a row. Plunker
Regards

+1


Ability to update the upload file to reimport updated data (or provide an import template that could be applied to new imports)

Description
Love the new importer. One need that we have on lots of websites is to semi regularly import new content into a collection.
It would be great if you could save the mapping you've setup and run that as a new import with an updated file. That could be done in one of two ways in the UI:

Save the imports that have run (which you're already doing with the recent imports section) and allow you to upload a new file into the import. This would pickup the the mapping you have and allow an new import
Allow the saving of the mapped fields as an import template that could be applied to a newly uploaded file.

One thing this would also need to consider is whether to update or ignoring existing content.
We use this type of functionality to semi regularly upload batch files of Honey batch tests, lake research data, publications and data like that from spreadsheets that clients compile with fixed columns  that don't change so remapping it each time would be very time consuming. Sometime there are a LOT of fields as well.

Good idea! I'll have a think about the best way to approach this.

One thing this would also need to consider is whether to update or ignoring existing content.

I've created a separate feature request for this: #9


In map view - change to "live" editing

Changes in "edit" mode in the setting panel would be more intuitive if they resulted in live changes on the map. "Save" button should turn into a "done" button.

This is @giorgiocaviglia's request, so I'll blame him when this is really difficult.


OPA!

What is the reason for using opa?
What unique feature does opa give us to use for authentication and access authorization?
https://github.com/ardanlabs/service/blob/master/business/web/v1/auth/rego

OPA allows the Go service to be disconnected from handling authorization. We don't want to roll our own auth, nor do we want Go conditional logic to handle this. The current implementation embeds the rego code, but there is nothing stopping us  from fetching that code and being alerted of changes. In the best scenario, we use a service from Styra to handle this completely outside the service.


Peer to Peer code review

Congratulations a good job. No linters errors clean code. We only suggest that the check box be saved on the server.

Thank you.


[SPARK-46371][BUILD] Clean up outdated items in .rat-excludes

What changes were proposed in this pull request?
The pr aims to clean outdated items in .rat-excludes.
Why are the changes needed?

Some items in the .rat-excludes file no longer exist in the Spark code repo, such as SparkIMain.scala. Perhaps one day in the future, we may add a file named SparkIMain.scala (a new file with the same file name as the old file, but with a different meaning) due to some requirements.  However, we did not add the required "License" header for this file.  According to the current mechanism, it should pass the check-license, but this check may not be our original intention.
In addition, the .rat-excludes file seems to be constantly adding entries without a mechanism for removing them, which is not healthy for the file itself.

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.

Personally, I don't think it's unnecessary to clean them as they never bother me through development.

I agree with @yaooqinn .
To @panbingkun , could you elaborate a little more about this? I don't understand what you meant by this.

To avoid misunderstandings caused by outdated items.

I agree with @yaooqinn .
To @panbingkun , could you elaborate a little more about this? I don't understand what you meant by this.

To avoid misunderstandings caused by outdated items.

1.Some items in the .rat-excludes file no longer exist in the Spark code repo, such as SparkIMain.scala. Perhaps one day in the future, we may add a file named SparkIMain.scala (a new file with the same file name as the old file, but with a different meaning) due to some requirements.  However, we did not add the required "License" header for this file.  According to the current mechanism, it should pass the check-license, but this check may not be our original intention.In addition.
2.The .rat-excludes file seems to be constantly adding entries without a mechanism for removing them, which is not healthy for the file itself.
The above is my personal opinion.  If I understand it incorrectly, please correct me.

To @panbingkun , the above description should be in the PR description. Please add them into the PR description to be complete next time.
In addition, this PR is wrong as @yaooqinn pointed out https://github.com/apache/spark/pull/44293#discussion_r1423455231 . Please recover the original file and remove the deleted items only like SparkIMain.scala.

To @panbingkun , the above description should be in the PR description. Please add them into the PR description to be complete next time.
In addition, this PR is wrong as @yaooqinn pointed out #44293 (comment) . Please recover the original file and remove the deleted items only like SparkIMain.scala.

Okay, Let me update it 😄

To @panbingkun , the above description should be in the PR description. Please add them into the PR description to be complete next time.
In addition, this PR is wrong as @yaooqinn pointed out #44293 (comment) . Please recover the original file and remove the deleted items only like SparkIMain.scala.

Merged to master. Thank you, @panbingkun and @yaooqinn .


Ability to scroll above first line (over the top)

tl;dr: read the title
Currently there's option to scroll beyond last line - it's good because it allows to keep the bottom code in center on screen and makes it comfortable to work with (which is perfectly cozy with centered layout). Then why there's no option to scroll above first line? When scroll is on top the code is obviously not in the center, and feels squishy. All it needs is some fake empty lines at the top of file (like with Find widget). Of course, there can be license to push the code down or I can paste a bunch of empty lines myself but hey, I don't want to put license in my every private file (its distracting too) and real empty lines just... seems wrong (and annoyng to paste every time).
P.S.: Can't believe there's no option or even suggestion/discussion so far... so I think it's also a good chance for VSCode to shine up with a Brand New Feature®! ;) Put like if agree lol

I just got fed up enough with not being able to do this myself to look into it. I second this motion.


Fix typo in azure-ai-inference README.md

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


🍒 Cherry pick PR #19094 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/19094 to staging 🍒

🚀 Cherry-picked to staging by https://github.com/OSBotify in version: 1.3.17-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.17-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update kubectl component ref page for 1.11.

Preview: https://deploy-preview-9094--kubernetes-io-vnext-staging.netlify.com/docs/reference/kubectl/kubectl/

/hold cancel
/assign @mistyhacks

OK for now but we should probably remove or fix the TOC at a later date, and if we can, remove the attribution at the bottom. It is the same as currently published, so I'm OK with this going in.
/approve
/lgtm


[Epic] Support expression dialect

Describe the Bug
We support
- from:
    uri: timer:null
    steps:
    - set-body:
        simple: test

but not
- from:
    uri: timer:null
    steps:
    - set-body:
        expression:
          simple:
            expression: test

Both needs to be supported as a dialect. Canvas should show same diagram on both route above.
There're several EIPs uses expression, some of them has its step extension, but the others don't. Both of default Config tab and step extensions should make a fix for this.
Related Issues

https://github.com/KaotoIO/kaoto-backend/issues/479
https://github.com/KaotoIO/kaoto-backend/issues/547
https://github.com/KaotoIO/kaoto-backend/issues/548
https://github.com/KaotoIO/step-extension-repository/issues/405

Steps to Reproduce the Bug or Issue

Open source code editor
Paste the 2nd YAML above

Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

The other option for post 1.0 is to align to the one of dialects we choose, and always convert into the chosen one. IMO it's not necessary to preserve the source code in a dialect user choose, as long as it's semantically preserved. If user wants to keep the source code at that level, they should use the code editor alone. Or we can add hardcore source editing mode which disables the canvas completely.

I am all for converting identical code into a single coding style. Consistency pushing the user into what are best practices.

This seems to be an another dialect to support
- from:
    uri: timer:null
    steps:
    - set-body:
        simple:
          expression: test
          resultType: String

And enforcing resultType seems NOT to be supported with the simplest dialect (1st in the description). So if we go to the auto-converting route, we should choose one of the verbose styles.
https://stackoverflow.com/questions/75003733/apache-camel-yaml-dsl-expression-returning-custom-datatype

We need to test if it doesn't break expression object when the condition is modified through default Config tab and step extensions (https://github.com/KaotoIO/step-extension-repository/issues/405), but blocked by https://github.com/KaotoIO/kaoto-backend/issues/554

Since the individual issues toward 1.0 are identified, I'm removing this from stabilization sprint, but keep this open for the post 1.0 permanent fix for complete dialect support.


Disable composite search parameter indexing

Composite search is an advanced FHIR search feature:

When searching using multiple query parameters, there are cases where individual search parameters combined with AND would match unintended results. Composite search parameters are a special type of search parameter that address this issue.
For example, the Observation resource may contain multiple values in the component field, each of which contains a pair of code and value. A search for Observation?component-code=8867-4&component-value-quantity=lt50 would match a resource that had one component containing a code of 8867-4 and a different component containing a value less than 50. This search cannot be used to restrict to a match of these two values within the same component.

Composite search is already on the backlog.  This PR explicitly ignores composite search parameters during the indexing phase, because some of the FHIRPath expressions resolve to the entire FHIR resource, which leads to excessive data duplication.
Consider the FHIRPath expression for Observation-code-value-concept:
      "code" : "code-value-concept",
      "base" : ["Observation"],
      "type" : "composite",
      "expression" : "Observation",
      "component" : [{
        "definition" : "http://hl7.org/fhir/SearchParameter/clinical-code",
        "expression" : "code"
      },
      {
        "definition" : "http://hl7.org/fhir/SearchParameter/Observation-value-concept",
        "expression" : "value.as(CodeableConcept)"
      }]

The full composite implementation will require either multiple columns or separate lookup tables.  For the current search indexer, evaluating the FHIRPath expression Observation simply returns the full resource, which is obviously incorrect.

Coverage increased (+0.0004%) to 95.086% when pulling 8a208e46c3a96f3954973b641d9a0e853956bcf4 on cody-disable-composite-columns into ad95982392d61c61bd3a67774acdda36dfaebc60 on main.


Removed dead store into addr space casted alloca

Change-Id: Ia2234ea9ab31b16d7224017fa0b984f75aaff890

@yxsamliu please advise if this PR should be taken prior to #72 .
I'm sorry that for some reason I wasn't notified of PRs against amd-hcc in this repository so I reply it so late.

We may still need this if we cannot get rid of all the addr space casts. This can be applied after #72 after we solved correctness issue.

@yxsamliu do we still need this?

It seems we no longer need this since SROA now handles addrspacecast. I will close this for now.


ignore scenes that are not defined

Hi,
you can create scenes "on the fly" (https://www.home-assistant.io/integrations/scene/#applying-a-scene-without-defining-it) during an automation and and they do not exist outside the context of the automation, however watchman will keep reporting them as missing.

So far there are no means for watchman to distinguish between permanent scenes and provisional ones, it just checks the status of all entities from configuration files which name starts with scene.. The best you can do is to add temporal scenes (or the whole scene domain) as exceptions with Ignored entities and services UI option.

Thanks I added the entities to exclusions. Just thought it'd be nice if they were ignored by default, seeing as they sort of do not exist by design.


Hide all messages with actions after a certain timeout

After you have executed a task, or have installed a new extension, a pop-up will show, but won't disappear until you manually close it.
Pop-ups should have a default kill-time, and for pop-ups that warns you that you must restart VSCode to install the new extension could not disappear by default.
The time could also be configurable.
Here's my suggestion: have IMessageInterface.show() include an argument for the dispose time, and not specifying it will make the popup disappear in the time specified in the Workbench Settings.

I would like to add, global option to turn these off.   they get in the way.   better option to have these messages appear in the output console window.

@RockyTV with https://github.com/Microsoft/vscode/pull/43770 landing can you check this again from our insider build to see if it still nags you? Notifications no longer appear over the editor, but bottom right.
You can give our preview releases a try from: https://code.visualstudio.com/insiders/


If an asset fails to load, emit an event like AssetLoadError Event

What problem does this solve or what need does it fill?
I am loading a ton of RON files and I want to show on the UI if one fails and why it fails .  I have to scroll through a horrid amount of useless console logs (another story...) to figure out what is wrong with my assets and its a bad  bad  experience for me.
What solution would you like?
If this error is printed to the console log (for example)
2024-10-29T01:16:05.497121Z ERROR bevy_asset::server: Failed to load folder. Failed to load asset 'item_system_types/vendor_tables/basic.vendor.ron' with asset loader 'bevy_common_assets::ron::RonAssetLoader<broken_spirit::file_system_interaction::vendor_table::VendorTable>': Could not parse RON: 7:81: Expected integer

Then an event should be emitted like 'AssetLoadErrorEvent' with the handle of the asset and the error message string like ' Could not parse RON: 7:81: Expected integer ' so i can display it on the UI programmatically.
What alternative(s) have you considered?
I considered implementing something like this
https://bevy-cheatbook.github.io/assets/ready.html
But it is absolutely horrid that i have to manually register all asset handles and that is impossible because i am using bevy_asset_loader which kind of hides all of that from me .  I cant register the asset handles... nor do i want to loop through them like that every frame .
Additional context

OKAY ! I tried doing this and it is suuuuper close

fn update_asset_loading_failure_resource(

        mut asset_load_error_events: EventReader< InternalAssetEvent >,

     ) {

    for evt in asset_load_error_events.read(){

        match evt {

            InternalAssetEvent::Failed { id, error, path } => {

                panic!( error );

            }
            _ => {}
        }

    }

}

but for some absolutely silly reason, the id, error, and path are marked private so i cant access them... i should be able to imo !

Feel free to create a PR!

Okay i found this and it is getting closer but still no dice
fn update_asset_loading_failure_resource(

      //  mut asset_load_error_events: EventReader< InternalAssetEvent >,
        mut asset_load_error_events: EventReader< UntypedAssetLoadFailedEvent >,

     ) {

    for evt in asset_load_error_events.read(){

        match evt {

             UntypedAssetLoadFailedEvent ::Failed {
               id, path ,error
                //PR open to make these available !
            } => {

                panic!( "asset loading failed " );

            }
            _ => {}
        }

    }

}

ERROR
error[E0223]: ambiguous associated type
   --> src/file_system_interaction/asset_loading.rs:643:14
    |
643 |              UntypedAssetLoadFailedEvent ::Failed {
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
help: if there were a trait named `Example` with associated type `Failed` implemented for `UntypedAssetLoadFailedEvent`, you could use the fully-qualified path
    |
643 |              <UntypedAssetLoadFailedEvent as Example>::Failed {

WAIT i think i got it
fn update_asset_loading_failure_resource(

        mut asset_load_error_events: EventReader< UntypedAssetLoadFailedEvent >,

     ) {

    for evt in asset_load_error_events.read(){

        let id = &evt.id ;
        let path = &evt.path;
        let error = &evt.error;

       panic!( "asset loading failed {}" , error );

    }

}

Yep this is how you do it.  Someone should put in docs ;D


Add double spaces (fixes formatting)

hopefully.

You should add it after every line? I mean examples too. It's kinda weird in this current format

I've checked the previous placeholders file, it should be fine

On 8 Feb 2018, at 8:14 PM, Master Kwoth<EMAIL_ADDRESS>wrote:
You should add it after every line? I mean examples too. It's kinda weird in this current format
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Create Infrastructure to exactly calculate L1 Memory Usage for Width Sharded Conv2D

Exact calculation of L1 Memory usage will allow for effective estimation of various conv2d parameters like act_block_div and shard_layout.
Create infrastructure that allows this calculation for any given conv2d op.
Compare this calculation with actual L1 usage, and assert if mismatch.
Start with Width Sharded Conv2d.

cc: @pavlejosipovic


In sample data, we need to change IDs for cancel/return pages

PR is here: https://github.tools.sap/cx-commerce/spartacussampledataaddon/pull/50

works and did not find any import error as well relating to this in the console while initializing locally
Below, can see an example of it working

To QA:
Please do smoke tests of SPA.

Tested on dev10.


Review, apply and enforce secure deployment configs

More details on https://docs.engineering.redhat.com/display/PRODSEC/Operators+-+Secure+Deployment+Guide

/close
Review done, which led to the creation of https://github.com/janus-idp/operator/issues/153
Enforcement has also been done by onboarding to Snyk, integrating with SonarCloud, and scanning with gosec (https://github.com/janus-idp/operator/issues/151)


homebridge-enphase-envoy v4.3.2-beta119 - TypeError: Cannot read property 'activeCount' of undefined

[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, state: Online.
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] -------- Envoy-S --------
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Manufacturer: Enphase
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Model: Envoy-S
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Meters: 0
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Q-Relays: 1
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Encharges: 0
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Inverters: 14
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Firmware: R4.10.35
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] SerialNr:<PHONE_NUMBER>49
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] Time: 2/10/2021, 3:21:19 PM
[2/10/2021, 3:21:22 PM] [enphaseEnvoy] ----------------------------------
[2/10/2021, 3:21:27 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, update Device state error: TypeError: Cannot read property 'activeCount' of undefined
    at envoyDevice.updateDeviceState (/homebridge/node_modules/homebridge-enphase-envoy/index.js:1363:69)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Seems it is always in the loop:
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, state: Online.
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Device <IP_ADDRESS> Envoy-S, get device status data inventory [ [Object], [Object], [Object] ] info: <?xml version='1.0' encoding='UTF-8'?>
<envoy_info>
  <time>1612967194</time>
  <device>
    <sn>121921106049</sn>
    <pn>800-00553-r02</pn>
    <software>R4.10.35</software>
    <euaid>4c8675</euaid>
    <seqnum>0</seqnum>
    <apiver>1</apiver>
    <imeter>false</imeter>
  </device>
  <package name='rootfs'>
    <pn>500-00001-r01</pn>
    <version>02.00.00</version>
    <build>945</build>
  </package>
  <package name='kernel'>
    <pn>500-00011-r01</pn>
    <version>04.00.00</version>
    <build>5bb754</build>
  </package>
  <package name='boot'>
    <pn>590-00018-r01</pn>
    <version>02.00.01</version>
    <build>426697</build>
  </package>
  <package name='app'>
    <pn>500-00002-r01</pn>
    <version>04.10.35</version>
    <build>6ed292</build>
  </package>
  <package name='devimg'>
    <pn>500-00005-r01</pn>
    <version>01.02.186</version>
    <build>d0d70f</build>
  </package>
  <package name='geo'>
    <pn>500-00008-r01</pn>
    <version>02.01.22</version>
    <build>06e201</build>
  </package>
  <package name='backbone'>
    <pn>500-00010-r01</pn>
    <version>04.10.25</version>
    <build>7b7de5</build>
  </package>
  <package name='meter'>
    <pn>500-00013-r01</pn>
    <version>03.02.07</version>
    <build>4c9d48</build>
  </package>
  <package name='agf'>
    <pn>500-00012-r01</pn>
    <version>02.02.00</version>
    <build>c00a8f</build>
  </package>
  <package name='security'>
    <pn>500-00016-r01</pn>
    <version>02.00.00</version>
    <build>54a6dc</build>
  </package>
  <build_info>
    <build_time_gmt>1542157882</build_time_gmt>
    <build_id>release-4.10.x-103-Nov-12-18-18:25:06</build_id>
  </build_info>
</envoy_info>

[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, get Device info.xml successful: {
  "envoy_info": {
    "time": [
      "1612967194"
    ],
    "device": [
      {
        "sn": [
          "121921106049"
        ],
        "pn": [
          "800-00553-r02"
        ],
        "software": [
          "R4.10.35"
        ],
        "euaid": [
          "4c8675"
        ],
        "seqnum": [
          "0"
        ],
        "apiver": [
          "1"
        ],
        "imeter": [
          "false"
        ]
      }
    ],
    "package": [
      {
        "$": {
          "name": "rootfs"
        },
        "pn": [
          "500-00001-r01"
        ],
        "version": [
          "02.00.00"
        ],
        "build": [
          "945"
        ]
      },
      {
        "$": {
          "name": "kernel"
        },
        "pn": [
          "500-00011-r01"
        ],
        "version": [
          "04.00.00"
        ],
        "build": [
          "5bb754"
        ]
      },
      {
        "$": {
          "name": "boot"
        },
        "pn": [
          "590-00018-r01"
        ],
        "version": [
          "02.00.01"
        ],
        "build": [
          "426697"
        ]
      },
      {
        "$": {
          "name": "app"
        },
        "pn": [
          "500-00002-r01"
        ],
        "version": [
          "04.10.35"
        ],
        "build": [
          "6ed292"
        ]
      },
      {
        "$": {
          "name": "devimg"
        },
        "pn": [
          "500-00005-r01"
        ],
        "version": [
          "01.02.186"
        ],
        "build": [
          "d0d70f"
        ]
      },
      {
        "$": {
          "name": "geo"
        },
        "pn": [
          "500-00008-r01"
        ],
        "version": [
          "02.01.22"
        ],
        "build": [
          "06e201"
        ]
      },
      {
        "$": {
          "name": "backbone"
        },
        "pn": [
          "500-00010-r01"
        ],
        "version": [
          "04.10.25"
        ],
        "build": [
          "7b7de5"
        ]
      },
      {
        "$": {
          "name": "meter"
        },
        "pn": [
          "500-00013-r01"
        ],
        "version": [
          "03.02.07"
        ],
        "build": [
          "4c9d48"
        ]
      },
      {
        "$": {
          "name": "agf"
        },
        "pn": [
          "500-00012-r01"
        ],
        "version": [
          "02.02.00"
        ],
        "build": [
          "c00a8f"
        ]
      },
      {
        "$": {
          "name": "security"
        },
        "pn": [
          "500-00016-r01"
        ],
        "version": [
          "02.00.00"
        ],
        "build": [
          "54a6dc"
        ]
      }
    ],
    "build_info": [
      {
        "build_time_gmt": [
          "1542157882"
        ],
        "build_id": [
          "release-4.10.x-103-Nov-12-18-18:25:06"
        ]
      }
    ]
  }
}
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] -------- Envoy-S --------
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Manufacturer: Enphase
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Model: Envoy-S
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Meters: 0
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Q-Relays: 1
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Encharges: 0
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Inverters: 14
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Firmware: R4.10.35
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] SerialNr:<PHONE_NUMBER>49
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] Time: 2/10/2021, 3:26:34 PM
[2/10/2021, 3:26:36 PM] [enphaseEnvoy] ----------------------------------
[2/10/2021, 3:26:42 PM] [enphaseEnvoy] Debug production: {
  status: 200,
  statusText: 'OK',
  headers: [Object],
  config: [Object],
  request: [ClientRequest],
  data: [Object]
} productionCT: {
  status: 200,
  statusText: 'OK',
  headers: [Object],
  config: [Object],
  request: [ClientRequest],
  data: [Object]
}, inventory: {
  status: 200,
  statusText: 'OK',
  headers: [Object],
  config: [Object],
  request: [ClientRequest],
  data: [Array]
}
[2/10/2021, 3:26:44 PM] [enphaseEnvoy] Debug pcuCommCheck: {
  '121932043894': 4,
  '121932016547': 4,
  '121932034199': 3,
  '121932033746': 4,
  '121932016549': 3,
  '121932039512': 3,
  '121932038960': 3,
  '121932043380': 4,
  '121932039459': 4,
  '121910052727': 3,
  '121932039006': 4,
  '121931158966': 3,
  '121932035604': 3,
  '121931157713': 4,
  '121932039565': 3
}
[2/10/2021, 3:26:44 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, update Device state error: TypeError: Cannot read property 'activeCount' of undefined
    at envoyDevice.updateDeviceState (/homebridge/node_modules/homebridge-enphase-envoy/index.js:1363:69)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
[2/10/2021, 3:27:03 PM] [Verisure] info Alarm (Thuis): Getting current alarm state.
[2/10/2021, 3:27:03 PM] [Verisure] info VOORDEUR: Getting current sensor state.
[2/10/2021, 3:27:03 PM] [Verisure] info KEUKENRAAM: Getting current sensor state.
[2/10/2021, 3:27:03 PM] [Verisure] info GARAGEDEUR: Getting current sensor state.
[2/10/2021, 3:27:03 PM] [UPS] Nut is Polling for Description Unavailable with polling delay of 60 seconds.
[2/10/2021, 3:27:03 PM] [UPS] Nut checking connection to Nut Server for Description Unavailable.
[2/10/2021, 3:27:03 PM] [UPS] Nut connection to Nut Server Successful.
[2/10/2021, 3:27:03 PM] [UPS] Nut refreshing delay 0.1 for Description Unavailable
[2/10/2021, 3:27:04 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, requesting config information.
[2/10/2021, 3:27:04 PM] [UPS] Nut now getting vars for Description Unavailable.
[2/10/2021, 3:27:04 PM] [UPS] Nut now updating vars for Description Unavailable.
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, state: Online.
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Device <IP_ADDRESS> Envoy-S, get device status data inventory [ [Object], [Object], [Object] ] info: <?xml version='1.0' encoding='UTF-8'?>
<envoy_info>
  <time>1612967222</time>
  <device>
    <sn>121921106049</sn>
    <pn>800-00553-r02</pn>
    <software>R4.10.35</software>
    <euaid>4c8675</euaid>
    <seqnum>0</seqnum>
    <apiver>1</apiver>
    <imeter>false</imeter>
  </device>
  <package name='rootfs'>
    <pn>500-00001-r01</pn>
    <version>02.00.00</version>
    <build>945</build>
  </package>
  <package name='kernel'>
    <pn>500-00011-r01</pn>
    <version>04.00.00</version>
    <build>5bb754</build>
  </package>
  <package name='boot'>
    <pn>590-00018-r01</pn>
    <version>02.00.01</version>
    <build>426697</build>
  </package>
  <package name='app'>
    <pn>500-00002-r01</pn>
    <version>04.10.35</version>
    <build>6ed292</build>
  </package>
  <package name='devimg'>
    <pn>500-00005-r01</pn>
    <version>01.02.186</version>
    <build>d0d70f</build>
  </package>
  <package name='geo'>
    <pn>500-00008-r01</pn>
    <version>02.01.22</version>
    <build>06e201</build>
  </package>
  <package name='backbone'>
    <pn>500-00010-r01</pn>
    <version>04.10.25</version>
    <build>7b7de5</build>
  </package>
  <package name='meter'>
    <pn>500-00013-r01</pn>
    <version>03.02.07</version>
    <build>4c9d48</build>
  </package>
  <package name='agf'>
    <pn>500-00012-r01</pn>
    <version>02.02.00</version>
    <build>c00a8f</build>
  </package>
  <package name='security'>
    <pn>500-00016-r01</pn>
    <version>02.00.00</version>
    <build>54a6dc</build>
  </package>
  <build_info>
    <build_time_gmt>1542157882</build_time_gmt>
    <build_id>release-4.10.x-103-Nov-12-18-18:25:06</build_id>
  </build_info>
</envoy_info>

[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, get Device info.xml successful: {
  "envoy_info": {
    "time": [
      "1612967222"
    ],
    "device": [
      {
        "sn": [
          "121921106049"
        ],
        "pn": [
          "800-00553-r02"
        ],
        "software": [
          "R4.10.35"
        ],
        "euaid": [
          "4c8675"
        ],
        "seqnum": [
          "0"
        ],
        "apiver": [
          "1"
        ],
        "imeter": [
          "false"
        ]
      }
    ],
    "package": [
      {
        "$": {
          "name": "rootfs"
        },
        "pn": [
          "500-00001-r01"
        ],
        "version": [
          "02.00.00"
        ],
        "build": [
          "945"
        ]
      },
      {
        "$": {
          "name": "kernel"
        },
        "pn": [
          "500-00011-r01"
        ],
        "version": [
          "04.00.00"
        ],
        "build": [
          "5bb754"
        ]
      },
      {
        "$": {
          "name": "boot"
        },
        "pn": [
          "590-00018-r01"
        ],
        "version": [
          "02.00.01"
        ],
        "build": [
          "426697"
        ]
      },
      {
        "$": {
          "name": "app"
        },
        "pn": [
          "500-00002-r01"
        ],
        "version": [
          "04.10.35"
        ],
        "build": [
          "6ed292"
        ]
      },
      {
        "$": {
          "name": "devimg"
        },
        "pn": [
          "500-00005-r01"
        ],
        "version": [
          "01.02.186"
        ],
        "build": [
          "d0d70f"
        ]
      },
      {
        "$": {
          "name": "geo"
        },
        "pn": [
          "500-00008-r01"
        ],
        "version": [
          "02.01.22"
        ],
        "build": [
          "06e201"
        ]
      },
      {
        "$": {
          "name": "backbone"
        },
        "pn": [
          "500-00010-r01"
        ],
        "version": [
          "04.10.25"
        ],
        "build": [
          "7b7de5"
        ]
      },
      {
        "$": {
          "name": "meter"
        },
        "pn": [
          "500-00013-r01"
        ],
        "version": [
          "03.02.07"
        ],
        "build": [
          "4c9d48"
        ]
      },
      {
        "$": {
          "name": "agf"
        },
        "pn": [
          "500-00012-r01"
        ],
        "version": [
          "02.02.00"
        ],
        "build": [
          "c00a8f"
        ]
      },
      {
        "$": {
          "name": "security"
        },
        "pn": [
          "500-00016-r01"
        ],
        "version": [
          "02.00.00"
        ],
        "build": [
          "54a6dc"
        ]
      }
    ],
    "build_info": [
      {
        "build_time_gmt": [
          "1542157882"
        ],
        "build_id": [
          "release-4.10.x-103-Nov-12-18-18:25:06"
        ]
      }
    ]
  }
}
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] -------- Envoy-S --------
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Manufacturer: Enphase
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Model: Envoy-S
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Meters: 0
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Q-Relays: 1
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Encharges: 0
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Inverters: 14
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Firmware: R4.10.35
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] SerialNr:<PHONE_NUMBER>49
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] Time: 2/10/2021, 3:27:02 PM
[2/10/2021, 3:27:05 PM] [enphaseEnvoy] ----------------------------------
[2/10/2021, 3:27:08 PM] [enphaseEnvoy] Debug production: {
  status: 200,
  statusText: 'OK',
  headers: [Object],
  config: [Object],
  request: [ClientRequest],
  data: [Object]
} productionCT: {
  status: 200,
  statusText: 'OK',
  headers: [Object],
  config: [Object],
  request: [ClientRequest],
  data: [Object]
}, inventory: {
  status: 200,
  statusText: 'OK',
  headers: [Object],
  config: [Object],
  request: [ClientRequest],
  data: [Array]
}
[2/10/2021, 3:27:12 PM] [enphaseEnvoy] Debug pcuCommCheck: {
  '121932043894': 4,
  '121932016547': 4,
  '121932034199': 3,
  '121932033746': 4,
  '121932016549': 3,
  '121932039512': 3,
  '121932038960': 3,
  '121932043380': 4,
  '121932039459': 4,
  '121910052727': 3,
  '121932039006': 4,
  '121931158966': 3,
  '121932035604': 3,
  '121931157713': 4,
  '121932039565': 3
}
[2/10/2021, 3:27:12 PM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy-S, update Device state error: TypeError: Cannot read property 'activeCount' of undefined
    at envoyDevice.updateDeviceState (/homebridge/node_modules/homebridge-enphase-envoy/index.js:1363:69)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Try release 4.4.0

Can u get me output from:
http://envoy.local/production.json

Looks like U have Envoy-S standard, this model does not have any meters inputs. Fixed.

Looks like U have Envoy-S standard, this model does not have any meters inputs. Fixed.

Indeed envoy-s...
Performed the upgrade but got another error now:

Please create manually in
/homebridge/enphaseEnvoy/productionPowerMax_192168225
file and restart Homebridge, then get the feedback

Please create manually in
/homebridge/enphaseEnvoy/productionPowerMax_192168225
file and restart Homebridge, then get the feedback

Do I need to create I manually? I have never had to do it. I know how to do it, but it is not user friendly.

On which devices U run Homebridge? RPI or

On which devices U run Homebridge? RPI or

Docker on synology
I have created the file. Seems like another (almost same name was existing; I have created productionPowerMax_xxxxxxxx and powerProductionMax_xxxxxxx was already existing)

OK. fixed in 4.4.4


Fix > not working on OSX without rm first

When doing ">" to a file that already exists, OS X fails (at least for me) with errors like:
serialize_segment:54: file exists: /tmp/p9k/p9k_53225_left_001_prompt_os_icon.sh
serialize_segment:54: file exists: /tmp/p9k/p9k_53225_left_003_prompt_time.sh
serialize_segment:54: file exists: /tmp/p9k/p9k_53225_left_002_prompt_context.sh
serialize_segment:54: file exists: /tmp/p9k/p9k_53225_right_001_prompt_status.sh
serialize_segment:54: file exists: /tmp/p9k/p9k_53225_left_004_prompt_dir.sh
serialize_segment:54: file exists: /tmp/p9k/p9k_53225_right_003_prompt_ip.sh
serialize_segment:54: file exists: /tmp/p9k/p9k_53225_right_004_prompt_battery.sh

this removes the previous file before trying to pipe to it, to circumvent this.

Thanks!


Error creating live broadcast

I'm trying to create a live broadcast using the nodejs client library but I'm getting the following error:
{ Error: Title is required
    at Request._callback   code: 400,
.
.
.
  errors:
   [ { domain: 'youtube.liveBroadcast',
       reason: 'titleRequired',
       message: 'Title is required',
       extendedHelp: 'https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/insert#request_body' } ] }

It's working on the API Explorer and that's getting me lost with this one. Here is the code:
var google = require('googleapis');
var OAuth2 = google.auth.OAuth2;
var youtube = google.youtube('v3');

var oauth2Client = new OAuth2(
  'xxxx', //CLIENT_ID
  'xxxx', //MY_CLIENT_SECRET,
  'http://localhost:3000/api/integrations/youtube'//YOUR_REDIRECT_URL
);

oauth2Client.setCredentials({
  access_token: "xxxx",
  refresh_token: "xxxx"

});

broadcastParams = {
    "auth": oauth2Client,
    "part": "snippet,status,contentDetails",
    "snippet": {
        "title": "Testing NodeJS",
        "scheduledStartTime": "2017-02-20T14:00:00.000Z",
        "scheduledEndTime": "2017-02-20T15:00:00.000Z",
    },
    "status": {
        "privacyStatus": "private",
    },
    "contentDetails": {
        "monitorStream": {
            "enableMonitorStream": true,
        }
    }
};

youtube.liveBroadcasts.insert(broadcastParams,
function(err,broadcast) {
    if (err) {
        return console.log('Error creating broadcast: ', err);
    }
    console.log('Broadcast = ' + JSON.stringify(broadcast));
});

Thanks for the help!

Just a one quick update.
This is the JSON that is passed to the default transporter:
 {
 	"url":"https://www.googleapis.com/youtube/v3/liveBroadcasts",
 	"method":"POST",
 	"json":{},
 	"headers":{
 		"Authorization":"Bearer XXXXX",
 		"User-Agent":"google-api-nodejs-client/0.10.0"},
 		"qs":{
 			"part":"snippet,status,contentDetails",
 			"snippet":{
 				"title":"Testing NodeJS"
 			}
 		},
 	"useQuerystring":true
}

snippet.title is there.
I'm still trying to figure it out and will keep updating this request.
Thanks for the help!

Got it solved.
My broadcast parameters wasn't correct. I was missing the "resource". Here is the code that is working now:
var google = require('googleapis');
var OAuth2 = google.auth.OAuth2;
var youtube = google.youtube('v3');

var oauth2Client = new OAuth2(
  'xxxx', //CLIENT_ID
  'xxxx', //MY_CLIENT_SECRET,
  'http://localhost:3000/api/integrations/youtube'//YOUR_REDIRECT_URL
);

oauth2Client.setCredentials({
  access_token: "xxxx",
  refresh_token: "xxxx"

});

broadcastParams = {
	"auth": oauth2Client,
	"part": "snippet,status,contentDetails",
	"resource": {
  		"snippet": {
  			"title": "Tesing NodeJS 123",
	    	"scheduledStartTime": "2017-02-20T14:00:00.000Z",
	    	"scheduledEndTime": "2017-02-20T15:00:00.000Z",
	  	},
	  	"status": {
	    	"privacyStatus": "private",
	  	},
	  	"contentDetails": {
	    	"monitorStream": {
	    	  	"enableMonitorStream": true,
	    	}
	    }
	}
};

youtube.liveBroadcasts.insert(broadcastParams,  function(err,broadcast) {
	if (err) {
		return console.log('Error creating broadcast: ', err);
	}
	console.log('Broadcast = ' + JSON.stringify(broadcast));
});


Add kab js test

Add kabyle js file

I've added this to https://github.com/moment/moment/pull/4365


feat: add pagination to MachinePool list api calls

What this PR does / why we need it:
Since it is possible for a MachinePool to be quite large we need to
make sure we iterate through all pages of possible machine pool
instances.
We have another ticket to make sure all other list calls are also
paginated.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #99

unit tests
?       github.com/oracle/cluster-api-provider-oci      [no test files]
ok      github.com/oracle/cluster-api-provider-oci/api/v1beta1  0.251s  coverage: 18.7% of statements
?       github.com/oracle/cluster-api-provider-oci/cloud/config [no test files]
ok      github.com/oracle/cluster-api-provider-oci/cloud/ociutil        0.784s  coverage: 25.0% of statements
ok      github.com/oracle/cluster-api-provider-oci/cloud/scope  176.016s        coverage: 73.4% of statements
?       github.com/oracle/cluster-api-provider-oci/cloud/scope/mocks    [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/compute       [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/compute/mock_compute  [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement     [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/identity      [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/identity/mock_identity        [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer   [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer/mock_nlb  [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/vcn   [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/vcn/mock_vcn  [no test files]
ok      github.com/oracle/cluster-api-provider-oci/controllers  26.314s coverage: 71.0% of statements
?       github.com/oracle/cluster-api-provider-oci/exp/api/v1beta1      [no test files]
?       github.com/oracle/cluster-api-provider-oci/exp/controllers      [no test files]
?       github.com/oracle/cluster-api-provider-oci/feature      [no test files]

e2e tests


Change goreleaser binary name to terraform for darwin arm64

Desired Outcome
Installation of the terraform provider on apple silicon results in an error
│ Error: Failed to install provider
│
│ Error while installing cyberark/conjur v0.6.3: provider binary not found: could not find executable file starting with terraform-provider-conjur

Implemented Changes
Change the name of the binary outputted by GoReleaser to terraform-provider-conjur
Connected Issue/Story
#119
Definition of Done
Terraform provider is usable when used from the terraform registry cyberark/conjur
Changelog

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code
changes, or
[x] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: [insert issue ID]
[x] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[x] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[x] There are no security aspects to these changes

Hi @davmatjo,
Thank you for the contribution! Can you please sign our CLA so we can get this merged? You can find instructions here.


Communicate with back end team liason about expected API functionality

Probably won't have an exact answer for few weeks

Messaged Vincent, awaiting response

Vincent responed, he's gonna bring it up in his team's meeting today and get back to me


How about change dep to go mod?

found you are also still using dep like me, and radical fast gophers are moving to go mod.
How do you think?

Hi @hero0926 this project already uses go modules, just the make rule is called deps as you can see here https://github.com/AndersonQ/go-skeleton/blob/master/Makefile#L14
but thanks anyway :)


Exception on call 'tools/test.py --help'

Tested on the edge version of the SDK. Try to call
tools/test.py --help

Result:
sgrekhov@SGREKHOV-HP:~/Google/dart-sdk/sdk$ tools/test.py --help
The Dart SDK's internal test runner.
...
    --enable-experiment=<string>
      Experiment flags to enable.

Pass "--verbose" to see more options.
Unhandled exception:
NoSuchMethodError: The getter 'isEmpty' was called on null.
Receiver: null
Tried calling: isEmpty
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1      main (file:///home/sgrekhov/Google/dart-sdk/sdk/pkg/test_runner/bin/test_runner.dart:40:22)
#2      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:281:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

Can't reproduce it. @sgrekhov Could you please check if it's still reproducible for you? And if it is, add some more info, like commit id you are using.

@yanok it's not reproducible on the current SDK any longer. Closing this issue


Weird behavior with SSR

Hi all,
I am super happy to make our stack evolve and move from vuex to pinia (as well as moving from vue2 to vue3 and  from webpack to vite) 😁.
Thanks for the great job! 🙏
Almost everything is perfect except one weird behaviour.
Nothing blocking but I would like to have your lights to understand… 😇
Thanks in advance,
Thierry

Reproduction
Clone this repo : pinia-vite-ssr-issue and use yarn dev
Steps to reproduce the behavior
Check the logs and the browser.
Expected behavior
Store instance should have 1 item (as initial state and active pinia instance do).

Actual behavior
Store instance is empty.

Additional information
I've added comments and snippets inside the README file.

I’m glad you like it!
There is too much code for the reproduction, can you remove all the routing part and make the code smaller so I can check?


Generic DoS/DDoS http scenarios ?

Following https://github.com/crowdsecurity/crowdsec/issues/978 it might make sense to have a generic DoS http detection for IPs that generate a huge amount of requests quickly.

We do have scenarios written in https://www.crowdsec.net/blog/how-to-beat-application-ddos
They can be prone to small set of false positives, advise is to create a general brute force scenario that can be linked together using reprocess method.

We added #848


Upmerge 05.03.2021

Merge upstream up to commit<PHONE_NUMBER>ae20f90174309b930ed8edfb53666e.

The issues (style problems) that make the compliance check fail are inherited from upstream. Nothing to be corrected in this regard here.


Documentation Sets

I think it would great if YARD had a way to handle  documentation sets. Eg. if YARD could group the documentation for all of Rails ...ActiveRecord, ActiveSupport,  ActionPack, etc.  into a single "Rails" documentation website.

Moving this to 0.8.0, there might be a way to do this.

I'm suggest using the new -G option in yard server (coming in 0.8.0) for this. See #386. You can use a Gemfile/Gemfile.lock to group a bunch of libraries and use that to serve documentation. This won't generate static files, so if you need that, you might want to create a plugin or something.


Fatal error: Uncaught Error: Class 'DOMDocument' not found

I had no issues installing or configuring.  I published my first story, but I can't view it.  when I do click to view it I get this error (with debug enabled in wordpress)
Fatal error: Uncaught Error: Class 'DOMDocument' not found in /var/www/html/wp-content/plugins/web-stories/includes/Story_Renderer/HTML.php:173 Stack trace: #0 /var/www/html/wp-content/plugins/web-stories/includes/Story_Renderer/HTML.php(115): Google\Web_Stories\Story_Renderer\HTML->load_html('...') #1 /var/www/html/wp-content/plugins/web-stories/includes/templates/frontend/single-web-story.php(38): Google\Web_Stories\Story_Renderer\HTML->render() #2 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...') #3 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #4 /var/www/html/index.php(17): require('/var/www/html/w...') #5 {main} thrown in /var/www/html/wp-content/plugins/web-stories/includes/Story_Renderer/HTML.php on line 173
Site is self-hosted on Google cloud.
PHP Version 7.3.19-1+0~20200612.60+debian9~1.gbp6c8fe1

Thanks for your report @rsullivan2525
DOMDocument is part of DOM PHP extension that is enabled by default in PHP, but can be disabled. Please make sure that extension is enabled on your environment.
We'll see if we can add some safeguards for this, but in the meantime I recommend double checking your PHP configuration and if necessary reach out to the respective support channels for your setup.

That fixed it for me thanks!


Improve readme.md (always open issue, because readme file has a lot of room for improvement :)

Describe the bug
This project has readme.md file, we but it is just bare minimum, if anyone interested in No code opensource contribution can work on this.

Hi! I'd like to claim this issue!

Hi! I'd like to claim this issue!

Hey, I'd be glad to work on this with you.

Hey, I would like to improve the README.md file.

@Jay179-sudo , assigning this issue to you, work on this issue and open a pr.

any body else want to improve readme further with update gif and with tags and labels? I am keeping this issue open so anyone can claim it.

@Nirbhayparmar Hi! I'd like to claim this issue.

@Nirbhayparmar Created PR #33  . Please review and merge. Also, please feel free to add the hacktoberfest-accepted label once approved.

@Nirbhayparmar Created PR #33 . Please review and merge. Also, please feel free to add the hacktoberfest-accepted label once approved.

Accepted your PR and added hacktoberfest-accepted label on it.

@Nirbhayparmar Hey, I'd like to work on the readme file. Should I start working on it?

Yes @amenhasfaw you can work on this issue. You can update the readme file by replacing the demo goif with newer one.

@Nirbhayparmar I've created a PR with the GIF change and some other changes. Please review and merge the PR. Also, please add the hacktoberfest-accepted label if you find my work to be satisfactory.

@Nirbhayparmar I have some simple ideas for the readme, can I assign them?

Ok

hi @Nirbhayparmar I would like to work on the readme file also. can you assign it to me?

Okay @olybeke, you can work on it.


RP2040:  init_decode_ram - processor crash

I have run the slic_encode_decode_ram example on an RP2040 processor (Raspberry Pi Pico).
The processor crashed at this line.
The line is looking at 4 bytes at the start, but access on the 8 bit data is via a 32 bit access.  The byte array start however was not aligned to the word boundary and the processor hung.
Forcing alignment of the ucImage test array to a 32 bit boundary fixed this.
Clearly this isue is architecture dependant, however it is probably advisable to read the header as bytes to prevent the need to force 32 bit word boundary alignment.

Thanks for finding this @Bodmer; I'll fix it shortly.

The slic_on_avr example runs fine on my Pico and the slic_encode_decode_ram example should do just what I wanted.
Having fixed the alignment problem I only get a single white line from the ram decompressor in that example, so not sure if that is also related issue. Width and height is reported correctly as 128 x 128 but maybe that is derived direct from the init.
I looked at this to see if it will compress a grey scale texture map which is 8 bit, not many long runs for RLE but "smooth" sine-like rise and fall, so it depends on the encoding approach whether that compresses well.
Another potential use for me is to compress an alpha channel mask for graphics (which would typically have long runs).

I have a RP2040 Connect; hopefully that will behave the same as you are seeing.

I was able to recreate the problem and fix it on my RP2040 Connect. I just pushed the fix; please give it a try and let me know if you see the same thing.

Yes, thanks it is working now. Thanks.
Is there a way to run the encode on an image that is generated in "real-time" by an algorithm to a null file, to check what size it would be before reserving the RAM/storage space and running encode?

Is there a way to run the encode on an image that is generated in "real-time" by an algorithm to a null file, to check what size it would be before reserving the RAM/storage space and running encode?

You can give it a write callback function that throws away the data. Internally it will count how many bytes were written and the data is never read back during the encode.

Yes, of course! Thanks.

...also...the more pixels you feed it for each call to encode, the better it can encode. This is because some operations are truncated at the end of the pixels you pass in. I can potentially improve this in a future version; some of the state variables are more challenging to capture.

I tried to tune the compression values to typical images in a way that would be effective across a lot of different situations. The 8-bit gray delta compression only uses 3 bits to encode each delta so that 2 pixels can be packed into a single byte along with the 2-bit opcode. A delta of up to -3/+4 can be encoded that way.  It still can only get 50% compression using this technique, but for such a "brainless" compression technique that's not terrible.
I mainly see SLIC as useful for situations with tight memory or CPU constraints. Otherwise, LZW/PNG/JPEG would usually be better choices. Sometimes SLIC can beat PNG compression for 24/32-bpp images. For this reason I was thinking it might be interesting to experiment with PNG-style pre-filters to shrink images even further, but that would make it harder for low memory devices to use it.

SLIC works very well, so it has been added to my useful tools library. Thank you for sharing.

Update - I figured out how to save the state better to allow higher compression ratios on MCUs. I will push an update shortly...

I did some tests on a 128x128 images (16kBytes raw inage) where each row was encoded with some data patterns to see where the sweet spot is:
FYI here are the results:
       usTemp8[x] = random(0x100); // slic.get_output_size() = 16666 bytes (to be expected for random data)
       usTemp8[x]= 128 + 128.0 * sin(x * 2.0 * PI/128); // slic.get_output_size() = 13195 bytes (full pk-pk sine)
       usTemp8[x]= 128 + 128.0 * sin(x * 2.0 * PI/256); // slic.get_output_size() = 10251 bytes (half sine)
       usTemp8[x]= 64 + 64.0 * sin(x * 2.0 * PI/128); // slic.get_output_size() = 8330 bytes (lower amplitude sine)

As expected, when the delta between samples goes down the compression ratio increases. Simple masks (0 or 255 value) compress very well (1-2Kbytes), which is great for my application. A ramp has lots of identical bytes in the compressed output, so a second pass through the compressor would really bering the size down (but that is not my intent, to keep things simple).


Failed to activate the center-screen package

I simply run center screen from the command palette.
Atom Version: 0.194.0
System: Mac OS X 10.10.3
Thrown From: center-screen package, v0.2.1
Stack Trace
Failed to activate the center-screen package
At Cannot find module 'src/editor-view'

Error: Cannot find module 'src/editor-view'
  at Module._resolveFilename (module.js:328:15)
  at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
  at Function.Module._load (module.js:270:25)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at new CenterScreen (/Users/exalted/.atom/packages/center-screen/lib/center-screen.coffee:47:18)
  at /Users/exalted/.atom/packages/center-screen/lib/main.coffee:12:13
  at WorkspaceView.module.exports.WorkspaceView.eachEditorView (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-view.js:92:9)
  at Object.module.exports.activate (/Users/exalted/.atom/packages/center-screen/lib/main.coffee:10:24)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:222:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:740:25
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:219:20)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:120:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:178:20)

Commands
  2x -2:31.1.0 core:backspace (atom-text-editor.editor.mini)
  2x -2:30.4.0 core:confirm (atom-text-editor.editor.mini)
  2x -1:31.7.0 core:backspace (atom-text-editor.editor.mini)
     -0:23.7.0 pane:show-next-item (atom-text-editor.editor.mini)
     -0:22.3.0 command-palette:toggle (atom-text-editor.editor.cursor-block.cursor-line-fix.is-focused)
     -0:16.9.0 editor:consolidate-selections (atom-text-editor.editor.mini)
     -0:16.9.0 core:cancel (atom-text-editor.editor.mini)
     -0:08.2.0 editor:move-to-first-character-of-line (atom-text-editor.editor.cursor-block.cursor-line-fix.is-focused)
     -0:08.1.0 core:move-to-top (atom-text-editor.editor.cursor-block.cursor-line-fix.is-focused)
     -0:07.9.0 find-and-replace:show (atom-text-editor.editor.cursor-block.cursor-line-fix.is-focused)
     -0:07.0 core:confirm (atom-text-editor.editor.mini)
     -0:06.7.0 editor:consolidate-selections (atom-text-editor.editor.mini)
     -0:06.7.0 core:cancel (atom-text-editor.editor.mini)
     -0:05.8.0 command-palette:toggle (atom-text-editor.editor.cursor-block.cursor-line-fix.is-focused)
     -0:02.8.0 core:confirm (atom-text-editor.editor.mini)
     -0:02.8.0 center-screen:center-screen (atom-text-editor.editor.cursor-block.cursor-line-fix.is-focused)

Config
{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "markdown-format",
      "syntax-settings",
      "autocomplete",
      "deprecation-cop",
      "autocomplete-paths",
      "archive-view",
      "background-tips",
      "bookmarks",
      "image-view"
    ],
    "projectHome": "/Users/exalted/Development",
    "followSymlinks": true,
    "themes": [
      "one-light-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages
# User
autocomplete-emojis, v2.2.0
autocomplete-html, v0.5.0
autocomplete-plus, v2.12.0
autocomplete-snippets, v1.2.0
block-cursor, v0.12.4
center-screen, v0.2.1
highlight-selected, v0.9.2
language-csharp, v0.5.0
linter, v0.12.1
linter-rubocop, v0.2.2

# Dev
No dev packages

Still problem at:
Atom Version: 0.209.0
System: Mac OS X 10.10.3
Thrown From: center-screen package, v0.2.1

:+1:

My stack trace seems to look a bit differently
TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (/Users/sthiel/.atom/packages/center-screen/lib/main.coffee:7:23)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:181:20)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:155:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:148:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:145:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:526:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:444:29
    at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Errors on Atom launch:
  activate: ->
    atom.workspaceView.command 'center-screen:toggle-follow-cursor', =>          <--
      @toggleFollowCursor()

Atom Version: 1.6.1
System: Mac OS X 10.10.5
Thrown From: center-screen package, v0.2.1
Stack Trace
Failed to activate the center-screen package
At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (/Users/kdodia/.atom/packages/center-screen/lib/main.coffee:7:23)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:181:20)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:155:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:148:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:145:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:526:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:507:29
    at Config.module.exports.Config.transactAsync (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:502:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:485:46)
    at AtomEnvironment.module.exports.AtomEnvironment.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:688:21)
    at module.exports (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-application-window.js:28:10)
    at setupWindow (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:86:5)
    at window.onload (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:41:9)

Commands
  5x -0:04.1.0 blur (atom-text-editor.editor.is-focused.vim-mode-plus.normal-mode)

Config
{
  "core": {
    "disabledPackages": [
      "metrics"
    ],
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages
# User
arpeggio, v1.1.2
atom-2048, v3.1.0
center-screen, v0.2.1
clipboard-plus, v0.5.1
file-icons, v1.6.19
git-wip, v0.2.2
minimap, v4.21.0
minimap-autohide, v0.10.1
minimap-codeglance, v0.4.5
minimap-hide, v0.3.0
minimap-pigments, v0.2.0
pigments, v0.26.0
quick-highlight, v0.3.10
scroll-percentage, v1.2.1
set-syntax, v0.3.0
term3, v0.21.4
vim-mode-plus, v0.28.0
vim-mode-plus-jasmine-increase-focus, v0.2.0
vim-mode-plus-move-selected-text, v0.4.1
vim-mode-plus-move-to-symbols, v0.1.4
vim-mode-plus-replace-with-execution, v0.1.1
vim-mode-plus-subword-movement, v0.2.2
vim-modeline, v0.4.0

# Dev
No dev packages

Any ideas on how to fix this?

Any ideas on how to fix this?

Install https://github.com/shaunwei/atom-center-screen

@taoeffect

installing a different package is not in any way the same as fixing this one, in what universe would that be even acceptable as an answer? If my question would've been "is there an alternative?", then I would understand, but right now it seems that you are just being ignorant
And I say ignorant doubly so because the package you linked seems to lack the feature I was interested in: the ability to automatically follow the cursor, keeping the selected line centered

But yeah, I bet it felt good for 10 seconds that you could give me something from google.

Any ideas on how to fix this?

Delete your account.
P.S. Thanks @taoeffect, I appreciated the pointer. :3

+1

It's using the old style command accessing, broadly speaking it needs a rewrite, albeit not a huge one (see here: https://discuss.atom.io/t/replacement-for-atom-workspaceview-command/13636) for discussion.
If nobody else does, I may have a stab at it, but probably won't have time for a while.

I am going to close this, but please feel free to re-open if interested.

Still an issue, Atom 1.16 MacOSX 10.12.4: Failed to activate the center-screen package, cannot read property 'command' of undefined.

+1 on the same issue

i'm getting the error on install / activate
TypeError: Cannot read property 'command' of undefined
    at Object.activate (/home/pciavald/.atom/packages/center-screen/lib/main.coffee:7:23)
    at Package.module.exports.Package.activateNow (/opt/atom/resources/app.asar/src/package.js:218:19)
    at /opt/atom/resources/app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/opt/atom/resources/app.asar/src/package.js:96:15)
    at /opt/atom/resources/app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/opt/atom/resources/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/opt/atom/resources/app.asar/src/package-manager.js:550:34)
    at /opt/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:484:29
    at exit (/opt/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:99:16)
    at triggerExitCallback (/opt/atom/resources/app.asar/src/buffered-process.js:322:11)
    at /opt/atom/resources/app.asar/src/buffered-process.js:343:11
    at Socket.<anonymous> (/opt/atom/resources/app.asar/src/buffered-process.js:204:9)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

Still an issue. I'll see if I have some time this weekend to fix this, because the Follow Cursor thing is a killer feature.


Add support for shared mailboxes

This adds support for the user\shared_mailbox username format.

In case of shared mailbox access using OAuth, application needs to obtain the access token on behalf of a user but replace the userName field in the SASL XOAUTH2 encoded string with the email address of the shared mailbox.
Source: Microsoft documentation

The third supported format domain\user\shared_mailbox is still not supported and rejected with an expressive error.

Hi @Luzifer, sorry for the late reply, I didn't receive any notification.
Thank you very much for your contribution.


[5.7][Test] Help CoreGraphics_test.swift defeat the optimizer.

Cherry-pick https://github.com/apple/swift/pull/60930 to release/5.7.
This test calls CGPoint.applying and CGSize.applying and ignores the return value, then checks for the call in the resulting IR. The optimizer appears to have become clever enough to notice that these calls can be eliminated entirely because their result is unused, causing the test to fail.
Instead of let _ =, use a blackHole function to make these values be used.
rdar://99489134

@swift-ci please test


Handle unknown configuration gracefully

Is your feature improvement request related to a problem? Please describe.

Soften strict parsing of tedge.toml and system.toml to handle unknown section or properties so that they do not prevent the service from starting. The unknown sections/properties could be printed out in warning log messages instead.
Since multiple services read the tedge.toml file; tedge-mapper, c8y-log-plugin and c8y-configuration-plugin. When a component is updated (and the configuration is automatically updated via tedge --init, then the other non-updated components will not start up as they will throw an exception (and not start) due to detecting an unknown configuration section.
Motivation

More robust: tedge should not explode if some users accidentally adds invalid configuration
It allows future configuration to be rolled out and is not destructive
Decouple components and the reliance that they are updated at the exact same time

Scenario
The following scenario would leave to 2 services not starting.

A new version of tedge and its components
The user updates tedge via Cumulocity and forgets to update the other components like tedge_mapper, c8y_log_plugin and c8y_configuration_plugin)
The user adds the new configuration option (introduced in the new tedge version)
The user reboots the device (due to other activities)
Now c8y-mapper-*, c8y-log-plugin and c8y-configuration-plugin services do not start because they complain about an unknown section in tedge.toml

Example error (from the tedge-mapper-c8y service
tedge-mapper-c8y.log
Error: TOML parse error
Caused by:
    unknown field `http`, expected one of `device`, `c8y`, `az`, `mqtt`, `software`, `tmp`, `logs`, `run` at line 21 column 1

Describe the solution you'd like

When parsing tedge.toml unknown sections or properties should not prevent any service from starting
Unknown sections or properties should be printed out as warning log messages (so the user is aware that there are some invalid configuration)

Describe alternatives you've considered

The dependency to the configuration file schema could be managed via the debian package dependency mechanisms. However this complicates the installation of different packages and would only be possible when using apt-get install rather than using dpkg -i.
And the dependency management system does not solve the robustness issue where users can break tedge by an accidental typo.

Another motivation is to let an external plugin use the same configuration file instead of coming with yet another configuration file.

Does this ticket require a system test? @didier-wenzek, @reubenmiller

Yes please.

How to test:
Having an unknown key in the tedge.toml file should not prevent the startup of the services.

add a new and unknown key in /etc/tedge/tedge.toml for example:

[another]
key = "value"

check that tedge connect works.


Chatting with Velocity-Proxy kicks Players (chat message validation failure)

Affected Product(s)
SpongeVanilla
Version
1.19.2-10.0.0-RC1239
Operating System
Windows 10
Java Version
java 17.0.1 2021-10-19 LTS
Plugins/Mods
-

Describe the bug
Using a Velocity-Proxy in front of multiple SpongeVanilla-1.19.2 servers with ip-forwarding kicks players after they switched servers. (no mods or plugins used)
How to reproduce

setup a new velocity-server (Velocity 3.1.2-SNAPSHOT (git-7d77bfb5-b184) in my case)
setup two sponge servers
enable ip-forwarding in sponges configs and setup the modern (or legacy) protocols in sponge and velocity
start all servers and join via the velocity proxy
chat something random
switch servers (/server <server>)
chat something random again

What i would expect to happen
Chat message is being sent, possibly with no validation like in offline-mode servers.
What actually happens
Player is being kicked with the sponge-server log saying:
[14:10:25] [Netty Server IO #4/WARN]: Failed to validate message from TBlueF, reasons: unknown message
[14:10:25] [Server thread/INFO]: TBlueF lost connection: Chat message validation failure
[14:10:25] [Server thread/INFO]: TBlueF left the game

Link to logs
No response

Hey, anyone found a way to fix this. I am having the exact same issue!


handle moved repo

If an action's repo is transferred or renamed, the API call with its old name will redirect, causing a failure. An easy fix is to follow redirects. A harder fix is to apply the rename to the line, as well as the version update.

Is there a way the stacktrace could output the action that changed its name?


store.disabled=true when userData is unavailable in IE

IE 6 & 7 on real machines are quite rare these days among those who test websites. Some web developers including myself use IETester to check if everything's working in old browsers – this normally requires only one virtual machine with Windows.
Unfortunately, IETester has some problems with userData in IE6 and IE7 modes – that does not seem to be available there. UserData can also be disabled in native IEs, according to the docs on IE policy settings.
It would be nice if store.js considered the possible absence of userData and marked itself as disabled accordingly. Currently, an unexpected exception is thrown when you try to run the following:
if (!store.disabled) {
    store.set("key", "value");
}

(this applies to IE6 and IE7 tabs in IETester + might also happen in real IEs that have odd security settings)

I believe this should work as you expect in master, thanks to this block at the bottom of store.js:
	try {
		var testKey = '__storejs__'
		store.set(testKey, testKey)
		if (store.get(testKey) != testKey) { store.disabled = true }
		store.remove(testKey)
	} catch(e) {
		store.disabled = true
	}
	store.enabled = !store.disabled

Feel free to reopen with more info.

Store.js v2.0 has been released with support for fallback backing storages that ensure that store always works.
If you update to the v1 backcompatible build you will automatically get this functionality plus a bunch more :)


Issue #318 - Job type failure rates page encounters 500 error

LGTM. Just to double check...are there any corresponding data files that need to be updated as well for static data mode?

No, the random data generator piece in app/test/scripts/backendStubs.js doesn't validate any columns it receives.  It just creates data for each value in the columns array and sends it back.


New package: ken-morel.shellsy version 0.1.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\shellsy\shellsy.exe returned exit code: 1

(Automated response - build 887.)

@wingetbot waivers Add Validation-Executable-Error

Verify:

The package didn't have data added to the Registry. It looks like a portable application, so the package manager should have written the Apps and features Settings page (AnF) entry, but did not here.
I couldn't find how to have the application display its version.


Should users vs teachers be separated into different models?

The app currently has a single users table that contains two kinds of users:

admins
registrants (participants/teachers)

Each of these have abilities the others don't:

admins can:

see the admin screens and make changes to app settings
log in with their email address via a magic code
only be added by other admins

registrants can:

register for NPQs and have them linked to their account
register themselves
log in/identify themselves via TRA OpenID Connect (to see the status of their applications?)

We don't have a need for the same people to be both admins and registrants, so it doesn't really make sense for us to keep these two kinds of users together. I think they should be separate, with names that make it clear who they are and what they need.
Moving the non-admins to a separate table like teachers (or applicants, or registrants) seems sensible. Thoughts?

Solved by #1137


Delete the Terraform workspace after successfully saving the data to the DB.

Delete the file and then save the data to the database. In case of abnormal database connection, the data cannot be saved and the original file is also deleted, making it impossible to retrieve the data for manual recovery. So we should do delete the workspace after saving the data to the DB.

I will fix it.


Tests: add shims and stdlib search paths to driver

The Windows toolchain is setup with a split SDK/toolchain and relies on
being able to compose the two.  For some reason, this requires
additional include paths to be passed to the swift-driver implementation
(-sdk is sufficient with the C++ driver).  For now, add the additional
include paths to allow the tests to pass.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test