Can't set extra_hosts from UI

Rancher versions:
rancher/server or rancher/rancher: 1.6.16
rancher/agent or rancher/rancher-agent: 1.2.10
Infrastructure Stack versions:
healthcheck: v0.3.6
ipsec: v0.13.11
network-services: metadata:v0.10.2 network-manager:v0.7.20
scheduler: v0.8.3
kubernetes (if applicable):
Docker version: (docker version,docker info preferred) 17.09.1-ce
Operating system and kernel: (cat /etc/os-release, uname -r preferred) ROS
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) Proxmox
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB) HA rancher external DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce: Up rancher
Results: Can't set extra_hosts from UI

Thanks for your report!
With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.
If you think we should keep this issue open, please let me know.


Crash at startup: "Arithmetic operation resulted in an overflow."

Trying sourcegit 8.14 (.deb package) on Devuan "daedalus" (systemd-less Debian clone), Kernel 6.1.0 (64 bit):
$ sourcegit
$ # Nothing happens, sourcegit has crashed
$ cat $HOME/.config/SourceGit/crash_2024-06-02_18-37-39.log
Crash: Arithmetic operation resulted in an overflow.

----------------------------
Version: <IP_ADDRESS>
OS: Unix <IP_ADDRESS>
Framework: .NETCoreApp,Version=v8.0
Source: <unknown>
---------------------------

   at Internal.Runtime.CompilerHelpers.ThrowHelpers.ThrowOverflowException() + 0x20
   at Avalonia.X11.X11Screens.UpdateWorkArea(X11Info, X11Screen[]) + 0x1fc
   at Avalonia.X11.X11Screens.Randr15ScreensImpl.get_Screens() + 0x30b
   at Avalonia.X11.X11Screens.get_AllScreens() + 0x2c
   at Avalonia.X11.X11Window..ctor(AvaloniaX11Platform, IWindowImpl, Boolean) + 0x3cc
   at Avalonia.Controls.Platform.PlatformManager.CreateWindow() + 0x84
   at SourceGit.Views.Launcher..ctor() + 0x1f
   at SourceGit.App.OnFrameworkInitializationCompleted() + 0xb0
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder, String[], Action`1) + 0x34
   at SourceGit.App.Main(String[] args) + 0x37
$

I saw in the AvaloniaUI Issues that you have had similar crashes when using other AvaloniaUI based software, https://github.com/AvaloniaUI/Avalonia/issues/10382. This should be AvaloniaUI's BUG. I will keep an eye on this issue.


reference for irreversible malate dehydrogenase during anaerobic simulation

Description of the issue:
The anaerobicModel.m script indicates that malate dehydrogenase (r_0173, r_0714) should be constrained to zero flux:
%Block oxaloacetate-malate shuttle (not present in anaerobic conditions) model.lb(strcmp(model.rxns,'r_0713')) = 0; %Mithocondria model.lb(strcmp(model.rxns,'r_0714')) = 0; %Cytoplasm
Is there a reference for this observation?
I hereby confirm that I have:

[x] Tested my code with all requirements for running the model
[x] Done this analysis in the main branch of the repository
[x] Checked that a similar issue does not exist already
[x] If needed, asked first in the Gitter chat room about the issue

The anaerobicModel.m script indicates that malate dehydrogenase (r_0173, r_0714) should be constrained to zero flux:

Note that the lower bound is constrained to zero flux, the reactions can still carry a flux of 0 or higher. This seems to have been introduced when yeast7 was expanded to an enzyme-constrained model. It seemed necessary for that model to replicate the observed phenotype. See in the Appendix:

It is not an ideal situation, to change such reaction bounds specifically for one condition. We should consider whether these reactions should be reversible, and if, they should also be reversible in anaerobic conditions.

@edkerk Hi! I have two questions about yeast8GEM working in anaerobic conditions: 1, what can I do to remove s_3714 from the reaction (r_4041)?  and  2, how do I change the biomass pseudoreaction reaction equation?  Looking forward to your reply!

The function code/otherChanges/anaerobicModel can generate this "anaerobic model". If you only interested to remove s_3714 from r_4598 (the biomass reactions have been reconfigured, such that cofactors like heme are in their own pseudoreaction), you can modify the respective lines.

@edkerk    Thank you very much for your reply! May I ask which solver was used (cobra，raven or others)?  Because I keep getting errors when I run it in cobra's environment!

@edkerk    like that  "Reference to a non-existent field 'rxns'.
Error setParam (line 49):index=find(strcmp(rxnList{i},model.rxns),1);"

@jiuia I suggest you open a Discussion thread where you explain exactly what commands you ran and what error message you observed. Your error message from setParam suggest that the model is not correctly loaded.

@edkerk  ok fine!

Work on an updated anaerobic model are discussed in #352


style(dashboard): remove unnecessary brackets from keys, including extras

Referencing this PR
@folke,
The p from extras.util.project still contained the brackets.

Woops! Thanks! I think I had it on my personal config as well so that was ultimately overriding everything and missed this. Sorry about that.

Maybe better not to override config and just fix it in project extra?
Otherwise people can't just override ops anymore

Done. Now changed in project extra.

Thanks!


SEC Report Deserialization Sometimes Fails When FormerCompanies Field is Null

Expected Behavior

We should be able to deserialize all SEC data
Actual Behavior

We can't deserialize because a null value is encountered when a JSON array is expected
Potential Solution

Default initialize to an empty array
Reproducing the Problem

Try to deserialize the following: Data/alternative/sec/aol/20010126_8K.zip
System Information

N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Closed by #3325


fix home-manager module

Currently the main method of implementing neovim-flake is through integrating it with your flake or adding it to your configuration.nix. The desired method, however, would be to implement home-manager properly so that neovim-flake is a distro agonistic neovim configuration as it is envisoned to be.
Currently, the main issue lies at home-manager's useGlobalPkgs option.
The current problem is that we cannot access the packages.maximal attribute provided by the flake. Flakeparts does it differently, I guess?

Development(?) is ongoing at the fixHomeManager branch

Closed by #34


Comonad transformer docs

@garyb @joneshf Could you please review?

Looks good to me. I like the split up docs too.

Cool, thanks. I'll make a minor release then.

Great! Also, great idea with the split!


Create Juniper kit

This PR DOES NOT address any issues
Net new kit

It needs images for the kit.
All the objects need descriptions

Besides those two it LGTM

It needs images for the kit.
It needs a readme
All the objects need descriptions

Besides those items it LGTM

Images are stock for the time being...I've requested permission to use the Juniper logo, but haven't heard back yet
Added README as README.md as well as in the MANIFEST
Added descriptions for all the things


Update README to include conda build

Added conda install directions because this is a dependency of mkdocstrings - pawamoy/mkdocstrings#164
Thanks!

Nice, thanks!


Implement modular inverse

I had the need for this and have a variant that works well for positive numbers here, if there is interest: https://github.com/dignifiedquire/rust-rsa/blob/master/src/math.rs#L118

I second this.

This will probably be met generically by rust-num/num-integer#10.

@dignifiedquire, your link is currently redirecting then returning 404 for me. The RustCrypto/RSA repo doesn't have a src/math.rs, but I can see that it uses a ModInverse trait and that the trait is implemented in your fork of num-bigint. Is that where you'd like us to look at?

yes, that code moved out of the RSA library into my fork of num-bigint into: https://github.com/dignifiedquire/num-bigint/blob/master/src/algorithms/mod_inverse.rs


18 new jurisdictions via config

https://github.com/SuffolkLITLab/courtformsonline.org/issues/18
Adds ability to add jurisdictions by modifying the formsources.config file.
Changes:

refactored main page component
broke topic cards into their own component
set up topic section and data query to fetch data based on jurisdiction
set build up for dynamic routes for paths like /ma and /ma/housing
add path data to config file
Moves fetch functions higher in hierarchy to be at page level
adds pathToServer config which allows assignment of servers to a given path
Adjusts link tag behavior that that serverUrl is assigned to a given interview

Testing

Navigate to homepage and not that the default suffolk data is there
Naviagate to localhost:3000/gb and observe that the greater boston data is rendered
Click card backgrounds and observer that the correct topic placeholders render
Click tags and verify that correct app url is linked to
Verify that tests/build work
Note that the build output reflects the new pages

Build output log:

Greater boston cards at /gb:

Placeholder component for topics at new route:

Note:  Also some changes to images in an effort to get them working on Pages. I dont have a way to test pages deployment locally so there may be some trial and error figuring out what the issue is there

I like these changes--looking good! Just two notes: consistency of the meaning of "jurisdiction" and double-checking that we can combine multiple servers into one "path", made inline.

I've modified the config that that we can assign multiple servers to a path.  I included /gb/ as a path for demonstration purposes, but i will delete that from the config before we go live.  Adding new paths should be as simple as declaring in that config, and assigning it servers as they are added to the sources config.
I've also added in the necessary data to track the source server for an interview so that the link path aligns with its source.
Also changed misusage of 'jurisdiction' to 'path' for clarity


xfitter: runtime fixes

Motivation for this change
Fixes xfitter. It is a UB in C++ for function to declare a return value and not provide any, a patch was added to fix that. Also qcdnum 17-01-14 deprecates some of the functions used by xfitter, so downgrade it for now.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Failure on x86_64-linux (full log)
Attempted: qcdnum, xfitter
Partial log (click to expand)
[ 16%] Building C object core/utils/CMakeFiles/rootcint.dir/__/clib/src/strlcpy.c.o
[ 16%] Building C object core/utils/CMakeFiles/rootcint.dir/__/clib/src/strlcat.c.o
[ 16%] Linking CXX executable ../../bin/rootcint
[ 16%] Built target rootcint
make: *** [Makefile:152: all] Error 2
builder for '/nix/store/rc2469ifapcyqh45pw9axq4l62rxz0a0-root-5.34.36.drv' failed with exit code 2
cannot build derivation '/nix/store/2d6h2l6rq20ajpa14cmyijrz334w84px-applgrid-1.4.70.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/k2i4blnm1xg9mnyjpbiqgcqdximf97cr-apfelgrid-1.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8zag1a09zydp5iv0wsz50rlibwirwmxw-xfitter-2.0.0.drv': 3 dependencies couldn't be built
error: build of '/nix/store/8zag1a09zydp5iv0wsz50rlibwirwmxw-xfitter-2.0.0.drv' failed

Failure on aarch64-linux (full log)
Attempted: qcdnum, xfitter
Partial log (click to expand)
/nix/store/3g9yrjv8h592nbry3xp3rjhdc6nfp79x-root-6.12.06/etc/vmc/g4_makedist.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/3g9yrjv8h592nbry3xp3rjhdc6nfp79x-root-6.12.06/etc/vmc/makedist.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/3g9yrjv8h592nbry3xp3rjhdc6nfp79x-root-6.12.06/etc/daemons/proofd.rc.d: interpreter directive changed from " /bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/3g9yrjv8h592nbry3xp3rjhdc6nfp79x-root-6.12.06/etc/daemons/rootd.rc.d: interpreter directive changed from " /bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/3g9yrjv8h592nbry3xp3rjhdc6nfp79x-root-6.12.06/etc/dictpch/makepch.py: interpreter directive changed from " /usr/bin/env python" to "/nix/store/74b1xd5srd6ja54xwznvbrd5hcfl6k1n-python-2.7.15/bin/python"
/nix/store/3g9yrjv8h592nbry3xp3rjhdc6nfp79x-root-6.12.06/etc/dictpch/makepch.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/3g9yrjv8h592nbry3xp3rjhdc6nfp79x-root-6.12.06...
cannot build derivation '/nix/store/1npqm2jzza2kc6cbcf2dci1w1ncfqfcr-apfelgrid-1.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sxp2rlc3wl0y7qnzzhc6qjdicklf0sip-xfitter-2.0.0.drv': 3 dependencies couldn't be built
error: build of '/nix/store/sxp2rlc3wl0y7qnzzhc6qjdicklf0sip-xfitter-2.0.0.drv' failed

Success on x86_64-linux (full log)
Attempted: qcdnum
The following builds were skipped because they don't evaluate on x86_64-linux: apfelgrid, root5, xfitter
Partial log (click to expand)
a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

/nix/store/7w2pj3gv2dzyfpdghc7wbs0c14gnm58x-QCDNUM-17-01-13

Success on aarch64-linux (full log)
Attempted: qcdnum
The following builds were skipped because they don't evaluate on aarch64-linux: apfelgrid, root5, xfitter
Partial log (click to expand)
a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

/nix/store/qa3ym9038804p2frkibfpbqpp0h5ndi0-QCDNUM-17-01-13

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: apfelgrid, qcdnum, root5, xfitter
Partial log (click to expand)
cannot build derivation '/nix/store/50frjbc552mn40nfcgy6588jaqadj55p-apple-framework-Carbon.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/8d0p9adx6y99fk1hm8y583cff378c06b-apple-framework-AudioUnit.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/37hdm9vrqjnsikdavzkx0rk3sfngsdsv-apple-framework-AudioToolbox.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/0qiqpkngnvz9lcqbjwjx64flw2insldk-apple-framework-AppKit.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/n6pg2kh8mnnc986r7p42f93gl1qnxbzx-apple-framework-Cocoa.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/47wjdkz71lbrcagmmlr5ik3zdj1pngj7-root-5.34.36.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/np1qr0vw2l5fccd72w8mlp8cydv7q4dw-applgrid-1.4.70.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/6pphvi4br8s1f4v97fdagwzghas8mx5a-apfelgrid-1.0.1.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/1sb53da7png6jc6ikwx3lhwxr1j3zdwh-xfitter-2.0.0.drv': 13 dependencies couldn't be built
error: build of '/nix/store/1sb53da7png6jc6ikwx3lhwxr1j3zdwh-xfitter-2.0.0.drv', '/nix/store/47wjdkz71lbrcagmmlr5ik3zdj1pngj7-root-5.34.36.drv', '/nix/store/6pphvi4br8s1f4v97fdagwzghas8mx5a-apfelgrid-1.0.1.drv', '/nix/store/d3gv26dggr21qyk7p5sjks091ppapz3v-QCDNUM-17-01-13.drv' failed


[Release-Patch] Release/patches for auto release part 1

Release excludes below libraries.

Storage
Search
Key Vault
Schema Registry
ACS-Phone Number and Job Router.
Container Registry
Identity extension

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


No Perms from migration

So i migrated from PEX to LuckPerms, first i setup mysql then i went to all the servers and ran the migrate command, stopped server, got rid of pex, and started again. And now none of my groups have any perms? Prob did something wrong, any ideas?
And i do have a backup of my server right before i added luck perms so i can go back to that if needed
Note: it is a bungeecord server make of 8 servers (2 are identical)

Can you confirm the data is in your database?

I mean, it did generate stuff in there, what specifically?

ok i got it


How to train ShapeNet dataset?

How to train ShapeNet?

Compared with PTv2 released code, we add support to ModelNet40, but still did not support ShapeNet Part Segmentation since it is a special task and might make the framework not elegant. But our code still remains some necessary components for ShapeNet, please further follow the discussion here -> https://github.com/Gofinge/PointTransformerV2/issues/28.

It really depends on the size of your individual plant data, S3DIS is pretty dense. Maybe you can first reduce the batch size and make the code runnable in your machine, then tune the parameter. Also SpUNet is efficient in both speed and memory, you can adopt it as a baseline.

Can this code output visual test results？
Try the visualization tool save_point_cloud in pointcept.utils.visualization. Kindly remind that the color should be scaled into [0, 1] instead of [0, 255]. For normalized color in the transformer, just (color + 1) / 2 to fit the input required of the function.
I only have one GPU, do the following two lines of code still need to be run?
There is no need to multi-arch build for a single GPU. The comment was for Slurm contains multi-type of GPUs.

It seems that you were trying to test a model on Pointcpt. Pointcept architecture is slightly different from PTv2 released code. Did you try to load my released weight with pointcept? If so, map the checkpoint layer name to the pointcept version. Or retraining a weight for ModelNet40.

Let me check the bug. I didn't test the tester for ModelNet40.

Hay, I found the reason. It was because we default assume enable DDP (GPU >= 2), consequence, the saved weight name will have the prefix module. Our testing process only applies a single GPU, and we remove the first 7 characters (module.), then load the weight. You only train the model with a single GPU and cause the debug. I have already fixed the problem.
The basic config for spunet modelnet40 is not good enough since I did not tune the parameter, the following issue might be helpful to achieve a SOTA performance in ModelNet40: https://github.com/Gofinge/PointTransformerV2/issues/9

 I also encountered this error during testing while training s3dis. I think that's also the reason above.
Yes, same reason (train by a single GPU).

Using different sampling rates for different categories of points has the following two risks: 1. Introducing category information to the data (based on sparse classification); 2. Uneven density brings perception difficulties.
My suggestion is:

Try LovaszLoss;
Wait for our code for (CAC & Ceco). It should be May~June after the NeurIPS deadline.

Good work. -- I will retrain and test again. -- I also encountered this error during testing while training s3dis. model.load_state_dict(state_dict, strict=True) ## I can test by changing True to False, but I don't know what impact it will have on the test results. -- I think that's also the reason above.

Hey，I had met the same error and I had solved it.
change the strict=True to strict=False will effect the result.
Here is my solution:

For tensorboard:
 tensorboard --logdir $POINTCEPT_PATH/exp/s3dis/ --bind --port=$PORT

For log file:
vim exp/s3dis/$EXP_NAME/train.log

For images, save them on your local PC or modify tensorboard log module.

Please considering write an additional instance segmenter and adding a post process in the segmenter.


Add support for chart.js

Yested already supports subset of Chart.js library. It should wrap all charts. Also add demo for all chart types.

Done


Explore using :global() instead of is:global

Try to limit global styles to only where needed.

Use external css for now


[eBPF] Reducing CPU consumption for process events exec/exit

Replace sched_process_fork with sys_exit_fork and sys_exit_clone tracepoints because sched_process_fork cannot distinguish between processes and threads, leading to excessive threads being pushed to the upper layer unnecessarily. sys_exit_fork and sys_exit_clone only push process information.
Use spin locks to protect the process event list instead of thread mutex locks to avoid frequent context switches.
This PR is for:

Agent

Affected branches

main
v6.4

存在风险，暂时先不合并


Request for insight

Good day I am using the latest version of mitmproxy, is it possible to use this application to watch a protocol negotiation for SSH (Notable SSH2/interactive-keyboard)

Depends on your definition of "watch". You can watch the raw TCP stream (Wireshark could do this as well, and better), but mitmproxy itself does not support SSH itself. What's your use case?


Upgrade cursor from 0.39.0 to 0.40.4

I see the cursoride package on Chocolately is referencing this repo. I'd like to upgrade the version of Cursor to the latest release.
Tested by:

Downloading the latest Cursor exe from https://www.trycursor.com/
Running Get-FileHash '~/path/to/Cursor Setup 0.40.4 - x64.exe' -Algorithm SHA256 | select hash -ExpandProperty hash
Updating the checksum in tools/chocolateyinstall.ps1
Running choco pack to generate the .nupkg file
Running choco install cursoride --source .

Thank you for bringing this to my attention. I was unaware that there was a new version of Cursor out. I have updated and pushed it to the community repository.
To keep more on top of this, would you like me to add you as a maintainer to the package? If you give me your username I can add you and you can run the auto-updater script whenever there is a new version.

If you'd like that's fine by me. My username is the same as here - publicfacingusername. I'll take a look at the script. Thank you!

Sounds good. I already pushed the latest version of cursor to the community repository. So @ me next time a new version of cursor comes out and I'll make sure to add you. Have a great day!


S2U-31 <IP_ADDRESS> Assignments: Grades in the main view of assignments that

have already been evaluated - fix

Nice!


ZSH auto completion

Auto completion in zsh doesn't work.
I need to do sudo cp /usr/share/zsh/site-functions/* /usr/local/share/zsh/site-functions/
After that it work.

I have tried putting cheat.zsh in a folder in FPATH with no luck. Can someone help me?

Tryed all the above but nothing worked.
So I wrote one myself, hope this helps anyone looking at this page in the future =)
# cheat autocompletion; just add to ~/.zshrc
_cmpl_cheat() {
reply=($(cheat -l | cut -d' ' -f1))
}
compctl -K _cmpl_cheat cheat

Thanks @gotbletu, it works like a charm

In fact, the name of autocomplete file stored at /usr/share/zsh/site-functions/ must begin with _ for Zsh, so you have to change cheat in this repo to _cheat. Then it workd.


Invalid jsdoc comment for literals

https://github.com/samchon/typia/blob/master/src/module.ts#L950
https://github.com/samchon/typia/blob/master/src/module.ts#L966
literals<"A" | "B" | 1>; // [1, 2, 3] as const
should be
literals<"A" | "B" | 1>; // ["A", "B", 1] as const

><EMAIL_ADDRESS>issue
> node test/issue 673

[ 'A', 'B', 1 ]

But docs say it will be [1, 2, 3]

Ah, bug was in comment. Thanks for reporting.


Feature/fix issue 405

Coverage remained the same at 100.0% when pulling 307680b10646d5916eb37daa74ad473527abdc53 on feature/fix-issue-405 into 9305d26d88e8ebc93323398bde0375d56bcbc278 on develop.


Android SystemChrome not going away if app is left by a swipe up from the bottom

Steps to Reproduce

Run the default app on an Android device using SystemUiMode.leanBack
Swipe up from the bottom to leave the app
Return to the app and the system chrome will not go away

Expected results: System chrome goes away on a return to the app
Actual results: System chrome was overlaid on top of the app

Code sample
void main() {
  WidgetsFlutterBinding.ensureInitialized();

  SystemChrome.setEnabledSystemUIMode(SystemUiMode.leanBack);

  SystemChrome.setSystemUIChangeCallback((systemOverlaysAreVisible) async {
    SystemChrome.restoreSystemUIOverlays();
  });

  runApp(const MyApp());
}

Attached is a video where I leave the app first by using the home button and back button which both hide the system chrome upon return. Then I leave the app by swiping up from the bottom, and it doesn't.
Update: Just downgraded to 2.10.5 and the issue does not seem to happen on that version.
https://user-images.githubusercontent.com/86018949/188202518-e7446743-9b65-4856-81a5-a31620436a81.mov

Logs

[✓] Flutter (Channel stable, 3.3.0, on macOS 12.3 21E230 darwin-arm, locale en-US)
    • Flutter version 3.3.0 on channel stable at /Users/Ben/SDKs/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (4 days ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/Ben/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] VS Code (version 1.70.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 12 (API 32)
      (emulator)
    • iPhone 13 Pro Max (mobile)  • 3039DF88-E732-4F3D-8F12-AFA2D924D3BC • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 12.3 21E230
      darwin-arm
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome
      105.0.5195.52

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @GroundedGames, thanks for filing the issue. This issue is reproducible on the latest stable and master channels.
On Flutter 2.10.5, the issue does not occur.

Demo

stable/master
2.10.5

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

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  SystemChrome.setEnabledSystemUIMode(SystemUiMode.leanBack);

  SystemChrome.setSystemUIChangeCallback((systemOverlaysAreVisible) async {
    SystemChrome.restoreSystemUIOverlays();
  });

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: GestureDetector(
        onTap: () => FocusScope.of(context).requestFocus(FocusNode()),
        child: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            mainAxisSize: MainAxisSize.min,
            children: <Widget>[
              const Text(
                'You have pushed the button this many times: ',
              ),
              Text(
                '$_counter',
                style: Theme.of(context).textTheme.headlineMedium,
              ),
              TextFormField(
                keyboardType: TextInputType.number,
              ),
            ],
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        child: const Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.0, on macOS 12.5 21G72 darwin-x64, locale en-EE)
    • Flutter version 3.3.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (28 hours ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 2526BC1A-435D-4B08-B99C-44B928F2517B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.4.0-19.0.pre.72, on macOS 12.5 21G72 darwin-x64, locale en-EE)
    • Flutter version 3.4.0-19.0.pre.72 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 202f5771f4 (3 hours ago), 2022-09-04 20:28:23 -0400
    • Engine revision b94120dfe9
    • Dart version 2.19.0 (build 2.19.0-168.0.dev)
    • DevTools version 2.17.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

After investigation (git bisect and some engine code changes), I found that the regression was introduced by the following PR: https://github.com/flutter/engine/pull/34363/
It seems that when the app is ‘swipe up' there are some calls to the platform channel. Making those calls in an async way (as done with this PR) might leads to ordering or scheduling problems.
The issue does not happen when using the old handler, aka restoring this line https://github.com/flutter/engine/blob/main/shell/platform/android/io/flutter/embedding/engine/dart/PlatformTaskQueue.java#L16
to:
  @NonNull private final Handler handler = new Handler(Looper.getMainLooper());

But it’s a revert of https://github.com/flutter/engine/pull/34363/ and maybe there is a better way to fix this.
@jiahaog @dnfield who are the experts here.

Thanks for doing the investigation! Should we rollback the change to that line in the meantime then?

Thanks for doing the investigation! Should we rollback the change to that line in the meantime then?

IMHO, reverting https://github.com/flutter/engine/pull/34363 seems reasonable because it leads to random issues like this one.
I don't have all the information because the PR references a Google internal bug (b/237035671). But I think it would be better to revert this change and reland it after investigating why it leads to this issue.

Thanks, I'm submitting the revert in https://github.com/flutter/engine/pull/36091.
The SystemChrome API is a bit new to me, can you also help me understand why we need to set the callback to restore the system UI overlays?
  SystemChrome.setSystemUIChangeCallback((systemOverlaysAreVisible) async {
    SystemChrome.restoreSystemUIOverlays();
  });

If I remove those lines in the repro above in the first comment, I would be unable to reproduce the issue.

I think the issue here is that android.view.View.setSystemUiVisibility cannot be called in the same frame as when android.view.View.onSystemUiVisibilityChange is scheduled. When this happens, android.view.View.setSystemUiVisibility will never be scheduled again.
Previously, before https://github.com/flutter/engine/pull/34363 when new Handler(Looper.getMainLooper()) is used, android.view.View.setSystemUiVisibility is always called in a subsequent frame. After https://github.com/flutter/engine/pull/34363, with Handler.createAsync(Looper.getMainLooper()), it becomes possible for android.view.View.setSystemUiVisibility to be called in the same frame.
This can be reproduced in a pure Android app as well:
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;

public class SkeletonActivity extends AppCompatActivity {

  private final int mEnabledOverlays =
      View.SYSTEM_UI_FLAG_LAYOUT_STABLE
          | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
          | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
          | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
          | View.SYSTEM_UI_FLAG_FULLSCREEN;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity);

    decorView.setSystemUiVisibility(mEnabledOverlays);

    View decorView = getWindow().getDecorView();
    decorView.setOnSystemUiVisibilityChangeListener(
        new View.OnSystemUiVisibilityChangeListener() {
          @Override
          public void onSystemUiVisibilityChange(int visibility) {
            // Bad.
            decorView.setSystemUiVisibility(mEnabledOverlays);

            // Good.
            // decorView.post(() -> decorView.setSystemUiVisibility(mEnabledOverlays));
          }
        });
  }
}

I think a possible solution here would be wrap onMethodCall of the system channels plugin with a Handler.post so that these methods are always scheduled on the next frame.

Or we could wrap the following in a scheduleFrameCallback  / addPostFrameCallback https://github.com/flutter/flutter/blob/a34e6b0792c896ba8a90cd5d4eae4d4ab7c7dfd0/packages/flutter/lib/src/services/binding.dart#L272
Or we could wrap the calls to platformChannel.systemChromeChanged with a decorView.post.
I like the last option a bit better, since this isolates the solution to just android and is only need when we respond to a callback from setOnSystemUiVisibilityChangeListener.

Is there any way we could handle this in the Android embedding itself?


DCOS 129 - microscaling demo tutorial

Adding a tutorial for running a Microscaling demo on DC/OS

Looks pretty good. @joel-hamill mind giving it a pass?

Yo! @pyronicide beat me to it. LGTM! Once above things are addressed, handing over to @joel-hamill for final review and publishing …

Thanks for looking so fast @pyronicide @mhausenblas! Hope I've got those format changes all sorted now, shout if I missed anything.

Perfect, thanks a lot @lizrice! @joel-hamill can you get it over the finish line pls?

@mhausenblas yep, will do.

@mhausenblas @lizrice I have added my edits here: https://github.com/dcos/dcos-docs/pull/346.


"WARNING:transformers.tokenization_utils_base:Token indices ..." comes with main.BoolQGen() and main.AnswerPredictor()

Hi, First of all,  thanks for your sharing work.
While I use main.BoolQGen() and main.AnswerPredictor() in your Questgen package, I met warnings.
Input text:
Other artisans made pottery, incense, mats, furniture, linen clothing, sandals, or jewelry.A few Egyptians traveled to the upper Nile to trade with other Africans.These traders took Egyptian products such as scrolls, linen, gold, and jewelry.They brought back exotic woods, animal skins, and live beasts.As Egypt grew, so did its need to organize.Egyptians created a government that divided the empire into 42 provinces.Many officials worked to keep the provinces running smoothly.Egypt also created an army to defend itself.One of the highest jobs in Egypt was to be a priest.Priests followed formal rituals and took care of the temples.Before entering a temple, a priest bathed and put on special linen garments and white sandals.Priests cleaned the sacred statues in temples, changed their clothes, and even fed them meals.Together, the priests and the ruler held ceremonies to please the gods.Egyptians believed that if the gods were angry, the Nile would not flood.As a result, crops would not grow, and people would die.So the ruler and the priests tried hard to keep the gods happy.By doing so, they hoped to maintain the social and political order.Slaves were at the bottom of society.In Egypt, people became slaves if they owed a debt, committed a crime, or were captured in war.Egyptian slaves were usually freed after a period of time.One exception was the slaves who had to work in the mines.Many died from the exhausting labor.Egypt was one of the best places in the ancient world to be a woman.Unlike other ancient African cultures, in Egyptian society men and women had fairly equal rights.For example, they could both own and manage their own property.The main job of most women was to care for their children and home, but some did other jobs too.Some women wove cloth.Others worked with their husbands in fields or workshops.Some women, such as Queen Tiy, even rose to important positions in the government.Children in Egypt played with toys such as dolls, animal figures, board games, and marbles.
Warning in output:
WARNING:transformers.tokenization_utils_base:Token indices sequence length is longer than the specified maximum sequence length for this model (3962 > 512). Running this sequence through the model will result in indexing errors
I'd like to know ways to solve the problem.
Sincerely.

Hi @alexcruz0202 ,
Split the text into smaller chunks. Keep each chunk around 200-300 words at the maximum.

@ramsrigouthamg
thanks a lot for your urgent help.

@ramsrigouthamg
I've split the text into several chunks. Warning is not disappeared in main.AnswerPredictor()
Input text:
The Greek historian knew what he was talking about. The Nile River fed Egyptian civilization for hundreds of years. The Longest River the Nile is 4,160 miles long—the world’s longest river. It begins near the equator in Africa and flows north to the Mediterranean Sea. In the south the Nile churns with cataracts.
Warning in output:
WARNING:transformers.tokenization_utils_base:Token indices sequence length is longer than the specified maximum sequence length for this model (3962 > 512). Running this sequence through the model will result in indexing errors

Can you share your code? I've been working with Questgen for a week or so and haven't had that issue.


Adding features to Information Gathering Script

Is your feature request related to a problem? Please describe.
No. The feature that should be added will give extra functionalities to the script which will be adequate for gathering the information of a specific host. The script can also be modified to gather information of multiple hosts in a single scan.
Adding more features in Information gathering script
The script can currently Grab banners, Hostnames and do IP lookups. The features we can add to this script are performing NS lookup, Whois lookup, port scanning, firewall detection, etc. All the features added would be passive in nature.
Do I want to work on this:

[x]  Yes
[ ] No

Assign me for this project under GSSOC '23

Go Ahead @atharva-shigvan

This is fixed. Please check PR #252

@avinashkranjan I have submitted the code. Please tell me if any changes are required. Thank you


Fixed initialize() type definition – optional parameter

Hello, I've done a ton of changes in the next branch and force-pushed it, so I've cherry-picked your commit manually in d9ac9f3fa25fae4910ed2a673ab2dc2a91ba1f72 to spare you the trouble. Thanks for your contribution!


docs: Quickstart for Go-based Operators docs do not mention "make kustomize"

Actually, I realized that the problem with the docs isn't platform dependent (see https://github.com/operator-framework/operator-sdk/issues/4361). The docs never call for the user of the docs to issue make kustomize step, and it's not called from any other make steps, so by the time the user calls kustomzie for the delete step, it will fail.
Doc link is here:
https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/
Suggest: adding a make kustomize step to the quickstart doc.

HI @bentito,

The docs never call for the user of the docs to issue make kustomize step

The docs never call it because ALL targets that require kustomize already calls the kustomize target which will install it if the same not be installed already.
Then, I still not thinking that we should add it in the quickstart. The users will copy and paste the quickstart instruction, I do not think that it has any instruction that would fail because of it. However, I might be missing something. So, what instruction described in the quickstart fails for you because of it?

HI @bentito,

The docs never call for the user of the docs to issue make kustomize step

The docs never call it because ALL targets that require kustomize already calls the kustomize target which will install it if the same not be installed already.
Then, I still not thinking that we should add it in the quickstart. The users will copy and paste the quickstart instruction, I do not think that it has any instruction that would fail because of it. However, I might be missing something. So, what instruction described in the quickstart fails for you because of it?

None now. The docs showing publicly are not current. The current docs no longer use kustomize for delete. I closed the PR with suggested change because of that.

None now. The docs showing publicly are not current. The current docs no longer use kustomize for delete. I closed the PR with suggested change because of that.

Hi @bentito,
So, what would be the motivation for adding a make kustomize step to the quickstart doc.? Sorry, but it still not clear for me. What is the target that you are using which requires kustomize and is not installing it? OR what is the command/step that you did use sdk or its helpers that did not work because of that?

Hi @bentito,
So, what would be the motivation for adding a make kustomize step to the quickstart doc.? Sorry, but it still not clear for me. What is the target that you are using which requires kustomize and is not installing it? OR what is the command/step that you did use sdk or its helpers that did not work because of that?

There is none any more. The version being rendered for the docs was out of
date.
Brett Tofel

There is none any more. The version being rendered for the docs was out of
date.
Brett Tofel

Really thank you for let me know. I am closing this one so. Please, feel free to open new issues with your questions, suggestions and concern.

Really thank you for let me know. I am closing this one so. Please, feel free to open new issues with your questions, suggestions and concern.


Bug: Using a Mocked Router doesn't work

Describe the bug

I followed the docs of Using a Mocked Router but it is not working. I get this error instead:
 FAIL  src/components/pager.spec.js > Pager > Component
TypeError: Cannot read properties of undefined (reading 'query')

To Reproduce

Code to reproduce:
// Pager.vue
<script setup>
import { useRoute } from "vue-router";
const route = useRoute();
</script>
<template>
    <div>{{ route.query }}</div>
</template>

// pager.spec.js
import { describe, test, vi } from 'vitest'
import { mount } from '@vue/test-utils'
import Component from './Pager.vue'

describe('Pager', () => {
  test('Component', () => {
    const mockRoute = {
      query: {
        page: 1,
      }
    }
    const mockRouter = {
      push: vi.fn()
    }
    mount(Component, {
      global: {
        mocks: {
          $route: mockRoute,
          $router: mockRouter
        }
      },
    })
  })
})

Expected behavior

Expected the test to run without errors.
Related information:

@vue/test-utils version: 2.0.2
Vue version: 3.2.37
node version: v17.2.0
npm (or yarn) version: 8.1.4

@HassanAlgoz If you use the composition API, you need to follow this part of the docs
https://test-utils.vuejs.org/guide/advanced/vue-router.html#using-a-mocked-router-with-composition-api
You can also check https://github.com/posva/vue-router-mock which we mention in the docs. It's what I personally use, and it's great
I'm going to close the issue as this should solve your problem. Feel free to ping me with a repro (you can use https://stackblitz.com/edit/vitest-dev-vitest-2mah1p?file=package.json&initialPath=vitest to build one online in a few minutes)


Googles v1 Downgrade 608 to 606

Hi, I'm trying to downgrade the googles v1 from version 608 to version 606, I follow the procedure correctly, but once the firmware flash is finished, I still have version 608 on the googles.
Any suggestions ? Thanks in advance
could this be the problem?

could this be the problem?

Hi,
I have the same problem. Did you find a solution please?
Regards.

Hi, I have the same problem. Did you find a solution please? Regards.

I never tried again

Ignore the recovery partition error, it is not a problem.
It's normal for the reported FW version not to change when flashing with butter. Given the screenshot above I can safely say the downgrade actually succeeded and you can proceed to root on https://fpv.wtf.
Closing, but please re-open if you can't actually root.


Rolling to QT6 and Ubuntu 20.04 LTS

Updating QT to version 6, and Ubuntu to 20.04.
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Done by #116


Add fuzzing to low level parsers.

It would be nice to add a fuzzer or two for the low level parsers. Those will need to be rock solid. We've got these in other projects that are ran continiously
https://github.com/moov-io/ach/tree/master/test/fuzz-reader
Originally posted by @adamdecaf in https://github.com/moov-io/iso8583/issues/20#issuecomment-735941002

https://github.com/moov-io/iso8583/pull/28


Update RxJava and fix deprecations

Should close #13
I synchronized versioning with RxJava but maybe it's not what you want. Let me know if this needs the correction.

Would you mind not tracking rxjava? I don't want to give the impression that we are.

No problem! Done.

Thanks for your help on this!


Small clarification

This page is very helpful, thank you! My suggestion would be to change this line slightly:
CLUSTER_RESOURCE_GROUP=$(az aks show --resource-group myResourceGroup --name myAKSCluster --query nodeResourceGroup -o tsv)
so that it is more clear to slow-witted people like myself that we should replace 'myResourceGroup' and 'myAKSCluster' but leave 'nodeResourceGroup'.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3b81a147-db1c-b92f-88d1-6dd0991a72fe
Version Independent ID: f5a2c949-498f-5848-d89c-031d1a757120
Content: SSH into Azure Kubernetes Service (AKS) cluster nodes
Content Source: articles/aks/ssh.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@sirdank thanks for the feedback! I agree we could make that more clear. I have updated the doc to reflect your suggestion. Once the PR merges the changes will go live after a few hours.


Add discussion label to exemptLabels for StaleBot

I've added "discussion" label to the exemptLabels, which just prevents StaleBot from closing/making it stale. Discussions tend to be long and most of the time we reopen them by ourselves whenever StaleBot is taking action. Thus, I figured we could automate it 😄

Awesome 🙌 Good idea
Sent with GitHawk

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1577   +/-   ##
=======================================
  Coverage   87.82%   87.82%
=======================================
  Files           5        5
  Lines         156      156
=======================================
  Hits          137      137
  Misses         19       19

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 561a86c...4521461. Read the comment docs.


Fixed reconnect=False, broken by 5469ca1b

Sorry, I broke reconnect=False parameter of Connections by my previous commit c64c8101d9d5467d7e6b50619be94b069c290c6a
It turns out that continueTrying is overloaded to implement one-shot connections and for them it is always False.
Sorry :(

Took courage to merge this by myself because it seems urgent to me: broken 1.4 version was released :-(

@fiorix Could you please upload fixed 1.4.1 to PyPI?

Done!

Thanks!


TestDB_BulkInsertDelete sometimes fails

Hi!
As reported in Debian bug #834959, tests are failing around 8% of the time, due to TestDB_BulkInsertDelete panicking with:
	db_test.go:2826: too many uncompacted tables: 11 (7,4)

I guess the table compaction happens asynchronously, and so this might be related to CPU contention, but I don't know this well enough to be sure. Could somebody take a look?
Full build logs at https://people.debian.org/~sanvila/build-logs/golang-goleveldb/
Thanks!

Will look into this. Thanks!

Any update?


Fixes issue with broken scope parameters

Coinbase's API seems to require scope at end of query, and requires literal "+" instead of url-encoded "%2B"
@fabioberger thanks for a great tutorial btw!

Yup! This is an inconsistency in the Coinbase API, I've gone ahead and notified them of it and have merged this PR to fix the OAuth! Thanks for the contribution!

After speaking with Coinbase, it turns out the delimiter between scopes is supposed to be spaces which encode into either "+" or "%20", and so I've updated the library accordingly! This change is fully backwards compatible.


Authentication isn't saved though login is successful

I'm in the addon-settings. Status shows "Requires authentication".
When I click on "Authenticate", the following happens:

A popup browser-window for "https://howlongtobeat.com/login" appears.
I enter my credentials and click "I am human"
A (really annyoing) captcha overlay appears, which I solve ("I am human" gets a green checkmark)
I click "login"
The browser-popup changes to URL "https://howlongtobeat.com/user/MyUserName" and shows my profile
I can browse my profile or do whatever, the popup does not close automatically
Once I close the browser I get back to the Addon's settings, status is still "Requires authentication"

Expected: After login, the browser-window should close and status should change to "authenticated".
Alternatively, after login and manually closing the browser-window status should change to "authenticated".
System: Windows 10
Addon-Version: 2.10.2
Playnite Version: 9.19 (same behaviour with 9.18)

I no longer maintain the 2.x branch for Playnite 9.

Issue is resolved, problem doesn't occur anymore since some time. Sorry, I forgot about this ticket.


Adapt to Android gradle plugin 1.5.0

This fixes #74.
Now tests can be run.
But I'm personally still facing with https://github.com/square/spoon/issues/302

Playing with sdk/emulator configuration on travis...

Continuous Integration server should be updated as Build Tools are out of date. You guys could use the sdk-manager-plugin from Jake Wharton to perform automatic updates.

Hi @roman-mazur
i created a bug report on the google tools: https://code.google.com/p/android/issues/detail?id=195998

Thanks @x2on. I appreciate this.

Hi @roman-mazur ,
i found a workaround for the gradle-1.5.0 plugin:
https://github.com/x2on/gradle-spoon-plugin/commit/724bf4993d6eca48276d393771df7e73b5d68c9b
Perhaps its also helpfull for your plugin.

Now i found the real root cause.
For gradle plugin 1.5.0 you could use this workaround in your build.gradle:
// Workaround for Multidex bug in gradle-android-plugin
// Replace Multidex dependency with some dummy dependency to avoid dex problems
// @see https://code.google.com/p/android/issues/detail?id=194609
project.getConfigurations().all { config ->
    if (config.name.contains("AndroidTest")) {
        config.resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            if (details.requested.name == "multidex") {
                details.useTarget("de.felixschulze.teamcity:teamcity-status-message-helper:1.2")
            }
        }
    }
}

a) when is this PR going to get merged and released?
b) Anyone tested with gradle 2.0.0-alpha2?
c) @x2on : I could not get that workaround to work. Can you tell me a bit about what the code is supposed to do and why it would solve the problem? Also are there any side effects?

@Nilzor for me the problem was when using multidex. during a dependency bug in the gradle-android-plugin-1.5.0 the test app didn't start. With exchanging the multiple dependency with some dummy jar it works here.

Ok got it. Anyway I'm trying to build this branch myself instead. First I got

Cannot find spoon-runner in dependencies

when executing spoon on my app with my own build of this branch. So I added  androidTestCompile 'com.squareup.spoon:spoon-runner:1.2.1' but then it complained about gson version conflict so I changed it to
androidTestCompile ('com.squareup.spoon:spoon-runner:1.2.1') {
    exclude module: 'gson'
}

..but now I'm getting
	File1: C:\Users\nilzo.DESKTOP-DS214RV\.gradle\caches\modules-2\files-2.1\com.android.tools.ddms\ddmlib\24.5.0\d45670b5511da60d2939a1eece4c7c4407fee95b\ddmlib-24.5.0.jar
	File2: C:\Users\nilzo.DESKTOP-DS214RV\.gradle\caches\modules-2\files-2.1\com.android.tools\common\24.5.0\55436737b893bac95c978b184dd35c76002d2eef\common-24.5.0.jar
	File3: C:\Users\nilzo.DESKTOP-DS214RV\.gradle\caches\modules-2\files-2.1\com.android.tools\annotations\24.5.0\7f2bcdf40b008f15481324327b7f9e377b0b1697\annotations-24.5.0.jar```

Any tips on getting past this? Our whole CI system is currently down... Starting to regret depending on spoon.

Still cannot get this working on API 23 emulator on Travis (even with spoon runner 1.3.0 which should grant external storage permissions). But I will merge this. If somebody can test a new snapshot and tell if it works, I will release to Maven Central.

See 1.0.4-SNAPSHOT: https://oss.sonatype.org/content/repositories/snapshots/com/stanfy/spoon/spoon-gradle-plugin/1.0.4-SNAPSHOT/

Just tried 1.0.4-SNAPSHOT. It works, but I had to specify spoon {adbTimeout = 30}, otherwise Spoon quits immediately.

1.0.4 is promoted to Maven Central


Cannot load resource documentation

I set up django-rest-swagger as specified in the README. When I navigate to my api root in the django-rest-swagger interface, I get a loading prompt saying fetching resource list: http://localhost:8000/rs/ that remains indefinitely.
I have not been able to get it to work, so I have to revert to django-rest-docs for now.
Any idea why this might be happening?

We are running into a problem where we are attempting to use override our JSON renderer in order to make the output match the JSON API spec. We are using https://github.com/django-json-api/django-rest-framework-json-api, but any new JSON renderer will run into the same problem.
#46, or something similar, looks like the right kind of solution for this as we need to use a different default JSON renderer in order to make this work. We'll be happy to make a PR with the proper solution, but I thought I'd mention in case there was a reason not to go with #46 aside from the fact that it seemed unnecessary at the time.


[kiali] update the simplified addon gen.sh script to use the new kiali v1.18

This updates the new simplified gen.sh script so it uses Kiali v1.18.
cc @howardjohn
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

In response to a cherrypick label: new pull request created: #23736


Proposal: API for Registering Custom Arrow Types

Hi @agnor99,
I found the mod extremely useful while developing the dynamic Bow and arrow system in my mod, Forgero. During integration, I've found it necessary to directly implement some parts of your code due to some minor incompatibilities in the load order in the 1.19.2 branch, which is where I am currently developing, but it seems like you fixed this in the recent 1.20 branch.
Ideally I would like to rely on your mod for rendering my arrows as sprites, but that's not possible on my end right now. I think an API to allow custom arrow types registration would be beneficial, making it easier for other mods to interface with yours.
Here's an implementation proposal:
public class ArrowSpritesAPI {
    private static final Set<EntityType<? extends AbstractArrow>> customArrows = new HashSet<>();

    public static void registerCustomArrowType(EntityType<? extends AbstractArrow> entityType) {
        customArrows.add(entityType);
    }

    public static Set<EntityType<? extends AbstractArrow>> getCustomArrows() {
        return customArrows;
    }
}

Which could be used here:
public static void replace() {
    Minecraft instance = Minecraft.getInstance();
    List<EntityType<?>> replaceable = new ArrayList<>();
    EntityRendererProvider.Context ctx = new EntityRendererProvider.Context(instance.getEntityRenderDispatcher(), instance.getItemRenderer(), instance.getBlockRenderer(), null, instance.getResourceManager(), new EntityModelSet(), instance.font);
    for (var entry : EntityRenderers.PROVIDERS.entrySet()) {
        try {
            if (entry.getKey() == EntityType.TRIDENT || entry.getValue().create(ctx) instanceof ArrowRenderer<?> || ArrowSpritesAPI.getCustomArrows().contains(entry.getKey())) {
                replaceable.add(entry.getKey());
            }
        } catch (Exception | NoClassDefFoundError ignored) {
        }
    }
    for (EntityType type: replaceable) {
        EntityRenderers.PROVIDERS.put(type, provide());
    }
}

Which can be used by me like so:
ArrowSpritesAPI.registerCustomArrowType(MyModEntities.MY_CUSTOM_ARROW);

Great mod btw! This is just a suggestion, so if you had other plans for an API, go ahead!

thanks for enjoying this mod. However, this wouldn't work, as, in 1.19.2 this code could have run if my mod runs first. With 1.20 this code wouldn't do anything, as I greedily replace all entity renderers that are some form of arrows, so this wouldn't make sense. I want to change the load order thing for fabric for 1.19 too, but didn't get to it yet

and to replace arrows, that don't use arrow renderers, I would much rather have a fabric client tag and on forge config option

thanks for enjoying this mod. However, this wouldn't work, as, in 1.19.2 this code could have run if my mod runs first. With 1.20 this code wouldn't do anything, as I greedily replace all entity renderers that are some form of arrows, so this wouldn't make sense. I want to change the load order thing for fabric for 1.19 too, but didn't get to it yet

Alright, sounds good!


Fern Rock Transportation Center misspelled on Warminster Line Outbound

Fern Rock displayed as:
FERN ROCK TTRANSPORTATION CTR.
Should be:
FERN ROCK TRANSPORTATION CTR.

Fixed this and one other copy issue in with commit 7d9502d


r2d2 Connection Pool

hey @tupshin I wonder if I could get some help I have implemented r2d2 connection pool for this crate. In the final step I need to fix
error: cannot borrow immutable field `self.cluster` as mutable
  --> src/lib.rs:54:9
   |
54 |         self.cluster.connect().map_err(Error::Other)
   |         ^^^^^^^^^^^^

error: aborting due to previous error

Since Rust does not have mutable fields maybe you could suggest any workaround ?
extern crate r2d2;
extern crate cassandra;
use std::error;
use std::error::Error as _StdError;
use std::fmt;

#[derive(Debug)]
pub enum Error {Other(cassandra::CassError)
}

impl error::Error for Error {
    fn description(&self) -> &str {
        match *self {
            Error::Other(ref err) => err.description()
        }
    }

    fn cause(&self) -> Option<&error::Error> {
        match *self {
            Error::Other(ref err) => err.cause()
        }
    }
}

impl fmt::Display for Error {
    fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
        match self.cause() {
            Some(cause) => write!(fmt, "{}: {}", self.description(), cause),
            None => write!(fmt, "{}", self.description())
        }
    }
}

pub struct CassandraConnectionManager {
    cluster: cassandra::Cluster
}

impl CassandraConnectionManager {
    /// Creates a new `CassandraConnectionManager`.
    pub fn new(cluster: cassandra::Cluster) -> CassandraConnectionManager {
        CassandraConnectionManager {
            cluster: cluster
        }
    }
}

impl r2d2::ManageConnection for CassandraConnectionManager {
    type Connection = cassandra::Session;
    type Error = Error;

    fn connect(&self) -> Result<cassandra::Session, Error> {
        // self.cluster.borrow_mut().connect()
        // self.cluster.connect().map_err(Error::Other)
        self.cluster.connect().map_err(Error::Other)
    }

    fn is_valid(&self, conn: &mut cassandra::Session) -> Result<(), Error> {
        // conn.execute(&'static"SELECT keyspace_name FROM system.schema_keyspaces;").wait().map(|_| () )
        Ok(())
    }

    fn has_broken(&self, _conn: &mut cassandra::Session) -> bool {
        false
    }
}

Sorry, just looking at this for this first time, and not sure what the problem is. I took your code, removed the "extern crate r2d2;", and it compiles just fine. Am I missing something?


Update context.md - add log

In the future, maybe we can reword this doc to either fully use you/your or developer. We're mixing the two right now, which reads a little awkwardly. Doesn't have to happen in this PR.
Once the below is addressed, I can approve.

Yes, you're right. Let me do a review and adjust the content accordingly.


Properly support array image path in new details response

Relating to #150
New photo details response serves an array instead of one path. Temporary fix was to simply use the first one if present. Need to support them all

Should also allow multiple local paths to be displayed in details now that we allow multiple folders to contribute to the feed thus increasing the chances of having the same media item in more than one location


Disambiguation of parentheses

The closing parenthesis pair at the end were confusing. Hoping this makes things clearer. No side effects on code as only comment understanding is improved.

CLA signed


implement GridOptimizationRecord.get_final_molecules()

Description

Implement GridOptimizationRecord.get_final_molecules()
Improve doc strings for GridOptimizationRecord and TorsionDriveRecord

Status

[ ] Changelog updated
[x] Ready to go

Thanks for the PR! We will be pretty busy at ACS, but will get back to this April 8th. Sorry for the delay.

Can you rebase this? Should be fine now.


Documentation on setting up certificates in docker engine should not have been removed

Critical documentation for certificate setup was removed in https://github.com/docker/docker/pull/15458. This is part of the engine and critical to correct registry setup. The procedure is not covered in registry documentation, as it is a daemon feature.
We are getting issues like https://github.com/docker/distribution/issues/1371 that should be covered by this document.

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO


Improved auto-reconnect & docstrings

Added additional logic in the reader loop for better handling of closed connections.
Added docstrings.
ConnectionReset can also occur on read() (it's more common actually), so an extra try/except block has been added there.

Need to fix something


Animate: isMounted is deprecated

Animate: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.

Fixed in 2.3.6


Tylors/feat/c181 ident uat 4 1 switch between connect and signin

Manditory Checks

[x] I added new tests for the issue I fixed or the feature I built
[x] I ran npm test for the package I'm modifying
[x] I used npm run commit instead of git commit

Allows switching from connectc and signin routes

 IDENT/UAT 4.1: Switch between connect and signin


Create IT Strategy Navigation menu plan

Rebuild Website navigation menu

https://coggle.it/diagram/XnpI9eMesASKd7b5/t/home-page


Files get skipped, repository or object not found.

Upon pushing to a remote, LFS skipped all of my files:
Git LFS: (16 of 11213 files, 11205 skipped) 1.22 MB / 1.42 GB, 1019.20 MB skipped
And then stops with the following error:
Repository or object not found: Check that it exists and that you have proper access to it

I'm now blocked from pushing to the repository. Any idea what's going on?

Skipped files means the server already has it, and you don't need to upload it again. I need more details to troubleshoot this though:

What version of LFS are you on? (run git lfs env)
Where is your git repository hosted?
What is the object that's missing?

The easiest way to find this is by running:
$ git remote -v
$ GIT_TRACE=1 git push ....

If this is for a GitHub repository, you can send me the details privately to https://github.com/contact. If it's hosted elsewhere, you may be better off contacting their support. If you're just completely stuck, you can add the output to this issue, or send it to me privately, and I'll do my best.

That makes sense, but why is it treated like an error? I'm using SmartGit and SourceTree and both stop the push when the files get ignored and print it as an error. Could the issue be at the server? It's a GitLab server.
Git LFS version is 1.1.2 but I'm not sure if SourceTree uses the locally installed version or it's own. There are thousands of skipped objects. I guess it's due to an aborted push earlier, but I still don't understand why it doesn't just ignore the warnings and keep pushing..
I'm not completely stuck as we still have the repository at Perforce left. The reason we tried to move to GitLab is because GitHub doesn't support such a large repository and we have a lot textures and sounds. It's a shame but I understand why the limitation is there.
Thanks for your time Rick!

That makes sense, but why is it treated like an error? I'm using SmartGit and SourceTree and both stop the push when the files get ignored and print it as an error. Could the issue be at the server? It's a GitLab server.

Skipped files aren't an error. That's totally normal. I wonder if we should even show that info :) The response "Repository or object not found" has to do with an http response from the lfs server. You'll have to work with Gitlab on that. If you want to post the info that I requested, I can help nail down what specific questions to ask them.

I really appreciate the offer, thanks a lot! I managed to track this down.. we're not using HTTPS which LFS defaults to. I tried to force HTTP by issuing the following command:
git config --add lfs.url "http://host.com/group/repo.git/info/lfs/objects/batch"
And now it's pushing! :)
One question though: are you sure skipped files always mean the files exist on the server? What about when the connection is down? These files couldn't possibly have existed on the server to begin with because there was no connection?
In any case, thanks again!

Wow, you should not be using HTTP :) Glad you got it to work at least.
If the connection is down, the git pre-push hook will fail. What version of LFS were you using at the time you posted this issue? And what kind of git push is it? Is it the initial push with a bunch of refs to a brand new git and lfs server?

Just wanted to get something up and running so I can test it. =)
LFS is at 1.1.2. It's the initial push.
The push failed with a huge stacktrace:

fatal error: runtime: failed to release pages
runtime stack:
runtime.throw(0x831cc0, 0x20)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/panic.go:527 +0x7f
runtime.sysFree(0x0, 0x10000000, 0x334dfe04)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mem_windows.go:86 +0x5b
runtime.mHeap_SysAlloc(0x9dde00, 0x100000, 0x0)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/malloc.go:418 +0x4a1
runtime.mHeap_Grow(0x9dde00, 0x80, 0x0)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mheap.go:628 +0x52
runtime.mHeap_AllocSpanLocked(0x9dde00, 0x80, 0x44f9d5)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mheap.go:532 +0x574
runtime.mHeap_Alloc_m(0x9dde00, 0x80, 0x0, 0x1, 0x18e092c0)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mheap.go:425 +0x281
runtime.mHeap_Alloc.func1()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mheap.go:484 +0x3d
runtime.systemstack(0x334dff00)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_386.s:283 +0x81
runtime.mHeap_Alloc(0x9dde00, 0x80, 0x0, 0x12920101, 0x42e1bd)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mheap.go:485 +0x5a
runtime.largeAlloc(0x100000, 0x1, 0x4472c0)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/malloc.go:748 +0xa0
runtime.mallocgc.func3()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/malloc.go:637 +0x30
runtime.systemstack(0x128fca00)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_386.s:267 +0x57
runtime.mstart()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc1.go:668
goroutine 100 [running]:
runtime.systemstack_switch()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_386.s:222 fp=0x13169a68 sp=0x13169a64
runtime.mallocgc(0x100000, 0x718c20, 0x1, 0x4025c5)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/malloc.go:638 +0x77f fp=0x13169ad0 sp=0x13169a68
runtime.newarray(0x718c20, 0x100000, 0x40da7f)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/malloc.go:780 +0xbc fp=0x13169af4 sp=0x13169ad0
runtime.makeslice(0x7100e0, 0x100000, 0x0, 0x100000, 0x0, 0x0, 0x0, 0x0)
github.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/errors.go:556 +0x53 fp=0x13169b64 sp=0x13169b34
github.com/github/git-lfs/lfs.newWrappedError(0x328f0018, 0x1b071de8, 0x47d9bc80, 0xb5, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/errors.go:304 +0x13a fp=0x13169bdc sp=0x13169b64
github.com/github/git-lfs/lfs.Errorf(0x328f0018, 0x1b071de8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/errors.go:222 +0x10f fp=0x13169c28 sp=0x13169bdc
github.com/github/git-lfs/lfs.Error(0x328f0018, 0x1b071de8, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/errors.go:208 +0x4b fp=0x13169c50 sp=0x13169c28
github.com/github/git-lfs/lfs.defaultError(0x43811e00, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/client.go:645 +0x148 fp=0x13169d04 sp=0x13169c50
github.com/github/git-lfs/lfs.handleResponse(0x43811e00, 0x4aab77e0, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/client.go:600 +0xf5 fp=0x13169d3c sp=0x13169d04
github.com/github/git-lfs/lfs.doHttpRequest(0x45d1dab0, 0x4aab77e0, 0x0, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/client.go:513 +0x408 fp=0x13169dcc sp=0x13169d3c
github.com/github/git-lfs/lfs.doApiRequestWithRedirects(0x45d1dab0, 0x13169e88, 0x0, 0x4, 0x2c2edd01, 0x65d394, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/client.go:537 +0x89 fp=0x13169e44 sp=0x13169dcc
github.com/github/git-lfs/lfs.doLegacyApiRequest(0x45d1dab0, 0x13, 0x13169f08, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/client.go:413 +0x72 fp=0x13169e9c sp=0x13169e44
github.com/github/git-lfs/lfs.UploadCheck(0x1336f380, 0x79, 0x13169f9c, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/client.go:299 +0x471 fp=0x13169f48 sp=0x13169e9c
github.com/github/git-lfs/lfs.(*Uploadable).Check(0x132cc990, 0x131e8d40, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/upload_queue.go:41 +0x3d fp=0x13169f60 sp=0x13169f48
github.com/github/git-lfs/lfs.(*TransferQueue).individualApiRoutine(0x13586000, 0x131e8980)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:132 +0x73 fp=0x13169fc8 sp=0x13169f60
runtime.goexit()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_386.s:1662 +0x1 fp=0x13169fcc sp=0x13169fc8
created by github.com/github/git-lfs/lfs.(*TransferQueue).launchIndividualApiRoutines.func1
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:303 +0x5e
goroutine 1 [chan send]:
github.com/github/git-lfs/lfs.(*Batcher).Add(0x1299a4b0, 0x32d70850, 0x12c6c8a0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/batcher.go:38 +0xce
github.com/github/git-lfs/lfs.(*TransferQueue).Add(0x13586000, 0x32d70850, 0x12c6c8a0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:71 +0xba
github.com/github/git-lfs/lfs.(*TransferQueue).Wait(0x13586000)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:96 +0x1b5
github.com/github/git-lfs/commands.prePushRef(0x128f2912, 0x28, 0x128e94d0, 0x29)
/Users/rick/go/src/github.com/github/git-lfs/commands/command_pre_push.go:129 +0x46b
github.com/github/git-lfs/commands.prePushCommand(0x9d4f20, 0x128edad0, 0x2, 0x2)
/Users/rick/go/src/github.com/github/git-lfs/commands/command_pre_push.go:72 +0x36d
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).execute(0x9d4f20, 0x128ed9f0, 0x2, 0x2, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:477 +0x2d8
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).Execute(0x9d5b60, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:551 +0x44f
github.com/github/git-lfs/commands.Run()
/Users/rick/go/src/github.com/github/git-lfs/commands/commands.go:88 +0x23
main.main()
/Users/rick/go/src/github.com/github/git-lfs/git-lfs.go:34 +0x107
goroutine 5 [syscall, 50 minutes]:
os/signal.loop()
/usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:22 +0x1a
created by os/signal.init.1
/usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:28 +0x36
goroutine 28359 [chan send]:
github.com/github/git-lfs/lfs.(*Batcher).acceptInput(0x1299a4b0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/batcher.go:72 +0xee
created by github.com/github/git-lfs/lfs.(*Batcher).Add
/Users/rick/go/src/github.com/github/git-lfs/lfs/batcher.go:35 +0x9f
goroutine 9 [chan receive, 50 minutes]:
main.main.func1(0x129a5ac0, 0x128ed8f0)
/Users/rick/go/src/github.com/github/git-lfs/git-lfs.go:22 +0x49
created by main.main
/Users/rick/go/src/github.com/github/git-lfs/git-lfs.go:32 +0x102
goroutine 97 [select]:
net/http.(*persistConn).readLoop(0x128e3740)
/usr/local/Cellar/go/1.5.3/libexec/src/net/http/transport.go:976 +0x8e8
created by net/http.(*Transport).dialConn
/usr/local/Cellar/go/1.5.3/libexec/src/net/http/transport.go:685 +0xabc
goroutine 65 [chan receive]:
github.com/github/git-lfs/lfs.(*TransferQueue).errorCollector(0x13586000)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:256 +0x4a
created by github.com/github/git-lfs/lfs.(*TransferQueue).run
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:317 +0x36
goroutine 67 [chan receive, 50 minutes]:
github.com/github/git-lfs/lfs.(*TransferQueue).transferWorker(0x13586000)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:270 +0x72
created by github.com/github/git-lfs/lfs.(*TransferQueue).run
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:322 +0x127
goroutine 68 [chan receive, 50 minutes]:
github.com/github/git-lfs/lfs.(*TransferQueue).transferWorker(0x13586000)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:270 +0x72
created by github.com/github/git-lfs/lfs.(*TransferQueue).run
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:322 +0x127
goroutine 69 [chan receive, 50 minutes]:
github.com/github/git-lfs/lfs.(*TransferQueue).transferWorker(0x13586000)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:270 +0x72
created by github.com/github/git-lfs/lfs.(*TransferQueue).run
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:322 +0x127
goroutine 76 [chan receive, 50 minutes]:
github.com/github/git-lfs/lfs.(*TransferQueue).launchIndividualApiRoutines.func1(0x13586000)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:305 +0x7a
created by github.com/github/git-lfs/lfs.(*TransferQueue).launchIndividualApiRoutines
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:310 +0x32
goroutine 98 [select]:
net/http.(*persistConn).writeLoop(0x128e3740)
/usr/local/Cellar/go/1.5.3/libexec/src/net/http/transport.go:1009 +0x303
created by net/http.(*Transport).dialConn
/usr/local/Cellar/go/1.5.3/libexec/src/net/http/transport.go:686 +0xadc
goroutine 75 [chan send]:
github.com/github/git-lfs/lfs.(*TransferQueue).legacyFallback(0x13586000, 0x13568000, 0x64, 0x64)
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:181 +0x1a6
created by github.com/github/git-lfs/lfs.(*TransferQueue).batchApiRoutine
/Users/rick/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:210 +0x48b

Yikes, that looks like a memory issue on your system. How's your memory utilization while the push is running?
Initial pushes typically scan the entire history of each branch to push. Since your branches all have common ancestors. You can see this when you push by looking for multiple "Git LFS" prompts:
Git LFS: (11197 of 11197 files, 0 skipped)
Git LFS: (16 of 11213 files, 11205 skipped)
Git LFS: (0 of 11213 files, 11213 skipped)

In my completely fabricated scenario above, the same 11197 objects are being uploaded 3 times (for 3 different branches). Git LFS v1.2 has a major optimization on initial pushes here, where those duplicate objects in the same git command are ignored. The same push then might look more like:
Git LFS: (11197 of 11197 files, 0 skipped)
Git LFS: (16 of 16 files, 0 skipped)
Git LFS: (0 of 0 files, 0 skipped)

Makes sense, thanks! I guess I'm just confused why those warnings are gone after the change to HTTP. I'm happy with the additional progress though. :)
Memory is 78% free on the server and 39% free on the client. I'll try with 1.2 tomorrow incase that helps.

I'm just confused why those warnings are gone after the change to HTTP

You mean this error from your initial post?

Repository or object not found: Check that it exists and that you have proper access to it

That depends on how your server is configured. If looks like it just doesn't support LFS properly.

Memory is 78% free on the server and 39% free on the client.
Same result. Memory usage is pretty stable and never goes above 500MB.

Is that the git-lfs process, or the entire server? Can you estimate how many objects total it's processing based on the Git LFS: prompts?

It just dies and shows the runtime stack without showing any info about the objects processed.
Oh and those numbers are for the client and the server, not the individual processes.
Would love to try this out on GitHub but my repository is too large, hehe!

On BitBucket the same repository pushes just fine.

Cool, glad you found a workaround. Sorry we couldn't help you, nothing you posted points to a server side issue.


如何更改 mathjax 的样式，我想把颜色换成白色的

I agree and want to create new issue

[x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
[] Yes, I was on NexT Documentation Site.
[] And yes, I already searched for current issues and this is not help to me.

Expected behavior
Actual behavior
如何更改 mathjax 的样式，我想把颜色换成白色的
Steps to reproduce the behavior

访问我的这篇博客，背景是黑的，mathjax 默认颜色也是黑色 yuzhouwan.com

Link to demo site with this issue: N/A
Link(s) to source code or any usefull link(s): N/A

Hexo Information

NexT Information
NexT Version:

[x] Latest Master branch.
[] Latest Release version.
[] Old version -

NexT Scheme:

[x] All schemes
[] Muse
[] Mist
[] Pisces
[] Gemini

Other Information

@ivan-nginx PTAL.

奇怪，又变成白色样式了，，刚是黑色的

NexT is rebased into organization repo.
If you want new feature, fix, or support, create new in NexT v6.x repo (desirable in English).
There is instructions on English or Chinese how to update from v5.1.x to v 6.0.x
You also may read this for details.


Fixed #34285 -- Allow to do array access on filtered array aggregates

https://code.djangoproject.com/ticket/34285

@nils-van-zuijlen thanks for the patch! You'll want to submit your changes against the main branch, mergers will take care of backporting if the patch is eligibile per the backport policy. I don't think it's the case with this patch.

I don't think it's the case with this patch.

We will backport to Django 4.2 as it's at pre-release alpha status.

The point of opening this patch against 3.2 is that

The proposed fix does not work for nested int arrays and I don't know how to fix that
The tests I wrote are failing with a different exception than the one in the issue on main, so what should be done there?

The proposed fix does not work for nested int arrays and I don't know how to fix that

I think it's ok to propose a patch that doesn't work with nested arrays at first, maybe we'll be able to guide you towards a solution from there.

The tests I wrote are failing with a different exception than the one in the issue on main, so what should be done there?

It's hard to tell without seeing what the actual exception is on main but submitting a PR might also help in figuring out how to resolve the issue?

Moved to https://github.com/django/django/pull/16512


i18n:register Hook Not Triggered on Initial Load

Describe the bug
I'm encountering an issue with the nuxt-i18n-micro library when loading translations dynamically(https://s00d.github.io/nuxt-i18n-micro/api/events#🛠-modifying-translations-with-plugins). The i18n:register hook is not being triggered during the initial load of the application, but it works correctly on subsequent route changes.
To Reproduce
Steps to reproduce the behavior:

Set up a Nuxt 3 application with nuxt-i18n-micro.
Register an extend locales plugin to use the i18n:register hook to dynamically load translations.
3.Load the application in a browser.

Expected behavior
The i18n:register hook should be triggered on the initial load of the application to load the necessary translations.
Actual Behavior:
The i18n:register hook is only triggered during route changes, not during the initial load.
Desktop (please complete the following information):

OS: MacOs
Browser: chrome
Version 1.32.4

Additional context
The issue appeared after upgrading nuxt-i18n-micro from version ^1.31.2 to ^1.32.4.

fixed, try v1.34.1
example
https://github.com/s00d/nuxt-i18n-micro/blob/57d0a2b72d9dc6213f8cf06f29c348ab80419244/playground/plugins/03.myPlugin.ts#L10
https://github.com/s00d/nuxt-i18n-micro/blob/57d0a2b72d9dc6213f8cf06f29c348ab80419244/playground/pages/index.vue#L4


documentation error fixing

fix AboutUs.md broken image
fix add command sample in UG

Codecov Report

Merging #60 (12396e9) into master (204cce4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #60   +/-   ##
=========================================
  Coverage     65.61%   65.61%
  Complexity      418      418
=========================================
  Files            79       79
  Lines          1518     1518
  Branches        169      169
=========================================
  Hits            996      996
  Misses          469      469
  Partials         53       53

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 204cce4...12396e9. Read the comment docs.


Generated pyproject.toml is invalid

The error is shown in VS Code from the linter.

Additional properties are not allowed ('ellar' was unexpected)Even Better TOML

The file is parseable:
In [1]: from tomlkit import parse

In [2]: foo="""
   ...: [ellar]
   ...: default = "new_project"
   ...: """

In [3]: parse(foo)
Out[3]: {'ellar': {'default': 'new_project'}}

but trying with validate-pyproject the error again.
$ validate-pyproject pyproject.toml
Invalid file: pyproject.toml
[ERROR] `data` must not contain {'ellar'} properties

Not sure if it's a real problem, though ellar-cli relies on this nomenclature in pyproject.toml to handle the multi-project if I'm not mistaken.

Yes @paolodina you are right. The EllarCLI depends on pyproject.toml to handle multiple-projects.
On the linting error, I am using the tomlkit package to write to project.toml file but I will take a look at it to know why it's showing errors on VS code cause it doesn't show on pycharm.

I will also use this validate-pyproject to ensure everything works fine

@paolodina Can you close this if the latest update fixes the issue?

Of course @eadwinCode, I read the patch when you did it but forgot to close the issue.


app.get("*"... shows no effect

Hello.
Even though I have this line of code in my express file:
app.get('*', function (req, res) {   res.sendFile(publicPath, "index.html") })
the side responds on a refresh of the page with:
Cannot GET .../foo.
I don't understand it and had a professional already looking into it. He couldn't understand why this happens as well. So i'm assuming it's a bug??
Here a link to the repository:
https://github.com/Java-Jonas/problem-with-react-router
Help is very appreciated. Thanks :)

Check that you're requesting from the right server..../foo isn't a valid path, so that might be the issue too.

/foo was just an example, i tried to not confuse anyone. What do you mean "requesting from the right server"? can you give me more information on that? :/

This isn't a React Router issue. You aren't correctly concatenating the filename. http://expressjs.com/en/api.html#res.sendFile


Updating the S3 Paths for the Jupyter Plugin

IHAC who is using the Jupyter Plugin in Sagemaker Studio. It is a great plugin, but in the documentation there is a gap for us that I wasn't able to easily figure out in the source code:
Is there a way to change the input/output buckets using the Jupyter Plugin? It seems to use a default Sagemaker bucket. Instead I'd like to scope it to a specific bucket and prefix. Let me know if this is possible.
Cheers!

Yeah, you can change the code in upload_fileobj()(here) to specify whatever bucket and prefix you would like.


Convert Vector to LocalVector in animation system

Implement godotengine/godot-proposals#10594
convert all Vector I found in animation_tree.h and animation_blend_tree.h except:

connections : they involve a copy which may benifit from COW
get_editable_animation_list : seems like an interface

Tested with godot-benchmark, no noticeable performance change. Is this change acceptable as a codestyle improvement?
Build with scons target=template_release production=yes, run with .\godot.windows.template_release.x86_64.console.exe .\godot-benchmarks\project.godot -- --run-benchmarks --include-benchmarks="animation/animated_models/*"
Test Result:
Master Branch:
{"engine":{"version":"v4.4.dev.custom_build","version_hash":"e3213aaef5e0e72b8272e65d989d3d8222be17ca"},"system":{"cpu_architecture":"x86_64","cpu_name":"12th Gen Intel(R) Core(TM) i5-12400","os":"Windows","cpu_count":12}}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.455,"render_gpu":64.95,"time":0.036}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.371,"render_gpu":64.87,"time":0.017}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.462,"render_gpu":64.97,"time":0.023}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.378,"render_gpu":64.82,"time":0.014}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.457,"render_gpu":65.08,"time":0.023}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.313,"render_gpu":64.85,"time":0.017}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.451,"render_gpu":65.03,"time":0.032}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.358,"render_gpu":64.81,"time":0.015}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.482,"render_gpu":64.93,"time":0.026}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.369,"render_gpu":64.82,"time":0.016}}]}

This PR:
{"engine":{"version_hash":"5d3d68dd405a13a4de63b8c39c000fc67bb5dea8","version":"v4.4.dev.custom_build"},"system":{"os":"Windows","cpu_count":12,"cpu_name":"12th Gen Intel(R) Core(TM) i5-12400","cpu_architecture":"x86_64"}}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.599,"render_gpu":65.46,"time":0.028}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.37,"render_gpu":65.55,"time":0.016}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.562,"render_gpu":65.04,"time":0.022}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.434,"render_gpu":64.74,"time":0.026}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.562,"render_gpu":66.36,"time":0.024}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.427,"render_gpu":64.78,"time":0.029}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.236,"render_gpu":63.03,"time":0.023}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.425,"render_gpu":62.2,"time":0.017}}]}
{"benchmarks":[{"name":"Animation Blend Tree 100","category":"Animation > Animated Models","results":{"render_cpu":6.927,"render_gpu":65.25,"time":0.025}},{"name":"Animation State Machine 1000","category":"Animation > Animated Models","results":{"render_cpu":6.874,"render_gpu":65.07,"time":0.017}}]}

# Animation Blend Tree 100 is changed to Animation Blend Tree 1000 because it takes too little time

oops, I forget to check dev_mode, now tested locally.

I didn't see any major problems, but I haven't tested.

Is this PR still needed? It has been no feedback for several months. I'm going to close this if no body want.

Thanks!