Error when trying to train

Hello,
I keep getting this error when trying to train in colab. I followed the steps in the readme file. I am using the following commands:
!mp init_project --name my_project --data_dir Task04_Hippocampus
!mp train --project_dir=my_project --num_GPUs=2   # Any number of GPUs (or 0)

Output
--------------------------------------------------------------------------------
>>> Logged by: 'entry_func' in 'train.py'
Fitting model in path:
/content/my_project
--------------------------------------------------------------------------------
>>> Logged by: '__init__' in 'hparams.py'
YAML path:    /content/my_project/train_hparams.yaml
--------------------------------------------------------------------------------
>>> Logged by: 'log_version' in 'version_controller.py'
mpunet version: 0.2.11 (master, a46779c)
--------------------------------------------------------------------------------
>>> Logged by: 'set_value' in 'hparams.py'
Setting value '0.2.11' (type <class 'str'>) in subdir 'None' with name '__VERSION__'
Setting value 'master' (type <class 'str'>) in subdir 'None' with name '__BRANCH__'
Setting value 'a46779c' (type <class 'str'>) in subdir 'None' with name '__COMMIT__'
--------------------------------------------------------------------------------
>>> Logged by: 'save_current' in 'hparams.py'
Saving current YAML configuration to file:
 /content/my_project/train_hparams.yaml
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (numpy 1.19.5 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('numpy<1.19.0,>=1.16.0'), {'tensorflow-gpu'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/mp", line 33, in <module>
    sys.exit(load_entry_point('mpunet', 'console_scripts', 'mp')())
  File "/content/MultiPlanarUNet/mpunet/bin/mp.py", line 55, in entry_func
    mod.entry_func(parsed.args)
  File "/content/MultiPlanarUNet/mpunet/bin/train.py", line 416, in entry_func
    raise e
  File "/content/MultiPlanarUNet/mpunet/bin/train.py", line 412, in entry_func
    run(project_dir=project_dir, gpu_mon=gpu_mon, logger=logger, args=args)
  File "/content/MultiPlanarUNet/mpunet/bin/train.py", line 344, in run
    args=args)
  File "/content/MultiPlanarUNet/mpunet/bin/train.py", line 250, in get_data_sequences
    from mpunet.preprocessing import get_preprocessing_func
  File "/content/MultiPlanarUNet/mpunet/preprocessing/__init__.py", line 1, in <module>
    from .scaling import apply_scaling, get_scaler
  File "/content/MultiPlanarUNet/mpunet/preprocessing/scaling.py", line 1, in <module>
    import sklearn.preprocessing as preprocessing
  File "/usr/local/lib/python3.7/dist-packages/sklearn/__init__.py", line 82, in <module>
    from .base import clone
  File "/usr/local/lib/python3.7/dist-packages/sklearn/base.py", line 17, in <module>
    from .utils import _IS_32BIT
  File "/usr/local/lib/python3.7/dist-packages/sklearn/utils/__init__.py", line 23, in <module>
    from .class_weight import compute_class_weight, compute_sample_weight
  File "/usr/local/lib/python3.7/dist-packages/sklearn/utils/class_weight.py", line 7, in <module>
    from .validation import _deprecate_positional_args
  File "/usr/local/lib/python3.7/dist-packages/sklearn/utils/validation.py", line 26, in <module>
    from .fixes import _object_dtype_isnan, parse_version
  File "/usr/local/lib/python3.7/dist-packages/sklearn/utils/fixes.py", line 28, in <module>
    from pkg_resources import parse_version  # type: ignore
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 3242, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (numpy 1.19.5 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('numpy<1.19.0,>=1.16.0'), {'tensorflow-gpu'})

Hi,
It seems your version of TensorFlow and numpy do not match. Could you please try and reinstall mpunet with pip install --upgrade mpunet and see if that fixes your issue? Otherwise please send me the output of pip freeze.
Cheers,
Mathias


Update to midstream image CI and tests

This is a work in progress merge request that contains changes to midstream CI CVP image and its tests.

@dirgim please fix linting issues. You can open new pull-request and do your changes on top of SK's commits

@lslebodn that's exactly what I did in #141

Closing in favor of #141


Fix global, AMD and CommonJS definition

Fix #470
Fix #479
Supersedes #529

Hi, @thedustinsmith,
I confirm that this PR works in both global, and in Webpack/TypeScript configuration.
This PR is based on your branch.

Thanks!

@thedustinsmith I am similarly blocked on using Croppie in a project because I can't import it into a modern TypeScript app. Are there any plans to release 2.6.3 containing this change? Failing that, do you know how one can point one's package.json to use the code in master instead of the 2.6.2 release?

I'm pretty sure you can do npm install Foliotek/Croppie#master or something along those lines.  A google search for "npm install git repo branch" should get you pointed in the right direction.
By the way, thanks for taking the initiative to help out and get this one tested.  I appreciate it.

Forgot to mention you in my comment above @emilyaviva


Retire use of the New: labels.

🚀 Pull Request
Description

The New: ... labels aren't being used for anything (to my knowledge) so I would like to remove them to simplify/tidy the repo.

Consult Iris pull request check list

I assume now you're just going to delete the labels?


fix typos

PR-Codex overview
Focus of this PR:
Fixing typos and improving code consistency.
Detailed summary:

Fixed a typo in the word "default" in packages/alchemy/src/provider.ts.


Integrate main to next up to the type validator changes (again)

I f*cked up with the main to next merge in #9751 again by doing a squishy merge instead of normal merge (I had the right option selected then Github pulled a sneaky one and changed it back when I came back to the page).  This is why we need automation 😩😩😩😩😩😩😩😩😩😭😭😭😭😭😭😭😭😭
This PR is identical to the last one except I'm going to try to not mess it up again.

folks i know it's like 10:30pm but please i need someone to save me from my soul crushing stupidity

you seem so stressed out here. maybe i should just click squash and merge to help you out 😁 j/k no one do that, or helio might explode. also, thanks for fixing this, seems like a giant pain, but glad you're taking care of it.


On NixOS, space glyphs are boxes

This is only for tabs now, I'll check how gitup handles this. Maybe we can just choose a number of spaces and display that? Not sure what the expectation is for a mono spaced font.


SOAP envelopes are not sent to backend when REST API is created using SOAP 1.1 wsdl

SOAP envelopes are not sent to backend when REST API is created using SOAP 1.1 wsdl. This is because, the message type is set as "text/xml" in in-sequence and format is not set in endpoint configuration.

Tagging https://github.com/wso2/product-apim/issues/7130

We will not be fixing this as this issue is based on an older version of the product.


Support non-interactive cases

(This scenario was half-supported in Datum's predecesor, sqlcmdline, via a :file command).
Add a --file --script --input --some-other-name parameter that runs the script, prints the output, and exits.

After reading the help pages of a few clients, I have settled on -i or --input and -o or --output specify an output file, too.
The output would use the CSV exporter, which maybe forces me to solve #15.
If the input file is multi-script, then I would need to add output to the same output file.


Add support for REGEXP_LIKE as predicates

Resolves #377.
Fix the issue where REGEXP_LIKE in WHERE clause not working correctly.

Codecov Report

Merging #381 into master will increase coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #381     +/-   ##
=========================================
+ Coverage   66.37%   66.46%   +0.1%
=========================================
  Files         169      169
  Lines       11635    11635
  Branches     1903     1903
=========================================
+ Hits         7721     7732     +11
+ Misses       3406     3396     -10
+ Partials      508      507      -1

Impacted Files
Coverage Δ

...or/QueryResultAccuracyEstimatorFromDifference.java
83.17% <0%> (-0.99%)
:arrow_down:

...a/org/verdictdb/jdbc41/VerdictStreamResultSet.java
9.19% <0%> (ø)
:arrow_up:

.../core/scrambling/FastConvergeScramblingMethod.java
92.2% <0%> (+3.47%)
:arrow_up:

Continue to review full report at Codecov.

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


ProgressBar: Add typings for the color & background

Connects-to: #538
Change-type: minor
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>---- Autogenerated Waffleboard Connection: Connects to #538

Nice catch @dimitrisnl, yea we should.


ViroVRSceneNavigator gets "Attempted to assign to readonly property"

Environment

"react": "16.3.1",
"react-native": "0.53.3",
"react-viro": "2.6.1",

Description
I believe that the initialScene causes the problem.
Any help?
Reproducible Demo
Demo code
var initialScene = {scene: VRScene};

class ViroSceneNav extends React.PureComponent {
  constructor(props) {
    super(props);
  }

  render() {
      return (
          <ViroVRSceneNavigator
            apiKey={apiKey}
            initialScene={initialScene}
          />
        );
  }
}

module.exports = ViroSceneNav;

Hello,
Anyone can help?
Thanks!

It caused because I used not correct peer nodejs lib.
I close this issue.


V4 code did not include X3D LOD code

Comparing X3Dobject.java in maint_v3.x and new V4 code, much of the LOD (level-of-detail) code was not included.
Thus, LOD stopped working.

Much of this was fixed with Pull Request https://github.com/Samsung/GearVRf/pull/1527.
There is still an issue that Pull Request https://github.com/Samsung/GearVRf/pull/1455 still needs to be merged into v4.0 (now master) for LOD + TouchSensor to work.

Fixed with Pull Request https://github.com/Samsung/GearVRf/pull/1527
and https://github.com/Samsung/GearVRf/pull/1455


Positions: what token are rewards paid in and is the position auto compounding

Input from Will:

positions: what token paid in?
positions: which are auto compounding?

@tycho1212 might be nice to add this info to the position page. What do you think?


Keep screen on not working in Windows 11 Pro clean install

Microsoft PowerToys version
0.51.1
Running as admin

[ ] Yes

Area(s) with issue?
Awake
Steps to reproduce
Screen turns of according to the Power plan will not stay awake
✔ Expected Behavior
See above
❌ Actual Behavior
Screen turns of to power plan timer.
Other Software
No response

PowerToysReport_2021-12-05-11-58-18.zip
Forgot to attach Report

cc: @dend

Tested it running as Admin
No difference

@BobbyBare just wondering, is your machine domain joined?  could an admin have group policy rules onto it?

Not Domain joined.
Single PC on private home network with one user/administrator
New motherboard, so clean install of Win 10 Pro, immediately updated to Win 11.

@BobbyBare is this issue still happening?

/needinfo

After a lot of testing I think it works as it is supposed to.
If I select Mode/Keep awake indefinitely and have Keep screen on ticked then the screen stays on.
What I expected it to do when I wrote about this issue was If I ticked Keep Screen On it would override the Power Plan setting for Turn Off Display.
It would appear that it is not designed to do this.


Use cell markers (CellMarker2) to determine cell types

Calling cell types, even previously unknown ones, using molecular markers.

task 3: Cell annotation with cell ontology

Use marker resources, e.g. CellMarker2 Db, Human Protein Atlas to build a pipeline to annotate single cell data with cell ontology (here)

To develop the pipeline you can use toy data, e.g. the infamous pbmc data from 10x (example how to download and process with Seurat.) To handle single cell data in R, SingleCellExperiment or Seurat are standard packages; in python it is scanpy.

If the pipeline is built, try more challenging data sets from the heart:

 reichart et al.

kuppe et al.

Compare strategies to existing tools. e.g.

bernstein et al.

wang et al.

Marker2Cell works for annotating single cells based on their RNA expression profile.


Invalid or corrupted pad block

This issue occurred while decrypting ciphers made in other platforms (Java). Due to an incorrect calculation of blockSize, inputPad was set to the wrong value. Hence, relying on the user-given blockLength is necessary to address correct encryption/decryption.
The current version 1.0.2 implementation has a parameter blockLength that's unused internally. Instead of using that, keySize * digest.digestSize is getting used and that is creating a wrong inputPad resulting error while decryption.
If this library has encrypted any value, it can be decrypted because it follows the same error while encryption and decryption. Still, if the encrypted text is made on another platform such as Java (using javax.crypto) then it's failing due to incorrect blockLength used in input padding.
Below is the decryption logic:
String decryptText(text) {
    try {
      if (text != null) {
        var asciiText = utf8.decode(base64.decode(text));
        if (asciiText.split(kSeparator).length == 3) {
          var asciiTextArr = asciiText.split(kSeparator);
          var iv = asciiTextArr[0];
          var salt = asciiTextArr[1];
          var cipherTextEncoded = asciiTextArr[2];
          var cipherText = base64.decode(cipherTextEncoded);

          var key = CryptoDart.PBKDF2(
              key: passPhrase,
              salt: CryptoDart.enc.HEX.parse(salt),
              keySize: 4,
              hasher: HashAlgorithms.SHA1,
              blockLength: 64,
              iterations: 1000);
          var decrypted = CryptoDart.AES.decrypt(cipherText, key,
              options: CipherOptions(
                  iv: CryptoDart.enc.HEX.parse(iv),
                  mode: Mode.cbc,
                  padding: Padding.PKCS7));
          return utf8.decode(decrypted);
        } else {
          return text;
        }
      } else {
        return text;
      }
    } catch (error) {
      debug_log.log("decryptText: $error");
      return text;
    }
  }

I've given a fix to correct the issue and raised a pull request

Wow people actually used this package?? I created it for personal use only but thank you for showing your support 💙.
blockLength parameter was used previously but I stopped using that and started to follow how cryptojs does rather than how java does it.
I understand your problem since this project doesn't follow crypto js fully this issue happened so, I'll accept your solution for now.

Hi,
Thanks for replying me back and merging so quickly. The package is pretty
good and nicely implemented. It's a more complete package than the others
available in the pub library.
Can you please publish 1.0.3 with the latest changes in pub.dev? It'd be
helpful.
Thanks & Regards
Indranil Dutta
Lead Organizer, GDG Kolkata https://gdg.community.dev/gdg-kolkata/
Mobile: (+91)9038889013
Email: @.***
Skype Id: indranildutta.6
Hello Indranil https://indranildutta.netlify.app/
On Wed, 20 Mar 2024 at 11:14 PM, Noobware1 @.***> wrote:

Wow people actually use this package?? I created it for personal use only
but thank you for showing your support 💙.
blockLength parameter was used previously but I stopped using that and
started to follow how cryptojs does rather than how java does it.
I understand your problem since this project doesn't follow crypto js
fully this issue happened so, I'll accept your solution for now.
—
Reply to this email directly, view it on GitHub
https://github.com/Noobware1/crypto_dart/issues/3#issuecomment-2010215989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEX2XI5YJZPD2JW6M5XNJOLYZHDGXAVCNFSM6AAAAABE7ROMP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQGIYTKOJYHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have updated the package at pub but I have now implemented the same way that crypto-js use to figure out block length but it can cause problems if the Digest.blockSize is different than that of crypto-js so, that's why now I have made blockLength from user optional just in case for issues like this.


Idea: put VM data structures in arena with relative pointers for security and strict provenance

As part of the discussion on #9015 / #9026, we discussed handling of VM data structures -- the vmctx struct, tables, function references, and the like -- that are touched both by runtime code (in Rust) and by generated code compiled from the Wasm. There are issues related to strict pointer provenance because pointers to these data structures are exposed to the generated code, and/or the Pulley interpreter, without strict provenance (either through the Pulley bytecode, or through the machine code we invoke that is entirely outside of the domain of Rust's semantics).
It occurs to me that one way to solve this would be to make all VM data structures use relative pointers -- e.g., u32 offsets -- in an arena (per store? per engine?) whose base pointer is a parameter both to the generated code and to the Pulley interpreter. We then trivially have strict provenance because there is only one pointer -- and whatever we need to do to preserve provenance (keep it as a pointer in the Pulley interpreter loop; and "expose" it as we pass it to generated code) is localized and manageable.
If provenance were the only benefit, that may not be so interesting; but there are a few others as well:

Security: maintaining more discipline around raw pointers, and carefully dereferencing offsets into an arena instead (for which we can reserve guard regions just as we do heaps today), is a layer of mitigation/defense-in-depth against engine bugs. For example, if a miscompile or a bug in the generated CLIF caused a pointer-type confusion in VM data structures today, one could plausibly find a memory-read gadget or control-flow escape more easily. We will still have some raw pointers -- the actual code pointer that we invoke in funcrefs, or the memory base address in an imported or owned memory descriptor -- but fewer of them is less exposure.
This angle is not new: WebKit has the Gigacage, I believe V8 has something similar, and I had suggested we build (and now we are building) our Wasm GC implementation in the same way with relative-offset-pointers; so it's a proven mitigation and the overhead seems to be minimal.
Note also that relative-pointer loads/stores can be implemented with fully safe code in the Pulley interpreter. We almost certainly still need unsafe code still for the Wasm heap dereferences and such (though, then again, maybe there's a way around that by either externalizing a table of alternative raw pointer bases, or putting memories in a large gigacage -- teracage? exacage? -- as well).

Performance: 32-bit relative-offset pointers are half the size of 64-bit raw machine pointers on 64-bit platforms; this is the basis for the performance gain seen with compressed oops (object pointers) in OpenJDK, and also with wasm32 vs. native 64-bit code in some pointer-heavy benchmarks. It's plausible that a 2x shrink on the size of large function tables (for example) might result in slightly better cache residency and performance. Then again carrying the base pointer and adding it has a slight cost (single-digit percentage by analogy to studies on Wasm heap strategies); so maybe overall neutral.

There may be some other interesting side-effects: for example, if we fully relativize the core Wasm VM data structures, and externalize the "raw pointers" to a table as noted above, it would mean we could snapshot the entire VM state (at the VM level, not the Wasm level).

So it seems we can get (i) fully strict provenance, (ii) better safety, (iii) other interesting new abstractions like whole-engine snapshotting, if we pay this cost. Something to consider later if any of these needs becomes interesting?

How would this be reflected in CLIF? All loads/stores would have to be derived from a small set of "base pointers" such as the base of each linear memory in a module and the arena holding vmctx/tables/etc. For example Pulley might have a load-from-memory-zero instruction or load-from-arena instruction, but how would it know which to choose from a CLIF load?
(and possibly another area for "stack memory of this function", so how to detect loads/stores to the stack)

There are at least two ways I think:

Option 1: CLIF, with some mode, has a base pointer for every load and store. (This is the "tera-cage" idea above where memories are also within this overall area.) We could specify the base pointer as a special argument in the same way we do for vmctx today. The semantics are then that loads and stores logically access base[ptr] rather than *ptr; from a provenance point of view it's one big array.
Option 2:  "externalized table of base pointers" described above. We represent this structure somehow in CLIF (special arg for base of table, size statically specified in CLIF? not sure) then have effectively "address space IDs" on loads/stores, so accesses are to table[aspace_id][ptr].

I kind of like the first more -- it's less intrusive to Cranelift (in a way that avoids complexity-footguns around e.g. alias analysis with separate address spaces) at the cost of a little more constraint on memory layout (but then we're already saying we're going to put everything in some arena).


settings: Deduplicate notification-settings' dependent checkboxes code.

GIFs or Screenshots:
There should be NO UI change.
Before

After

Refernce: #10457
While fixing this I found a bug that checkbox for message_content_in_email_notifications isn't properly adjusted when enable_offline_email_notifications is changed. @pragatiagrawal31 are you interested in taking this as this is similar to #10358.

I can reproduce this bug and working on its fix.

I did a quick review of this, and it looks great; posted a comment on the outstanding question above.

Sounds good, I'll update the pr after 13th exam :)
On Fri, Oct 12, 2018, 04:10 Tim Abbott<EMAIL_ADDRESS>wrote:

@timabbott commented on this pull request.
In static/templates/settings/settings_checkbox.handlebars
https://github.com/zulip/zulip/pull/10465#discussion_r224626031:

@@ -1,7 +1,8 @@
-
+

How about is_parent_setting_enabled
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/10465#discussion_r224626031, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVNVCFFbFJWs8zWzWl_ryqL95wuG_xQ1ks5uj8jIgaJpZM4WWiiO
.

I've updated the PR.

You had some mixups for which commit changed what between the last 3 commits (and they didn't really need to be independent), so I squashed those 3 and merged this.  Thanks @shubhamdhama!


fix(/code *): Open comment markup errors

When content is trimmed or requested content does not include an opening comment brace /*, formatting errors cascade throughout the file.

Comparing between around: 6 and around: 10 when running /code entity on query: SlashCommand#throttle.

This isn't as big of a problem as other hitches, but it does persist when comment braces are not included - and HighlightJS takes over by considering them as standard markup.
A solution would be to inject a forward slash / before the first asterisk * of the requested content, and then add an 'amendment' #24 stating it's inaccuracy for formatting reasons - but also... inaccurate in general.

Similar problems occur with line numbers enabled... but that's a whole other problem to deal with.


revert the last commit of #346

@colinschmidt @ccelio @shunshou
Turns out that #346 breaks rocket-chip because Chisel assumes Vec(0) is MSB when a mask is given as UInt.(Or rocket-chip's behavioral mem model is broken if it's not). We should fix Chisel if we don't like concat order, or merge this PR.

@donggyukim I'm confused; how can you give a mask as UInt?  Chisel only takes Seq[Bool].

Regardless, I thought everything above the actual black box should be agnostic to the direction I fed signals into the black box... unless I screwed up the interface???
Or you mean that vlsi_mem_gen flipped the order again when concatenating b/c of some assumption?

Seems like there's still a bug in memlib, so I'm closing this.


PayPal Link Needs To Be Updated

I was trying to donate via PayPal - but it won't let me. It just keeps on asking me to sign in again and verify it. Even though my PayPal works fine for others. Maybe use the Paypal.me link instead of the old URL?

@menny just a heads up for anyone who's working on the website!

Thanks for opening this issue @ankushdas9. I'll ask Menny for a new link and update the website.

@AnXh3L0, please use GitHub Sponsors (https://github.com/sponsors/menny) and PayPal (https://www.paypal.me/menny)

@menny please re-add me in the ASK org so I can push the changes to the repo.

@AnXh3L0 done. Can you also take a look at the security warning at https://github.com/AnySoftKeyboard/AnySoftKeyboard.github.io/network/alerts

@menny Still don't have access to those settings in this repo.

Did you accept the invite? There should be an email from GitHub

No email from GitHub yet.

Also, do you have an idea for an avatar for https://github.com/orgs/AnySoftKeyboard/teams/developers ?
I want to use its avatar for https://github.com/orgs/AnySoftKeyboard/teams/web

@AnXh3L0 , I don't see any issue on the setting side. Can you try to create a PR and push that?

I believe the network alert was probably related to outdated bundle dependencies, this last commit should probably fix it.

About the avatar, you can contact me on Telegram/Signal/WhatsApp or something else so I can send you the images.


Fix tests and checkstyles

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Currently the build is in JDK 8. Takes effort to migrate the test

To java 11
To mockito.

This should be done as a part of maintenance and as we are migrating, we stick with Java 8 and powermock for this extension.

Approving as per the comment


Improvements to the Python metadata fetch script

This fell out of my investigation of https://github.com/astral-sh/uv/issues/4774 but the bug was fixed by the reporter in #4775

Adds support for GH_TOKEN authentication again — basically needed to avoid rate limits when hacking on this.
Clarifies some handling and logging of flavors

As a security measure, I also confirmed that #4775 did not include any manual changes to URLs in the generated files.


Extract signature handling to separate crate

I believe that signature handling is a significant, yet standalone chunk of the codebase which can be refactored to a separate crate. In addition to the credential crate, we can also advertise it separately. Signature handling is a fairly complex task when working with AWS services, and allowing users to use it independently from Rusoto will allow them to construct their own AWS service wrappers, if they choose not to rely on the entirety of the Rusoto ecosystem. There are already libraries/modules which already provide subsets of the AWS functionality (e.g. simples3), so we might as well encourage people to use our signature handling in those cases.
Unless anyone has any objections to this, I will begin working on it.

OK so actually taking a look at it, signature relies on the param and region modules, both of which are also required by the core project. I still think extracting signature is a good idea, but how should be go about doing this? param can probably come out along with signature because it makes sense for signature to handle request parameters, but region is an open question.

Perhaps we could extract region to a separate crate as well?

I could use some example use cases of others wanting to use the signature behavior and not the Rusoto crate.

I had a personal project (that I've since stopped working it, but it's what initially brought me to rusoto) that basically allowed users to upload files to S3 from their browser. However instead of uploading the file to the server hosting the web-page, then to S3, the users could upload directly to S3 (via client-side JS).
To avoid giving users full write access to S3, I had an endpoint which users could call with a request to upload a file (e.g. my-file.txt), which would construct a one-time use signature (with a short expiration period) which allowed the user to upload exclusively that file, of that content-length, to a specific location, with specific ACLs (this was all done transparently to the user). It followed a process similar to the one outlined here.
In this case particularly, being able to sign requests was the critical feature, and I had to write a custom signature module for it to work.
Perhaps this isn't enough justification to extract the module (which I understand), but use-cases definitely exist.

I've only heard positive responses to extracting this behavior to its own crate.  Let's make it so.

Alright. Any thoughts on the extraction of param and region as mentioned above and in the PR?

Those are kind of sticky issues.  I think extracting Region is a definite no, since it's not signature-specific code and it's everywhere in AWS services.  Perhaps the extracted signature crate could stick to dealing with regions as Strings?  It has no particular need to treat them as enumerated constants.  It doesn't do any logic with them that I can think of, just inserts the region as a String in the right place in the signature calculation.  We could add some code to make Region in the rusoto crate proper deref to &str, and the signature crate could accept anything nice enough to do the same.
I don't remember enough about param to say yet without taking a closer look through the code.  I think it's all through the query protocol code, but it's perhaps an ugly hack that we may not really need.  I seem to remember putting it in when I was still learning Rust and couldn't make HashMaps work like I wanted them to.

I take back what I said about Region being everywhere.  Now that I think about it, I'm entirely wrong and it's pretty much only used for setting up the client to do the signature :)
Maybe that would make sense to extract after all, since the main rusoto crate would obviously depend on the signature crate.  I need to get my hands in the code and get a feel for what it would mean.  I'll take a look and weigh in tomorrow.

You can see what extracting Region would look like in the PR I made, as it already handles it :)

Well that's an awfully damn convenient thing to have done :)  I'll go take a look.

Yeah, I can get behind extracting Region.  param less so, but I think that might just be because I think param needs fundamental reconsideration.
The PR is much smaller than I expected, which is always a good thing.
I question whether the extracted crate needs to be called rusoto_signature, since the point is to extract it from rusoto in the first place.  I'm not sure what the right name is, but I think not that.  aws_sigv4?  Something less cryptic?

I'm fine with rusoto_signature.  It's meant for us first and foremost, if others can use it, excellent.
Regarding param renaming, something may pop out of https://github.com/rusoto/rusoto/issues/486 for ideas.  We have a better grasp on how we need to use params now compared to when we created them.

The more I look at param the more I think it's fine as is.  @adimarco anything in particular you'd like addressed?  Could we do it under the covers by modifying the signature crate later but keep the interface the same?

I'm fine with that approach. I just think it has a bad smell for reasons I can't quite articulate, which is a bad reason to hold up progress.
Also, if you're fine with rusoto_signature that's fine by me as well.

OK great. I'll work on rebasing over the next few days (busy with the holidays at the moment).

Rebased the PR.

Per the discussion in #634, this issue is being closed for the time being as the signature functionality is already transitively available through the rusoto_core module.


v2raya: <IP_ADDRESS> -> <IP_ADDRESS>

https://github.com/v2rayA/v2rayA/releases/tag/v<IP_ADDRESS>
Fixes #365179
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4958


Setup Error

When I run composer for installation I get argument error
composer require blood72/laravel-riot-api
Terminal error code start

@php artisan package:discover --ansi

TypeError

Argument 1 passed to RiotAPI\DataDragonAPI\DataDragonAPI::initByRegion() must be of the type string, null given, called in D:\AppServ\www\test\vendor\blood72\laravel-riot-api\src\Rio
tAPIServiceProvider.php on line 88

at D:\AppServ\www\test\vendor\dolejska-daniel\riot-api\src\DataDragonAPI\DataDragonAPI.php:227
223|         * @param array  $customSettings
224|         *
225|         * @throws RequestException
226|         */
-> 227|        public static function initByRegion( string $region_name, array $customSettings = [] )
228|        {
229|                $region_name = strtolower($region_name);
230|                $data = file_get_contents(self::getDataDragonUrl() . "/realms/$region_name.json");
231|                if ($data == false)

1   D:\AppServ\www\test\vendor\blood72\laravel-riot-api\src\RiotAPIServiceProvider.php:88
RiotAPI\DataDragonAPI\DataDragonAPI::initByRegion([])

2   D:\AppServ\www\test\vendor\blood72\laravel-riot-api\src\RiotAPIServiceProvider.php:40
Blood72\RiotAPI\RiotAPIServiceProvider::resolveDataDragonAPI()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json to its original content.

Terminal error code finish
I'm new to Laravel yet, couldn't find a valid method to run the package. Thank you in advance for your help

I checked this problem.
The problem was that the service provider's parameter exception was insufficient.
The current issue is where the DataDragon API checks the region value and it is null (or invalid region).
Define the RIOT_API_REGION value in the .env file with valid region.
I will make sure that the project can be run without invalid variables.
Thank you for reporting!

In addition,
When running scripts inside the controller

Method )

use RiotAPI\LeagueAPI\LeagueAPI;

$summoner = app('league-api')->getSummonerByName('__SOMEONE__');
$matchList = LeagueAPI::getMatchlistByAccount($summoner->accountId);

When we use it as above, we get an error saying  "Non-static method RiotAPI\LeagueAPI\LeagueAPI::getMatchlistByAccount() should not be called statically".

Method )

use LeagueAPI;

$summoner = app('league-api')->getSummonerByName('__SOMEONE__');
$matchList = LeagueAPI::getMatchlistByAccount($summoner->accountId);

It works fine when used this way, but phpstorm does not show the hints of the code to be used after writing "LegueAPI ::". example: getMatchlistByAccount () function and parameters

Method )
As in the 2nd method, when used in this way, the api query works, but the suggestions do not appear.

use LeagueAPI;

$summoner = app('league-api')->getSummonerByName('__SOMEONE__');
$matchList = app('league-api')->getMatchlistByAccount($summoner->accountId);

You are tired of me, but what is your recommendation for correct use?

My first language is not English, so please understand even if there is an error in context.

LeagueAPI and RiotAPI\LeagueAPI\LeagueAPI are definitely different classes. (for more information, see PSR-4)
RiotAPI\LeagueAPI\LeagueAPI has not yet created an object.
So, non-static methods cannot be used.
LeagueAPI used Laravel's Facades concept, app() and resolve() are Laravel's helper function.
These call up objects defined by the service provider.
It will be helpful if you refer to Architecture Concepts > Facades in the Laravel document.
This requires an understanding of dependancy injection first.
Code analysis is performed dynamically and therefore may not be properly worked in IDE.
Here is a useful package that solves this.
https://github.com/barryvdh/laravel-ide-helper


Error in production build

Hello!
In the new version 2.0.0 there occurs an error while production build.
Error:
ERROR in bundle-24382f917c9c63d5d406.js from UglifyJs Unexpected token: operator (>) [./node_modules/normalize-url/index.js:29,0][bundle-24382f917c9c63d5d406.js:117649,29]
Using:
"webpack": "^3.10.0"
Any ideas how should I fix this, instead of downgrading?
Thanks

Duplicate of #50


Improve project organization

It is a good practice to keep all the vendor directory out of git. The same goes to files that are meant to be edited, like config.php and the content directory.
In the case of config.php, it was moved to config.php.template, and "config.php" is already inside .gitignore.
The content directory was moved to content-sample. CONTENT_DIR constant is now replaced by $config['content_dir'] (on config.php.template) and it's default value is 'content-sample'.
Instructions about how to install and run the project are added on README.md.
I believe it improves the way the project is organized.

bump

Have a look how Kirby structures its git repo.

It is a good practice to keep all the vendor directory out of git.

You could use git subrepos to link to the original vendor repo. That's a clean and practical solution.

The same goes to files that are meant to be edited, like config.php and the content directory.

In case you split up the project into a core and a deploying repo (like Kirby did), I think its not necessary anymore.

Hi @derhuerst . About git subrepos, I think it could be a solution. But composer already covers that. It would be redundant to manage the dependencies both through git submodule and composer. Moreover, composer is (in my opinion) far better choice for dependency management.
Given that you have chosen composer for dependency management, you don't need to keep your dependencies (even as submodules) inside your project. Projects like zf2 and apigility are good examples of how to use composer with git.
I'm not sure if I understood you last remark. The config.php is a file that the user must edit. But you don't want those changes to be tracked by the Pico repo. A good solution is to 1) create a config.php.template file, that is tracked by git and 2) list the config.php into the .gitignore. This way, the user can copy config.php.template to config.php and edit it, without get the changes tracked on Pico.

bump

I agree.

am I missing something? There are many open pull requests for this projects and the latest closed pull request is from February 2014. Is this project continuing on another fork, or something?


chore(badge): update to packagephobia.com

This PR updates the badges from packagephobia.now.sh to packagephobia.com to avoid a redirect.
Related to https://github.com/styfle/packagephobia/pull/587

What kind of change does this PR introduce?
Readme update
Did you add tests for your changes?
No
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
Nothing

Thanks. And also thanks for this project.


Website's "About us" section is not convincing enough.

Hello Algo-phantoms, I am a GSSOC'21 participant. The "About us" section of this website does not look convincing enough to increase the frequency of visitors and users. CSS grid/flexbox can be used along with JavaScript to improve the UI/UX. Brief information/specification/categorization on why(e.g. - programming languages present, total number of questions present etc.) and how to use(e.g.- a small pathway in a diagrammatic/animation form) Algo Phantoms would be more helpful and interactive.
If you find this issue helpful then please assign me this task. Thanking you in advance.
Looking forward to contribute to this project.

@Shruti3004 I'm assigned by you for this issue. I am actively working on it and I will complete my task within 12th March, 2021 positively. Please don't assign my issue to anybody else. Thank you.

Hey, can I solve this issue??


Camera to director shot deletion

Also repaired loading of DirectorShots and CameraShots. These were circumventing the controller's methods and duplicating code with unwanted side effects.

Looks good

Great!


Is there a basic working sample?

Please follow the guide below

Issues submitted without this template format will be ignored.
Rlease read them carefully and answer completely.
Do not post screenshots of error messages or code.
Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
Use the Preview tab to see how your issue will actually look like.
Issues about reverse engineering is out of scope and will be closed without response.
Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

[x] Updated to the lastest version v1.6.0
[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones
[x] Reviewed the sample code in tests and examples

Which client are you using?

[x] app (instagram_private_api/)
[ ] web (instagram_web_api/)

Describe your Question/Issue:
I'm not very familiar with python, so i'm having a little trouble around the api. i can get the examples to work separately , but if i try to add something else i get many many errors, is there a simple example of the things work together? like a file that makes the login using the cache, has the pagination setup and i can do simple stuff, like following somebody...

Paste the output of python -V here:
Code:
# Example code that will produce the error reported
from instagram_web_api import Client

web_api = Client()
user_feed_info = web_api.user_feed('1234567890', count=10)

Error/Debug Log:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

Without showing any actual code you've written that you are having trouble with there is nothing to suggest.
See https://github.com/ping/instagram_private_api/issues/42#issuecomment-350289893 for an example to create and reuse cookies while logging in. It's kinda old, but i think it still works.
Here's a snippet from the pagination example which shows you how to paginate through a person's followers with a max_id.
You can get the user_id with the username_info method and getting the pk value from the json response as shown in the snippet as well.
    # get user id to use later
    user_info = ig_client.username_info(user_to_check)
    user_id = user_info['user']['pk']

    followers = []
    results = api.user_followers(user_id)
    followers.extend(results.get('users', []))

    next_max_id = results.get('next_max_id')
    while next_max_id:
        results = api.user_followers(user_id, max_id=next_max_id)
        followers.extend(results.get('users', []))
        if len(followers) >= 600:       # get only first 600 or so
            break
        next_max_id = results.get('next_max_id')

Hey, my apologies, i did not write much, should have posted the code anyway. your samples are really helpful,  but i'm still getting errors. i'm using your auth and views samples, in the views i'm adding a code to follow the instagram account, just as a test, like this:
def do_something():
api = auth.login_instagram("user", "pass")
# Do stuff with instagram_app_api
result = api.friendships_create("instagram")
print(result["status"])
do_something()
login goes alright, but the following part gets those errors:
Error parsing error response: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\Users\Eduardo\downloads\api\instagram_private_api\client.py", line 523, in _call_api
response = self.opener.open(req, timeout=self.timeout)
File "C:\Users\Eduardo\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "C:\Users\Eduardo\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Users\Eduardo\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
File "C:\Users\Eduardo\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\Users\Eduardo\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "views.py", line 12, in
do_something()
File "views.py", line 9, in do_something
result = api.friendships_create("instagram")
File "C:\Users\Eduardo\downloads\api\instagram_private_api\endpoints\friendships.py", line 157, in friendships_create
res = self._call_api(endpoint, params=params)
File "C:\Users\Eduardo\downloads\api\instagram_private_api\client.py", line 527, in _call_api
ErrorHandler.process(e, error_response)
File "C:\Users\Eduardo\downloads\api\instagram_private_api\errors.py", line 135, in process
raise ClientError(error_msg, http_error.code, error_response)
instagram_private_api.errors.ClientError: Not Found
Can you help me as to what am i doing wrong?

friendships_create() requires an user id as input, not an username. See the example in my previous reply to get user id.
Refer to the documentation available to check what kind of arguments each endpoint requires.

oh, right, my bad. got it now, all working as expected. thank you very much


CreateControllers

[ ] POST controller for uploading a file.

[ ] GET controller for fetching the file.

N.B it will be done after the entities are created.

this is created on this MR
https://github.com/Someshbose/SpringApp/pull/18


About Page

Implement about page and site navigation
The about page should provide link to GH issues for feedback etc.

I propose that we use this side-bar navigation - it would only appear once the user has entered the session properly.

It allows switching between contests and notes. A secondary navigation could have secondary pages - like the ABOUT page.

[ ] Write final copy
[ ] Create a cute illustration (or use the helmet placeholder)
[ ]


How to listen to android system back key(onKeyDown) ? ?

flutter doctor -v:
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
    • Flutter version 1.17.3 at /Users/edison/flutter/flutter
    • Framework revision b041144f83 (8 days ago), 2020-06-04 09:26:11 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/edison/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.2

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] VS Code (version 1.44.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • 1801 A01 • cd45d39 • android-arm64 • Android 7.1.1 (API 25)

! Doctor found issues in 1 category.

How to listen to android system back key(onKeyDown) ? ?

Hi @EdifierX
you might want to look into RawKeyboardListener
sample
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

@iapicca I try  WillPopScope , but it not work.
MainActivity:
private long mExitTime;
 @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if (keyCode == KeyEvent.KEYCODE_BACK) {
                if (System.currentTimeMillis() - mExitTime <= 3000) {
                    finish();
                    System.exit(0);
                } else {
                    mExitTime = System.currentTimeMillis();
                    ToastUtils.show(getSourceString(SrcStringManager.SRC_press_again_to_exit_the_program));
                }
            return true;
        }
        return super.onKeyDown(keyCode, event);
    }

dart:
@override
Widget build(BuildContext context) {
   return WillPopScope(
      child: Scaffold(
           body: body),
          onWillPop: () {
          Fluttertoast.showToast(msg: "goBack");
        return Navigator.pop(context);
      });
}

Fluttertoast is not show. My Flutterview add fragment. FlutterPage2 can't back to FlutterPage1.

Hi @EdifierX
you might want to look into RawKeyboardListener for keyboard event
sample
or WillPopScope for the soft back button
sample
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
My fragment add FlutterScreen ,  i want to FlutterPage2 can back to FlutterPage1 when i  press android phone back button and FlutterScreen is visible. I want to back to desktop when  i  press android phone back button and FlutterScreen is invisible. I try WillPopScope is not work.
Can you reply me?

Hi @EdifierX
you might want to look into RawKeyboardListener for keyboard event
sample
or WillPopScope for the soft back button
sample
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

My fragment add FlutterScreen , i want to FlutterPage2 can back to FlutterPage1 when i press android phone back button and FlutterScreen is visible. I want to back to desktop when i press android phone back button and FlutterScreen is invisible. I try WillPopScope is not work.
Can you reply me?

Hi @EdifierX
you might want to look into RawKeyboardListener for keyboard event
sample
or WillPopScope for the soft back button
sample
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

My fragment add FlutterScreen , i want to FlutterPage2 can back to FlutterPage1 when i press android phone back button and FlutterScreen is visible. I want to back to desktop when i press android phone back button and FlutterScreen is invisible. I try WillPopScope is not work.
Can you reply me? @iapicca

Hi @EdifierX
Can you please provide a complete reproducible minimal code sample including all classes in native and fluter module dart class
Thank you

MainActivity:
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mDeviceFragment = new DeviceListFragment();
        mShopFragment = new ShopFragment();
        FragmentTransaction fragmentTransaction =
                 getSupportFragmentManager().beginTransaction();
        fragmentTransaction.add(R.id.main_fl, mDeviceFragment);
        fragmentTransaction.add(R.id.main_fl, mShopFragment);
        fragmentTransaction.commit();
        getSupportFragmentManager().beginTransaction()
                .show(mDeviceFragment)
                .hide(mShopFragment)
                .commit();
    }
@Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if (keyCode == KeyEvent.KEYCODE_BACK) {
            if (System.currentTimeMillis() - mExitTime <= 3000) {
                finish();
                System.exit(0);
            } else {
                mExitTime = System.currentTimeMillis();
     ToastUtils.show(getSourceString(SrcStringManager.SRC_press_again_to_exit_the_program));
            }
            return true;
      }
     return super.onKeyDown(keyCode, event);
}

ShopFragment:
@Override
    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        mFlutterEngine = new FlutterEngine(mContext);
        mFlutterEngine.getNavigationChannel().setInitialRoute("/");
        mFlutterEngine.getDartExecutor().executeDartEntrypoint(
                DartExecutor.DartEntrypoint.createDefault()
        );
        FlutterEngineCache
                .getInstance()
                .put("flutter", mFlutterEngine);
        mFlutterView = new FlutterView(mContext);
        mFlutterView.attachToFlutterEngine(mFlutterEngine);
        mFlutterView.addOnFirstFrameRenderedListener(this);
        mShopFl.addView(mFlutterView);
        mMethodChannel = new MethodChannel(mFlutterEngine.getDartExecutor(), METHOD_CHANNEL);
        mMethodChannel.setMethodCallHandler(this);
}

main.dart:
  void main() {
     runApp(MyApp());
  }
class MyApp extends StatelessWidget {
  MyApp() {
     final router = Router();//fluro
     Routers.configureRoutes(router);
     Application.router = router;
  }
 @override
  Widget build(BuildContext context) {
     return MaterialApp(
      debugShowCheckedModeBanner: false,
      home:PageOne(context),
      );
  }
  Widget PageOne(context) {
    return Container(
      child: Center(
        child: IconButton(
            icon: Icon(Icons.navigate_next),
            onPressed: () => Navigator.push(
                context, MaterialPageRoute(builder: (context) => PageTwo()))),
      ),
    );
  }
}

PageTwo:
class PageTwo extends StatefulWidget {
   @override
  _PageTwoState createState() => _PageTwoState();
}
class _PageTwoState extends State<PageTwo>{
    @override
  Widget build(BuildContext context) {
     return  WillPopScope(
           child: Scaffold(body: contentWidget),
           onWillPop: () {
              Fluttertoast.showToast(msg: "goBack");//not show
              return Navigator.pop(context);;
           },
      );
  }
}

@TahaTesser I want to onClick android phone system back button return desktop when PageOne is show. onClick android phone system back button return PageOne when PageTwo is show.

Hi @EdifierX
Please try this code sample, you can exit to desktop from page two

Code Sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {
          Navigator.push(
              context, MaterialPageRoute(builder: (_) => Second()));
        },
      ),
    );
  }
}

class Second extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: () {
        SystemChannels.platform.invokeMethod('SystemNavigator.pop');

        return Future.value(true);
      },
      child: Scaffold(
        appBar: AppBar(
          title: Text('Material App Bar'),
        ),
        body: Center(
          child: Container(
            child: Text('Hello World'),
          ),
        ),
        floatingActionButton: FloatingActionButton(
          child: Icon(Icons.add),
          onPressed: () {},
        ),
      ),
    );
  }
}

Hi @TahaTesser, thanks for your reply. I try it, but it still show native onKeyDown toast, not show onWillPop toast. And i want to back to PageOne from PageTwo, not exit to desktop from page two. PageOne exit to desktop is no problem because it run native onKeyDown().
onWillPop: () {
              Fluttertoast.showToast(msg: "onWillPop");
              Navigator.pop(context);
              return Future.value(true);
            }

HI @EdifierX
I'm not sure that the situation you are describing is a flutter issue;
it seems to me that you are trying to implement via platform channel
some sort of override for the "normal" behaviour of the the back button.
This doesn't seem to describe a bug with platform channel or
RawKeyboardListener  and WillPopScope (see sample above)
or a feature request.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Support for  to have content shown outside containment

Hello,
We are using your library as part of our project and one of our requirements is to have content in a carousel be vertically expandable. Is there any plans to support the ability to override the overflow-y setting?

@TheMoonMoth I am not sure what you mean by the overflow-y setting? You should be able to override it with a custom class that is passed in?


Regenerate PHP with unit tests

Add composer file to allow tests to be run
Regenerate all APIs, with unit tests added

Is it necessary to auto-gen the composer file for PHP? In NodeJS and Java we auto-gen the build files.

Good point. We don't need it for the staging repo, as it looks like composer doesn't support inheritance of composer.json files, so we will still need the manually created composer.json in the root. But we do want it so that an individually generated API is testable on its own, which requires a composer.json file

LGTM


Update SDK based on openapi-spec v2.3.0

This PR is related to https://github.com/okta/okta-sdk-python/issues/185

Fixed existing tests, added new tests


[app-configuration] split unit tests and functional tests apart for CI

CI doesn't appear to be running my tests, probably because I need to fill out the package.json for the unit test target.
I just need to make that work.

Ended up doing this in one of my existing PRs since I had tests that needed to run in CI.


NEAREST_CACHE preprend cache list when specified

To specify the local cache, users need to set the NEAREST_CACHE env variable. In the old functionality, setting this means we do not look for any other caches and just try to use this "preferred cache". Now, if the specified NEAREST_CACHE has a '+' character at the end of it, it will now append the "normal" list of caches behind the preferred cache in the list of caches to try.

@joereuss12 -

Can you link this to the corresponding issue?  At least from the mobile UI it appears it's not linked.
I think the original idea was to treat NEAREST_CACHE as a list and to make the + a special list entry.  Can we still do that approach?  That'll allow multiple site-local caches.

@joereuss12 -
* Can you link this to the corresponding issue?  At least from the mobile UI it appears it's not linked.

It says it is linked under development, but here: #1155

* I think the original idea was to treat NEAREST_CACHE as a list and to make the + a special list entry.  Can we still do that approach?  That'll allow multiple site-local caches.

Ah, I see what you mean. Yes! I can work that into the implementation!

You may also want to merge/rebase against main to let the macOS test pass


Include workaround for ImageBitmap in Firefox

Currently this site is broken in Firefox and Firefox Reality.
I updated:

GLTFLoader just upgraded it to the latest three.js/dev branch, which includes the fix for firefox (along with other updates since the last version you use here).
XR-button to avoid using ImageBitmap if in Firefox as we have a bug in imagebitmap currently https://bugzilla.mozilla.org/show_bug.cgi?id=1367251

I tested it on firefox and firefox reality and it works as expected

Thanks! Been meaning to do a more general update to Three r118, good to get this fix in in the meantime.


Implement the usage of Namada SDK for extracting details from existing blocks

Subtask of https://github.com/anoma/namada-interface/issues/177
This is likely not to be used from the Extension/Wallet but has to be part of the "Namada SDK - Web". The data from the existing blocks have to be deserialised with the SDK. This functionality will be consumed by Namada Block Explorer

We will need to revisit this and discuss with product


Pip-compile cannot find file

I am running this command from a dockerized pip-tools container in circleci:
docker run -v /home/circleci/project/packages/test-worker:/workspace -w /workspace pip-tools pip-compile --allow-unsafe --no-emit-index-url -v ./requirements.in --output-file /home/circleci/project/packages/test-worker/foo.txt --resolver=backtracking

and I get:
ts.in --output-file /home/circleci/project/packages/test-worker/foo.txt --resolver=backtracking
Using indexes:
  https://pypi.org/simple

                          ROUND 1
  Collecting temporalio==1.1.0 (from -r ./requirements.in (line 1))
    Downloading temporalio-1.1.0-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (9.1 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.1/9.1 MB 77.0 MB/s eta 0:00:00
  Collecting pyyaml (from -r ./requirements.in (line 2))
    Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.8/661.8 kB 59.7 MB/s eta 0:00:00
  Collecting protobuf>=3.20 (from temporalio==1.1.0->-r ./requirements.in (line 1))
    Downloading protobuf-4.22.3-cp37-abi3-manylinux2014_x86_64.whl (302 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.4/302.4 kB 40.4 MB/s eta 0:00:00
  Collecting python-dateutil<3.0.0,>=2.8.2 (from temporalio==1.1.0->-r ./requirements.in (line 1))
    Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 33.6 MB/s eta 0:00:00
  Collecting types-protobuf>=3.20 (from temporalio==1.1.0->-r ./requirements.in (line 1))
    Downloading types_protobuf-<IP_ADDRESS>-py3-none-any.whl (61 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.3/61.3 kB 9.9 MB/s eta 0:00:00
  Collecting typing-extensions<5.0.0,>=4.2.0 (from temporalio==1.1.0->-r ./requirements.in (line 1))
    Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)
  Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.8.2->temporalio==1.1.0->-r ./requirements.in (line 1))
    Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)

Error: Could not open file '/home/circleci/project/packages/test-worker/foo.txt': No such file or directory

I'm pretty sure this is a problem with pip-compile and not docker or smth else as this works:
circleci@ip-10-0-22-90:~/project$ docker run -v /home/circleci/project/packages/test-worker:/workspace -w /workspace pip-tools echo "foo" >  /home/circleci/project/packages/test-worker/foo.txt
circleci@ip-10-0-22-90:~/project$ cat /home/circleci/project/packages/test-worker/foo.txt
foo

which shows that the docker container can indeed write to that file
Environment Versions

OS Type: linux
Python version: 3.9
pip version: pip 23.1.2
pip-tools version: 6.13.0

Steps to replicate

build a docker container with the above versions
run the pip-compile command

Expected result
requirements to get printed to foo.txt
Actual result
the error I linked above

I think you're sending a host path to your in-container process, when you need a container path. Try
--output-file /workspace/foo.txt

i want the container process to output to the host path tho
when I do this locally (aka not ssh'd into circleci), the command spits out a requirements.txt into my local dir
docker run \
	-v :/workspace \
	-w /workspace \
	pip-tools ls && pip-compile --allow-unsafe --no-emit-index-url -v ./requirements.in --output-file _requirements.txt --resolver=backtracking
Using indexes:
  https://pypi.org/simple

                          ROUND 1
  Collecting temporalio==1.1.0
    Using cached temporalio-1.1.0-cp38-abi3-macosx_11_0_arm64.whl (8.4 MB)
  Collecting pyyaml
    Using cached PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl (167 kB)
  Collecting protobuf>=3.20
    Using cached protobuf-4.22.3-cp37-abi3-macosx_10_9_universal2.whl (397 kB)
  Collecting types-protobuf>=3.20
    Using cached types_protobuf-<IP_ADDRESS>-py3-none-any.whl (61 kB)
  Collecting typing-extensions<5.0.0,>=4.2.0
    Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)

#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
#    pip-compile --allow-unsafe --no-emit-index-url --output-file=_requirements.txt --resolver=backtracking ./requirements.in
#
protobuf==4.22.3
    # via temporalio
pyyaml==6.0
    # via -r ./requirements.in
temporalio==1.1.0
    # via -r ./requirements.in
types-protobuf==<IP_ADDRESS>
    # via temporalio
typing-extensions==4.5.0
    # via temporalio

which then updates the _requirements.txt locally not on the container

Isn't that just because you've mounted the current host folder into the container? I don't see you specifying a host output path in that example (not that you should).

in the local example, inside /packages/test-worker i am running:
docker run \
	-v :/workspace \
	-w /workspace \
	pip-tools ls && pip-compile --allow-unsafe --no-emit-index-url -v ./requirements.in --output-file _requirements.txt --resolver=backtracking

and I specify --output-file _requirements.txt  so in both cases I want to mount /packages/test-worker into the container and then have the output requirements go to _requirements.txt inside /packages/test-worker
sorry if this is kinda unclear 😅

this is how ive been creating and deploying these containers locally (in CI I am running into the above issue)
WORKER_IMAGE_TAG := python-worker
PIP_TOOLS_IMAGE_TAG := pip-tools

build-pip-compile:
	./Dockerfile.python-temporal.gen | DOCKER_BUILDKIT=1 docker build --tag ${PIP_TOOLS_IMAGE_TAG} --target pip-tools -f - .

run-pip-compile:
	docker run \
	-v ${pwd}:/workspace \
	-w /workspace \
	${PIP_TOOLS_IMAGE_TAG} ls && pip-compile --allow-unsafe --no-emit-index-url -v ./requirements.in --output-file ./temporal/_requirements.txt --resolver=backtracking

build-worker:
	./Dockerfile.python-temporal.gen | DOCKER_BUILDKIT=1 docker build --tag ${WORKER_IMAGE_TAG} --target worker -f - .

run-worker:
	docker run --network="host" ${WORKER_IMAGE_TAG}

I basically run this makefile in that order

i guess this works for me:
docker run -v /home/circleci/project/packages/test-worker:/workspace -w /workspace pip-tools pip-compile --allow-unsafe --no-emit-index-url -v ./requirements.in --output-file=- --resolver=backtracking > /home/circleci/project/packages/test-worker/foo.txt

but still curious why --output-file won't work in ci
also when you say I don't see you specifying a host output path in that example (not that you should)
is there a better way to dockerize a python container using pip-compile? having a multistage dockerfile where the first stage  writes out the _requirements.txt and then the second stage actually building the container has been the only way I have of making this work.
this is my dockerfile
# Use an official Python runtime as a base image
FROM python:3.9 AS pip-tools

RUN python -m pip install pip-tools
RUN useradd -ms /bin/bash user
USER user
WORKDIR /workspace

FROM python:3.9 AS worker

# Install pipenv and compilation dependencies
RUN pip install pipenv
RUN apt-get update && apt-get install -y --no-install-recommends gcc

WORKDIR /workspace

# Copy the requirements.in file into the container
COPY requirements.txt .
COPY _requirements.txt .

RUN pip install -r requirements.txt --no-cache-dir

ENV PYTHONPATH /workspace

# Copy the rest of the application files into the container
COPY . .

# Run your Python application
CMD ["python", "temporal/run_worker.py"]

thanks for the feedback tho!

OK I'm at a computer now and can take a closer look.

In your original message, I still think you're using a host path when the container environment knows nothing of the host filesystem layout, and you need to use a path that exists within the container. If it's all in the current and mounted folder anyway, just use ./foo.txt or foo.txt.
Later in your first message you use shell redirection on the host to send the output of the container process to a file on the host filesystem. The in-container process still does not know the host filesystem layout.

In your second and third messages, you are not actually running pip-compile from the container, but directly on the host. You are only running ls from the container, while the && and everything after is happening in your host shell.

@jwaaang
Does the last message clear this up?

@jwaaang
Is this resolved for you?

yes thank you for the explanation!


Container.cacheAsBitmap behaving funny on retina

almost as if the snap shot wasn't retina. I am developing for an Android TV, sorry if the pictures below are not ideal (without and with cacheAsBitmap).

FYI Android TV is considered Retina (small window size in pixels but double density). I used the rendererOptions.resolution = window.devicePixelRatio and canvas style size = window size option to support it.

On the laptop, with technically the same resolution looks way more readable.

Here Canvas 2D (left) VS Pixi (right).

I guess this is the price of using 3d rendering. On the TV the difference is much more noticeable.

hey there! if you use the pixi canvas renderer, does the text show up sharp?

Hi @GoodBoyDigital, I tried new PIXI.CanvasRenderer and as a matter of fact the difference in rendering quality is still there!
Here the pen: http://codepen.io/anon/pen/NNbdJY
It should be enough to check it on an iphone.
Thanks!

@GoodBoyDigital thanks to @ivanpopelyshev I discovered the "resolution" parameter in PIXI.Text. The documentation doesn't seem updated:  https://pixijs.github.io/docs/PIXI.Text.html
This solved the quality of text in general. Still cacheAsBitmap makes the text worse.

oh, one more to try:
PIXI.RESOLUTION = 2
as pix may be using a lower resolution texture to cache the text. - side note here but there should not be a situation where you would need to use cacheAsBitmap on text as it essentially a bitmap anyway.
hope that does the trick!

@GoodBoyDigital updated the pen, seems to work. Thanks! ;) Anyway, I was thinking of using cacheAsBitmap for a composition of more elements.


questions from Dorothy Luther

In the table, only the date is presented, but in the CSV that column also includes the time; should be consistent between the two (either remove from CSV, or add to table)
The 'Observed by' column in the table gets renamed to 'Recorded by' in the CSV, should be consistent
The 'Establishment means' column in the table gets renamed to 'native_anywhere_in_aus' in the CSV, should be consistent
The 'Repository' column in the table gets renamed to 'Voucher location' in the CSV, should be consistent

Nice observations Dorothy!

I think the time is just how R contains date information, and we need the time for the time zone stuff to work. This doesn't seem like such a big deal to me

So interesting that there are so many inconsistencies, is it because we do a lot of 'data wrangling' in the server script? if so, it would be great to modularise that bit.

Yeah we rename when calculate the most recent obs for a species. This is partially unavoidable, because some of the columns are syntheses of two different columns (e.g. the links).  There might be some rationalization that could be done, but this will work for now.


feat: add field and form components

Add <Field>, <InputField>, and <Form> components
Add derived touchedFields to formAtom
Add derived dirty state to formAtom

Codecov Report

Merging #4 (6ae6c0e) into main (949d710) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          311       349   +38
  Branches        58        63    +5
=========================================
+ Hits           311       349   +38

Impacted Files
Coverage Δ

src/index.tsx
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[Bug] no divide by zero report while te.floordiv(a, b-b)

TENSOR_0 = te.placeholder([], dtype="int8", name="TENSOR_0")
TENSOR_1 = te.placeholder([], dtype="int8", name="TENSOR_1")
TENSOR_2 = te.compute([5], lambda fcc:te.floordiv(TENSOR_1, TENSOR_0-TENSOR_0), name ="TENSOR_2")

Expected behavior
Check failed: pb->value != 0 (0 vs. 0) : Divide by zero
Actual behavior
Numpy behavior

Environment
Operating System: Ubuntu 18.04, TVM version: tag0.9.0 [d361585]
Steps to reproduce
import os
import numpy as np
import tvm
from tvm import te, auto_scheduler, topi
import tvm.testing

TENSOR_0 = te.placeholder([], dtype="int8", name="TENSOR_0")
TENSOR_1 = te.placeholder([], dtype="int8", name="TENSOR_1")
TENSOR_2 = te.compute([5], lambda fcc:te.floordiv(TENSOR_1, TENSOR_0-TENSOR_0), name ="TENSOR_2")
s = te.create_schedule(TENSOR_2.op)
tensor_list = [TENSOR_0,TENSOR_1,TENSOR_2]

dev = tvm.cpu(0)
pre_list = []
after_list = []
for tensor in tensor_list:
    shape = [x.value if 'value' in dir(x) and isinstance(x.value, int) else 1 for x in tensor.shape]
    params = (5*np.random.uniform(size=shape)+1).astype(tensor.dtype)
    pre_list.append(tvm.nd.array(params.copy(), dev))
    after_list.append(tvm.nd.array(params.copy(), dev))

pre_mod = tvm.lower(s, tensor_list, simple_mode=True)
with tvm.transform.PassContext(opt_level=0):
    f = tvm.build(pre_mod)
f(*pre_list)

@cxx122 Thanks! So the symptom is, given a div by zero formula, which normally we should throw an DivByZero exception, in tvm, it silently returns a result (which is might be wrong)?

If that's the case, that seems we need to check the generated code. Because normally if the generated code remains the semantic of div by zero, it should raise a floating-point exception.

If that's the case, that seems we need to check the generated code. Because normally if the generated code remains the semantic of div by zero, it should raise a floating-point exception.

Here is the generated code I got from this program, seems to be a problem with T_subtract().
primfn(TENSOR_0_1: handle, TENSOR_1_1: handle, TENSOR_2_1: handle) -> ()
  attr = {"from_legacy_te_schedule": True, "global_symbol": "main", "tir.noalias": True}
  buffers = {TENSOR_2: Buffer(TENSOR_2_2: Pointer(int8), int8, [5], []),
             TENSOR_0: Buffer(TENSOR_0_2: Pointer(int8), int8, [], []),
             TENSOR_1: Buffer(TENSOR_1_2: Pointer(int8), int8, [], [])}
  buffer_map = {TENSOR_0_1: TENSOR_0, TENSOR_1_1: TENSOR_1, TENSOR_2_1: TENSOR_2} {
  allocate(T_subtract: Pointer(global int8), int8, [1]), storage_scope = global {
    T_subtract[0] = ((int8*)TENSOR_0_2[0] - (int8*)TENSOR_0_2[0])
    for (fcc: int32, 0, 5) {
      TENSOR_2_2[fcc] = floordiv((int8*)TENSOR_1_2[0], (int8*)T_subtract[0])
    }
  }
}

@cxx122 This bug is caused by a mistake in constant folding. It is fixed by #13348.


Nyholm rename config keys

Added some more fixes. Tell me if you like them or not.

This will replace #1


Update Set-SPOSite.md

Added parameter set 4 with restrictions on a groups site collection.

OPS Build status updates of commit 88b7989:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit 88b7989:
:clock10: Incremental building: average incremental building time is 12 min(s) 24 sec(s)

OPS Build status updates of commit 88b7989:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:x:Error

Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md

[Error] Unable to load file 'sharepoint-ps/sharepoint-online/Set-SPOSite.md' via processor 'AzureCliDocumentProcessor': Object reference not set to an instance of an object.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

creating a new one after signing CLA


[#3775] Allow disabling PostgreSQL bound values

Fixes #3775

Very nice catch, thank you for your contribution :)


Parallel

Things work.  Mostly pull-requesting for review and testing.

Everything in here looks fine. What's the error that you're getting for the qos=1 ?

This seems to fix the issue with qos=1 (and maybe 2, haven't got around to that).  And it turns out there are errors (timeouts ~9% of the time) that I wasn't catching because I forgot that if I set the timeout to 10 min it will take 10 min before timeout errors start showing up.

And with qos=1 I'm currently getting 0 errors (maybe, unless I'm missing something)

I am seeing this working for qos=1, so :+1:


Ability to use basic auth in kapacitor CLI

I am using kapacitor cmd utility in all my script.
The problem is that if we are trying to connect to kapacitor from outside of our vpn, we need auth.
I found no way to set the auth in cmd line, so I am trying this approach. WDYT?

@gburanov why isn't specifying basic auth credentials in the KAPACITOR_URL an option? e.g.
KAPACITOR_URL=http://user:pass@localhost:9092 kapacitor ...

@gburanov I agree with @desa using KAPACITOR_URL with the credentials in the URL should be sufficient here. Looks like we should  mention that its supported in the CLI help somewhere. Closing this PR. Would accept another PR to improve the docs around this.


Feature/13/create dashboard component

Overall good stuff, just some minor comments, please go through them and I will get a final review + merge

I rename to classNames.
I think this PR is ready. Can I merge?

Merged PR, sorry didn't had a chance for the last approval


Support for adding writers to capture matlab process output for debugging purposes

Thanks!  Looks like a good change.  Add a commit addressing the issues above and I'd be happy to merge and release.

Done, thanks!
I changed the thread name to Output (from Input) as well, since I found it confusing too and just went with the name of the Thread instead of correcting it initially.

Published in 4.5.0.


Merge master to live

:x: Validation status: errors

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenantSyncClientRestriction.md
:x:Error

Details

:x:Error

Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenantSyncClientRestriction.md

[Error] Unable to load file: sharepoint-ps/sharepoint-online/Set-SPOTenantSyncClientRestriction.md via processor: AzureCliDocumentProcessor.

[Error] Markdown.MAML.Transformer.HelpSchemaException: :41:(709) '

Restrict non-domain joined machines from ...'
Expect Heading level 2
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.GetInnerContexts(DocumentBuildParameters parameters, IEnumerable1 processors, TemplateProcessor templateProcessor, IHostServiceCreator creator)    at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore(DocumentBuildParameters parameters)    at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo)    at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList1 parameters, String outputDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@kenwith : Can you take a look at the error here? The PR has not modified this file. Is it transient? How can we re-queue the build?

It looks like one or two of the files @Techwriter40 is working on in the Master branch is violating the schema. I will sync with him to get it fixed ASAP so you can merge to live.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/office-docs-powershell, working directory: W:\mkba-s, target branch: live, target branch commit: e5f48fd4c8f14cbdf341577f21ced160a4eee387, source branch: master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.