How to debug a script in Elvish?

related: https://stackoverflow.com/q/55201125/802365

When writing shell script I often use the -x flag of bash.
Question
Now I'm playing with elvish and I'm looking for the equivalent of
bash -x ./script

There is no equivalent to -x of bash, and there isn't any debugger yet.

I'm not convinced of the need, or value, of a builtin debugger. But something like the -x flag supported by most (all?) POSIX shells to enable command tracing is definitely useful. The devil is in the details. Ksh (Korn shell), for example, does a bad job of making such information useful since it doesn't include any useful context and the output is written to the stderr stream which can cause problems with commands/functions which read the stderr stream. Ideally the Elvish version would write the command trace info to /dev/tty or a destination that is OS agnostic and optionally configurable.

A tracer and an interactive debugger can be complementary.
I don't use interactive debuggers a lot, and there are two things more traditional CLI debuggers tend to suffer:

They often have a specialized command language, for managing breakpoints, navigating the call stack, etc.
The UI is usually quite unintuitive. TUI wrappers often make this easier, but usually requires learning new keybindings.

I feel Elvish has the potential to overcome both problems:

The debugger can just use Elvish itself as the command language, which the user is already familiar with.

Elvish's editor already has a CLI/TUI hybrid interface, and it seems promising to build a debugger UI that feels similar to the rest of the editor.

In a sense, you can think of an interactive debugger in Elvish as a goose that lays golden eggs.

No doubt an interactive debugger would add value. But, like you @xiaq, I almost never use a debugger other than to examine a process core dump (or kernel crash dump). But I do use the set -x of POSIX shells often; notwithstanding the flaws of that mechanism. Implementing good execution tracing mechanism would be considerably more useful to a broader audience than an interactive debugger. Thus my previous comment wasn't meant to suggest an interactive debugger should never be implemented. Only that an execution tracing mechanism would likely make many more people happy and thus should be the initial focus.

I agree about focusing on tracing first, it is also simpler to implement.

The "question" label should probably be removed as this is fundamentally an enhancement request. I've been working on a "debug" package to replace the existing use of the current "logutil" package. Regardless of whether my alternative is ever merged both of them can be used to implement a solution for this request that is superior to the POSIX shell -x behavior by allowing the user to selectively request logging just statements and commands to be executed and where the output is written (so the user doesn't have to risk polluting the stderr output).

The "question" label should probably be removed as this is fundamentally an enhancement request. I've been working on a "debug" package to replace the existing use of the current "logutil" package. Regardless of whether my alternative is ever merged both of them can be used to implement a solution for this request that is superior to the POSIX shell -x behavior by allowing the user to selectively request logging just statements and commands to be executed and where the output is written (so the user doesn't have to risk polluting the stderr output).

Can I suggest adding builtin functions for tracing in the style of set edit:prompt =  . A function, which if defined, is called before an external command is executed?
i.e.
set trace:before-external = {|cmd| echo '$cmd >> /my/special/trace/log }          # trace to a file

The advantages:

easy to add
no additional command switch
User can decide what to trace and how

Also:
The lambda could return a rendition of the command to be executed, Elvish executes that instead. This provides a way for the user to override commands.
e.g.
var my_mock_date = {|cmd|
  if ( ==s $cmd[0] date ) {
    put [/bin/echo 01-01-1970]
  } else {
    put $cmd
  }
}
set trace:before-external = $my_mock_date


(action)chore: Add github action for automerging the PR.

Signed-off-by: Udit Gaurav<EMAIL_ADDRESS>Details

This PR adds GitHub actions for auto merging the equipped PRs. For merging, we need to comment /merge in the PR which will add a label  merge in the PR and then finally merge the PR according to the ENVs provided.

Minimum Number of Approvals:

The action will automatically check if the required number of review approvals has been reached. If the number is not reached, it will not merge the PR. (ref. README for action details: pascalgn/automerge-action)

It will work according to the role of the commenter and branch protection Rule on the repository.

Any tested PR?

Here is the tested PR with the action(https://github.com/uditgaurav/notes/pull/1).

Remove Automerge Pro Bot

Once we add this we don't need automerge probot in this repo. So we can remove it.

Closing this as this can be done with auto merge probot.


RegEx in Sagas

Hi,
is it possible to use RegEx patterns in sagas, example
instead of
while(true) {
    const action = take(['FETCH_USERS', 'FETCH_OTHER_DATA'])
    yield put(startLoadingIndicator(action))
}

use regex pattern
while(true) {
     const action = take(/^FETCH_/ig)
     yield put(startLoadingIndicator(action))
}

take effect doesn't support RegExp as pattern argument, but you can write a custom effect.
Demo: http://kuy.github.io/redux-saga-examples/takex.html
GitHub: https://github.com/kuy/redux-saga-examples/tree/master/takex
function* takexSaga(pattern) {
  let action;
  while (true) {
    action = yield take('*');
    console.log('takex', action.type);
    if (pattern.test(action.type)) {
      console.log('takex:match', action.type);
      break;
    }
    console.log('takex:ignore', action.type);
  }
  return action;
}

function takex(pattern) {
  return call(takexSaga, pattern);
}

function* handleActions() {
  while (true) {
    const action = yield takex(/^FETCH_/);
    console.log('handle', action.type);
  }
}

That will do it, thanks!

For anyone that lands here, this can actually be achieved simply using take(pattern) (also works with takeLatest, takeEvery):
yield takeLatest( action => /^FETCH_/.test(action.type), anotherSaga)

The link above reports a 404. Here is a link to the official Redux Saga docs for https://redux-saga.js.org/docs/api/#takepattern


Add xarray upstream CI workflow with cron job

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)

[ ] CHANGES.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Splits the existing upstream testing stage into its own workflow

This workflow uses xarray-developed actions for opening issues when this workflow fails
Can be triggered via cron job or manually (using workflow_dispatch)
Is also triggered when changes are made to pydata/xarray

Unites the CI workflows for PyPI/tox-based jobs into one action with a strategy matrix

Does this PR introduce a breaking change?
No.
Other information:
See: https://github.com/corteva/rioxarray/issues/654

Coverage: 91.787%. Remained the same when pulling ec5018afb8f9e6e7420358689eb517a520e74fd1 on upstream-dev-ci-workflow into 1ea1d31576d4da66d5ec7aba7e4227eab96b39c2 on master.


test rails 6.1 explicitly and separately

This will be rails 6.1.0.rc1 for the moment

hm, why does this not seem to triggering a travis build, or have that reported here? Annoying!

Tests pass on Rails 6.1.0.rc1.
But the released gemspec doesn't actually allow that yet. Should we make it do so? Just for 6.1.0.rc1 (which we can affirm works), or for future not yet released 6.1.0? Or just wait until 6.1.0 final is released to deal with it?
If anyone seeing this has an opinion or need, please feel free to share.


Openssl SSLEngine reports too little size in session.getPacketBufferSize

It seems OpenSSLEngine needs more package buffer space than the JDK one. Both JDK and Openssl report for session.getPacketBufferSize 18713 bytes (16665 + 2048) but the OpenSSLEngine will in some cases only succeed with buffers of size 16665 + 2048 + 58 (I bisected the exact amount, 1 byte less will still fail) and will otherwise return a BUFFER_OVERFLOW.
This isn't a fatal problem as you can just provide more buffer space and call again. However,
we relied on the invariant that a call to wrap can never result with BUFFER_OVERFLOW if the destination buffer was at least of size session.getPacketBufferSize. This allows us not to care for BUFFER_OVERFLOWs at all using the JDK SSLEngine. Not sure if that invariant really exists, though, so, one could say that this is just another degree of freedom the SSLEngine might leave to implementors.

@jrudolph thats interesting... I wonder where the 58 bytes come from. Any idea ?

@jrudolph also do you have a reproducer for this as well ? Would be interested to see when this happens.

@jrudolph ping...

@normanmaurer sorry for the delay... Here's a reproducer: https://github.com/netty/netty/compare/4.1...jrudolph:5976-test-case
I couldn't reproduce the number above exactly. Instead, I found that the number of output buffer space depends on the number of input bytes. I guess the reason is that the openssl engine tries to output all outstanding data for several frames in one go.

@jrudolph thanks a lot! I will open a PR with a fix for the other reported issue today. Maybe this will also fix this one :) Can you please confirm you grant me the right to include your test-code and so publish it under the ASL2 license as part of netty ?

Yes, I confirm that you can take the code under ASL2 license.

@jrudolph I think that it fails is kind of expected as OpenSslEngine will return 18668and SSLEngineImpl will return 16921 from session.getSession().getPacketBufferSize(). The difference exists as the OpenSslEngine also supports compression (if openssl was compiled with support for it) while the JDK implementation does not so has no need to account for the maximum overhead of it for a record. That said I wonder if we can detect if compression should be used or not and depending on this "select" the correct value.
Makes sense ?

Hmm I thought session.getSession().getPacketBufferSize() would be about the output side, i.e. the second argument of the wrap call. The hard coded number in the test is the amount of data going into the wrap call.
So, the difference is that for SslEngineImpl the amount of output for a wrap call always be <= getPacketBufferSize while the OpenSslEngine will return BUFFER_OVERFLOW depending on the amount of input data.

@jrudolph ah sorry I misread the test-code. Let me check again... Stay tuned.

@jrudolph ok I think there is another "issue" which is not related to #5975 . Debugging now.

I know why this happen now 👍 Let me think about a fix

@jrudolph please verify https://github.com/netty/netty/pull/6010 ... This should fix it

Fixed by https://github.com/netty/netty/pull/6010

In which 4.1.x branch is this fixed?

When you click on the commit you can see this... 4.1.7.Final


How to patch vector literal given with backticks

Thanks for the great package, Radon!
I'm having a bit of trouble figuring out how to patch the following defconst found in flycheck.
(defconst flycheck-error-list-format
  `[("File" 6)
    ("Line" 5 flycheck-error-list-entry-< :right-align t)
    ("Col" 3 nil :right-align t)
    ("Level" 8 flycheck-error-list-entry-level-<)
    ("ID" 6 t)
    (,(flycheck-error-list-make-last-column "Message" 'Checker) 0 t)]
  "Table format for the error list.")

Here is a reproducible example
(use-package el-patch
  :demand t
  :straight t)

(use-package flycheck
  :straight t)

(el-patch-feature flycheck)
(with-eval-after-load 'flycheck
  (el-patch-defconst flycheck-error-list-format
    `[("File" 6)
      ("Line" 5 flycheck-error-list-entry-< :right-align t)
      ("Col" 3 nil :right-align t)
      ("Level" 8 flycheck-error-list-entry-level-<)
      ("ID" (el-patch-swap 6 20) t)
      (,(flycheck-error-list-make-last-column "Message" 'Checker) 0 t)]
    "Table format for the error list."))

Unfortunately, I just can't figure out the right combination of backticks to use to make the patch validate. I believe there is an incompatibility with nested backticks? For example,
(with-eval-after-load 'flycheck
  (el-patch-defconst flycheck-error-list-format
    `[("File" 6)
      ("Line" 5 flycheck-error-list-entry-< :right-align t)
      ("Col" 3 nil :right-align t)
      ("Level" 8 flycheck-error-list-entry-level-<)
      ("ID" ,(el-patch-swap 6 20) t)
      (,(flycheck-error-list-make-last-column "Message" 'Checker) 0 t)]
    "Table format for the error list."))

throws an error Debugger entered--Lisp error: (error "Can’t use ‘el-patch-swap’ outside of an ‘el-patch’"). Is there an actual bug or am I misunderstanding?

Thanks for the report. This should be fixed now. (The problem was the vector literal, not the backticks.)

Thanks for the fix — works beautifully! (Thanks for the pointer also; I’m learning a lot about Elisp and general software development guidance from reading your code.)


added arabic language locale file

Added ar ( Arabic ) language locale file

Thanks for contributing.
Off the topic, what is the difference between Arabic and Farsi?

Arabic and Farsi(Persian) , They use the same Arabic alphabet ,but sound completely different


Fails to compile with large hard coded array.

I was trying to create a test file to give me some random bytes and I could not do 16k bytes.  Some truncation of the size of the array allowed it to compile: https://gist.github.com/skilesare/9959db128f3cc208f92f2e2415f3c8c2

Hmm, I can't get this to crash the compiler, even when doubling the length of the array. Did it happen on the playground perhaps?

The playground does indeed seem to choke (become unresponsive) on this similar example:
https://m7sm4-2iaaa-aaaab-qabra-cai.raw.ic0.app/?tag=2552206398
@chenyan-dfinity could this be a problem with moc-js?

Possible. If you open the developer tools, you will see that even type checking gets Stack_overflow.

I looked at the type checking code and its uses List.map and other h.o. functions that may not be tail recursive on js. The ocaml implementation of List.map (and some other functions) is annotated as @tail_mod(ulo)_cons but I don't know if the js backend honors that annotation.
https://github.com/ocaml/ocaml/blob/14d9ab10567d1a6d1d70c24b04656d9e44b3aacb/stdlib/list.ml#L80

#4263 shows it compiles fine with non-js compilers.


Ethan: Blacklist +63<PHONE_NUMBER>

Ethan requests the blacklist of the number +63<PHONE_NUMBER>. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Rejected by Makyen in Charcoal HQ. Reason: 'There's one one instance of this number in MS. It would be better as a watch.'


Menu dropdown on mobile safari not auto close

How to make Menu dropdown on mobile safari auto close after choosing? Thank you

I haven't tested on Safari, but I was experiencing a similar issue on the mobile size in Desktop Chrome and Samsung's Android browsers. It was a simple fix for me.
In agency.js script, change the code from this:
$('.navbar-collapse ul li a:not(.dropdown-toggle)').click(function() {         $('.navbar-toggle:visible').click();     });
to this:
$('.navbar-collapse ul li a').click(function(){              $('.navbar-toggle:visible').click();     });

Thank you!

Fixed in #69. Thanks @MisterSchmitz!


FEATURE : Adding a search bar in Projects page

Is your feature request related to a problem? Please describe.
In the Projects page, there is a filtering system based on the tags but I think it would be helpful if a search feature is also added because it gets quite frustrating to go through all the projects to find the one project that you wish to contribute to.
Describe the solution you'd like
Adding a search bar that filters through all the projects by title, admin name, and project description.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
The search bar would be placed right below the title with a UI that matches the rest of the UI of the web app.

Can you assign me this issue?

@AnirudhPanda ,please assign me this issue,I will create pull request asap

I am already working on it.

I dont think this is required


Confused about to_data(code, var, output)

Hi Wojciech,
I wonder if you can help me?
I've been working through the code for a few days, but I'm still confused about line 42
table.insert(x, symbolsManager:get_symbol_idx(output:byte(j)))
in data.lua.  It seems as though this line gives the network the 'answer/output' to the program which is the input on line 39? I thought maybe it should be,
for j = 1, #output do
table.insert(x, 0)
table.insert(y, symbolsManager:get_symbol_idx(output:byte(j)))
end
I'm still running experiments to see if the above change makes sense - that is, the code still learns. I could not find any part of the paper which explaines line 42, maybe I over looked something, or did not understand it?
If it is correct is there any chance you could explain a little what line 42 does?
Kind regards,
Aj

This is so called teacher force. Out task is to predict entire sequence of
symbols, e.g. abcd. Let's say that at the first step model predicted q. We
still provide information that a is the correct answer on the first
position. Then model is about to predict next symbol given previous correct
answer given by the teacher.
x contains input and correct answers ofsetted by 1 in compare to y.
On Sat, May 9, 2015 at 3:07 AM Ajay Talati<EMAIL_ADDRESS>wrote:

Hi Wojciech,
I wonder if you can help me?
I've been working through the code for a few days, but I'm still confused
about line 42
https://github.com/wojciechz/learning_to_execute/blob/master/data.lua#L42
table.insert(x, symbolsManager:get_symbol_idx(output:byte(j)))
in data.lua. It seems as though this line gives the network the
'answer/output' to the program? I thought maybe it should be,
for j = 1, #output do
table.insert(x, 0)
table.insert(y, symbolsManager:get_symbol_idx(output:byte(j)))
end
I'm still running experiments to see if the above change makes sense -
that is, the code still learns. I could not find any part of the paper
which explaines line 42, maybe I over looked something, or did not
understand it?
If it is correct is there any chance you could explain a little what line
42
https://github.com/wojciechz/learning_to_execute/blob/master/data.lua#L42
does?
Kind regards,
Aj
—
Reply to this email directly or view it on GitHub
https://github.com/wojciechz/learning_to_execute/issues/2.

Thank you very much :+1: that helps a lot :)
I'm just adapting the code at the moment to reproduce your results on the memorization task - it's a bit easier to understand than the full program evaluation task.
I'm getting very good results using teacher forcing, inverting and doubling :+1: It's very impressive :+1:
PS - Maybe the title on page 10, should be 'ADDITIONAL RESULTS ON THE PROGRAM EVALUATION PROBLEM' ?


[CT-2480] replace all instances of set-output and node16

Details in https://github.com/dbt-labs/actions/issues/39.
Acceptance Criteria

[ ] Verified there are no workflows to update
or
[ ] removed all uses of set-output - either directly or up updating any marketplace actions we reference
[ ] removed all references to node16 - either directly or up updating any marketplace actions we reference
[ ] backport changes

testing out triage label

triage_label.yml is the only workflow that uses set-output.  It's referring to a marketplace action that has been abandoned and we need to replace.


Rewrite the tests in Vitest

Problem to solve
Currently the Conventional Tools test suite uses the oclif testing library, which makes sense since the CLI is built using oclif. However, since we are now decided that we want to move away from oclif, moving test suite provider also makes sense.
Proposal
Rewrite the tests in Vitest.
Vitest offers a lot of similar patters and concepts that other popular JavaScript frameworks do (e.g. Jest). But also includes a few other parts of functionality that we would also like to utilise.
Links / References

oclif testing library: The testing library we will be moving away from
Vitest: The testing library we will be moving to

Changed the ticket to reflect our decision to move to Vitest instead of Jest.


Merge develop into o1js-main

proof systems: https://github.com/o1-labs/proof-systems/pull/2066

!ci-build-me

!ci-toolchain-me

!ci-build-me

@mitschabaude Unit tests are failing atm. Do you understand why?

@rbonichon yes, last commit fixed it

!ci-build-me


Replace integrated address with subaddress for Donations

There are still several 4... addresses, for example on https://web.getmonero.org/get-started/contributing/ should we replace with 8... addresses?
In my understanding Subaddresses are principally preferable before 4...main-addresses. So is it possible to replace it, also here on Github and other places like https://revuo-monero.com/issue-60.html
We would want to propagate the use of 8... addresses, right?

From @binaryfate on #monero-site:

Yes that's a good idea
I'll make a PR to replace address for general fund (44AFFq...)

Also see https://repo.getmonero.org/monero-project/ccs-front/-/merge_requests/30 fixing same issue on the CCS repo


Deal with rate limiting

Rate limiting is only implemented on the first load:
https://github.com/download-directory/download-directory.github.io/blob/2988d8bfcfa42f5ff3295985666113fb74c4fc36/index.ts#L85
I think that if you hit it while downloading many files it will just continue making (and retrying) requests and eventually fail to build the zip.
Tasks:

[ ] Have all the fetch functions automatically use the global token if available
[ ] Find a proper solution to handle downloads, like halting them all when the rate is limited

I wish I could just load @octokit/rest and do it properly, but it might be huge. This tool says it's only 17KB though: https://bundlejs.com/?q=%40octokit%2Frest&treeshake=[*]&text="const+octokit+%3D+new+Octokit()%3B\n\n%2F%2F+Compare%3A+https%3A%2F%2Fdocs.github.com%2Fen%2Frest%2Freference%2Frepos%2F%23list-organization-repositories\noctokit.rest.repos\n++.listForOrg({\n++++org%3A+\"octokit\"%2C\n++++type%3A+\"public\"%2C\n++})\n++.then(({+data+})+%3D>+{\n++++%2F%2F+handle+data\n++})%3B"

More solutions:

https://www.npmjs.com/package/fetch-rate-limit-util
https://www.google.com/search?q=js+fetch+rate+limit
https://github.com/sindresorhus/p-queue
https://github.com/sindresorhus/ky#retry

Current situation, trying with:
https://github.com/phracker/MacOSX-SDKs/tree/master/MacOSX10.14.sdk


SymSpell lookupcompound with verbosity param

Is there a way to lookup a composite word but with Verbosity param?
For example I have names of people and I would like to get back the closest 5 people, not just the best match.

No. I tested this, but the computational complexity increased dramatically, and the lookup time becomes unbearable.


wrong colour when second model plots into empty axes

When plotting 2 models one of which has more parameters than the other, e.g. LCDM and rLCDM, and if we then plot the model with less parameters first including the unshared parameter, then the second model will have the wrong colour in the axes with the unshared parameter.
The colour should be dependent on the call to plot_2d and thus on the model. It should not depend on whether any axis is drawn in for the first or subsequent time.
Example code:
fig, axes= ns_lcdm.plot_2d(['A_s', 'n_s', 'r'], label='LCDM')
ns_rlcdm.plot_2d(axes=axes, diagonal_kwargs={'ls': '--'}, label='rLCDM')
leg = get_legend_proxy(fig)
axes['n_s']['n_s'].legend(leg, ['LCDM', 'rLCDM'], bbox_to_anchor=(1, 1), loc='lower left')

Note, how in the above code the second model gets the additional keyword ls='--' which shows that rLCDM is drawn in orange in the upper two axes rows and blue in the bottom row.
For now this behaviour can be circumvented by plotting the model with the most parameters first. This won't help in cases where two models each have an additional parameter not shared with the other, though, say e.g. r+LCDM and alpha+LCDM.

Has this issue been resolved by #15 ?

fixed in #15

This causes issues again.
In the image below anything labelled 'mp' should be blue and anything labelled 'pc' should be orange. However, this clearly does not work for column and row 'x4'.
mp = MCMCSamples(root="./tests/example_data/mp")
pc = NestedSamples(root="./tests/example_data/pc")
fig = plt.figure(figsize=(10, 10))
fig, axes = make_2d_axes(['x0', 'x1', 'x2', 'x3', 'x4'], fig=fig);
mp.plot_2d(axes, label="mp");
pc.plot_2d(axes, label="pc");
for y, rows in axes.iterrows():
    for x, ax in rows.iteritems():
        ax.legend()


Bower support

I know that this library was designed for game development but I can see a use for it in business application as well. I recently had a screen which had numerous check-boxes that was represented by a bitmask to tell which boxes were checked and which had not been in the URL routing. The challenge came when we had to change the feature to allow for a number per selection instead of a Boolean. I was never fully happy with our approach and I would have loved to use your library on the front end to map the different selections to a single number that can be translated back to the selections. If this was in Bower it would make it much easier to have this kind of solution in our toolbox.

Added bower support for v0.0.2
bower install tiny-binary-format

Awesome, thanks!


NIFI-10177: implemented ID token logout and revoke access token logou…

…t for NiFi Registry when using OIDC/OAuth 2.0 providers

Summary
NIFI-10177

Implemented OAuth 2.0/OIDC logout for NiFi Registry using either revocation endpoint (for OAuth 2.0 providers) or end session endpoints (for OIDC providers).
Refactored the deletion of the JWT token in the database into the shared /access/logout endpoint for both OIDC and non-OIDC logouts.
Notes on possible follow up work:

Add message page to display errors that occur during authentication, the error message page in NiFi registry currently does not exist.

Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 8
[x] JDK 11
[x] JDK 17

Licensing

[x] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[x] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Reviewing

So I've re-tested after the changes and things look good. I guess the only issue right now is that the original ticket requested that the logout feature works for Keycloak (self signed/privately signed certs) but this PR does not address that. I think we could still merge this in, but keep the ticket open, and submit a subsequent PR against the same ticket to address that part.

+1 will merge


Make genfiles path recursive

Generated code that needs to be indexed should be available but will likely not be located at the root genfiles directory. This should be recursive by default.

looks good to me

@rahul-malik this works around the fact that we are missing an include for Genfiles? If we actually had this path, then this would not be needed right?

@jerrymarino - this mostly works around the fact that we have header files generated that are not immediately under the bazel-genfiles directory. There are probably better solutions involving more specific header paths or simply getting files out of genfiles to something more stable

Seems good for now, but definitely something we'll want to revisit 💥


Vulnerability roundup 93: graphicsmagick-1.3.32: 1 advisory [9.8]

search, files

[ ] CVE-2020-10938 CVSSv3=9.8 (nixos-20.03)

Scanned versions: nixos-20.03: 0d0660fde3b.

See also: #88317

20.03 is frozen and EOL.
Closing.


Update Request - earlyHumanEmbryogenesisAtlas

We received the following request from first author Yichi Xu about this project:
https://explore.data.humancellatlas.org/projects/e255b1c6-1143-4fa6-83a8-528f15b41038

I am one of the authors on the publication of the dataset. The dataset was originally submitted to GEO (GSE157329) and have updated since. We did not submit it to HCA but it appears on HCA and causes some confusion. I found the “description” and deposited files on HCA were still from the old version. I have received several inquiries on the inconsistency. Could you please update the dataset on HCA to keep it consistent with GSE157329? Thank you so much.

This was assigned to UCSC team to handle.

This was assigned to UCSC team to handle.


[SPARK-21386] ML LinearRegression supports warm start from user provided initial model.

What changes were proposed in this pull request?
Allow users to set initial model when running LinearRegression. This is the first step to make ML supports warm-start, we can distribute tasks for other algorithms after this get merged.
Note: The design behind this PR follow discussions at #11119 and #17117 . Since it involves lots of other issues for KMeans, I'd like to proceed warm-start support from LinearRegression which is more clean and representative.
How was this patch tested?
Added unit test.

Test build #79554 has started for PR 18610 at commit 0b7509e.

Test build #79553 has finished for PR 18610 at commit ae8f32b.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79553/
Test FAILed.

Merged build finished. Test FAILed.

Test build #79554 has finished for PR 18610 at commit 0b7509e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79554/
Test PASSed.

cc @dbtsai @sethah @MLnick @hhbyyh

Test build #79562 has started for PR 18610 at commit e49d452.

Test build #79562 has finished for PR 18610 at commit e49d452.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79562/
Test FAILed.

This failure is irrelevant. Jenkins, retest this please.

Test build #79567 has started for PR 18610 at commit e49d452.

Test build #79567 has finished for PR 18610 at commit e49d452.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79567/
Test PASSed.

LGTM, this is really a great feature

There was a lot of discussion around the KMeans initial model. But here we seem to be just ignoring certain issues. Such as, does the initialModel override the param settings (e.g. reg param, tolerance, iterations etc). Here it is just the coefficients that are used.

@MLnick Thanks for your comments. I think the implementation of this PR followed the discussion around the KMeans initial model in #11119. In that PR, we didn't use initialModel to override all param settings(e.g. maxIter, tol etc), but we override some params (e.g. k). But in this PR, we don't have params like k, so it's not necessary to override any params. This is the reason that I start the general warm start work from LinearRegression which is more clean. And I don't think we should to use initialModel to override params like tolerance and iterations. Why we need to use the tolerance of the initialModel? I just want my train start from an coefficients and I will specify new tolerance to control its convergence.
BTW, I also referred other libraries(e.g. scikit-learn), the semantic of this implementation is consistent with other popular libraries. Still, I'm very happy to get your comments.

@yanboliang Agree. I think if there is some prarms which control the "shape" of model coefficients, than they should be override if we use inital model. Like k in KMeans, GMM, LDA,  other params should be let alone

Is there anymore work to do before this can get merged?

Just to confirm, so we have agreed that the initialModel should be of type [T <: Model[T]] rather than a String type (path to the saved model)? Sorry I didn't find the related discussion.

@hhbyyh We got agreement that the initialModel should be of type [T <: Model[T]] at #11119. I understand the scenario you mentioned, however, I think they are different scenarios:
1, If we set initialModel as a string path, we should guarantee there is correct model stored in the path, but we can't guarantee it only to refer the string path.
2, I agree that the scenario you mentioned above is really useful, but it think the requirement is beyond initial model. The following code snippet can meet that requirement under my framework:
val initialModel = LinearRegressionModel.load("path_lr_20iteration_reg0.001.model")
val lr = new LinearRegression().setInitialModel(initialModel)
val model = lr.fit(dataset)

3, If users have a model in memory, they want to use this model as the initial model to train another one, they need to save the model firstly and then set the corresponding path as the initial model path.
4, For your comments about serializing the initial model, I agree with you. I'm ok not to save initialModel when saving estimator.
What do you think of it? Thanks.

Thanks for the reply. Since there's already an agreement, I will hold my suggestion on initialModel data type.

Test build #83120 has started for PR 18610 at commit e49d452.

Test build #83120 has finished for PR 18610 at commit e49d452.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83120/
Test FAILed.

A couple questions:

do we actually need to save the initialModel when we persist the current model? I'm not sure it's necessary and it adds complexity. Also, we could add it in the future anyway.
How can users set an initial model from an array of coefficients? If initialModel has to be a LinearRegressionModel then how can I create one from an array? The model constructor is private... If you can only set an initial model that was trained in Spark and saved as a Spark model, then that severely limits the utility of this functionality. Can we just overload the set method?

final val initialModel: Param[Vector]
def setInitialModel(value: Vector) = ...
def setInitialModel(value: LinearRegressionModel) = setInitialModel(value.coefficients)

@sethah I don't think we need to saving the initial model right now, and if its going to slow down the PR progress maybe dropping it makes sense -- but I guess it depends how complicated that is?
For the second point, I also think creating an initial model from a set of coefficients could be useful, but I think that could be addressed in a follow up issue -- what do you think?

What else needs to be done before this can be merged?

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4889/
Test PASSed.

@JohnHBrock this PR is pretty old so the biggest challenge is going to be updating it to the current master branch. There's some discussion around the types needing to be changed as well. If this is a thing you want to work on I'd love to do what I can to help with the review process.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/15797/
Test PASSed.

@yanboliang This PR is stale. If no further updates, would you mind to close it ? Thanks

@yanboliang The functionality here would have been really useful. Is there another solution you can suggest?


[GUI] Map view - device details are not shown

Steps to reproduce the problem:

Publish geo location data to a device
Select map view
In the context menu of the device, select "Details"

Note: clicking "View device information", device information is displayed

Test OK.


Error in weights

I am getting errors of
Traceback (most recent call last):
File "inference.py", line 82, in
model = UNesT(in_channels=1,
File "/storage/koushik/code/UNesT/wholebrainSeg/networks/unest.py", line 182, in init
self.encoder10 = Convolution(
TypeError: init() got an unexpected keyword argument 'dimensions'
After debugging the above line from dimensions to spatial_dims ,
Traceback (most recent call last):
File "inference.py", line 87, in
model.load_state_dict(ckpt['state_dict'], strict=True)
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 2073, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for UNesT:
Unexpected key(s) in state_dict: "encoder3.layer.conv3.conv.weight", "encoder4.layer.conv3.conv.weight".
Getting the above error , can you please tell me where did i go wrong ?

Same error. I solved it using another available pre-trained model https://drive.google.com/file/d/1aBbzCodYZ4nk3VtuQ71QZoRGN0ZFxaiR/view?usp=sharing found in this [config file ].

I am closing the older bug reports as these were missed. We are now better tracking reports across the organization. Please re-open if this continues to be a blocker.


Cannot enter filepath

Say I am in /var/www, and I want to preview /var/www/Boombox/README.md.
I run
$ markdown-preview Boombox/README.md

There is no error, but http://localhost:3333/README.md shows a blank page.
Is there any good way to get this to work?
Also, interestingly, if I cd to /usr/local/lib/node_modules/markdown-preview, and attempt to preview my README with an absolute filename...
$ cd /usr/local/lib/node_modules/markdown-preview
$ markdown-preview /var/www/Boombox/README.md

now http://localhost:3333/README.md shows the preview for markdown-preview/README.md! Basically, the path is stripped from the filename argument. This seems like a separate issue, but I'm not sure.

Probably the path.resolve returned the wrong path.  Could you provide your OS name and the Node.js version that is running?

As you run markdown-preview somefile.md, it will open the browser and navigate to it automatically.  seeing your description in #11, I guess it failed to open the browser?

Close for now. Please let me know if there're other problems


Please add how to get refresh token

Issue Report
You have to add
extraParameters.Add("scope",  "openid offline_access");
before you call LoginAsync or you will get error "id token not contained in result"
Note the "openid" parameter which is not mentioned anywhere in the documentation.

Sorry for not getting back to you any sooner, these things are always better reported at https://github.com/auth0/auth0-oidc-client-net, which contains the information and documentation for the SDK, beyond just the sample.
However, that doesn't justify the silence here, our sincere apologies.
Noted the feedback, and will see to add something to the docs as your feedback is still valid, even 3 years after reporting it.


Help with v 0.9.2

Hi, we are using angular 1.2.28 so I am trying to use the zipped release for 0.9.2.
Wondering if the event objecr expects event.starts_at or event.startsAt
I had been working with version 0.9.3 (I belive) but that source is now gone. Am I mistaken about there being a version 0.9.3? I think that the version I had did have startsAt, and the templates were in the src not the root.
I can modify my logic to build events with either key, but wanted to check with you first.
When I try to rollback the error I get is that it cannot find main.js. Is this an issue with the gulp build? Perhaps my best bet is to just reconfigure the object on my end and baseline on the functional 0.9.2 build.
Thanks for the help.

You can still use the 0.10.x release with angular 1.2.x, I haven't yet dropped support for angular 1.2.x
You can view the docs for any previous version. For 0.9.x see here
There was never a 0.9.3, 0.10.x has the templates in src and uses startsAt instead of starts_at
You should never be including main.js, only use the files from the dist folder.
Hope that helps :)

Ok cool thanks for the quick response. I will try the build with the newer version and go from there :)


[gui] Code Jumps to incorrect offset in the code area when import statements are enabled

Issue details
PR: d7ec35791b030771b178b395962171dabfe4b5fb, seems to introduce an issue on the code jump feature. More specifically, when the import statements are enabled:

and when the user jumps to a class/method implementation once the jump is taking place correctly and the user is transferred on the right tab and the right offset.
The problem is taking place when the user revisits a specific node, as he/she will be transferred to a wrong offset in the code area.
I checked the PRs and up to the one mentioned above, everything seems to work as expected.
Steps to reproduce

Make sure that you have the import statements enabled
Open an APK file, navigate to the manifest and double click on a component (e.g. the main activity)

At this point you will be directed to the correct offset

Close the tab and click again on the same component (main activity)

It is expected to jump to a wrong offset in the code area.
Jadx version
dev
Java version
<IP_ADDRESS>
OS

[ ] Windows
[ ] Linux
[X] macOS

Sorry for inconvenience. I'll take a look within few days, if @skylot doesn't mind

Well, turns out regression was introduced not in PR #2109, but earlier in commit 5c0c1daa71ad4c8b3bfefbbedbd77b44e4f06060.
Adding this line: https://github.com/skylot/jadx/blob/5c0c1daa71ad4c8b3bfefbbedbd77b44e4f06060/jadx-gui/src/main/java/jadx/gui/ui/codearea/CodePanel.java#L63
cause loading of code for other modes tabs (like fallback) and this override jump offset for class. Now offset is taken from fallback code (latest tab) and smaller because fallback don't use imports.
So to fix this issue we need to:

disable not needed code loading of code mode tabs
don't process/override offsets for other code modes at all

Fixed.
It will be nice if someone verify this fix using latest unstable build :slightly_smiling_face:

@skylot , it seems fixed.  Thank you very much !


Running Terminal as Administrator gives me this error: the code execution cannot proceed because msvcp140.dll was not found

Windows Terminal version
1.15.3466.0
Windows build number
10.0.22000.1335
Other Software
No response
Steps to reproduce
Simply try to run Terminal as Administrator. In my case I changed the default profile and turned on this option:

I then see this error:

Expected Behavior
Either fix this issue or if Terminal cannot run as administrator then remove the option from the settings. I do have admin privileges on the machine btw.
Actual Behavior
error

i got more errors after this. it didn't stop there.

I think this is probably a duplicate of #14501.

Sure looks like it to me /dup #14501


Add sourcelink support

SourceLink allows for easier debugging for third parties.
You just need to add a PackageReference to the source link project and set the PrivateAssets="all" to not force-dependent users having to support source link as well.

Given the use of ILRepack don't know if this one will be possible.
It does help users a lot if you can but not essential. PDB files help also with intellisense side of things.


Databricks build fixes for missing shouldFailDivOverflow and removal of needed imports

Fixes multiple issues.

https://github.com/NVIDIA/spark-rapids/commit/a4e51fd655ba59d9da6c2eff904137c7d4db8d9d for got to add shouldFailDivOverflow to Databricks

https://github.com/NVIDIA/spark-rapids/commit/906af85e36047a54bee7147dcc2152d76ecfcdf9 accidentally removed imports that were needed.

Fix a couple of import issues with the scala doc generation on databricks.  Note that the verify target fails in dist package still but that can be handled separately from this.

Signed-off-by: Thomas Graves<EMAIL_ADDRESS>

build


@Formula annotation adds formula into group by clause

Description
We have an entity that has a few Formulas in it.  When performing a group by, Blaze adds the formulas into the group by which makes these queries very slow.  They don't need to be in the group by when grouping by ID.
BlazeJPAQuery<?> q = blazeQuery.select(
                    Projections.constructor(MyClass.class,
                        qEntityWithForumas,
                        qCustomer.companyName
                    )
                 )
                .from( Tables.energyPlanV4)
                .with(cteInteger, subQuery)
                .where(qCustomer.id.in(select(cteInteger.id).from(cteInteger))
                .groupBy(qEntityWithForumas.id)
                .orderBy(qEntityWithForumas.endDate.desc());

Notice I'm only telling it to group by qEntityWithForumas.id, yet the raw query groups by all the formulas as well as all the fields.
Expected behavior
Standard QueryDSL with JPA does not put the formulas and everything else into the group by.
Actual behavior
All the fields were added to the group by.
Environment
Java: 17
JPA-Provider: Hibernate 5.6.11.Final
DBMS: MySQL 8
Blaze-Persistence: 1.6.8

I think you can workaround this by disabling implicit group by generation for the select clause: https://persistence.blazebit.com/documentation/1.6/core/manual/en_US/#IMPLICIT_GROUP_BY_FROM_SELECT

That was my intuition as well, however, its not Blaze-Persistence that adds the formulas to the query but its done during HQL>SQL translation. So I doubted if Blaze was even considered the formula in the group by? Doesnt it just group by the used /selected expressions?

It might be that BP expands an entity alias in group by to all the properties in order to workaround some Hibernate translation issues.

So why does this happen with Blaze but not with standard Query DSL?  Is QueryDSL smart enough to know that with the ID in the select you don't need to group by the other objects in the entity?   Or does it maybe send to Hibernate the default setting to not do implicit group bys?

Standard QueryDSL does not attempt to create an implicit group by clause, that's why it works. Blaze-Persistence tries to match the needs of SQL when Hibernate fails to do so. Usually, a query like e.g. select t.id, t.name from tbl1 t group by t.id is illegal, unless the database knows how to do functional dependency analysis. Blaze-Persistence tries to handle this through implicit group by generation. Since Hibernate expands an entity alias to all singular properties in a SQL select clause, we try to handle the fact that Hibernate fails to do so for the group by clause.
Disabling the implicit group by generation is one option for now, but ideally we'd know what the database supports and avoid the expansion to all singular properties if possible.

That's fair.  Thanks for the explanation and the work around.
I'll disable the implicit group by.  Our database will throw an error anyway if its not a full group by.


[FEATURE REQ] ScoringStatistics and Features Mode

Support for ScoringStatistics=Global and Features Score released in the new API in C# SDK
https://docs.microsoft.com/en-us/azure/search/index-similarity-and-scoring#:~:text=see Scoring Profiles.-,Scoring statistics and sticky sessions,the data within a shard.

Tagging and routing to the team members best able to assist.

Which support do you need? What is your specific question? Do you want updated documentation?

Thank you for the suggestion. We'll consider this for a future release.

Once https://github.com/Azure/azure-rest-api-specs/pull/10350 is merged, we should be able to add these to our client library.

Any news on this issue?

SearchOptions.ScoringStatistics and SearchOptions.SsssionId have been added to https://www.nuget.org/packages/Azure.Search.Documents/11.2.0-beta.1 and you can try them out now.
@paragagrawal11 could you clarify what "Features Score" means? @brjohnstmsft any ideas? I don't see anything obvious in the linked doc, nor am I aware of any features that correspond to that.

Paging @shmed

I just noticed the original link is specifically anchored to the similarity and scoring section, but that page also has a section on the featuresMode parameter, which is what I'm specifically looking to utilize:
https://docs.microsoft.com/en-us/azure/search/index-similarity-and-scoring#featuresmode-parameter-preview

Search Documents requests have a new featuresMode parameter that can provide additional detail about relevance at the field level. Whereas the @searchScore is calculated for the document all-up (how relevant is this document in the context of this query), through featuresMode you can get information about individual fields, as expressed in a @search.features structure. The structure contains all fields used in the query (either specific fields through searchFields in a query, or all fields attributed as searchable in an index). For each field, you get the following values:
Number of unique tokens found in the field
Similarity score, or a measure of how similar the content of the field is, relative to the query term
Term frequency, or the number of times the query term was found in the field

We originally added the new FeaturesMode flag to the API Specs, but then removed it when we decided not to GA the feature in 2020-06-30 API. The feature is only available in 2019-05-06-preview and 2020-06-30-preview API, which, as far as I know, don't have SDK support yet.

That is correct. Only 2020-06-30 GA (-preview will use a different date once a GA date is set) is targeted by the SDK currently. We will eventually have a beta release for future service previews. As such, I'm closing this since the other half of the feature has shipped and we'll pick up any future changes during source generation.


how to import JeelizThreejsHelper ?

Hi, thanks for this great lib !!
We can import Jeeliz withjeelizFaceFilterES6.js but how can we import JeelizThreejsHelper ?
Thanks !

Hi
We are still waiting for the good guy who will submit a pull request :)

If someone use vue-cli
const webpack = require('webpack')
module.exports = {
  chainWebpack: (config) => {
    config
      .plugin('provide')
      .use(webpack.ProvidePlugin, [{
        THREE: 'three'
      }])
  }
}


getting the following error

huggingface_hub.utils._errors.EntryNotFoundError: 404 Client Error: Entry Not Found for url: https://huggingface.co/bes-dev/stable-diffusion-v1-4-openvino/resolve/main/vae.xml. (Request ID: meIMbxjucCK0UlHWmBiba)

@Zoranvedek Sorry for the inconvenience. Currently, we prepare new release with new cool features, so current version can be not working. We will fix it as soon as possible.

Absolutely not a problem, thank you for putting this together. Can't wait for new features. By any chance are height and width  settings coming?

Would it be worthwhile implementing caching the file, and using that as the fallback if the file can't be found?

@Zoranvedek saw that vae.xml was renamed in the repo's commit history, so here's the fix I found:
Line 45 and 46 in stable_diffusion.py, change it from:
            hf_hub_download(repo_id=model, filename="vae.xml"),
            hf_hub_download(repo_id=model, filename="vae.bin")

To:
            hf_hub_download(repo_id=model, filename="vae_decoder.xml"),
            hf_hub_download(repo_id=model, filename="vae_decoder.bin")

This issue has been fixed for me after pulling the latest changes


Updates documentation pertaining to VMware

This PR produces the following changes.

Adds 301 redirection for /docs/getting-started-guides/vsphere/ to https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/
Updates hyperlinks from /docs/getting-started-guides/vsphere/ to https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/
Updates solution table entries for VMware vSphere
Fixes typos i.e. VMWare/Vmware -> VMware

Please review and merge.
Thanks,
Venil

:wave: @venilnoronha - this migrates all the vsphere storage pieces, but seems to be dumping the VMware cloud provider detail in the process. Is that intended?

/assign

👋 @heckj the removal of vSphere Cloud Provider documentation is intended as we want to maintain all documentation at a single location, which is https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/. Thanks!

/approve

In this scenario, the removal of vSphere Cloud Provider documentation so that they can maintain all documentation at a single location simplifies everyone's lives.
/lgtm


Setting packet.Culprit = err.Error() overrides error message

When enabling stack traces, logrus_sentry sets
packet.Culprit = err.Error()
On line 140.
This changes the default behaviour, where the logged error message is the "title" in the Sentry dashboard, to instead making the error into the title.
I suggest retaining the default behaviour, whether the uses wants to include a stack trace or not.

Available options;

a) Add an flag into hook struct and if it is true then override packet.Culprit
b) Add special field like culprit and if it is set then override packet.Culprit
c) Set packet.Culprit when entry.Message is empty string

@belak Any thoughts?

I'm not particularly sure what the best solution would be... my main problem has been that all (unrelated) errors are getting logged (and grouped) under the place where they're logged, rather than by the error itself... And I'm not sure how much of that is because we're stuck on a super old version of sentry and how much is the library. We're part-way through that transition, but I'm afraid my comments won't be as useful until then.
At least for my use case, the optimal method would be to group by the Message, and then by err.Error() but I'm not sure how to accomplish that.
Sorry, that rambled a bit more than I wanted but I think you get the general idea.

I think I'm in favor of option #C.
Using err.Error() has made our logs much harder for us mere humans to read quickly.

In the end, though, I think this is a bug/misfeature in Sentry, not in this library.

Upon further reading, it does seem that logrus_sentry is improperly assigning culprit. It's intended to be a function name, not human readable text.  See here.
Even so, that doesn't address the underlying issue; logrus_sentry could easily set it to the function which errored, and it would still override the 'message' as the page title.

I did this a while back and we're (currently) using this internally: https://github.com/belak/logrus_sentry/commit/060021c4a4a2cd92107a6674c272e4af3850473b
It seems to work pretty well because (at least for us) we use static messages and store all changing information in the fields... however this has the disadvantage that when looking at logs without the fields, they're pretty worthless.

Indeed, any change to this functionality will likely break someone.  I propose that any change is done as an option, with the existing ("broken") behavior as the default.


Is that possible u can make it a jar file so it's easier to use in Eclipse?

Hi, I'm new to android and use andrroid SDK. ur project is amazing but is that possible u can provide a way to make it a jar so it would be easier to use in eclipse? I check ur project in eclipse. but the supporting android_v7 library is different and i don't know how to use it in my project. Thanks a lot!!

Download Eclipse Example here
https://s3.amazonaws.com/github-cloud/releases/20394581/86a45190-26af-11e4-884a-09c4d6a55f39.zip?response-content-disposition=attachment%3B filename%3DAndroidImageSlider-Eclipse.zip&response-content-type=application/octet-stream&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1440000740&Signature=oXNdVZTOFwF%2F9jz8s%2FUATqiT%2FL0%3D


Expose public-server password to environment variable.

I edited the Dockerfile and DefaultBeakerConfig to add the opportunity to start the server with a static password. If you set the BEAKERPASSWD environment variable to <random> (which is the default in the Dockerfile) or delete it, the password will be generated randomly as before.

Hi thanks, yea that looks useful, I believe it has been requested.
To merge we would need a signed CLA, can see the "Contributing" section of the top-level readme.

https://github.com/twosigma/beaker-notebook/issues/319

Just in case... :)
2016-05-08 20:54 GMT+02:00 Scott Draves<EMAIL_ADDRESS>
#319 https://github.com/twosigma/beaker-notebook/issues/319
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/twosigma/beaker-notebook/pull/4082#issuecomment-217739320


Adding in original databases

Added in the original MRDS and ARDF databases under the folder raw_databases

hi @YOO-uN-ee please rebase this commit it cannot be merged with current head.


Is there a compatibility issue?

Execute npm run build,  error :
  ><EMAIL_ADDRESS>build
  > webpack -c webpack.prod.js

  node:internal/crypto/hash:79
    this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache());
                    ^

  Error: error:0308010C:digital envelope routines::unsupported
      at new Hash (node:internal/crypto/hash:79:19)
      at Object.createHash (node:crypto:139:10)
      at BulkUpdateDecorator.hashFactory

Sorry, I found the problem. It's not three-dxf fault.
This is an issue with Node SSL


JAMES-3532 Implement Email/import

Weekend contribution to continue the (long) journey toward JMAP spec compliance...

Forced pushed to rebase & solve a conflict, no changes beyond that.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/TA2k/ioBroker.volvo

[ ] [E605] No actual year found in copyright. Please add "Copyright (c) 2021 TA2k<EMAIL_ADDRESS>at the end of README.md
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 TA2k<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Do you need help fixing the bugs?


Translate  playground example (3.8 breaking changes) into ja

Part of #220
Checking Unions with Index Signatures.ts

Original doc

Checking Unions with Index Signatures.ts

Diff

https://github.com/microsoft/TypeScript-Website/commit/b5e0fdbe45692128baf6089b4b82f286fd931f48

Thanks❤
/cc @DuGlaser @sasurau4  @Quramy

Thanks everyone!


Wrong definition of registers in gdb/features/tricore.c

Hey,
in thanks for maintaining this version of gdb that supports tricore. When using this build I had problems reading all registers. I think the reason for this is a duplicate definition of the lcx register in gdb/features/tricore.c.
The reason for this duplicate definition is in line 13713 of the 0006-Rebase-tricore-implementation-from-10.0.50-to-11.2.patch patch file. Would you be willing to accept a PR to fix this issue?

Hello! Sure you can go on with a PR, thanks for reporting

Solved by PR #2


AttributedType should be reduced using EquivalentType instead of CanonicalType

(Continued from https://github.com/InfectedLibraries/Biohazrd/issues/124)
Originally I thought the only way to implement this feature was to use the canonical type. This type is not ideal because it erases typedefs, which means things like function pointers with a calling convention attribute involving typedefs will loose information.
Looking at the Clang documentation, it appears that what we really want is the equivalent type.
This property is exposed in newer versions of ClangSharp, but no NuGet packages exist for them yet.
We need to check to see how Clang handles situations where the equivalent type might not be representable. For example: AttributedType_CallingConventionOnTypedef_AllTypedefsRemoved tests
typedef void (*function_pointer_t)(int);
typedef __stdcall function_pointer_t function_pointer_stdcall_t;
void Test(function_pointer_stdcall_t function);

What is the EquivalentType of function_pointer_stdcall_t?

It turns out we've been unknowingly opting-in to dealing with these types:
https://github.com/InfectedLibraries/Biohazrd/blob/f986212c7c463c6f0ef81755a0aaeb99a330821f/Biohazrd/TranslatedLibraryBuilder.cs#L219
If this flag isn't present, the only difference is that libclang will automatically resolve AttributedType using the equivalent type:
https://github.com/InfectedLibraries/llvm-project/blob/6d5c430eb3c0bd49f6f5bda4b0d2d8aa79b0fa3f/clang/tools/libclang/CXType.cpp#L129-L136
I think this flag was enabled with the thought that it was needed for getting the deprecated attributes for https://github.com/InfectedLibraries/Biohazrd/issues/87. That may be true, but for now they're more of an annoyance than they're worth. If it turns out this flag is needed for https://github.com/InfectedLibraries/Biohazrd/issues/87, we can resolve this issue when it is implemented.
For now I am going to disable this flag, add a note, and add a Debug.Fail to the AttributedType handling.

For whatever reason, disabling this flag eliminates typedef types in some situations for reasons I can't really fathom. For instance, looking at this code from AttributedType_CallingConventionOnTypedef_NoTypedefRemoved:
typedef void (*function_pointer_t)(int);
typedef __stdcall function_pointer_t function_pointer_stdcall_t;
void Test(function_pointer_stdcall_t function);

Without removing any typedefs I'd expect the following to have a function Test with a parameter function with a TypedefType referencing function_pointer_stdcall_t.
With CXTranslationUnit_IncludeAttributedTypes enabled, that is what you get. Unfortunately without the flag, it becomes a function Test with a parameter function with a PointerType of FunctionProtoType of void (int) [stdcall]
Looking at the libclang source code, I can't really see why this would be. I think this bug is less impactful than the bugs caused by this issue so I'm still going to disable this flag as a workaround for this issue and resolve it properly later on.

Also worth mentioning that I disabled this flag and checked the impact on InfectedPhysX and InfectedImGui. Neither had any codegen or diagnostic differences so I don't think this flag was really enabled intentionally.

Workaround implemented in 8f179a30531cb063128887d1aa607178b62c09cd, leaving this issue open until we can properly resolve it due to the typedef issue.


Keypoints class/ops

Describe the feature and the current behavior/state.
Add keypoint class utils
Relevant information

Are you willing to contribute it (yes/no):
no
Are you willing to maintain it going forward? (yes/no):
probably
Is there a relevant academic paper? (if so, where):
Yes but it is a too popular topic to point any specific paper.
Is there already an implementation in another framework? (if so, where):
Yes in official Facebook Pytorch detectron2
https://github.com/facebookresearch/detectron2/blob/master/detectron2/structures/keypoints.py
Was it part of tf.contrib? (if so, where):
No we had some sparse keypoints utils/ops in model
https://github.com/tensorflow/models/blob/master/research/object_detection/predictors/heads/keypoint_head.py
https://github.com/tensorflow/models/blob/master/research/object_detection/core/keypoint_ops.py
Which API type would this fall under (layer, metric, optimizer, etc.)
keypoints
Who will benefit with this feature?
Many applications like human pose, hande pose, face landmarks, 3d objects cuboid etc..
Any other info.
In Mediapipe there are many pre/postprocessing operations over keypoints that rely on Opencv keypoints with the Tensorflow lite inference. Probably some of these operations could put in graph if we can handle keypoints in Tensorflow directly.

Just an addition reference ticket: https://github.com/tensorflow/models/issues/2366

/cc @jqtang

/cc @jiuqiant

We have some Google heatmap/keypoints operations also in https://github.com/google-research/google-research/blob/master/video_structure/ops.py
/cc @mjlm

We have other new (duplicated?) Keypoint/Heatmap utils in the model garden at  https://github.com/tensorflow/models/blob/master/research/object_detection/utils/target_assigner_utils.py#L44
@seanpmorgan @karmel Can you ask internally if they can contribute these general utils and components in Addons instead of embedding inside the model garden repositories?
I think this is in the spirit of the approved RFC so that the users could build their own projects without reinveting the whell or be on hold about Addons potential contributions cause we need to worry about duplicates and continously monitoring the garden.
I think that sharing more common/recurrent/standard components Is a positive goal for the while ecosystem and It will speed-up the library adoption by third party developers.
We could understand If the original internal  author doesn't want to maintain that code and we are ok with this but we could evalauted to maintain the code ourself if he open a PR/ISSUW on Addons we have a specific flag in the Template if he don't want to maintain the contribution.

Hi, I'm the author of
https://github.com/google-research/google-research/blob/master/video_structure/ops.py
and
was CCd on this thread. I'm generally happy to move some of this to a
shared component garden if it's not a huge amount of work. However, I know
nothing about TensorFlow Addons and would need a bit more guidance on what
I should do.
On Thu, May 14, 2020 at 11:21 AM bhack<EMAIL_ADDRESS>wrote:

We have other new (duplicated?) Keypoint/Heatmap utils in the model garden
at
https://github.com/tensorflow/models/blob/master/research/object_detection/utils/target_assigner_utils.py#L44
@seanpmorgan https://github.com/seanpmorgan @karmel
https://github.com/karmel Can you ask internally if they can contribute
these general utils and components in Addons instead of embedding inside
the model garden repositories?
I think this is in the spirit of the approved RFC
https://github.com/tensorflow/community/blame/master/rfcs/20190802-model-garden-redesign.md#L60-L61
so that the users could build their own projects without reinveting the
whell or be on hold about Addons potential contributions cause we need to
worry about duplicates and continously monitoring the garden.
I think that sharing more common/recurrent/standard components Is a
positive goal for the while ecosystem and It will speed-up the library
adoption by third party developers.
We could understand If the original internal author doesn't want to
maintain that code and we are ok with this but we could evalauted to
maintain the code ourself if he open a PR/ISSUW on Addons we have a
specific flag in the Template if he don't want to maintain the contribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/addons/issues/1366#issuecomment-628510937,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJKYVPBE54ZDT2YP5H5TFTRROZ2FANCNFSM4LSAOXWQ
.

@mjlm Thanks. It would be really great and I am interested if we could collect some generally computer vision/cv models general utils/ops here.
We have seen that there was some internal plan about a computer vision modelling library modeling library for computer vision but we don't know details about this plan.
See https://github.com/tensorflow/models/issues/8278#issuecomment-628310079
I let @seanpmorgan and @karmel to coordinate more on this.
I am available to support/co-maintain some of these components if we could have something coherent that will not be invalidated with a more or less upstream duplicate that is rolling around the corner.

@tanzhenyu Do you think that you want features like these ones migrated in the brand new keras-cv repo?

This is generally in our roadmap. What's the timeline for this? keras-cv needs to go through public RFC for APIs that we propose

The general goal here is just to not have very short-lifetime efforts that will be superseded soon by another official repo.
@mjlm Seems interested to port some of his shared component form google-research but as you seen I am not the only one to be a little bit confused:

I'm generally happy to move some of this to a
shared component garden if it's not a huge amount of work.

I think this was the general direction cause this kind of utils was embedded "as a service" of the specific model and not designed as reusable components.
So if we agree that keras-cv is the direction to accumulate this is kind of reusable components and deduplicating what it is already in the model garden Vision I think we could go in that direction.
So at this point I will ask you what's the timeline for this in keras-cv? :smile:

The general goal here is just to not have very short-lifetime efforts that will be superseded soon by another official repo.
@mjlm Seems interested to port some of his shared components form google-research but as you see I am not the only one to be a little bit confused:

I'm generally happy to move some of this to a
shared component garden if it's not a huge amount of work.

I think this was the general direction cause this kind of utils was embedded "as a service" of the specific model and not designed as reusable components.
So if we agree that keras-cv is the direction to accumulate this is kind of reusable components and deduplicating what it is already in the model garden Vision I think we could go in that direction.
So at this point I will ask you what's the timeline for this in keras-cv? 😄

That's a fair question :-)
We target to provide keras_cv as a repo that provides modular and reusable API. We have made initial plans for object detection models and instance segmentation models. For keypoint estimation the API is still TBD.

Thanks for the update... please keep us posted with information/timelines as they become available. In either case we will not be providing this functionality in Addons as it would be duplicated.

Thanks for the update... please keep us posted with information/timelines as they become available. In either case we will not be providing this functionality in Addons as it would be duplicated.

Thanks @seanpmorgan @bhack collaborating on this! Meanwhile it'd be great to re-direct them to the new repo so we could accept contribution as well :-)

Thanks for the update... please keep us posted with information/timelines as they become available. In either case we will not be providing this functionality in Addons as it would be duplicated.

Thanks @seanpmorgan @bhack collaborating on this! Meanwhile it'd be great to re-direct them to the new repo so we could accept contribution as well :-)

Yes, for those that end up on this issue please check out the following repository and/or submit contributions there:
https://github.com/keras-team/keras-cv


Is anyone use AntiDupl.NET in 32 bit Windows?

The development of 32-bit Windows will be stopped soon. The development of AntiDupl for 32-bit and 64-bit Windows takes additional efforts. I have a plan to leave only  support 64-bit Windows in future versions of AntiDupl.NET. Are there any objections?

I am not, but I think someone may need it.
Not true, 32-bit is deprecated for OEMs, but it should not stop soon, especially for some non-consumer OS versions.
Any details for difficulties?

With https://github.com/ermig1979/AntiDupl/commit/f90f086d58f0be37064c1fdf6ce25175f9d8fb20 32-bit support is removed.
For 32-bit Windows please use releases <= AntiDupl.NET v2.3.10.
If for any reason you still need 32-bit please create your own fork
if you want to include newer updates.


[feature request] Release alexaPi as an raspberry pi image

I see some of the people are having issues installing alexaPi . It will be great if alexaPi will be available as an raspberry image, it will be save lots of time and efforts.

Duplicate of #13


Akka-Http: Provide automatic context propagation

Currently we always have to pass the current Span via a function parameter. While it's a clean and easy solution it might be a bit annoying to pass it down the whole call tree.
It would be nice to be able to provide similar semantics as the scoped span in the java client, which we can't use since its using a ThreadLocal.
I experimented a bit around with scala.util.DynamicVariable and got the following experiment running:
(Inspired by http://stevenskelton.ca/threadlocal-variables-scala-futures/)
package com.github.sebruck.opencensus.akka.http

import java.util.concurrent.ForkJoinPool

import akka.actor.ActorSystem
import akka.http.scaladsl.Http
import akka.http.scaladsl.model.HttpRequest
import akka.stream.ActorMaterializer

import scala.concurrent.{Await, Future}
import scala.util.DynamicVariable
import scala.concurrent.duration._

class ForkJoinPoolWithDynamicVariable[T](dynamicVariable: DynamicVariable[T])
    extends ForkJoinPool {

  override def execute(task: Runnable) {
    val copyValue = dynamicVariable.value
    super.execute(new Runnable {
      override def run = {
        dynamicVariable.value = copyValue
        task.run
      }
    })
  }
}

object Server extends App {
  import akka.http.scaladsl.server.Directives._
  implicit val system = ActorSystem()
  implicit val mat    = ActorMaterializer()

  val dyn = new DynamicVariable[Int](-1)
  val firstEc = scala.concurrent.ExecutionContext
    .fromExecutorService(new ForkJoinPoolWithDynamicVariable(dyn))

  val secondEc = scala.concurrent.ExecutionContext
    .fromExecutorService(new ForkJoinPoolWithDynamicVariable(dyn))

  val thirdEC = scala.concurrent.ExecutionContext
    .fromExecutorService(new ForkJoinPoolWithDynamicVariable(dyn))

  val route = (get & parameter('i.as[Int])) { i =>
    val v = dyn.withValue(i) {
      Future(())(firstEc)
        .flatMap(_ => Future(dyn.value.toString)(thirdEC))(secondEc)
    }

    complete(v)
  }

  Http().bindAndHandle(route, "<IP_ADDRESS>", 7071)
}

object Client extends App {

  implicit val system = ActorSystem()
  implicit val mat    = ActorMaterializer()
  import system.dispatcher

  while (true) {
    Thread.sleep(200)
    val fs = (1 to 500).map { i =>
      Http()
        .singleRequest(HttpRequest(uri = s"http://localhost:7071?i=$i"))
        .flatMap(_.entity.toStrict(2.seconds).map(_.data.utf8String))
        .map { r =>
          assert(r.toInt == i)
          println(s"$i == ${r.toInt}")
        }
    }

    Await.result(Future.sequence(fs), Duration.Inf)
  }
}

The requirement for this to work is that the whole call-stack uses an ExecutorService which copies the dynamic variable around.
@yannick-cw WDYT? Is this feasible?

Decision: let's stay explicit


How to use fork, join, begin, end

I have seen there are some special tatics in iimc, the README indicated that "Combinations of proof engines are supported by special tactics: fork, join, begin, end. While these tactics are exposed by the interface, only a few of the syntactically meaningful combinations are supported and they are not meant for general use."
However, I have seen any details instructions to use this in README, could you give me a simple example to apply it? Thanks

@Gary-oak-Star please note that I am not a developer. iimc was / is developed at the university of Boulder. I suggest you ask Fabio Somenzi


Question: how to deploy to different gateways and networks

I have two gateways in two separate docker stacks in the same swarm, each gateway is in its own network. When I deploy functions into the first gateway using faas-cli, they get attached to the network of that gateway. But when I deploy functions into the other gateway, the resulting function services get attached to the network of the first gateway.
Workaround: define a network explicitly using the --network option of faas-cli.
Expected Behaviour
Functions deployed into the second gateway should be attached to the network of the second gateway, and vice versa.
Current Behaviour
Networks:
$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
kv2zpddui95l        bem-infra           overlay             swarm
v7hygd71jlcy        bemk_bem            overlay             swarm
mjr1cepesm7y        bemp_bem            overlay             swarm

The bem-infra network is an external network which contains traefik.
The other two networks belong to the two docker stacks, each of which contains a faas gateway.
Faas Deployment: (slightly simplified, there are some more stage-specific env vars)
$ STAGE=p docker stack deploy bemp --compose-file bem/docker-compose.yml
$ STAGE=k docker stack deploy bemk --compose-file bem/docker-compose.yml

Function Deployment:
$ faas deploy -g http://bemp.kvnurs.intra -f bemp-stack.yml
$ faas deploy -g http://bemk.kvnurs.intra -f bemk-stack.yml

Gateway description
The gateway is in network bemk_bem = v7hygd71jlcy:

Click to expand
```
[
  {
    "ID": "lkek5t1wvucggsahiibbadkey",
    "Version": {
      "Index": 267259
    },
    "CreatedAt": "2019-05-07T16:25:06.095308569Z",
    "UpdatedAt": "2019-05-07T16:25:06.102875471Z",
    "Spec": {
      "Name": "bemk_gateway",
      "Labels": {
        "com.docker.stack.image": "openfaas/gateway:0.12.0",
        "com.docker.stack.namespace": "bemk",
        "traefik.docker.network": "bem-infra",
        "traefik.frontend.rule": "Host:bemk.kvnurs.intra;PathPrefix:/ui,/system,/function",
        "traefik.port": "8080"
      },
      "TaskTemplate": {
        "ContainerSpec": {
          "Image": "openfaas/gateway:0.12.0@sha256:a1a19f3ae5ec22736c3bfc8bc015ac1e37b000331d78060ad682a2185f0fa426",
          "Labels": {
            "com.docker.stack.namespace": "bemk"
          },
          "Env": [
            "basic_auth=true",
            "direct_functions=true",
            "direct_functions_suffix=",
            "dnsrr=true",
            "faas_nats_address=nats",
            "faas_nats_port=4222",
            "functions_provider_url=http://faas-swarm:8080/",
            "max_idle_conns=1024",
            "max_idle_conns_per_host=1024",
            "read_timeout=5m5s",
            "scale_from_zero=false",
            "secret_mount_path=/run/secrets/",
            "upstream_timeout=5m",
            "write_timeout=5m5s"
          ],
          "Privileges": {
            "CredentialSpec": null,
            "SELinuxContext": null
          },
          "StopGracePeriod":<PHONE_NUMBER>0,
          "DNSConfig": {},
          "Secrets": [
            {
              "File": {
                "Name": "basic-auth-password",
                "UID": "0",
                "GID": "0",
                "Mode": 292
              },
              "SecretID": "k8rydiia40olxw5ru3dozacrr",
              "SecretName": "basic-auth-password"
            },
            {
              "File": {
                "Name": "basic-auth-user",
                "UID": "0",
                "GID": "0",
                "Mode": 292
              },
              "SecretID": "eebdvlrv76odbhllu9vimyc5q",
              "SecretName": "basic-auth-user"
            }
          ],
          "Isolation": "default"
        },
        "Resources": {
          "Reservations": {
            "MemoryBytes": 104857600
          }
        },
        "RestartPolicy": {
          "Condition": "on-failure",
          "Delay":<PHONE_NUMBER>,
          "MaxAttempts": 20,
          "Window":<PHONE_NUMBER>00
        },
        "Placement": {
          "Constraints": [
            "node.platform.os == linux",
            "node.labels.stage==kons"
          ],
          "Platforms": [
            {
              "Architecture": "amd64",
              "OS": "linux"
            }
          ]
        },
        "Networks": [
          {
            "Target": "kv2zpddui95l31oy43vmcu61r",
            "Aliases": [
              "gateway"
            ]
          },
          {
            "Target": "v7hygd71jlcyi0h0idutfjzpp",
            "Aliases": [
              "gateway"
            ]
          }
        ],
        "ForceUpdate": 0,
        "Runtime": "container"
      },
      "Mode": {
        "Replicated": {
          "Replicas": 1
        }
      },
      "UpdateConfig": {
        "Parallelism": 1,
        "FailureAction": "pause",
        "Monitor":<PHONE_NUMBER>,
        "MaxFailureRatio": 0,
        "Order": "stop-first"
      },
      "RollbackConfig": {
        "Parallelism": 1,
        "FailureAction": "pause",
        "Monitor":<PHONE_NUMBER>,
        "MaxFailureRatio": 0,
        "Order": "stop-first"
      },
      "EndpointSpec": {
        "Mode": "vip"
      }
    },
    "Endpoint": {
      "Spec": {
        "Mode": "vip"
      },
      "VirtualIPs": [
        {
          "NetworkID": "kv2zpddui95l31oy43vmcu61r",
          "Addr": "<IP_ADDRESS>/24"
        },
        {
          "NetworkID": "v7hygd71jlcyi0h0idutfjzpp",
          "Addr": "<IP_ADDRESS>/24"
        }
      ]
    }
  }
]
```

Service description
The service is in network bemp_bem=mjr1cepesm7y, while it should be in bemk_bem=v7hygd71jlcy:

Click to expand
```
[
    {
        "ID": "w20an7j2808vpg0ihhrog19bk",
        "Version": {
            "Index": 267290
        },
        "CreatedAt": "2019-05-07T16:25:50.620581814Z",
        "UpdatedAt": "2019-05-07T16:25:50.629501719Z",
        "Spec": {
            "Name": "bemkfunc-bem-ingestlist",
            "Labels": {
                "com.openfaas.function": "bemkfunc-bem-ingestlist",
                "function": "true"
            },
            "TaskTemplate": {
                "ContainerSpec": {
                    "Image": "bem-docker-registry.kvnurs.intra:443/bem-ingestlist:latest",
                    "Labels": {
                        "com.openfaas.function": "bemkfunc-bem-ingestlist",
                        "function": "true"
                    },
                    "Env": [
                        "content_type=application/xml",
                        "exec_timeout=60",
                        "read_timeout=60",
                        "write_debug=false",
                        "write_timeout=60"
                    ],
                    "StopGracePeriod":<PHONE_NUMBER>0,
                    "DNSConfig": {},
                    "Isolation": "default"
                },
                "Resources": {},
                "RestartPolicy": {
                    "Condition": "any",
                    "Delay":<PHONE_NUMBER>,
                    "MaxAttempts": 5
                },
                "Placement": {
                    "Constraints": [
                        "node.platform.os == linux"
                    ]
                },
                "Networks": [
                    {
                        "Target": "mjr1cepesm7yg4bxo1wrzdunz"
                    }
                ],
                "ForceUpdate": 0,
                "Runtime": "container"
            },
            "Mode": {
                "Replicated": {
                    "Replicas": 1
                }
            },
            "UpdateConfig": {
                "Parallelism": 1,
                "FailureAction": "pause",
                "Monitor":<PHONE_NUMBER>,
                "MaxFailureRatio": 0,
                "Order": "stop-first"
            },
            "RollbackConfig": {
                "Parallelism": 1,
                "FailureAction": "pause",
                "Monitor":<PHONE_NUMBER>,
                "MaxFailureRatio": 0,
                "Order": "stop-first"
            }
        },
        "Endpoint": {
            "Spec": {},
            "VirtualIPs": [
                {
                    "NetworkID": "mjr1cepesm7yg4bxo1wrzdunz",
                    "Addr": "<IP_ADDRESS>/24"
                }
            ]
        }
    }
]
```

Possible Solution
The manual deployment function in the faas portal has an option to enter a network during function deployment. Maybe have a network option in stack.yml?
Steps to Reproduce (for bugs)
I have no live example, unfortunately.
Context
I try to create two stages in the same docker swarm.

Swarm

Operating System and version (e.g. Linux, Windows, MacOS):
SuSE SLE12 SP4

Link to your project or a code example to reproduce issue:
https://gitlab.la-bw.de/dimag/bestandserhaltungmodul/tree/master/bem_openfaas

Please use --network i.e.
faas-cli deploy --network=specific_network

# or edit stack.yml in the provider section and set the network there

the given workaround is sufficient

We could try to make this easier, but I think it will mean hard-coding the network name somewhere in the gateway deployment. Let's see what production usage of Swarm is like over the coming months to gauge demand.


SD card example with SPI has compilation errors (IDFGH-11832)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
The newest Version on GitHub
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
CMD
What is the expected behavior?
I'm using an ESP32-S3-WROOM-1 N16R8, VSCode and PlatformIo. The SD card is
https://www.aliexpress.com/item/1005006028969168.html?spm=a2g0o.order_list.order_list_main.17.21ef1802D7InG1
The example "https://github.com/espressif/esp-idf/blob/master/examples/storage/sd_card/sdspi/main/sd_card_example_main.c" compiles with errors.

The SD card is ok, it works fine with an Arduino.
Is there a working example for the processor mentioned above?
What is the actual behavior?
compile errors
Steps to reproduce.

Change the example to meet the Arduino Lib (setup and loop)

Change the GPIOs
#define PIN_NUM_MISO GPIO_NUM_15  // MISO (Grün)
#define PIN_NUM_MOSI GPIO_NUM_14  // MOSI (Blau)
#define PIN_NUM_CLK GPIO_NUM_16   // SCK  (Gelb)
#define PIN_NUM_CS GPIO_NUM_13    // SD_CS (Orange)

build
...

Build or installation Logs.
Processing esp32-s3-devkitc-1 (platform: espressif32; board: esp32-s3-devkitc-1; framework: arduino)
------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html
PLATFORM: Espressif 32 (6.4.0+sha.516520f) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 3.20011.230801 (2.0.11)
 - tool-esptoolpy @ 1.40501.0 (4.5.1)
 - toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
 - toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 33 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio\build\esp32-s3-devkitc-1\src\main.cpp.o
src/main.cpp: In function 'void setup()':
src/main.cpp:104:35: error: invalid conversion from 'int' to 'spi_host_device_t' [-fpermissive]
     ret = spi_bus_initialize(host.slot, &bus_cfg, SDSPI_DEFAULT_DMA);
                              ~~~~~^~~~
In file included from C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/spi_master.h:12,
                 from C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/sdspi_host.h:14,
                 from C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/fatfs/vfs/esp_vfs_fat.h:20,
                 from src/main.cpp:16:
C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/spi_common.h:156:48: note:   initializing argument 1 of 'esp_err_t spi_bus_initialize(spi_host_device_t, const spi_bus_config_t*, spi_dma_chan_t)'
 esp_err_t spi_bus_initialize(spi_host_device_t host_id, const spi_bus_config_t *bus_config, spi_dma_chan_t dma_chan);
                              ~~~~~~~~~~~~~~~~~~^~~~~~~
src/main.cpp:114:32: error: invalid conversion from 'int' to 'spi_host_device_t' [-fpermissive]
     slot_config.host_id = host.slot;
                           ~~~~~^~~~
src/main.cpp:171:11: error: 'esp_vfs_fat_sdcard_format' was not declared in this scope
     ret = esp_vfs_fat_sdcard_format(mount_point, card);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp:171:11: note: suggested alternative: 'esp_vfs_fat_sdcard_unmount'
     ret = esp_vfs_fat_sdcard_format(mount_point, card);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
           esp_vfs_fat_sdcard_unmount
src/main.cpp:203:23: error: invalid conversion from 'int' to 'spi_host_device_t' [-fpermissive]
     spi_bus_free(host.slot);
                  ~~~~~^~~~
In file included from C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/spi_master.h:12,
                 from C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/sdspi_host.h:14,
                 from C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/fatfs/vfs/esp_vfs_fat.h:20,
                 from src/main.cpp:16:
C:/Users/adi/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/spi_common.h:169:42: note:   initializing argument 1 of 'esp_err_t spi_bus_free(spi_host_device_t)'
 esp_err_t spi_bus_free(spi_host_device_t host_id);
                        ~~~~~~~~~~~~~~~~~~^~~~~~~
*** [.pio\build\esp32-s3-devkitc-1\src\main.cpp.o] Error 1
================================== [FAILED] Took 1.87 seconds ==================================

More Information.
No response

The issue is that you are trying to compile the original C source code of the example as C++ (main.cpp). While often valid C code usually is also valid C++ code, this is not the case here, as C++ doesn't allow implicit casts from ints to enums.
You can either switch to using C (which might not be possible as you are using the Arduino framework) or modify the code to be valid C++, for example by adding a type cast to spi_host_device_t.

Thank you for the tips. The example from version 4.4 with the corresponding casts could be built without errors.

The issue is that you are trying to compile the original C source code of the example as C++ (main.cpp). While valid C code usually is also valid C++ code, this is not the case here, as C++ doesn't allow implicit casts from ints to enums.
You can either switch to using C (which might not be possible as you are using the Arduino framework) or modify the code to be valid C++, for example by adding a type cast to spi_host_device_t.
One more note,

IDF version.
The newest Version on GitHub

I think it's actually v4.4.x, since you are using Arduino-esp32 v2.0.11, and it uses the older release/v4.4 branch of ESP-IDF. However this doesn't matter for the issue you are facing. Just make sure you are taking the example code from release/v4.4 branch of IDF and not from master.

Thank you for the tips. The example from version 4.4 with the corresponding casts could be built without errors.


[REVIEW] Change count_nonzero_mask to use libgdf

Changes to _gdf.py and column.py to change calls of count_nonzero_mask to use new libgdf implementation. Also delete existing cudautils.py existing one.
NOTE: it requires corresponding libgdf merge: https://github.com/gpuopenanalytics/libgdf/pull/147

LGTM pending test results after libgdf merge.

There are 315 test failures, with the form:
13:54:53 self = <libgdf_cffi.wrapper._libgdf_wrapper object at 0x7f3b42cece48>
13:54:53 name = 'gdf_count_nonzero_mask'
13:54:53
13:54:53     def __getattr__(self, name):
13:54:53         try:
13:54:53             return self._cached[name]
13:54:53         except KeyError:
13:54:53 >           fn = getattr(self._api, name)

Ahh but that is because gpuopenanalytics/libgdf#147 hasn't been merged yet.

rerun tests

rerun tests

Merging!


fix(ui): Fix accessibility problems in KeyValuePairs for Risk

Description
Problems
Deployment Details tab

4 serious: List element has direct children that are not allowed: div

Under Resources:

CPU Request (cores)
CPU Limit (cores)
Memory Request (MB)
Memory Limit (MB)

More under Secrets if I select a deployment that has them.
Analysis

src/Components/KeyValuePairs,js is used only in Risk:

src/Containers/Risk/ContainerConfigurations.js
src/Containers/Risk/DeploymentDetails.js
src/Containers/Risk/SecurityContext.js

It looks like copy-paste. ContainerVolumes renders li elements, but Resources and ContainerSecrets render div elements.
Found only 3 ocurrences of tracking-normal Tailwind class: obsolete and in Risk.
No integration tests depend on data-testid attributes for KeyValuePairs.

Solution

Move KeyValueMap.js from src/Components to src/Containers/Risk
Replace ul with div element so Resources and Secrets have consistent layout without accessibility warning.
Delete tracking-normal class.
Delete data-testid prop.

Checklist

[ ] Investigated and inspected CI test results
[x] ~Unit test and regression tests added~

Testing Performed
Manual testing

Visit /main/risk, click Deployment Details and inspect

Resources

Volumes

Secrets

Integration testing

yarn cypress-open in ui/apps/platform

risk/risk.test.js

Running:  policies/policiesTable.test.js (48 of 85)

Started compressing: Compressing to 32 CRF
Error: write EPIPE

gke and even ocp-4-10 passed, so give ocp-4-13 another chance to succeed
/test ocp-4-13-ui-e2e-tests


Disable CUB SpMV on CUDA 11.x

This is a temporary workaround until we figure out a proper solution, see https://github.com/cupy/cupy/issues/3822#issuecomment-782607637.
cc: @emcastillo

Jenkins, test this please

Jenkins CI test (for commit 1ecf1660577bba93b585e076bb789654d388c8a1, target branch master) failed with status FAILURE.

Btw I think this is a bug fix.

Jenkins, test this please

Jenkins CI test (for commit 1ecf1660577bba93b585e076bb789654d388c8a1, target branch master) succeeded!


Implement missing bits for an external servertype

Make ServerListeners public and add two helper methods to get access
to the address they listen on. This is useful for tests (among other
things)
Also make DefaultConfigFile a var so it can be overridden by server
types.

How do you sign the CLA?

This is weird, there should be CI checks too from both Travis and AppVeyor. The CLA is powered by CLA Assistant, but I don't know why it hasn't showed up. Anyway, you've already signed it.


Es6 Awesome book

-Add Book
-Remove Book
-View Added Book List
-Add Contact section
-Add Luxon Time
-Add ES6 JavaScript Feature

Hi @Yonasle, please add a heading and description to your readme 👍🏿

Hi @Yonasle
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that does not have a readme heading and description, please add it this this will make your readme me professional and descriptive 👍🏿
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification @prolajumokeoni.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


The GUI is not responsive when clicking translate

Currently, translation calls marian like this:
https://github.com/XapaJIaMnu/translateLocally/blob/35d50461dba24447ceed72890950446931077784/MarianInterface.cpp#L26
Which will hang the GUI, until the model is fully loaded (if not loaded) or translation is produced. Instead we should emit a signal when the translation is ready that matches a slot on the GUI.

Fixed.


Issues with tl_agent monitor

This error message is tested and found when running i2c_sanity and uart_sanity

This error seems happening for Xcelium only, it works fine with VCS

This has been fixed


search for VM Pods by ownerReference

@rawagner, still on the wish-list, right?
/remove-lifecycle rotten
/reopen


Parallel processing on SQS broker

SQS Broker fetches and processes micro-batches sequentially. Each batch is processed only after the previous is completed. Consider the usage of window approach instead.

Parallel processing is configured using the capacity property of the dequeue channel (see CapRcv). No extra parallel processing is needed.


Add support for other git remote names

Currently, only remotes called origin are used

I actually didn't really look at the code and saw that it only prefers the origin remote and uses remotes[0] otherwise.
Strangely, the RPC button only seems to work in the web version of Discord for me, not in the desktop app but I don't think that's an issue with the extension


Bump version to next release

@adashen Suggest making a better title for PRs next time, so that the commit title will be meaningful after we squash and merge.