Fix FORTRAN type mismatch on allocate_pointer calls.

There was a type mismatch on the allocate_pointer calls.  UM-351.
Code was passing in an INTEGER, and interface was expecting a INTEGER(C_SIZE_T).   Some compilers, like GNU, don't enforce this, but other compilers (XL) issued an error message on the mismatch.
I updated the shroud generator script, but do not know how to produce the generated bindings.  For now, I manually updated the generated files.  Before this pull request is merged I need a team member to inform me how to regenerate the bindings and test that.

@davidbeckingsale - Should this be merged?  Need an approval if so

Yes, we can merge it - I was waiting for you to update the CHANGELOG.

Oh yeah, forgot about that.  Ok, changed it.

Aaron

From: David Beckingsale<EMAIL_ADDRESS>Reply-To: LLNL/Umpire<EMAIL_ADDRESS>Date: Monday, May 20, 2019 at 12:45 PM
To: LLNL/Umpire<EMAIL_ADDRESS>Cc: "Black, Aaron C."<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [LLNL/Umpire] Fix FORTRAN type mismatch on allocate_pointer calls. (#122)
Yes, we can merge it - I was waiting for you to update the CHANGELOG.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/LLNL/Umpire/pull/122?email_source=notifications&email_token=AELLW42TBGPDIDVXW2PQAODPWL5UJA5CNFSM4HLVBN6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZ35UI#issuecomment-494124753, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELLW47X27UTNGIFYOY7XZLPWL5UJANCNFSM4HLVBN6A.


add the ability to ignore absolute paths from watcher

(This PR builds off https://github.com/broccolijs/broccoli/pull/473, for a smaller review see only https://github.com/broccolijs/broccoli/commit/5fda57e0645855fcd0186af9919af7e0caea8f26.)
This adds an option to mark certain absolute paths as ignored by the watcher.
The motivation here is that if you want to be able to rebuild arbitrary node packages (which can put their source code at the top level of their project if they want to), and those packages emit build artifacts into some of their own subdirectories (like dist as used by ember-cli), you end up watching your own output.
In this situation, it is straightforward to know which path(s) are your own output, and tell broccoli not to watch them.
sane's ignored option is perfect for this, except that it's always relative to the watchedDir, so broccoli's Watcher must translate.

FYI - Just landed https://github.com/broccolijs/broccoli/pull/473, doesn't seem like this needs a rebase though.

Released in https://github.com/broccolijs/broccoli/releases/tag/v3.5.0


Keep registrants from brute-forcing SMS OTP verification

@DRvanR :eyes: Similar to SS. Agree with 806e9d198f274e7eb513d658d104d8e706f7c3e3?

IIRC the max retries to be configurable was on request, so would consult SURF before removing that.

bar confirmation on the removal of the max retries, :+1:

Removed removal of maximum OTP requests for maintenance sake (same code in SS).


[PE-D][Tester D] Duplicate persons not detected accurately

"John Doe", "John doe" and "John  doe" are likely to be the same people, but these duplicates were not detected by the product though exact name matches were detected. Thus, the feature does not work as expected.
It may be good for the product to give a warning in such near match cases so that the user can make the final decision.

Labels: type.FeatureFlaw severity.Low
original: nickeltea/ped#4

Thanks for the report. However, this feature will not be fixed as of v1.4 due to feature freeze.


Fixes order and deliveryman find command issues and fix commands examples

Updated:

Deliveryman find command and order find command to do partial string match
To throws ParseException when invalid date is given on order find command dt/51-10-2019
To throws ParseException when empty fields are given for deliveryman find command. E.g. n/
Update commands example
Update UserGuide

https://github.com/jinyingtan/main/blob/Issues-PEDRY/docs/UserGuide.adoc

Fixes: #134 , #143 , #150

Pull Request Test Coverage Report for Build 330

9 of 9 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 87.616%

Totals

Change from base Build 329:
0.02%

Covered Lines:
2844

Relevant Lines:
3246

💛  - Coveralls


Use cache in windows clippy job

Place the Swatinem/rust-cache@v2 step after setup-dev-drive.ps1 to ensure the correct directories are cached.

Compare https://github.com/astral-sh/uv/actions/runs/11696928991 (after this PR) with https://github.com/astral-sh/uv/actions/runs/11696831053/job/32574578634 (before this PR), we can see the Downloaded step in cargo clippy has been skipped.


Implementing Proof of Concept test for Replay Attack indicating Security Leakage

Signed-off-by: Sudheesh Singanamalla<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 593811516

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.608%

Totals

Change from base Build 576315660:
0.0%

Covered Lines:
213

Relevant Lines:
457

💛  - Coveralls


Release Google.Cloud.AIPlatform.V1 version 2.24.0

Changes in this release:
New features

Add CompositeKey message and composite_key field to FeatureViewDataKey (commit 0fd7d02)
Add point_of_contact to Feature message (commit d4ab784)

Created release for Google.Cloud.AIPlatform.V1-2.24.0


Add API docs for SQL, JDBC, and MySQL Connectors

Description:
Currently we don't have API docs for these connectors, and we have to add it.

Added in https://github.com/ballerina-platform/ballerina-lang/pull/24037


Edit problematic card JSON syntax

I edited the JSON syntax of beast-hardheaded and robin_hood-unrivaled_archer. They should now be found by the API as all the other cards. Also checked all the other values and corrected where necessary.

Hi @Dogloverblue I tried to present all the changes in 1 commit, but it didn't seem possible as 1 commit can only be related to 1 file? It seems to me 1 commit per file and then merging all commits to 1 pull request is the way to go?

It's totally not a big deal 😁. Don't worry about it man.
I assume it's because you're using the GitHub website to do commits, which is pretty limited on what you can do. It is not a problem though, just slightly different.


feat: add github action for running tests

Issue # (if applicable)
Closes #.
Reason for this change
We need a mechanism for testing new changes.
Description of changes
Adds a github action to conduct tests.
Description of how you validated changes

Checklist

[x] My code adheres to the CONTRIBUTING GUIDE

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Regarding item 1, I've updated the config to run the job nightly.
Regarding 2, we're planning on using the current approach for now.


Speed up interpolation in ensemble_copula_coupling.ConvertProbabilitiesToPercentiles

Speeds up ConvertProbabilitiesToPercentiles by around 1.7x when tested on real data. Also can use multithreading for further speedups.
Testing:

[ X] Ran tests and they passed OK
[ X] Added new tests for the new feature(s)

@btrotta-bom I took your timing example from the ResamplePercentiles PR and used it to test this PR. I found the numba method to be around 25 times faster than the slow method, which is a significant speed up, making this very worthwhile.


Keyboard is overlapping input on iOS with KeyboardAvoidingView

Bug description:
The keyboard is overlapping an input inside a WebView on iOS only, with the property scrollEnabled set to false and wrapping the Webview inside a KeyboardAvoidingView component.
The KeyboardAvoidingView component is doing his job by adding bottom-padding and the web page has a scrollview that allow the user to scroll when the screen shrinks, but the web page is not automatically scrolling to display the input when the keyboard is displaying.
The Android app has no issue, it is not using the KeyboardAvoidingView component and it has android:windowSoftInputMode="adjustResize" inside the AndroidManifest.
To Reproduce:
The code looks like this :
<KeyboardAvoidingView
  behavior={isIos ? 'padding' : null}
  enabled={isIos}
>
    <WebView
          androidLayerType={'hardware'}
          hideKeyboardAccessoryView={true}
          domStorageEnabled={true}
          cacheEnabled={true}
          overScrollMode={'never'}
          scrollEnabled={false}
          originWhitelist={['*']}
          source={{
            html: `

                <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0" />

Start

                  <input />

          `,
          }}
        />
</KeyboardAvoidingView>

Expected behavior:
The webpage should automatically scroll to display the input when the keyboard open on iOS.
Screenshots/Videos:
On iOS:

On Android (how it should work):

Environment:

OS: iOS
OS version: iOS 14
react-native version: 0.64.2
react-native-webview version: 11.13.0

Your code sets scrollEnabled to false. From the docs:

Setting this to false will prevent the webview from moving the document body when the keyboard appears over an input.

Have you tried setting it to true?

@TheAlmightyBob
Thanks for your reply !
Yes, when I set it to true, the screen is moving well. But then, 2 scroll bars appear: the one from the WebView component and the one from the web page.

And I only want the web page handling the scroll, not the component.

That seems like more of an issue with the web page to me, although I'm not an expert there. But the few times I've seen this sort of thing in the past, it was an issue with the web page (which meant it was somebody else's problem so I don't know any more than that).
Unless you have the WebView wrapped in a ScrollView and you're seeing the scrollbar from that...?

Hi, I m facing the same issue, but not in react native, I m testing my web app on different devices using browserstack, and on android devices, when i use to add comment, keyboard overlaps the text field, How can I fix this issue in react js

@theofournier any solution to this problem?


Refactor deploy

This means that the default resources will be applied even if a Bravefile is not loaded from disk using the Load method. If the Bravefile is missing the resource limits the defaults will still be applied.

This is the right way of doing it, but doesn't cover the full extent of the brave deploy logic:

If brave deploy is run without parameters, search for a Bravefile in the current directory. If it exists, deploy from that. If not, fail.
If brave deploy IMAGE, deploy specified image name and apply default unit settings. The image and default settings should be applied even if there exists a Bravefile in the current directory. The idea is that if ANY command line arguments are given, they take priority.

Open to suggestions here though

Made the changes. Now if any CLI args are passed, Bravefiles will be ignored.
Improved error handling (such as forgetting to pass --name to deploy when using CLI) and simplified the code.


[SPONSOR] Add a new option in Options column that will present the visits history

In the options we should have 2 links:

Preview Consent
Preview Visits & Procedures

when trying to see a visit file that is inherited

all good


Auto pattern matching with color highliting

Is your feature request related to a problem? Please describe.
Just like any code editor, having some predefined code and colors would be great.
Describe the solution you'd like
As we can't know in which language user will write, we can save some common keywords and leave the rest (keyword he/she wants to add for highlighting) to the user to implement.

Hello @Chandra-Sekhar-Bala,
Thanks for your suggestion, but there are some reasons that I didn't add patterns by default for example

What pattern should be included by default?
If we add patterns for numbers by default for example [0-9]{1,} this pattern will convert regular integers but in most languages, integer tokens are not just digits you may include the type formal such as 100i32 or 100l so if you want to config CodeView for java, for example, should remove our default pattern then add a new one, or add a new one with the same color of default one

What color (theme) will we use for the default patterns?
Everyone has his own theme depending on his UI colors, what color should we use? and the user will again try to remove old patterns and then add new patterns with the color he wants

The easy solution If you want to have a predefined pattern you can create a default config in your app that declares them, and then you can add/remove extra patterns, also in the sample app you can find many different patterns and can easily inspire from them

You are right, there will be many issues giving so many things out of the box. Also if a developer gonna use this, we might assume that he/she is able to do this much setup work for themselves. Thanks :)


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2527

Questions ?
Please refer to the Backport tool documentation


chore: use Node.js latest current release (v14) on travis

Also: Not sure what happened to the formatting, but prettier thinks that
this is correct now.
Attention: We can only merge this PR after we have released a new Hops version with updated engines field that allows Node.js v14.

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

bors merge


fix servlet startup sequence, fixes #2681

also properly stops http client on shutdown

:+1:

:+1:


Custom model binding

Review URL
Fixes #1681

@ardalis,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@tdykstra  do you want to do the EU review before/during/after the TR?

@Rick-Anderson There are advantages both ways, so either way is fine, whoever gets to it first.

I've responded to all feedback - just one outstanding question for @rynowak about how to specify the argument name when using a ModelBinderProvider (ideally without resorting to adding an attribute to the parameter list, since the point was to not have to use attributes).

@Rick-Anderson @rynowak Ready for :shipit: ?

I think so

@ardalis  hold on we need to do a FULL UE pass. @tdykstra  should I do this or do you have time?

Did you want to say anything about testing the sample with postman? If not, remove the postman image if you're not using it.  Might be nice to have some notes in the code telling folks how to test it (or in the article)

Hopefully good to go now, @Rick-Anderson

@ardalis  are you going to squash/merge or should I?

Thanks, @Rick-Anderson !

@ardalis We're getting build errors -- invalid links that appear to come from this PR:
In aspnetcore/mvc/advanced/custom-model-binding.md -- Invalid file link:(~/mvc/advanced/custom-model-binding/sample/CustomModelBindingSample/README.md).
In aspnetcore/mvc/advanced/index.md -- Invalid file link:(~/mvc/advanced/custom-view-engine.md).

I'll check it out and send a PR.
On Mon, May 8, 2017 at 11:08 AM, Tom Dykstra<EMAIL_ADDRESS>wrote:

@ardalis https://github.com/ardalis We're getting build errors --
invalid links that appear to come from this PR:
In aspnetcore/mvc/advanced/custom-model-binding.md -- Invalid file
link:(~/mvc/advanced/custom-model-binding/sample/CustomModelBindingSample/
README.md).
In aspnetcore/mvc/advanced/index.md -- Invalid file link:(~/mvc/advanced/
custom-view-engine.md).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Docs/pull/3275#issuecomment-299894169, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAvvLw7TCxmGzDK5mqi3oDYjcyJ_FoANks5r3zABgaJpZM4NIE2U
.

--
Steve Smith
http://ardalis.com | http://twitter.com/ardalis


Make text widgets on Cupertino app have a white color by using the theme

https://github.com/flutter/flutter/issues/48438

Look into just using a Material app and cupertinoThemeOverride instead


fix: replace useSpread with useBuiltIns

Add support for https://github.com/swc-project/website/blob/master/pages/docs/configuration/compilation.md#jsctransformreactusebuiltins which I think must have replaced useSpread, an option I see no documentation for or mention of in https://github.com/search?q=org%3Aswc-project+useSpread&type=code except that it seems to be some removed option.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Suneil Nyamathi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Please sign the CLA.

@g-plane done


update events

There are still some issues with the Events that I can work with Brian on if desired. Otherwise, let's get this approved and merged so that the current dates are there.

Merging to get it done..


FsiEvaluationSession arguments

The documentation for embedding F# interactive suggests you set up the session like this:
let argv = [| "C:\\fsi.exe" |]
let allArgs = Array.append argv [|"--noninteractive"|]

let fsiConfig = FsiEvaluationSession.GetDefaultConfiguration()
let fsiSession = FsiEvaluationSession.Create(fsiConfig, allArgs, inStream, outStream, errStream)

Some questions:

the path to fsi.exe is ignored, indeed the path argument can seemingly be omitted altogether and I found a post on StackOverflow from someone saying the same thing. However looking through the code I found the line

ParseCompilerOptions (collect, fsiCompilerOptions, List.tail (PostProcessCompilerArgs abbrevArgs argv))

so does that mean that if you do not include a dummy fsi.exe argument then the List.tail call will throw away the first of your real arguments? Is the purpose of the first argument soley as a sacrificial victim for the call to List.tail?

Looking in the code the "--noninteractive" flag gets mapped to a property that determines whether a background thread is started to watch console input and/or stdin. Is the idea that people might make their own fsi based console? Naively it seems like noninteractive should be the default, because I would have thought most users of F# compiler services do not want to start a background thread watching stdin when evaluating scripts in their host application?

(1) - Yes.  It's somewhat historical. I don't think it's particularly worth changing now though?
(2) - Yes, that would be better.  The code was carefully extracted where most console-related parts went to the Fsi sample, but this remains.

I'm not sure if it is possible to change it now without breaking backwards compatibility. However it is rather confusing, and it may be that people omit this first parameter and then inadvertantly their first real argument will be ignored.

I could create a PR which just sets the default of interactive mode to false? Or maybe it would now be better to just leave things as they are now. And if it is changed then there might need to be a new flag to enable the background thread in case someone does want it.


[Fix #3598] Don't auto-correct between x.nonzero? and x != 0

The two expressions are not equivalent. x != 0 returns true or false while x.nonzero? returns self, i.e. x, or nil. The user needs to be aware of these changes by making them manually. That way a breaking change is easier to spot.

I wonder if we should flag this as an offense at all. Users are always confused when something's reported as an offense but not auto-corrected.

Users are always confused when something's reported as an offense but not auto-corrected.

Are they? We don't have auto-correct for everything, so I didn't think that would be a problem. The reason I wanted to keep the reporting is for consistency. If we say that x == 0 should be changed to x.zero? (and auto-correct it), then we should say something about x != 0 too.
I hope that in the future we can determine when it's safe to auto-correct to x.nonzero? and do so. Until then we either skip auto-correction, as per my suggestion here, or we auto-correct to !x.zero?.

we auto-correct to !x.zero?.

I'd prefer this over skipping the auto-correction.

Okey-dokey.

Ah! I just realized that while x != 0 can be reliably corrected to !x.zero?, we would have to correct x.nonzero? to x != 0 ? x : nil if EnforcedStyle is comparison, and it gets messy if x is a call with possible side effects.

 :D

What this boils down to is that I propose that we go with my initial suggestion, and skip auto-correction in these special cases.

I continue to think that if we won't be auto-correcting it we shouldn't be reporting it as an offense to begin with. It simply looks extremely odd to me - we can't even agree whether this "predicate" should be used or not. :-)

Then I'll remove that reporting so we at least get rid of the dangerous auto-correct.
Maybe later we can make the behavior configurable, or come up with a solution that can determine whether the expression is used as a boolean or not.

Done.

Can you rebase this on top of the current master?

Rebased.


Implemented profile page, CSS changes

As discussed, this PR contains

A basic implementation of a profile page,
Minor changes to the base CSS: Moved splash page link styles to base CSS, changed base CSS to use the Twitter font by default rather than defining a class (also, added a bold class in case the bold font needs to be used). The existing code has been updated to use the new styles.

Need to fix tests to adjust for the removal of className.


Moving divider side-to-side in markdown preview sync is choppy

Testing #19082

Open md file side by side w/ preview md file (choose a decently sized file like the cpp docs)
Try resizing preview horizontally by moving divider side-to-side

-> choppy experience

Removed this feature with 8396a11  as it is too choppy. It helped maintain your position in the document better but I'll investigate another approach


enh: add workshop nb for WS1 anatomy

Add first workshop on anatomy of a plot. See info in #2
To do

[x] Basics of plotting (take from previous sciviz workshop) plt.plot etc
[x] How to save figures (formats, resolutions)
[x] Add anatomy of a plot from matplotlib

[x] All in one
[x] Step by step
[ ] Changing figure ratio, adding sub-plots, etc.

@lucaswittwer Feel free to edit this! It could be improved in many ways I am sure.


Failures on [co19] Roll co19 to 96b727142502dfcc8d26d90579f9e87eff999dcb

The following failures need triaging and are likely to be caused by the yet incomplete implementation of the patterns desugaring.
There are new test failures on [co19] Roll co19 to 96b727142502dfcc8d26d90579f9e87eff999dcb.
The tests
co19/LanguageFeatures/Patterns/map_A01_t03 RuntimeError (expected Pass)
co19/LanguageFeatures/Patterns/record_A01_t02 RuntimeError (expected Pass)
co19/LanguageFeatures/Patterns/record_A01_t05 RuntimeError (expected Pass)
co19/LanguageFeatures/Patterns/wildcards_A01_t03 CompileTimeError (expected Pass)

are failing on configurations
dartdevk-strong-linux-release-chrome
dartdevk-weak-linux-release-chrome
dartk-strong-linux-debug-x64
dartk-strong-linux-release-x64
dartk-weak-asserts-linux-debug-x64
dartk-weak-asserts-linux-release-x64

Also two tests started crashing, co19/LanguageFeatures/Patterns/record_A01_t02
co19/LanguageFeatures/Patterns/record_A01_t05

The test failures tracked by this issues appear to be fixed.


Are the results for the original (non-surprise) training set also required?

I noticed that the systems template directory also has results for the original training set of 10 language groups. Do we need to generate the results for these as well?
@rwsproat, @ckirov

I'd find this interesting, and it would make it more complete.

Thanks! We're started working on this. May not make the strict deadline, but hopefully the results for the training data are going to be finished in two or three days. Our fifth system (n2) trains for ages on my box.

This is absolutely fine. My hope is to provide individual and general
results on Wednesday, April 27 for the surprise data and all systems,
using again a makefile that does this in one run with code from our
library and automated plots with matplotlib. So once training data is
available, this can then also be added, but training results are more
for us to check how things perform in general, etc., I would say we do
not need to report them in the papers for each system.


Releases on github

:frowning_person: Problem Statement
This project doesn't use github to release official apk. As of now the most official sources for apk are Google Play and F-Droid. Neither are recommended for privacy [1]. Further apps in the official F-Droid repository often fall behind on updates [2].
:grey_question: Possible Solution
Release official apk with github release. We already have the version tags.
This would mean that the most up-to-date apk would always be available via github releases.
:arrow_heading_up: Describe alternatives you've considered
Forget about privacy and up-to-date releases?

I am all for it. Ideally automated. Help would be very much appreciated with this!

Err, should the priority be to release on GitHub or would you agree that the f-droid release should first catch up with the play store release?
In detail, the current release on f-droid is 12 Months old, and battles should be picked wisely. I'd prefer the latest build on f-droid over GitHub any day, if I had to choose between either, tbh.
But that's just me, I'm open to thoughts on this.


Add favicon.ico to all templates

I vaguely remember we purposely don’t add a favicon.ico to our templates because we don’t want merchant’s site launching with a hydrogen logo just because they forgot to provide one themselves

We already provide a favicon.svg this just adds the .ico version


Feature/incident bulk edit

For "Mark Open," do you mean "Mark Active?" Or are you changing the visibility?

For "Mark Open," do you mean "Mark Active?" Or are you changing the visibility?

You're right @forestmonster I've changed it to active.


When set to cellular, it does not jump on to wifi.

Hi,
Thanks for the configurator!
I have the following issue:
If I am on cellular, then it will be connected to the VPN over cellular internet. Once I get on my wifi it seems that the VPN over cellular is still active and is the primary internet. Is that  a common thing or have I done something wrong? I would expect the logic to disconnect VPN over cellular and connect over WIFI once the phone is on WIFI.
Thanks.

This is common.  If you had any persistent connections open or downloads in progress, people likely would not want them terminated.

This is common.  If you had any persistent connections open or downloads in progress, people likely would not want them terminated.


change rotation?

for some reason it's rotating my stl file in the wrong direction... would be nice to be able to change the rotation angle

Thanks for flagging! Would it be easier to have "Rotate Z", "Rotate Y", and "Rotate X" for rotation options?

That would be great! right now it's rotating in a way that can't really be
used.. and if there was a way to export html/js so i can embed the rotation
on website that would be great!
speed option would be great!
follow mouse would be great!
On Tue, Feb 13, 2024 at 1:24 PM Andrew Sink @.***>
wrote:

Thanks for flagging! Would it be easier to have "Rotate Z", "Rotate Y",
and "Rotate X" for rotation options?
—
Reply to this email directly, view it on GitHub
https://github.com/AndrewSink/STL-to-ASCII-Generator/issues/8#issuecomment-1942584824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGEDWHR3SXDC6COI4QJVCNTYTPK2RAVCNFSM6AAAAABDGTLQTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSGU4DIOBSGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@AndrewSink - I will be honest! I was hoping possibly you would make this a usable component. (Just was playing around with your project to see if I could turn 2D text into a 3D for animation purposes.
That said - so you don't get hyped up tho! I don't think I will be committing to this project - just found it in hope's I could grab a raw ASCII file for some playing I am doing lol


Added BGFX wrapper

In beta. -Enjoy!

Please add your entry to the bottom of the file

Made the change. Sorry about that.

no problem :)


Remove inaccurate Last Change

"Last Change: " can not keep up with the update, so do not erase it?
I think that it is better to delete "Version:" as well.
How about transferring " syntax/plantuml.vim  TODO:" to Github Issues?

Hi, Thanks for the fixes!
Thanks for the fixes and good suggestions.  These headers needed an update!
Also, I think that there are very many strange plantuml keywords...

Thanks!

Also, I think that there are very many strange plantuml keywords...
I will fix it when I notice it.

Sounds good.  Are you using plantuml a lot?

It depends on work.
Unfortunately, there seems to be no opportunity to use for a while.


feat(console): dynamically size task details field list

Motivation
Currently, the task details view always gives the list of fields 50% of
the vertical space. This isn't a particularly effective use of space
when a task has only a small number of fields --- we end up wasting a
lot of the vertical real estate that could be used for something nicer.
Solution
This branch changes the layout of the task details view to give the list
of fields a Min layout constraint with the length of the list of
fields plus the border width. This way, when the list of fields is
short, we don't waste a bunch of vertical space on blank lines.
Now, we have a bunch more vertical resolution for drawing a nicer
histogram.
Screenshots
Before:

After:

Maybe the histogram looks too stretched out in the second case and we should give it a percent constraint additionally...would love to hear if anyone has thoughts on this.

@hds i wonder if it's worth resurrecting this after your changes to add additional histograms to the task details view (#409) merge?

I'm happy to look into this after I've finished the scheduled time histogram (and the related docs change). I can pull this branch into my own or if you like you can give me permissions on this branch and I'll work on it here.

Let's just get #409 through first, and then I can rebase onto main. :)


Rebasing with upstream

It's unclear to me why there are so many files that appear changed when I didn't make all these changes. What I did here was rebase this code on the upstream. So those commits are now present, the number of file changes really looks odd.  I can definitely see that files changed upstream are appearing as changes here.

It's unclear to me why there are so many files that appear changed when I didn't make all these changes.  What I did here was rebase this code on the upstream.  So those commits are now present, the number of file changes really looks odd.

I did build quicr/transport with this branch. It did build OK.

Closing for now since PR #9  updates master with other bug fixes.


Updated the screenshots for Quickstart guide

Fixes Issue
Closes #4999

Changes proposed
Added new Screenshots that align with information given in docs , and removed the old screenshots which showed the avatar property .

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
Had to remove the earlier PR due to some technical issue made this one keeping in mind all the requirement suggested earlier.

Hey ,@eddiejaoude  Sorry had to close that pr due to some issue made this one as per the suggestion we finalised in the previous PR's discussion.

The second image appears to be missing the code lines and a few other details. Also, compared with the previous ones, they look kind of blurry. You might want to update that.
Any help, let us know. 🙂

Thank you for the feedback i'll just change it with a better resolution one.

The second image appears to be missing the code lines and a few other details. Also, compared with the previous ones, they look kind of blurry. You might want to update that.
Any help, let us know. 🙂

Do you want me to change both the pictures or only the second one as it's resolution is not that good as compared to the first one .

Due to difference in the picture resolution and my laptop screen being not FHD it looks like it is of low quality . However i have tested the image quality on a local sever and it looks of same quality as older SS .

This image is taken from my laptop so it looks fine

Due to difference in the picture resolution and my laptop screen being not FHD it looks like it is of low quality . However i have tested the image quality on a local sever and it looks of same quality as older SS .

While i have edited the old SS and remove the avatar just by cropping a small bit of picture from the top . There is no quality issue when testing on a locahost

This also looks fine.

Waiting for you feedback @Panquesito7 before I commit these changes.

Guys, I’ll complete the requested changes once I am free , I am busy with my uncle he is hospitalised. My laptop is not with me also

I’ll complete the requested changes once I am free , I am busy with my uncle he is hospitalised. My laptop is not with me also

@MAYANKpandey14 no rush, when you get time. I hope everything gets better

Hi @MAYANKpandey14! :) Here are the suggestions that I made.

Thank you for your feedback ,I agree with your suggestions. They will make the docs better and more user friendly.
Nice collaboration @CBID2

Hi @MAYANKpandey14! :) Here are the suggestions that I made.

Thank you for your feedback ,I agree with your suggestions. They will make the docs better and more user-friendly.
Nice collaboration @CBID2

You’re welcome!

Thank you Eddie , CBID2 and kumarsonoff3 👍🏼

Thank you Eddie , CBID2 and kumarsonoff3 👍🏼

Anytime @MAYANKpandey14! 👍🏾


add sample webapp and resource in the same application

Refs:  https://github.com/Azure-Samples/azure-spring-boot-samples/pull/5

Hi, @backwind1233 , please help to review this PR.


Used memory metric should be peak memory usage for process

usedMem should be the peak memory usage for the process and freeMem should be totalMem - usedMem.<!--
If you are reporting a new issue, make sure that we do not have any duplicates
already open. You can ensure this by searching the issue list for this
repository. If there is a duplicate, please close your issue and add a comment
to the existing issue instead.

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
-->
Description

Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):

Relevant: https://github.com/iopipe/iopipe-python/pull/161

Duplicate #123  ?

Closing in favor of of #123.


CI broken due to FX issue

Our unittest jobs started failing with the latest nightly from core (from the 14th)  with
Traceback (most recent call last):
  File "/root/project/test/test_backbone_utils.py", line 142, in test_build_fx_feature_extractor
    train_return_nodes, eval_return_nodes = self._get_return_nodes(model)
  File "/root/project/test/test_backbone_utils.py", line 130, in _get_return_nodes
    model, tracer_kwargs={"leaf_modules": self.leaf_modules}, suppress_diff_warning=True
  File "/root/project/torchvision/models/feature_extraction.py", line 253, in get_graph_node_names
    train_tracer.trace(model.train())
  File "/root/project/env/lib/python3.7/site-packages/torch/fx/_symbolic_trace.py", line 587, in trace
    self.create_node('output', 'output', (self.create_arg(fn(*args)),), {},
  File "/root/project/torchvision/models/swin_transformer.py", line 394, in forward
    x = self.features(x)
  File "/root/project/env/lib/python3.7/site-packages/torch/fx/_symbolic_trace.py", line 577, in module_call_wrapper
    return self.call_module(mod, forward, args, kwargs)
  File "/root/project/torchvision/models/feature_extraction.py", line 84, in call_module
    out = forward(*args, **kwargs)
  File "/root/project/env/lib/python3.7/site-packages/torch/fx/_symbolic_trace.py", line 573, in forward
    return _orig_module_call(mod, *args, **kwargs)
  File "/root/project/env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1131, in _call_impl
    return forward_call(*input, **kwargs)
  File "/root/project/env/lib/python3.7/site-packages/torch/nn/modules/container.py", line 139, in forward
    input = module(input)
  File "/root/project/env/lib/python3.7/site-packages/torch/fx/_symbolic_trace.py", line 577, in module_call_wrapper
    return self.call_module(mod, forward, args, kwargs)
  File "/root/project/torchvision/models/feature_extraction.py", line 84, in call_module
    out = forward(*args, **kwargs)
  File "/root/project/env/lib/python3.7/site-packages/torch/fx/_symbolic_trace.py", line 573, in forward
    return _orig_module_call(mod, *args, **kwargs)
  File "/root/project/env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1131, in _call_impl
    return forward_call(*input, **kwargs)
  File "/root/project/torchvision/models/swin_transformer.py", line 49, in forward
    x = F.pad(x, (0, 0, 0, W % 2, 0, H % 2))
TypeError: pad(): argument 'pad' (position 2) must be tuple of ints, not tuple

I'm unable to pin-point a specific PR in torch core though. Perhaps this is something  @jamesr66a  could help with? Thanks!

Adding some details that @vfdev-5 found on his investigation:
def foo(x) -> int:
    h = x.shape[0]
    y = int(h)
    return y

torch.fx.symbolic_trace(foo)(torch.rand(1, 2, 3))

Output:
Input In [50], in foo(x)
      1 def foo(x) -> int:
      2     h = x.shape[0]
----> 3     y = int(h)
      4     return y

TypeError: int() argument must be a string, a bytes-like object or a number, not 'Proxy'

@datumbox I think that problem is not related to the broken CI.
My laptop use: torch==1.13.0.dev20220531 and when I do both pytest test_backbone_utils.py -k swin_t and pytest test_models.py -k swin_t both passes the test. However I still get the same error TypeError: int() argument must be a string, a bytes-like object or a number, not 'Proxy' when I run the script.

I can't really point out which pytorch core PR that cause this problem, however I think this issue can be fixed by wrapping around the padding function with torch.fx.wrap. Here is a simple example to trigger the error (must use the latest nightly):
import torch
import torch.fx
import torch.nn.functional as F

class CustomModule(torch.nn.Module):
    def forward(self, x):
        bs, c, h, w = x.shape
        return F.pad(x, (0, w%2, 0, h%2, 0, 0))

m = CustomModule()
x = torch.rand(1, 3, 4, 4)
m_fx = torch.fx.symbolic_trace(m)

and here is the quick fix (although it feels hacky...)
import torch
import torch.fx
import torch.nn.functional as F

fx_wrapped_pad = F.pad
torch.fx.wrap("fx_wrapped_pad")

class CustomModule(torch.nn.Module):
    def forward(self, x):
        bs, c, h, w = x.shape
        return fx_wrapped_pad(x, (0, w%2, 0, h%2, 0, 0))

m = CustomModule()
x = torch.rand(1, 3, 4, 4)
m_fx = torch.fx.symbolic_trace(m)

@datumbox yeah, actually after trying to fix on the model file itself, it kinda harder to fix (the simple fix doesn't work).
Lets wait if anyone from the core team can help us on this.

Given that there were no recent updates on the FX area, the problem can be on the dispatcher or modifications affecting nn.functional.pad which is called in this case.
@vfdev-5 Could you please help us with a bisection to find the suspicious commit?

 Namely,
    * `THPVariable_size` now returns `sym_sizes()`
    * python arg parser is modified to parse PyObjects into ints and `SymbolicIntNode`s
    * pybind11 bindings for `SymbolicIntNode` are added, so size expressions can be traced
    * a large number of tests added to demonstrate how to implement python symints.
    Pull Request resolved: https://github.com/pytorch/pytorch/pull/78135
    Approved by: https://github.com/ezyang

This commit breaks the snippet from @YosuaMichael , https://github.com/pytorch/vision/issues/6166#issuecomment-1155511441

How much do you trust this repro test to capture all the breakage

@ezyang it's a very new test in a very new model. So perhaps if you want to add a smoke test on your side, you can take the Yosua's snippet above. It's an issue that we haven't seen before so it's hard to tell how many other issues it can capture.

If we replace in the model defintion offending place x = F.pad(x, (0, 0, 0, W % 2, 0, H % 2)) with pure integers : x = F.pad(x, (0, 0, 0, 0, 0, 0)), FX related tests are now passing with nightly pytorch:
test/test_backbone_utils.py::TestFxFeatureExtraction::test_build_fx_feature_extractor[swin_t] PASSED                                                                       [ 12%]
test/test_backbone_utils.py::TestFxFeatureExtraction::test_forward_backward[swin_t] PASSED                                                                                [ 25%]
test/test_backbone_utils.py::TestFxFeatureExtraction::test_jit_forward_backward[swin_t] PASSED

So, I think this is the only place that breaks the CI


close border gap on adwaita terminal header

The border radius of the adwaita terminal header bar is the same as its parent causing this gap. Subtracting the thickness of the border from the radius closes the gap.
before:

after:

Beautiful thank you.


Apply "Automatic" UpgradePolicy to all Helix VMSS

Apply "Automatic" UpgradePolicy to all Helix VMSS.
https://dev.azure.com/dnceng/internal/_git/dotnet-helix-machines/pullrequest/42875 enables applying "Automatic" upgrade policy to VMSS's, but the default remains at Manual.  This allows us to address KPI issues when they arise, but really, in the spirit of the effort, the default should be automatic instead of manual and any exceptions to that should be exceptional.  It's unclear which (if any) of our VMSS's which have enabled don't support an automatic upgrade policy.
Work to be done, determine which VMSS's do / don't support automatic upgrades.  Apply the policy as ubiquitously as possible.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

Per @ilyas1974, there should be an update coming to be able to handle this for us.


the link send me to a youtube video that is set as This video is private

[Enter feedback here]
at the end of the page we have this:
See also
Create and edit fields
Define rollup fields
Video: Rollup and calculated fields in Dynamics CRM 2015
when you click on the last link Rollup and calculated fields in DCRM 2015 it sends you to: https://www.youtube.com/embed/RoahCH1p3T8
which is a private Video so no further information can be obtain from this help page

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

ID: 3f56da79-f77a-7005-ed6e-f7c607c0f516
Version Independent ID: 3e3f23ef-6233-d4c6-78bd-fce678d8bd15
Content: Create a calculated field in Dynamics 365 Customer Engagement (on-premises)
Content Source: ce/customerengagement/on-premises/customize/define-calculated-fields.md
Service: d365ce-op
GitHub Login: @Mattp123
Microsoft Alias: matp

Thanks for your comment, @hittori-me. This issue has been assigned to the doc author for review.


ABORT_INVALIDARGNOTATOM for see(Stream)

If supply stream object to see/1, Trealla will error with ABORT_INVALIDARGNOTATOM, which is supported by GProlog, SWI and Yap. e.g.:
:- initialization(main).

main :-
        open('foo.pro', read, S),
        see(S),
        get_code(C),
        write(C), nl, halt.

Same as tell/1.

Fix confirmed, thanks.


Fixup action name for the GH marketplace

We seemed to have published to the marketplace previously with a description of the action vs the action name. This commit changes the name to simply setup-beam.
The link that is out there : https://github.com/marketplace/actions/setup-erlang-otp-with-optional-elixir-and-mix-and-or-rebar3
Additionally, if you search for setup-beam or beam this will action not come up. We may want to revise the description while we are here.

[x] I have performed a self-review of my changes
[x] I have read and understood the contributing guidelines

I did the first change to the name, and at that time I didn't look at the action.yml reference. The description was previously "Setup Elixir" 😄

Something like
  This action's goal is to set up a BEAM-based CI environment, with
  Erlang/OTP as a base, then optionally, Elixir, Gleam, `rebar3` or `hex`
  on top of that

?
I'm also Ok merging this now and changing the description in a subsequent pull request.

Bryan, I'm merging this to check if the verification process moves forward, and then I'll pr to fix the description 😄


correct logic for use_choco_list in chocolatey_package provider

Make use_choco_list actually not use choco list when set to false
Description
This fixes a regression that happened in a refactor, where the use_choco_list logic got flipped when changing how the global option worked.  Additionally, this fixes a bug that was introduced with multi-case package name compares not being downcased correctly.  The other half of the caching was the bigger win in my test environment, so i didn't catch the performance regression until I deployed the chef18 code more widely in our org.
Additionally, it didn't fail tests because the selection regression actually stopped the broken code from being hit at all.  This updates the tests to have the two mechanisms return different output, so the tests can tell that the correct one is being hit.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[ ] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[x] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

The buildkite failure doesn't seem caused by this PR, though I've been wrong about that before - it seems infrastructurey though... I'll try poking the job in the morning to see if that passes.

Waiting on chefspec fix before verify

@jaymzjulian if you could rebase just to be sure the chefspec issue clears up

is there a related issue?


4-5 lifecycle of reactive effects

4-5 lifecycle of reactive effects

4-5 lifecycle of reactive effects


This package doesn't work with RN 61.4

i followed documentation steps but push notification didn't work and allow notification popup didn't appear
https://github.com/react-native-community/react-native-push-notification-ios#getting-started

Having the same issue... doesn't seem to work in 0.61.5 either.

@EsraaMahmoudMohamed did you find a solution?

Hello, my first comments on GitHub issues in a open source projeto..
In Old Doc, I get this and work for me...
https://facebook.github.io/react-native/docs/pushnotificationios
At the top of your AppDelegate.m:
#import <UserNotifications/UserNotifications.h>

`- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
...
// Define UNUserNotificationCenter
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
center.delegate = self;
return YES;
}
//Called when a notification is delivered to a foreground app.
-(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler
{
completionHandler(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge);
}
`

Have the same issue with 0.61.2

It doesn't work with firebase, the registered tokens are not valid FCM tokens

I QUIT REACT NATIVE ! Full errors, few functionalities!

Closing this issue for triaging purpose.
If issue still persists, please provide a repository that reproduces the issue


Add installation info for LDC

(it's what I found on the forums)

DMD also supports GDC. Listing DMD and LDC in this way almost implies (by omission) that VisualD does not support GDC... No?

I'm just copying info from the forums that seemed to be missing. If you have more info, by all means add it :)

I agree, GDC should be mentioned, too. It had not received a lot of testing lately, though.
I'll merge this and add GDC, too.


Fix for #19 Error msg at the head of every JSON file

Had to do the other changes in order to build, package, and test properly.

Thank you for your pull request!
For security reasons, I am responsible for scrutinizing all modifications.
However, this modification of package-lock.json is too much to scrutinize.
Later I will update the package-lock.json, so could you remove this modification of package-lock.json from this pull request?

Sure, no problem. Coming shortly.

Removed package-lock.json changes.

If you want, I can also remove the version bump, I just needed that to be sure I was tested the right release package. Figured you'd need to version bump anyway, so I left it in.

I can also remove the version bump

Oh, please do that too!

done!

thanks!


Move info on third-party packages, template engines, companies, etc. off the site

Following up on @wesleytodd 's comment https://github.com/expressjs/expressjs.com/pull/1103#issuecomment-586562680

...move most of this content off of the website sometime and into something more like an "awesome list". It is tough to maintain the content we have now, and I just don't want to make the situation worse.

Anything we can do to make the site leaner and easier to maintain makes sense IMO!
@wesleytodd Can you elaborate on what you have in mind?

Related: https://github.com/expressjs/discussions/issues/105


test(yaml): Add some examples of valid routes

Codecov Report

Merging #892 (84d5866) into main (1965815) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 84d5866 differs from pull request most recent head 91d4e55. Consider uploading reports for the commit 91d4e55 to get more accurate results

@@           Coverage Diff           @@
##             main     #892   +/-   ##
=======================================
  Coverage   41.60%   41.60%
=======================================
  Files          46       46
  Lines        1430     1430
  Branches      293      293
=======================================
  Hits          595      595
  Misses        788      788
  Partials       47       47

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


feat: support fetching and showing fuels_version in fuelup show

closes #289
This doesn't really address the issue directly because it shows the compatible fuels version on a component level rather than the toolchain level, which I think is probably better.
I was contemplating between dealing with this on the toolchain-level or on the component-level, and it came down to where we wanted the logic for getting the fuels version to live.
The problem
Ultimately, trying to get the fuels version means we have to unavoidably fetch it from the Cargo.toml directly, whether we solve it on the toolchain-level or component-level.
On the toolchain-level, we could publish the info in our channels, but that means that on a component-level we do not know what fuels version is compatible.
On the component-level, we could fetch the info directly on the first installation, but that means in some areas of fuelup we have to hardcode the logic to fetch the info directly, which may be ugly (see). However this method is a lot more flexible and we can leverage the store by storing a fuels_version textfile that is cached in the component directory, rather than store it in the toolchain directory.
Solution
Ultimately I decided to go with shipping this feature using the latter method.
My justification:

In both circumstances we have to maintain some ugly logic that hard codes the URI of the Cargo.toml file to fetch and read the fuels version, so either way we would have to maintain such code. If we had chosen to ship this feature on the toolchain-level, we would have this logic in the build-channel script anyway. I'd say the upside of shipping this on the backend side means that we don't need new fuelup releases in the case that the URI changes, and that could be a strong case for NOT taking this approach.

The latter method also allows us to show the tested fuels version per component instead of per toolchain, which I think is better DevEx for users.

At this point of my thought process I'm not sure if there's any cataclysmic downside to doing it as such instead of the original proposed method. I'm still open minded as to the best approach, so let me know if there's some flaw in my thinking here!

This should be tested, but currently the tests are not aware of the store yet - created #411 to track this and prioritizing that, since that will require changes to the test env setup that doesn't concern this PR as a whole.

Seems reasonable

I merged the other PR that introduces testing to this PR - apologies but i'm going to have to re-request reviews soon


[go-micro]After upgrading to v4.10.2, [github.com/go-micro/plugins/v4/broker/rabbitmq] will no longer be able to listen and can only be sent.

[go-micro]After upgrading to v4.10.2, [github.com/go-micro/plugins/v4/broker/rabbitmq] will no longer be able to listen and can only be sent.

golang version = v1.20


Avoiding swagger validation

In internet isolated environments is impossible reaching the swagger.json file, and an error label is shown in the REST API Doc page.

Passing null as validator url, the module don't show the validation label as it does when is executed in localhost.

See windows.ononline

It was my suggestion just to disable validation on the basis that the spec is produced server-side and known to be valid so is there any point in validating it each time?  I don't think there is any degradation in functionality with this -- is there @jcabrerizo ?

Fair point @ahgittin. I'm happy to merge as in then


Fix livesync was not recreating the tns_modules simlink when launched from Xcode. Fix livesync making application module executed twice.

stringByStandardizingPath will follow symlinks if the path contains . or ... The lifesync copies just the app folder from the client application in a special folder and then symlinks the tns_modules in app as performance optimisation (syncing the tns_modules is slow when running with large amount of files). From that point on require with relative path within tns_modules will resolve to a path in the app bundle instead the sync folder. This has been fixed by manually normalizing paths containing . or ...

run ci

👍 ... but still lets not merge it before we fix the PR build :)

run ci

run ci

run ci

run ci

run ci

run ci


does it support cl100k_base for gpt-4?

What happened?
tanks a lot for you work, I wonder is it support cl100k_base for gpt-4?
How to reproduce the bug
tried to look at the code couldn't understand it
Package Version
2
PHP Version
8
Laravel Version
9
Which operating systems does with happen with?
Windows
Notes
No response

Thanx for reporting the issue.

I would like to add this, but currently I don't have GPT-4 access to test this.

Currently we are not supporting cl100k_base for gpt-4.


Make valid_time field timezone aware (same as the timestamps from SMHI)

This is a fix to #16
A little note. It would be possible to make the change a bit nicer with datetime.fromisoformat(forecast["validTime"]) but that would require python 3.11 or later as the variant of ISO8601 timestamps which SMHI is using did not get supported by fromisoformat until 3.11, https://docs.python.org/3.11/library/datetime.html#datetime.datetime.fromisoformat.

@daha @gjohansson-ST  thank you for this. I apologize for I did not see this PR earlier. I will push a new release now.


pantheon.gala: 6.2.0 -> 6.2.1

Motivation for this change
Part of Pantheon 6.0.2 updates (previous one at #139821).
https://github.com/elementary/gala/releases/tag/6.2.1
https://github.com/elementary/gala/compare/6.2.0...6.2.1

Fix a potential crash when taking screenshots - we already fix this in downstream!
Updated translations

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@ofborg test pantheon


fix RC Raw streaming

Fixes #370

Do we know of any packages that may depend on reading these incorrect values from RC_RAW?

I can't think of any (famous last words)


unable to rename system snapshot (Errno: 17) - iphone7+ 12.1

while the jeailbreak process there is an error 17 that says "Unable to rename system snapshot"
filename: "JailbreakViewController.m
Line 1181

Still happening in b30

Same issue with iPhone X on 12.1

Duplicate of #394


Tab-List Not Saving at all + No Sync. + Can't Export (Refreshing destroys any tab-list made)

扩展版本 (extension version): 1.4.7
浏览器版本 (browser version):  77.0.3865.90 (Official Build) (64-bit)
操作系统 (operating system): Windows 10 Home (Version 1903)
问题描述 (problem description):
I can't save any tab-list for some reason unknown to me. I can make a list, but if I refresh the page it's gone. Can't export with all 3 options. Export with json shows "[]" with no actual list in them even though I just made one again. Saving to google drive shows "Success" but actually failed.
This is is strange because this extension is working in my other two browsers with separate accounts. And I have the same browser settings and extension settings for all three. Can't replicate this issue on the other two
I am logged in, it confirmed successful login to my google account but the first time around the "manage account" didn't show up and "log-in" presisted. I reinstalled the extension, and that was fixed. But still, no syncing.
实际行为 (actual behavior):

Refresh destroys all lists because they're not saved
Export with JSON shows a file with only "[]" so it's not saved internally as well???
Synced "Successfully" to my google account/drive, but not actually saving list to the drive.

期望行为 (expected behavior):

Lists should be saved, at least locally, and survive refreshes
Export with JSON should gimme an actual JSON file with my tab-list information stored in it.
Sync list to Google Drive should actually work

重现步骤 (reproduce step):

Make a list of tabs. Sync with the top-right sync/upload button
Go to Export, click Export with JSON. It shows only "[]" for me.
Click Save List to Google Drive. Checked, it didn't work but message read "Succeeded" nonetheless
Refresh. Empty page with no list made in step 1.
(Note: I can't replicate this myself on my other accounts' chrome browsers)

Restarted the computer, seems to work fine now.


45 Rewrote: Monitor and Consume Events

What does this PR fix/introduce?
Rewrote Build-dApps/Monitor-and-Consume-Events
Additional context
Added important information, removed unimportant information.
Added code examples in JavaScript & Python
Prettified event examples
Note: Unsubscribe and Stop Listening functionalities are not available in Python. Reached out to Mark Greenslade to resolve.
Note 2: We should add more languages, as we plan to do with SDK-Client-Library-Usage.md
Checklist

[x] Docs are successfully building - yarn install && yarn run build.
[x] For new internal links I used relative file paths (with .md extension) - e.g. ../../faq/faq-general.md - instead of introducing absolute file path, or relative/absolute URL.
[x] All external links have been verified with yarn run check:externals.
[x] All technical procedures have been tested (if you want help with this, mention it in Reviewers).

Reviewers
@caspermel
@KMCreatesWorlds

There were a lot of conflicts, because recently feat-sse_sidecar branch was merged and it was backported to this repository. However, it was reverted shortly after, so I synchronized repositories again, and we ended up with 1 small conflict :relieved:. Just to note, that sidecar branch will be difficult for docs team to merge in future.
@dylanireland Conflicts resolved, should be ready to merge :rocket:


Update sql-database-elastic-jobs-service-installation.md

added link to pricing

Hi @ddove, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (ddove). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

The link syntax needs to be corrected. For guidance please see https://github.com/Azure/azure-content-pr/blob/master/contributor-guide/create-links-markdown.md
Thanks

@ddove
Hi, Debra -- Can you please fix the link? Ross has a link to the instructions in the previous comment. Thanks a lot -- Monica

Closed due to inactivity.


Update indexer to use the new gcexportdata package. [phab:D1115]

Created by fromberger at 2016-10-24 21:35:04:
With Go 1.7, the export data format changed, and the libraries to
process it have been updated. Update to the appropriate commit to get
those changes, and add rules for them.
Also:

Source file to generate a type archive for testing.
Update pointers to golang.org/x/tools packages.

salguarnieri wrote at 2016-10-25 01:09:12:
How is foo.a generated?

fromberger wrote at 2016-10-25 01:21:53:

! In (earlier comment), salguarnieri wrote:
How is foo.a generated?

See the comment at the top of foo.go.

salguarnieri wrote at 2016-10-25 01:27:19:
Ugh, yes. That is exactly what I was looking for and I thought I looked there but clearly I didn't.

salguarnieri accepted this revision at 2016-10-25 01:27:19

fromberger closed via commit 3694f94700b073990f245adc6b67ff6273a52f11 at 2016-10-25 01:33:02


Foreign key violations when uploading artifacts

On prod Ibutsu in both the DB pod and BE pod, I am seeing:
[2020-10-27 16:59:31,129] ERROR in app: Exception on /api/artifact [POST]
Traceback (most recent call last):
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
    cursor, statement, parameters, context
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.ForeignKeyViolation: insert or update on table "artifacts" violates foreign key constraint "artifacts_result_id_fkey"
DETAIL:  Key (result_id)=(8715bbd4-de7b-4881-864d-3bf164c35a18) is not present in table "results".

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/app-root/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/app-root/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/app-root/lib/python3.6/site-packages/flask_cors/extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/opt/app-root/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/app-root/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/opt/app-root/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/app-root/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/app-root/lib/python3.6/site-packages/connexion/decorators/decorator.py", line 48, in wrapper
    response = function(request)
  File "/opt/app-root/lib/python3.6/site-packages/connexion/decorators/uri_parsing.py", line 144, in wrapper
    response = function(request)
  File "/opt/app-root/lib/python3.6/site-packages/connexion/decorators/validation.py", line 184, in wrapper
    response = function(request)
  File "/opt/app-root/lib/python3.6/site-packages/connexion/decorators/parameter.py", line 121, in wrapper
    return function(**kwargs)
  File "/opt/app-root/src/ibutsu_server/controllers/artifact_controller.py", line 127, in upload_artifact
    session.commit()
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/scoping.py", line 163, in do
    return getattr(self.registry(), name)(*args, **kwargs)
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 1042, in commit
    self.transaction.commit()
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 504, in commit
    self._prepare_impl()
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 483, in _prepare_impl
    self.session.flush()
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2536, in flush
    self._flush(objects)
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2678, in _flush
    transaction.rollback(_capture_exception=True)
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
    with_traceback=exc_tb,
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 182, in raise_
    raise exception
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2638, in _flush
    flush_context.execute()
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/unitofwork.py", line 422, in execute
    rec.execute(self)
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/unitofwork.py", line 589, in execute
    uow,
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/persistence.py", line 245, in save_obj
    insert,
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/orm/persistence.py", line 1136, in _emit_insert_statements
    statement, params
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1011, in execute
    return meth(self, multiparams, params)
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1130, in _execute_clauseelement
    distilled_params,
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1317, in _execute_context
    e, statement, parameters, cursor, context
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1511, in _handle_dbapi_exception
    sqlalchemy_exception, with_traceback=exc_info[2], from_=e
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 182, in raise_
    raise exception
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
    cursor, statement, parameters, context
  File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) insert or update on table "artifacts" violates foreign key constraint "artifacts_result_id_fkey"
DETAIL:  Key (result_id)=(8715bbd4-de7b-4881-864d-3bf164c35a18) is not present in table "results".

Fairly regularly. I think in some instances, the plugin may be trying to upload an artifact before the result has been uploaded.

This appears to be a result of some tests being pushed with an older version of the plugin, immediately before the failed artifact push, I see
http://ibutsu-api.apps.ocp4.prod.psi.redhat.com/api/result/4917e571-7d5c-4e6e-b1dc-beb2e65dd47b validation error:<PHONE_NUMBER>.54802 is not of type 'string' - 'start_time'

This appears to be a result of some tests being pushed with an older version of the plugin, immediately before the failed artifact push, I see
http://<hostname>/api/result/4917e571-7d5c-4e6e-b1dc-beb2e65dd47b validation error:<PHONE_NUMBER>.54802 is not of type 'string' - 'start_time'

This was due to an older plugin. I'm closing the issue.


Change the I2C address of the left motor controller on Dougs robot

Solder the A0 pad on  the PCA9685 motor controller used to control the robot's left legs in order to change its I2C address from the default 0x40 used by the right motor controller to 0x41.

Address now changed for the left controller


SPWebAppGeneralSettings Error with TimeZone

Details of the scenario you try and problem that is occurring:
If the TimeZone is not set on a Web Application, the Module returns value -1, which is invalid. Should we return null, or simply not return this parameter if it is not set? -1 is not a valid Uint64 value and causes error when trying to compile:
ConvertTo-MOFInstance : System.Management.Automation.RuntimeException error processing property 'TimeZone' OF TYPE 'SPWebAppGeneralSettings': Cannot convert value "-1" to type "System.UInt64". Error: "Value was either too large or too small for a UInt64."
The DSC configuration that is using the resource:
SPWebAppGeneralSettings 895df459-ed46-487d-874e-bc3a219f8bbc
{
BlogAPI = $True;
BlogAPIAuthenticated = $False;
SecurityValidationTimeoutMinutes = 30;
PsDscRunAsCredential = $Credssp_farm;
CustomerExperienceProgram = $False;
SecurityValidation = $True;
SelfServiceSiteCreationEnabled = $False;
MaximumUploadSize = 2047;
SecurityValidationExpires = $True;
RSS = $True;
RecycleBinEnabled = $True;
BrowserFileHandling = "Strict";
RecycleBinCleanupEnabled = $True;
AllowOnlineWebPartCatalog = $True;
SecondStageRecycleBinQuota = 50;
AlertsLimit = 500;
Alerts = $True;
PresenceEnabled = $True;
Url = "http://mva-wfe/";
TimeZone = -1;
RecycleBinRetentionPeriod = 30;
}
Version of the Operating System and PowerShell the DSC Target Node is running:
Windows Server 2016/WMF 5.1
Version of the DSC module you're using:
<IP_ADDRESS>

It should probably be $null, adding to the backlog

Fixed in my next Rollup PR

This has been rolled in to dev and will be included in our next release. Closing this issue.


到编译该模块的时候就报错了

Aes4Lua-master make
cc -fPIC -c Aes4Lua.c
Aes4Lua.c:351:23: warning: initializing 'const unsigned char *' with an
expression of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
const unsigned char *bin = lua_tolstring(L, 1, &len);
^     ~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
一大堆错误，是啥情况呢？

Aes4Lua-master make
cc -fPIC -c Aes4Lua.c
Aes4Lua.c:351:23: warning: initializing 'const unsigned char *' with an
expression of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
const unsigned char *bin = lua_tolstring(L, 1, &len);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
一大堆错误，是啥情况呢？

这个问题我解决了，吧utils.c的没用到的函数全部删除就好了

Done


testing comment

#3  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @zoa-sh and the rest of your teammates on  Graphite


chore: update synth scripts to document/utilize apiEndpoint instead of serviceAddress option

There is a fix for the snippet failure in https://github.com/googleapis/google-cloud-php/pull/2163, so I'll go ahead and merge this.


styling: use Bootstrap CSS classes

After fixing (#4), the widget is still relying on custom CSS classes instead of simply using the Bootstrap modal styles.
This should be changed.

Implemented on master (v1.5.0-pre).


chore(swagger-ui): improve user xperience

chore(swagger-ui): improve user xperience
Add a filtering option.
Don't expand the tags and paths on load.
Auto enabled "TryItOut" so we don't need to click it everytime. Note: to see the schema now,
you'll have cancel the "TryItOut"
chore: add missing Serialize and Default traits
This allows us to use the new auto generate example for openapi.
feat: add pool device uri type
Also update the Cargo lock file

bors merge


Add motion vectors support for animated meshes

Objective

Add motion vector support for meshes animated with morph targets or skinned meshes
Addresses points (1) and (2) of #8423

https://github.com/bevyengine/bevy/assets/26321040/5fb794b6-7095-41d4-91ed-c20e24fd15b9
Solution

Add DoubleBufferVec, a thin wrapper around two BufferVec
Replace the BufferVec used in SkinUniform and MorphUniform by the double buffer.
When buffer.clear() instead of clearing the current buffer, swap the buffers and then clear the 2-frames-behind buffer
Also double buffer the skinning and morphing index maps, use the last frame's index to index into the previous buffer.
If this is the first frame a mesh with skin or morph is rendered, do not render it with motion vectors.

This requires splitting the concept of "view that supports motion vectors" and "mesh that support motion vectors".
Now, MeshPipelineKey::MOTION_VECTOR_PREPASS indicates that the mesh supports motion vectors
For "view" motion vectors, we add an additional key: MeshPipelineKey::VIEW_MOTION_VECTOR_PREPASS. It is technically meaningless outside of the prepass pipeline, but it avoids widening the key, and therefore slow down processing.

The other changes are the shader code for handling the previous values (which is mostly copy/pasting, sadly); And some attempt at copping with the combinatorial explosion of shader variants in mesh_bindings.rs. (we have the following variables: with/out morph targets, with/out skinning with/out motion vectors)
Note to reviewers
mesh_bindings.rs
Following is a description of the mesh_bindings.rs file.
Entry definition
We first define each individual bind group (layout) entries as functions that accept a binding index and an additional parameter for the binding resource when relevant, and return the layout/bind group entry.
Those are the FOOBAR_layout and FOOBAR_entry functions.
Combination functions
Then we have variant_layout and MeshBindGroupBuilder::add_variant.
Those take a ActiveVariant[^1] (or build one), create an empty buffer (SmallVec) and progressively add the entries based on what flag is active in the ActiveVariant. Then we create the BindGroupLayout or BindGroup (respectively) with all the gathered entries.
MeshBindGroups
MeshBindGroups is a collection of BindGroups.
To add bind groups to it, you would first create a MeshBindGroupBuilder using MeshBindGroups::bind_group_builder. Then, call add_variant for each BindGroup that will be needed for rendering.
MeshBindGroups has two HashMap, one shared that contains bind groups that can be shared between different entities with the same set of shader features (ActiveVariant elements).
The other HashMap is distinct, which contain bind groups that are unique per-mesh. This is currently only relevant for meshes with morph targets. (Morph targets have a texture binding, therefore need to bind to a different individual texture for each individual mesh).
The idea of two hashmaps, one for shared and another for distinct bind groups is taken from #10235.
In bevy, prepare_mesh_bind_group is where variants are added to MeshBindGroups.
MeshLayouts
MeshLayouts is to layout what MeshBindGroups is to bind groups. Here, however, since there is exactly one layout per set of shader feature, we can pre-compute every possible layouts. This is what occurs in MeshLayouts::new, which is called in the FromWorld impl of MeshPipeline. Then, we can just get an existing layout by using MeshLayouts::get, in setup_morph_and_skinning_defs; And MeshLayouts::get_variant in add_variant (to get the corresponding layout for the bind group).
This approach is a shameless clone of the #10156 approach. Unlike with MeshBindGroups, we don't even need to enumerate every features. By using array::from_fn::<ActiveVariant::COUNT>, we automatically get an enumeration of all possible (and more) shader feature combinations.
ActiveVariant
A downside of the bitflags crate is that it conflates carelessly a set of FOO and FOO, it makes it harder to talk about the bitflag struct.
An ActiveVariant is a set of shader features, a feature may be (1) skinning, (2) morph targets, (3) motion vectors, (N) more in the future.
Since a shader is composed of 0-to-N features, a single ActiveVariant represents a single instance of a shader.
MeshPipelineKey::VIEW_MOTION_VECTOR_PREPASS
There are two problems with a double buffer approach:

The first frame, only the current buffer is filled, there is no such thing as the previous buffer page
The buffer is shared across all meshes, this means that adding/removing a mesh makes indexing the previous buffer with the current frame's indices is bogus.

To solve (1) we need to disable motion vectors, not for the whole view, but for individual meshes. Meshes which skinning or morphing shader are enabled, but didn't exist last frame (their previous buffer page is empty) can't have a previous buffer, therefore shouldn't have the binding for the previous buffer set.
This is where we introduce MeshPipelineKey::VIEW_MOTION_VECTOR_PREPASS. It is a distinct value than MeshPipelineKey::MOTION_VECTOR_PREPASS. The view still has access to the motion vector buffer, but the mesh/instance doesn't have a previous buffer to compute the motion vector with. So we need to have two different key flags to handle this.
To solve (2), we make the double buffer generic over the buffer, and we allow to use it for EntityHashMap, now we can keep around the indices for the previous frame as well as the buffer.
Note that we add special logic so that when motion vectors aren't used, we don't double buffer anything, so that no one pays the cost (memory cost, as it has no runtime cost) of the double-buffer when not needing it.
Tricky bits
The code changes outside of mesh_bindings.rs sure seem small (even double_buffer.rs is 62 lines). But it was actually extremely complex to get right. Bind groups that depend on runtime values such as "does the double buffer have a 'previous' page?" Are really tricky to get right. MeshPipelineKey is more or less a "cache" for the world state, but this cache is set in several places. I often got the infamous wgpu error, and had no way to tell where my errors where. I had to patiently add printlns a bit everywhere, glare at the logs and try to think what explained them, compound that with how many rendering functionalities I had to rebase through, it was very difficult.
Merging this PR will probably move the burden of handling this to more people, and we should prioritize making that kind of bugs impossible in the future.
[^1]: ActiveVariant is a "set of shader features", see relevant section
Testing
I used this modified version of shader_prepass.rs to test the change set: https://gist.github.com/nicopap/bf97174f1496df4854909d672eb2cc0f. Note that it is still missing a morph target + skinned mesh (I tested a morph+skin model locally and seemed to work).
I tried to compare how this affects ghosting with TAA, but I failed to reproduce ghosting artifacts on main. The motion vectors do look correct though.
Future work

#8423 mentions using a double buffer for the mesh uniform, it seems possible to re-use the one we define here.

Migration guide

SetMeshBindGroup now requires an additional boolean const parameter, set it to false to keep the old behavior, true if you want it to handle motion vectors.
MeshBindGroups's reset method is now clear.
MeshLayouts has been revamped. To get bind groups from the layouts, use MeshBindGroups::bind_group_builder, or access manually the layouts.

Changelog

Add motion vectors support for animated meshes. Meaning: TAA now works with animations!

I'm not super keen on the complexity of the binding stuff, but it's too late in the day for me to try to see if I can think of something I would like more. :)

I'm pretty happy with what I came up to. If it's not a global minima in term of complexity, it's definitively a local minima. It's extremely shallow, it's basically function calls and nothing else… I would recommend looking at the file without the diff, as the deleted code just makes things less clear. I'll add some comments to the code to make it easier to read.

Cool. I’ll do that

Hmm getting a panic when spawning several skinned meshes

For anyone not following on discord. I had discovered a major limitation in my implementation and had to extend the "double buffering" to the offset indices.
Though all should be good now.

Broken again after #7820 converting to draft.

I think we should move this to 0.13, and give it more time instead of trying to rush it through, and then test it with the other TAA changes for 0.13.

For the record, I'm for moving this to 0.13. I think it makes the most change in the context of other TAA changes, which will be moved as well.

Needs rebasing, please

#13572 is being merged, which tackles this same work.


add callout for ability to send tokens

"It has been flagged to me a few times now that most users/developers do not know ANYONE can use the ITS portal to bridge tokens after it’s deployed.
This explains why we have many tokens deployed, but many of them have never had a single token bridged."

https://github.com/axelarnetwork/axelarjs/pull/314


Error When Clicking 'Confirm Purchase'

When I try to confirm my purchase on a item in auction, it gives me this error: https://pastebin.com/JSEv5G0f

Update to 1.2.12 and if it continues send me the new error.


C#. Test Assert.IsNotEqual(true, null) does not pass

Test methods:
[Test]
public void TestIsNotEqual_True_Null()
{
	Assert.IsNotEqual(true, null);
}

[Test]
public void TestIsEqual_False_TrueEqualsNull()
{
	Assert.IsEqual(false, true == null);
}

Result:

I suppose both methods should pass

I think this is caused by the C# code passing the assert logic back into GDScript, which has truthy and falsy interpretations of different types. So null ends up being considered falsy here.

Solved by #353

you probably meant issue #350

you probably meant issue #350

Woops. Thanks.


Why RxJava?

I'm new to Android development and have been reading your blog post about clean architecture. From the commit history (and that I don't find any mention of it in your post), I see that you introduced RxJava much later in the project. I wanted to understand what architectural problem did RxJava solve for you (Like Dagger did for object creation)?

Looked into it. Good decision.


hotfix

@acangiani  "More fresh" fix here^
https://github.com/omab/django-social-auth/pull/855/files#diff-7c5b7cd0fa1ef792f949cfc27348202c

Sorry, I did not intended to create this PR, I'm sorry for the inconvenience.


Two includes of stdio.h at line 13 and 18

https://github.com/jondurrant/RPIPicoStepperExp/blob/f04764e7c1d211d7ebae1b0e0c8c5e9e9cfacdc5/FreeRTOS-28byj-48/src/main.cpp#L13

Yep.


constant interpolation ignored in export, scale to zero introduces frame with weird negative scale

Describe the bug
Whenever I try to export this example scene (a cube with a linear translation animation and a constant scale animation from 1,1,1 to 0,0,0 at the end) the exporter is giving me two LINEAR interpolations:
{
	"asset":{
		"generator":"Khronos glTF Blender I/O v4.1.63",
		"version":"2.0"
	},
...
	"animations":[
		{
			"channels":[
				{
					"sampler":0,
					"target":{
						"node":0,
						"path":"translation"
					}
				},
				{
					"sampler":1,
					"target":{
						"node":0,
						"path":"scale"
					}
				}
			],
			"name":"CubeAction",
			"samplers":[
				{
					"input":4,
					"interpolation":"LINEAR",
					"output":5
				},
				{
					"input":4,
					"interpolation":"LINEAR",
					"output":6
				}
			]
		}
	],
...
}

when I then manually change the second one to a STEP interpolation, it gives me a weird scale for one frame with x: -1.083, y: -1.083, z: -1.083 before it scales to zero.
To Reproduce
Steps to reproduce the behavior:

Download the example blender file
Export as gltf2.0 with Operator Presets (optional export als gltf to see the source)

Expected behavior
Ideally linear interpolation should get exported as "interpolation":"LINEAR", while constant interpolation get's exported as "interpolation":"STEP" independent from each other.
Since it's easy to write a script to do this manually, the second problem, that one frame leads to a weird scale of -1.083 should be prevented completely.
.blend file/ .gltf (mandatory)
Example blender file and output gltf with already modified STEP interpolation:
simple_test.zip
Version

OS: tested Windows 11 and Linux Mint 21.3
Blender Version: 4.1

Additional context
related: #2137

in case someone is interested to replace "interpolation":"LINEAR" with "interpolation":"STEP" for every scale animation, I'm using this python script to do so:
import json
import sys

def modify_gltf(input_path, output_path):
    # Load the GLTF file
    with open(input_path, 'r') as file:
        gltf = json.load(file)

    # Iterate over the animations
    for animation in gltf.get('animations', []):
        for channel in animation.get('channels', []):
            target = channel.get('target', {})
            # Check if the target path is "scale"
            if target.get('path') == 'scale':
                sampler_index = channel.get('sampler')
                if sampler_index is not None:
                    sampler = animation.get('samplers', [])[sampler_index]
                    # Change the interpolation to "STEP"
                    if sampler:
                        sampler['interpolation'] = 'STEP'

    # Save the modified GLTF file
    with open(output_path, 'w') as file:
        json.dump(gltf, file, indent=2)

    print(f"GLTF file has been modified and saved as '{output_path}'")

if __name__ == "__main__":
    if len(sys.argv) != 3:
        print("Usage: python modify_gltf.py <input_path> <output_path>")
    else:
        input_path = sys.argv[1]
        output_path = sys.argv[2]
        modify_gltf(input_path, output_path)

Hello,

You are using "Scene" animation mode, that is a full bake mode, where we can't retrieve interpolation

In your case, I suggest changing to "Action" for example.

If you still disable sampling

Some of your scale keyframe are not in CONSTANT interpolation, so sampling will be forced. You should set all your keyframe in CONSTANT mode, so export will use STEP

If you enable sampling, same thing. Correct STEP retrieving will need correct interpolation for each keyframe of your fcurve, so be sure that all keyframes are in CONSTANT. This is not the case for now

Seems I can't reproduce your issue with negative scale when changing to STEP

More than a month without any answer, closing this ticket.
Feel free to comment and provide the .blend file if you want me to have a look


[DOC & ENH] update doc query and allow to query any BIDS entity

[x] update doc for query (fixes #355)
[x] allow to filter with any BIDS entity

@all-contributors please add @marcobarilari  for review


Added two laravel related awesome list to the misc

Sorry. I don't have plans to list other "awesome lists" with the exception of the original https://github.com/ziadoz/awesome-php


Accessing .env Variables Outside of Slack Functions

Question
In reviewing some documentation on the Slack Deno SDK and next gen app structure, I found this treatment of working with functions that are not Slack Functions in an error handling example. It references accessing an external API i the comments of the code example and that led me to wonder, is there a way to access .env variables saved in the Slack app outside of the env context property inside of Slack Functions as referenced here? Thanks!
Context

Environment

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hi @anthonygualandri thanks for writing in 💯
Just to clarify, you would like to fetch environment variable using an HTTP request instead of the env context?

No. I'd like to use a stored env inside the app within a function that isn't a slack function and so doesn't have the context env input to the function. If you look at the first link referenced above you'll see an example of what I mean in terms of the function structure. Thanks!

I see, the env context is inject by Slack directly into the slack function, the slack function is the entrypoint for the serverless request execution
If you want to use the env context in a function you will need to pass it into it as a parameter or build your own env context, something like this should work but I have not tested it out yet, there may be a more elegant solution for this
let function_scoped_env: Env;

function console_log_env() {
  for (const [key, value] of Object.entries(function_scoped_env)) {
    console.log(`${key}: ${value}`);
  }
}

export default SlackFunction(
  PostIssueMessage,
  async ({ env, inputs, client }) => {
    function_scoped_env = env;
    console_log_env();
    return {
      outputs: { ... },
    };
  },
);

I use a dotenv file to store variables in a .env file that I am able to reference in my functions.
https://docs.deno.com/runtime/manual/basics/env_variables

The .env file will not be bundled with the function when it is uploaded to the Slack infrastructure, you will have to add the environment variables using the env add command. Environment variables added with env add will be made available to your deployed app's custom function see docs here
You should be able to set the environment variables from the env input something like this
export default SlackFunction(MyFunctionDefinition, ({ env }) => {
  Deno.env.set("MY_ENV_VAR", env["MY_ENV_VAR"]);
  console.log(Deno.env.get("MY_ENV_VAR"));
});

Let me know if this is what you are looking for

Yeah I think that's exactly what I need. I took a look at the docs link you sent. If I can slack env add MY_ENV_VAR asdf1234
And the Deno.env.get outside of a SlackFunction that's perfect.

In my testing you can't use Deno.set.env inside your code - it will fail when running after slack deploy.
I found a way around it by putting the variables at the top level (and importing another file) into my code.  In my case, having a large number of variables and having to run a CLI command multiple times to set the variables was getting a little ridiculous.

Thanks for sharing your workaround @mcsescott 💯
I understand it may be tedious to manually run slack env add MY_ENV_VAR asdf1234 on a large number of variables
You should be able to a bash script or a shell command like the one below to help with this
Take the following .env file
MY_ENV=test
MY_ENV1=test1
MY_ENV2=test2
MY_ENV3=test3

The following command should execute slack env add for each variable in the file
cat .env | tr '=' ' ' | xargs -n 2 slack env add $1 $2 -w <your_workspace>

Let me know if this is useful 🙏

In my testing you can't use Deno.set.env inside your code

I am having the same problem where Deno.set.env and Deno.get.env don't work when I am running the app locally. I am wondering if they would work after I deploy the app or not?
Also, are we able to programmatically set the new value of our environment variable from within our Slack Functions so that we can use it later? Example usage is if you have a token which you want to rotate sometimes, you could use scheduled trigger to get the new token and save it as a new value of environment variable.

Hi @mhalavanja thanks for bringing this up
I don't think you will be able to edit the value of en environment variable on the fly. If you want to store a token and rotate it on a schedule, I would recommend storing it in a datastore instead of an environment variable

Okay, thanks for the suggestion @WilliamBergamin. I thought it might be possible as the suggested way of handling tokens for third party APIs is via env vars.


When I want to train my dataset,the following bugs apper and how to  solove them?

File "C:\Users\23639.conda\envs\tf2.3\lib\site-packages\x_transformers\x_transformers.py", line 748, in forward
dots = dots.masked_fill(~input_mask, mask_value)
RuntimeError: The size of tensor a (12) must match the size of tensor b (11) at non-singleton dimension 3
My picture is 280 wide and 32 long.

It seems that you need to match the sizes of two tensors at the decoder.
I think you should use a debugger of your code editor and follow the size of the tensors.
The information that you provided is not enought to resolve the error.
Thanks.


[MRG] Add TF Intro Materials

cc @leejt / @ohkhan
The files for the live coding demo to accompany the tensorflow introductory presentation tomorrow; the notebooks should be python 2/3 compatible. I don't think there will be any pickle issues this time around :)
TODO:

[x] README explaining what this is all about
[x] Finalize slides and put them in this repo. I still need to add stuff about Tensorboard + global step
[x] Link this repo to the website schedule (thanks omar!)

Merging this now, thanks @ohkhan


toco

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (or github SHA if from source):

Command used to run the converter or code if you’re using the Python API
If possible, please share a link to Colab/Jupyter/any notebook.
# Copy and paste here the exact command

The output from the converter invocation
# Copy and paste the output here.

Also, please include a link to the saved model or GraphDef
# Put link here or attach to the issue.

Failure details
If the conversion is successful, but the generated model is wrong,
state what is wrong:

Producing wrong results and/or decrease in accuracy
Producing correct results, but the model is slower than expected (model generated from old converter)

RNN conversion support
If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@MateoFlz
Can you please let us know which TF version you are using?.Please fill issue templete..
Please, share colab link or simple standalone code to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

This bug has no information.


Clean up all logs from the production release

Make sure there are no Log.d() or whatnot when building a Release .apk. Just create a simple wrapper class with a single "debug" setting.

Keeping Log.w() and Log.e() as they are only a handful and may be important.


uninstall instructions

Hi could I suggest an uninstall script or instructions to undo everything the install script did?
thanks

@0xacx thank you! BTW, this should be part of the main README file.


Update pandas upper bound in setup.py

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
All Promptflow Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

close this pr as we already addressed this in this PR: feat: allow pandas 2.x and add missed dependency strictyaml by elliotzh · Pull Request #597 · microsoft/promptflow (github.com)