CAB Extraction crashes DIC entirely

DIC Crashes when trying to extract CAB files of a Windows 95 disc, and it's a very reproducible issue.
I was trying to dump this disc for myself using DICUI - Version 1.16-317 from AppVeyor (which itself is using DIC x86, AnsiBuild, 20200604T002233) but for whatever reason, DIC tried extracting all the CAB (even without /sf being added to the original DIC Command as well) and then ended up crashing before it got to the actual dumping stage.
Example screenshot of error on a Windows 7 machine:

Cab extraction starts when /sf or /ns is uses.
I don't know the cause of the crashing issue yet.

Cab extraction starts when /sf or /ns is used.
Did a test dump (one with CLI and DICUI) and the dumps worked since I didn't use /sf or /ns, despite earlier testing showing otherwise. Weird, but hey at least it worked there.

Anyway the crash is still a thing, annoyingly. Thanks for your time!

So was able to get the latest DIC running on Linux (with another disc that crashes DIC with this error on Windows) just fine, since it doesn't seem to do CAB Extraction/Examination on Linux.
Please double check to see if there's a solution with the specific programs you're using on the Windows builds, since something seems to be very stupidly wrong there. If there isn't a solution, please do disable the cab scan by default. (Maybe have it as an opt-in flag so people can still use/test it as they need to, but it isn't run as default?)

Uploaded test version. http://www.mediafire.com/file/eq80y20l9cwf48f/DiscImageCreator_test.7z/file

fixed: crash when /ns is used by some disc

Works as expected, thank you!
Working log of same disc as original report, as ran via cmder | Using my BW-16D1HT drive for this test: https://mystb.in/raw/TexasMailsHungarian


Revive and improve status modules

What
The status modules that were working in version 1, should be present in version 2 too!
Also improved the setup of the status modules so there are no dependency conflicts.
To do
Implementation:

[x] Marble run
[x] Led strip
[x] Traffic light
[x] Hue light
[x] Power up
[x] new: Dashboard video

Documentation:

[ ] Configuration
[ ] Status modules

[ ] Marble run
[ ] Led strip
[ ] Traffic light
[ ] Hue light
[ ] Power up
[ ] Dashboard video

Will do the documentation later, going to work on some different functionality first for internal use.

The show must go on

As discussed, documentation will be updated in full in another PR.


jenkins-client-217 - Added ability to stream logs and retrieve chunks

Motivation
Allow to stream logs for ongoing builds.
Current methods doesn't allow that and users need to wait for entire build to get full build log.
This PR is implementation for #217

Could please offer unit/integration tests....?

@khmarbaise - yes, as said above - I wanted to do it if this idea would be accepted, but there is not much involved to do it anyway. Going to do it now.

I can say that. I already accept your idea and improvements and in particular your contributions...which is really great....

Thanks for approval. Final cuts added. Current code base wasn't affected by my changes, only new methods were introduced. Unit tests were added. I reverted pooling method to be blocking.

Can you please take a look onto the travis build cause it's failed....

Looks like it does pass now:
https://travis-ci.org/jenkinsci/java-client-api/builds/185304190
but failed before:
https://travis-ci.org/jenkinsci/java-client-api/pull_requests

@khmarbaise in case this is merged, can you again publish a new snapsht :)
Thanks 🍻

Any chance to get that merged?

Is it possible to squash all those commits together and make a issue reference in the log as I mentioned in the contribution part of the README...

Is it possible to squash all those commits together and make a issue reference in the log as I mentioned in the contribution part of the README...

Really sorry. I was confused because in ReleaseNotes reference github issues. I  created and referenced github issue before creating this PR: https://github.com/jenkinsci/java-client-api/issues/217
Going to move this to jira now.
Jira issue was created: https://issues.jenkins-ci.org/browse/JENKINS-40753
Next time I would do it properly.
Offtopic
Github allows now to squash or rebase commits and also edit messages before merging.
It's quite useful feature :)

Failing build item is inrelated with may changes. I tried to run this on my local machine and I was passing!

Tried to resolve problem. It looks like master is broken, but only on travis.

works on my box as well :-(
On Thursday, 5 January 2017, Wojciech Trocki<EMAIL_ADDRESS>wrote:

Tried to resolve problem. It looks like master is broken, but only on
travis.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jenkinsci/java-client-api/pull/219#issuecomment-270712101,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJnzqD7PVKYofvqA-I5AGt0SBDtrMP3ks5rPS_8gaJpZM4LQtvb
.

--
Sent from Gmail Mobile

Retest this please

Yes the master had an issue..which is now fixed.
And your change looks good to me...once another rebase against master please...

Build is passing. Can we get that merged?


Allow the use of alternate codon tables.

Hi,
TranSuite is really a good tools.
Any improvement since last release? The feature "Allow the use of alternate codon tables" has been added?
Best,
Kun

Thank you for your detail reply.
I have another question: all CDSs are start by ATG codon, is it possible to keep CDS fragements that do not have start codon?
Best,
Kun


1.5 model - need some help

Hi!
I can't download the 1.5 model - I accepted terms at
https://huggingface.co/runwayml/stable-diffusion-inpainting
and followed the instructions - after typing the command
lama-cleaner --model=sd1.5 --hf_access_token=hf_XXX
I am getting the following error:
lama-cleaner: error: argument --model: invalid choice: 'sd1.5' (choose from 'lama', 'ldm', 'zits', 'mat', 'fcf', 'sd1.4', 'cv2')

You also need to get an access token from here huggingface access token and update to the newest version pip install lama-cleaner==0.24.2

Shame on me. I was sure I had downloaded the update. Thanks a lot!


Fix data race in LogStatus

The LogStatus struct has a lock that was used to protect modifications, but not to protect reads.  Both are necessary!
Motivation
Ran an agent built with inv agent.build --race for a few seconds and it discovered this issue.
Additional Notes
Regarding the counter-argument that this is just reading an integer:
https://golang.org/doc/articles/race_detector

Even such "innocent" data races can lead to hard-to-debug problems caused by non-atomicity of the memory accesses, interference with compiler optimizations, or reordering issues accessing processor memory .

Describe how to test your changes
Any QA involving logs will exercise this code.

Small node on QA steps - the read functions will be called when an agent status is generated. May be worth adding that.

(thanks for the tip!)


Feat/LightRegularGrid

Waiting for python bindings...

OG has been updated on the master branch, you can update deps and be able to merge


how to create fn middleware with state?

Is there a way to create a fn middleware with state? Something similar to https://docs.rs/axum/latest/axum/middleware/fn.from_fn_with_state.html .
Use case is a custom middleware that does some auth checking and needs access to a database.
I know I can use .data to add state to a handler but the same technique doesn't appear to work for middleware fns.

You can get it from request with .extensions().get() one you add it to the router.
https://docs.rs/poem/1.3.55/poem/struct.Request.html#method.extensions


on full document load, scrolls to top of page/scroll location when refreshed/loaded

Hello,
It's a common practice for people to start scrolling a page before it has loaded. Doing so with this script will force the client to "teleport," or instantly scroll, up to either the top of the page or where the page was when refreshed.
For example, if a website has lots of images to load and a user scrolls, every time an element is loaded, the page will scroll back up to the top. Once the entire page is loaded it will also scroll up to the top instantly.

Which browser is this?

I've never seen anything you are describing.


Does Mendeleev support SQLAlchemy=2.0.0 ?

As sqlalchemy==2.0.0 was recently released I was wondering if it is possible to support it. Currently the pypi package is restricted to SQLAlchemy>=1.4.0,<2.0.0.

Good point, I haven't checked what are the breaking changes in 2.0.0 but I'll loosen up the constraint and run the tests. If that works I think it's safe to bump it. WDYT?

Good point, I haven't checked what are the breaking changes in 2.0.0 but I'll loosen up the constraint and run the tests. If that works I think it's safe to bump it. WDYT?

Sounds good to me. While I am not an expert I just updated the pyiron code to sqlalchemy=2.0.0. For us it was a bit harder as we used the outdated database interface, but as you are just reading from the database, I assume you should be fine.
While you are still on sqlalchemy=1.4 you can also set the environment variable SQLALCHEMY_WARN_20=1 this already raises warnings when you use outdated syntax. For more details on the migration https://docs.sqlalchemy.org/en/14/changelog/migration_20.html

I run the tests and there are some errors when fetching full tables. I'll look at it and will try to add a PR.

I narrowed down the issue to read_sql not being compatible with sqlalchemy 2.0.0 yet, more details https://github.com/pandas-dev/pandas/issues/40686. I'll wait for the fix on pandas side.

I narrowed down the issue to read_sql not being compatible with sqlalchemy 2.0.0 yet, more details pandas-dev/pandas#40686. I'll wait for the fix on pandas side.

Ok, makes sense - it seems to be a major change and several packages still need to update their interfaces.

As pandas 2.0 was just released, I was wondering if it is now possible to update mendeleev as well.

Good point, I'll relax the version constraint and try to run the tests.


DO NOT MERGE - Bionic coveralls test

Changing this to a Draft as extra protection against accidental merger.

Do you still want to keep this open?

Do you still want to keep this open?


Making CombinedReferenceData public

I need CombinedReferenceData to be public so that QueriableReferenceData in client data will handle CombinedReferenceData with an underlying LazyReferenceData.
https://github.com/OpenGamma/ClientData/pull/9031

Another failed attempt at getting my first Strata commit 😂


resolve replaces path when resolving a fragment

\Sabre\Uri\resolve('http://www.mydomain.com/somewhere.json', '#');

Expected output:
http://www.mydomain.com/somewhere.json

(or http://www.mydomain.com/somewhere.json#
Actual Output:
http://www.mydomain.com/#

This seems to be because Sabre\Uri\parse('#') returns "path" => "#".
parse_url('#') returns [].  It looks like _parse_fallback is returning the path as #.

Thanks @evert!


As a customer, I can see updated documentation pertaining to Phase 2 in the Gitbook report

-Update our gitbook documentation to reflect changes in Phase 2
-This includes updated API documentation (any API changes, formatted in multi-page layout, include error responses), critiques, and overall docs
Story points estimation: 5

Let's get this done moderately soon, we need to make sure the API docs get cleaned up for this round

This has been completed - 3 hours from what @benrandall told me and my input


COMPONENTS/Command: Backspace bug

Once items are filtered from the Command menu, they do not reappear until the Command menu's input field is completely cleared
https://github.com/shadcn-ui/ui/assets/5913254/9e739f1e-2941-4618-a86d-ce412401b2ba

CommandItem is missing value prop. If you want I can fix with a quick PR.

@brandonmcconnell @ilyichv I also faced the same issue and noticed that an issue has already been created. I went ahead and raised a PR for the same so that the users browsing the docs don't face the same issue
PR: https://github.com/shadcn-ui/ui/pull/1286

Duplicate of #1450 - already fixed together with others in #1522
Please close as duplicate

@miquelvir @shadcn This is still not fixed. I just checked the latest version of the page I mentioned in the original issue brief, and the same issue persists.

@brandonmcconnell yes, the PR is still open (has not been merged). I meant that when the PR is merged then this should be fixed.

@miquelvir Ah got it. Thanks. We should probably call those duplicates out I try e PR in GitHub fashion like…
Fixes #9998
Fixes #9999
I'll check the issue again once that PR gets merged. Thanks for calling that out!

I am still facing this issue but the component is working properly on the official site? how is that possible?


Shift click to place items in/out of Simple Enchanter crashes game.

Shift click to place items in/out of Simple Enchanter crashes game.

Does it give a crash log?

Yup. https://pastebin.com/AvYcTGJn
I wanted to report it and got interrupted. Sorry about that.

See #7. Should have tagged with fixed in dev rather than closed. My mistake.

I didn't think it'd be necessary because I wasn't expecting 1.1.0 to take this long o.O

(Fixed in 1.1.0 and I forgot to close this when releasing)


perf(node/store): fine-tune Badgerdb params

Motivations for each configuration field are described in the comments.
Need to be reviewed ASAP for the release.

@liamsi, I forgot to mention that I had to dive deeper into this to understand what caused the OOMs during sync, as it was caused during Badger compactions. Also, this tuning fixed the issue and reduced memory requirements a lot, while improving performance.
My droplet doesn't need more than 3Gb of RAM during compactions anymore and it consumes ~1.8GB while syncing Bridge node and with Validator running.

For the light node, we can go even further and make it run below 100 MB and even 50mb only, after looking at profiling insights.


Support combination of weekdays and monthdays in cronline

The first commit ensures previous_time and next_time are not stuck in an infinite loop, which happened before when combining weekdays and monthdays in a cronline.
The second commit fixes that use case by modifying date_match? to only require one of the expressions to match if both are provided.

The first commit ensures previous_time and next_time are not stuck in an infinite loop, which happened before when combining weekdays and monthdays in a cronline.
The second commit fixes that use case by modifying date_match? to only require one of the expressions to match if both are provided.

Isn't it more like:

you want weekdays & monthdays match
you implemented it, 8078def
it introduces an in infinite loop case
you fixed it in, cf0c50d

Right?

Almost, cronlines like * * * * mon#2,tue were accepted by the parser but hung in previous_time before: Rufus::Scheduler::CronLine.new('* * * * mon#2,tue').next_time will never finish in the latest released version.
I fixed what I think was the issue in date_match? and then added the guards to ensure no other edge cases cause infinite loops in the future.

Sorry, I will not merge your pull request. I want a clearer narrative.
I will work from your specs to fix the two or three issues / feature requests embedded in your pull request.
I hope you understand.
Thanks for your contribution.

OK, taking back my previous comment.
I will merge your pull request and polish it. I, as written above, worked from your spec and understood your narrative.
Thanks a lot!

Great, thanks a lot!

I'm planning to release 3.3.2 with your contributions once we reach 2017. Thanks again!


Add prompt in main menu and url asking

Hi @dorcyv, thanks for this PR!
However I can't merge this with master, as I am currently re-writing everything with a library which looks like ncurses for tty-centered UI, and with this I do not use anymore the io library for printing and asking user to enter stuff. This refactor will come in a few weeks or months depending on how fast I can finish this work, so stay tuned! ;)


[HUDI-7980] Optimize the configuration content when performing clustering with row writer

Currently, the row writer defaults to snapshot reads for all tables. However, this method is relatively inefficient for MOR  tables when there are no logs. Additionally, we have already configured the glob path for queries. We need to read all the files from the glob path without requiring additional configurations for time travel queries. I believe the parameter
TIMESTAMP_AS_OF is unnecessary and may lead to inconsistencies between the instant and the selected files, potentially causing data loss. Therefore, we should optimize this part of the configuration.
Change Logs
None
Impact
None
Risk level (write none, low medium or high below)
low
Documentation Update
None
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@majian1998 Looks resonable fix, can you take care of the CI failures?


remove unused --build-mode flags?

I don't see any use of the following build-mode flags (for the dartanalyzer tool):
    --build-summary-only-diet              Diet parse function bodies.
    --build-summary-output                 Specifies the path to the file where the full summary information should be written.

Are these important to keep, or an artifact of previous use cases? --build-mode is not user facing so these should be low risk to remove.
@stereotype441

Yes, I believe is it safe to remove these.

build-summary-only-diet is removed
build-summary-output is still there and I think can be removed

dartanalyzer is deprecated and dart analyze does not support these flags.


[Warhammer-Fantasy-Roleplay-2nd-Edition] Update "pl" translate

Update "pl.json" for Warhammer-Fantasy-Roleplay-2nd-Edition
Changes / Comments
There's a returning typo. I've described problem.
https://github.com/Roll20/roll20-character-sheets/commit/b9ab1404c7b007da352ad1c1c979fe59c2e548ae?fbclid=IwAR2z6qsmRDmQL9avZKM7EKXSShWaQGVWYgQAfVLE4hriDkup8dwQ1pGcKCI#r38172088
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

This is changed to the incorrect version.
Correct one:

"INGREDIENTS": "Składniki"

History of changes of this "line" (value for this key):

commit
by
"INGREDIENTS" value
date
correct?

247b29411ef43074a1a88105ec19abc60235f9c1
@clevett
"Skłądniki"
3 Mar 2020
no

4a6dbc1800ae1fbaf6140545a5bfd7cf3aa27958
@wakulig2
"Składniki"
30 Mar 2020
yes

b9ab1404c7b007da352ad1c1c979fe59c2e548ae
Olivia Lemmelin
"Skłądniki"
31 Mar 2020
no

This is the plural of the word "INGREDIENT" in which the typo was corrected.

-	"INGREDIENT": "Skłądnik",
+	"INGREDIENT": "Składnik",
f59a5c04af90e87812215db0bb336219451dc1fe @clevett 9 Mar 2020


[]string populate

How to properly populate []string from:
SELECT `name` FROM `users`

This is not currently supported. You would have to call All() or do for-loop to populate it.

Thanks, Qiang!


Visualization for human meta-analysis of public data

Functional implementation of visualizing the human meta-analysis for acute muscle and blood using the full dataset.

A standalone site at https://extrameta.org has been established for this.


Gather/scatter2

adresses #41. @vchuravy
I've started from scratch with my gather/scatter implementation, because I've overlooked some part of the C-API perviously that allows me to determine the count regardless of what type of data gets gathered/scattered. I therefore also removed count from the parameter list.

Thanks! This is a great contribution.
I was wondering what your plans are with LAMMPS.jl
Would something like #28 be helpful in your work?

 I think gather and scatter is basically everything that I need for my project at the moment. I'm currently working on Implementing a Finite-Element-Molecular-Dynamics coupling method, that alternates between FE and MD simulation steps. So after each iteration (either FE or MD) I have to update the positions and forces on certain atoms designated as anchors.
The original implementation of that Method (written in Matlab) used to read/write this information from/to dump files while starting a new LAMMPS instance for each MD iteration step. With this change I don't have to bother with reading/writing files while also hopefully removing the overhead from restarting LAMMPS for each Iteration Step.
I'm hopeing that this will give me a nice performance boost - apart from the ~100x performance increase I was already able to get from writing the FE simulation in Julia (using Ferrite) instead of Matlab.


Upgrade maven surefire plugin from 2.18.1 to 2.19.1

This is done centrally at
https://github.com/fabric8io/fabric8-maven-dependencies

Closing this PR as you do it at that other project which then automate PRs to various git repos


Fix/doc links

fixes some broken links in the doc comments

there's a bit more to do. there's a lot of references in the code to a PersistentEvent, but i can't see that anywhere. Is that a reference from an earlier API version perhaps?

Hey there, thanks for the PR! Really appreciated the love for docs, I admit I left those behind a bit 😅

there's a bit more to do. there's a lot of references in the code to a PersistentEvent, but i can't see that anywhere. Is that a reference from an earlier API version perhaps?

It should be eventually_core::store::Persisted

by the way, i'm assuming a squash merge in these pull requests. unless you'd rather i rebased?

the nightly linting thing probably belongs in a separate pull request, happy to roll that one back @ar3s3ru

by the way, i'm assuming a squash merge in these pull requests. unless you'd rather i rebased?

Squash-merges are the only merge operations enabled on this repository 😄 ✌🏻

the nightly linting thing probably belongs in a separate pull request, happy to roll that one back @ar3s3ru

Yes that would be best 👍🏻


Issue with Google Multi-Factor Authentication - PlatformException(sign_in_failed)

Steps to reproduce

Expected results
PlatformException(sign_in_failed, com.google.android.gms.common.api.b: 10:, null, null)
Actual results
Dear Flutter.dev Team,
I hope this message finds you in good health.
We are currently using Google Multi-Factor Authentication and are facing an error when attempting to sign in or sign up. The error message we receive is as follows:
PlatformException(sign_in_failed, com.google.android.gms.common.api.b: 10:, null, null)
When we call the function, the dialog box listing all the email accounts appears, but the error occurs during the login/sign-up process. Despite trying all possible solutions, the error persists.
Our application, Glo Currency, is live. We have already configured our Google Play Console keys, including the upload JKS keys and app signing keys.
Could you please provide assistance or guidance on resolving this issue?
Thank you for your support.
Best regards,
Muhammad Umer.
Finjineers.
Code sample
  signInWithGoogle({required BuildContext context}) async {
      showMyWaitingModal(context: context);
      final GoogleSignInAccount? googleUser = await GoogleSignIn().signIn();
      print("googleUser $googleUser");
      final GoogleSignInAuthentication? googleAuth =
      await googleUser?.authentication;
      print("googleAuth $googleAuth");
      try {
        print("credential start");
        final credential = GoogleAuthProvider.credential(
          accessToken: googleAuth?.accessToken,
          idToken: googleAuth?.idToken,
        );
        print("credential ${credential}");

        UserCredential userCredential =
            await FirebaseAuth.instance.signInWithCredential(credential);
        print("userCredential ${userCredential}");
        User? user = userCredential.user;
        print("user ${user}");

        if (user != null) {
        print("userNotNull ${user.uid}");
            await pref.setString(DBkeys.isRegisterMethod, "google");
            await pref.setString(DBkeys.isRegisterMethod, "googleAuth");
            user.getIdToken().then((value) async {
            print(user);
            if (userCredential.additionalUserInfo!.isNewUser) {
              Navigator.pushAndRemoveUntil(
                  context,
                  MaterialPageRoute(
                      builder: (context) => SignupOnBoardScreen()),
                  (route) => false);
            } else {
              FirebaseAuth.instance.currentUser
                  ?.getIdToken(false)
                  .then((value) async {
                // print("tokenPrint $value");
                http.Response reponse = await APIsFunctions().getApiFunction(
                  token: value!,
                  apiUrl: userLegalUrl,
                );
                final allData = jsonDecode(reponse.body);
                print("legalResponse $allData");
                await Sentry.configureScope(
                      (scope) => scope.setUser(SentryUser(id: FirebaseAuth.instance.currentUser?.uid, email: FirebaseAuth.instance.currentUser?.email)),
                );
                if (allData != null && allData["data"]['type'] != "UNKNOWN") {
                  signupUserStatusCheckFun(
                      context: context, isUserLoginToHomeBool: true);
                } else {
                  Navigator.pushAndRemoveUntil(
                      context,
                      MaterialPageRoute(
                          builder: (context) => SignupOnBoardScreen()),
                      (route) => false);
                }
              });
            }
          });
        }
      } on FirebaseAuthMultiFactorException catch (e) {
        e;
        final firstHint = e.resolver.hints.first;
        if (firstHint is! PhoneMultiFactorInfo) {
          return;
        }
        number = firstHint.phoneNumber;

        await FirebaseAuth.instance.verifyPhoneNumber(
          multiFactorSession: e.resolver.session,
          multiFactorInfo: firstHint,
          verificationCompleted: (_) {},
          verificationFailed: (_) {},
          codeSent: (String verificationId, int? resendToken) async {
            // See `firebase_auth` example app for a method of retrieving user's sms code:
            // https://github.com/firebase/flutterfire/blob/master/packages/firebase_auth/firebase_auth/example/lib/auth.dart#L591
            // final smsCode = await getSmsCodeFromUser(context);
            await pref.setString(DBkeys.isRegisterMethod, "google");
            await smsDialogBox(context: context, error: e);
            if (isOTPValueStore.isNotEmpty) {
              // Create a PhoneAuthCredential with the code
              final credential = PhoneAuthProvider.credential(
                verificationId: verificationId,
                smsCode: isOTPValueStore,
              );

              try {
                await e.resolver
                    .resolveSignIn(
                  PhoneMultiFactorGenerator.getAssertion(
                    credential,
                  ),
                )
                    .then((value) async {
                  if (value.user != null) {
                    await pref.setString(DBkeys.isRegisterMethod, "google");
                    FirebaseAuth.instance.currentUser
                        ?.getIdToken()
                        .then((value) async {
                      print("tokenPrint $value");
                      http.Response reponse =
                          await APIsFunctions().getApiFunction(
                        token: value!,
                        apiUrl: userLegalUrl,
                      );
                      final allData = jsonDecode(reponse.body);
                      if (allData["data"]['type'] != "UNKNOWN") {
                        signupUserStatusCheckFun(
                            context: context, isUserLoginToHomeBool: true);
                      } else {
                        Navigator.pushAndRemoveUntil(
                            context,
                            MaterialPageRoute(
                                builder: (context) => SignupOnBoardScreen()),
                            (route) => false);
                      }
                    });
                  }
                });
              } on FirebaseAuthException catch (e) {
                Navigator.pop(context);
                print(e.message);
                AppToast.show("${e.message}");
              }
            } else {
              print("Sms null $isOTPValueStore");
            }
          },
          codeAutoRetrievalTimeout: (_) {},
        );
      } catch (e) {
        Navigator.pop(context);
        AppToast.show("Account not selected");
        print("catch Google Error $e");
      }
    notifyListeners();
  }

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
PlatformException(sign_in_failed, com.google.android.gms.common.api.b: 10:, null, null)

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.19045.4651], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.35)
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
      development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK
[!] Android Studio (version 2022.1)
    X Unable to determine bundled Java version.
[√] Android Studio (version 2023.3)
[√] VS Code (version 1.91.1)
[√] Connected device (5 available)
[√] Network resources

! Doctor found issues in 2 categories.

Hi @umerfinjineers, error 10 means a DEVELOPER_ERROR which likely means there's an issue with your configuration in some way. Please make sure you've configured your Oauth consent screen as stated in the readme of the  https://pub.dev/packages/google_sign_in package. Please also make sure you're using the correct SHA-* keys. You may also check https://stackoverflow.com/questions/47437678/why-do-i-get-com-google-android-gms-common-api-apiexception-10 to see if any comment there helps.
The plugin only returns the error/response it gets from the google backend as such you'll need to check your configuration again. There isn't much we can do about the developer error as such I'll be closing this issue.
Thank you

Hi @danagbemava-nc  , My app is Live in the Play Store and Apple Store. In the Apple store, this code is worked properly but on the Android side in release mode, there is no work. Google App keys and SHA keys have already been added. I have already searched this issue and implemented every solution but it has not worked.


Add text when there is no message between two user (VueJS)

right now there is nothing if there is no message exchange between two users, should have a text "You haven't send any message to this person yet"

Can I take this one?

yes

@hasnayeen has submitted a pull request. See it on IssueHunt

@hasnayeen has rewarded $18.00 to @hasnayeen. See it on IssueHunt

:moneybag: Total deposit: $20.00
:tada: Repository reward(0%): $0.00
:wrench: Service fee(10%): $2.00


[SR-4] API availability checks are not implemented for non-Darwin platforms

Previous ID
SR-4

Radar
rdar://problem/18881232

Original Reporter
@jopamer

Type
Bug

Status
Reopened

Resolution

Additional Detail from JIRA

Votes
1

Component/s
Compiler

Labels
Bug

Assignee
None

Priority
Medium

md5: b127305c866f6c4eaeed6bc743b091bc

Issue Description:
We don’t have a good versioning scheme to use on non-Darwin platforms, so API availability checking always returns false on non-Darwin.
If nothing else, we should consider adding a compile-time warning or error when this language feature is used.

Use Rust


Add zkcrypto support

Thanks, I checked EIP-4844, however the performance is terrible:
running 8 tests
test tests::bytes_to_bls_field_test_ ... ok
test tests::compute_powers_test_ ... ok
test tests::aggregate_proof_for_single_blob_test_ has been running for over 60 seconds
test tests::blob_to_kzg_commitment_test_ has been running for over 60 seconds
test tests::compute_aggregate_kzg_proof_test_empty_ has been running for over 60 seconds
test tests::compute_commitment_for_blobs_test_ has been running for over 60 seconds
test tests::eip4844_test_ has been running for over 60 seconds
test tests::evaluate_polynomial_in_evaluation_form_test_ has been running for over 60 seconds
test tests::evaluate_polynomial_in_evaluation_form_test_ ... ok
test tests::compute_aggregate_kzg_proof_test_empty_ ... ok
test tests::blob_to_kzg_commitment_test_ ... ok
test tests::aggregate_proof_for_single_blob_test_ ... ok
test tests::compute_commitment_for_blobs_test_ ... ok
test tests::eip4844_test_ ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 141.87s

It's not surprising zkcrypto that is slower, but I didn't expect that it's slower almost 50 times! Something must be wrong. Also, seems tests::verify_aggregate_kzg_proof_test_empty_ is missing.
Could you try to port the benchmarks and get a very rough idea of why it's so insanely slow? It's normal that it's 2-3X slower according to  https://hackmd.io/@gnark/eccbench , but not that much we see in the tests.

I did the pr on the code before this merge, this is why test is not there

Cherry picked @Nick9707's commit into #199.
The reason for it for being so slow is because it was naively multiplying G1 points by Fr points for 4096  (field elements per blob) times! Replaced old logic with MSM https://github.com/sifraitech/rust-kzg/pull/199/commits/fd8852053b8233941cce6e0d9bc419492e272b65 and the performance now is reasonable.
Here are the local benchmark results without the parallel feature:

benchmark
times slower than blst-from-scratch

blob_to_kzg_commitment
3.13 (was 18.29 with old logic)

compute_kzg_proof
3.06 (was 17.55 with old logic)

compute_blob_kzg_proof
3.04 (was 17.72 with old logic)

verify_blob_kzg_proof
2.20

verify_blob_kzg_proof_batch/1
2.15

verify_blob_kzg_proof_batch/2
1.90

verify_blob_kzg_proof_batch/4
1.65

verify_blob_kzg_proof_batch/8
1.48

verify_blob_kzg_proof_batch/16
1.41

verify_blob_kzg_proof_batch/32
1.49

verify_blob_kzg_proof_batch/64
1.37

Great work! But this is still significantly slower than blst_from_scratch ?

Yes, and blst-from-scratch is using the pippenger's algorithm


Bump libsqlite3-sys

Bumps libsqlite3-sys to v0.25.2 (which bumps sqlite to 3.40.1).
This seems to fix some random glitches that we've been experiencing when running our integration test suite so it would be great to have this merged soon.
I've also included @tyrelr's #2228 because it wouldn't compile without it.

Hm, there is a test failure here: https://github.com/launchbadge/sqlx/blob/ea2db6ea9bcf8615084b75d27cfa7f411be0b667/tests/sqlite/describe.rs#L273. Wonder if the EXPLAIN format changed in the new sqlite version?

See #2094
SQLite is already bumped to v0.25 on the v0.7 branch that is pending release


Remove "Generated but not accepted, Staked" from wallet transaction list

The 'Recent Transactions' pane in the wallet shows both accepted and 'not accepted' staked transactions. The same is the case for 'Transactions' tab. This should be changed so that ONLY the accepted staked transactions are shown.

 Remove "Generated but not accepted, Staked" from wallet transaction list

With V3, generated but not accepted stakes are made distinguishable on the recent transaction list by showing them as orphans instead as stakes. Also the tooltip does now explain how a stake can become an orphan. Showing orphans is important for the user since having many orphans is a sign of a setup problem like bad wifi connection.


Added a all-in-one socials button

Added a social button containing the links of Instagram, Twitter , Discord and Github

@huzaifa9999 Well done.
Thanks for your contribution. 🌟
Make sure to ⭐ and follow me.
I would love to connect with you all ❤
https://www.linkedin.com/in/om-gawande/

@Spyware007 Thankyou for accepting the request . Looking forward  to contribute more to the project


change OlapMeta to KVStore

I have change OlapMeta  to KVStore
olap_meta.h to kv_store.h
olap_meta_test.cpp to kv_store_test.cpp

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: BanBuDu0:x: SunyuejunSunyuejun 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.

I run
cd build-support/ sh clang-format.sh
this in my mac Os catalina 10.15.7 clang-format-12.0.1
and still have starrocks_clang-format error

I run
cd build-support/
sh clang-format.sh
in my mac Os catalina 10.15.7 clang-format-12.0.1
and still have starrocks_clang-format error

Good Job!
The clang-format we are using is 10.0.1，can you install the same version on your local computer? We'll try to provide the clang-format along with the source code or docker image in the near future.

LGTM, PTAL @imay

why starrocks_be_unittest error after I change some code annotation  /(ㄒoㄒ)/~~

why starrocks_be_unittest error after I change some code annotation /(ㄒoㄒ)/~~

The tests are not quite stable now, you can rerun it by typing run starrocks_be_unittest


Update sites.yml

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: haxi.viw.se
  url: https://haxi.viw.se
  size: 233
  last_checked: 2022 03 15

GTMetrix Report: https://gtmetrix.com/reports/haxi.viw.se/bqO8waLX/

Thanks for your submission. Your entry is not in alphabetical order. Could you fix that?

Closing due to inactivity. Please reopen if you want to add your site.


Add openEuler as a supporting operating system.

Pull Request (PR) description
This PR add openEuler 22 https://www.openeuler.org/ as a supporting OS. openEuler is a community-driven Linux distro which adopts yum as its package manager. We've tested it in our openEuler cluster. We appreciate if this patch can be back ported to puppet-yum v6.x branch.
Thank you!

Hi @bastelfreak , how can I make this PR accepted? Any suggestion is appreciated. Thank you.


[Enhancement]: The nested paths in Table + Button Group needs to be binded to theming on first drop and on creating new items

Whenever we drop button group or table widget, the nested paths that are meant to be linked with theming should have binding according to theme config. Same goes with creating new columns ( in table widget ) and buttons in button group.

Closing as done


fix: add log_level to RealtimeClientOptions type

@w3b6x9 Is the log_level parameter being sent to the server?


incorrect URL for scm

[Enter feedback here]
https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps-net#troubleshooting
Incorrect - https://yoursitename.scm.azurewebsites.net/ApplicationInsights
Correct -    https://scm.yoursitename.azurewebsites.net/ApplicationInsights

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

ID: 69c07418-cf3d-9ed7-312f-e9e5d17a4309
Version Independent ID: 268b5830-a77f-542d-e9c7-5b6999158527
Content: Monitor Azure app services performance ASP.NET - Azure Monitor
Content Source: articles/azure-monitor/app/azure-web-apps-net.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@pagariyaalok Thanks for your comment! We will review and provide an update as appropriate.

Thanks for your dedication to our documentation. This issue has been triaged and approved. The PR is mentioned in the chat above. #please-close


Permissions by default

The problem that fixed in #90 also appears on my app.
Similar to the location permission, we should thinking about to add the service permissions to the library AndroidManifest file.
If we don't want it, maybe for the reason that not all apps will use the active navigation notification, we should check for available permissions and use the given service only when permission is set.
I tend to add the permission to the library. What's your opinions to that?

Could you clarify on the impact of this? Are there downside of adding this?
In general my feeling is that, all permissions that are required by this library should also be added to the Manifest.

The SDK is showing a notification with current running navigation state. This notification is a foreground notification. The user can see, that the navigation is continue running and his location is used.
Without this permission, the location can not accessed when the app is minimized to the background. And on newer Android versions (API +..) the app will crash, while the SDK is using this without setting the permission.
Downside is, that Google will ask for the reason of using this permission. You need append also a Video to show the use case.

Sorry, the screenshot is in german. I don't find the language switch for the Play Console.

I think the right way is to adding this permission by default. It make sense to keep the location accessed and also keep the navigation running on minimized state. But maybe there are some developers that don't want use this feature and will hide the notification. Then the permission is useless and my block the Play Store review process.
What do you think? Do we add the permission by default until some users may report an issue. Or do we want add a simple configuration parameter for the notification and add some documentation hint.

What do you think? Do we add the permission by default until some users may report an issue. Or do we want add a simple configuration parameter for the notification and add some documentation hint.

Is it possible to do this with a simple configuration setting? If yes, I think this would be perfect.


Tank having too much life

Sometime the enemy tank (don't know for my team) have very high healthbar, it take like 6 ore more seconde to kill a tank with bastion

Was this happening on control maps? See #56

Was this happening on control maps? See #56

on Einchenwald and anubis

Can you be more specific like which tank hero and what abilities were used etc?

i was just using the assault configuration of bastion it happens on reinhart , winston  (not every time for reinhart)

closing as issue can’t be replicated


fix: add difficulty to autoseal blocks

fixes #2135
Issue was mainly context for this PR

Codecov Report

Merging #2136 (bdc4b55) into main (843efe8) will decrease coverage by 54.86%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #2136       +/-   ##
===========================================
- Coverage   71.97%   17.11%   -54.86%
===========================================
  Files         440      440
  Lines       53796    53796
===========================================
- Hits        38718     9209    -29509
- Misses      15078    44587    +29509

Flag
Coverage Δ

integration-tests
17.11% <0.00%> (-2.32%)
:arrow_down:

unit-tests
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/consensus/auto-seal/src/task.rs
0.00% <0.00%> (ø)

... and 317 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Recent changes to posix spawn seems to cause a segfault in std::process::Command

Hi.
The CI of rustc_codegen_gcc suddendly started failing.
After investigation, it seems to be caused by recent changes to libc, regarding posix spawn stuff (so possibly related to this change).
My target triple is: x86_64-unknown-linux-gnu.
Here's the code (inspired by std::process::Command) that works with libc 0.2.153, but segfaults with 0.2.154 (it doesn't reproduce in the playground since it still uses version 0.2.153):
use std::{ffi::OsStr, io};
use std::ffi::{c_int, c_ulong, c_short};

use libc::{gid_t, pid_t, uid_t};
//use std::os::unix::raw::{uid_t, gid_t, pid_t};

mod imp {
    use std::{ffi::{CString, OsStr}, io, os::unix::ffi::OsStrExt, process::Stdio};

    use libc::{gid_t, pid_t, uid_t};
    //use std::os::unix::raw::{uid_t, gid_t, pid_t};

    pub struct Command {
        pub program: CString,
        args: Vec<CString>,
        cwd: Option<CString>,
        pub uid: Option<uid_t>,
        pub gid: Option<gid_t>,
        saw_nul: bool,
        pub closures: Vec<Box<dyn FnMut() -> io::Result<()> + Send + Sync>>,
        pub groups: Option<Box<[gid_t]>>,
        stdin: Option<Stdio>,
        stdout: Option<Stdio>,
        stderr: Option<Stdio>,
        #[cfg(target_os = "linux")]
        pub create_pidfd: bool,
        pub pgroup: Option<pid_t>,
    }

    fn os2c(s: &OsStr, saw_nul: &mut bool) -> CString {
        CString::new(s.as_bytes()).unwrap_or_else(|_e| {
            *saw_nul = true;
            CString::new("<string-with-nul>").unwrap()
        })
    }

    impl Command {
        pub fn new(program: &OsStr) -> Command {
            let mut saw_nul = false;
            let program = os2c(program, &mut saw_nul);
            Command {
                args: vec![program.clone()],
                program,
                cwd: None,
                uid: None,
                gid: None,
                saw_nul,
                closures: Vec::new(),
                groups: None,
                stdin: None,
                stdout: None,
                stderr: None,
                create_pidfd: false,
                pgroup: None,
            }
        }
    }
}

pub fn cvt_nz(error: c_int) -> io::Result<()> {
    if error == 0 {
        return Ok(())
    }
    panic!();
}

pub struct Command {
    inner: imp::Command,
}

impl Command {
    pub fn new<S: AsRef<OsStr>>(program: S) -> Command {
        Command { inner: imp::Command::new(program.as_ref()) }
    }

    pub fn get_pgroup(&self) -> Option<pid_t> {
        self.inner.pgroup
    }

    pub fn get_create_pidfd(&self) -> bool {
        self.inner.create_pidfd
    }

    pub fn get_uid(&self) -> Option<uid_t> {
        self.inner.uid
    }

    pub fn get_gid(&self) -> Option<gid_t> {
        self.inner.gid
    }

    pub fn env_saw_path(&self) -> bool {
        false
    }

    pub fn program_is_path(&self) -> bool {
        self.inner.program.to_bytes().contains(&b'/')
    }

    pub fn get_closures(&mut self) -> &mut Vec<Box<dyn FnMut() -> io::Result<()> + Send + Sync>> {
        &mut self.inner.closures
    }

    pub fn get_groups(&self) -> Option<&[gid_t]> {
        self.inner.groups.as_deref()
    }

    fn posix_spawn(
        &mut self,
    ) -> io::Result<Option<i32>> {
        use std::mem::MaybeUninit;

        if self.get_gid().is_some()
            || self.get_uid().is_some()
            || (self.env_saw_path() && !self.program_is_path())
            || !self.get_closures().is_empty()
            || self.get_groups().is_some()
            || self.get_create_pidfd()
        {
            return Ok(None);
        }

        #[repr(C)]
        struct sched_param {
            sched_priority: c_int,
        }

        #[repr(C)]
        struct sigset_t {
            __val: [c_ulong; 16],
        }

        #[repr(C)]
        pub struct posix_spawnattr_t {
            __flags: c_short,
            __pgrp: pid_t,
            __sd: sigset_t,
            __ss: sigset_t,
            #[cfg(any(target_env = "musl", target_env = "ohos"))]
            __prio: c_int,
            #[cfg(not(any(target_env = "musl", target_env = "ohos")))]
            __sp: sched_param,
            __policy: c_int,
            __pad: [c_int; 16],
        }

        extern "C" {
            fn posix_spawnattr_init(attr: *mut posix_spawnattr_t) -> c_int;
        }

        unsafe {
            let mut attrs = MaybeUninit::uninit();
            //cvt_nz(posix_spawnattr_init(attrs.as_mut_ptr()))?; // This works.
            cvt_nz(libc::posix_spawnattr_init(attrs.as_mut_ptr()))?; // This segfaults.
            Ok(None)
        }
    }
}

fn main() {
    let mut command = Command::new("ls");
    command.posix_spawn().unwrap();
}

It seems there's stack corruption.
It could be interesting to run the std tests in the CI to check if changes to libc breaks anything.
Thanks.
Edit: Pinning to the version 0.2.153 fixes the CI in rustc_codegen_gcc: https://github.com/rust-lang/rustc_codegen_gcc/pull/512

+1 we're also seeing segfaults after updating libc to 0.2.154 with code that uses posix_spawn directly.

Linux posix_spawnattr_init really is just an wrapper for memset an value of type posix_spawnattr_t. #3602 changed posix_spawnattr_t to *mut c_void, and that caused a buffer overflow.
    unsafe {
        let mut attrs = <MaybeUninit<*mut c_void>>::uninit();
        let ptr = attrs.as_mut_ptr();
        memset(ptr as _, 0, size_of::<libc::posix_spawnattr_t>());
    }

On Android (with Bionic libc), posix_spawnattr_init calls an calloc that allocates
a new posix_spawnattr_t. Which is valid on that target.
I propose maintainers to yank libc v0.2.154.

https://github.com/rust-lang/libc/pull/3690 has been merged, and 0.2.155 has been released, so I believe this can be closed.


Please support dynamic display of sidebar.

I use the TOC Generator plug-in, which can dynamically display the directory structure in the current page by typing {{renderer :tocgen, *}} in the sidebar directory page.
It would be great if your plug-in can also achieve this function!

I accept it as a suggestion.
This plugin only modifies stylesheets(CSS).
There is no Logseq Plugin API to get Page-tags and Hierarchy for a page yet.

It turns out that Logseq has a macro to show the hierarchy.
Example: {{namespace PAGE}}

Sorry, let me rephrase. You want a table of contents on the right side of the page, like the page tags and hierarchy, instead of inside the open right sidebar, right?


[Feature] Load Tailwind Config from project if available

It would be nice if other imports would be allowed too. I already have a tailwind config in the project, and if possible I don't want to duplicate it. (currently I'm importing it in the script and passing it as a prop) Or perhaps use a composable and in nuxt the useRuntimeConfig()

Originally posted by @nandi95 in https://github.com/Dave136/vue-email/issues/64#issuecomment-1721503941
TODO:

[ ] Update how the Tailwind component works
[ ] load configuration either from nuxt or the config file on the project

Would be highly appreciated! I can offer testing as soon as there is a pre-release.


Put the header content in the sidebar on mobile and remove the header toggle

Context
In a few places we have been discussing what to do with our "three buttons problem":

https://github.com/pydata/pydata-sphinx-theme/issues/823
https://github.com/pydata/pydata-sphinx-theme/issues/195
https://github.com/pydata/pydata-sphinx-theme/issues/801

One of the core issues is that there is a natural place to put two UI buttons in the header (on the far left and far right) but putting three is awkward. That's why we're discussing other stuff like a second header underneath the main one etc.
Proposal
What if on mobile, we put all of the header information after the logo into the sidebar. This would allow users to see all the header content by toggling the sidebar. We could then remove the "dropdown button" that we currently use for the header menu on mobile. Then we could have a standard header button layout with a hamburger menu on the left, and a "toc show" button on the right.
To do this, we could just duplicate all of the navbar_center and navbar_end items in our primary sidebar, and wrap them in a container that is display: none when on wide screens. We'd do the opposite for our header content so that it hides on mobile screens.
I think this might simplify our CSS and templating logic, as well as our user interface quite a bit.
I have a PR to try this out at the link below!

https://github.com/pydata/pydata-sphinx-theme/pull/834

can this be considered solved ?

Yes! Closed by #834


Install v0.5.0 on Ubuntu 20.04/18.04?

Is there a way to install a stable version of libgoogle-glog-dev 0.5.0 or 0.6.0 on Ubuntu 20.04/18.04?

We do not maintain Ubuntu packages.


Rect2D+Box3D migration to archetypes

Turn into sub-issues as needed.

[ ] Python support

[ ] Extensions
[ ] Unit test (constructors, serialization)
[ ] Doc example

[ ] Rust support

[ ] Extensions
[ ] Unit test (constructors, rust-to-rust roundtrip)
[ ] Doc example

[ ] C++ support

[ ] Extensions
[ ] Unit test (constructors, serialization)
[ ] Doc example

[ ] Cross-language roundtrip test
[ ] Remove old components

[ ] Clean up re_components
[ ] Port viewer to use new types and queries

Discussion here: https://rerunio.slack.com/archives/C041NHU952S/p1691680747657179?thread_ts=1691674786.938629&cid=C041NHU952S
Summary: archetype Box{2,3} = { Point{2,3}, HalfExtents{2,3}, Optional<Rotation{2,3}> }

We need this:

https://github.com/orgs/rerun-io/projects/1/views/11?pane=issue&itemId=38209991


build fails "No value has been specified for property 'mainClassName'"

I can't get gradle to build successfully.  Here's my environment:
[qbit3]$ gradle -v
Gradle 2.3
Groovy:       2.3.9
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_31 (Oracle Corporation 25.31-b07)
OS:           Linux 3.18.7-100.fc20.x86_64 amd64
The error:
[qbit3]$ gradle clean build install
:startScripts FAILED
FAILURE: Build failed with an exception.

What went wrong:
A problem was found with the configuration of task ':startScripts'.

No value has been specified for property 'mainClassName'.

Oddly, "gradle classes" and then "gradle test" both succeed.  Ideas?
I don't have any experience with gradle so not sure how to troubleshoot further.
Thanks,
-Matt

Does not happen for me but the fix should be easy. I just need to add the
propery or remove the plugin.
Thanks for reporting it and sorry about that.
The gradle build needs some love.
It has accumulated too much cruft.
On Saturday, March 21, 2015, mbacchi<EMAIL_ADDRESS>wrote:

I can't get gradle to build successfully. Here's my environment:
[qbit3]$ gradle -v
Gradle 2.3
Groovy: 2.3.9
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.8.0_31 (Oracle Corporation 25.31-b07)
OS: Linux 3.18.7-100.fc20.x86_64 amd64
The error:
[qbit3]$ gradle clean build install
:startScripts FAILED
FAILURE: Build failed with an exception.

What went wrong: A problem was found with the configuration of task
':startScripts'.

No value has been specified for property 'mainClassName'.

Oddly, "gradle classes" and then "gradle test" both succeed. Ideas?
I don't have any experience with gradle so not sure how to troubleshoot
further.
Thanks,
-Matt
—
Reply to this email directly or view it on GitHub
https://github.com/advantageous/qbit/issues/221.

--
Rick Hightower
(415) 968-9037
Profile http://www.google.com/profiles/RichardHightower

Ok.. I took a stab at fixing this. Let me know if it works.

Thanks Richard.  Following your lead I made the following change, I would
fork and create a pull request but for a single line change I think its
unnecessary.  This builds now for me.  I'm planning to use qbit to learn
microservices I'm not really a web guy but was planning to write a small
todo microcervice app when I found qbit doing a google search.  I want to
get the test todo application running then will figure out how to write my
own.  Thanks again.
--- a/build.gradle
+++ b/build.gradle
@@ -388,7 +388,6 @@ project(':qbit-perf-server') {
project(':qbit-admin') {

apply plugin: 'application'
dependencies {
compile project(':qbit-boon')

-Matt
On Sun, Mar 22, 2015 at 12:35 AM, Richard Hightower <
<EMAIL_ADDRESS>wrote:

Ok.. I took a stab at fixing this. Let me know if it works.
—
Reply to this email directly or view it on GitHub
https://github.com/advantageous/qbit/issues/221#issuecomment-84520368.

Hi Matt,
Thanks for your interest in QBit, i noticed  that you are interested in building Todo List app with QBit, we have done a simple one, it could be a good starting point for you. Check it out:
https://github.com/advantageous/qbit/wiki/[Quick-Start]-Building-a-single-page;-Todo-List-Application-with-QBit
Have a great day!


getFormula uses incorrect processing. Replaced.

Codecov Report

Merging #87 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #87   +/-   ##
========================================
  Coverage    60.03%   60.03%
========================================
  Files            5        5
  Lines          603      603
  Branches       128      128
========================================
  Hits           362      362
  Misses         217      217
  Partials        24       24

Impacted Files
Coverage Δ

petab/sbml.py
55.26% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Prepare skim matrices

In a omx format.

From Model Calibration and Validation Report of MABM:

"Estimated fuel consumption was converted into monetary terms using the 2013 retail price for ULP in Melbourne of 144.8c/L listed in Table 1 of the ATAP guidelines (ATAP, 2017)."


manually pasting url into image component does not work

The broblens worsen when editing 2 image urls, one of them gets stuck


A suggestion on making flexipatch-finalizer less final

So I don't know if you thought of doing this as a potential method to keep "flexipatch-finalizer" from being so final, but I didn't notice anything like this in the closed issues.
I freely admit I haven't tested this, just wrote this up in GitHub itself whilst trying to keep to the same coding style.
So feel free to "dump on" any mistakes, this is meant as a suggestion or a thought on a possible way to do this (this being, not deleting all the files).

Based on the proposed changes I take it that the general idea behind this change is to start a new branch named finalized before finalizing the code?
The flexipatch-finalizer is more final than that given that it deletes the .git directory so branching beforehand would be moot.
Usually you would run the script specifying a different output directory for your finalized build, e.g. something along the lines of:
$ ~/path/to/flexipatch-finalizer.sh -d dwm-flexipatch -o dwm-finalized

In which case the contents of dwm-flexipatch is copied to dwm-finalized before the actual work starts in the latter directory leaving the source directory intact.

I forgot about that, I guess setting KEEP_GITFILES=1 should be fine since the branching implies that .git i kept


How do i start contributing ?

Hello , I am new to the Github and i have decent knowledge about the data structures and algorithms . How can i start contributing ?

just clone this repo and raise a pull request!

Already did so...


RBD PVC with multi access mode (RWO and ROX) can not be mounted readwrite

Describe the bug
Mounting a new RBD PVC with 2 access modes (RWO and ROX) to a pod by readOnly=false will be failed. The pod stucks on "containerCreating" and the error message is "cannot mount unformatted disk /dev/rbd1 as we are manipulating it in read-only mode".
If mounting a used RBD PVC, the pod starts, but the PVC is mounted read only, no matter readOnly is set or not.
Environment details

Image/version of Ceph CSI driver : v3.1.0
Helm chart version :
Kernel version : 5.2.21-050221-generic
Mounter used for mounting PVC (for cephfs its fuse or kernel. for rbd its
krbd or rbd-nbd) : krbd
Kubernetes cluster version : v1.17.0
Ceph cluster version : 14.2.4

Steps to reproduce

Create PVC:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc-rbd
spec:
  accessModes:
  - ReadOnlyMany
  - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi
  storageClassName: ceph-rbd
  volumeMode: Filesystem

Create pod:

apiVersion: v1
kind: Pod
metadata:
  name: use-pvc-rbd
spec:
  containers:
    - name: main
      image: busybox
      volumeMounts:
      - name: rbd
        mountPath: /data
  volumes:
  - name: rbd
    persistentVolumeClaim:
      claimName: pvc-rbd

Wait until the pod is scheduled and stuck on "containerCreating", describe the pod to see the error message:

Events:
  Type     Reason                  Age              From                     Message
  ----     ------                  ----             ----                     -------
  Normal   Scheduled               10s              default-scheduler        Successfully assigned ***/use-pvc-rbd to ***19
  Normal   SuccessfulAttachVolume  10s              attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-221648a7-6fd6-453f-90d9-229c508001a1"
  Warning  FailedMount             4s (x4 over 9s)  kubelet, ***19          MountVolume.MountDevice failed for volume "pvc-221648a7-6fd6-453f-90d9-229c508001a1" : rpc error: code = Internal desc = cannot mount unformatted disk /dev/rbd1
as we are manipulating it in read-only mode

Actual results
Pod cannot start
Expected behavior
Pod starts and writes to the pvc mount path with no error
Logs
I have downgraded the rbd provisioner and node plugins to v2.1.x with a custom patch, and can not find the logs.
Additional context

feature request for "ROX RBD support": #725
an e2e test for "ROX RBD support" (closed) : #947
the implementation of "ROX RBD support" in v3.x: #949

e2e test in #949 is not exactly the same in #947, and I believe this is the reason.
in #947, a user should:

create a PVC with 2 access modes: RWO and ROX
create a pod, mount the pvc with write access, write data to the PVC
stop the first pod
create more than 1 pods, all of which mount the PVC with readOnly=true
all the pods can start and read the PVC

but in #949, user should:

create a PVC with 1 access mode: RWO
create a pod, mount the pvc with write access, write data to the PVC
stop the first pod
create a snapshot for the PVC
create more than 1 pods, all of which mount the snapshot with readOnly=true
all the pods can start and read the snapshot

am PVC cannot be used with both access mode at a given point of time.

am PVC cannot be used with both access mode at a given point of time.

It is not "at a given point of time."
the first pod is stopped when the other "reader pods" starts

please provide the logs of all node plugins. need to check accessmode  sent in the NodeStageRequest

@Madhu-1  Sorry, I'm afraid it is not possible. I downgraded the node plugins to v2.1.x. I will try the elk later.
And Thanks for your reponse and great work.

@houz42 please provide the exact steps to reproduce this one, so that we can also try it out locally

Mounting a new RBD PVC with 2 access modes (RWO and ROX) to a pod by readOnly=false will be failed. The pod stucks on "containerCreating" and the error message is "cannot mount unformatted disk /dev/rbd1 as we are manipulating it in read-only mode".

This can happen only if the filesystem format is not present on the rbd device and when you tried to mount the PVC as readonly. but i would like to see the corner cases if we are missing any. getting the nodeplugin logs helps a lot to see whats happening

@houz42 please provide the exact steps to reproduce this one, so that we can also try it out locally

Testing this quickly on an OpenShift cluster that I have available, shows it is possible to reproduce the issue with a few steps.

create a PVC woth RWO and ROX modes:

---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: busybox-srv
spec:
  storageClassName: ocs-storagecluster-ceph-rbd
  accessModes:
    - ReadWriteOnce
    - ReadOnlyMany
  resources:
    requests:
      storage: 1Gi

create a pod that writes something to the PVC

---
apiVersion: v1
kind: Pod
metadata:
  name: busybox-writer
spec:
  restartPolicy: Never
  containers:
  - name: busybox
    image: busybox
    args:
    - sh
    - -c
    - "echo Hello World > /srv/README.txt"
    volumeMounts:
      - name: srv
        mountPath: /srv
        readOnly: false
  volumes:
  - name: srv
    persistentVolumeClaim:
      claimName: busybox-srv

wait until the previous pod is in completed state
create a pod that reads the created file:

---
apiVersion: v1
kind: Pod
metadata:
  name: busybox-reader-1
spec:
  restartPolicy: Never
  containers:
  - name: busybox
    image: busybox
    args:
    - sh
    - -c
    - "cat /srv/README.txt ; sleep 1h"
    volumeMounts:
      - name: srv
        mountPath: /srv
        readOnly: true
  volumes:
  - name: srv
    persistentVolumeClaim:
      claimName: busybox-srv

check with kubectl logs busybox-reader-1 that the file is available
create a 2nd pod that reads the file, while the previous pod is running (sleep 1h)

---
apiVersion: v1
kind: Pod
metadata:
  name: busybox-reader-2
spec:
  restartPolicy: Never
  containers:
  - name: busybox
    image: busybox
    args:
    - sh
    - -c
    - "cat /srv/README.txt ; sleep 1h"
    volumeMounts:
      - name: srv
        mountPath: /srv
        readOnly: true
  volumes:
  - name: srv
    persistentVolumeClaim:
      claimName: busybox-srv

The busybox-reader-2 pod does not become running, it stays in containercreating:
NAME               READY     STATUS              RESTARTS   AGE
busybox-reader-1   1/1       Running             0          7m17s
busybox-reader-2   0/1       ContainerCreating   0          6m25s
busybox-writer     0/1       Completed           0          9m59s

The events when describing the 2nd pod contain the following:
Events:
  Type     Reason                  Age               From                                  Message
  ----     ------                  ----              ----                                  -------
  Normal   Scheduled               <unknown>         default-scheduler                     Successfully assigned issue-1406/busybox-reader-2 to ip-10-0-165-76.ec2.internal
  Normal   SuccessfulAttachVolume  7m                attachdetach-controller               AttachVolume.Attach succeeded for volume "pvc-cdc1cc98-adb1-4803-bfdb-9cff20ee2be3"
  Warning  FailedMount             5m                kubelet, ip-10-0-165-76.ec2.internal  Unable to attach or mount volumes: unmounted volumes=[srv], unattached volumes=[default-token-42pds srv]: timed out waiting for the condition
  Warning  FailedMount             47s (x7 over 6m)  kubelet, ip-10-0-165-76.ec2.internal  MountVolume.MountDevice failed for volume "pvc-cdc1cc98-adb1-4803-bfdb-9cff20ee2be3" : rpc error: code = Internal desc = rbd image ocs-storagecluster-cephblockpool/csi-vol-273c63ad-e2ba-11ea-b950-0a580a800209 is still being used
  Warning  FailedMount             43s (x2 over 3m)  kubelet, ip-10-0-165-76.ec2.internal  Unable to attach or mount volumes: unmounted volumes=[srv], unattached volumes=[srv default-token-42pds]: timed out waiting for the condition

The key is that the rbd-nodeplugin detects that there is a watcher on the RBD image (from events):
rbd image ocs-storagecluster-cephblockpool/csi-vol-273c63ad-e2ba-11ea-b950-0a580a800209 is still being used

If it is possible for the nodeplugin to know that the volume is to be used as ROX, there is no check for watchers needed. It should be sufficient to trust the (kubernetes) scheduler to not start a pods with conflicting accessModes at the same time.

@Madhu-1 sorry for the delay, I upgraded csi plugins in another cluster and reproducted the issue.
logs from node plugin:
I0820 11:49:15.212201 3558918 utils.go:159] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 GRPC call: /csi.v1.Node/NodeStageVolume
I0820 11:49:15.216713 3558918 utils.go:160] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 GRPC request: {"secrets":"***stripped***","staging_target_path":"/var/lib/kubelet/plugins/kubernetes.io/c$
i/pv/pvc-64437904-8d60-48d9-8b8f-d72bdfc0e705/globalmount","volume_capability":{"AccessType":{"Mount":{"fs_type":"ext4"}},"access_mode":{"mode":3}},"volume_context":{"clusterID":"sm-ceph","imageFeatures":"layering","imageFormat":"2","ima$
eName":"csi-vol-299f7c80-e2db-11ea-85a0-923dc59a8d52","journalPool":"rbd-hdd-1","pool":"rbd-hdd-1","radosNamespace":"","storage.kubernetes.io/csiProvisionerIdentity":"1597906218950-8081-rbd.csi.ceph.com"},"volume_id":"0001-0007-sm-ceph-0$
00000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52"}
I0820 11:49:15.217158 3558918 rbd_util.go:772] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 setting disableInUseChecks on rbd volume to: false
I0820 11:49:15.241295 3558918 omap.go:74] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 got omap values: (pool="rbd-hdd-1", namespace="", name="csi.volume.299f7c80-e2db-11ea-85a0-923dc59a8d52"): $
ap[csi.imageid:bb83f6513cb9b6 csi.imagename:csi-vol-299f7c80-e2db-11ea-85a0-923dc59a8d52 csi.volname:pvc-64437904-8d60-48d9-8b8f-d72bdfc0e705]
I0820 11:49:15.241649 3558918 nodeserver.go:258] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 setting disableInUseChecks on rbd volume to: 0x1370e70
I0820 11:49:15.277353 3558918 cephcmds.go:59] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 command succeeded: rbd [device list --format=json --device-type krbd]
I0820 11:49:15.328155 3558918 rbd_attach.go:216] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 rbd: map mon <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>
I0820 11:49:19.047972 3558918 cephcmds.go:59] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 command succeeded: rbd [--id admin -m <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS> --keyfile=***strippe$
*** map rbd-hdd-1/csi-vol-299f7c80-e2db-11ea-85a0-923dc59a8d52 --device-type krbd --read-only]
I0820 11:49:19.048026 3558918 nodeserver.go:291] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 rbd image: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52/rbd-hdd-1 was suc$
essfully mapped at /dev/rbd0
E0820 11:49:19.078394 3558918 nodeserver.go:497] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 failed to mount device path (/dev/rbd0) to staging path (/var/lib/kubelet/plugins/kubernetes.io/csi/$
v/pvc-64437904-8d60-48d9-8b8f-d72bdfc0e705/globalmount/0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52) for volume (0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52) error: cannot mount unfo$
matted disk /dev/rbd0 as we are manipulating it in read-only mode Check dmesg logs if required.
I0820 11:49:19.178592 3558918 cephcmds.go:59] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 command succeeded: rbd [unmap --device-type krbd /dev/rbd0]
E0820 11:49:19.178737 3558918 utils.go:163] ID: 607 Req-ID: 0001-0007-sm-ceph-0000000000000007-299f7c80-e2db-11ea-85a0-923dc59a8d52 GRPC error: rpc error: code = Internal desc = cannot mount unformatted disk /dev/rbd0 as we are manipulat$
ng it in read-only mode

@houz42 can you provide the steps to reproduce it.
as its, an rbd image doesn't have the filesystem on it and mapped as the readonly we cannot format the device path which is readonly.
Is the PVC previously mounted to any application pod and does it contains any data?

@Madhu-1

@Madhu-1

Is the PVC previously mounted to any application pod and does it contains any data?

no

New PVC cannot be used in such a way. that's why sent PR https://github.com/ceph/ceph-csi/pull/1388 to support ROX only for cloned volumes which are having data and filesystem on top of it.

The PVC is mounted as read/write, not readonly. Can I use it in such a way? Or can I use the PVC RWO first and ROX then without creating a snapshot?

Yes if kubernetes allow, you need to mount PVC as RWO/RWX write some data to PVC, and mount it as ROX. if you face an issue please feel free to reopen it again.


[e2e] Update to support new embedder

Required in order to end-to-end test migrated plugins.

Yes, I've updated the example app, this plugin can actually e2e test itself.


test failed on import

Hello,
I am trying to run a simple test on js that include some functions that I am export, and some others that I don't.
for example, here is the structure of my js file:
// test1.js
$(document).ready(function() {
   // some events handlers
});

export function func1() { ...}
export function func2() { ...}
export function func3() { ...}

function func4(){ ..}

and my test file look like:
// test1.spec.js
import {func1, func2, func3} from '../../test1.js';

test('test func1', () => {
  expectfunc1('abc')).toBe(false);
});

due to those files, when I run npm run test test1 I am get:
FAIL  __test__\registration.spec.js
  ● Test suite failed to run

    SyntaxError: Unexpected reserved word

      at transformAndBuildScript (node_modules\jest-cli\node_modules\jest-runtime\build\transform.js:320:12)
      at Object.<anonymous> (__test__\test1.spec.js:1:175)

my npm version is 2.15.9, node version is 4.5.0.
can someone tell me what I am doing wrong, or what is the problem?

It looks like you didn't install babel-jest? This would not be a problem if you used npm 3/4 or yarn.

It is probably because test1.spec.js is not getting transpiled, which is why it gives a syntax error with the import
Which version of Jest are you using? You can also print the whole config object by running Jest with --debug...
Unfortunately that error in Node 4 is not super helpful. See here for more info https://github.com/facebook/jest/issues/2488#issuecomment-270027383


Add an option for placing the docs/docs.go file

When generating the documentation with swag init, there is no option to place the generated docs folder differently. I'm trying to separate the documentation generation code from the application code.
At the moment the folder is always placed in the directory specified with the d flag, which is the analysed one. I'm aiming to have a src/ folder with the program code and a docs/ folder with the documentation and swagger code.
I use this script at the moment to move the generated file outside the source dir
#!/usr/bin/env bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"

APIPATH="../../src/admin-api"
INITFILE="admin-api.go"

cd "$SCRIPTPATH"

cd admin-api
swag init -g "$APIPATH/$INITFILE"  -d "$APIPATH" -s swagger/ || exit 1
mv "$APIPATH/docs/docs.go" docs/docs.go
rmdir "$APIPATH/docs/"

go build -o bin/admin-api-docs || exit 1

Please tell me if more explanations are needed, thanks

@j0hnwhyte
You can use. https://github.com/swaggo/swag/pull/325


Performance gap between flash attention, FasterTransformer, TensorRT

After reading your paper, flash attention has indeed achieved a significant speed improvement compared to other algorithms. Thanks for your impressive work！！！
But in industrial scenarios, we prefer to use FasterTransformer and TensorRT's demoBERT to accelerate transformer-based models. Are you interested in comparing the inference performance differences between the three?
Under the same condition，

Hareware: NV A100 40GB
Model: BERT-large
batch_size: 64
seqlen: 384
Data precision: fp16

Fastertransformer achieves 65.53ms, while TensorRT achieves 100.91ms.

This is awesome, thanks for the pointers on FasterTransformer and TensorRT!
We've been focusing on training and on long sequences, but we're definitely excited about inference as well.
I might have some time next week to set up the inference benchmark and optimize the forward pass for seqlen 384.
I don't have much experience with FasterTransformer, do you have some pointer on what model exactly is running with FasterTransformer (e.g., is the model weight in fp16 or fp32, I assume the data is in fp16, do all the input sequences have the same length or how are their lengths distributed, is the model preprocessed by fusing layer norm with other layers?). Having a script that runs the model with some random data with FasterTransformer would be very helpful for us!

Thanks for your reply!
FasterTransformer is an inference framework used for all transformer-based models, which implements a highly optimized transformer layer for both the encoder and decoder for inference.
The method is, based on  CUDA and C++,  to re-implement each layer of the Transformer and aggressively complete the layer fusion (MHA, LayerNorm).
when you have a transformer-based model(e.g. BERT or GPT-2), you only need to export model weights from Pytorch&TensorFlow, then launch this project. So you could set the datatype, batch_size, seqLen, hidden size as you want.
Taking the BERT-Large with batch_size=64, seqLen=384, dtype=16 as an example,

[FT][INFO] batch_size 64 seq_len 384 layer 24 FT-CPP-time 65.45 ms (10 iterations)
root@96d402509a14:/workspace/FasterTrasnformer# ./build/bin/bert_example 64 24 384 12 64 1 1
[INFO] Device: NVIDIA A100-PCIE-40GB

remove padding version

[FT][WARNING] Async cudaMalloc/Free is not supported before CUDA 11.2. Using Sync cudaMalloc/Free.Note this may lead to hang with NCCL kernels launched in parallel; if so, try NCCL_LAUNCH_MODE=GROUP
[FT][INFO] batch_size 64 seq_len 384 layer 24 FT-CPP-time 33.34 ms (10 iterations)

By the way, if you want test FastTransformer customly, you could follow this guide
I also provide my cmd to help you launch this project quickly.

set the environment

docker run --gpus all -it --rm -v /home/guizili/hantengfei/mma:/workspace/mma_cuda11_6 nvcr.io/nvidia/tensorflow:20.12-tf1-py3
git clone https://github.com/NVIDIA/FasterTransformer.git
mkdir -p FasterTransformer/build
cd FasterTransformer/build
git submodule init && git submodule update

compile the project

cmake -DSM=xx -DCMAKE_BUILD_TYPE=Release ..
make

3.Using ./bin/bert_gemm to generate the best GEMM configuration.
./bin/bert_gemm <batch_size> <sequence_length> <head_number> <size_per_head> <is_use_fp16> <int8_mode>`

Generate the best GEMM configuration when running BERT.

./bin/bert_example <batch_size> <num_layers> <sequence_length> <head_number> <size_per_head> <is_use_fp16> <is_remove_padding> <int8_mode> <allow_gemm_test>

More details could be found in the official guide

Thanks so much for the detailed example!
What do you think is the best way to test our method with FasterTransformer?
Should we clone FasterTransformer, then change their code to call FlashAttention instead of their current attention implementation, then compile the project and run benchmark?
Or is there a better way?

Maybe it's hard to change their code in such a short time. However, if you find flash attention performs better than the MHA part in FasterTransformer, it's a good chance to upstream your implementation to the master branch of FasterTransformer. Because FasterTransformer is a well-known and out-of-box inference toolbox designed for transformer-based models.
In my opinion, you could provide a detailed performance table of FlashAttention under different settings(e.g. batch size, seqLen, number of layers, precision).
Then, following my cmd to launch their project, use nsys to profile kernel execution times. This tool will export the avg time of each called CUDA kernels. So you could find the kernel name and execution time of MHA part
nsys profile --trace cuda --stats=true ./bin/bert_example >> kernel.log


Updated Banco Inter's name

Merged! Thank you! :) Just one tip; prefer infinitive over past tense in commit messages. i.e. Update instead of Updated.


chore: add swift version support blurb in readme

Issue #

N/A
Description

Adds minimum supported Swift language version info in README.

General Checklist

[ ] ~Added new tests to cover change, if needed~
[ ] ~Build succeeds with all target using Swift Package Manager~
[ ] ~All unit tests pass~
[ ] ~All integration tests pass~
[ ] ~Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)~
[ ] ~Documentation update for the change if required~
[x] PR title conforms to conventional commit style
[ ] ~New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()~
[ ] ~If breaking change, documentation/changelog update with migration instructions~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Removed the tools-version bump in this PR as it's already handled in https://github.com/aws-amplify/amplify-swift/pull/3655


Unfunkify stream buf stuff

Sorry Gustav, even though the final solution was this I already pushed and fixed in the branch before seeing this. In the meantime I investigated what was going wrong before as I told you in skype conversation


[Web Portal] User profile page

User profile page
Entries

Top navbar - username's dropdown
Sidebar 'My Profile' item

Contents
Header

Group info
Email
Edit profile / password dialog if basic authentication is used

Token list

Generate application token
Revoke token

Virtual cluster list
Storage list
Others

Refine rest api unauthorized error handling

Test cases
Entries

Should be able to open the user profile page through top navbar dropdown / sidebar button

Token

Create an application token
Should be able to view job list using the application token through rest api
Revoke the application token
Should not be able to view job list
Revoke current browser token and user should be logged out

User's information

Header

Group info
Email

Virtual clusters

Should display the same component as home page

Storage list

Edit user profile (basic authentication only)

Should be hided when auth method is OIDC
Edit profile (email)
Edit password

Entries

[x] Should be able to open the user profile page through top navbar dropdown / sidebar button

Token

[x] Create an application token
[ ] Should be able to view job list using the application token through rest api
[ ] Revoke the application token
[ ] Should not be able to view job list
[ ] Revoke current browser token and user should be logged out

User's information

[ ] Header

Group info
Email

[ ] Virtual clusters

Should display the same component as home page

[ ] Storage list

Edit user profile (basic authentication only)

[ ] Should be hided when auth method is OIDC
[ ] Edit profile (email)
[ ] Edit password


Can this be used in the thread?

Yes, it works fine in threads.

closing because no activity, reopen with more details if it does not work in threads


ROS2 Support for Raspberry Pi 2B under Bullseye and Docker

Encountered newbie challenges in running ROS2 under Docker on Raspberry Pi 2B that is running 32-bit Bullseye.
I was able to run the following successfully on RPi2B:
$ docker pull osrf/ros:foxy-desktop
foxy-desktop: Pulling from osrf/ros
Digest: sha256:603fbd004fd358e3597525e261ee7a8cef39c9d57beaa50e9647355697a25ed2
Status: Image is up to date for osrf/ros:foxy-desktop
docker.io/osrf/ros:foxy-desktop
$ uname -m
armv7l

Unfortunately, I am unable to launch ROS2:
$ docker run -it --rm --platform linux/amd64 ros:foxy-desktop uname -m armv7
Unable to find image 'ros:foxy-desktop' locally
docker: Error response from daemon: manifest for ros:foxy-desktop not found: manifest unknown: manifest unknown.
See 'docker run --help'.
$

I've already installed (and done the Hello World exercise) ROS2 on RPi4 using the official documentation. Any version of ROS2 for the RPi2B platform will suffice for my self-paced learning. Please advise. Thanks.
Regards.

We don't provide any support for 32-bit platforms with ROS 2, so unfortunately the Raspberry Pi 2B isn't going to work.


[Client] Fix error in parsing of 'Range' header.

Result of regexp.FindStringSubmatch must be checked to be not nil.
Otherwise it leads to index out of range.
Range header regexp is compiled only once to speedup (5x) the parsing.
Replace strconv.ParseInt(s, 10, 0) with a shorthand strconv.Atoi
Add test for the parsing

BenchmarkCompiledEachTime	  200000	     12966 ns/op
BenchmarkOnceCompiled	 1000000	      2543 ns/op

LGTM!

@dmcgowan @BrianBland @jlhawn Did any of this range parsing code end up in docker core?


add docs

Adds full Sphinx docs rather than the examples that were in the readme. Updates the docstrings. Didn't update the docstrings in _speedups.c yet because of an open PR.
Needs a logo. (cc @mitsuhiko?)
@untitaker Would you add me to the pallets-markupsafe project on Read The Docs?

I added you and @mitsuhiko to all the pallets projects on RTD. I can't seem to find a way to give you higher privileges. Ping me if anything is missing.
Oh, and thanks for what you are doing :)


[SIP-19] Simplify Superset's set of permissions

[SIP-19] Simplify Superset's permissions
Motivation
First let's clarify that this is about feature-related permissions, as opposed to data-access permissions. Also note that what I'll refer to as an "atomic permission" is a combination of what FAB calls a "view_menu" and a "permission".
Also note that this change will be powered by not-so-recently-released FAB features enabling more control over permission definition, as well as migration tools making it straightforward to map and migrate existing role from old to new permission. More information about related FAB features can be found here
Currently, the bulk of feature-related permissions are dynamically generated by Flask App Builder (FAB). For context, FAB generates:

a set of permission (can_show, can_list, can_add, can_download, can_delete, can_update, can_muldelete ) for each ModelView. Typically each model has one or many ModelViews
a perm for each ModelView method
a perm for each view method (commonly referred to as "endpoint")
a perm for each menu entry

Now Superset overtime has grown to ship with ~280+ permissions. Most of these permissions are unintelligible to users/administrators/humans. The UI that exposes them suffers from too much options that are not documented. In the current state, it almost only makes sense to generate roles programmatically since the cardinality of permissions is so high, and many organizations do that.
While we want the atomicity of permissions to cover most use cases, we want for permissions to be easy to document and reason about. In cases where it would be unreasonable to have one permission and not another closely related one, we'd like to merge them as a single permission.
Context
For context, FAB's idea of RBAC has the following entities:

a role
with a many-to-many relationship to a permission_view, composed of:

a single view_menu: often representing an object or a class
a single permission: often representing an action or a method

Again for context, on top of that Superset adds data-access-related permissions. One for each database, schema and dataset in the system.
Proposed Change
First, group ModelView-related permissions into 2 simple permissions: read and write, based on this mapping rule:
    method_permission_name = {
        'add': 'write',
        'delete': 'write',
        'download': 'write',
        'edit': 'write',
        'list': 'read',
        'muldelete': 'write',
        'show': 'read',
    }

This assumes that if you can edit, you can also delete or add (write). Similarly if you can read you can show or list.
Second, rename and group ModelView names. For clarity drop the "ModelView" suffix and match the Model's name. For examples, DashboardModelView view_menu becomes Dashboard for permission purposes. This in turns takes care of the secondary ModelView derivatives like DashboardAsyncModelView and groups it with other Dashboard-related ModelView for permission-related purposes.
Third, models that are related and tightly coupled, for example every Models living around the connectors should refer to the same set of permissions. DruidDatasource, SqlaTables, and their respective Metric and Column models can all go under Datasource permissions. Either you can read or write on Datasource or you don't. No one needs to be able to edit metrics but unable to edit columns or datasource property.
Fourth, looking at our custom endpoints, and attempting to get them to piggy back on the existing "object-action" existing ones defined by the rules set above around the consolidate ModelView-perms. This means that the view Superset.save_dashboard can be attached to Dashboard.write.
This results [roughly] in the mappings exposed in this [Google Spreadsheet]
(https://docs.google.com/spreadsheets/d/1VzBRUsrf_aMS_QkMXoIaLwpETfJmH3qms3kePywBESI/edit?usp=sharing)
Note that some models like Dashboard, Chart and Query have a notion of ownership as defined by having a many-to-many relationship to our User model under a owners relationship. This acts as an implicit restrictive modifier to the write permission on a model, where only owners are able to alter objects. Perhaps this is out-of-scope for this SIP, but clarifying this pattern with a OwnershipModelMixin would help formalizing this permission-related pattern and logic.
Remaining Questions

is can_delete should be part of can_write!?
how do we role this out?
change-management, can we trust FAB's perm-reallocation logic?
How does this affect custom SecurityManager out there? how to communicate about it

New or Changed Public Interfaces
While Alpha and Gamma will be migrated and effectively the same, and existing roles converged, there may be existing scripts that would be incompatible with this new world.
New dependencies
N/A
Migration Plan and Compatibility
Users will have to run flask fab security-converge as part of releasing the new version including this feature.
Ongoing work
POC here - https://github.com/apache/incubator-superset/pull/7501

This will much simplify Superset Permissions nightmare

Huge +1 here - managing Superset permissions is a headache. This simplification would be very welcome - in favour of keeping things simple, being able to write implying ability to delete makes sense to me.

Rollout strategy and change management are the more complex topics here. @dpgaspar can you talk about how FAB does the perm reassignement / merging? For instance if I have a role that contains both Dashboard - can_update and Dashboard - can_delete and they get rolled up into a new Dashboard - write, how is FAB going to merge things? Logicial OR? Logical AND?

+1 from my side as well, these changes look really great!

+1
I have a preference to have can_delete as a separate permission
I would be also looking forward read and write access separation for the data access, that potentially could be out of scope for this SIP

Superset permission management now is really so complex and hard to grasp. I suggest  that we can refer to metabase for permission management.

approve

+1

@mistercrunch did you want to put this up for a VOTE?


Optional field validation

Hi guys.
Please advise how I can skip validation for empty fields. For example add new rule Optional:
return validation.StructRules{}.
	Add("Gender", validation.Optional, validation.In("Female", "Male")).
	Validate(req, attrs...)

If validation.IsEmpty(field) equal true then we skip validation.In(...). Else we run all next validators. I know about validation.Skip, but I did not find any examples how it use.
Another question: how I can skip validation from custom validator?
Thank you very much for your work.
Regards, Max

@MaxVoronov you can try adding an empty string to validation.In("", "Female", "Male"). So you check for it to be empty or a gender type.

This was actually a issue. Just checked in a fix. Please update.
You only need a single rule validation.In in this case. The rule will treat an empty value as valid.

Thank you. All works fine =)


Video filter modification cannot be applied while paused

Hi @lukasf
Thanks for adding the video filter.
But, Video filter modification cannot be applied while paused, How to apply modifications when paused?

Hi @sudongg,
this is a known limitation of the IBasicVideoEffect API. The effects are applied as new frames are decoded. Once a frame was decoded, it will not be changed. There is no good way to work around this. You could seek the video to the exact same position on every change, this would cause the effect to be applied, but it would be very slow (depending on video codec and resolution).
@mcosmin222 tried to apply the effects on composition surface level, but I think he faced some problems with that. This would resolve the "apply on paused" issue, but it had its own pitfalls. Not sure how the status was on that.

Hi,
You can apply the video filter on a composition surface just fine, however, it is not possible to apply subtitles, so I just dropped it altogether. It will also not be possible to stream the filtered video on a DLNA device. But as long as you don't need subtitles and you don't need to stream it, you will do just fine with composition surfaces.
If you go down this route, you will need to (re)implement a lot of the functionality of the Media(Player)Element. This may or may not be enough for you depending on your scenario.

Hi @mcosmin222
I use MediaPlayer + CompositionSurfaceBrush instead of MediaElement, how do I apply Video Effect on CompositionSurface?

I deleted all code samples. But you can apply ui composition to achieve the same effects. Basically you need to apply a CompositionBrush to your surface.
You can apply most of the effects from IBasicVideoEffect implementation in a CompositionBrush. I think only tint is misding.
https://docs.microsoft.com/en-us/windows/uwp/composition/composition-brushes
https://docs.microsoft.com/en-us/uwp/api/windows.ui.composition.spritevisual
https://microsoft.github.io/Win2D/html/N_Microsoft_Graphics_Canvas_Effects.htm

The downside is that you won't get subtitles with that approach.

Hi @mcosmin222
I have implemented ColorMatrixEffect and TemperatureAndTintEffect on composition brush, but SharpenEffect cannot be applied to composition brush. Effects that can be applied to the composition brush are quite limited.
And after using MediaPlayer.SetSurfaceSize (such as setting to the entire window size), Effect will be applied to the entire window. This is not the effect I want.
I am going to give up the composition brush effect.

The only other way is to have it applied via directx shaders, and use the media player in frame server mode. I didn't explore much in this direction though.


Fix "Edit NeoVim config" command.

Looks like I broke the init.vim edit command when I updated the getUserHome() command for Windows.
I've updated it to use the environment variable instead now.

Thanks for catching this, @CrossR!


Microsoft OneNote Sync is Blocked

Following one of the latest updates - MS OneNote isn't able to sync notebooks.
Possibly because of:

<IP_ADDRESS> nexus.officeapps.live.com
<IP_ADDRESS> officeclient.microsoft.com
<IP_ADDRESS> mobile.pipe.aria.microsoft.com

@ArtiomL This issue please report directly in https://github.com/crazy-max/WindowsSpyBlocker/issues
I just copy spy rules in to @StevenBlack Hosts project.
See: https://github.com/StevenBlack/hosts/tree/master/data/WindowsSpyBlocker

Other way:
Install Python 3.5 runtime and rebuild hosts file directly. Add these domains to whitelist file.

See commit 6057f22.  Closing.


chore(package): update standard to version 11.0.1

Closes #189

Codecov Report

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

@@           Coverage Diff           @@
##           master     #195   +/-   ##
=======================================
  Coverage   84.86%   84.86%
=======================================
  Files           7        7
  Lines         304      304
=======================================
  Hits          258      258
  Misses         46       46

Continue to review full report at Codecov.

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


The windows mitmdump can‘t download file，Always in the link

Steps to reproduce the problem:
1.Start mitmdump on Windows
2.Listen for localhost: 8888，domain: qq.com
3.Open https://work.weixin.qq.com/
3.Click the download button on the web page
Any other comments? What have you tried so far?
It's always on the link. It can't be downloaded. https://pc.weixin.qq.com/ is the same。
set "flow.response.stream" = True Also is invalid
System information
Mitmproxy: 4.0.3 binary
Python: 3.6.5
OpenSSL: OpenSSL 1.1.0h 27 Mar 2018
Platform: Windows-2008ServerR2-6.1.7601-SP1

use inspect element ctrl+shift+i

I can't really reproduce this, sorry. Closing for now.


Set --primary

Pull request available

Closed with https://github.com/symmsaur/screenorder/pull/8.


WIP - Look for a yml config by default

We are still missing:

documentation
testing?
the tests are failing?

Overridden by  https://github.com/Halleck45/PhpMetrics/pull/98


Update pubspec.yaml

image: ^4.2.0

You can use this. I will pay attention to PRs too if you find anything.
https://pub.dev/packages/esc_pos_utils_updated

I upgrade and fixed compile error in flutter 3.22.x
https://github.com/trunghieuvn/esc_pos_utils/commit/b42392e6407e0ef89f47b41b78b39407a41fb350


Add performance tips page

Related to #7322

I need help here @samuelcolvin , or anyone else... 👀


Don't wait in LRO before updating status

We don't want to wait between the initial response and the first call of status check.

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

Looks good to me, thanks! Is this changelog-worthy?

Yes, let me push that