cmp.ConfirmBehavior.Insert should not replace text to the right

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true })
  },

  sources = cmp.config.sources({
    { name = "nvim_lsp" },
    { name = "buffer" },
  }),
}
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require'lspconfig'.gopls.setup {
  capabilities = capabilities,
}
EOF

Base cmp-repro, only replaced css lsp with gopls.
Description
When completing an item while having text on the right, that text (word boundary it seems) is always replaced, also with ConfirmBehavior.Insert.
Steps to reproduce
Create main.go:
package main

import (
	"errors"
	"fmt"
)

func main() {
	err := errors.New("err")
	fmt.Println(err.Error())
}

Put cursor here:

fmt.Println(err.Error())`
^-------

press i
type errors
press enter (<CR>)
fmt is replaced with errors

Expected behavior
I expected errors to be inserted and fmt to be still there, like errorsfmt.
Actual behavior
fmt is replaced with errors.
Also when I configure cmp-repro with     ['<CR>'] = cmp.mapping.confirm({ select = true, behavior = cmp.ConfirmBehavior.Insert }), the behavior is still the same.
When I first add a space (so there is a one space on the right side of the cursor in insert mode) it works ok, but it's cumbersome to add that space every time.
Additional context
If this is a feature, not a bug, how to efficiently go into insert mode and add code without having to add a space first?

Same problem

The same problem, it looks like "cmp.ConfirmBehavior.Insert" doesn't have any effect.

duplicated https://github.com/hrsh7th/nvim-cmp/issues/611


Reload instead of restart

This PR change the manager to reload when kubevirt is found
instead of reseting the pod
Before this PR if we deploy kubemacpool before kubevirt we start
a check loop for the virtual machine CRD and when we found it we
restart the kubemacpool pod to load the new watch controller.

A present for me!

@phoracek can you take another look please?

Done with the requested changes @phoracek can you take another look please?


Follow-up fixes for __main__.py

See comments in #2563.

\cc @andersk

Oops -- closing in favor of #2574.


Implement WebRTC Data Channels (RTCDC)

Abstract:
Direct interactive rich communication using audio, video, and data between two peers' web-browsers.  This document specifies the non-media data transport aspects of the WebRTC framework.  It provides an architectural overview of how the Stream Control Transmission Protocol (SCTP) is used in the WebRTC context as a generic transport service allowing WEB-browsers to exchange generic data from peer to peer.
https://tools.ietf.org/html/draft-ietf-rtcweb-data-channel-13
https://github.com/xhs/librtcdc/blob/master/src/rtcdc.h
https://github.com/xhs/librtcdc/blob/master/src/rtcdc.c

What happened to this?


Formula error display in RMSprop

URL(s) with the issue: https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/keras/optimizers/RMSprop
Description of issue (what needs changing): the sub-indexes in the formula are not displayed correctly.
Clear description
As an example, meansquared_{t} appears like mean_{s}quaredt and so on.

This is fixed with TF 2.2 api docs and above. Thanks!
https://www.tensorflow.org/versions/r2.2/api_docs/python/tf/keras/optimizers/RMSprop


CONST part of Expression produces error in setObjective

the code in set objective says
assert isinstance(coeffs, Expr)
for term, coef in coeffs.terms.items():
    var = <Variable>term[0]
    PY_SCIP_CALL(SCIPchgVarObj(self._scip, var.var, coef))

which produces an error when term is (), ie, the CONST part of coeffs.
A solution is to put an if coef != 0.0: before. It this okay?

it seems that a commit msg like "fixes #28" doesn't close this.
Fix with 8198f78

The fix is incomplete, unfortunately. The call to setObjective still fails on nonlinear expressions, or with non-zero offsets. I'll prepare a patch.


Address pending comments in the evidence parsers

From the new pipeline of the evidence parsers, I've collected these comments to be tackled in successive PRs. Feel free to add any features we may want to introduce.

[ ] Removal of the setting.py in favour of configuration.yaml
[ ] Address the fact that we have to run the pipeline from the root directory
[ ] Review the necessity of the fetch rules in a similar way as this Genetics Portal script: https://github.com/opentargets/genetics-v2d-data/blob/master/snakefiles/study_and_top_loci_tables.Snakefile
[ ] Integrate all dependencies into one single file
[ ] Maintain a consistent style of the code in line with the rest of our codebase
[ ] Make it compatible with Python 3.9.
[ ] Give a twist to storing all files in tmp, as Snakemake creates a temporary local directory following the structure of the remote directory. We could save the step of copying all the files to tmp.
[x] Where do we want to store the log file?
[ ] Review the satellite files usefulness (ontology_config.ini, .gitignore,...).
[ ] Update the README
[ ] Dockerise the module
[x] Orphanet: drop evidence where targetFromSourceId is null.

Pending tickets:

[x] PROGENy evidence parser issues: #713

Unify the handling of:

[ ] Argument parsing
[x] Ontology mapping
[x] Spark configuration
[x] Evidence string validation
[x] Output of summary statistics (number of evidence, distinct targets and diseases)

When outputting final evidence, don't coalesce(0) — instead concatenate JSONs within the parser. This approach had been discussed & confirmed during the stand-up meetings.

There are a few new things, which don't have ticket at the moment, but should be scoped at some point in the future:

[ ] The config yaml file has references to other repositories and it requires their release. It needs to be refactored so versions will only needs to be set once. Eg.

used_versions:
  efo: "v.3.50.0"
  curation: "23.02"
  json_schema: "2.2.10"

[ ] We need to re-write the environment again... we are getting deprecation warning:

  DEPRECATION: stopit is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for stopit ... done
  DEPRECATION: connection-pool is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for connection-pool ... done
  DEPRECATION: pyspark is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for pyspark ... done
  DEPRECATION: future is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for future ... done
  DEPRECATION: pandarallel is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for pandarallel ... done
  DEPRECATION: snakemake is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for snakemake ... done

We can consider dropping impc evidence that are not mapped to EFO. Currently there are ~50k of them.


Operator install from OperatorHub fails because the package is not found

From time to time, in the CI, NFD or the GPU Operator fail to be installed from OperatorHub, because the PackageManifest is not found:
<command> oc get packagemanifests/gpu-operator-certified -n openshift-marketplace
<stderr> Error from server (NotFound): packagemanifests.packages.operators.coreos.com "gpu-operator-certified" not found

<command> oc get packagemanifests/nfd -n openshift-marketplace
<stderr> Error from server (NotFound): packagemanifests.packages.operators.coreos.com "nfd" not found

The issue here is a race condition between the CatalogSource being populated (at the end of the cluster installation) and our playbooks requesting the package installation.
This is confirmed by this command:
 <command> oc get -oyaml CatalogSource/certified-operators -n openshift-marketplace -ojsonpath={.status.connectionState.lastObservedState}{"\n"}

which returns READY when the catalog is fully populated (install shouldn't fail)
<stdout> READY

or CONNECTING when the catalog is being populated (install may or may not work)
<stdout> CONNECTING

The solution will be to wait for 1/ the package to be found 2/ the catalog to be ready (which ever comes first):
  - name: Wait for the GPU Operator to be available or its catalog to be fully populated
    when: gpu_operator_package_available.rc != 0
    shell:
      oc get packagemanifests/gpu-operator-certified -n openshift-marketplace
         ||
      test $(oc get -oyaml CatalogSource/certified-operators
                -n openshift-marketplace
                '-ojsonpath={.status.connectionState.lastObservedState}{"\n"}') == "READY"
    register: gpu_operator_package_wait
    until: gpu_operator_package_wait.rc == 0
    retries: 15
    delay: 30

is the catalog is ready but the PackageManifest is not available, that's a failure.


How do I adjust color?

I am getting really annoyed on how dark blue color is

Any way to easily change it, adjust it?
Sorry for picking brain if its not part of zim
I realize it could be part of the terminal application or some core zsh setting or something else, but maybe some direction?

That's the terminal color scheme, you should be able to change it from there.

lol I was just writing how i use termite on one machine and the other I ssh to is running just virtual console...
well me dumb, what do I use to ssh in to that machine.... termite!
thnx


Crash reporting policy code needs refactoring

In https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/runtime.cc I failed to understand the crash reporting mode selection code in review. This wants refactoring to separate policy and mechanism to where the logic is human-readable.

Hum, I'm not really familiar with this code, IIRC Chris own most of it, did you had a design in mind ?

This is further to Chris' comment on <
https://codereview.chromium.org/1992773002/#msg10>:

Maybe it makes more sense to consolidate the policy decision somewhere, and to
report the crash reporter used as the group?

I agree, it's scattered and messy. I really don't want to have to refactor this,
and would much rather *Seb *own that.
On Fri, May 20, 2016 at 10:04 AM Sébastien Marchand <
<EMAIL_ADDRESS>wrote:

Hum, I'm not really familiar with this code, IIRC Chris own most of it,
did you had a design in mind ?
—
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
https://github.com/google/syzygy/issues/45#issuecomment-220614280

It's imposed legacy from the way the feature flags originally worked. I've ended up refactoring it a few times in an attempt to make it readable, but I think we're hitting a wall now. Since you were already refactoring the rest of the feature flag code I was hoping you could own pushing this all the way through.

Sure, I'll look at this.


Verify installation id

This PR requires INSTALLATION_ID to be in the environment and checks this against the issue_comment source. This should prevent any issues with the app being public.

Wrong repo again, sorry about that.
Our fork has diverged significantly, I should convince GitHub that parity's is no longer a good default base for PRs...


buddy got disconnected on malformed xml message received

when you send some malformed xml to your buddy, the server disconnect your buddy.
this is example of what you need to send to get your buddy disconected:
<test>test

checking this issue by sending well-formed and malformed xml message to different clients
1.) from Xabber to Pidgin:
msg:
 - passed fine and it is delivered (wel-formed xml message in text form)
test - disconnects buddy on Pidgin immediately
2.) from Pidgin to Xabber:
msg:
 - does not deliver, but does not disconnect.
test - disconnect buddy on Xabber immediately
all the messages are sent in clear test, in a way that user can type on its keyboard

Fixed on 0.1.3 release. Thank you.


ci: downgrade black

Description
Downgrade black
Motivation and Context
Latest black release causes the following error (reproducible both locally and during CI run)

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

:tada: This PR is included in version 0.3.1 :tada:
The release is available on PyPI and GitHub release

Posted by semantic-release bot


UISearchController compatibility

Is it possible to add UISearchController to large navigation bar with Parchment paging controller?

I haven't tried myself, but I'm pretty sure that should be possible. Are you running into some issues with it?

Yep, UISearchController doesn't work when pagingController.collectionView is added to navigation bar:(

Can you provide a bit more details on what is not working? This doesn't sound like something that's specific to Parchment

Hey!
On today's morning I've figured out that it was my fault and it wasn't specific to Parchment😅
@rechsteiner thank you for help!


Vendor dll is being cached by browser

Hi guys, can I check something.
I have small error showing up in the console in the redux branch. The steps I took are :
git clone repo
git checkout feature/redux
yarn install
yarn run development
Upon checking localhost:1337 there is error printed out
Uncaught TypeError: Cannot read property 'call' of undefined
at webpack_require (bootstrap c6d47b1…:19)
at Object. (module.js from dll-reference dev_vendor_dll:1)
at webpack_require (bootstrap 74a3122…:659)
at fn (bootstrap 74a3122…:83)
at Object. (isBuffer.js:38)
at webpack_require (bootstrap 74a3122…:659)
at fn (bootstrap 74a3122…:83)
at Object. (_arrayLikeKeys.js:4)
at webpack_require (bootstrap 74a3122…:659)
at fn (bootstrap 74a3122…:83)
Is this something I should fix? Thank you very much for this great boilerplate.

I had the same issue. If I remember correctly, the fix was to run npm run clean
I think there might be something going on with the caching. I'm building on top of the boilerplate and seeing similar errors: "Cannot read property X of undefined" as I add new dependencies. But if I run chrome in Incognito or clear my browser cache the errors go away.

Interesting... I'll keep my eye on this.
Also worth noting, if you run a npm run build and npm run start a service worker will be registered that does some heavy caching.  Make sure you go to the Applications tab of Chrome Dev Tools and then unregister it.

@ctrlplusb Thanks for the follow up. FYI - I unregistered the server worker and still had some issues in chrome. My only fix was to load "http://localhost:3030/client/dev_vendor_dll.js" directly and force refresh.  🤔

Thanks! That actually gives me lots of insight into the issue!

Staged in next

well that was fast. too fast. :)
thank you for the updates.

well that was fast. too fast. :)
thank you for the updates.


Add support to define widget preview and see it in the IDE when developing

Use case
It is difficult to quickly find out what widget contains the dart file when opening it in the IDE. A developer has to read the code and try to guess what the widget looks like and whether this is the widget he searches for. Because of that, it is hard to get oriented in a project with a large code base or when joining a project created by someone else, or simply when you don't remember widget names by heart. One has to run the app and search for a particular widget e.g. based on strings visible in the app UI.
Also, a developer has to run the app when developing even a simple widget.
Proposal
I would like to see a widget preview(s) when opening a dart file. Also, I would like to be able to define some example data for the widget preview, or even more preview options like font scale.
That would allow me to develop widgets without a need to run the app and orient quickly in the project.
In general, it would be useful to have the preview functionality similar to:
• Android Compose annotations - @Preview/@PreviewParameter
- https://developer.android.com/jetpack/compose/tooling#preview
• or Swift UI PreviewProvider
Btw: it seems that there is starting one project that is similar to what I aim for -  https://pub.dev/packages/idea_widget_preview

I strongly second this one.
I'm coming to Flutter from a UIKit/SwiftUI background and I'm amazed that  there's no first-party tool to preview widgets.
This is a must-have feature.

totally agree, will be wasting a lot of time in file seeking at the current stage

I am also troubled by this problem, I still can't quickly preview the layout file like in the android project, please officially launch the weight preview tool as soon as possible

I think the best way to understand the use case is, e.g., to download the Android compose-samples project (LINK) and open the JetNews sample project in Android Studio.
Below is an Android Studio screenshot from the JetNews project.
Let's say I'm interested in the PostCardPopular UI component.
I don't have to run the app and find where it is displayed in the app to see how the component looks to find out whether this is the component I searched for.
I can open the file and directly display the preview on the right side.
You can do the same for Android projects with XML-based layouts or iOS projects with Swift UI.
It would be very helpful to have such previews available also for Flutter development.

That sounds like a yes? That seems like a reasonable use case.
It looks like https://pub.dev/packages/idea_widget_preview is indeed working on that use case, is it sufficient for your needs or are there use cases it doesn't handle?
It does seem like it would be particularly nice to be able to do this without having to define an explicit Preview widget and without having to be on an IDE (e.g. it'd be nice to have this inline in GitHub while looking at a codebase).

Yes, you described the use case correctly - the idea is to navigate a codebase and quickly see for each Widget subclass what a typical instance of that widget looks like.
Unfortunately, the idea_widget_preview plugin was recently deprecated and removed from the JetBrains marketplace.
It is mentioned here: https://github.com/andrasferenczi/idea_widget_preview
I'm currently not aware of any other similar solution for Android Studio.
Such functionality is essential for developers and its lack negatively influences developer experience and productivity.

FWIW the author of that package says they'd be happy for someone to take it over, it sounds like they just moved on to other things, it wasn't a technical problem with the plugin that caused it to be abandoned. I would definitely encourage people to take them up on that offer if this is something that interests you.
I've also approached our VS Code plugin team about this. It sounds like there's a difficulty in that environment in that we'd have to use Flutter for web since VS Code is basically a web page and embedding native windows into that environment would be non-trivial. That would introduce some unfortunate latency.
I wonder how we could get previews into something like GitHub's UI. That would be amazing.

(Assigning to myself to follow up on the idea and maybe write a design doc, not to implement it.)

This feature would be a huge upgrade in developer experience. I miss Android's XML UI editor from the old days. Flutter felt like a step backward in this particular direction.

@reidbaker suggests that something could be built in an IDE that displays widgets defined in a widget test as an MVP.

cc @anderdobo @jacob314 FYI

avoiding having to explicitly write code for this (like with swiftui/jpc) would be a huge win.

avoiding having to explicitly write code for this (like with swiftui/jpc) would be a huge win.

As a SwiftUI developer myself, I don't mind writing this code as it allows me to write configurations so my previews can reflect real use cases, be put in ScrollViews, inside constrained layouts, etc.
Just my opinion. Anyway, it would be cool if Flutter supported this feature indeed.

Any update on this? Would love a feature like that.

Nothing to report yet, but our team is making progress on our investigations for this feature.

The fact that we can't see previews for the individual widgets we create is the biggest productivity hindrance to this framework.
So, unless we run our app (with all the data and piping necessary), navigate to our route, we don't get to see what the widget looks like.  The documentation is here https://docs.flutter.dev/cookbook/testing/widget/introduction and it is specifcally designed for letting you test widgets independent of running an app.

@reidbaker appreciate the reply. But, I'd like to see my widgets, not test them. 😭🤌

Widget tests have the ability to compare to a golden screen shot so you can see them.

@reidbaker while that's true, there's quite a bit more latency between making a change and viewing the golden screenshot.
@adifyr, as mentioned by @anderdobo, this is currently being investigated. While we don't have anything concrete to report yet, we're currently working on a high level design for this functionality and will hopefully have more to share in the coming months.

Here are my thoughts from flutter forum on why we need this
So I was working on SwiftUI last week and found the #Preview feature which is similar to the @Preview feature in Jetpack Compose. So I thought it would be great to have this feature in Flutter in-build DevTool as well. Although we can argue that hot-reload is fast enough to make this all work, but here are the reasons I would love to have them:

Prototype a small widget in isolation: This is especially helpful in big projects where you need to design a small widget that is deeply embedded within a user workflow. In order to test with hot-reload, you need to go through that workflow and test it. There are tool like Storybooks, but then I would have to create all my reusable theme and style components to be there and also keep them up to date.

Live test with different inherited models: SwiftUI provides a .environment modifier which takes the model we want to use in our SwiftUI View. A similar idea could be used in Flutter for an InheritedWidget or a third-party package that supports it.

Interaction in small widgets: The #Preview feature in SwiftUI is interactive. I can test small UI changes easily in the preview itself. Like show/hide and toggles.

I am aware that there are some third-party packages available for similar things, but they require some additional Dart code to set up inside the app.

@burhanrashid52 thank you for your insights on the use case. As @bkonyi mentioned, we're actively working on this so stay tuned!


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

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

@@           Coverage Diff           @@
##           master     #385   +/-   ##
=======================================
  Coverage   83.56%   83.56%
=======================================
  Files           1        1
  Lines         213      213
=======================================
  Hits          178      178
  Misses         35       35

Continue to review full report at Codecov.

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

Coverage remained the same at 84.322% when pulling 4438b7b49d0d2f44716845c26dee91d0cd8267aa on template-sync-1 into b76e4ebc45f764fd63bca99843297f8e8f42c37e on master.

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Problem with tsummary dataset

Hi,
I am currently struggling with running 3.5-investigate.R:
The function
tsummary %>%   filter(!is.na(CO2_ppm_s_sd), Treatment != "Ambient") %>%    arrange(desc(CO2_ppm_s_sd)) %>%   select(Date, Treatment, Temperature, CO2_ppm_s_sd, CO2_ppm_s, inctime_days, samplenums) ->   smry_co2
is not working due to the tsummary dataset only having the columns "Core", "Treatment", "Temperature" (in my case).
The error is as follows:
Error in filter_impl(.data, dots) : object 'CO2_ppm_s_sd' not found
Is there a solution for it?

Hi @MarkusKonk - you don't need to run this script; I used it to investigate the data at one point, but let it fall out of date I suspect, and it doesn't produce any output. Sorry for the confusion! So I'd suggest ignore, and go on to 4-fluxes.R.


Wasm/web proof of concept

Rust on the web via Wasm in Dart should be proven as a concept.
Target wasm32-unknown-emscripten or wasm32-unknown-unknown.
See the related issue on the Dart side: https://github.com/ManyMath/monero-web/issues/1

See also https://github.com/ManyMath/monero-web-rust/issues/2 which is not going to involve Dart in any way.

Migrated to https://github.com/ManyMath/monero-ffi/issues/2


Auto calcu indentation

Codecov Report
Patch coverage: 94.44% and project coverage change: -0.56% :warning:

Comparison is base (9dd1324) 86.72% compared to head (f0e0994) 86.17%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #210      +/-   ##
==========================================
- Coverage   86.72%   86.17%   -0.56%
==========================================
  Files          21       21
  Lines        1228     1208      -20
==========================================
- Hits         1065     1041      -24
- Misses        126      131       +5
+ Partials       37       36       -1

Files Changed
Coverage Δ

config.go
93.84% <ø> (-0.75%)
:arrow_down:

pipeline_tree_verifier.go
77.14% <ø> (ø)

simple_tree_verifier.go
60.71% <ø> (ø)

pipeline_tree.go
87.50% <66.66%> (ø)

node_generator.go
96.29% <100.00%> (-0.85%)
:arrow_down:

root_generator.go
79.12% <100.00%> (ø)

simple_tree.go
78.40% <100.00%> (ø)

stack.go
100.00% <100.00%> (+6.66%)
:arrow_up:

... and 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Style posts component

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
It looks ugly right now and somehow is making the side bar absolute ?? might be a bug

added styling but i think backend is down so cant see it


CI: Install cargo-binutils

See https://github.com/hermitcore/rusty-hermit/pull/186/commits/c19b63d31bdb6b2ea6167b2008ee7a82e5a8162a

bors r+

bors r+

bors r+

bors r+

bors r+

bors r+

bors r+

bors retry

bors try

bors try

bors try

bors r+


Add Azure Queue Storage output

Hi!
I've created this Azure Queue Storage output.
On this one, I had to use the "new" specific Azure Queue SDK go lib since the generic one used in blob and table storage doesn't implement the message enqueuing.
We can use interpolation for the queue_name and for the ttl fields. If ttl is not defined the messages won't have any retention period.
Ex:
output:
  queue_storage:
    storage_connection_string: "UseDevelopmentStorage=true;"
    ttl: '${! json("ttl") }'
    queue_name: '${! json("queue") }'

The Azure Queue Storage queue is created if it does not exist.
I'll try to have another PR soon with corresponding integration tests and Azure Queue Storage input as well.

Hey @mfamador, is your implementation of parsing of the connection string here the main reason that we went with the older client library before? If so then given the issues with timeout awkwardness we're seeing I think it might be worth using the new library in all the azure components since we're parsing this out anyway. What do you think?

Hi @Jeffail, yes, at least for the Blob Storage input/output it might work, not sure if everything is implemented in the new SDK, like access level and so on, but I'll check. If I remember correctly the connection string parsing was the main reason for changing it back to the "old" SDK.
Regarding Table Storage, I don't think there's a specific implementation for it, I guess we'll have to use the generic SDK for this one, AFAIK.

Ah okay, in that case if we need to keep the old lib around anyway let's leave the existing components as-is for now. I've decided it's probably best to keep all the azure components prefixed with azure_ as I'm (gradually) doing the same with AWS components, I've already updated the existing components: https://github.com/Jeffail/benthos/commit/0ff54f67463de7516afb25307785684b23595693, could you update this new one to match?
The old names (blob_storage and table_storage) can still be used for backwards compat.

The prefix azure_ is a good idea. I've changed in this one too.

Thanks @mfamador looks good!


Adds the BDF format converter

Adds the BDF format converter
Combines and Supercedes #86 #85 #84
@AndyC743 Does this look reasonable?

@bennybp Yes, I think it's good.

For my reference, can you point me to any info about what software uses BDF format?

http://<IP_ADDRESS>:7226/For BDF developers

Got it. Thanks!


Fix incorrect parameter order passed to assert_equal

This fixes the bug that I mentioned in https://github.com/ysbaddaden/minitest.cr/issues/18

You're right. I should have tests for error messages.
Can you fix wont_equal too?

Done. Let me know if you need me to do anything else on this?

Thank you!


add multi-gene multivariate analysis pipeline

@AnqiWang2021 this pipeline looks fine overall but we still need some clean up. I'll merge it for now until you let me know that this actually works on larger scale data. Then we can start finalizing it. Thanks!


Errors from the SoftLayer CPI need to be propagated to the bosh task log

During a deployment, the CPI tried to create a virtual guest. The request to the SL API failed with a 500 and the following response body:
{
   "error" : "There are insufficient resources behind router bcr04a.dal09 to fulfill the request for the following guests: diego-furnace-compilation-20160720-014141-450",
   "code" : "SoftLayer_Exception_Public"
}

The CPI then turned that into the following bosh error:
{
   "result" : null,
   "error" : {
      "message" : "Creating VM with agent ID '8812add0-5f04-4d03-8c90-8061e3215ce5': Creating VirtualGuest from SoftLayer client: softlayer-go: could not SoftLayer_Virtual_Guest#createObject, HTTP error code: '500'",
      "type" : "Bosh::Clouds::CloudError",
      "ok_to_retry" : false
   },
   "log" : ""
}

As you can see, all of the meaningful information from the error has been stripped. Debugging this issue requires direct access to the director VM and the CPI logs.

I ever raised the similar issue 101 for softlayer-go, we will improve it.

softlayer-go was updated so any release of CPI after should have this fixed.
Closing.


french translation

Hello!
First, it's a very good app, it replaced my battery indicator since 2 month but the French version of the app isn't right, I don't know how to code but I can help translate.

Hi @flavienhaas,
thank you very much, that would really be awesome! I always had a feeling the Google Translate translations aren't really that good. 😅
I'll upload a text file with the english texts (tomorrow or the the day after), then you can just write the french translation in there and I'll update the application translations accordingly.

Hi, I take a look but there's plenty of keys label missing I guess. Especially for the settings and preferences pages.
However I improved what you already have. You can find the reference #20

I've merged #20 - The other translations have to be made directly within Xcode's Interface Builder.

These are all translations that have to be made within Xcode's IB.
MainMenu-fr.txt

Closing due to inactivity.


XHTML Compatibility

I need to use w2ui on an (existing) xhtml-encoded webpage,
so I looked at the changes that would be required.
This this diff, I can already run w2ui grid+popup demos using xhtml encoding.
This diff:
1) Close tags properly
2) remove 'nbsp' entity
3) Fix and encode attributes correctly
4) Add xhtml version of grid/grid2/popup

Are you interested by this (and further) work with XHTML compatibility?

+1

Frankly, I am not sure there is a pressing need to make XHTML compatibility as people no longer crazy about it :). If you want to add closing tags, tbody, and nowrap="nowrap" I will accept your pull request. However, there were some issue with it (see my comments). Also, I did not know that   and & are not compatible with XHTML. Is it? I liked them in   and &amp form, as it is more readable.

There are 5 predefined entities that are guaranteed to be in every
XML dialect: http://www.edankert.com/overview/components.predefined-entities.html
Ok, I will split, complete and improve my patch in multiple commits,
with the  non-controversial "closing tags, tbody, and nowrap="nowrap"" first,
and the other commited separately.


Runtime automatic is not working

Describe the bug
When updated from @swc/core from v1.2.177 to v1.2.181 the runtime automatic not qorks. It instead outputs with the classic runtime:
Before update:

After updating:

Input code
No response
Config
{
  "jsc": {
    "target": "es2017",
    "transform": {
      "react": {
        "runtime": "automatic"
      }
    },
    "parser": {
      "syntax": "typescript",
      "tsx": true,
      "dts": true,
      "dynamicImport": true
    },
    "externalHelpers": true
  },
  "sourceMaps": true,
  "module": {
    "type": "es6"
  }
}

Playground link
No response
Expected behavior
The compiler should use the automatic runtime for jsx
Actual behavior
It's generating the code with the classic runtime with React.createElement
Version
1.2.181
Additional context
No response

Getting the same.

Seems like caused by #4575
I'll work on this.

It works with .swcrc

It's worth noting that my build scripts look like this:

Hmm..
Yeah, it's the most important thing I guess.
Seems like jsc.transform.react is overriden by the value provided by js-world invokation


Change from intkey to VR TP name

https://github.com/askmish/sawtooth-poet2/blob/f1b323b4d148e6739fec1f2b298df8a0c9b2bc47/src/validator-registry-tp/src/main.rs#L41

This issue has already been fixed.


Pyspark typo & Add missing abstractmethod annotation

No jira is created since this is a trivial change.
@davies  Please help review it

LGTM

Test build #47190 has started for PR 10143 at commit e00a84d.

Test build #47190 has finished for PR 10143 at commit e00a84d.

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/47190/
Test PASSed.

@davies  in case you forget it.

@davies I can merge this?


Add alpha_cutout property to materials to support transparency in deferred rendering.

Just because deferred can't blend doesn't mean we can't just discard fragments.
Also fiddled about trying to get Alpha To Coverage working for stippled alpha, since three-d supports MSAA, and would pose that as a challenge for later.

Realized later I pushed this on 0.9.0. Meant for master but was getting UnusedUniform("emissive") and had rolled back.

Nice 👍 I did the same thing for imposters, so yeah, I'm totally on board with this. But it needs to be merged into master. I fixed the issue with emissive so you should be able to make it work there now.
Just for my curiosity, why do you use the deferred pipeline and not just forward rendering?

The match block instead of boolean was left over from trying to enable Alpha to Coverage in the same property. Thinking later, they should be separate anyway, so a cutoff can be defined separate from the stippling to adjust the effect and not have too much 'fringe'.
The short version is I want dozens of dynamic lights in my scenes and also need to support texture swapping for flipbook animation. I was originally making quad strip meshes but that was preventing effective instancing. Instanced quads with arrayed textures for sprites is the next step.
https://github.com/asny/three-d/pull/159


[FEATURE] Set default fontFace in masters

It would be great if a default FontFace can be define for the whole PPTX.
He's there a way to do that ?

I suppose not :)

@gitbrent To clarify, is it possible to define a default FontFace in masters, so "Calibri" will not be used as default when editing PPTX further in Powerpoint or Keynote.

Documentation updated for new properties: Presentation Options


It got an error after upgrading danger-swiftlint to 0.30.0

+ bundle exec danger
bundler: failed to load command: danger (/Users/vagrant/git/vendor/bundle/ruby/2.6.0/bin/danger)
Danger::DSLError:
[!] Invalid `Dangerfile` file: swiftlint is not installed
 #  from Dangerfile:2
 #  -------------------------------------------
 #  swiftlint.config_file = '.swiftlint.yml'
 >  swiftlint.lint_files inline_mode: true
 #
 #  -------------------------------------------
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-swiftlint-0.30.0/lib/danger_plugin.rb:68:in `lint_files'
  Dangerfile:2:in `eval_file'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/danger_core/dangerfile.rb:311:in `eval'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/danger_core/dangerfile.rb:311:in `eval_file'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/danger_core/dangerfile.rb:204:in `block in parse'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/danger_core/dangerfile.rb:201:in `instance_eval'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/danger_core/dangerfile.rb:201:in `parse'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/danger_core/dangerfile.rb:287:in `run'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/danger_core/executor.rb:29:in `run'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/lib/danger/commands/runner.rb:73:in `run'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/gems/danger-8.4.2/bin/danger:5:in `<top (required)>'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/bin/danger:23:in `load'
  /Users/vagrant/git/vendor/bundle/ruby/2.6.0/bin/danger:23:in `<top (required)>'
[!] The exception involves the following plugins:
 -  danger-swiftlint

Same issue

I have this issue as well.

As far as I can tell, #179 fixes the issue. Feel free to test that it does.

@mvandervelden needs merge right first?

@aakarsh-sasi You could already use it by referring to the specific repo+branch or commit hash in your Gemfile.

This should also be fixed in version 0.30.1. (Thanks @mvandervelden!) @daidongon can you confirm please?

@mvandervelden @ashfurrow
Thank you. It worked fine.


[console][typing] Extract color-system-as-a-string to a type literal

Type of changes

[ ] Bug fix
[ ] New feature
[ ] Documentation / docstrings
[ ] Tests
[x] Other

Checklist

[x] I've run the latest black with default args on new code.
[x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code. (typing-only modification, so not really testable)
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
While working on integration tests on Textual I found myself duplicating the Literal["auto", "standard", "256", "truecolor", "windows"] literal of the Console in my derived class. This is because we're using an inline literal type for the color-system-as-a-string argument we can pass to the Console constructor.
As it's inlined in the constructor signature, we cannot re-use this literal it elsewhere (in Textual for example).
With this tiny PR, Python code outside of Rich can now use this literal :slightly_smiling_face:

Alright! :slightly_smiling_face:


Question: Delay annotate or annotationGroup from running

Hey thanks again for making this!
I'm a JS novice and am wondering how to delay an annotate or annotationGroup group from running for 500ms or 1s or something. Is this an option in ag.show();? Or should we be using setTimeout() or something similar?
Any suggestions would be a big help. Thanks!

I was able to achieve this by wrapping everything in a setTimeout function. I'm sure there's a better way to do this, but this achieves what I was looking for:
 setTimeout(function () {
    const annotate = RoughNotation.annotate;
    const annotationGroup = RoughNotation.annotationGroup;
    const $ = (t) => document.querySelector(t);
    {
        const a1 = annotate($('.box-blue'), { type: 'box', color: '#3BC9DB', animationDuration: 500 });
        const a2 = annotate($('.box-green'), { type: 'box', color: '#059669', animationDuration: 500 });
        const ag = annotationGroup([a1, a2]);
        ag.show();
    }
}, 500)();


data.bridgedb.org

Should http://data.bridgedb.org/ be directed to http://bridgedb.org/data/?  Analogous to new data.wikipathways.org...

@AlexanderPico, who maintains the bridgedb.org domain name and can set up this up?

If everyone (who cares) agrees, I can set this up. Shall I go for it?

Actually... I can't do it :(   This requires someone who can log into ssh bridgedb.org and then add a VirtualHost config into /etc/apache/sites-available and then enable it.
The contents should be like...
<VirtualHost *:80>
    DocumentRoot /path/to/data/dir
    ServerName data.bridgedb.org

        <Directory "/path/to/data/dir/">
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

</VirtualHost>

Anyone?

Implemented some time ago.


Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[x] User guide updated
[ ] Conforms to style guide

@gremirarunico thank you!
Please sign  the all commits:
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#gpg-signing-old-commits

Done. I am sorry. This is the first time I sign a commit, I didn't think it was necessary.

Please don't remove the checklist.

If you learn to use git, you can easily remove the commit for another issue.
But that is a minor fix on the docs, so I will merge this PR.
Please send one PR for one issue next time.

If you learn to use git, you can easily remove the commit for another issue. But that is a minor fix on the docs, so I will merge this PR.

Thank you for your understanding. Programming is a hobby for me, so there are still some significant gaps in my knowledge of Git that I need to address. I promise to be more attentive next time. Have a great day!


Clean up luna.toml

Remove settings no one cares about and ones that use too much programming vernacular (async logging, etc.)
Would be better to have them migrated into a single token like environment with PRODUCTION and DEVELOPMENT values

Should also probably remove https://github.com/luna-rs/luna/blob/master/src/main/java/io/luna/LunaConstants.java#L24

Add environment setting with three values DEVELOPMENT, BENCHMARK, PRODUCTION
BENCHMARK is identical to PRODUCTION but the serializer is passive and players that login are randomly distributed within 8x8 then 16x16, 32x32, 64x64 of the home coordinate (as the player count grows). Will also print the cycle time to the console every 600ms
Activate staggered updating automatically on viewport exceeding 255 players in PRODUCTION
Activate packet 126 caching automatically in PRODUCTION
Resource leak detection PARANOID in DEVELOPMENT, OFF (SIMPLE?) in PRODUCTION
Asynchronous logging off in DEVELOPMENT, on in PRODUCTION


[bug] Cannot disconnect from Exodus extention

Link to minimal reproducible example
https://lab.web3modal.com/library/ethers/
Summary
I connected using the Exodus extension. On clicking the disconnect button, the web3modal is stuck at the infinite loader.
Note that when I close the modal manually while loading is present, it seems that the wallet has been disconnected.
Screencast from 07-31-2024 11:56:34 AM.webm
List of related npm package versions
@web3modal/ethers": "5.0.10",
"ethers": "6.13.2",

Hi! I was going through your query and noticed the issue you’re experiencing with the web3modal getting stuck at an infinite loader when using the Exodus extension. It seems like this might be related to your specific setup rather than a bug in the code. Here are a few steps you can try to troubleshoot and hopefully resolve the issue:
Reinstall Exodus Extension:
Sometimes, extensions can have issues. Try uninstalling the Exodus extension and then reinstalling it. After reinstalling, give it another try with the [minimal reproducible example] (https://lab.web3modal.com/library/ethers/).
Clear Browser Cache:
Old cache data can sometimes cause unexpected issues. Clear your browser cache and cookies, then refresh the page and try the connection process again.
Update Browser and Extension:
Make sure both your browser and the Exodus extension are up to date. Outdated software can lead to compatibility issues. Check for updates and install any available.
Try a Different Browser:
If the problem persists, try using a different browser to see if the issue is specific to your current one. This can help isolate whether the problem is with the browser or the extension.
If these steps don’t resolve the issue, please provide more details about your setup, such as your browser version, operating system, and any console errors you’re seeing. This information can help us further assist you.
I hope this helps! If you have any more questions or need further assistance, feel free to reach out.

@yashtekavade I tried with a re-installed Exodus extension in Chrome and did a fresh install in another browser (Brave). Surprisingly, I couldn't even connect in both browsers - nothing happened, and no console logs when I clicked Connect at minimal reproducible example. Could you confirm it worked for you when you tried the extension?

hi all !
I cannot connect in Exodus with ethers in latest version

https://linear.app/walletconnect/issue/APKT-994/[bug]-cannot-connect-from-exodus-extension

Now is working in latest


Overridden package set not included in devShell

Apologies if I'm just doing something wrong, but following the examples I'm not able to get any extra packages in my shell.
Originally I was trying to install the cargo-watch subcommand, but then I noticed nothing I added seemed to be in my $PATH.
$ nix develop
bash-5.2$ cargo --version
+ command cargo --version
cargo 1.68.0 (115f34552 2023-02-26)
bash-5.2$ hello
bash: hello: command not found
bash-5.2$ cowsay
bash: cowsay: command not found
bash-5.2$ which cargo
/nix/store/fbbp02wqqxm0znr0kv9mh7rfs596rx43-shell-1.68.0/bin/cargo
bash-5.2$ ls -al /nix/store/fbbp02wqqxm0znr0kv9mh7rfs596rx43-shell-1.68.0/bin/
total 20864
dr-xr-xr-x 13 root wheel      416 Jan  1  1970 .
dr-xr-xr-x  7 root wheel      224 Jan  1  1970 ..
lrwxr-xr-x  1 root wheel       87 Jan  1  1970 cargo -> /nix/store/6hj48350nadmgm9kxqcpc83yh5z1axcs-cargo-1.68.0-aarch64-apple-darwin/bin/cargo
-r-xr-xr-x  1 root wheel   792544 Jan  1  1970 cargo-clippy
lrwxr-xr-x  1 root wheel      101 Jan  1  1970 cargo-fmt -> /nix/store/b8vcprkpy25blh9xs4wcam6c44z69khh-rustfmt-preview-1.68.0-aarch64-apple-darwin/bin/cargo-fmt
-r-xr-xr-x  1 root wheel  9821568 Jan  1  1970 clippy-driver
lrwxr-xr-x  1 root wheel      111 Jan  1  1970 rust-analyzer -> /nix/store/cjgzkjlds2jw23f331z6qna1by89kihj-rust-analyzer-preview-1.68.0-aarch64-apple-darwin/bin/rust-analyzer
lrwxr-xr-x  1 root wheel       90 Jan  1  1970 rust-gdb -> /nix/store/sm4db60k4h92lbjkbjj67411a09jkz6z-rustc-1.68.0-aarch64-apple-darwin/bin/rust-gdb
lrwxr-xr-x  1 root wheel       93 Jan  1  1970 rust-gdbgui -> /nix/store/sm4db60k4h92lbjkbjj67411a09jkz6z-rustc-1.68.0-aarch64-apple-darwin/bin/rust-gdbgui
lrwxr-xr-x  1 root wheel       91 Jan  1  1970 rust-lldb -> /nix/store/sm4db60k4h92lbjkbjj67411a09jkz6z-rustc-1.68.0-aarch64-apple-darwin/bin/rust-lldb
-r-xr-xr-x  1 root wheel   670272 Jan  1  1970 rustc
-r-xr-xr-x  1 root wheel 10075216 Jan  1  1970 rustdoc
lrwxr-xr-x  1 root wheel       99 Jan  1  1970 rustfmt -> /nix/store/b8vcprkpy25blh9xs4wcam6c44z69khh-rustfmt-preview-1.68.0-aarch64-apple-darwin/bin/rustfmt

flake.nix:
{
  description = "My awesome Rust project";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    flake-compat = {
      url = "github:edolstra/flake-compat";
      flake = false;
    };
    nci.url = "github:yusdacra/nix-cargo-integration";
    nci.inputs.nixpkgs.follows = "nixpkgs";
    parts.url = "github:hercules-ci/flake-parts";
    parts.inputs.nixpkgs-lib.follows = "nixpkgs";
  };

  outputs = inputs @ {
    parts,
    nci,
    ...
  }:
    parts.lib.mkFlake {inherit inputs;} {
      systems = ["x86_64-linux" "aarch64-darwin"];
      imports = [nci.flakeModule];
      perSystem = {
        config,
        pkgs,
        ...
      }: let
        crateName = "test-nci";
        crateOutputs = config.nci.outputs.${crateName};
      in {
        nci.projects.${crateName}.relPath = "";
        devShells.default = crateOutputs.devShell.overrideAttrs (old: {
          packages =
            (old.packages or [])
            ++ [
              pkgs.hello
              pkgs.cowsay
            ];
        });
      };
    };
}

Cargo.toml:
[package]
name = "test-nci"
version = "0.1.0"

Hi, can you try the branch on https://github.com/yusdacra/nix-cargo-integration/pull/116 ? It should fix this issue.

That does indeed resolve the issue for me. Thank you!

Thanks. Merged now, you can use master again


Compliance fix: renaming allow/reject lists.

This is in preparation and cannot be completed before microsoft/CEDAR.Core.Collector#10 is merged.
Then, I'm going to update the submodule ref.

Waiting for microsoft/CEDAR.Core.Collector#11

Ready to 🚢


Analyzer seems to populate large import scopes that may duplicate information obtainable elsewhere

In the analyzer's element model, it seems that libraries logically have their import scope represented. More specifically LibraryLementImpl has a LibraryOrAugmentationScope which has a _LibraryOrAugmentationImportScope, see scope.dart:
class _LibraryOrAugmentationImportScope {
  final PrefixScope _nullPrefixScope;

  _LibraryOrAugmentationImportScope(LibraryOrAugmentationElementImpl container)
      :  _nullPrefixScope = PrefixScope(container, null);
  ...
}

This PrefixScope will seemingly be populated in the constructor with all visible elements from the imported libraries, see scope.cc:PrefixScope.
When running analyzer on flutter, those PrefixScope objects together with the getter/setter maps take around 17 MBs of RAM.
Doing some preliminary analysis of the heap, it seems that those scopes may even contain all elements from dart:core (e.g. it seems  BigInt is present in all the PrefixScopes of all libraries - if I did my analysis correct).
It may be worthwhile to have a better representation for those scopes:

have an export scope of a library containing only top-level elements of the class or re-exported elements
represent an import scope as a combination of export scopes (re-using those export scope objects, possibly shadowed with hideed elements) and explicitly imported elements (those via show).

So we'd have e.g. one dart:core export scope and that scope object would be re-used in all other libraries's import scope representation (instead of copying all elements from the dart:core export scope into all libraries's import scopes).
/cc @bwilkerson @scheglov wdyt?

I'm guessing that the scopes are being maintained for performance reasons. If we're able to re-use the import scope of the file being edited then we can respond much more quickly to requests for code completion and other functionality.
But we probably don't need to maintain the import scope of every library, so we might consider whether we can selectively keep the data we need for faster analysis without keeping data for every library.

I think we need _LibraryOrAugmentationImportScope only while we resolve library files, and maybe while we linking this library element model. After that we could discard LibraryOrAugmentationElement.scope. Of course because it is lazily created, there might be a path through which it still will be recreated. But maybe not, who knows.
Pre-filling these scopes in constructors is somewhat wasteful, because we often don't need all the elements, we only need to resolve identifiers that actually occur in the library files. So, there might be some performance optimization, as well as transient heap usage improvements (if we discard after resolution, heap size does not matter long term).
I don't believe that we use these scopes for completion, we probably use some different mechanism to get all imported elements, or all elements in the scope (including local scopes). Although theoretically we could use scopes, with understanding that for resolution we could be more optimal by resolving identifiers on request, and for completion we need to pull them all.


Required input is missing: clip_vision

I also have this issue , any fix ?

please give a issue at https://github.com/cubiq/ComfyUI_IPAdapter_plus


Deep copy MLP

I admire your open source code very much, so I learned a lot. In Pytorch, nn.ModuleList[module for I in range(N)] is essentially a shallow copy of module. In order to use different modules at different layers, copy is required to complete deep copy. Therefore, I modified it with copy. Maybe I misunderstood it wrong. Welcome your comments.

`'''
nn.ModuleList是浅拷贝，即共享权重；
要想支持深拷贝需要copy模块
'''
import os
import copy
import torch
import torch.nn as nn
import torch.optim as optim
os.environ['CUDA_VISIBLE_DEVICES'] = '1'
#创建一个线性层
layer = nn.Linear(256,4)
#深拷贝
out1 = nn.ModuleList([copy.deepcopy(layer) for _ in range(6)])
# 查看深拷贝方式的layer层初始化参数
print('深拷贝的不同层的初始化权重：\n',out1[0].weight.data, '\n', out1[1].weight.data)
#验证深拷贝
print('验证深拷贝：')
input = torch.randn(1,256)
label = torch.ones((1,4), dtype= torch.float32)
# 取出第一层layer来作为net
net1 = out1[0]
optimizer1 = optim.SGD(net1.parameters(), lr=0.1)
criterion1 = nn.SmoothL1Loss()
# 迭代
for i in range(1):
optimizer1.zero_grad()
res1 = net1(input)
loss1 = criterion1(res1, label)
loss1.backward()
optimizer1.step()
print('更新后的网络参数：\n',net1.weight.data)
print('其余层网络参数：\n',out1[1].weight.data)
print('#-------------------------------------------------------#')
# 浅拷贝
out2 = nn.ModuleList([layer for _ in range(6)])
print('浅拷贝不同层的初始化权重：\n',out2[0].weight.data, '\n', out2[1].weight.data)
# 验证浅拷贝
print('验证浅拷贝：')
input = torch.randn(1,256)
label = torch.ones((1,4), dtype= torch.float32)
# 取出第一层layer来作为net
net2 = out2[0]
optimizer2 = optim.SGD(net2.parameters(), lr=0.1)
criterion2 = nn.SmoothL1Loss()
# 迭代
for i in range(1):
optimizer2.zero_grad()
res2 = net2(input)
loss2 = criterion1(res2, label)
loss2.backward()
optimizer2.step()
print('更新后的网络参数：\n',net2.weight.data)
print('其余层网络参数：\n',out2[1].weight.data)
#print(id(out1[0]) == id(out1[1]) == id(layer))  # False
#print(id(out2[0]) == id(out2[1]) == id(layer))  # True`

酷

Thanks for your comments. We do use the shallow copy as we want to share parameters across decoder layers. In our experiments, we found sharing weights of parameters has no negative effects on the final results for our DAB-DETR.
For the deepcopy, we build a new module in every step of a loop other than using the variable of a module.
We use:
layers = [MLP() for i in range(6)]

which is different from:
layer = MLP()
layers = [layer  for i in range(6)]

Therefore, I think the implementation in our code is right.

I have verified that your code is correct. Thank you for correcting my bias. Sincerely thank you.


Toggle switch 0

📥 Proposed changes
Toggle switch style and react component
☑ Submission checklist

[x] I have read the CONTRIBUTING doc
[x] yarn build works locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

💬 Further comments
This implementation is not as elegant as the checkbox, however this will work for older browsers as well.
CLOSES: #19

Yeah, I think i got a bit confused with different sketches, so yeah, i wasn't sure about the states. So did the most complicated thing variant, so we can simplify.


Can't connect to remote emulator on macOS

[x ] I have read the FAQ.
[ x] I have searched in existing issues.

Environment

OS: macOS big sur
scrcpy version: 1.19
installation method: brew install scrappy
device model: emulator
Android version: 9

Describe the bug
I'm trying to connect with scrcpy to an emulator on a remote server.
I looked through the bugs, found #242 and #144 and follow some of the suggestions.
On my Mac
adb kill-server
ssh -CN -L5037:localhost:5037 -R27183:localhost:27183 <myserver>

on another terminal on my mac
adb devices

This works fine, I can see the emulator running on my server.
Also running on my mac netcat -l -p 27183 and netcat localhost 27183 on my server and I can see what I type in either side.
However when I run scrcpy with verbose output on my macos I get
2021-09-19 21:29:58.347 scrcpy[85150:707705] INFO: scrcpy 1.18 <https://github.com/Genymobile/scrcpy>
2021-09-19 21:29:58.347 scrcpy[85150:707705] DEBUG: Using server: /usr/local/Cellar/scrcpy/1.18/share/scrcpy/scrcpy-server
/usr/local/Cellar/scrcpy/1.18/share/scrcpy/scrcpy-server: 1 file pushed. 0.1 MB/s (37330 bytes in 0.241s)
2021-09-19 21:30:01.060 scrcpy[85150:707705] DEBUG: Screensaver enabled
[server] INFO: Device: unknown emulator_name (Android 9)
[server] DEBUG: Using encoder: 'OMX.google.h264.encoder'
[server] DEBUG: Screen streaming stopped
[server] DEBUG: Device message sender stopped
[server] DEBUG: Controller stopped
2021-09-19 21:30:04.229 scrcpy[85150:707858] DEBUG: Server terminated
2021-09-19 21:30:05.191 scrcpy[85150:707705] WARN: Killing the server...

what can I try to find out the problem?
By the way, what is port 27183 exactly for? Thanks a lot for any help.

Just updated ethernally script which facilitates wireless mirroring
https://github.com/fusionneur/ethernally
Let me know if you encounter any issue. Thank you


To obtain the set of GP rules

Via @fergunet 's web services framework

Update: First results obtained, we just launched a new set of experiments.

Whatever happened to the new set of experiments?

The third set is currently running (see #9 )


branching cpython with cmake build integration

It would be nice to fork the main https://github.com/python/cpython code and merging the cmake changes in that fork.
It will be easier track changes instead patching the python source code. Moreover it will be easier to propose a replacement for the current build system.

Thanks for raising the question.
So far, maintaining the build system for multiple version of Python in one single location has been practical.
I wonder what the other contributor think ?
Cc: @python-cmake-buildsystem/team-python-cmake-buildsystem  @ihnorton

I agree the patches might be simpler to keep track of, and it would then be possible to make "release" tarballs if needed. I guess merging the CMake code into the tree would slightly simplify builds (one stage instead of two), but not sure it's worth confusing the commit history.

Moreover it will be easier to propose a replacement for the current build system.

Upstream is not going to introduce a new build system in the 2.7 branch.
My suspicion is the probability they would consider CMake for 3.7/8... is very close to 0, but I guess it's not impossible.

Isaiah Norton wrote:

I agree the patches might be simpler to keep track of, and it would then be possible to make "release" tarballs if needed.
I guess merging the CMake code into the tree would slightly simplify builds (one stage instead of two),
but not sure it's worth confusing the commit history.

Moreover it will be easier to propose a replacement for the current build system.

Upstream is not going to introduce a new build system in the 2.7 branch.
My suspicion is the probability they would consider CMake for 3.7/8... is very close to 0, but I guess it's not impossible.

That might well be true, but a point could be made if it is a zero effort branch for the upstream developers.
As it is the cmake is very orthogonal and it requires little or no change in to the python code base (hopefully moving forward
none).
The upsides are less effort to keep in sync changes to the many build systems, as well consolidating efforts in areas as
cross-compiling.

+1 for creating a branch from python/cpython. This would be nicer for application of patches. But, more importantly, as @cav71 pointed out, it would really help pave the way for integration upstream.

Thanks for the feedback.
At some point, I think it will make sense to merge the build system. Ideally, it should be fully integrated and maintained in the upstream project.
Considering that we are currently supporting python 2.7.x and python 3.x, I would prefer we keep the build system in its own project. It makes the overall maintenance easier. After Slicer project transitions to python 3.x, creating a branch of python/cpython would also make more sense. Indeed, one of the original project driving the maintenance of the build system is the integration of python within Slicer.
In the mean time, I suggest we update the minimum version of CMake, it was already discussed back in 2016 but we didn't act on it. See https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/116 Similarly to ITK, may we be we could pick CMake 3.9.5. This would leverage "modern" CMake constructs.
As an experiment and to test the waters,  may be we could create a branch of upstream project and (re-)start discussion for integration ? @cav71 would you like to take the lead on that ? This could be done now or after we update the version of CMake.
To provide some more context:

Here was an attempt by @neundorf to introduce a CMake based build system to the cpython community: http://grokbase.com/p/python/python-dev/0948wgpp46/evaluated-cmake-as-an-autoconf-replacement
This project (python-cmake-buildsystem) is based on the initial work for @davidsansome (see #6) and @neundorf @patmarion and @demarle (see 9baa8f2) with contributions from many more :+1:

Here's a bit more context when the idea was brought up before; one big objection is the C++  dependency:

https://mail.python.org/pipermail/python-ideas/2015-March/032381.html
https://mail.python.org/pipermail/python-ideas/2015-May/033644.html

@cav71 if you wanted to push this, the way to do it is first to bring it up again on python-ideas, and if there is sufficient buy-in, then write a PEP.

@jcfr testing waters here... I've forked cpython and created a cmake branch at:
https://github.com/cav71/cpython

It is an initial proof-of-concept and it contains three distinct change sets:

core changes (eg. the one requiring upstream collaboration/approval)
https://github.com/cav71/cpython/commit/4f36341861f79225c64583a4b5bab45fe11ad95f

cmake documentation changes (contained under Doc/cmake)
https://github.com/cav71/cpython/commit/198d8226f2e29442778d0e3ef65b2020e782459b

cmake changes for the build system (eg. CMakeList.txt and director cmake)
https://github.com/cav71/cpython/commit/52f14af8dc74b97ae654c7cee72fdb7aac83f24f

The core changes are kept at bare minimum and hopefully they won't need any upstream effort.
The cmake doc is self contained inside a folder so. I've added a make.py but is not required as the standard make.bat will work as well.
The cmake based build system it is also self contained, maintenance here will be just copying files.
I think this will require the minimum maintenance possible from both upstream and downstream.
@ihnorton that self contained layout will allow to filter easily the history. Also if the direction is good we can test waters with python-ideas with something a bit more concrete, if we'll get python core traction we can start a PEP.

During the CI testing of this project (python-cmake-buildsystem) I assume that patches are applied to each supported version of python to verify that the patch applies cleanly?  Perhaps during that automated test the patched results could be force pushed to a cpython repo fork.  The cpython fork could have a branch for each supported python version.  This fork could be a convenient repo for folks to clone from, for their convenience, rather than having to apply the patches themselves.

I assume that patches are applied to each supported version of python to verify that the patch applies cleanly?

Yes. This is currently done by the build-system  using cmake/PythonApplyPatches.cmake module. Application of the patches is not specific to the CI.
Application of the patches can also be controlled disabling the option PYTHON_APPLY_PATCHES

Perhaps during that automated test the patched results could be force pushed to a cpython repo fork.
The cpython fork could have a branch for each supported python version. This fork could be a
convenient repo for folks to clone from, for their convenience, rather than having to apply the patches > themselves.

For convenience, the patch are currently maintained in a fork.
See https://github.com/python-cmake-buildsystem/cpython

@cav71

The cmake based build system it is also self contained, maintenance here will be just copying files.

This approach would indeed streamline the maintenance on our side.

test waters with python-ideas with something a bit more concrete, if we'll get python core traction we can start a PEP.

:+1:
May be you could create a Google doc where we would draft the email to send to the python-idea mailing list ?
Also here is a poster we submitted back in 2014 to SciPy conference, there is probably some text in the abstract that could be reused.

Here's the proposal:
https://docs.google.com/document/d/1PGFd2tyd3e08dsstg0qSJoBX3oDvLTFNGV4zF61taYs/edit?usp=sharing

Here's the proposal:

This is great. Thanks for moving this forward :+1:
I just suggested few changes.

I've merged the changes, how do I share the edit permissions in google?
I've also added a "build" matrix hopefully to gather information about the build targets https://docs.google.com/spreadsheets/d/1YMTkNxhtz90oLMHJBTpJjd4SS5tohI4lDCounWqVNFc/edit?usp=sharing

Looks great!
Should we have a FAQ section that preempts some possible mis-informed objections, e.g. that it requires C++?

e.g. that it requires C++?

Has CMake been ported?

Has CMake been ported to C?

No, CMake has not been ported to C. The point is ... that is missing the point. ;-)
What should be a concern:

Is CMake available on all targeted systems?
Will CPython require a C++ compiler to build?

The answers are yes and no, respectively. CMake is available on all systems with a minimal C++ compiler, from embedded systems to supercomputers. You do not need a C++ compiler to build a C project configured with CMake.

If I understand correct the key points are:

cmake is itself a standalone binary (eg. no need to build cmake itself to use it)
it doesn't require superuser permissions to use it

no. 1 is important because it will require an extra effort on the developers, no. 2 is important because not always users have those permissions (eg. in a corporate world that's very common).
I'll pout a note in the main document,
Thanks

cmake is itself a standalone binary (eg. no need to build cmake itself to use it)

This is definitively true on all platform targeted by the official python distribution

it doesn't require superuser permissions to use it
yes


[Bug] everything is working well, but i face a playback problem

It’s strange, but when I watch movies on StreamFusion, I often fast forward if the movie doesn’t interest me. However, I sometimes get an HTTP_IO_ERROR, and then it won’t play anymore. I’ve tested other add-ons, and they don’t have this problem. It seems like this issue happens because I fast forward so frequently.

Hi,
Probably due to the re-stream proxy, I will try to improve that with a buffer and retry by next week.
Anyway, I don't really support this option, as users should not set the API key/token from debrid services in the global environment variable, since it activates the re-proxy setting automatically. Users of StreamFusion, to have a proper stream link, must connect their own account on the debrid service directly in the user config page. Ensure that every single user has their own debrid account; that way, StreamFusion doesn't proxy the link for re-stream and sends the debrid link directly from the service to Stremio, which is much more proper.
As I warned in the docs, debrid services are really cheap, so we must respect the service and their ToS.

Hi,
Probably due to the re-stream proxy, I will try to improve that with a buffer and retry by next week.
Anyway, I don't really support this option, as users should not set the API key/token from debrid services in the global environment variable, since it activates the re-proxy setting automatically. Users of StreamFusion, to have a proper stream link, must connect their own account on the debrid service directly in the user config page. Ensure that every single user has their own debrid account; that way, StreamFusion doesn't proxy the link for re-stream and sends the debrid link directly from the service to Stremio, which is much more proper.
As I warned in the docs, debrid services are really cheap, so we must respect the service and their ToS.

Yup, fair enough if we just pay a tiny amount,if every 1 uses a proxy like warp then no longer soon debrid services will impose more aggressive rules.
So I just waited for your fix ya.

I add a buffer of 1 MB by default and buffer size can be set with :
PROXY_BUFFER_SIZE  = must be in bytes ( so 1MB = 1024 * 1024 )
Close cause :
users should not set the API key/token from debrid services in the global environment variable


How to load the pre-trained BLIP model pth file into HuggingFace BLIP model?

I followed the pretrain.py code provided here and trained a model using Custom Data by only modifying the Tokenizer to work with Korean language. However, I now want to load a pre-trained pth file trained using Hugging Face's BLIP model. Is there a way to do this?

Hi,
You can leverage the conversion script to convert the original checkpoint to the HF format: https://github.com/huggingface/transformers/blob/main/src/transformers/models/blip/convert_blip_original_pytorch_to_hf.py


Updated OneDrive 2.3 policy

Removed checks for DefaultLinkPermission
Add check for DefaultSharingLinkType; FileAnonymousLinkType; FolderAnonymousLinkType to policy 2.3
Adjusted the unit test cases
Reports now gives detailed description when requirement is not met
🗣 Description
OneDrive 2.3 policy
edited the policy to check user permission for view and edit for OneDrive
adjusted the unit test cases
💭 Motivation and context
closes #98
🧪 Testing

Open the Sharepoint Admin Center
Navigate to Policies > Sharing
Set the External Sharing slider to Anyone (Need do it on Sharepoint first then OneDrive)
Scroll to the section "Choose expiration and permissions options for Anyone links."
Set the Files permission to View and Edit
Set the Folders permission to View, edit and upload
Run the tool

The result should reflect that both 2.1 and 2.3 did not meet the requirement
PS: Don't forget to revert the changes after testing
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] Tests have been added and/or modified to cover the changes in this PR.
[x] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Add a tag or create a release.

@nanda-katikaneni This PR is ready for squash & merge


sidebar nav not displaying

Hi
I wanted to use this with an asp.net mvc project. I replaced all the mvc css and dropped it in and its working save the left nav not displaying.
Not sure what I am doing wrong.

sorry - fail on attachments

Hello @dan-yave,
thank you for using our template, please send us a link to your project to check for the problem.
Best, Stefan

thanks Stefan
it's still in dev and not publicly hosted, however i could probably throw
together a sample MVC project and send you the files, if you can run
locally (windows 10, Visual Studio 2017)
If not i'll ping you when i can push something up for you to see.
if i just point chrome at my local folder containing the downloaded
template everything works fine. I'm sure i replaced all my css with the
files from the download but something must be getting overridden someplace
i cant see. the left nav elements are there on inspection but you just cant
see them
On Wed, Apr 18, 2018 at 12:54 AM, Stefan<EMAIL_ADDRESS>wrote:

Hello @dan-yave https://github.com/dan-yave,
thank you for using our template, please send us a link to your project to
check for the problem.
Best, Stefan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/creativetimofficial/light-bootstrap-dashboard/issues/35#issuecomment-382298096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjwDFqzJmUMqbJcoPZFOtQxdLwz8fWP1ks5tpvEugaJpZM4SvHRA
.

Hello again Dan,
Did you have your project live now? Or you solved this issue?
Thank you,
Stefan


BUG: Chatbot Feature is not working well.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Chatbot is not giving appropriate / correct answers.

I have worked on this before, i can make it handle corner cases better, and i can improve it's styling, Please assign me this issue.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Will you be able to design the chatbot in such a way that it is able to answer all questions related to website as well as how it is currently answering?

Yes I can, I'm more familiar with using Botpress, but if you want I can work on Voiceflow too, I have no issues on that. I will need the access to your workflow, so that I can update it and have the data about the website to include.


Update the component in OWNERS file

Updates the component entry to match Jira[1] instead of the old Bugzilla component and subcomponent.
[1] https://issues.redhat.com/issues/?jql=project %3D OCPBUGS AND component %3D "Cloud Compute %2F Other Provider"

Are we sure removing the subcomponent is the correct thing to do? I know there's automation pulling this information in right now, but I guess it's already handling the subcomponent field?

@brenton can you take a quick look here and confirm?
My understanding is that yes, we'll no longer use the subcomponent field (used to map it to BZ in past) and have the component field matching the one in Jira.

Hi @fabianofranz, we learned late yesterday that the prodsec tooling does actually support the "subcomponent" field.
The problem with many of the incorrectly triaged bugs was that "Providers" was lacking an "s" (Joel found this! In some other cases there simply was no mapping at all and it needed to be set up for the first time).  This just means you can have it either way: one long component with "/" in it or splitting it out into two fields for the prodsec tooling to join with a "/".  It needs to match the correct spelling though.  Whichever spelling Joel says for this component is authoritative will be the final answer. :) At this point I can't remember if we settled on "Provider" or "Providers".

I'm happy to continue with Other Provider now we have a limbo state, I'm planning to add more components anyway as our catch all, catches quite a lot right now

Ack, thank you for the directions.
So I repurposed this to just fix the spelling. @JoelSpeed PTAL.

I just realised this, sorry, but there is actually a nutanix provider component, can we change this repo to nutanix? https://issues.redhat.com/browse/OCPBUGS-5969?jql=project %3D OCPBUGS AND component %3D "Cloud Compute %2F Nutanix Provider"

/approve
/lgtm


Modify Agent to reduce frequency of Pods getting UnexpectedAdmissionError

The Akri Agent creates device plugins for each device it discovers. The device plugin framework allows for specifying how many containers can use a device plugin at a time. The kubelet will then ensure that no Pod is scheduled to use that resource if all usage has been taken up.
If the kubelet believes that a resource/device plugin should be available but the device plugin/ Agent responds that it is not available, the Pod will show an UnexpectedAdmissionError.
Currently, the Agent errors when kubelet requests to use a device usage slot it is already using. Even though the kubelet is the source of truth, the Agent was erroring here in order to free up the usage slot so that any node could take it. In short, the Agent is actively creating UnexpectedAdmissionErrors on behalf of Node fairness for shared devices.
This behavior should change to reduce UnexpectedAdmissionErrors. The Agent should trust kubelet as the source of truth.  Im using Akri for its device plugin capabilities and Im getting UnexpectedAdmissionErrors with every new deployment.

Currently, the Agent errors when kubelet requests to use a device usage slot it is already using. Even though the kubelet is the source of truth, the Agent was erroring here in order to free up the usage slot so that any node could take it. In short, the Agent is actively creating UnexpectedAdmissionErrors on behalf of Node fairness for shared devices.

This is not enabling any fairness for unshared devices, so another reason to change the behavior in particular for those devices. Though, we may want to be consistent and do it for all devices. Best bet is probably to make this configurable in the Agent

Wouldn't this allow multiple pods to access a single device? Feels very hacky.

Yes it would allow that. When you are getting the UnexpectedAdmissionErrors, are they eventually retrying and succeeding?

They are, after a few minutes. But still, this triggers alerts in our monitoring.

@meibensteiner makes sense. Then, I'd say this is higher priority. I'll try to look into it this week.


ak.stack, ak.unstack

Proposing a new structure operation akin to pandas' stack and unstack which pivots a record structure to a jagged array and vice versa. The main difference is that we do not have a non-trivial row index, so the ak.unstack operation would create tuple RecordArray rather than labeled columns, as is done for structure operations like ak.cross.  Similarly, it might make sense to impose that ak.unstack will only operate on a tuple RecordArray. As in pandas, the default axis (level) should probably be -1 for this operation.
Examples:
a = ak.Array([[(1, 2), (1, 3), (2, 3)], [], [(4, 5), (6, 7, 8)]])
assert ak.tolist(a.stack()) == [[[1, 2], [1, 3], [2, 3]], [], [[4, 5], [6, 7, 8]]]
assert ak.tolist(a.stack(dropna=False)) == [[[1, 2, None], [1, 3, None], [2, 3, None]], [], [[4, 5, None], [6, 7, 8]]]

a = ak.Array([[[1, 2], [1, 3], [2, 3]], [], [[4, 5], [6]]])
assert ak.tolist(a.unstack()) == [[(1, 2), (1, 3), (2, 3)], [], [(4, 5), (6, None)]]

a = ak.Array([{'x': (2, 3), 'y': 1}, {'x': (4, 5), 'y': 0}])
assert ak.tolist(a.stack()) == [{'x': [2, 3], 'y': [[0, 1], [2, 3]]}, {'x': [4, 5], 'y': [[0, 1], [2, 3]]}]

# for
a = ak.zip({'x': [[1, 2, 3], [4, 5, 6, 7]], 'y': [[1, 2, 3], [4, 5, 6, 7]]})
# the following
b = ak.choose(a, 3).i0 + ak.choose(a, 3).i1 + ak.choose(a, 3).i2
# could be written
b = ak.sum(ak.stack(ak.choose(a, 3)), -1)

I'm not sure if you've been seeing this, but it was asked for.
https://github.com/scikit-hep/awkward-1.0/blob/docs/0198-tutorial-documentation-1/studies/how-to-questions-survey.md
Thanks for making an issue!

Interestingly, ak.concatenate with axis=-1 would be implementable with ak.stack(ak.zip([a, b, c])).  For other axes, I think the more generalized pandas pivot method would need to be implemented: it can map an arbitrary set column index levels to new row index levels.


Show user which codefendant emails were successful and which ones weren't

Approach may need changing
Reasons:

I can't think of a great place/way to show the status of the emails. Usually the message will just flash on the screen briefly, but I don't think a user will notice that in time or remember which emails have and haven't worked. We can show them on the status page, but it will definitely need refreshing for that information to show up correctly.
I'm trying to figure out whether/how Twilio makes the success of sms/text messages available and how we would code that. It's a bigger job than I thought.
Some email clients (not sure about gmail, but maybe them and maybe others) don't even send back email failure messages when an email doesn't exist in order to make life difficult for spammers.
People might have sent to a real email address or number that was just the wrong one.

Alternative
On the status page, show the user where they sent the messages and allow them to edit the values and re-send the messages.

It might be worth thinking about how to show a user if our system itself is having problems. Research would have to be done for that.

From da Slack regarding editing a value from another screen:

...a button made with action_button_html(url_action('...')) will act much like a review screen edit button.
...It effectively does a force_ask(), so even if the variable is already defined, it will show a question for the variable.

This can be merged with  #17 .  By displaying the coD emails on the final screen with an edit function we give users a double check to see if the email is correct.  This does not entirely resolve this problem as the user may have the wrong email or phone number but going further than that does not seem MVP, as when the user does not get an email or a refresh that the CoD has signed they can contact the CoD IRL and input a new phone number or email on the screen and "resend" per #17 again.


⚠ Spryr has degraded performance

In 15d88e2, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3492 ms

Resolved: Spryr performance has improved in 50f0fd3 after 7 minutes.


What do I need to connect with WebUI?

Hi, do I need Apache on my Linux or something like that for connect with Aria2 WebUI?
I installed uGet and aria2 using terminal.
Then I type in the terminal aria2c --enable-rpc --rpc-listen-all
Then I headed to  https://ziahamza.github.io/webui-aria2 on my Linux, but It didn't works, but when I set adress to "localhost" and port to "6800" in the settings it was ok, and I have connection.
But how make this from other PC on my local network?
When I type Linux PC adress in my browser like linux_ip:6800 it not works.
I tried to unlock 6800 port with iptables -A FORWARD -p TCP --dport 6800 -j ACCEPT for FORWARD and INPUT, but it still don't work.
What else can I do?

I currently get white screen on this with a Raspberry Pi 4 1GB installed via dietpi, how do I fix this?


new gfs loader

Pull Request
Description
New version of GFS loader added:

New GFS data has step 0 missing for irradiance (variables dswrf, dlwrf), currently defaulting to NaN.
Added a commented-out bit that extrapolates them in the loader
Added a warning if using irradiance
Added test data for gfs
Added standard test for gfs loader

How Has This Been Tested?
ran small batch creation on leonardo with and without irradiance variables
Checklist:

[X] My code follows OCF's coding style guidelines
[X] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] I have checked my code and corrected any misspellings

hang on I'll add mean and std here as well


Update PELUX psplash logo

Change psplash logo to a one that looks good in both portrait and
landscape mode.

Tested and seems to work nice

Tested and seems to work nice

Nvm could do some more tweaking

If you consider tweaking is finished, pl merge.

Tweaking done


Mgmt mcumgr lib fs code improvements

The PR contains commits that:

Reduces direct, duplicated, implementation of "rc" code additions to SMP responses;
fix style of some functions that have been missing proper return expressions;
replaces zephyr_fs_mgmt_truncate with direct call to fs_unlink.

Fixed typos in commit messages.


add binding to 'pthread_detach'

Hi, just to let you know I've just added a binding to the C pthread_detach function to unix_pthread.F90 (residing within my project):
public :: c_pthread_detach

! int pthread_detach(pthread_t thread);
function c_pthread_detach(thread) bind(c, name='pthread_detach')
   import :: c_int, c_ptr, c_pthread_t
   implicit none
   type(c_pthread_t), intent(in), value :: thread
   integer(kind=c_int)                  :: c_pthread_detach
end function c_pthread_detach

Thank you, has been added.


[10.x] Add support for getting native columns' attributes

Previous attempt (PR #45598) was a breaking change and tabled a few days before Laravel 10 release. This PR has more features than the previous one and is not a breaking change.
This PR:

Adds a new Schema::getColumns():
Currently, we are using doctrine/dbal to get columns of a table and their attributes, for example on model:show artisan command. This PR adds Schema::getColumns($table) for MySQL, PostgreSQL, SQLite and SQL Server without Doctrine DBAL type mapping issues and full support for all native types. This function returns a list of columns and their attributes:
use Illuminate\Support\Facades\Schema;

Schema::getColumns('products');

 /*
     [
         'name' => 'id',
         'type_name' => 'bigint',
         'type' => 'bigint unsigned,
         'collation' => null,
         'nullable' => false,
         'default' => null,
         'auto_increment' => true,
         'comment' => null,
     ], [
         'name' => 'name',
         'type_name' => 'varchar',
         'type' => 'varchar(255)',
         'collation' => 'utf8mb4_0900_ai_ci',
         'nullable' => false,
         'default' => null,
         'auto_increment' => false,
         'comment' => 'The product name',
     ], [
         'name' => 'status',
         'type_name' => 'enum',
         'type' => "enum('in_stock','out_of_stock')",
         'collation' => 'utf8mb4_0900_ai_ci',
         'nullable' => true,
         'default' => null,
         'auto_increment' => false,
         'comment' =>null,
     ],
 */

Adds native support for Schema::getColumnType():
Currently we are using Doctrine DBAL to get column type using Schema::getColumnType method. DBAL maps every native column type to its Doctrine type equivalent and doesn't support many column types used by Laravel on different databases.
After this PR you won't need to install doctrine/dbal to get type of a column, you'll be able to get eighter data type name or full type definition of the given column:
Schema::getColumnType('products', 'id');           // bigint
Schema::getColumnType('products', 'id', true);     // bigint unsigned
Schema::getColumnType('products', 'status');       // enum
Schema::getColumnType('products', 'status', true); // enum('active','suspended','deleted')
Schema::getColumnType('products', 'name');         // varchar
Schema::getColumnType('products', 'name', true);   // varchar(255)
Schema::getColumnType('products', 'price');        // decimal
Schema::getColumnType('products', 'price', true);  // decimal(8,2)

Just like #45487, if you have already installed doctrine/dbal, you have to call Schema::useNativeSchemaOperationsIfPossible() method within the boot method of your App\Providers\AppServiceProvider class to be able to use native schema operations.

Deprecates a few functions:
This PR makes Schema::getColumnListing() function to use newly added Schema::getColumns() method under the hood, so we don't need any of the following functions any more. This PR deprecates:

\Illuminate\Database\Query\Processors\Processor::processColumnListing
\Illuminate\Database\Schema\Grammars\MySqlGrammar::compileColumnListing
\Illuminate\Database\Schema\Grammars\PostgresGrammar::compileColumnListing
\Illuminate\Database\Schema\Grammars\SQLiteGrammar::compileColumnListing
\Illuminate\Database\Schema\Grammars\SqlServerGrammar::compileColumnListing

PS: I may send another PR to add Schema::getIndexes and Schema::getForeignKeys if this one gets merged. Then we can drop Doctrine DBAL dependency on commands like db:table and almost everywhere on Laravel Framework.

@driesvints would you please reopen / draft this, I'll push a commit.


[Coverity CID :205625]Error handling issues in /drivers/sensor/lsm6dso/lsm6dso_shub.c

Static code scan issues seen in File: /drivers/sensor/lsm6dso/lsm6dso_shub.c
Category: Error handling issues
Function: lsm6dso_shub_embedded_en
Component: Drivers
CID: 205625
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

72ae24d8d59
426static inline void lsm6dso_shub_embedded_en(struct lsm6dso_data *data, bool on)
427{
   	1. Condition on, taking true branch.
428        if (on) {

CID 205625 (#1 of 1): Unchecked return value (CHECKED_RETURN)
2. check_return: Calling lsm6dso_mem_bank_set without checking return value (as is done elsewhere 31 out of 32 times).
429                lsm6dso_mem_bank_set(data->ctx, LSM6DSO_SENSOR_HUB_BANK);
430        } else {
431                lsm6dso_mem_bank_set(data->ctx, LSM6DSO_USER_BANK);
432        }
433
434        k_busy_wait(150);
435}

Is it really necessary to check return value of lsm6dso_mem_bank_set() when lsm6dso_shub_embedded_en() is not returning any value?

Is it really necessary to check return value of lsm6dso_mem_bank_set() when lsm6dso_shub_embedded_en() is not returning any value?

OK, I will cast it with (void) as it seems a suggested solution.

Fixed by #20615


New Feat: CosmIframe

Goal: Add support for CosmIframe: https://github.com/DA0-DA0/cosmiframe
An initial implementation draft can be found here: https://github.com/hard-nett/restake-ui
Implementation

A new signing provider for CosmIframe is created
Only when app is being accessed by an Iframe should the CosmIframe feature be an option when connecting wallet
Bump CosmJS dependencies to ^0.32

Thanks again for this! I'll pick this up ASAP


Error - ISelectableContent

I have made a very simple app that contains a main app App.mxml with a ResponsiveView in the MainContent.mxml.  It is an extremely simple app modeled on the structure of Tour De Jewel.  I am having trouble moving forward because I get an error that I don't understand and can't find any information about.  The error is:
"Uncaught Error: One or more content in ApplicationMainContent is not implementing ISelectableContent interface."
I only have one component in the ApplicationMainContent that looks like this:
<?xml version="1.0" encoding="utf-8"?>
<j:Grid xmlns:fx="http://ns.adobe.com/mxml/2009"
	xmlns:mx="library://ns.apache.org/royale/mx"
	xmlns:s="library://ns.apache.org/royale/spark"
        xmlns:j="library://ns.apache.org/royale/jewel"
        xmlns:js="library://ns.apache.org/royale/basic"
        xmlns:html="library://ns.apache.org/royale/html"
	xmlns:svg="library://ns.apache.org/royale/svg" itemsHorizontalAlign="itemsCenter" itemsVerticalAlign="itemsCenter">

        <fx:Script>
            <![CDATA[

            ]]>
        </fx:Script>

        <j:GridCell localId="mapCell" desktopNumerator="1" desktopDenominator="2"
            tabletNumerator="1" tabletDenominator="2"
            phoneNumerator="1" phoneDenominator="1" itemsHorizontalAlign="itemsCenter" itemsVerticalAlign="itemsCenter" height="550">
            <svg:Image localId="headerRect" src="svg/headerBar.svg" width="100%" height="100%"/>
        </j:GridCell>

        <j:GridCell localId="propListCell" desktopNumerator="1" desktopDenominator="2"
            tabletNumerator="1" tabletDenominator="2"
            phoneNumerator="1" phoneDenominator="1" itemsHorizontalAlign="itemsCenter" itemsVerticalAlign="itemsCenter">
            <j:List localId="propList" width="100%" height="550">
            </j:List>
        </j:GridCell>

</j:Grid>

In Tour De Jewel, you have one variable set up called private var currentContent:ISelectableContent, but the variable is never used.  Tour De Jewel compiles fine without this error, but my basic app with only one component in the ApplicationMainContent has it.
What is ISelectableContent and what objects do I need to incorporate into my components to get rid of this error?  I've attached the sample app to this post.
TestError.zip

I finally got the error to go away by filling my ApplicationMainContent with components built inside of j:SectionContent, but I am not exactly sure why this works.  What components use ISelectableContent, and where can you go to find these things out??

I finally got the error to go away by filling my ApplicationMainContent with components built inside of j:SectionContent, but I am not exactly sure why this works.  What components use ISelectableContent, and where can you go to find these things out??

Hi Bilbo,
1.- Containers that have navigation require that the inner components to navigate implement ISelectionContent.
The main component is SelectionContent (and if you want scrolling support ScrollableSelectionContent).
Other components that are made for navigation are TabBarContent (the content of a TabBar control) and WizardContent (the content for Wizard, but in this case is abstracted and if you see the TDJ example you add WizardPage components directly.)
2.- I'm in the process of filling this Royale Docs pages:
https://apache.github.io/royale-docs/component-sets/jewel#components
Although we have Royale ASDocs, that is automatic generation of the docs. This component pages are created manually to give the information about the component, the basic use, the events, properties and functions more relevant and also the beads available that can be specific for a component, optional or common. Also with links to examples in blogs or other articles.
Far from that, I think the only way is to experiment, and try to find your way. As any other technology the experience matters and is difficult to find a shortest path
HTH


Style: make the sidebar sticky

What would you like to share?
Style: make the sidebar sticky
Additional information
No response

I would like to work on this one.

I would like to work on this issue.


2719: Fix missing api declarations

Short description
Apple wants all  accessed apis to be declared
Proposed changes

add an array of values for the different api types according to docs. See additional info

Resolved issues

Fixes: #2719
Testing
Please properly check if the reasons are fine. I'm not really sure about them.
Find information here:
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

https://github.com/Wooder/ios_17_required_reason_api_scanner/tree/main

not sure which folder i should scan @steffenkleinle ?

Since we need to get this out before May, it might be a good idea to proceed with the API declarations as they are done here and remove them in a future ticket in which we upgrade to the relevant React Native version. What do you think?

Can I close this PR @steffenkleinle ?

I think so, yes. At least afaics the last release was promoted successfully. So seems like it was fixed with #2772.