SyntaxError: can use starred expression only as assignment target

I recently recloned the vimiv repo, and did sudo make to install.
Although when I try to use vimiv at all, I get this:
$vimiv
  File "/usr/bin/vimiv", line 2466

            ^
SyntaxError: can use starred expression only as assignment target

From the error I'm guessing you have a syntax mistake in the code, I don't know enough about python to fix it myself.

@karlch This appears to be a issue on python 3.4 and such. Not an issue on python 3.5. Guessing it is related to https://www.python.org/dev/peps/pep-0448/ . Are you targeting 3.5 entirely, or python3 in general?

@shaggytwodope Your conclusion seems correct.
I am currently the only developer and tester of vimiv using up-to-date arch linux systems. For simplicity I will target python3.5 for the moment and make it a dependency. The chances are that the libraries like PIL also through errors with older versions.
If I find some more time, I might install a stable debian (-based) system to check backwards compatabilty But no promises on that one. Of course if anyone feels like taking care of this I would happily pull.
@AdrianKoshka Out of interest, which distro with which python version are you running?
For a quick and dirty fix, you can replace lines 2466 with a for loop:
args = []
for arg in bind[2:]:
    args.append(arg)
binding = [key, bind[1], args]

@karlch, @shaggytwodope suggested to me just removing the offending * as a hacky fix, it worked, what would be the different between your  for loop and the hacky fix I've implemented?
I use lubuntu 15.10 and run Python 3.4.3+

I've implemented @karlch's fixed and things seem to be working as well.

There is none and the for loop was completely unneccessary. Shame on me for trying to fix this on the fly. I actually wanted to do the following:
binding = [key, bind[1]]
for arg in bind[2:]:
    binding.append(arg)

which cleanly adds all the elements of the bind[2:] list to the end of the binding list just as the * operator does.
None of the two previous solutions (my stupid one and @shaggytwodope's hacky version) work for me using python3.5 and I am not sure why they work in earlier versions. Removing the * operator means that the bind[2:] list remains a list and this leads to missing arguments for the function call funk(*args) a few lines later.
@shaggytwodope could you explain this? :)

@karlch Implementing your latest fix seems to work also, though is q supposed to exit vimiv, because now when I press q nothing happens and if memory serves me q was the quit button.

Going back into the config file and looking, yes q SHOULD quit but with @karlch's latest "patch" it no longer functions.

I took some time to take a look at this properly and to test it under python 3.4.3 booting from a live environment. For me the latest patch works there as well, whereas the hacky version breaks commands with arguments, e.g. scrolling with h, j, k, l.
To make sure we are talking about the same patches I have appended two files: vimiv_hacky.txt and vimiv_patch2.txt with the patches the way I understand them. The ending .txt because Github complained without an ending...
vimiv_hacky.txt
vimiv_patch2.txt

Yes we are talking about the same patches. q (haven't tested other keys) as I've said isn't working for ME, perhaps if you make a branch for testing this issue with the second patch included, I could clone this "clean" repo and test it again.

I will not create this "clean" repo because key_handling and configuration files will change completely in version 0.5 anyway. For the moment you can just use whatever workaround works for you.
The branch version0.5 was created though, feel free to try it. It is still not considered stable though and the documentation is a complete chaos at the moment.
As soon as version 0.5 is merged into master I will close this issue and create a new one with a more general title concerning backwords compatibility.

Okay, I'll just wait until version 0.5

Just to inform you, I pushed version 0.5 to master. Should be solved.

Thank you!


Explain the why

The README.md could explain what are the benefits of starting a project from this boilerplate.

Thanks for the tip @wbazant ! 👍  #b9f8439


New benchmark measuring QNode _construct efficiency.

Description of the Change:

Fixes a bug in benchmark/bm_entangling_layers.py

Adds benchmark/bm_mutable_complicated_params.py
This new benchmark aims to measure the efficiency of JacobianQNode._construct and BaseQNode._construct for mutable QNodes.
It uses an extreme case where the QNode has lots of primary parameters but relatively few auxiliary parameters, and only a few of the primary parameters are actually used in the circuit, to make the node construction the execution bottleneck.

Benefits:
The benchmark underlines some algorithmic inefficiencies in how the QNodes are constructed and the partial derivative methods chosen in the current master branch.
https://github.com/XanaduAI/pennylane/pull/510 provides a modified construction logic which results in a better performance in this benchmark.
This branch (equivalent to master)
Commit: f6588a1d Merge branch 'master' into bm_mutable_node_complicated_params
Timing: 'mutable qnode, complicated primary params' benchmark on default.qubit
Timing per loop: [0.23343417 0.23362751 0.23217291 0.23272017 0.23161589]

#510
Commit: 794c1a42 More renaming re: primary parameters for consistency.
Timing: 'mutable qnode, complicated primary params' benchmark on default.qubit
Timing per loop: [0.10682147 0.10648436 0.10559171 0.10535492 0.10574054]

#510 with another small optimization that speeds up JacobianQNode._best_method
Commit: cd862259 More efficient handling of BaseQNode.primary_deps.
Timing: 'mutable qnode, complicated primary params' benchmark on default.qubit
Timing per loop: [0.07194923 0.07283727 0.06603256 0.06573229 0.06618677]

@josh Yeah, I added it to the first post.


[Question] accessing certin menus

im trying to add stuff to the Start menu but i cant find how i would do that anywhere in the forum or documents

The Start menu cannot be configured via NS.
Commands can be added in the context menu on the desktop or on the taskbar

The Start menu cannot be configured via NS.
Commands can be added in the context menu on the desktop or on the taskbar

ah i see thank you good to know i would add that into the docs personally as like one of these^^^ info bubbles

Guess this issue can be closed.


Add optional permissions to manifest.json

I can't seem to properly test this as I'm getting background.service_worker is currently disabled when trying to load this in about:debugging, however, removing the service worker only when testing seems to show that additional permission. I'm not sure if this will be resolved when submitting to the Firefox store.

You should test it by using Firefox for Developers and adding it as normal unsigned extension instead of temporary one

This would break Chromium version of extension, modify pack.js script instead. Actually I think it already does that, so all you need is to just run pack.js to get actual Firefox version

Though optional_permissions and other changes should be moved to pack.js so it'll only be on Firefox version

I moved the permissions and manifest scripts to just the Firefox version. Additionally, the packed Chrome extension was broken and missing the background script on your main branch, so I also fixed that.


cerbero shell not useful in 'universal' (fat) configurations

~/cerbero/cerbero-uninstalled -c config/cross-ios-universal.cbc shell

creates a shell whose CFLAGS, CXXFLAGS and OBJCFLAGS don't contain cross-architecture, e.g. no -arch arm64.
This shell is not useful for building sources manually.

The shell is also useless for iOS in general :) See my comments in the other tickets.
What do you want to achieve with the shell?

I'm working on gst modules. Building can be done by just invoking 'make' but if I need to re-autoconf (after editing confgiure.ac), I'm in trouble since CFLAGS etc. aren't defined as they should be. That's what I thought the shell is good for.
OTOH, the shell isn't arch-specific nor recipe-specific, so I guess it's the wrong tool for the job.

Yes, for all other platforms the shell can be used for that. For iOS that's not possible as you need to re-run the packaging process after each change, recreate the fat libraries, etc. Only the results of the packaging process are usable for actual development as only that produces a real .framework.

The "useless shell" is serving me rather well in iOS, of course, with the hacky Xcode project I described here:
https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC-with-Cerbero#development
My plan is to distribute a hacky Xcode project as a "template", in place of all manual instructions in this terrible wiki section :)

Closing.


janet: 1.21.1 -> 1.21.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/janet/versions.
meta.description for janet is: "Janet programming language"
meta.homepage for janet is: "https://janet-lang.org/"
meta.changelog for janet is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/cdf14a6cfzs6w8apil0ra3p0xzi97b5v-janet-1.21.2/bin/janet had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.21.2 with grep in /nix/store/cdf14a6cfzs6w8apil0ra3p0xzi97b5v-janet-1.21.2
found 1.21.2 in filename of file in /nix/store/cdf14a6cfzs6w8apil0ra3p0xzi97b5v-janet-1.21.2

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
janet
jpm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cdf14a6cfzs6w8apil0ra3p0xzi97b5v-janet-1.21.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A janet https://github.com/r-ryantm/nixpkgs/archive/07d9632971eeb4a0d8c846d8c9b00d6939ea66e6.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cdf14a6cfzs6w8apil0ra3p0xzi97b5v-janet-1.21.2
ls -la /nix/store/cdf14a6cfzs6w8apil0ra3p0xzi97b5v-janet-1.21.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

janet
jpm

Maintainer pings
cc @andrewchambers @peterhoeg for testing.

thanks peter.


Race condition while downloading archives

While the creation of an archive is in process, it's possible to change the cart or even empty it. Emptying the cart resets the session, causing Django to abort with the error:
[Fri Aug 30 15:48:13.967877 2019] [wsgi:error] [pid 11523:tid<PHONE_NUMBER>63936] [remote <IP_ADDRESS>:54263] [30/Aug/2019 15:48:13] ERROR [django.security.SuspiciousOperation:77] The request's session was deleted before the request completed. The user may have logged out in a concurrent request, for example.

It's also possible the modifying the cart during the download will mess up an in-progress join, although I believe MySQL creates a lock in that case.
The fix may be as simple as not resetting the session when emptying the cart, or may be more complicated.

We no longer reset the session on empty cart. MySQL locks tables being used in a join.


feat(ImportGraph): add option to exclude imports from other packages

Add an option lake exe graph --to MyProject.XY --noDep which removes all nodes that do not start in MyProject.

Note that currently omitting --to is equivalent to specifying --to Mathlib, so there is no special case needed to handle this.
Happy to get a suggestion for a better name, maybe --exclude-dependencies?

Could I suggest we make this useful behaviour the default, and instead have a flag --include-deps?

bors d+

bors r+


Lecture 39: Another Scenario: Sub Bullet Point Typo (Minor)

In the two sub-bullet points in the place specified in the title, it uses the phrase "Freshman/Sophomore years," but I do not think the word "years" needs to be there since the context is about the students and not the year of the college attendance.

Reading further along, I can see why "years" was included. I don't want to close it in case it generates a productive discussion or exploration regarding how Berkeley chose to phrase this part, so I leave that to you.


Add support for fake, and speed up reproducible builds

See this in use here: https://github.com/coder/envbuilder/pull/213
This PR adds support for fake builds, essentially a way to detect if a build is cached and what the final image hash should be.
The final image hash requires reproducible builds.
Anothe option to using reproducible builds is to instead tag the final image with the final build step hash.
Part of https://github.com/coder/envbuilder/issues/186
Example output from cache hit (DoFakeBuild):
#2: fakeStage 0 built successfully with digest sha256:d76c332b89231eb2b8324e28f53ea4f5a394231ee76efdc2a8c8ad11ffd0891b
#2: 🏗 Built fake image! [1.245278609s]

DoBuild:
#2: Stage 0 built successfully with digest sha256:d76c332b89231eb2b8324e28f53ea4f5a394231ee76efdc2a8c8ad11ffd0891b
#3: 🏗 Built image! [2.020869675s]
#4: 🏗 Pushing image...
#2: Pushing image to <IP_ADDRESS>:5000/local/cache
#2: Pushed <IP_ADDRESS>:5000/local/cache@sha256:d76c332b89231eb2b8324e28f53ea4f5a394231ee76efdc2a8c8ad11ffd0891b
#4: 🏗 Pushed image! [6.134857ms]

Example output from cache miss:
#2: failed to build fake image: error fake building stage: uncached command *commands.RunMarkerCommand is not supported in fake build
#2: 🏗 Built fake image! [1.232616498s]

I've renamed the DoFakeBuild etc. methods to ProbeCache, and added a minimal integration-style test for same.

post-merge approval 👍
I'm curious if this modification works with multi-stage Dockerfiles.

Good call. I added a separate test and it doesn't appear to work. Will raise a separate PR.

I don't mind adding support for multi-stage Dockerfiles as a separate issue 👍


Option griefprevention.min-claim-size-basic-x/y/z not working

GP version: <IP_ADDRESS>8
LP version: 4.2.17
Forge version: 2705
Sponge version: 3206
I have set the meta of my group's parent group according to the docs. When I execute command /lp user <my user name> info, I can see the following meta data are registered:
[10:31:39] [pool-4-thread-1/INFO] [net.minecraft.server.dedicated.DedicatedServer]: [LP] -    Meta:
(griefprevention.blocks-accrued-per-hour=0)
(griefprevention.claim-expiration-town=100000)
(griefprevention.min-claim-size-basic-z=3)
(griefprevention.claim-expiration-subdivision=100000)
(griefprevention.min-claim-size-basic-x=3)
(griefprevention.create-claim-limit-basic=0)
(griefprevention.min-claim-size-basic-y=3)
(griefprevention.claim-expiration-basic=100000)
(griefprevention.claim-create-mode=1)

I also did /gpreload and even restarted my server. However, when I try to create a 3x3x3 basic claim, it told me that length on x-axis of 3 is less than the minimum 10 and the minimum size is still 10x5x10 (default values).
Since griefprevention.blocks-accrued-per-hour does come into effect, I think I should have set the options in a correct way.
Moreover, griefprevention.claim-create-mode does not change the mode of auto-claimed claims which is still 2D after the option is set.

Read commit message on how to solve this
https://github.com/MinecraftPortCentral/GriefPrevention/commit/0df8e2dc03186868f2520c9174764e978ce802eb


adding sort to hive connector table database partition servcies

General comment: when you open PR's please assign at least a milestone to them so when it comes to release time we can point to everything that has happened within a given release.


[Bug Report] Wiki as submodule

Introduction
When adding the wiki of a repo to the repo itself as a submodule, you will get a 404 error in the web UI when clicking on the submodule. This occurs due to the fact that the wiki is no real repo.
Example
Here are two example repositories. One on codeberg and one on try.gitea

https://try.gitea.io/schorsch/test-wiki-submodule
https://codeberg.org/moenavigator/moenavigatorengine (the ./doc folder)

Proposal
The wiki has the exact same name as the original repo but with the suffix .wiki. When accessing https://gitea-instace.example/user/repo.wiki just redirect to https://gitea-instance.example/user/repo/wiki
Credits
The bug was discovered by the codeberg user ncc1988. They also suggested the workaround. For further information have a look at the issue on codeberg: https://codeberg.org/Codeberg/Community/issues/217

But this maybe a break for those repositories have suffix .wiki but in fact it's not a wiki of some repositories.

But this maybe a break for those repositories have suffix .wiki but in fact it's not a wiki of some repositories.

@lunny .wiki has been reserved. https://github.com/go-gitea/gitea/blob/2b5e0134307a45581860029de99449e8be8f807e/models/repo/repo.go#L30


Error when trying to obtain Sapling private key

Reproducibility: always
Steps:
Own Addresses -> Right click on a Sapling address -> Obtain private key
What happened:

Expected result:
Private key is displayed.

I have the same issue.


Allow use passive listeners

Bootstrap native now only uses non-passive listeners, which decreases PageSpeed Insights score and potentially lowers scroll performance. Suggest implementing an options allowing to use passive listeners. All is takes is adding {passive: true} as a third argument passed to addEventListener.
More:

https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners
https://caniuse.com/#feat=passive-event-listener

I'm now patching build script output. According to my preliminary tests, following event handlers should be passive:
- touchDownHandler
- touchMoveHandler
- touchEndHandler
- pauseHandler
- resumeHandler

Sup. According to this MDL page our code should look something like this.
someElement.addEventListener("mouseup", handleMouseUp, passiveSupported
                               ? { passive: true } : false);

What do you think?

Your code is correct, but not all events should be passive. E.g. event handlers that use e.preventDefault() should not be passive for sure. What I do with compiled bundle is this:
        bundle = bundle.replace(/(element, event, handler)(\)\s\{\n)/g, '$1, options$2');
        bundle = bundle.replace(/(event, handler), false/g, '$1, options ? options : false');
        bundle = bundle.replace(/(touchDown|touchMove|touchEnd|pause|resume)(Handler)\s*\)/g, '$1$2, {passive: true} )');

It works pretty well.

I mean, I wanna know how the code should look like in our library to comply :)

It looks totally okay for me! )

Sup @sergeymorkovkin @midzer I will need your help a bit.

download latest master
check out the new on/off utils
let me know which components and their events should look like

Thanks

@thednp, I only use Modal and Carousel components on my website. You can take a look how it works here: https://edgeof.it. Pulled latest master and can't event find the word "passive". Do you ever use it somewhere?

No not yet, I've only prepared the on/off event utilities. That's why I want you guys to have a look and come with suggestions.

Hm, it seems to me that we should have a default behavior (automatically
setting passive mode depending on the environment), but still give control
to the user. What do you think? Utilities look good to me.
вт, 28 мая 2019 г. в 16:42, thednp<EMAIL_ADDRESS>
No not yet, I've only prepared the on/off event utilities. That's why I
want you guys to have a look and come with suggestions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thednp/bootstrap.native/issues/283?email_source=notifications&email_token=AAOUOFQPHSVJYM53I7F74ATPXUZFFA5CNFSM4HIB7LS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWMFESY#issuecomment-496521803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOUOFT6HDHCHMSP2UEFBVDPXUZFFANCNFSM4HIB7LSQ
.

--
Сергей Морковкин
www.morkovkin.info
+38 050 445 01 45

That's why I ask you guys make an input.

Okay, here is my input. In my application I'm using {passive: true} always,
which means it will not work in browsers that don't support it (see
https://caniuse.com/#search=passive). The only reason to use passive event
listeners is performance. By setting event listener passive you simply let
browser know that you are only interested in being notified and that's it.
You will not call preventDefaut(). This allows browser make various
internal optimizations. But since you're publishing a library it's a matter
of good tone to let user decide (even though all event listeners are in our
own scope). I'd personally enable it for all mouse/wheel events by default,
but only for browsers that support it.
вт, 28 мая 2019 г. в 17:13, thednp<EMAIL_ADDRESS>
That's why I ask you guys make an input.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thednp/bootstrap.native/issues/283?email_source=notifications&email_token=AAOUOFQXZQ53TLPMXP5PDMTPXU4W3A5CNFSM4HIB7LS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWMIHZI#issuecomment-496534501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOUOFRUCXDEKLFW6BBVO6DPXU4W3ANCNFSM4HIB7LSQ
.

--
Сергей Морковкин
www.morkovkin.info
+38 050 445 01 45

I'm now patching build script output. According to my preliminary tests, following event handlers should be passive:
- touchDownHandler
- touchMoveHandler
- touchEndHandler
- pauseHandler
- resumeHandler

Are these the only handlers to work with passive event option? Also need to know what other event options might be needed.

@sergeymorkovkin @midzer and anyone else please check and test latest master code, I need your confirmation this is implemented properly before pushing to npm.
Thanks

Using latest master of bsn at my site https://feuerwehr-eisolzried.de/ still shows a [Violation] in Console with (verbose) full level logging enabled:
"Added non-passive event listener to a scroll-blocking 'touchstart' event"
Sorry, that I can't help any further right now.

@midzer solved, seems our new utility was missing ONE word. The verbose notice is now gone.

Thanks. I can double check new passive feature tonight

Great also @sergeymorkovkin please have a minute to test ;)

Hmm, somehow this still doesn't work out for me. Maybe some1 else can confirm?

On my demo you have the scroll triggered ScrollSpy component using passive handler, verbose mode shows no problem.

Yeah, everything fine now with the passive event listener :-)
(I had to clone repo in node_modules because somehow yarn mixed up those source files)

Let me know your final thoughts on the code and improvement opportunities.

Regarding passive listener support checking, code looks pretty good for my taste. Copying from WICG explainations should be safe, never had something been broken from there...
Good things you've commented everything :-)

@sergeymorkovkin @midzer and everyone else, please confirm: are we ready to push the next version to the cloud?

I don't want to give a final word here as there have been way more changes lately and I didn't test all existing features yet. I remember last year there has been a regression, because we didn't test everything and I said we ready to go...
All I can tell I have latest master (with custom webpack build ignore: ['scrollspy', 'popover', 'alert', 'affix', 'toast']) running properly at my productive site https://feuerwehr-eisolzried.de

My question is, in this case, strictly tied to the feature requested with this issue.

Suggestion implemented, time to close.

Sorry to bring this up again.
Somehow, after an Chrome audit all levels Console still complains about
main.js:formatted:441 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

in my App https://feuerwehr-eisolzried.de/
In regular usage of site, this does not appear, only for the audit.
I did some debugging now, but I'm kind of stuck here.
Have a nice week & cheers
midzer

Please test https://thednp.github.io/bootstrap.native/ on your machine and confirm the issue. I cannot confirm such issue for some reason.

I've just cleared yarn cache, fetched all npm packages (+ BSN master) and re-uploaded all JS to my site.
Yet the problem still occurs. I wonder why this does not happen on demo page...
Strangely, after implementing this feature the issue had been gone. I wonder if this might be a browser regression somehow, using Chrome 78 dev build.

But the latest code isn't published on npm/CDN yet man, I suggest getting the latest MASTER/dist version.

@thednp I pulled latest git via "bootstrap.native"<EMAIL_ADDRESS>

I don't understand why you still get that warning, please tell me does the DEMO page also throws it?

Finally, I've figured out what has been wrong:
Somehow, yarn pulled (old?) version files from GitHub repository. I switched to npm again and everything is fine.


Fix inaccurate changelog entry: _enable_v3_retries

Closes #219

Skipping tests here because this is merely a fix to the CHANGELOG


feat(pipelines): build tagging

This PR adds tagging capabilities to the pipeline:
when a git tag is set and the build is running against that tag, it will create a docker image with the same tag.
Global changes:

pipeline_set_output_tag.sh now will output version too, which is 0.0.0 by default, will be set to the tag if available. Docker Image tag will be the commit checksum, unless its built against develop or main branches, then the image tag will be latest and stable respectively.

With crux/crux-ui pipeline:

Check if package.json version is the same as the tag, if not, build will fail.
Docker Images are built from the dockerfiles, we wont use any artifact with these.
Docker will tag additionally if necessary(we can apply multiple tags automatically with a bit of work from now on), then push the images. Same thing goes for signing.

crux/crux-ui build:

Timezone now can be set during runtime instead of buildtime via TZ environment variable.
Removed npx from crux build processes
Fixed some missing deps in the crux build processes

@m8vago Please test the images produced by the new build process, especially the recaptcha things! Thank you!
CRUX-UI https://github.com/dyrector-io/dyrectorio/pkgs/container/dyrectorio%2Fweb%2Fcrux-ui/29902123?tag=0.0.1
CRUX https://github.com/dyrector-io/dyrectorio/pkgs/container/dyrectorio%2Fweb%2Fcrux/29902106?tag=0.0.1

Hold it off for a moment. There's a showstopper bug in cert-generation script.

Codecov Report

Merging #49 (6bf7ad7) into develop (3e00476) will increase coverage by 0.70%.
The diff coverage is n/a.

:exclamation: Current head 6bf7ad7 differs from pull request most recent head 472b7d8. Consider uploading reports for the commit 472b7d8 to get more accurate results

@@            Coverage Diff             @@
##           develop     #49      +/-   ##
==========================================
+ Coverage     5.99%   6.70%   +0.70%
==========================================
  Files           58      58
  Lines         4117    4117
==========================================
+ Hits           247     276      +29
+ Misses        3859    3832      -27
+ Partials        11       9       -2

Impacted Files
Coverage Δ

agent/internal/util/image.go
100.00% <0.00%> (+33.33%)
:arrow_up:

agent/internal/util/middlewares.go
40.00% <0.00%> (+40.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Re-review it please!


UndeployOrchestrations: Failure removing assembly from cache:   The parameter is incorrect.

Hi migrated a biztalk 2009 solution (with biztalk deployment configuration) to biztalk 2010.
When i want to (un)deploy within visual studio , iget the following error message.

UndeployOrchestrations:
"C:\Program Files\Deployment Framework for BizTalk\5.0\Framework\DeployTools\gacutil.exe" /u ""
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.
Failure removing assembly from cache:   The parameter is incorrect.

any thoughts ?

regards,

David
This work item was migrated from CodePlex
CodePlex work item ID: '9329'
Vote count: '1'

Issue closed by tfabraham with comment
Duplicate


textInput renders invisible text when inner height is large

We are trying to use a textInput to edit a large blob of text. We are running into an issue where the text becomes invisible (but still editable and selectable) when the length reaches a certain point.

The sample code below is enough to reproduce the problem. If you run this on an iPhone 6, the text will be invisible, but you can still scroll, edit and select text. There are three ways to make the text visible again:

Shorten the length of the text (by changing 48 to 47 in the sample code)
Rotate to landscape. (note that rotating back to portrait makes it invisible again)
Decreasing the font size (by changing 13 to 12 in the sample code)

All three of the above actions will make the scroll height smaller. Based on this, we have determined that the length of the string is not problem, but rather the height of the internal scroll area.  If you run this on something other than an iPhone 6, the same problem will occur, but with slightly different parameters since the width of the device may be different, which affects the height.
import React, { Component } from 'react';
import { AppRegistry, StyleSheet, Text, View } from 'react-native';
var TextInput = require('react-native').TextInput;

class LongNoteProject extends Component {
  render() {
    var text;
    for (var i = 0; i < 48; i++) {
      text += "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse a viverra nunc, et dictum lacus. Praesent fermentum mattis lectus sit amet porttitor. Sed porttitor dui vel magna lobortis interdum. Nullam accumsan elementum lacus eget molestie. Mauris tristique enim erat, non bibendum magna vestibulum a. Nullam fermentum facilisis magna eu tincidunt. Quisque tristique ornare semper. Phasellus sed efficitur libero. Aliquam tristique erat eu nulla scelerisque, sed eleifend elit ultricies. Nullam risus augue, imperdiet vitae sagittis nec, tristique at mi. Aliquam sed cursus dui. Etiam id orci eu ligula gravida mattis a interdum sapien.";
    }

    return (
      <View style={styles.container}>
        <TextInput
          style         = {styles.textstyle}
          multiline     = {true}
          value         = {text}
        />
      </View>
    );
  }
}

const styles = StyleSheet.create({
  textstyle: {
    flex: 1,
    fontSize: 13,
    padding: 4
  },
  container: {
    flex: 1
  }
});

AppRegistry.registerComponent('LongNoteProject', () => LongNoteProject);

ReactNative 0.30.0
React 15.2.1
Xcode 7.3.1 on macOS 10.11.5
iOS 9.3

By logging the height of the textView inside RCTTextView.m:updateContentSize I have determined that 8192px (exactly 2^11) is the breakpoint where text starts rendering as invisible.

In testing, I found another way to reproduce the problem which narrows down the problem a bit.

Hard coding the height of the _textView.frame to 8193 causes the text to be invisible. Reducing this to 8192 causes it to display correctly.

So, I'm continuing to go down the rabbit hole and I discovered this stackOverflow question which has a lot of insight into the problem and makes me think that react-native is using a UITextView incorrectly.
It seems the issue is that when you are using a UITextView, Apple is expecting you to set the frame to be less than the size of the screen and then use it's internal scrolling abilities. This way, the UITextView can intelligently clip non rendered text.  The way react-native is doing it, is to make the UITextView super large and then put this inside another UIScrollView. I am sure there were reasons for going this route and I dont know the implications for rewriting the react-native textInput to not use a wrapper UIScrollView.

From reading that stack overflow link it seems like maybe the best solution is just to use the workaround of not having TextInput that is this large.  I feel like I should close this issue, unless offsky you have more insights for what is going on here and what sort of fix might be useful.

I would like to respectfully request that this issue remain open. This bug will be an issue for any app that allows the user to edit large blocks of text (note taking, messaging, email, document editing, etc).
There is no good workaround. The naive workaround is to limit the number of characters the user is allowed to type into the textInput, but this will not work because the bug depends little on the number of characters typed.  It appears based on the height of the view, which depends on the screen dimensions, font size, character set, and actual text.  In the worst case scenario (1 character per line) the bug will occur with only a few hundred characters typed.
The solution seems straight forward to me. A UITextView can scroll on its own. In fact, this is how Apple intends for it to be used, since a UITextView inherits from UIScrollView.  However, this is not how ReactNative is using the UITextView. Instead, RN is setting the UITextView to be super tall, and then wrapping this inside another UIScrollView. This double wrapping of scroll containers is what is causing the problem because a UITextView was not design by Apple to be taller than the height of the screen.
I suggest that the UIScrollView be removed from RCTTextView.m and then reengineered so that the UITextView does the scrolling itself. Since it inherits from UIScrollView, it should be able to do everything that its wrapper UIScrollView did before.  If I was a better Obj-C developer I would try this myself, but I am a JS developer so I'm hoping that someone else can take a stab at this.

OK, I will reopen this. I'm not sure what the right thing to do is here though. What you propose seems like a fairly complex fix that is likely to break other things. If more people run into this issue it would be great if they could 👍 the original post so we can see how many people this hits, because if it's touching a small number of people then it might not be worth this disruption. I'm hoping there's some other sort of workaround here, though.

  Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, it does not seem like there has been any traction on this issue for some time.

  The issue is being copied over to our feature request tracker at Canny: https://react-native.canny.io/admin/board/feature-requests/p/textinput-renders-invisible-text-when-inner-height-is-large

  There you can upvote issues that are important to you. This will help contributors identify the issues that the community cares about.

  If you think this issue should definitely remain open here in the issue tracker and not on Canny, let us know.


Interpolation in Frequency

We need to handle EADFs which vary in frequency, thus dropping the narrowband assumption.
Nearest Neighbor Interpolation
Since one measures the beampattern at several frequencies, we can simply do a nearest neighbor interpolation by keeping the EADF constant on a small subband. This will not increase the computational effort for interpolation and so forth.
Linear Inerpolation
Linear interpolation increases the accuracy between measured frequencies by one order of magnitude compared to the nearest neighbor method, while only using two instead of one EADF evaluation.
Saving Memory
Maybe we find a method to estimate the non-linearity of the beampatterns and maybe discard some frequency samples along the way.

Basic linear interpolation is implemented both for the derivative and the beampattern itself.

The Interpolation should be extended such that for every angle and frequency pair, we can evaluate the beampattern.

Completed in #f19b7536e8ba041ac3d403


Draft a notion page based on the OKR framework  to clarify our purpose

https://www.welcometothejungle.com/fr/articles/methode-okr-objectives-results

Hey team! Please add your planning poker estimate with Zenhub @JDixmier @ad2ien


Adding example user input JSON to CMIP6 tables

As suggested by @taylor13 in https://github.com/PCMDI/cmor3_documentation/issues/63, we should move CMOR_input_example.json from CMOR's test directory to the CMIP6 tables directory in this repo.  Once merged, we should also change links to the input example and the cmor_dataset_json() path for tests.

@mauzey1 if the checks pass, you have PR approval from me

@durack1 I made a few changes to satisfy the Codacy review.  I gave the "#note" tags unique names and removed the trailing comma.

just to explain why the "notes" weren't unique.  I wasn't expecting code to ingest them; I was treating them as "comments" for humans looking at the file.  I am curious though.  Was the fact that they weren't unique causing errors?

@mauzey1 looks good to me, tests pass

@taylor13 Codacy was detecting duplicate "#note" as an error.

o.k.  Wonder why no one else reported that.  I thought @doutriaux1 ran some tests with the example file.
Anyway, there is certainly no harm in assigning unique names to "note", so let's not explore this further.
thanks.


SIMS Beta User Validation

User Story
As a product team, we want to allow a small number of student users to apply for student funding in SIMS so we can confirm the functionality works end to end in production, before launching.
Acceptance Criteria:

[ ] Create a beta user authentication flow for student users. Given and last names for candidate beta users will be collected and added to a beta user table.
[ ] Upon login, validate against Given and Last Names from the BCSC credential.

[ ] If name matches and BCSC credential, user can proceed to create profile.
[ ] BCeID users cannot login.
[ ] If mismatch of name or BCeID user, show error message on login page: "Unable to login as the system is not yet available."

[ ] Beta Validation is configurable on/off (toggle to enable validation of student user credential/name)

Sample message:

@andrewsignori-aot How few Beta users are we talking about? Are we sure that 2 beta users won't have the same full name?


possible SearchTextPlugin bug

I noticed ctrl+shift+r stopped working, but then noticed things like s/up/down/pgup/pgdn also stopped responding.  I had been using ctrl+shift+r and accidentally pressed ctrl+shift+e.
Looking at filters (and any text field for that matter once I touch it) starts with an e and cannot be deleted except with the red X.  Any typing in the filter will start with the e
Typing a bunch of characters and then opening a comment window (using the mouse) would have the e and all the characters
ctrl+shift+e, esc, or enter appears to exit this mode.  I did notice a small bubble pop-up in the corner with an e followed by characters
I tried getting this plugin to work like it should/could after I realized the key binding I had pressed, but never found anything functional.  I'm guessing the e being inserted is the core of it not working.  The Search->Program Text window through the menus works fine/as normal.

OS: ubuntu 20.04 /64-bit
Java Version: 11.0.11
Ghidra Version: master
Ghidra Origin: self-build (run through eclipse)

I'm having a hard time parsing this.
Is there a series of steps we can try to reproduce the issue?

Heh, sorry
I should just said cannot use shortcut ctrl+shift+e to open Search Text Plugin
On my setup, 20.04 and running from eclipse/master, a small text bubble pops up in the bottom left and the search text window does not appear.  The next text box I use will have an underlined e and any printable characters pressed since the shortcut combo.  The e cannot be deleted, but the box text can be cleared (backspace vs red X)

This sounds to me like a system-level Input Method Editor feature.  Since you say it is not in other apps, maybe it is specific somehow to Ghidra.   As far as I know, Java does not provide this functionality, which means it must be done by the OS.   But, maybe your IME tool can have it work only within the app you are running.

Well I guess I should have done a quick google search for the combo
https://askubuntu.com/questions/1083913/what-does-ctrl-shift-e-do-while-typing-text

Was just entering that link.  I've confirmed that unassigning it in ibus-setup fixes it.


graph/path/dynamic: update linting

Please take a look.

Too soon.

Do you need it approved now?

It's fine now. The too soon was for the commit I rebased out that updated the version of golangci-lint. That has already been merged. This is ready.


[QUESTION] zIndex when using menuPortalTarget

Hey,
is there a way to change the zIndex when using a portal to move the dropdown to document.body?
In react-select there's the styles property where you can customize CSS of the portal, like this:
<Select menuPortalTarget={document.body} styles={{menuPortal: (provided) => {...provided, zIndex: 100} }}/>

Unfortunately, the menuPortal property doesn't seem to exist in chakra-react-select in chakraStyles. Is there any way to change the zIndex on the portal?

Ah yes, I figured this would come up eventually.  The MenuPortal component was the one component that I wasn't easily able to replace with a custom chakra component, so I left it alone, but since I stopped forwarding the styles prop along, it won't be affected by it.  I'll make adding a custom component for the menu portal (along with a chakraStyles key for it) a priority.
In the meantime, as a workaround you do have the option to use the className styling with CSS to style it, using the className prefix__menu-portal.
I'll try and get a better solution to this out early next week.

So I spent a good while looking at the source code for the original MenuPortal component, trying to figure out how to replace it with a custom component which would allow me to use the styles from the chakraStyles prop, but I think it may be impossible.  The original one returns a context provider which is not exported from the file so there is no way for me to import it in order to offer the same provider in a replacement component.
Because of that, the best I could do for now is re-enable the forwarding of the styles prop, specifically for this component.  The prop won't affect any of the other components as they have all been replaced with custom components, but if you want to use the menuPortal key then you'll have to use it for that.  This change can be seen in v3.0.5 and I also added some documentation about it.
While this solution is probably better than being forced to use CSS, I would like to find a better alternative at some point, so I am going to leave this issue open until I do.  And if anyone else has any thoughts on the issue, definitely leave a comment!

Hi @csandman,
I am quite new to frontend development and currently I am working with chakra and I also working with the chakra-react-select. Now I am facing the issue, when I use a popover from chakra and add the select to the popoverbody I can see the input but I cannot see the menu with the values to select.
Possibly this can be the problem with the zindex. Can you show any example how I can manipulate this?

Have you tried doing exactly what the original poster of this issue did? That should solve your issue:
<Select menuPortalTarget={document.body} styles={{menuPortal: (provided) => {...provided, zIndex: 100} }}/>


TZ3000_bfn1w0mm no metering (TS011F Family)

Bought this item (https://it.aliexpress.com/item/1005003741939416.html?gatewayAdapt=glo2ita&spm=a2g0o.90423<IP_ADDRESS>24c4dhYaVI8) a 20Amp smart plug tuya Zigbee.
Model TZ3000_bfn1w0mm as shown on HA. No metering present.
Other similar products (i.e. TZ3000_bfn1w0mm same TS011F family but 16amp smart plug) have working metering!
Describe the solution you'd like
It would be appreciated if metering could be added to this new variant of the smart plug.
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x010a",
"in_clusters": [
"0x0000",
"0x0003",
"0x0004",
"0x0005",
"0x0006",
"0x0702",
"0x0b04",
"0xe000",
"0xe001"
],
"out_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZ3000_gjnozsaz",
"model": "TS011F",
"class": "zhaquirks.tuya.ts011f_plug.Plug"
}
Additional context
Add any other context or screenshots about the feature request here.
Immagine 2022-02-04 00404

4

Im sorry for spamming your issue more but its looks like git-hub have doing some mixing and adding some old commitments in your issue and making one PR of it.
I think the easiest is closing these and trying making one new issue.

@dmulcahey This issue is running amok i dont knowing what git-hub is doing with it but its looks like all mergered PR is being linked to it.

Bad rebase or something similar. May be faster to start over 🤷🏻♂


Could NOT find OpenGL error on WSL 2

Such an error was thrown after a try to build the sources from the v0.4.0 distribution on Ubuntu running on WSL 2 on Win 11
bartek@HomePC:~/projects/gltut-0.4.0$  cmake CMakeLists.txt
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY
OPENGL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindOpenGL.cmake:443 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bartek/projects/gltut-0.4.0/CMakeFiles/CMakeOutput.log".

I was able to resolve the issue by installing libgl1-mesa-dev


model object is fetched with datatables

@sachinwhiteman7 does your issue seem readable to you ?
Please don't use the title section in order to describe your issue.

@Pegase745
i'm trying to fetch a table using datatables, i have defined three columns (id, phone and status ), but i'm getting a result like this, [(<Block 11>, 11, '7735353545', 'blocked')] first element is a model object, how can i remove that

my file looks like this,
columns = [ColumnDT(Block.id),
ColumnDT(Block.phonenumber),
ColumnDT(Block.status),
]
query = Block.query.filter()
row_table = DataTables(request.args, query, columns)
return jsonify(row_table.output_result())

and i'm getting this error
row_table = DataTables(request.args, query, columns)
# print(query.all())
# returns what is needed by DataTable
return jsonify(row_table.output_result())

it worked when i changed to query = db.session.query().select_from(Block).filter()


Downloading Large Images Mosaic from GEE

Hi Professor,
I hope you are doing good .
I was creating a mosaic for larger area from sentinel 2 collection . Isn't there a way to download those images by chipping into smaller ones ? There is a limit of 1gb but I was trying to download whole cloud free mosaic .
Thank you for your help !

You can download to Google Drive. See https://geemap.org/notebooks/11_export_image/

The data is around 50 GB and google drive doesn't have that much space . Isn't there a way I can download it to local machine by breaking into tiles or chipping it ?

No. Large files cannot be downloaded directly to a local computer. You will need Google Drive to Google Cloud Storage.


update adding-controller.rst

The instruction to click "Add > New Item" doesn't follow the screenshots. To get to the right place you need to choose "Controller..." like the screenshot shows.

Hi @cparker4486, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

:shipit:


Make this available for artist with Ipad or lower GPU PC, maybe colab

Please, make this available in google colab. I already invested my money for iPad and I am still need to buy another for studio needs. Perhaps low gpu setting? I already bought GTX 750 Ti but AFAIK since you suddenly use Stable Diffusion model, I think GTX still not enough. I will be very glad if you make your software available for artists who not using Nvidia RTX

@benagastov
Online version of style2paints V4.5 https://highcwu-style2paints-4-5-gradio.hf.space/file/ui/web-mobile/index.html
Online version of style2paints V4 https://highcwu-style2paints-4-gradio.hf.space/file/ui/web-mobile/index.html


Exception: You cannot use pop on a ModelOutput instance.

Hello
I'm getting the following error when trying the google colab demo
https://colab.research.google.com/github/amazingvince/docqa/blob/updating_colab/docquery_example.ipynb
(Same issue on my m1 macbook)
!docquery scan "who authored this paper?" https://arxiv.org/pdf/2101.07597.pdf

023-01-30 19:00:54,639 ERROR: Failed while processing https://arxiv.org/pdf/2101.07597.pdf on question: 'who authored this paper?'
Traceback (most recent call last):
  File "/usr/local/bin/docquery", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/docquery/cmd/__main__.py", line 61, in main
    return args.func(args)
  File "/usr/local/lib/python3.8/dist-packages/docquery/cmd/scan.py", line 95, in main
    response = nlp(question=q, **d.context)
  File "/usr/local/lib/python3.8/dist-packages/docquery/ext/pipeline_document_question_answering.py", line 232, in __call__
    return super().__call__({"question": question, "pages": normalized_images}, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/base.py", line 1076, in __call__
    return next(
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 124, in __next__
    item = next(self.iterator)
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 291, in __next__
    is_last = item.pop("is_last")
  File "/usr/local/lib/python3.8/dist-packages/transformers/utils/generic.py", line 281, in pop
    raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")
Exception: You cannot use ``pop`` on a ModelOutput instance.

looks like an issue with the transformers package
Maybe try updating to the latest transformers version?
!pip install --upgrade transformers
Alternatively, also try with the transformers version listed in the requirements.txt if you don't already have it (although I think the reqs file is outdated)

Thx for your reply. Still getting the same error with the latest version of the transformers package (4.26.0).
https://colab.research.google.com/drive/1Z_ujjVo3Neaz7aBLOIhELq0sbu0yOehe?usp=sharing
Are you able to reproduce the error on your side?
!pip install --upgrade transformers

import transformers

print(transformers.__version__)

!docquery scan "who authored this paper?" https://arxiv.org/pdf/2101.07597.pdf

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: transformers in /usr/local/lib/python3.8/dist-packages (4.26.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.11.0 in /usr/local/lib/python3.8/dist-packages (from transformers) (0.12.0)
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.8/dist-packages (from transformers) (2022.6.2)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /usr/local/lib/python3.8/dist-packages (from transformers) (0.13.2)
Requirement already satisfied: requests in /usr/local/lib/python3.8/dist-packages (from transformers) (2.25.1)
Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.8/dist-packages (from transformers) (4.64.1)
Requirement already satisfied: filelock in /usr/local/lib/python3.8/dist-packages (from transformers) (3.9.0)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.8/dist-packages (from transformers) (6.0)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.8/dist-packages (from transformers) (21.3)
Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.8/dist-packages (from transformers) (1.21.6)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /usr/local/lib/python3.8/dist-packages (from huggingface-hub<1.0,>=0.11.0->transformers) (4.4.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.8/dist-packages (from packaging>=20.0->transformers) (3.0.9)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/dist-packages (from requests->transformers) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/dist-packages (from requests->transformers) (1.26.14)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/dist-packages (from requests->transformers) (2022.12.7)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/dist-packages (from requests->transformers) (4.0.0)
4.26.0
document-question-answering is already registered. Overwriting pipeline for task document-question-answering...

Traceback (most recent call last):
  File "/usr/local/bin/docquery", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/docquery/cmd/__main__.py", line 61, in main
    return args.func(args)
  File "/usr/local/lib/python3.8/dist-packages/docquery/cmd/scan.py", line 95, in main
    response = nlp(question=q, **d.context)
  File "/usr/local/lib/python3.8/dist-packages/docquery/ext/pipeline_document_question_answering.py", line 232, in __call__
    return super().__call__({"question": question, "pages": normalized_images}, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/base.py", line 1076, in __call__
    return next(
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 124, in __next__
    item = next(self.iterator)
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 291, in __next__
    is_last = item.pop("is_last")
  File "/usr/local/lib/python3.8/dist-packages/transformers/utils/generic.py", line 281, in pop
    raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")
Exception: You cannot use ``pop`` on a ModelOutput instance.

Oh weird. Yea I tried a few things on colab, using !pip install transformers==4.24.0 after installing everything normally ended up working for me.

I'll leave it up to the authors of the repo to figure out if this is a transformers issue or an issue with how they are using transformers lol

try this
pip install git+https://github.com/impira/transformers@153d1361c7dcc91c7735cae73e1f594cfcab3e21

Oh weird. Yea I tried a few things on colab, using !pip install transformers==4.24.0 after installing everything normally ended up working for me.
I'll leave it up to the authors of the repo to figure out if this is a transformers issue or an issue with how they are using transformers lol

Thx, I don't understand why, but it worked!


ZScan not found

ZScan not found  in 'go-zero/core/stores/redis'

i will implement it

fixed. closing.


TRS Code Incorrectly Uses Jenkins "Build" instead of "Project" At Various Places

Test Result Summary is using the Jenkins term "build" incorrectly instead of "project" in some places. So it's easy to get confused when the code might actually be referring to "project" and not the "build" in various places.
Sorry to be pedantic. I know it's not a big deal but it's would be good to update the wrong references so that it's easier to understand and maintain the code.
Terminology
https://jenkins.io/doc/book/glossary/
Project
A user-configured description of work which Jenkins should perform, such as building a piece of software, etc.
Example: PerfNext-Pipeline, Grinder, Daily-ODM
Build:
Result of a single execution of a Project
Example: Different Builds: 1, 2, ..., 99, 100...
Job
A deprecated term, synonymous with Project.
Some references that should use "project" instead of "build":
TRSS

BuildMonitor.js (File Name)
EventHandler.js (Function Name: monitorBuild())
getTopLevelBuildNames.js (File Name & var: "buildName")
getBuildHistory.js (File Name)

TRSC

TopLevelBuilds.jsx (/api/getBuildHistory?buildName=${buildName}&url=${url} & builds[url][buildName] in updateData())

MongoDB

buildList (Collection Name)

FYI @llxia @sophiaxu0424


IAnnotationTransformer2 transformed value reverts to default

Using v6.8.21 (JDK 1.6) with maven-surefire-plugin, in summary, my implementation of IAnnotationTransformer2 picks up a test method annotation and modifies it successfully, along with all other method annotation transformations. Then at test execution time, the annotation value reverts to the hardcoded value, but only for the one method, not for any others. The other methods use the transformed values successfully.
Debugging implies the instance of the test method passed to the DataProvider (and it's declared annotations) is a different instance than the one with transformed annotations. This is not the case with the methods that succeed.
Details:
I have a TestNG test class ServiceTest with a number of test methods (>25). I also have a custom annotation @QueryFile which takes a list parameter containing an array of String which reference paths to text files containing parameters:
//ServiceTest.java snippet, original:

@Test (dataProvider="QueryTests",groups={"json","api"})
@QueryFile(list={
    "/test/inserts_multiquery_json.txt",
    "/test/selects_multiquery_json.txt"
})
public void testWithMultipleQueries(String query) throws...

Previously, as in the example above, the list values were hard-coded into the ServiceTest class, with a separate set of paths for each method.
Recently, I have added an implementation of IAnnotationTransformer2, QueryFileTransformer, to load these paths from a properties file instead. This makes the job of toggling test parameters on and off significantly easier (e.g., I can just rename various versions of the properties files to the expected name and it gets picked up.)
Revised ServiceTest.java
// revised ServiceTest.java snippet:

@Test (dataProvider="QueryTests",groups={"json","api"})
@QueryFile(list={})
public void testWithMultipleQueries(String query) throws...
...
@Test (dataProvider="QueryTests",groups={"json","api"})
@QueryFile(list={})
public void testWithJSONParams(String query) throws...

TestNG_toggle.properties
// TestNG_toggle.properties snippet:
# General tests
testWithMultipleQueries=\
/test/inserts_multiquery_json.txt,\
/test/selects_multiquery_json.txt,\
/test/updates_multiquery_json.txt,\
/test/deletes_multiquery_json.txt
testWithJSONParams=\
/test/inserts_multi_json.txt,\
/test/selects_single_json.txt,\
/test/selects_multi_json.txt,\
/test/updates_single_json.txt

So to state the problem again: One of my test methods, and only one, suffers the indignity of reverting to its default @QueryFile annotation value during test execution. All other methods honor the annotation value resulting from QueryFileTransfomer.transform. In the example above, testWithJSONParams executes correctly with the values from the properties file, but testWithMultipleQueries executes with a null list, and is skipped. When testWithMultipleQueries has a hardcoded list, it works fine.
Some facts:

Execution is through maven surefire and failsafe
preserve-order="true"
as stated above: QueryFileTransformer picks up the testWithMultipleQueries annotation and modifies it successfully, in the midst of all other transformations. Then at test execution time, the annotation value appears to revert to the hardcoded value.
stepping through the eclipse debugger, it seems the transformation of testWithMultipleQueries occurs earlier than other method annotation transformations, but it's not always first. Often it is intermingled with methods from other classes, which are listed first in the xml file, whereas the rest of the ServiceTest methods seem to transform in sequence.
Specifying the method as exclusive in the xml config file had no impact other than the expected of omitting the other methods' execution.
Changing the order of specified methods had no impact on the issue.

I assume this is a configuration problem, but an esoteric one.  There is little to go on, online, for this feature.  Any insight you can provide will be most helpful.
Thanks!

Is it possible to share a runnable project which shows the issue?
Is it possible you test with the latest version of TestNG?

My source will be available within a few weeks -- the corp overlords have to approve before release, but that process is underway.
This raises an interesting question which is: can the issue be reproduced?  I'll try to build a separate package on the quick and post to my personal repo.
Regarding version, this issue arises in 6.8.21 which I believe I'm stuck with while using JDK 1.6.

There is a working example here: https://github.com/varontron/testng-annoxform2-bug
Results were reproduced in v6.8.21 and v6.9.6.
Details in the ReadMe.

I don't think this issue exists any more in 6.14.3. Please comment if this is still a problem


Add Rust packages to our schema

See also #2253 and #2252

https://github.com/opensource-observer/oss-directory/pull/593


Add a public API

This is something I want to do, feel free to tell me what you want to see / do with this API

Hi @cyclotruc, this is a great product. I love the design.
In principle, from the API I would like to be able to pass a repository link and a github token and retrieve a single string with all the context.


Fix flashing RiggedHandMesh

Overview
There is a timing when the hand controller is already tracked and provides a position, though no joint data is available yet. I.e. when you move hands quickly into the HL2 tracking view. This results in the hand mesh being rendered already, while the joint data hasn't been set and the mesh is stuck at origin.
This change will now make sure the hand mesh is only rendered when there is actual joint data available.
Changes

Fixes: #10646

/azp run


python311Packages.aiostream: 0.4.5 -> 0.5.0

Diff: https://github.com/vxgmichel/aiostream/compare/refs/tags/v0.4.5...v0.5.0
Changelog: https://github.com/vxgmichel/aiostream/releases/tag/v0.5.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 257683 run on x86_64-linux 1

4 packages failed to build:

khal
khal.dist
vdirsyncer (python310Packages.vdirsyncer)
vdirsyncer.dist (python310Packages.vdirsyncer.dist)

6 packages built:

python310Packages.aiostream
python310Packages.aiostream.dist
python311Packages.aiostream
python311Packages.aiostream.dist
python311Packages.vdirsyncer
python311Packages.vdirsyncer.dist

Result of nixpkgs-review pr 257683 run on x86_64-linux 1

10 packages built:

khal
khal.dist
python310Packages.aiostream
python310Packages.aiostream.dist
vdirsyncer (python310Packages.vdirsyncer)
vdirsyncer.dist (python310Packages.vdirsyncer.dist)
python311Packages.aiostream
python311Packages.aiostream.dist
python311Packages.vdirsyncer
python311Packages.vdirsyncer.dist


Make Wallets in Modal Configurable

Config should dictate order and hide wallets from master list. This enables dapps to hide any wallets that are not relevant to their users and re-order based on user preference.

Is this blocked by the central walletconnect config. I think we may need a separate config for modal configurations anyway since some of the wallets do not use WalletConnect


i like vscode

Type: Feature Request
vscode is great
VS Code version: Code 1.74.1 (1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a, 2022-12-14T10:30:51.966Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No

me too :)


📃: TabTime Guardian extension

:red_circle: TabTime Guardian extension :
:red_circle: Aim :
:red_circle: Vanilla JS, HTML, CSS :
Screenshots 📷 N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name : Tanushri Goel
What is your participant role? GSSOC

Can you explain about this project?

TabTime Guardian is a powerful browser extension designed to help users take control of their time spent on social media and other distracting websites. With its simple and intuitive interface, users can set a custom timer for specific websites or tabs, allowing them to limit their screen time effectively. Once the timer expires, the extension automatically closes the designated tab, ensuring users stay focused and productive.
This tool is perfect for anyone looking to boost productivity, minimize distractions, and develop healthier online habits. Whether you're a student, professional, or someone aiming to manage time better, TabTime Guardian offers a smart, effortless solution to keep your internet usage in check.


install not recognizing the arguments

Hello,
For some reason I can't install APERO properly now, the argument "name" is not recognized (I'm on : * v0.7.291-stable-test):
python setup/install.py —-name=md1011
Module check:
Passed: astropy (5.3 >= 5.3)
Passed: astroquery (0.4.6 >= 0.4.6)
Passed: barycorrpy (0.4.4 >= 0.4.4)
Passed: bottleneck (1.3.7 >= 1.3.7)
Passed: duckdb (0.9.0 >= 0.9)
Passed: matplotlib (3.7.1 >= 3.7.1)
Passed: git (3.1.41 >= 3.1.41)
Passed: gspread_pandas (3.2.2 >= 3.2.2)
Passed: gspread (5.12.4 >= 5.12.4)
Passed: numba (0.57.0 >= 0.57.0)
Passed: numexpr (2.8.4 >= 2.8.4)
Passed: numpy (1.24.3 >= 1.24.3)
Passed: pandas (2.2.3 >= 2.2.3)
Passed: pandastable (0.13.1 >= 0.13.1)
Passed: PIL (10.2.0 >= 10.2.0)
Passed: psutil (5.9.4 >= 5.9.4)
Passed: yaml (6.0 >= 6.0)
Passed: skimage (0.19.3 >= 0.19.3)
Passed: scipy (1.10.1 >= 1.10.1)
Passed: tqdm (4.65.0 >= 4.65.0)
Passed: yagmail (0.15.293 >= 0.15.293)
Passed: mysql.connector (8.3.0 >= 8.3.0)
Passed: sqlalchemy (2.0.15 >= 2.0.15)
usage: install.py [-h] [--update] [--skip] [--dev] [--gui] [--name NAME] [--root ROOT] [--config CONFIG] [--instrument {SPIROU,NIRPS_HA,NIRPS_HE}]
[--datadir DATADIR] [--rawdir RAWDIR] [--tmpdir TMPDIR] [--reddir REDDIR] [--outdir OUTDIR] [--calibdir CALIBDIR]
[--telludir TELLUDIR] [--plotdir PLOTDIR] [--rundir RUNDIR] [--assetsdir ASSETSDIR] [--logdir LOGDIR] [--otherdir OTHERDIR]
[--lbldir LBLDIR] [--always_create ALWAYS_CREATE] [--plotmode {0,1,2}] [--clean CLEAN] [--clean_no_warning CLEAN_NO_WARNING]
[--database_mode {1,2}] [--database_host DATABASE_HOST] [--database_user DATABASE_USER] [--database_pass DATABASE_PASS]
[--database_name DATABASE_NAME] [--calibtable CALIBTABLE] [--tellutable TELLUTABLE] [--findextable FINDEXTABLE]
[--logtable LOGTABLE] [--astromtable ASTROMTABLE] [--rejecttable REJECTTABLE] [--langtable LANGTABLE]
install.py: error: unrecognized arguments: —-name=md1011
(I also tried without the = and it says the same)
Any idea what I'm doing wrong?
Thanks!

So I don't know if its just github but it seems the charaters are —-  i.e. a —  and a -   it should be --
i.e.
python setup/install.py --name=md1011

worth a try?

I didn't get the difference but as usual you are right, typing it again made it works. Thanks!

Mac sometimes turn two - sign (hyphen) into another character (long hyphen or em dash), there is also an "en dash" which is somewhere in between - I normally find when Etienne has typed something in a certain text editor it can do this hence I try to put code stuff in github in the "code box"
so - is different from — which is different from –
Fun!


Benchmark test case in full model

We need to be able to reproduce the full benchmark case (Mehlmann et al., 2021). To-do list:

[x] Generate forcing fields for the atmosphere
[x] Generate forcing fields for the ocean
[ ] Generate grid at different resolutions
[ ] Generate initial conditions

The forcing fields already exist as ocean and atmosphere boundary modules.


Update swedish localization

Looks good to me! I believe we just added three more values with the latest develop. Do you want to translate those to or go ahead and merge?

@RichiCoder1  I have now updated with the new strings :-)

Thanks!

@magol thank you for your continued help with this!


[stable/datadog] Fix metricsProvider port with Kubernetes <= 1.14

What this PR does / why we need it:
Fix installation on Kubernetes <= 1.14 in case metricsProvider is enabled. On Kubernetes <= 1.14, port is not configurable and must be 443
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/lgtm


Create insertion.py

Pull Request Template
What have you Changed(must)
Write here what you have changed in codebase
Issue no.(must) -
Pr will be closed and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will marked as spam.
[ ] My file is in proper folder.
[ ] I am following clean code and Documentation.
[ ] I have added title and what program will do first in the file.

README - How to Contribute

Open a new issue before making a PR!


Version 1.24 cannot enable multiple device mirroring on some windows7 and windows10 computers

Version 1.24 cannot enable multiple device mirroring on some windows7 and windows10 computers, but if I switch to version 1.21, all devices can be enabled at the same time. I found that FFmpeg has been upgraded to version 5.0.1 after version 1.21, Does this have anything to do with it?

[server] DEBUG: Using encoder: 'OMX.qcom.video.encoder.avc'
[server] DEBUG: Controller stopped

Version 1.24 cannot enable multiple device mirroring on some windows7 and windows10 computers, but if I switch to version 1.21, all devices can be enabled at the same time.

That's unexpected, since v1.21 is not expected to work on Windows7: https://github.com/Genymobile/scrcpy/releases/tag/v1.21

NOTE: This version does not work on Windows 7 (https://github.com/Genymobile/scrcpy/issues/2838). A development version including a fix is available here: https://github.com/Genymobile/scrcpy/pull/2840.

Could you test 1.20, 1.22, 1.23, please?

1.22, 1.23, 1.24 will be stuck there, 1.21 and previous versions have no problem, and can open multiple devices at the same time.

Sorry, I didn't explain clearly. I tested these operating systems that cannot be opened on multiple devices at the same time. Windows 7 can open multiple devices at the same time using version 1.19 and below, and windows 10 can open multiple devices at the same time using version 1.21 and below.

Sorry, I didn't explain clearly. I tested these operating systems that cannot be opened on multiple devices at the same time. Windows 7 can open multiple devices at the same time using version 1.19 and below, and windows 10 can open multiple devices at the same time using version 1.21 and below.

When I tested with the latest 1.24 version, none of these operating systems were able to open multiple devices at the same time.

I could not produce. On a Windows 10 laptop, I plugged 2 different Android devices, I can mirror them at the same time.

same problem with connecting to Samsung A5 and Fire Stick 4k. Only one works. Second device hangs on
[server] DEBUG: Controller stopped


next: Collected changes for the v2016.01 release

Let the testing commence!

How are we on the first 2016 release? I think there are some PRs that should be merged as well such as the little bug fixes ala #679

A rich looking release candidate! @lukego unless you oppose I would do the release now.


Got more of the package.json scripts working

HTTPS works, moved the isProduction hard coded const into an environment variable called by a package.json script.
Got lint script working, and cleared some lint errors.

These are great additions. 👍


Extension for closed issue #1177 SharedNotes activity

Sir, I have an idea. We can limit the text length in the notes container so that they do not exceed the container's limit. This will prevent our UI from breaking, and an alert can be displayed when the limit is reached.
please refer https://github.com/llaske/sugarizer/issues/1177 to check my previous closed issue.

I don't think we need that. Sometimes it's interesting for young users to understand that they could break things.


support use checkbox without transport value

Please makes sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's Contributing Guide.
[x] Make sure you are merging your commits to dev branch.
[x] Rebase before creating a PR to keep commit history clear.
[x] Add some descriptions and refer relative issues for you PR.

#1736


WIP: Improve testing

Drop support/testing for CentOS 6, Fedora OS, FreeBSD
Drop test suite for allowed_ips - no functional tests, no point
Clean up kitchen config
Test Chef 12 and Chef 13 but allow Chef 13 to fail until it's properly supported

I'm going to merge this and then nuke the opensuse testing for now. That' broken in Apache2 which is the root cause.


1.9 Breaks the game

Validation

[X] Game has been updated to the latest RE4HD release (v1.1: https://www.re4hd.com/?p=9552)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.1 SFV: BIO4-HDProject1.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
white screen after starting, closes after 10 seconds.

I'm having the same issue as Plainstone123, here's my CrashDump
CrashDumps.zip

Crash in amdvlk32.dll, most likely caused by DXVK. Not much that can be done here besides just disabling Vulkan, I'm afraid. I suppose you're using Intel GPUs?


More Uniform Icons

Icons are currently hand-made or from Qt icon sets. Would be nice to have a larger set of homogeneous icons that are open-source.

These two pull requests are waiting on an icon: #961, #971


Documentation: How to Debug & Debugging Best Practices

🚀 Feature Request
To investigate issues should be as easy as possible.  Let's provide guidance on how to most efficiently debug development issues.
🔈 Motivation

🛰 Alternatives

📎 Additional context

https://hivemq.github.io/hivemq-mqtt-client-dotnet/docs/how-to/debug


Simplify ElfParser a bit

Please see individual commits for descriptions.

Retracting this pull request as it appears this functionality may still be needed.


Flutter 2.5 floatingActionButton centerDocked notch problem

Hello. When floatingActionButton is centerDocked in BottomNavigationBar with CircularNotchedRectangle on a widget with SafeArea the notch is wrong.
If you remove SafeArea widget works fine. The problem is with Flutter 2.5
Sample code:
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: SafeArea(child: Home()),
    );
  }
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      floatingActionButton: FloatingActionButton(
        //Floating action button on Scaffold
        onPressed: () {
          //code to execute on button press
        },
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Icon(
              Icons.directions,
              color: Colors.white,
            ),
            Text(
              'Viaje',
              style: TextStyle(
                fontSize: 10.0,
                color: Colors.white,
              ),
            ),
          ],
        ), //icon inside button
      ),

      floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
      //floating action button position to center
      bottomNavigationBar: BottomAppBar(
        //bottom navigation bar on scaffold
        color: Colors.redAccent,
        shape: CircularNotchedRectangle(), //shape of notch
        notchMargin: 5, //notche margin between floating button and bottom appbar
        child: Row(
          //children inside bottom appbar
          mainAxisSize: MainAxisSize.max,
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            IconButton(
              icon: Icon(
                Icons.menu,
                color: Colors.white,
              ),
              onPressed: () {},
            ),
            IconButton(
              icon: Icon(
                Icons.search,
                color: Colors.white,
              ),
              onPressed: () {},
            ),
            IconButton(
              icon: Icon(
                Icons.print,
                color: Colors.white,
              ),
              onPressed: () {},
            ),
            IconButton(
              icon: Icon(
                Icons.people,
                color: Colors.white,
              ),
              onPressed: () {},
            ),
          ],
        ),
      ),
    );
  }
}

Result:

Removing SafeArea result is fine:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.19043.1165], locale es-CO)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 2020.3)
[√] VS Code, 64-bit edition (version 1.55.2)
[√] Connected device (3 available)
• No issues found!

@fleoparra
Thanks for reporting. This seems to be a case of regression.

On Stable 2.2.3, with SafeArea, the FAB is displayed properly as below:

Without SafeArea:

On Stable 2.5.0,  with SafeArea, the FAB is displayed as below:

Without SafeArea:

/cc: @HansMuller

CC @rami-a

Thanks for reporting @fleoparra, so far I have not been able to reproduce at master on Mac, trying mobile platforms next.

I've reproduced on iOS, bisecting now.

I have bisected this to https://github.com/flutter/flutter/pull/81228
@HansMuller Is this expected based on your change?

I have a provisional fix for this and you can avoid it if SafeArea(top: false, child: ...) happens to work in your case.


[Discussion]: “squeezed” appointments

Contact Details
<EMAIL_ADDRESS>Section Number
No response
What is wrong
Sometimes an appointment needs to be “squeezed” into the schedule.  For example, an emergency situation must be seen.  The clinician will attempt to squeeze the patient in between two scheduled appointments.
How this scenario could be done using this IHE profile (IG) as this will create an appointment that does not yet exist?
Perhaps the ITI-117 could be extended to support this scenario.
Describe the solution you'd like
No response
Relevant log output
No response
Priority
{"Medium"=>"Significant issue or clarification. Requires discussion, but should not lead to long debate."}
Code of Conduct

[X] I agree to follow the IHE Code of Conduct

A core assumption in this profile is that the scheduling server is responsible for the business logic of the determining what and when can be scheduled. The client doesn't need to know that there was anything squeezed.

Will add an example to Scope in Volume 1 to explain the separation of purpose.


Prevent clients from traveling down minority forks

A single rogue witness could create an alternative chain that is longer than the undo history.  If they are able to connect to a peer first then that peer could end up "stuck" on the minority chain and would be unable to recover without manual intervention.
The goal is to ensure that at all times a node is able to recover if it is presented with the real chain and the real chain has no significant gaps without checkpoints confirming the gaps are legitimate.
Given an undo buffer of 1000 blocks we need to ensure that no node will extend a chain for which there may exist an alternative chain that is longer and which forks more than 1000 blocks ago.
Every time a block is missed it requires two blocks to confirm the miss with certainty that you are still on the highest participation fork.   Based upon this information we can construct the following algorithm:
if( empty_slots_from_prior_block > 0 )
     missed_count += 2*empty_slots_from_prior_block
else
    missed_count = max(0,missed_count-1)
ASSERT( missed_count < 2*MAX_UNDO_HISTORY )

If you miss 1000 blocks in a row, then you will not push block 1001.
If you miss 999 blocks in a row, then you must produce 2 blocks for every block missed thereafter (2/3) delegate participation.
In effect this requires 2/3 participation to stay in sync while allowing short disruptions in block production.
Stated another way,  the required UNDO history can be determined by the "missed_count".   This means that a healthy network can get away with a shorter undo history than an unhealthy network and that the MAX_UNDO_HISTORY needs to define a threshold where a rogue witness is unable to flood a user's memory with undo state.

Proposed solution:
MIN_UNDO_HISTORY 10 blocks
MAX_UNDO_HISTORY 10000 blocks
CURRENT_UNDO_HISTORY   = max( MIN_UNDO_HISTORY,missed_count )

There exists a potential attack where the attacker simply wishes to disrupt the downloading of new blocks by causing a client to go down many dead-end chains before finding the proper chain.  The risk of this attack needs to be balanced with the risk of a natural short-term disruption in the participation rate on the main chain.


Multi-select not selecting "selected: true" items (Vue)

Vue Multi Select not selecting selected items.
It is an issue in the docs too.
https://coreui.io/vue/docs/forms/multi-select.html
It's good in Angular, React and JS.
OS: Ubuntu and IOS
Browser: Firefox, Chrome, Safari

I haven't been able to replicate the problem on iOS. Which section of the document are you having problem with?


how to load razor page from file, excute it and get the html result?

we can load webpage from file, exute it and get the thml result with asp.net mvc 5
var page = WebPageBase.CreateInstanceFromVirtualPath(path);
using (var writer = new StringWriter())
{
    page.ExecutePageHierarchy(new WebPageContext(new HttpContextWrapper(HttpContext.Current), page, null), writer);
    var html = writer.ToString();
}

but how to do that with asp.net core?

Hi @xjfnet.
We have a sample detailing a similar scenario, which is available at https://github.com/aspnet/Entropy/tree/dev/samples/Mvc.RenderViewToString

For Mvc 5, I'd look at something like https://github.com/Antaris/RazorEngine


feat(Topology): set of generic points of generic components

I am by no means used to the conventions around these things, but isn't genericPoints a bit too vague of a name ? As in, I would expect it to be the set of points generic in the whole space (granted, this is useless when you have a non-irreducible space). But if you think there's no risk of misunderstanding I'll believe you.

I might be misunderstanding you, but isn't the definition proposed in this PR exactly what you described (when the space is irreducible)?

Yes it is, it's just that, purely from the name genericPoints, I was expecting it to be empty in the non-irreducible setting 😅
Really the only thing is that it sounds surprising to have IsGenericPoint and genericPoints not being as trivially related as the names might suggest. But since one needs 10 seconds to understand the subtlety I think it doesn't matter much and you can ignore my comments.

bors merge


fix: Parameterize prometheus scrape annotation

https://github.com/coroot/helm-charts/issues/21

Behavior:

scrape set to true -> prometheus.io/scrape:"true"
scrape set to false -> prometheus.io/scrape:"false"
scrape not set -> prometheus.io/scrape:"true"


How to use increment_build_number to change build number?

How do I get my Current Project Version to be the actual build number in my Xcode target for iOS?
increment_build_number updates this

increment_build_number does not update this

(I realize this is an Xcode question, but any guidance would be appreciated, thanks!)

Some of my targets were actually updating and others weren't. It turns out that the top syntax works for Xcode but not for avgtool... so you have to replace in your .pbxproject

Okay, that solved it. So the answer was "run avgtool and see what's up" or something like that.

@drosenstark Awesome! Glad you got up and running. Always feel free to reach out and have an awesome weekend!


View template is not refreshing when model values got changes in angular 4

model values are appending every time in the template when modifying the model,
but when I print the model in the console it is giving the updated values only, in view previous model values and new values both are showing.
How can I fix this issue.
I am new to angular 4. Please help.

@RajendraPrasadP This is the repository for angular.js (v1), you probably want to move your issue to the Angular (v2+) repository which can be found here: https://github.com/angular/angular
However, this reads more like a support question. You can ask support questions regarding Angular (v2+) here: https://gitter.im/angular/angular

@Narrez, By default it got created under AngularJS, I have raised the same in V2 repository. Thank you !!


When is the 70-object dataset expected to be released?

When is the 70-object dataset expected to be released?

When is the 70-object dataset expected to be released?


Don't attempt to coerce to JS string to numbers

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
The current logic in js_to_json tries to rewrite octal/hex numbers to decimal. However, when the logic actually happens the " or ' have already been trimmed off. This causes what were originally strings, that happen to look like octal/hex numbers, to get rewritten to decimal and returned as a number rather than a string.
In practive something like:
{
  "0x40": "foo",
  "040": "bar",
}

would get rewritten as:
{
  64: "foo",
  32: "bar
}

This is problematic since this isn't valid JSON as you cannot have non-string keys.

Fixes applied.


Add jobset roadmap to README

We should include a high level roadmap for the known features we want to work on over the next year or so.

/retest

/lgtm
/hold cancel


Update to latest logstash 8.14.1

Is your feature request related to a problem? Please describe.
Please update logstash-output-opensearch  to work with latest losgtash 8.14.1
Describe the solution you'd like
Release new image for logstash-oss-with-opensearch-output-plugin with logstash-oss 8.14.1 support.
Describe alternatives you've considered
none
Additional context
Take advantage of recent performance improvement in latest logstash .

This is a dup of https://github.com/opensearch-project/logstash-output-opensearch/issues/243.


Refactored SFTP plugin

SFTP Plugin version 1.1
This pull requests refactors the SFTP plugin into multiple files to make it easier to manage. Also changes the gui of the SFTP plugin into a notebook in preparation for version 1.2 with an editor.
Testing

[x] plugin loads
[x] plugin gui opens
[x] can upload a file
[x] can download a file
[x] can upload a directory
[x] can download a directory
[x] can pause a download
[x] can resume a paused download
[x] can cancel a download
[x] transfer tree show current status of tasks
[x] transfer tree updates status as tasks change status
[x] can delete a remote path
[x] can delete a local path
[x] can rename a remote file and directory
[x] can rename a local file and directory

Landed, thanks @wolfthefallen. Everything looks good except for a few unrelated logic bugs in the directory treeview around the "Create Directory" and "Set Working Directory" functions.


Fixed test coverage badge

Description
Fixes the test coverage badge. Instead of using coveralls, this uses the built-in coverage capabilities of codeclimate.
Issues Resolved
Fixes #184
Check List
N/A

the badge for coverage should still "unknow" in here?

I think so. I believe it only shows the master branch's coverage, so it won't be updated until after the merge. @tmiotto can probably verify this, as we added this badge to the oneview Chef cookbook recently too.

Yep, code climate will only show the coverage for the default branch (in our case master) so it can be only shown when merged

For ruby, I'd actually prefer we use coveralls instead of code climate for coverage, as we actually have a lot of files being tested and coveralls provide a consolidated coverage dashboard for them and also it would be good to see the test coverage on each PR too
No problem using both, but I'd say coveralls would be better. :octocat:

Closing in favor of #191


Preserve crs_wkt when loading and saving NetCDF files

✨ Feature Request
Preserve crs_wkt when loading and saving NetCDF files
Motivation
To add to some of the open issues and PRs on Coordinate reference system well known text (crs_wkt) requirements.

#3796
#4719

I would like to:

load a cube from a netcdf file which defines a crs_wkt on a grid-mapping variable
make changes to the cube that do not affect the coordinate system
Save the cube back to a new file and verify that the crs_wkt remains intact and is identical to the input crs_wkt

An example of this would be load a cube, calculate the mean temperature with respect to time which on saving it should have the same coorinate metadata.
There is a current problem with this that the crs_wkt just doesn't get loaded nor re-saved.
But there is a future problem in #4719 implementation of it that it can change the crs_wkt
These can be seen with a file loaded and saved using the save from #4719.
The input file has the crs_wkt:
PROJCRS[
    "unknown",
    BASEGEOGCRS[
        "unknown",
        DATUM[
            "OSGB 1936",
            ELLIPSOID["Airy 1830", 6377563.396,<PHONE_NUMBER>, LENGTHUNIT["metre", 1]],
            ID["EPSG", 6277],
        ],
        PRIMEM[
            "Greenwich", 0, ANGLEUNIT["degree", 0.0174532925199433], ID["EPSG", 8901]
        ],
    ],
    CONVERSION[
        "unknown",
        METHOD["Mercator (variant B)", ID["EPSG", 9805]],
        PARAMETER[
            "Latitude of 1st standard parallel",
            0,
            ANGLEUNIT["degree", 0.0174532925199433],
            ID["EPSG", 8823],
        ],
        PARAMETER[
            "Longitude of natural origin",
            0,
            ANGLEUNIT["degree", 0.0174532925199433],
            ID["EPSG", 8802],
        ],
        PARAMETER["False easting", 0, LENGTHUNIT["metre", 1], ID["EPSG", 8806]],
        PARAMETER["False northing", 0, LENGTHUNIT["metre", 1], ID["EPSG", 8807]],
    ],
    CS[Cartesian, 2],
    AXIS["(E)", east, ORDER[1], LENGTHUNIT["metre", 1, ID["EPSG", 9001]]],
    AXIS["(N)", north, ORDER[2], LENGTHUNIT["metre", 1, ID["EPSG", 9001]]],
]

When this is saved it is output as:
GEOGCRS[
    "OSGB36",
    DATUM[
        "Ordnance Survey of Great Britain 1936",
        ELLIPSOID["Airy 1830", 6377563.396,<PHONE_NUMBER>, LENGTHUNIT["metre", 1]],
    ],
    PRIMEM["Greenwich", 0, ANGLEUNIT["degree", 0.0174532925199433]],
    CS[ellipsoidal, 2],
    AXIS[
        "geodetic latitude (Lat)",
        north,
        ORDER[1],
        ANGLEUNIT["degree", 0.0174532925199433],
    ],
    AXIS[
        "geodetic longitude (Lon)",
        east,
        ORDER[2],
        ANGLEUNIT["degree", 0.0174532925199433],
    ],
    USAGE[
        SCOPE["Geodesy."],
        AREA[
            "United Kingdom (UK) - offshore to boundary of UKCS within 49°45'N to 61°N and 9°W to 2°E; onshore Great Britain (England, Wales and Scotland). Isle of Man onshore."
        ],
        BBOX[49.75, -9.01, 61.01, 2.01],
    ],
    ID["EPSG", 4277],
]

Test Examples
I have written example tests for netCDF intergration, which can be viewed on my iris fork: View example tests.
The test loads a file which has a crs_wkt, tests that the crs_wkt is as expected, then it saves the cube and uses netCDF4 to verify that the correct metadata is still on the cube.

Hi @neilCrosswaite,
Firstly, we're sorry for the frustrating slow progress on this topic, it's just the fastest we can go given the wide scope of the development team. It's good to know there is interest. You can see our 'plan of attack' in the task list on #3796.

But there is a future problem in #4719 implementation of it that it can change the crs_wkt

Iris has no contract regarding file-Cube-file round-tripping. We feel it's an important part of Iris' role to enforce correct file formatting - you can read more here #5165 - so Iris cannot guarantee that files will always be output identically to how they are input. Obviously this does NOT mean that Iris changes things just for the sake of it, we do make efforts to preserve what we can.
#4719 is not a finished solution, and we will need to review your example in more detail to see if Iris is being overzealous versus what we intended.
Unfortunately I will be unavailable for further discussion for several weeks after today.
Note for developers working on #3796

[ ] Check whether Iris' modification of crs_wkt in this example is expected. Correct #4719 if necessary

i'd like to add some support for this issue as raised by @neilCrosswaite,  from another user community's perspective.
we are evaluating adding crs-wkt metadata to model outputs.  if such metadata is provided for files loaded into an environment, and data from those files is then output, perhaps after cube filtering, aggregation, etc. but where no changes to the spatial referencing have occurred, then i'd expect as a user that the provided crs_wkt definitions would be preserved in the output file.
I can understand newly created coordinate reference system instances not having a crs_wkt, but existing ones loaded from files should assume that the data provider knows what they are doing and why, I feel.  I'd expect this to be preserved (as an attribute?) and available for export to netCDF files.
i'd also like to be able to set this attribute on a coordinate reference system instance within some user controlled Python code, but that's another related ticket, perhaps.