Ballistic scrolling broken if there are items with different heights

Demonstration:
Code to reproduce: main.dart.zip
The problem, as far as I can tell, is caused by RenderSliverList max scroll offset estimation changes during scrolling resulting in ScrollPosition.applyContentDimensions triggering unnecessary new ballistic activities.
Btw. Flutter Gallery License View seems to suffer from same issue.
[✓] Flutter (Channel master, v0.11.10-pre.3, on Mac OS X 10.14 18A389, locale en-US)
    • Flutter version 0.11.10-pre.3 at /Users/Matej/Projects/flutter/flutter
    • Framework revision 06e4ccc9a9 (8 hours ago), 2018-11-25 04:55:23 -0500
    • Engine revision 99e73d8c64
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[!] IntelliJ IDEA Community Edition (version 2018.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

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

[✓] Connected device (2 available)
    • Matej’s iPhone X • f7e7ead1f9b5f3e2574cfbd9bc264fbcd5772a6c • ios • iOS 12.1
    • iPhone 5s        • 824BB8C4-B563-40E4-9632-B8393A91C531     • ios • iOS 12.1 (simulator)

The stack layout from #11599 seems relevant. goBallistic calls are triggered every time viewport size estimation chages (which is frequent with uneven rows) and each goBallistic call brings scrolling to premature stop.

Persists with de v1.16.4-pre.33

Persists with current master 1.21.0-6.0.pre.38

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-6.0.pre.38, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.38 at /Users/nevercode/dev/flutter
    • Framework revision 8e0eee9008 (5 hours ago), 2020-07-26 23:38:01 -0700
    • Engine revision 626244a72c
    • Dart version 2.9.0 (build 2.9.0-21.0.dev a3815b6590)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

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

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

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

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

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

[✓] Connected device (5 available)
    • Redmi Note 7 (mobile)       • 6345c469                                 • android-arm64  • Android 9 (API 28)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 13.6
    • macOS (desktop)             • macos                                    • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)            • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

I'm not sure how useful it is, but I've been using this approach to fix it for a while. Might not be perfect but it works much better than the default behavior.

Do we need to restart the ballistic scroll at all when the dimensions change?

I think this particular bug was fixed by https://github.com/flutter/flutter/pull/59623, I cannot longer reproduce it. The fix in this PR seems to be more a workaround of a bug in #11599, but it works out.


[Feature/Merge]

Merge two TXYZ system with two different forcefield

https://github.com/WanluLigroupUCSD/TinkerModellor/pull/9
Has been achieved!


Error with Trailer parks mod (by Kettle Swordfang)

Name the mod
Trailer Parks
Describe the bug
The error pops up as you start a new world GOING INTO the character creation menu.
Solution
I have no idea... lol Im a mechanical engineer and an IT guy in training. i don't know much about coding, but i have fiddled with Python for a little bit.
Additional context
If doing this helps to finalize the mod pack(as a guy just looking for errors) let me know.
Here's a photo:

you just have to remove the every extra "//" in every entry of code {  }

actually im wrong add a number after ever // going up "//1": "blah blah" "//2": "blah blah" ecta or add "note": "blah blah"


How to get the annotation format mentioned in the README.md?

we can use labelImg tool to generate xml annotation files, but how to get the annotation file mentioned in the README.md :
path/to/img1.jpg 150,200,130,250,0 110,250,165,145,1
can anybody teach me the method , thanks a lot......

You need to make a python script to convert  image path and label from xml to yolo-keras format.

I added one script to do this. here
python convert_voc_annotation.py -t .\data\Annotations -i .\data\JPEGImages
it outputs train.txt which contains the required annotations.
if you are not using voc dataset, you need to change those class names in the code.
e.g. "aeroplane", "bicycle" etc...

I added one script to do this. here
python convert_voc_annotation.py -t .\data\Annotations -i .\data\JPEGImages
give it folder path to xml files and images.
it outputs train.txt which contains the required annotations.
if you are not using voc dataset, you need to change those class names in the code.
e.g. "aeroplane", "bicycle" etc...

Thanks for your script, it's very helpful for me

I added one script to do this. here
python convert_voc_annotation.py -t .\data\Annotations -i .\data\JPEGImages
give it folder path to xml files and images.
it outputs train.txt which contains the required annotations.
if you are not using voc dataset, you need to change those class names in the code.
e.g. "aeroplane", "bicycle" etc...

Thank you for sharing your script, it's helpful @bluesy7585

You need to make a python script to convert image path and label from xml to yolo-keras format.

Thanks a lot @yuki4ghub15

I added one script to do this. here
python convert_voc_annotation.py -t .\data\Annotations -i .\data\JPEGImages
give it folder path to xml files and images.
it outputs train.txt which contains the required annotations.
if you are not using voc dataset, you need to change those class names in the code.
e.g. "aeroplane", "bicycle" etc...

Nice. Could you please tell me how much the line number of  trian_annotation.txt?

I have made a text file for the anchor boxes which looks like this:
C:\path\00000002.jpg 0.33999999999999997,0.6900000000000001,0.7225,0.26,1 0.7775,0.40249999999999997,0.91,0.265,1 0.68,0.97,0.84,0.8025,1
..
(path x1,y1,x2,y2,class)
I have made it by myself with converting the form from txt file which was like this:
(class x y width height)
*Used a different annotator
Now when I try to run the train.py and put the path to my txt file for my anchors, classes,the path to my foldaer with the photos and the output folder its gives me ERROR :
Using TensorFlow backend.
2019-11-13 08:17:06.054804: I C:\tf_jenkins\workspace\rel-win\M\windows\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
.................................
Traceback (most recent call last):
File "train.py", line 190, in
_main()
File "train.py", line 42, in _main
with open(annotation_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'train.txt'
What should I do ?

Just replace train.txt with the path to the annotation file...


Missing file test_graph.mpc

Hello :)
I have read your paper and wanted to try out your implementation of Dijkstra's algorithm. The README mentions a test_graph.mpc file, however, it seems to be missing in this repository. Could you please point me into a direction on where to find this file if you have released it? I'd be glad to hear from you!
Best regards, Juri

Hi Juri!
Thanks for the interest. You can try it out! Indeed now that I check is missing. Let me check and come back to you. In the meantime you can use it by invoking the main dijkstra function with a new he adjacency matrix as input and the source vertex

On my fork of your project, I ported the algorithm to run on MP-SPDZ, as I was unable to get SCALE-MAMBA to run. See this file: https://github.com/gutjuri/mpc_graph_theory_lib/blob/main/mpc_graph.py
I have run an experiment using the following graph:
flowchart LR
    0 -- 1 --- 1
    0 -- 3 --- 2
    1 -- 1 --- 3
    2 -- 1 --- 3
    2 -- 4 --- 4
    3 -- 50 --- 4

When picking vertex 0 as the source, the algorithm runs in about 426ms (using MP-SPDZ's semi-party (semi-honest with dishonest majority, see https://mp-spdz.readthedocs.io/en/latest/readme.html?highlight=shamir#secret-sharing) and two parties).
This is worse than in your paper. I still need to investigate why this is the case.
Could you share the graphs that you used when performing benchmarks? I would love to use those to optimise my MP-SPDZ implementation in order to reach the performance of your algorithm.
Also, I would like to ask you how you conducted the experiments as a 3-party computation as described in your paper? From my understanding, one computation party holds the (secret) source vertex label, and the other party holds the (secret) graph weights. Is this correct? What is the role of the third party?
Best, Juri


[raymath] Parameter names collide with windows.h macros

Issue description
I'm using raymath as a standalone math library without the rest of raylib.
windows.h defines "near" and "far" macros that collide with the parameter names of MatrixPerspective and MatrixOrtho. This causes confusing compiler errors if you include windows.h before raymath.h. It would be great if these parameters were to be renamed so you don't have to rely on header include order or undefs to avoid this.
Environment
Windows 10, 2022 MSVC compiler.

I'm usually very reticent with the infamous windows.h collisions but in this case I will review those parameters names in raymath.h.


Add undergrad index part 1

Connected to #43

Closing in favor of https://github.com/pulibrary/static-tables/pull/136


fix: correcting object overwrites

Without the added check, the object being created is continuously overwriting previous values.  Specifically, the case that the object exits (the language) from a previous repo, then...a matching object (language) is found in another repo but does not meet the percentage requirement.

thx for the assist on the title :)

No problem, I should probably add a CONTRIBUTING.md to this :octocat:


[GHSA-45x7-px36-x8w8] Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin

Updates

Affected products

Comments
https://github.com/paramiko/paramiko/issues/2337#issuecomment-1880185735
https://github.com/paramiko/paramiko/issues/2337#issuecomment-1887642773

Hi there @TrueSkrillor and @Eugeny! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


Update to latest Nessus version

🚀 Feature Proposal
We are currently installing Nessus 8.2.3 and we should be installing the newest available version of Nessus (currently 8.5.1).
Motivation
Newer versions of things are always better, right? ;)
Pitch
We mainly want all of the bug fixes, but new features are nice too.

This issue has been closed by #6 - thanks @mcdonnnj for getting us up to Nessus 8.7.1!


Add rtclocaltime="NO" to the rc.conf using node_init.sh

It appears  that VMs reset the time/date settings on every hoster reboot, and before they can contact an external NTP server to update the time. rtclocaltime="NO" in rc.conf should help with resolving this.
Bug only happens if you are outside of GMT+0 time zone due to hardcoded TZ settings within public VM images (there is no easy way to implement a dynamic TZ setting, so I have to leave it as is on the image side of things). Thank you @leyoda for reporting it :)

The change has been implemented


Rewrite Error Messages

I didn't put a bunch of effort into the error messages, so I think they should all be looked at and potentially rewritten to add more context and guidance. Maybe some should link to the docs. Maybe some should include docs. Maybe some should suggest asking for help in the Discord. I'm not sure what would work best, but I'm sure that what's in the template now has room for improvement.

To be clear, this is just about rewriting the strings, not refactoring the code.
The goal is that someone encountering an error should be able to figure out what they need to do to make the error go away, instead of needing to copy paste the error into discord to ask for help

[ ] Should not reference LoadCommand


suppress exception from onShutdown if doWork threw

if doWork or onStartup in CommandLineProgram throw an exception then suppress any exception throw in onShutdown
fixes #528

@vruano Please review.

@lbergelson can you propose a solution?

Closing this for now.  Will resurrect when ready to put time into it.

Why close it?

It's been sitting forever and I haven't gotten back to it.  When I get back to it I'll reopen.  It's just cluttering up the page for now.

I would label it a low_priority, I think close it is the same as sentence it to be forgotten into the limbo. There is 219 open issues so I don't see what damage an extra one can do.

I'm just closing the pull request, no the issue.

Ahh! sorry, though was the issue.


unigned-signatures: incorrect merge proposal of optional parameters

Bug Report

TSLint version: 3.4.1
TypeScript version: 2.5.1
Running TSLint via: VSCode

TypeScript code being linted
function test(): void;
function test(a: number): void;
function test(a?: number): void {}

Actual behavior
'These overloads can be combined into one signature with an optional parameter. (unified-signatures)'
at: '2,15'
'These overloads can be combined into one signature with an optional parameter. (unified-signatures)'
at: '3,15'  --> due to #2016.
Expected behavior
The 2 signatures are not mergeable because test(a?: number): void allows test(undefined) whereas the given code doesn't with --strictNullChecks.

If it didn't warn in this situation the rule wouldn't do much at all. Do you really need to prevent people from calling test(undefined) exactly? The example with overloads will also prevent test(Math.random() > 0.5 ? 1 : undefined);, but that would presumably work at runtime, so why not allow it?

My case is a bit more complex (more parameters, so combinations) than the simplest test case I provided to show the issue.
And yes I want to prevent calling test(undefined).
To me:
function test(a: number): void;
function test(a: string): void;

can indeed be merged to function test(a: number | string): void. So this rules applies here.
But to me this rule shouldn't consider that no parameter (test()) is equivalent to an optional parameter.
Maybe this can be controlled through an option?

Maybe -- the rule does have separate checking for signaturesDifferBySingleParameter and signaturesDifferByOptionalOrRestParameter.  I just don't understand why you need to define a function that could take 0 or 1 arguments, but can't take an optional argument. Seems to needlessly make people replace f(arg) with arg ? f(arg) : f().

As I mentioned, my case is more complex, and I capture arguments through a rest argument.
Something that can be simplified to:
function test(): void;
function test(a: number): void;
function test(...a: any[]): void { }

The problem is that arguments.length == 1 with test(undefined). That I want to avoid.
But I agree this may be a too specific situation (that I can avoid by either implementing the function differently or by adding a disable rule comment).
Forget about this request.


Added high resolution RickRoll

Your checklist for this pull request
Author name
Author:
MMKF
About your game
What is your game about?
It's a high resolution RickRoll
How do you play your game?
Just run it.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thanks for your PR!

The latest updates on your projects. Learn more about Vercel for Git ↗
Name	Status	Preview	Comments	Updated (UTC)
sprig	❌ Failed (Inspect)			Sep 15, 2024 2:19pm

Why did it fail :(

Unfortunately, I will not be able to land this PR as it is is a whopping 76mb.  That being said, feel free to submit it to the Sprig game jam!


[DO NOT MERGE] Publishing API v2 test helper bugfixes and improvements

During work by the Core Team on the Publishing API migration, we've found some issues and areas of improvement in the Publishing API v2 test helpers. Since this PR includes some renames, it'll probably be a breaking version change.
This PR is best reviewed commit-by-commit.
To do:

[ ] get broad consensus about the changes here
[x] make sure that the asserts work against Whitehall before merging

/cc @gpeng @alphagov/team-gov-uk-core-formats-and-publishing

This did break some tests in Whitehall but I've fixed them in this PR.


Plugin installation

build failed failed to copy ui files: failed to open source file build\favicon.ico: open build\favicon.ico: invalid argument

windows
Binary


Feature/cinfra 684 activate colletectiongroups

Finally Activate Collection Groups.
The last piece of the puzzle and everything starts to get working \o/

2 unrelated errors detected by CircleCI.
They are worked on separately.


Support using k2.intersect_dense_pruned in computing LF-MMI loss.

Relates https://github.com/k2-fsa/k2/issues/739
@jarvan-Wang
Could you try this pull request?
Please add the following command-line option while running the script:
--use-pruned-intersect=1

From https://github.com/k2-fsa/k2/issues/739#issuecomment-843077996

or to do the den decoding separately from the num
forward-backward with intersect_dense_pruned() which allows you to use a
single FSA instead of
multiple FSAs.  That would also be more suitable since the den graph is too
large.
Fangjun, at some point we should probably create an option in the training
code (or simply an alternative code path) which is efficient
when the den graph is inconveniently large.

An option is added to let the user make the decision whether the graph is large or not.

I only run the script for 100 batches and the loss is decreasing as expected, so I think it is safe to merge.

Here are the logs with/without --use-pruned-intersect for the first 100 batches.
Notice that --use-pruned-intersect=1 has a slightly lower objf.
--use-pruned-intersect=1
./mmi_att_transformer_train.py  --full-libri=False --use-ali-model=0 --use-pruned-intersect=1

2021-05-19 14:49:10,994 INFO [mmi_att_transformer_train.py:273] (0/1) batch 0, epoch 0/10 global average objf: 1.768724 over 12313.0 fr
ames (100.0% kept), current batch average objf: 1.768724 over 12313 frames (100.0% kept) avg time waiting for batch 28.880s
2021-05-19 14:49:11,011 INFO [distributed.py:607] (0/1) Reducer buckets have been rebuilt in this iteration.
2021-05-19 14:49:18,814 INFO [mmi_att_transformer_train.py:273] (0/1) batch 10, epoch 0/10 global average objf: 1.784099 over 135096.0
frames (100.0% kept), current batch average objf: 1.734967 over 12221 frames (100.0% kept) avg time waiting for batch 2.894s
2021-05-19 14:49:27,070 INFO [mmi_att_transformer_train.py:273] (0/1) batch 20, epoch 0/10 global average objf: 1.742342 over 257832.0
frames (100.0% kept), current batch average objf: 1.633413 over 12157 frames (100.0% kept) avg time waiting for batch 1.450s
2021-05-19 14:49:36,043 INFO [mmi_att_transformer_train.py:273] (0/1) batch 30, epoch 0/10 global average objf: 1.708514 over 380360.0
frames (100.0% kept), current batch average objf: 1.653877 over 12173 frames (100.0% kept) avg time waiting for batch 0.969s
2021-05-19 14:49:46,012 INFO [mmi_att_transformer_train.py:273] (0/1) batch 40, epoch 0/10 global average objf: 1.701181 over 503900.0
frames (100.0% kept), current batch average objf: 1.692598 over 12358 frames (100.0% kept) avg time waiting for batch 0.729s
2021-05-19 14:49:55,149 INFO [mmi_att_transformer_train.py:273] (0/1) batch 50, epoch 0/10 global average objf: 1.670231 over 626743.0
frames (100.0% kept), current batch average objf: 1.521726 over 12147 frames (100.0% kept) avg time waiting for batch 0.585s
2021-05-19 14:50:04,167 INFO [mmi_att_transformer_train.py:273] (0/1) batch 60, epoch 0/10 global average objf: 1.638435 over 749187.0
frames (100.0% kept), current batch average objf: 1.490543 over 12147 frames (100.0% kept) avg time waiting for batch 0.488s
2021-05-19 14:50:13,162 INFO [mmi_att_transformer_train.py:273] (0/1) batch 70, epoch 0/10 global average objf: 1.610674 over 871675.0
frames (100.0% kept), current batch average objf: 1.383189 over 12154 frames (100.0% kept) avg time waiting for batch 0.420s
2021-05-19 14:50:22,283 INFO [mmi_att_transformer_train.py:273] (0/1) batch 80, epoch 0/10 global average objf: 1.583727 over 994877.0
frames (100.0% kept), current batch average objf: 1.377218 over 12259 frames (100.0% kept) avg time waiting for batch 0.368s
2021-05-19 14:50:31,331 INFO [mmi_att_transformer_train.py:273] (0/1) batch 90, epoch 0/10 global average objf: 1.561083 over 1117441.0
 frames (100.0% kept), current batch average objf: 1.425102 over 12328 frames (100.0% kept) avg time waiting for batch 0.328s
2021-05-19 14:50:40,221 INFO [mmi_att_transformer_train.py:273] (0/1) batch 100, epoch 0/10 global average objf: 1.537064 over 1240513.
0 frames (100.0% kept), current batch average objf: 1.296827 over 12208 frames (100.0% kept) avg time waiting for batch 0.296s

--use-pruned-intersect=0
./mmi_att_transformer_train.py --full-libri=False --use-ali-model=0 --use-pruned-intersect=0

2021-05-19 13:00:35,449 INFO [mmi_att_transformer_train.py:275] (0/1) batch 0, epoch 0/10 global average objf: 1.786543 over 12313.0 frames (100.0% kept), current batch average objf: 1.786542 over 12313 frames (100.0% kept) avg time waiting for batch 29.168s
2021-05-19 13:00:35,466 INFO [distributed.py:607] (0/1) Reducer buckets have been rebuilt in this iteration.
2021-05-19 13:00:42,162 INFO [mmi_att_transformer_train.py:275] (0/1) batch 10, epoch 0/10 global average objf: 1.807433 over 135096.0
frames (100.0% kept), current batch average objf: 1.756499 over 12221 frames (100.0% kept) avg time waiting for batch 2.923s
2021-05-19 13:00:49,305 INFO [mmi_att_transformer_train.py:275] (0/1) batch 20, epoch 0/10 global average objf: 1.766658 over 257832.0
frames (100.0% kept), current batch average objf: 1.653667 over 12157 frames (100.0% kept) avg time waiting for batch 1.465s
2021-05-19 13:00:56,932 INFO [mmi_att_transformer_train.py:275] (0/1) batch 30, epoch 0/10 global average objf: 1.725723 over 380360.0
frames (100.0% kept), current batch average objf: 1.635614 over 12173 frames (100.0% kept) avg time waiting for batch 0.979s
2021-05-19 13:01:05,346 INFO [mmi_att_transformer_train.py:275] (0/1) batch 40, epoch 0/10 global average objf: 1.711869 over 503900.0
frames (100.0% kept), current batch average objf: 1.687513 over 12358 frames (100.0% kept) avg time waiting for batch 0.736s
2021-05-19 13:01:13,305 INFO [mmi_att_transformer_train.py:275] (0/1) batch 50, epoch 0/10 global average objf: 1.677409 over 626743.0
frames (100.0% kept), current batch average objf: 1.522647 over 12147 frames (100.0% kept) avg time waiting for batch 0.590s
2021-05-19 13:01:20,845 INFO [mmi_att_transformer_train.py:275] (0/1) batch 60, epoch 0/10 global average objf: 1.641111 over 749187.0
frames (100.0% kept), current batch average objf: 1.465976 over 12147 frames (100.0% kept) avg time waiting for batch 0.493s
2021-05-19 13:01:28,464 INFO [mmi_att_transformer_train.py:275] (0/1) batch 70, epoch 0/10 global average objf: 1.612189 over 871675.0
frames (100.0% kept), current batch average objf: 1.394416 over 12154 frames (100.0% kept) avg time waiting for batch 0.423s
2021-05-19 13:01:36,341 INFO [mmi_att_transformer_train.py:275] (0/1) batch 80, epoch 0/10 global average objf: 1.584267 over 994877.0
frames (100.0% kept), current batch average objf: 1.368041 over 12259 frames (100.0% kept) avg time waiting for batch 0.371s
2021-05-19 13:01:44,179 INFO [mmi_att_transformer_train.py:275] (0/1) batch 90, epoch 0/10 global average objf: 1.562747 over 1117441.0 frames (100.0% kept), current batch average objf: 1.432522 over 12328 frames (100.0% kept) avg time waiting for batch 0.331s
2021-05-19 13:01:52,076 INFO [mmi_att_transformer_train.py:275] (0/1) batch 100, epoch 0/10 global average objf: 1.539240 over 1240513.0 frames (100.0% kept), current batch average objf: 1.308250 over 12208 frames (100.0% kept) avg time waiting for batch 0.298s

ok, I'm on it

I rerun my model(output Character rather than Phone!) training recipe, got:
[nmyjs_160_37] 2021-05-19 15:19:39,880 (lexicon:19) INFO: Loading L.fst
[New Thread 0x7faf02a0d700 (LWP 21585)]
[New Thread 0x7faf0220c700 (LWP 21586)]
[F] [F] [F] [F] [F] [F] /search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678:lambda [](int)->void::operator()(int)->void /search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678:lambda [](int)->void::operator()(int)->void /search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678:lambda [](int)->void::operator()(int)->void /search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678:lambda [](int)->void::operator()(int)->void /search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678:lambda [](int)->void::operator()(int)->void /search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678:lambda [](int)->void::operator()(int)->void block:[71,0,0], thread: [115,0,0] block:[53,0,0], thread: [150,0,0] block:[89,0,0], thread: [80,0,0] block:[107,0,0], thread: [45,0,0] block:[17,0,0], thread: [220,0,0] block:[35,0,0], thread: [185,0,0] Check failed: Check failed: Check failed: Check failed: Check failed: Check failed: static_cast<uint32_t>(scores_idx2)static_cast<uint32_t>(scores_idx2)static_cast<uint32_t>(scores_idx2)static_cast<uint32_t>(scores_idx2)static_cast<uint32_t>(scores_idx2)static_cast<uint32_t>(scores_idx2)      <<<<<<      static_cast<uint32_t>(scores_num_cols)static_cast<uint32_t>(scores_num_cols)static_cast<uint32_t>(scores_num_cols)static_cast<uint32_t>(scores_num_cols)static_cast<uint32_t>(scores_num_cols)static_cast<uint32_t>(scores_num_cols) ( ( ( (4574 (<PHONE_NUMBER>74 vs. 45744574 vs.  vs. 4574 vs.  vs.  vs. 45744574) 45744574) 4574
) )
) )

/search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678: lambda [](int)->void::operator()(int)->void: block: [71,0,0], thread: [115,0,0] Assertion `Some bad things happened` failed.
/search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678: lambda [](int)->void::operator()(int)->void: block: [53,0,0], thread: [150,0,0] Assertion `Some bad things happened` failed.
/search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678: lambda [](int)->void::operator()(int)->void: block: [107,0,0], thread: [45,0,0] Assertion `Some bad things happened` failed.
/search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678: lambda [](int)->void::operator()(int)->void: block: [89,0,0], thread: [80,0,0] Assertion `Some bad things happened` failed.
/search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678: lambda [](int)->void::operator()(int)->void: block: [17,0,0], thread: [220,0,0] Assertion `Some bad things happened` failed.
/search/odin/wangjiawen/k2/k2/csrc/intersect_dense_pruned.cu:678: lambda [](int)->void::operator()(int)->void: block: [35,0,0], thread: [185,0,0] Assertion `Some bad things happened` failed.
[F] /search/odin/wangjiawen/k2/k2/csrc/array.h:329:T k2::Array1<T>::operator[](int32_t) const [with T = int; int32_t = int] Check failed: ret == cudaSuccess (710 vs. 0)  Error: device-side assert triggered.

[ Stack-Trace: ]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2_log.so(k2::internal::GetStackTrace()+0x46) [0x7faf547bc77d]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(k2::internal::Logger::~Logger()+0x35) [0x7faf54f16dd9]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(k2::Array1<int>::operator[](int) const+0x56c) [0x7faf54f1b976]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(k2::Array1<int>::Back() const+0x130) [0x7faf54f18e70]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(k2::Renumbering::ComputeOld2New()+0xe0) [0x7faf54f14630]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(k2::Renumbering::NumNewElems()+0x43) [0x7faf55074873]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(std::unique_ptr<k2::MultiGraphDenseIntersectPruned::FrameInfo, std::default_delete<k2::MultiGraphDenseIntersectPruned::FrameInfo> > k2::MultiGraphDenseIntersectPruned::PropagateForward<32>(int, k2::MultiGraphDenseIntersectPruned::FrameInfo*)+0x534) [0x7faf5507e04c]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(k2::MultiGraphDenseIntersectPruned::Intersect()+0x20d) [0x7faf55075c97]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/libk2context.so(k2::IntersectDensePruned(k2::Ragged<k2::Arc>&, k2::DenseFsaVec&, float, float, int, int, k2::Ragged<k2::Arc>*, k2::Array1<int>*, k2::Array1<int>*)+0xb5) [0x7faf5506de65]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/_k2.cpython-37m-x86_64-linux-gnu.so(+0xc4bfd) [0x7faf59dcbbfd]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/_k2.cpython-37m-x86_64-linux-gnu.so(+0xce6d7) [0x7faf59dd56d7]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/_k2.cpython-37m-x86_64-linux-gnu.so(+0xcd6b6) [0x7faf59dd46b6]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/_k2.cpython-37m-x86_64-linux-gnu.so(+0xcb063) [0x7faf59dd2063]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/_k2.cpython-37m-x86_64-linux-gnu.so(+0xcb0ed) [0x7faf59dd20ed]
/search/odin/wangjiawen/espnet2_500h_charlevel_mmi/lib/_k2.cpython-37m-x86_64-linux-gnu.so(+0x522ef) [0x7faf59d592ef]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyMethodDef_RawFastCallKeywords+0x316) [0x55719038f9b6]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyCFunction_FastCallKeywords+0x21) [0x55719038fa31]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalFrameDefault+0x53e3) [0x5571903fc483]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalCodeWithName+0x2f9) [0x55719033e829]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyFunction_FastCallDict+0x1d5) [0x55719033f925]
/search/odin/wangjiawen/anaconda2/envs/python37/lib/python3.7/site-packages/torch/lib/libtorch_python.so(THPFunction_apply(_object*, _object*)+0x93d) [0x7fafabaeba6d]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyMethodDef_RawFastCallKeywords+0x1e4) [0x55719038f884]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyCFunction_FastCallKeywords+0x21) [0x55719038fa31]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalFrameDefault+0x4e1d) [0x5571903fbebd]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalCodeWithName+0x2f9) [0x55719033e829]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyFunction_FastCallKeywords+0x387) [0x55719038f107]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalFrameDefault+0x14e5) [0x5571903f8585]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalCodeWithName+0x2f9) [0x55719033e829]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyFunction_FastCallKeywords+0x387) [0x55719038f107]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalFrameDefault+0x14e5) [0x5571903f8585]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyFunction_FastCallDict+0x10b) [0x55719033f85b]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyObject_Call_Prepend+0x63) [0x55719035e4d3]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(PyObject_Call+0x6e) [0x557190350ffe]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalFrameDefault+0x1e4a) [0x5571903f8eea]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalCodeWithName+0x2f9) [0x55719033e829]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyFunction_FastCallDict+0x1d5) [0x55719033f925]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyObject_Call_Prepend+0x63) [0x55719035e4d3]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(+0x16be1a) [0x557190395e1a]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyObject_FastCallKeywords+0x48b) [0x557190396ccb]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalFrameDefault+0x52fe) [0x5571903fc39e]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalCodeWithName+0xc30) [0x55719033f160]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyFunction_FastCallDict+0x1d5) [0x55719033f925]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyObject_Call_Prepend+0x63) [0x55719035e4d3]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(PyObject_Call+0x6e) [0x557190350ffe]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalFrameDefault+0x1e4a) [0x5571903f8eea]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyEval_EvalCodeWithName+0x2f9) [0x55719033e829]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyFunction_FastCallDict+0x1d5) [0x55719033f925]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyObject_Call_Prepend+0x63) [0x55719035e4d3]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(+0x16be1a) [0x557190395e1a]
/search/odin/wangjiawen/anaconda2/envs/python37/bin/python3(_PyObject_FastCallKeywords+0x48b) [0x557190396ccb]

Thread 1 "python3" hit Catchpoint 1 (exception thrown), 0x00007fafac83e92d in __cxa_throw () from /lib64/libstdc++.so.6

It happens at:
16      namespace k2 {
17      void Renumbering::ComputeOld2New() {
18        NVTX_RANGE(K2_FUNC);
19        old2new_ = Array1<int32_t>(keep_.Context(), keep_.Dim() + 1);
20        ExclusiveSum(keep_, &old2new_);
21        num_new_elems_ = old2new_.Back(); // here, old2new_.dim_ == 27438
22        K2_CHECK_GE(num_new_elems_, 0);
23        K2_CHECK_LE(num_new_elems_, keep_.Dim());
24      }

Any idea?

For another exp(modeling syllable) with the code you offered, and reduce the max-duration from 100 to 20, it's works.
but the gpu memory it consume is high:
+-------------------------------+----------------------+----------------------+
|   5  Tesla P40           On   | 00000000:87:00.0 Off |                    0 |
| N/A   46C    P0   106W / 250W |  20943MiB / 22919MiB |     95%      Default |
+-------------------------------+----------------------+----------------------+

even in syllable level model training(about 1k output nodes), without loading G, and the max-duration is very small, it's already consuming 20GB memory.
it must be an out-of-memory when decoding with a grammar.
I'm pretty sure that character level model(about 4k output-nodes) will not work in current code(it even cannot training).

I'm pretty sure that character level model(about 4k output-nodes) will not work in current code(it even cannot training).

From https://github.com/k2-fsa/k2/issues/739#issuecomment-843085650

... another way to reduce the size of the den graph would be to limit it to
only seen pairs of phone symbols.  But that would require some changes to
the code as our P matrix
would need to be ragged not square.

I am afraid your number of nodes (4k) is too large. The resulting ctc_topo and P are very large.
compose(ctc_topo, P) is even larger.

I'm pretty sure that character level model(about 4k output-nodes) will not work in current code(it even cannot training).

From k2-fsa/k2#739 (comment)

... another way to reduce the size of the den graph would be to limit it to
only seen pairs of phone symbols.  But that would require some changes to
the code as our P matrix
would need to be ragged not square.

I am afraid your number of nodes (4k) is too large. The resulting ctc_topo and P are very large.
compose(ctc_topo, P) is even larger.

yes, i think so.
hmm, my syllable model training ran out of gpu memory after 1400 batches.

Perhaps we should merge this?


puzzle-game

This is a puzzle game where there is a pot which the player can put yarn balls into the pot. The game allows for about 10 yarn balls to go into the pot if done with care  after 10 it gets harder.
Changes

Known Bugs/Issues
Testing Scene and Script

Issue ticket number/link

Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] Make sure I am merging my features into the develop branch
[ ] I have notified the other members of the programming team that my task is ready to review

Close this PR since issue #25 itself is not defined well enough and makes version changes. Need to make new template for adding puzzle prototype. Also will separately make PR for version update.
However, this idea has been added to Miro, so designers can think about using it


Re-evaluate pointer detagging code

As BinaryNinja now processes chained fixups, it's likely that the pointer detagging routine and data renderer are no longer needed.

All known applicable pointers needing detagged were chained fixups. Support for these has been implemented and w/ moving analysis to Mach-O View, detagging was removed.
Resolved in dev builds >= 4.1.5465


Timeout issues with Connection Dialog Browse Azure resources

I've seen a couple different variations of this where the spinner will spin for a set of time and then error out - haven't been able to get useful error messages out of it yet. For example one is :
[23960:1104/150533.361:INFO:CONSOLE(104)] "%c[Extension Host] %cError: connect ETIMEDOUT <IP_ADDRESS>:443 %c(at AzureResourceDatabaseTreeDataProvider.getChildren (c:\src\AzureDataStudio\extensions\azurecore\out\azureResource\providers\resourceTreeDataProviderBase.js:34:21)) color: blue color:  color: grey", source: file:///C:/src/AzureDataStudio/out/vs/base/common/console.js (104)

Let's get some detailed logging around this area - this is likely to be a huge source of connection issues and it would be good to be able to have detailed information of what's happening for debugging purposes.

+1

@softboy99 how many subscriptions are there in your Azure account?  Does this help: https://github.com/microsoft/azuredatastudio/issues/13297#issuecomment-724215057?

I have changed the implementation and showing resources immediately as they become available, and also added error logging.


Support delete backing in reconfigure vm disks

Support 'Delete Backing' option for RHV VM Reconfigure
The 'Delete Backing' option determines if the disk should be removed
from the data store or be kept on the data store and detached from the
virtual machine.
RHV exposes the 'detach_only' property which serves the exact purpose.
http://bugzilla.redhat.com/1390260

This PR depends on https://github.com/ManageIQ/manageiq/pull/11971

@borod108 Please review.

@miq-bot add_label ui blocker euwe/yes providers/rhevm

@miq-bot add_label ui, blocker, "euwe/yes", "providers/rhevm"

@miq-bot add_label euwe/yes
@miq-bot add_label providers/rhevm

@miq-bot add_label bug

@miq-bot assign @borod108

@miq-bot assign @durandom

looks great, and @masayag I like how you removed redhat/vmware specifics from the UI. Maybe you want to have a look at how to get completely rid of that in app/views/vm_common/_reconfigure.html.haml  ?
:trophy: from me
@miq-bot assign @agrare
@agrare please merge

@masayag your BZ doesn't have blocker+ yet so I'll remove the blocker label until it gets ACK'd

@miq-bot add_label blocker

Euwe BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1392979

Euwe Backport details:
$ git log -1
commit ee106d23ccf90e4d8dc547e93fac5555df93498f
Author: Adam Grare<EMAIL_ADDRESS>Date:   Mon Nov 7 08:13:37 2016 -0500

    Merge pull request #12388 from masayag/support_delete_backing_in_reconfigure_vm_disks

    Support delete backing in reconfigure vm disks
    (cherry picked from commit 0154ef6508db6915ec5f4eb727d802bcb5dda58e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1392979


chore(tests): skip extremely flaky gaq test

SUMMARY
The test_chart_data_async has been disabled, then re-enabled in the hopes that the new sleeps would fix it. This was not the case, and it's causing a lot of headache for getting CI green on PRs. I'm disabling it for now, and these will all likely be rewritten soon as part of SIP-134.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Makes sense, converted to draft, feel free to reflag for review if you want to push this one through


Need to set proxy credentials

From<EMAIL_ADDRESS>on November 20, 2014 14:47:50
What steps will reproduce the problem? 1. Try to launch a request that needs you to pass through a proxy with authentication What is the expected output? What do you see instead? Be able to launch requests with a proxy that needs authentication What version of the product are you using? On what operating system? version 2.3.2 / Windows 7
I can set the proxy hostname and port but I'm not able to set proxy username and password. The answer explains me that credentials are missing.
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=374

From<EMAIL_ADDRESS>on November 24, 2014 10:23:09
I'm not all that familiar with proxies. How do you authenticate to the proxy? Is there a spec for that?

From<EMAIL_ADDRESS>on November 24, 2014 12:17:18
Hello,
I'm talking about proxy credentials used by HTTP Client that can be declared like this in Java :
System.getProperties().put("http.proxyHost", "someProxyURL");
System.getProperties().put("http.proxyPort", "someProxyPort");
System.getProperties().put("http.proxyUser", "someUserName");
System.getProperties().put("http.proxyPassword", "somePassword");
Example below : http://stackoverflow.com/questions/1626549/authenticated-http-proxy-with-java And RFC 2069 talks about it : https://www.ietf.org/rfc/rfc2069.txt

From<EMAIL_ADDRESS>on November 24, 2014 22:13:06
Oh that doesn't look so complicated. I'll try to add support for it when I find some time.
Status: Accepted
Labels: -Type-Defect Type-Enhancement

From<EMAIL_ADDRESS>on December 24, 2014 01:21:17
I think I found something.
In com.jayway.restassured.authentication.PreemptiveBasicAuthScheme.class
line 33. The header's name is incorrect.
It should be 'Proxy-Authorization'.
Enjoy.

From<EMAIL_ADDRESS>on December 24, 2014 01:49:21
Yes, you're right soprano !

I'd like to implement support for this. Is the only difference that you add a 'Proxy-Authorization' header instead of standard 'Authorization' header for basic authentication?


nanopb_generate.py unable to resolve dependency when called standalone

Steps to reproduce the issue
Tools:

nanopb_generator.py from tag 0.4.5, installed using cmake
protoc version 3.13.0

# ./mod_a.proto
syntax = "proto2";
package com.example;

enum ExampleEnum {
  EXAMPLE_UNKNOWN_VALUE = 0x00;
  EXAMPLE_A             = 0x01;
}

# ./mod_b.proto
syntax = "proto2";

package com.example;

import "mod_a.proto";

message ExampleMsg {
  required com.example.ExampleEnum enum_val = 1;
}

Using nanopb_generator.py by itself does not work:
nanopb_generator.py mod_b.proto

Traceback (most recent call last):
  File "/usr/bin/nanopb_generator.py", line 1439, in default_value
    enumtype = dependencies[str(enumname)]
KeyError: 'com_example_ExampleEnum'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/nanopb_generator.py", line 2340, in <module>
    main_cli()
  File "/usr/bin/nanopb_generator.py", line 2228, in main_cli
    results = process_file(fdesc.name, fdesc, options, other_files)
  File "/usr/bin/nanopb_generator.py", line 2158, in process_file
    headerdata = ''.join(f.generate_header(includes, headerbasename, options))
  File "/usr/bin/nanopb_generator.py", line 1788, in generate_header
    yield msg.fields_declaration(self.dependencies) + '\n'
  File "/usr/bin/nanopb_generator.py", line 1331, in fields_declaration
    defval = self.default_value(dependencies)
  File "/usr/bin/nanopb_generator.py", line 1441, in default_value
    raise Exception("Could not find enum type %s while generating default values for %s.\n" % (enumname, self.name)
Exception: Could not find enum type com_example_ExampleEnum while generating default values for com_example_ExampleMsg.
Try passing all source files to generator at once, or use -I option.

But using it as a plugin works:
protoc --plugin=protoc-gen-nanopb=/usr/bin/protoc-gen-nanopb --nanopb_out=. mod_b.proto
# Files properly generated

What happens?
Using nanopb_generator.py standalone is unable to resolve a dependency unless the dependency is passed alongside the target file, e.g.:
nanopb_generator.py mod_b.proto mod_a.proto

But this is unnecessary when nanopb_generator.py is used as a plugin (via protoc-gen-nanopb).
What should happen?
I would expect nanopb_generator.py to have similar behavior to protoc with the nanopb plugin, but maybe I am misunderstanding the purpose of the standalone generator. Clarifying the difference between generating with protoc vs. nanopb_generator.py would be helpful.
Thanks!

This turned out to be a regression introduced in 0.4.3 and it was fixed in #720, fix is going into 0.4.6.


Bulk Assign Master Doesn't Work with Rimthreaded

[Fluffy's Animal Tab] Bulk Assign Master Doesn't Work with Rimthreaded

[Tested on RT 1.3.2]
I tested this issue on a fresh game, and was able to replicate it. The "Unassign all" button did not function at all, but I found this to be simply an extension to the more direct issue of not being able to set the master of any animals to "None". This seems to be the root of the issue, and this part happens even when not using "Animal Tabs" mod. This is therefore an issue with vanilla RT.
All the other commands seemed to work though, and I was able to set the masters of animals to "Bonded" through the "Assign to Bonded" command, unlike how the author of this issue portrayed. Although, when testing this issue on my modded play through, I did have one isolated case of not being able to set the master of a particular animal (dragon) to the one they were bonded with, when using the "Assign to bonded" mass command. It still worked when I set the master directly though.
Here is a save illustrating the issue:
Animal Tab Issue.zip
I did not experience any errors when testing this, but here is the HugsLib log anyway.
https://gist.github.com/HugsLibRecordKeeper/b32d82646a5720d3a2a1f1b1c17fb97c
Conclusion
This issue is confirmed, but is rooted in an issue with RT itself. In short, assigning an animal master to "None" does not work.

Fixed in 2.1.3

Issue still occurs for me with 2.1.3 and 2.1.5

@cseelhoff issue still persists as per @bababooeyy please advise

can confirm happens in 2.1.5

fixed in 2.2.7


metrics-server is not ready

<IP_ADDRESS> is the node IP?

This is the /var/log/messages？

<IP_ADDRESS>

<IP_ADDRESS>  is master ,this is metrics pod logs

default not install metrics-server

We can provide a full monitor stack CloudImage later.


[0.9.3] Poor Performance

I am currently running version 0.9.3, I know distributed query support is in the works so I hesitated and filing this issue, however the query performance has become very poor.
Currently I have a data set of a million points with this measurement name, it is in it's own retention policy FWIW.
The query takes about 3-4 minutes with the following query:
SELECT sum(value) from shortLived.as_path_bps WHERE time > now() - 1d AND as_path_list =~ /(.*_|^)16348(_.*|$)/ AND as_path_list !~ /645../ AND pop =~ /mia01/ AND value > 100000000 group by time(1m),as_path_list, pop
Various ways to implement the above query can make it faster.  One of them is to use a larger group by time to downsample the data.  One is to use a smaller time window.  We've gotten to the point where using a 4d time window can take 10+ minutes to return data.  My question is, is there something that can be done server side to improve this, or is there something I can do with my data post to improve this.
Sample data write:
as_path_bps,as_path_list=16348_1221_4356_1652_1438_1984,pop=mia01,protocol=ipv4 value=123898912938 /epoch timestamp in ms/
Would it be helpful to write as_path_list into one tag per digit?  Any input here would be greatly appreciated :)
I'll also note that I have gotten queries that take so long that writes begin to 500, with no other error/debug output in the logs.  However this can be discussed separately.

One of them is to use a larger group by time to downsample the data.

That shouldn't make any noticeable difference in the runtime. It will reduce the number of buckets returned, but the query still has to sample every possible point in the time range and then sum all the matching points. Whether it sums them in 1 minute or 30 minute intervals makes little practical difference.

One is to use a smaller time window.

Yes, this is the only thing that will have a significant effect on your query performance. There's a field in your WHERE clause (value) and fields are unindexed. When there is a field in the WHERE clause every point in the measurement that matches the other filters has to be read from disk. By shrinking your time window, you will narrow the number of points to be sampled and increase the performance of the query.
As for secondary things you can do, one recommendation is to stop using pop =~ /mia01/ and just state that filter as pop = 'mia01'. Equalities evaluate faster than regex matchers. The equality statement can be evaluated directly from the tag set index. The regex iterates over every series in the index looking for matches.

Would it be helpful to write as_path_list into one tag per digit?

Yes, that would be helpful. As mentioned above, regex matches are more expensive than straight equalities. It's the difference between getting a direct index lookup and iterating over every value in the index. The index of series likely isn't too big, but with three regexes that three iterations over every series rather than a simple index lookup for two of the three.
The regex lookups are not the primary source of the delay. The field in the where clause means every point has to be read from disk, and that's certainly the biggest bottleneck, but these other effects may contribute as well. I can't say if it would be 1% or 0.01% of the query time, but I would guess it's closer to either of those numbers than to 10%.

I'll also note that I have gotten queries that take so long that writes begin to 500, with no other error/debug output in the logs. However this can be discussed separately.

There are a number of open issues about this and the read/write locking behavior is substantially changed for 0.9.3.

Implemented all of the above, we need quite a bit more data to do true side by side comparison but I REALLY appreciate you taking the time to explain and validate my thinking.


Tests don't run

OSX
~/projects/SpookyJS on ⭠ master! ⌚ 14:23:19
$ nvm use 4
Now using node v4.0.0 (npm v2.14.2)

~/projects/SpookyJS on ⭠ master! ⌚ 14:23:25
$ npm install
npm WARN unmet dependency /Users/sequoia/projects/SpookyJS/node_modules/cucumber/node_modules/pogo requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/sequoia/projects/SpookyJS/node_modules/cucumber/node_modules/underscore,
npm WARN unmet dependency which is version 1.8.3

~/projects/SpookyJS on ⭠ master! ⌚ 14:23:33
$ make test
/bin/sh: /Users/sequoia/projects/SpookyJS/node_modules/.bin/http-server: No such file or directory
/bin/sh: /Users/sequoia/projects/SpookyJS/node_modules/.bin/mocha: No such file or directory
/bin/sh: line 0: kill: (93552) - No such process
make: *** [test] Error 127

Can you please verify if the mocha and http-server packages were added and if not, could you manually add and check if the problem is solved?
use these commands:
'npm install<EMAIL_ADDRESS>-g'
'npm install<EMAIL_ADDRESS>

They were added but there's no .bin directory in node_modules.
Removed node_modules & reinstalled they are there now. Now tests fail but at least they run! :smile_cat:

extra info: looks like it's related to https://github.com/npm/npm/issues/4851


Adding custom 3dmm

Thank you so much for your work! Amazing library, has been really helpful with my project.
I was wondering how possible is it to add custom 3dmm? For example, ICT-FaceKit(https://github.com/ICT-VGL/ICT-FaceKit), they have a very detailed model with lots of blendshapes. How would you approach such problem?
Thanks!

Hi @leg0m4n,
Thank you very much for all your kind praise! I'm very glad to hear that my work has been so helpful for you.
Yes, it is quite easy to add a custom 3DMM to eos, especially if it's PCA-based. Have a look at the convert/loader scripts in the eos/share/scripts directory for the BFM2009/2017 and the LYHM. It should be quite easy to write a short Python script that does the same for the ICT-FaceKit model: Load it in Python and then create an eos.morphablemodel.PcaModel and eos.morphablemodel.MorphableModel instance with the right data (mean, eigenvectors, eigenvalues, triangle list, etc.).
I'd be curious to hear how you get along!

Thank you!


There are not tests for this program

Tests need to be created for everything that exists currently.
Add a testing framework.

Google test has been set up, and a few tests have been written for some of the bitboard operations. The existing tests need to be expanded.


[sw, rom_exts] ROM_EXT manifest parser

ROM_EXT manifest parser
This library is intended to be used in Mask ROM, and also ROM_EXT itself. The API consists of a getter function for every ROM_EXT manifest field.
Unittest
This PR contains a unittest for the manifest parser, which resides under sw/test/rom_ext, and otherwise is no different from the DIF unittests.
mmio change
For the uniformity of the API (every function taking mmio_region_t base_addr) - I have added a "fake" base field to the Mock MMIO mmio_region_t. This is useful when base is intended to be used for address calculation and input to memcpy. However, I am happy to drop this change and instead pass uintptr_t as the base address in functions where mmio_region_t is used for things other than standard mmio operations (if reviewers feel that this is more appropriate).
manifest.h
manifest.h is an autogenerated file - taken from ROM_EXT manifest generator change.

Please feel free to add more reviewers.

I don't understand why the mmio changes were needed, or what they achieve - we have specific memcpy's for mmio_regions, adding that base field just confuses people as to how the mmio_region_t should be used.

mmio.h change is going, I completely missed that there is already a function to do memcpy, thanks @lenary for pointing it out.

I suppose this parser should also have a getter for "ROM_EXT start execute address", what do you guys think?

I suppose this parser should also have a getter for "ROM_EXT start execute address", what do you guys think?

Yes this is needed, let's do it in a follow-up :)

#3734 is the issue containing follow-ups.


fix links to pekko javadoc/scaladoc

pekko-http build uses .link to get the version number to use scaladoc/javadoc links
https://github.com/apache/incubator-pekko-http/blob/main/build.sbt#L429
.link provides the x.y version as opposed to x.y.z version
At the moment, for Pekko, we only publish 1.0.0 but these links point to 1.0.
Example: see the Flow[HttpRequest, HttpResponse, _] link in https://pekko.apache.org/docs/pekko-http/current/introduction.html#low-level-http-server-apis

we could change the pekko-http build to use the x.y.z version in these links
we could update .htaccess to redirect 1.0 to 1.0.0 (but this has a big maintenance overhead, we'd have to change the .htaccess after every release.

While its true that in Akka's case, for the latest release branch it does maintain different patch versions (i.e. https://doc.akka.io/docs/akka/2.8.1/ vs https://doc.akka.io/docs/akka/2.8.2/) there is also https://doc.akka.io/docs/akka/2.8/ which points to the latest version (i.e. https://doc.akka.io/docs/akka/2.8.2 with my previous example), note that this is NOT the same as the docs pointing to the latest point of the 2.8 branch.
So there are 2 ways to solve this problem, one is to find a way so that we can point 1.0 to the latest released version (which will be 1.0.0) or we do as you suggested and change to using patch versions. I have a preference for the former.

@pjfanning I think this can be closed?


Translate for to JavaScript

Just from testing initially, I don't think translating to a for..of statement is right or will be enough. Array.prototype.map may be wrong too.

I added for support using one or more generators and also with filters. I looked at how babel translates ES7 array comprehensions and used a modified version of that using for..of statements.
This in elixir
for n <- [1, 2, 3, 4], do: n * 2

becomes this in javascript
      (function(){
        let _results = [];

        for(let n of [1,2,3,4])
          _results.push(n * 2);

        return _results;
      });

A multiple generator for in Elixir
for x <- [1, 2], y <- [2, 3], do: x*y

becomes this in javascript
      (function(){
        let _results = [];

        for(let x of [1,2])
          for(let y of [2,3])
            _results.push(x * y);

        return _results;
      });

The elixir examples I'm testing with are from the elixir docs. I also made it so that the last expression in the do block is the one that is pushed into the returned array.

Closing as #52 and #53 handle the missing cases.


Avoid runtime crashes by removing undefined behavior.

From pthread docs:
"The effect of calling pthread_getspecific() or pthread_setspecific() with a key value not obtained from pthread_key_create() or after key has been deleted with pthread_key_delete() is undefined."
On some Linux flavors this results in getspecific returning uninitialized pointer with results in runtime crashes after dereferencing invalid memory.
Also NULL format for fprintf is invalid and results on crashes when calling CFShow.

I think you have the commits for your other PR merged into this one. Can you separate them?

@swift-ci please test

@swift-ci please test and merge


Microsoft.AspNetCore.Routing.Abstractions PDB is not published to symbol server

Summary
The C# extension test team recently did a test of symbol server support using a preview6 build of the framework and found that one assembly, Microsoft.AspNetCore.Routing.Abstractions, had a PDB file, but the PDB wasn't published to symbol server.
Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview6-011799
Commit:    3816213dde
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.14
OS Platform: Darwin
RID:         osx.10.14-x64
Base Path:   /usr/local/share/dotnet/sdk/3.0.100-preview6-011799/
Host (useful for support):
Version: 3.0.0-preview6-27707-07
Commit:  c9e7f134dc
.NET Core SDKs installed:
3.0.100-preview6-011799 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.0.0-preview6-19257-04 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0-preview6-27707-07 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version: 1.33.1
C# Extension version: 1.19 (v1.19.1)
Steps to reproduce

Create a new ASP.NET Razor project by doing
mkdir razor
cd razor
dotnet new razor

Open razor with VScode

It may ask at the bottom right to install assets to build and debug, say yes.

After it has done this it will have created a .vscode directory in the ‘razor’ directory and a ‘launch.json’ file in that directory.   Open the ‘.vscode’ directory, and double click on the ‘launch.json to edit it.

Add the following lines after the “name” line of the “Configurations” object.   (This allows debugging through the framework.
 "justMyCode": false,
 "symbolOptions": {
       "searchMicrosoftSymbolServer": true
 },
 "suppressJITOptimizations": true,

Double click on the ‘Startup.cs’ file in the ‘Explorer’ pane to bring up that source code.

Add the following line to the Startup.cs file at the beginning of the ‘Configure’ method (at the bottom of the file).
Console.WriteLine("x " + 3);

Place a breakpoint on that line (F9).

Run the application until it hit that breakpoint (F5).

Expected  behavior
It will load symbols from the Microsoft symbol server successfully.
Actual behavior
One assembly, Microsoft.AspNetCore.Routing.Abstractions, didn't have symbols.

Thanks for contacting us, @gregg-miskelly.
@natemcmaster can you please advise where the symbols are?

Symbols for daily builds of AspNetCore will be available on the Microsoft public symbols server. This is currently broken for the master branch of this repo. https://github.com/aspnet/AspNetCore-Internal/issues/2126 tracks re-enabling our symbols publishing.

@natemcmaster last I looked, symbol publishing was working fine. We just got errors about using the current task in a release pipeline. Has something changed?

@dougbu It looks like Gregg is trying to use a build that came from our master branch. I think our pipeline is only publishing symbols for release/* branches. IIRC last time we talked about it, we planned to enable publishing symbols for the master branch too once https://github.com/aspnet/AspNetCore-Internal/issues/2126 was resolved.

@natemcmaster :ok:
@gregg-miskelly to confirm: You were unable to find symbols for any assembly from this repo (for Preview 6 i.e. from 'master') and Microsoft.AspNetCore.Routing.Abstractions was just an example?
Side question; https://github.com/dotnet/core/blob/master/release-notes/3.0/preview/3.0.0-preview5.md shows we now produce "symbol sets" for 3.0 releases. But, I could find no documentation on how to use those. Do you have a link?

@Jepson109 is actually who ran into this problem. I just routed the issue to the right home. @Jepson109 can you copy/paste your debug console text?

Almost done. Will almost-unconditionally enable the new symbol deployment step in the release pipeline once an official build containing aspnet/AspNetCore@3bb9cda189da completes.


Roads in EU

Roads in EU are narower than US, but now it's lane width hardcored to 3.7m  (secondary/tertiary road lane width is in Slovakia 3 meters)
https://github.com/commaai/openpilot/blob/master/selfdrive/controls/lib/lane_planner.py
self.lane_width = 3.7  -> 3.0
And next problem on secondary/tertiary with middle line only. OP is not often usable there, because car is going with right wheels on road edge
speed_lane_width = interp(v_ego, [0., 31.], [2.8, 3.5])  ->   speed_lane_width = interp(v_ego, [0., 31.], [2.8, 2.9])
-> It's possible to add item to menu (EU roads, or configurable lane width?), opparams

We want to reduce reliance on lanelines and have the model control where to drive more so this is no longer an issue. We do no intend to change much to this logic before then.

I am having the same issue with narrow roads in Europe and I believe this issue is Europe-wide. For this single reason I am forced to maintain a fork of OP. When is the model change planned to happen ?
My opinion is that customization is better, It seems you are trying to make "one driving option to suite them all". I like driving more towards the right lane, but there is no option for that. Some people like driving more to the center. I would like to have the option to switch to narrower roads by default without playing with the code.

Model improvements are a priority for us, it is unclear when it will be good enough so narrow lanes will work as well as wide lanes, but we are making progress.
We want openpilot to drive well in as many situations as possible out of the box without customization. If you want a lot of customization, that is a good reason to have a fork.


crash with absolute ultracraft

Describe the bug
game crashes on mod loading if both mods are installed, seems like an issue with mixins
Steps to reproduce

install this mod along with sinytra connector and forgified fabric api
install absolute ultracraft along with azurelib
launch the game

Logs
https://pastebin.com/UUK6gyk3
Additional context
Link to the mod in question: https://www.curseforge.com/minecraft/mc-mods/absolute-ultracraft

Does this also occur without Connector Extras installed?

it occurs only if connector extras is installed

Fixed in 5b22b019f3027067e8f0771ba7f7cf542b659296


Need example setup/use information in ephemeral containers documentation

This is a Bug Report

Problem:
There is no example setup/use information in ephemeral containers documentation at k8s.io/docs/concepts/workloads/pods/ephemeral-containers/
Proposed Solution:
Add a "getting started" section
Page to Update:
https://k8s.io/docs/concepts/workloads/pods/ephemeral-containers/

1.17

As a minimum a pointer to a blog post on configuring/using "kubectl debug" would be useful.

I recommend creating a task page to cover this, and making the concept page link to the task page.
/priority backlog


[Resource] Link create: --link-id format wrong

'providers' needs to be inserted in front of a provider:
/subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/{ProviderNamespace}/{ResourceType}/{ResourceName}/providers/Microsoft.Resources/links/{LinkName}

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

ID: b0a44789-a74b-537e-929e-62ff5efcaaef
Version Independent ID: 10f4128a-7e4a-e982-4888-617b4e720855
Content
Content Source
Service: azure-resource-manager

Thanks for the report @ericc1103.

@ericc1103 - sorry that this issue was overlooked, and thank you for providing the correct format. I am trying to get it fixed.

This has been fixed.


Pine64 SOQuartz

Basic information

Board URL (official): https://wiki.pine64.org/wiki/SOQuartz
Board purchased from: Pine64 Store
Board purchase date: 2021-11-08
Board specs (as tested): 2GB
Board price (as tested): $34.99

Linux/system information
# output of `neofetch`
PASTE_HERE

# output of `uname -a`
PASTE_HERE

Benchmark results
CPU

Geekbench: (156 single / 336 multi - https://browser.geekbench.com/v5/cpu/19940379)
TODO Gflops (geerlingguy/top500-benchmark HPL result)

Power

Idle power draw (at wall): TODO W
Maximum simulated power draw (stress-ng --matrix 0): TODO W
During Geekbench multicore benchmark: TODO W
During top500 HPL benchmark: TODO W

Disk
MANUFACTURER_AND_MODEL_OF_DISK_HERE

Benchmark
Result

fio 1M sequential read
TODO MB/s

iozone 1M random read
TODO MB/s

iozone 1M random write
TODO MB/s

iozone 4K random read
TODO MB/s

iozone 4K random write
TODO MB/s

curl https://raw.githubusercontent.com/geerlingguy/pi-cluster/master/benchmarks/disk-benchmark.sh | sudo bash
Run benchmark on any attached storage device (e.g. eMMC, microSD, NVMe, SATA) and add results under an additional heading. Download the script with curl -o disk-benchmark.sh [URL_HERE] and run sudo DEVICE_UNDER_TEST=/dev/sda DEVICE_MOUNT_PATH=/mnt/sda1 ./disk-benchmark.sh (assuming the device is sda).
Also consider running PiBenchmarks.com script.
Network
iperf3 results:

iperf3 -c $SERVER_IP: TODO Mbps
iperf3 --reverse -c $SERVER_IP: TODO Mbps
iperf3 --bidir -c $SERVER_IP: TODO Mbps

(Be sure to test all interfaces, noting any that are non-functional.)
GPU

TODO: Haven't determined standardized benchmark yet. See Issue #2.

Memory

TODO: Haven't determined standardized benchmark yet. See Issue #2.

Attempting to do some more benchmarking using the DietPi Bookworm release linked from the SOQuartz Wiki.
DietPi seemed to boot perfectly on the first try, and HDMI to my 1080P monitor was fine. Printed out the LAN IP and I could SSH in as root/dietpi. Upon login, it ran apt updates. Unexpected, but okay I guess :P
The install wizard was a bit jarring, and dropped me through a number of (IMO) fairly complex installation questions. I guess it's nice for some use cases but I just wanted Debian and to move on with things :)

Running Geekbench 6... I got an OOM error, and geekbench was killed. This module has 2GB of RAM and by default there's 128 MB swap.


Cancel cleaning backups should not be considered as cancelled backup

When cancelling after successful backups should not be considered as cancelled.
This operation can be done later and is not critical.

Fixed in commit 450ae618646fb881ce6299fcaff89008d531e9a7


[AnimatedSprite] Add ability to duplicate animations

This PR supersedes #57949 with the additions that @Mickeon stated!
Implements #3942
PS:

As I'm a new contributor, my code can be messed or not following rules, any review to the codebase is welcome!!!
Cherrypick for 3.x

Edit:
Just added @Mickeon's idea, to use the duplicated animation's name:

@kleonc fixed everything now!

@kleonc fixed everything now!

Seems like you ignored this suggestion (animation's loop/speed is still not copied from the animation being duplicated).

oh my bad, I'm trying my best here, since I have no much knowledge with PRs, sorry for that, can you suggest again, since outdated suggestions doesnt work.

oh my bad, I'm trying my best here, since I have no much knowledge with PRs, sorry for that

No worries. :slightly_smiling_face:

can you suggest again, since outdated suggestions doesnt work.

You don't need to do it through the "Apply suggestion" (or whatever that option is called) on GH. Actually, I'd even recommend not using it as it creates a separate commit for each such suggestion application. And what's preferred in the end is a single commit (not 10 like currently in this PR) so you're gonna need to clean this anyway. Meaning the log is now kinda polluted with some stuff which won't be relevant after the cleanup. But more importantly everytime you're doing such small changes right here you're notifying subscribers to this PR (so I can get a notification, go check things out, and then I'd realize that you're in the middle of resolving issues so it's not worth looking at the current state of the PR yet). Also you're retrigerring CI checks with each such little change. So because of all of these I'd say it's better to do all the changes locally on your end, and then push it all at once in here.
Anyway, what to do? You can make the suggested changes locally (like copy paste), commit it, rebase to fixup all subsequent commits into the first commit of yours, and finally force push you local branch with a single commit to the origin (so it will update in here). More detailed how-to: The interactive rebase (I recommend reading the whole page, not just the linked section). In case of some doubts you can ask for help on the Contributors Chat.


Your requirements could not be resolved to an installable set of packages.

Hi!
I Started to learn Laravel. ISo maybe the quiestion is strange, but I can't isntall this package.
I'm using Laravel 8.0
Your requirements could not be resolved to an installable set of packages.
Problem 1
- asantibanez/livewire-select[1.1.0, ..., 1.1.4] require illuminate/support ^6.0|^7.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.13).
- Root composer.json requires asantibanez/livewire-select ^1.1 -> satisfiable by asantibanez/livewire-select[1.1.0, ..., 1.1.4].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Could you please help?
Thanx
gergely

https://github.com/asantibanez/livewire-select/issues/6#issuecomment-714472474
Its a known issue, the only way you can use it is to downgrade to laravel 7 or wait for the update.


weth: don't emit events

Description
It was observed that the Wrapped Eth precompile contract emits events for fee transfers. This means an additional event will happen for each transaction. @karlfloersch mentioned that this should be removed and it was a really fast change so here is the PR.
I'm 50/50 on thinking this is a good idea - while layer 1 does not have an event emitted for the fee being taken, I think that it could be easily explainable to developers since it is an erc20 being used. The approach that I take in this PR removes the events completely, which also removes events for non tx fee based erc20 transfers. I feel like there should be events for these kinds of transfers. A way to solve this would be to conditionally emit the events, but I think that is kind of strange because events are nice to be able to recreate the state of the contract without needing to play all of the transactions. This is a long way of saying that I don't think this change should be merged without more discussion
Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

Closing this due to the desire to keep the events around for WETH

Closing this due to the desire to keep the events around for WETH


write text in phone and send to app (netflix, amazon prime...)

I would like to see if it's possible to write a text message in the companion app of HA in the android phone (text input) and send that text to any app that is currently open (netflix, hbo...) so we don't have to go to every letter with the commands of up, down...
Describe the solution you'd like
write it on the phone and send it to the screen

Im pretty sure its a limitation of Tizen.. Keyboards have never worked on remote apps etc when everything else does


added humenne technical high school

@Slavoo97 First stage of verification passed, official domain is sosthe.sk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Slavoo97 Pull request merged. Thank you!


Inconsistent HTML Encoding of Error Message with MVC Integration

When using FluentValidation with ASP.Net MVC, whether the message contents get HTML encoded or not differs based on whether the rule was applied server side or client side.  This is problematic when you have message that contain characters that need to be encoded as you need to know whether the rule is going to run server side or client side to determine whether to encode the contents or not.
I don't have a preference about whether the contents get encoded or not in either situation, but I would expect that they should be consistent, so that the caller can HTML encode the content manually if necessary.
Case 1
Steps to Reproduce:

Using the model, view, and controller below, view the page
Enter a string with more than three characters in the first input box and click submit
Note that the validation occurs client side (expected) and the message is bold
Disable JavaScript in your browser
Enter a string with more than three characters in the first input box and click submit
Note that the validation occurs server side (expected) and the message is not bold but instead displays the <b> literal content

Case 2
Steps to Reproduce:

Using the model, view, and controller below, view the page
Enter a string with fewer than three characters in the first input box and click submit
Note that the validation suceeds client side (expected) and then fails for the second property server side.  The message is not bold but instead displays the <b> literal content
Disable JavaScript in your browser
Enter a string with more than three characters in the first input box and click submit
Note that the validation occurs server side (expected) and the message is not bold but instead displays the <b> literal content

h2. Model//Validator
[Validator(typeof(IndexModelValidator))]
	public class IndexModel
	{
		[Display(Name = "Property1")]
		public string Property1 { get; set; }

		[Display(Name = "Property2")]
		public string Property2 { get; set; }
	}

	public class IndexModelValidator : AbstractValidator<IndexModel>
	{
		public IndexModelValidator()
		{
			RuleFor(m => m.Property1)
				.Length(0, 2)
				.WithMessage("Property1: <b> Length must be 2 or less");

			RuleFor(m => m.Property2)
				.Must((a, b) => false)
				.WithMessage("Property2: <b> Always fails");
		}
	}

h2. View
@model ValidationEncodingTest.Models.IndexModel
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>Validation Encoding Test</title>
</head>
<body>
	@using (Html.BeginForm())
	{
		@Html.ValidationSummary(false, "some message")
		@Html.TextBoxFor(m => m.Property1)
		@Html.TextBoxFor(m => m.Property2)
		<input type="submit" value="submit" />
	}

	@Scripts.Render("~/bundles/jquery")
	@Scripts.Render("~/bundles/jqueryval")
</body>
</html>

h2. Controller
public class HomeController : Controller
	{
		public ActionResult Index()
		{
			return View();
		}

		[HttpPost]
		public ActionResult Index(IndexModel model)
		{
			return View();
		}
	}

Hi,
Thanks for reporting this, but it isn't actually related to FluentValidation.
How the messages are displayed is entirely down to ASP.NET MVC (which handles displaying serverside messages) and jQuery Validate (which handles clientside). FluentValidation just passes the messages to ModelState, and it's up to MVC's own validation helpers for how these are displayed in the UI.
I think you'd need to report this on the ASP.NET MVC repository.

For future reference, I have reported an even simpler version of this to Microsoft as https://github.com/aspnet/Mvc/issues/6079


restore .idea/misc.xml to see if it fixes intellij inspection ci

seeing if this will fix the failing intellij inspections (might be totally unrelated coincidence :shrug:)

this does seem necessary, the intellij checks are passing here but failing in other PRs

thank you for fixing this.


Prepare v1.1.7 release

Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

Codecov Report

Merging #3181 into release/1.1 will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           release/1.1    #3181   +/-   ##
============================================
  Coverage        49.07%   49.07%
============================================
  Files               85       85
  Lines             7598     7598
============================================
  Hits              3729     3729
  Misses            3194     3194
  Partials           675      675

Flag
Coverage Δ

#linux
49.07% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

https://github.com/containerd/containerd/pull/3184 was merged; can you update the changelog?

Done!

LGTM :)


branch-2.0 partial update should not read old fileds from rows with delete sign (#36210)

cherry-pick #36210

run buildall

run buildall

run buildall


Support for audio use cases

In the release notes you mention flexible data formats including audio. I see lots of information for images, but are there any docs related to reading or clustering mp3/wav files or dealing with spectrograms?

Would love to know about this as well, especially as it relates to speech recognition.

+1

@jrjames83 @MatthewWaller @coolioxlr - Could you please share more details about what types of audio use cases you would like us to support?

Thanks for looking into this @TobyRoseman.
Speech recognition, as mentioned before, would be great in a toolkit that takes something like frames of MFCC features and outputs probabilities of letters and punctuation at each frame. Something like the Deepspeech architecture that Mozilla is working on or Listen Attend Spell architectures that Google has recently published on.
Outside of that, it would be great to have a deep learning speaker diarization toolkit that can identify different speakers in an audio file.

@tbartelmess Will be great to provide a simple example like the following just detecting few commands https://www.tensorflow.org/tutorials/sequences/audio_recognition
or
https://github.com/aqibsaeed/Urban-Sound-Classification
I know we can kind of achieve this using the activity classification sample in Turi create but they are not optimized for audio classification. An iOS sample how to use the model will be helpful as well since we might have to convert the audio to spectrogram.
I don't think building another deep learning speech recognition model is helpful here since iOS already provides speech recognition in native SDK.

I would disagree with @coolioxlr
Apple’s native SDK does not allow for all on-device speech recognition and even wants you not to speak health and other sensitive data.
And there is the opportunity to optimize for specific words in specialized fields. Any work you can do in general speech recognition on device with CoreML would be helpful.

Hey there; just wanted to see if there was any update on this - thanks!

@TobyRoseman I have a simple audio use case I would like to try with Turi Create, as following:

Training data would consist of (1) clean raw audio (2) raw audio as in (1) with some kind of additional sound feature (like distortion).
Turi to learn a model that could apply the sound feature to any raw audio.
Use Core ML to apply the model to live audio.

It is kind of like "style transfer" for live audio.  Could Turi Create do this?

@davidcittadini - that is a cool use case. Thanks for sharing. Unfortunately this is not possible with Turi Create.

Hoping this conversation is not dead.  I too am interested in a Turi example using audio, not necessarily for speech recognition.  Thx.

This conversation is certainly not dead. In fact I just put up two pull requests for a sound classifier.
@jamois - could you tell me more about your use case?

This conversation is certainly not dead. In fact I just put up two pull requests for a sound classifier.
@jamois - could you tell me more about your use case?

This conversation is certainly not dead. In fact I just put up two pull requests for a sound classifier.
@jamois - could you tell me more about your use case?

Sure.  I just want to be able to train a model using audio files (e.g. .wav).  So, for instance, if I have 5 sounds I want my system to recognize, I would train using 5 classes where each class would be represented by numerous (e.g. 100) sound files.  I know all of this is possible via Tensorflow but would prefer (at the moment) to use Turi if possible.  Thanks for the help!

@jamois - Your use case sounds like exactly what we are planning to support with our new Sound Classifier.

@jamois - Your use case sounds like exactly what we are planning to support with our new Sound Classifier.

Thanks for the update.  When are you planning to roll this out?

It's slated for the 5.4 release, which we plan to go out in March.

@TobyRoseman Have you had any more thoughts about using ML to apply "effects" to audio.  ML could be very useful with non-linear audio, which existing coding approaches are not very good at.  For example, ML could learn a distortion profile for an audio stream and then apply that same distortion profile to any clean audio stream.  The trick is to then be able to apply the model to live, real-time audio streams.

@davidcittadini - I have not thought more about this, but it sounds very interesting. I'd like to learn more. Are there any resources (ex: papers, blog posts, other products) you recommend?

It's slated for the 5.4 release, which we plan to go out in March.

I was about to implement my own custom classifier when I ran into this post.  How will it be accessed in the client code?   IE: There's MLImageClassifier will there be a MLSoundClassifier?  Or will clients writer their own?

@rplom - to be clear: the Sound Classifier will be included in the next release of Turi Create. Two new functions will be added:
turicreate.load_audio(...)
turicreate.sound_classifier.create(...)

The first version of the sound classifier will support exporting to Core ML.

Everything needed to use the Sound Classifier has now been merged into master. If you're willing to build from master, please give it a try.
I'm currently working on updating our User Guide with a Sound Classifier section. Until then you should be able to get started by using the docstrings of the above methods.

This is great!

Wow, great news!  Thanks @TobyRoseman !

Turi Create 5.4 is now launched. With this version you can create a sound classifier, using turicreate.load_audio(...) and turicreate.sound_classifier.create(...).
See the Sound Classifier Section of the User Guide for details.
Since we now support an audio use case, I'm going to close this issue. Feel free to open new issues, either about the sound classifier or for new audio use cases.

Excellent!  Thanks for the update and have a nice weekend.

Thanks @TobyRoseman. This is exactly what I have been waiting. Looking forward to WWDC too.


added og js + scss + gulp configs

ticket

Closing because apparently Gulp has too many vulnerabilities that Guardrails doesn't like. Will open another PR where I use either webpack or browserify + some other task runner to accomplish this.


Easier Navigation in Report Builder

If you're using the report builder and are editing one section, when you click the title of a different section it should jump you over there! With some behavior yet to be defined as to whether the current entry should be saved or not (maybe all draft entries should be auto-saved, just like Gmail drafts etc)

Such things should be done in react and making it in static can cause future trouble. If you want then I can make this in react


Can't paste in VMware Workstation

Is there a way to make it possible? I use WMware workstation 17.0.0.
Trying to use the new version of ClickPaste [v1.1.0] with HotKey. Same, not working.

I used it in VMware all the time.  Hot key won't work because it will be grabbed by the VM.
Right after you select click the target, you might have to click it AGAIN to get the focus to really go inside the VM guest to the right place.

Alas I don't have VMware any more to test against.

I've used this to copy from my workstation and then paste it to a VDI. I have to run the VDI in Window mode, not full screen. After clicking on the CLickPaste Icon from my workstation and moving my mouse to the VDI, the crosshairs go away, but if I click within the space of the VDI such as an app or some password window ClickPaste pastes everything in the area as if it were typed. Should work the same for VMworkstation.  I've also tested this with Hyper-V,

I'm having a similar issue but with parsec, not vmware. I guess parsec session or the vmware session are capturing the clicks, so you can't "click" the window and start the paste? The crosshair shows up again if I mouse outside of the parsec window as if I hadn't clicked it at all.

  Otherwise if your VM windows are running in a UAC elevated context and clickpaste is not, the UAC window will not listen to our messages.


BPDM dbs update postgress version 11.9 to 12.x.x

like written in the TRG the BPDM Postgress databases needs to be updated
https://github.com/eclipse-tractusx/bpdm/issues/764
https://www.postgresql.org/docs/current/app-pgdump.html

[ ] with using the helm-hook a migration of data could be considered
[x] due date 2 weeks before QG4 Rel. 24.05

Postgres dependency now updated to the version 12 but no automatic migration performed. However, this limitation is noted in the changelog and release notes.


Update README.md

Solution for this old PR that I totally forgot #53
@vishesh Is that what you wanted?

@Poussinou Looks good. Thank you!


Feature/ju 30 java 21 migration

Creating MR to start the new Concourse pipeline

CI: No IaC security warnings found

CI: Security warnings found!


Jacobian byproduct assumed to be constant in x - incompatible with higher order AD

Currently the byproduct z is assumed to be a constant in x. In optimization, z may be used to return a Jacobian approximation for use in the conditions function. This is fine as long as we only need the gradient of the optimization solution y. If we need higher order derivatives, then we would need to propagate the derivatives back through the byproduct z which is currently not possible because we always define the cotangent wrt z to be NoTangent(). I am not sure if there is a way to handle this correctly except to document it perhaps.

It is already documented in the ImplicitFunction. Maybe we add it to the FAQ?

I'm pretty sure this is not fixable. If we want a derivative for z then we have to

either assume that forward is differentiable, which negates the purpose of the package
or write another implicit equation for z, which is a recursive nightmare

I vote to stick with this nondifferentiable behavior and make it very explicit in the docs

I agree at least until a solid use case comes along, there is no point supporting that super niche use case.


Respect MinimumWaitDuration and do exponential failure backoff

Modifies how the database Update function behaves by having it return
a delay that changes the amount of time between updates. By default
this will either be MinimumWaitDuration or the configured UpdatePeriod
plus a random jitter.
If the update api fails, then it will now keep track of the number of
times it fails and do an exponential failure backoff. The initial retry
is around 15 minutes after the failure and it goes up from there.
This should attempt to satisfy #44 and #33.

I should be in the Cloudflare CLA now.


Enable Nuage provider by default

Until now Nuage provider was not mature enough to have it "turned on" by default. Therefore a setting was introduced:
:product:
  :nuage: false/true

This setting is currently used to hide the "Add New Manager" button on the Network Managers page on the UI when Nuage is not used:
https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/helpers/application_helper/button/ems_network.rb
However, Nuage provider has recently obtained all the required stuff (graph refresh, targeted refresh, event catching) and it's ready to be turned on by default. Therefore we're setting the setting to true from now on.
@miq-bot assign @blomquisg
/cc @gberginc

Hey @miha-plesko. I think this PR is not failing because of your changes. Can you close & reopen?
@blomquisg Is this something we should include in the core or should this remain a feature that needs to be enabled in user's settings?

This should live inside the nuage repo.  See the config/settings.yml file in the Amazon provider for an example.
You might notice that there have been two different settings that we've used for this sort of thing.  Amazon is using Settings.prototype.amazon.s3 while Nuage is using product.nuage.
For your setting, because the UI is already depending on product.nuage, leave it like that.  Just move this one config to the nuage-specific settings.yml file (create one if it doens't already exist).

@blomquisg I've created a separate PR on the Nuage provider that adds this setting there - I didn't know it was possible.
As I don't have the correct right, I will mark this as WIP for now to prevent it from being addressed. Feel free to close if @miha-plesko does not.
@miq-bot add_label wip


Control the separation of import groups as mentioned in #36

Add the possibility to control the separation of import groups as mentioned in #36
Motivation: You want to move "React imports" always to the top and only add a separator between node_modules imports and local imports.
import thirdParty from 'third-party';
import React, { FC } from 'react';
import {localstuff} from '../localstuff';
import otherthing from '@core/otherthing';
export const bla = "..."

should be formatted as
import React, { FC } from 'react';
import thirdParty from 'third-party';

import otherthing from '@core/otherthing';
import { localstuff } from '../localstuff';

export const bla = "..."

You can do this by specifying empty strings in importOrder in .prettierrc:
{
 "importOrder": [
    "^react",
    "^(?!(react|@core/))\\w+",
    "",  // use empty strings to separate groups with empty lines
    "^@(core|ui)/",
    "^."
  ]
}

Hi @ayusharma, any feedback highly appreciated. Is there any chance that this PR gets accepted or should I use a fork?

Hi @atombrenner, I really appreciate your efforts here. Sorry, We do not agree with this approach, This plugin's idea is to keep the separation between only third and local imports.  Please proceed with your fork. I do not think this implementation fulfil the general idea.

I'll re-open this PR due to the fact that it can help a lot of people and solve lot's of issues.
Considering v3, the idea is to either add new special words or options to the current one to create groupings.

Any progress?

This PR gives more flexibility and does not break previous behaviours. (unless you put empty lines)

Any chance we can get this merged soon 🙏

For those who need this, it has been released in a fork, https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v3.4.0.

You can use regex for grouping specific libraries like =>
	importOrder: [ 		'((^|, )(react|react-native))+$', 		'<THIRD_PARTY_MODULES>', 	],

It's clear there's a fair amount of support for this one, any ideas on ETA?

I changes the base branch to v6. Let's release it there. Any change @atombrenner can update the branch?


Update nginx.conf

@danwood1992 this should fix the issues. You don't need to set CSRF_TRUSTED_ORIGINS as it will all match up but that setting and that header on nginx should ensure this matches. Hopefully this should fix it.


Use of "window" on disqus.component breaks angular universal

This line "if (this.window.DISQUS === undefined) {" on disqus.component.js causes angular universal to break, it would be nice if you guys could change it so it plays nice with universal.

window, document, navigator, and other browser types - do not exist on the server - so using them, or any library that uses them (jQuery for example) will not work. You do have some options, if you truly need some of this functionality:
If you need to use them, consider limiting them to only your main.client and wrapping them situationally with the imported isBrowser / isNode features from Universal. import { isBrowser, isNode } from 'angular2-universal';

from https://github.com/angular/universal#universal-gotchas

Hi @ferares, which the version are you using 1.0.3 or 1.0.4 ?

1.0.3 @MurhafSousli

You seem to have a window.service, but i'm not sure you're using it

@ferares ofcourse I'm using it, but universal doesn't recognize window, I haven't test it on universal. but I will try a trick in the next update and you tell me if it works

@ferares try 1.0.6 and let me know

@MurhafSousli
now the issue is on line 38 "script.setAttribute('data-timestamp', new Date().getTime().toString());" of disqus.component.js
"TypeError: script.setAttribute is not a function"

I think changing the line to "this.renderer.setElementAttribute(script, 'data-timestamp', new Date().getTime().toString());" fixes it

@ferares I'm closing this one as fixed. the new issue should be in a separated thread.
As I mentioned I haven't worked with universal yet, so it's difficult for me to tell, but I suggest you try to find the correct fix in within your project, then fork this repo update with your fix and then open a pull request and I will review and merge it :wink:

Did you fix this angular universal issue ? Its still breaking the server side rendering

@ranavc32 I mistakenly removed universal support, It is fixed now in 2.1.1

Okay , Thanks for the update @MurhafSousli . I will try this version and let you know how it goes.

Its working nice, still while building solution its showing a warning saying it will cause problem in
angular 5.X.
Thanks Man :)