Adding features : logout request & response, decrypt assertion, sign documents

First, thank @malaporte for this project (@mostekcm too), it help me a lot for my development, and for that I want to share my work.
All my tests are done with keycloak, so I can affirm that it works with this identity provider, my next test will be with PingFederate.
Now we can :

perform the logout (Initiated by the SP or the IDP)
sign the SAML documents
decrypt the assertions
retrieve the attributes send by the IDP

In addition, I've made some changes :

I've replace the com.sun.xerces library by an official xerces library. The wildfly server exclude all the com.sun classes. It avoid to me some annoying changes on my server configuration.
Validation methods are put in a single class ValidatorUtils (for clarity)
Add some unit test for the new features

Let me know, if you have questions.

That looks great! I'll have a deeper look as soon as I can find some time. Thanks!

Thanks, I'm interested to have your feedback

Hi @malaporte, I would like to use the new features in this pull request, but I see it has been pending for a while, and has conflicts with newer code.
If it's helpful, I'd be happy to review the changes in this pull request, and supply a new pull request to consolidate this branch and master.
Obivously, if you don't have time then that's the end of that. But If there's any way I can help, just let me know.

Yeah I kinda dropped the ball on this one.
The code looks OK ... but it contained some changes like moving + changing code that I felt required a full loop of testing with multiple actual SAML providers. And I never found the time to actually do that, especially since my test setups are long gone. And at some point there was conflicts ... and I never followed up.
If you are willing to address the conflicts, I'll do a quick review and merge this now.

I'll add that my colleagues are now poking fun at me because I never merged this.

Hi @malaporte  and @SpectralDuck , for the moment i don't have time to merge the pull request, I have a new Squore version to delivery in few weeks). Thank to you @SpectralDuck  if you can do this, it will be useful for me, so that I can plug my current project with this repository and not mine.

Great. I'll get started on merging this on Monday. I'll also see if I can find a couple of idp's to test against.

Hi guys, just a status update: some things popped up (as they always do) so I haven't been able to spend as much time on this as I wanted. Nonetheless, merging went fine. There were some conflicts and some cases where @GregoryDeclerck used OpenSaml2 functionality that needed to be converted, but nothing insurmountable.
Before I submit a pull request I want to integrate the new functionality into our own product so I can see it all working. I'll also contact one of our customers to see if it also works with their idp.
In summary: this is still forthcoming, but it won't be tomorrow ;)

The code from the PR was merged through #40 quite a bit ago.


Fungible Asset Claiming and Unlocking Transactions

Done via https://github.com/hyperledger-labs/weaver-dlt-interoperability/pull/49


Updated GWeb examples

Justification
Replaced the LabVIEW webvi-examples with G Web Development Software examples
Implementation

Replaced the LV Web module examples with the new G Web examples.
Retained the Readme files from the previous examples.
Replaced references of LabVIEW Web Module from .md files

See if you can have similar styling for all gifs. Most gifs in this repo are recorded on Chrome with light mode. The new gifs are on Edge (I think) and the dark mode is illegible to read. The toolbar should not show unnecessary icons.

The readme file under CustomizeWithCss folder needs to be updated to remove LabVIEW NXG Web Module reference.

The title in the readme under Guides/CSS should be updated. It currently reads Web Module Guides.

The "product documentation" link at the bottom of readme under Guides/Css points to Web Module.

For questions related to topics discussed in the WebVI Example Guides, please ask in the LabVIEW NXG discussion forums.

The readme under Guides is pointing users to post under LabVIEW NXG discussion forums. I think Kiran asked that it should be LabVIEW forums.

For previous LabVIEW NXG versions see the previous releases

In the main readme, we probably shouldn't say "previous" since LabVIEW NXG is a different product altogether.

If you have any questions or general feedback about the examples please post in the LabVIEW NXG section of the LabVIEW Discussion Forums.

It is very odd to me that we would ask users to post under LabVIEW NXG. I think Kiran asked that we should be directing users to the LabVIEW forums, not NXG forums.

This example uses the Web Module WebSockets API to connect to the WebSocket Echo Server hosted by https://websocket.org/.

In the main readme, we should remove the Web Module reference from above line.


How do you calculate linear transformation parameters?

Hi, @ustcnewly .
I read your paper and think that your work can bring the future direction to shadow generation research!
I have a question about your method about
Given paired images {Ic, Ig}, the ground-truth shadow parameter {w_{dark}, b_{dark}} for the foreground shadow can be easily calculated by using linear regression.

How do you calculate a linear regression?
Would you explain this question?
Best regards.

The linear regression is calculated according to the Eqn. (6) in our paper. Specifically, we calculate the linear regression based on the tuple {Ic, Ig, Mfs}, related code please refer the link [https://github.com/cvlab-stonybrook/SID/blob/main/data_processing/compute_params.py].

Hi, @hy-zpg
Thank you for replying!
I can produce such parameters.
Thank you.


change ImageDataGenerator print output destination

change ImageDataGenerator output from stdout to stderr

Why?

In situation where I write find like program with keras and do ./keras_find_cat_image image_dir | xargs -I {} mv image_dir/{} dst_dir,  Found %d images belonging to %d classes. is only noise for application.
stdout contents should be owned application programmers, not framework programmers.
All output which is not assumed by application programmers or application users should be written into stderr.

In the TF codebase, which I sometimes use as reference, a cursory search reveals that functions that need to provide feedback to the user do so via print() (plenty of occurrences of this pattern). stderr.write is never used. So we'll stick to it.

I followed keras/backend/init.py style.
But OK, I will recreate PR with print() style.


create playground for Pydantic emitter

https://github.com/microsoft/typespec/tree/main/packages/playground
Will make gathering feedback much easier

For now this is on a branch


Move code into classes

To prevent the use of global functions everything is moved into classes.
I also made some small cleanups and simplified the replacement of images in content.

The issue found by Scrutinizer is a false positive.

ping @thisislawatts

Thanks @rasmusbe, these have now been merged. Although I've done it locally rather than via GitHub.


test(undici): add interceptor tests for undici

See #159.

I've rebased your feature branch, as well as adjusted it to the latest test structure refactoring (#182). Your newly added undici tests are now under test/third-party/undici.

Thank you for adding these tests!
The support for unidici will roughly follow these steps:

Research how undici performs requests internally. See what modules it utilizes, what modules can be extended to support interception.
Discuss the findings, assess the support strategy.
If agreed, create a new interceptors/undici interceptor with the barebone implementation to cover the tests you've added.
Ensure sufficient test coverage, merge and release the change.

If you have time, feel free to tackle the first step. Gathering knowledge often takes the most time, and I could definitely use your expertise in that. Thank you!

In my early research, undici has its own mocking mechanism:
import { MockAgent, setGlobalDispatcher, } from 'undici'

const mockAgent = new MockAgent();

setGlobalDispatcher(mockAgent);

// Provide the base url to the request
const mockPool = mockAgent.get('http://localhost:3000');

// intercept the request
mockPool.intercept({
  path: '/bank-transfer',
  method: 'POST',
  headers: {
    'X-TOKEN-SECRET': 'SuperSecretToken',
  },
  body: JSON.stringify({
    recepient: '1234567890',
    ammount: '100'
  })
}).reply(200, {
  message: 'transaction processed'
})

We should take advantage of this setGlobalDispatcher stuff to implement the interceptor.

@kettanaito,
I don't have enough knowledge to experiment and finish all implementation details, but I do a naive and maybe buggy implementation for you to reference:
https://github.com/mswjs/interceptors/commit/a7e21d1a929e0914cdd472e73ac68bdce676c75a
That's what i learned:

setGlobalDispatcher and setGlobalDispatcher are prefect for mocking and restoring.
undici classes are written in ES2015, so set compilerOptions.target to ES5 won't work.
The dispatch method is synchronous, so have to find a way to inject asynchronous body parsing and response resolving.
Relying on dispatch and handler seem to be right, because undici use them: https://github.com/nodejs/undici/blob/f951002dfb86f502f1129588c021a26d7f2a0afb/lib/mock/mock-utils.js#L168-L174

@chentsulin Thanks for sharing your implementation, it was super helpful.  I have been playing with it and seeing an issue where undici expects @types/node to be at least 14.18 (this has the Blob type from buffer) in order to import the Dispatcher.DispatchHandlers type for the resolver.
However, updating this seems to cause issues with other intercepters, such as XML and http.get.  Did you run into anything like that?  How did you resolve?

@kettanaito, I don't have enough knowledge to experiment and finish all implementation details, but I did a naive and maybe buggy implementation for you to refer: a7e21d1

Thanks for preparing a reference implementation, @chentsulin!
I'm not sure to which extend we can reuse it, as with interceptors we're aiming at low-level request interception. Relying on MockAgent is a high-level thing, meaning we're going deeper into implementation specifics rather than relying on Node.js primitives.
I'd love to start this feature from research. We should first understand what kind of requests does undici make (it has to make a Socket connection at least, there are no other ways to request things in Node.js) and, ideally, model our interceptor around that.
I don't think I'll have time to work on this in the foreseeable future, so anybody is welcome to grab the research and implementation if they find this interesting.


Resolve the proc-block bootstrapping problem

The underlying problem with #247 is that we were giving "builtin" proc blocks special treatment while developing, meaning sometimes they would try to use hotg-rune-core and friends from crates.io, other times it would use versions from local files on disk or git.
This resolves the issue by:

Moving all proc blocks to their own repository (hotg-ai/proc-blocks)
Making all HOTG proc blocks use hotg-rune-core from crates.io, like every other proc block
Generating a Cargo.toml which will make each Rune use the hotg-rune-core version that matches what hotg-rune-compiler was built against
Using the semver trick to let proc blocks compiled against an older version of hotg-rune-core work with the newer version when the APIs being used are compatible, even if the hotg-rune-core crate's versions are different

... I think I've correctly threaded the needle here :crossed_fingers:
Fixes #247.
cc: @f0rodo, @Mohit0928, @saidinesh5

The semver-trick is interesting.


Add support for hidding Ruby backtraces

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
This is probably going to be a bit controversial, but for teams where not everyone is a Ruby developer, the Ruby backtrace has very little value and makes reading the output and intimidating task. I'd like to hide the Ruby backtrace from CI output, so developers can feel less intimidated by Ruby while focusing on the problems with their iOS projects.
Description
Setting FASTLANE_HIDE_BACKTRACE environment variable will hide all Ruby exceptions backtraces.

If we still use commander at the base, and if commander is tracing, commander has a feature to disable tracing
https://github.com/commander-rb/commander/blob/master/lib/commander/runner.rb#L64

@lacostej I noticed that, but we are overriding the run! method and we don't provide support for that feature there: https://github.com/Ruenzuo/fastlane/blob/68e1a9b438ee2a68637f0929c542b01e4169e1ea/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb#L29-L53, so I guess this wouldn't work? That's why I went for an environment variable and the central place where we format crashes.

@KrauseFx hey Felix, any thoughts on this? 😄

cc @joshdholtz who will make the decision on this one 👍


CustomScrollView and TextField issue

Steps to Reproduce
So having a TextField within a CustomScrollView causes the entire view to scroll to the top once the keyboard comes up.
Scaffold(
	body: CustomScrollView(
		slivers: <Widget>[
			SliverList(
				delegate: SliverChildListDelegate(
					<Widget>[
						Align(
							alignment: Alignment.topLeft,
							child: FlutterLogo(size: 64.0),
						),
						ListTile(
							title: Text('Some Text'),
						),
						ListTile(),
					],
				),
			),
			SliverAppBar(
				backgroundColor: Theme.of(context).scaffoldBackgroundColor,
				elevation: 0.0,
				automaticallyImplyLeading: false,
				pinned: true,
				floating: false,
				title: TextField(
					style: Theme.of(context).primaryTextTheme.title,
					decoration: InputDecoration(
						border: OutlineInputBorder(
								borderRadius: BorderRadius.all(Radius.circular(8.0))),
						suffixIcon: Icon(Icons.search),
						hintText: '검색',
					),
				),
			),
			SliverList(
				delegate: SliverChildListDelegate(List.generate(
						100,
						(i) => ListTile(
									title: Text('Scroll'),
								)).toList()),
			),
		],
	),
);

Logs
[✓] Flutter (Channel master, v1.1.3-pre.11, on Mac OS X 10.14.2 18C54, locale en-NG)
    • Flutter version 1.1.3-pre.11 at /Users/apple/Desktop/flutter
    • Framework revision c5251cdc02 (4 days ago), 2018-12-14 16:09:17 -0800
    • Engine revision 101b27da7a
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/apple/Library/Android/sdk
    • Android NDK at /Users/apple/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/apple/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

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

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 24.2.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

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

[✓] Connected device (1 available)
    • SM G955F • ce041714616c00130c • android-arm64 • Android 7.0 (API 24)

• No issues found!

I think this is a support question better asked on StackOverflow.
Don't nest Scaffold within another Scaffold.
Check https://docs.flutter.io/flutter/material/Scaffold/resizeToAvoidBottomPadding.html
If you think this actually is a bug, please post minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce (incl main() {..}.

@zoechi i created a gist repro here

What exactly do you mean with the "entire view"?
I tried to reproduce and only the content of the lower SliverList scrolls up.
What is the desired behavior?

I personally would also expect it to not scroll. Just wanted to be sure what the issue is about.

I personally would also expect it to not scroll.
I just wanted to be sure what the issue is about.
I find the title confusing because the issue is not related to TextField at all,
except that the available space shrinks when the TextField gets the focus because the keyboard shows up.

I am having the same problem when the TextField gets the focus, it scrolls the entire scroll view to the top.

Having the same issue. Did anyone manage to solve this?

We are having a similar issue in our app. We have a structure like below, and a search bar in the SliverPersistentHeader section set to pin when at the top of the screen.
When that pins, and the user scrolls farther down the page, and when the Search box (TextField) in the SliverPersistentHeader is focused by clicking on it, the page scrolls back to where it would have been in view if it was not for it being pinned as part of the SliverPersistentHeader.
CustomScrollView(
  controller: _scrollController,
    slivers: [
      SliverToBoxAdapter(...),
      SliverPersistentHeader(...),
      SliverToBoxAdapter(...),
    ],
),

Expected behavior would be that nothing scrolls automatically when the focused text field is in a SliverPersistentHeader or SliverAppBar and is pinned.
The title isn't great, but I believe (could be wrong) it has to do with the logic put in place to scroll TextFields into view when they are focused. Potentially related to fixes from #10826?

I guess it's related to the same issue: CustomScrollView scrolls to top automatically not only on text field focus, but on every consequent key press as well. It's reproducible on such code:
class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
        body: CustomScrollView(
          slivers: <Widget>[
            SliverToBoxAdapter(
              child: Column(
                children: <Widget>[
                  Container(height: 1000),
                  CupertinoTextField(),
                ],
              ),
            ),
          ],
        ),
      );
}

If you scroll to text field and tap on it, scroll view jumps to top. If you scroll again to the focused text field and press any key, it will jump again.

We've got the same problem in our app. Also a CustomScrollView with a SliverAppBar (with CupertionTextField) and a SliverGrid beneath. When clicking into the TextField the whole ScrollView jumps back to the top position.
Any solutions or hints for this?
The trick from ookami-kb doesn't work in our case unfortunately. Our TextField isn't wrapped in a Column

i have same issues...
CustomScrollView(     slivers: <Widget>[         _buildSliverPersistentHeader(),         _buildItemNotPushasedList(),         _buildDividerLists(),         _buildItemsPushasedList(),     ], ),

I have same issues. any one solved the issue? Plz help me! Thanks a lot.

We've got the same problem in our app. Also a CustomScrollView with a SliverAppBar (with CupertionTextField) and a SliverGrid beneath. When clicking into the TextField the whole ScrollView jumps back to the top position.
Any solutions or hints for this?
The trick from ookami-kb doesn't work in our case unfortunately. Our TextField isn't wrapped in a Column

Have you resolved the issue? I faced the same issue. Plz Help me!

Same issue here. If you set showCursor to false on the TextField there is no scroll issue.
It's only happening the first time you scroll but it's very annoying.

We have the issue as well!

Seeing this issue as well, NestedScrollbar, stick a TextField in the headerSliverBuilder:
http://screens.gskinner.com/shawn/2020-03-13_00-31-18.mp4
As a bonus you can see that the copy/paste/edit controls also scale up, which I'm sure is not desired... I'll log another bug on that.

Experiencing the same issue!

We're having the same issue? Any fix available? It's been more than a year.

Getting the same issue. The behavior is jarring. Is there a work around?

Same issue as well. Any alternative solution?

same issue

bump

+1

Found a workaround here (worked for my scenario) → https://stackoverflow.com/a/57336943
And in the final code looks like this below. Wrapped around a NestedScrollView with physics: const NeverScrollableScrollPhysics()
return Scaffold(
  body: NestedScrollView(
    physics: const NeverScrollableScrollPhysics(),
    headerSliverBuilder: (context, innerBoxIsScrolled) {
      return <Widget>[
        SliverTopBar(...),
      ];
    },
    body: ListView.builder(
        itemCount: 50,
        itemBuilder: (context, index) {
          return ListTile(
            title: Text('Item ${index + 1}'),
          );
        }),
  ),
);

This is going to take a few more days because I'm planning to include a breaking change in the fix. Another workaround is to turn allowImplicitScrolling off for the viewport.

Found a workaround here (worked for my scenario) → https://stackoverflow.com/a/57336943
And in the final code looks like this below. Wrapped around a NestedScrollView with physics: const NeverScrollableScrollPhysics()
return Scaffold(
  body: NestedScrollView(
    physics: const NeverScrollableScrollPhysics(),
    headerSliverBuilder: (context, innerBoxIsScrolled) {
      return <Widget>[
        SliverTopBar(...),
      ];
    },
    body: ListView.builder(
        itemCount: 50,
        itemBuilder: (context, index) {
          return ListTile(
            title: Text('Item ${index + 1}'),
          );
        }),
  ),
);

This solved my problem briefly, but I still hope this issue can be resolved.

This is going to take a few more days because I'm planning to include a breaking change in the fix. Another workaround is to turn allowImplicitScrolling off for the viewport.

How to do that?

@abdullah432 it a configurable parameter in ScrollPhysics: https://api.flutter.dev/flutter/widgets/ScrollPhysics-class.html. You can make a scroll physics similar to this:
https://github.com/flutter/flutter/blob/a6ce2d4bc7490916a022e6a05af75a6ad0852e8d/packages/flutter/test/widgets/editable_text_test.dart#L5341-L5351
and wrap the physics you're currently using in the new physics, as parent: NoImplicitScrollPhysics(parent: <originalPhysics>).

@abdullah432 it a configurable parameter in ScrollPhysics: https://api.flutter.dev/flutter/widgets/ScrollPhysics-class.html. You can make a scroll physics similar to this:
https://github.com/flutter/flutter/blob/a6ce2d4bc7490916a022e6a05af75a6ad0852e8d/packages/flutter/test/widgets/editable_text_test.dart#L5341-L5351
and wrap the physics you're currently using in the new physics, as parent: NoImplicitScrollPhysics(parent: <originalPhysics>).

@LongCatIsLooong  Thanks. The issue for me was, the textfield/buttonpressed/GestureDetector not working inside FlexibleSpace. After flutter upgrade, everything starts working.

@LongCatIsLooong Thank you for that workaround.

@LongCatIsLooong any updates here? (It's been on the "Overdue" milestone for a month.)

@Hixie just updated the PR and notified the reviewers.

I have the same problem with in a CustomScrollView with a sliverList and a SliverPersistentHeader that contains the plugin "flutter_typeahead" which extends the FormField, no clue how to fix it .
Tried with FocusNode but nothing works :(

This works for me:
  // Wrap flexibleSpace with layoutBuilder
  // and statefulbuilder if working on statelesswidget
  flexibleSpace: LayoutBuilder(
    builder: (BuildContext context, BoxConstraints constraints) {
      //always set to true on constraints change
      //happens when sliverappbar is opening or closing
      var searchBoxEnabled = true;
      return StatefulBuilder(
        builder: (BuildContext context, setState) {

          //if the constraints height is starting to fade its
          //flexiblespace, disable it, this forces the keyboard
          //to hide,  my expandedHeight is set to 120
          if (constraints.biggest.height < 115 && tex) {
            setState(() {
              searchBoxEnabled = false;
            });
          }
          return FlexibleSpaceBar(
            background: Container(
              child: TextFormField(
                enabled: searchBoxEnabled,
                initialValue: state.query,
                keyboardType: TextInputType.text,
                onChanged: (qry) => doSearch(context, qry),
              ),
            )
          );
        },
      );
    }
  ),

Found a workaround here (worked for my scenario) → https://stackoverflow.com/a/57336943
And in the final code looks like this below. Wrapped around a NestedScrollView with physics: const NeverScrollableScrollPhysics()
return Scaffold(
  body: NestedScrollView(
    physics: const NeverScrollableScrollPhysics(),
    headerSliverBuilder: (context, innerBoxIsScrolled) {
      return <Widget>[
        SliverTopBar(...),
      ];
    },
    body: ListView.builder(
        itemCount: 50,
        itemBuilder: (context, index) {
          return ListTile(
            title: Text('Item ${index + 1}'),
          );
        }),
  ),
);

Thanks a lot! :heart:


Mercury Trade not fully functioning all of a sudden

First of all did some research here and didn't find anything similar but saw that u requested this;
https://hastebin.com/anejiboxof.sql
*Mercury Trade worked earlier this night and after a restart it stopped working all of a sudden, second time this happens but first time I managed to get it sorted by just fully remove everything and just install it again, but since its a reoccurring problem I might aswell notify you.
To explain the problem at hand, it works fine and all it even notifying me that there is a new trade.
BUT!
The buttons don't seem to work properly, basically the problem is when you click the + it doesn't invite people, you can't click the chat icon nor the ? to see if they still want the item neither can you kick people with the - but it does automatically close the notification since I have that enabled.
Also the predefined messages that I have do not send, so I am assuming there is some trouble for your app to open the chat. (I DID NOT CHANGE ANY INGAME SETTINGS AND IT WORKED EARLIER)
Thank you in advance and thank you for an awesome app.
Netey

Don't run PoE as admin. If that didn't help use alternative launcher (run it as admin!). Keep in mind Steam by default runs PoE as admin, so you'll most likely need the alternative launcher to compensate (DON'T FORGET TO RUN THE .EXE AS ADMIN).
https://github.com/Exslims/MercuryTrade/releases

Hello,
I'm having the exact same issue.
Running Windows 10, with disabled updates so it hasn't changed in a while.
Everything was working fine (incredible software, thanks a lot for it btw), and now it seems like it's active, but doesn't display on top of the Path of Exile window. Well, sometimes it does. But 95% of the time it doesn't. Which is weird, considering nothing seems to have changed?
I'm running the game in Windowed Fullscreen (which was already the case before), and I don't know what other game settings could be useful to you.
Is there some log I could give back to you, or any details that I could give to help solve this issue?

if the problem still exists, please inform us about it

I had this kind of issue recently. My PC had some crash/BSOD I guess. I tried everything recommanded on the FAQ/topics about this matter, unsuccesfully. Only after hard rebooting mercurytrade (erasing whole parameters) AND desintalling/reinstalling java did I manage it make it working again. I guess the latest is THE thing my computer needed.


autodiff gaussian width parameter

@karlnapf I was testing out autodiff with stan for the Gaussian kernel and it seems to work fine.
The issue is that the forward pass isn't thread safe, so we might have to rethink a bit how kernels compute values.
Then we can have a virtual method that defines the kernel using arrays rather than scalars, which is then called from forward and backward functions. The linalg parallelism would be the completely handled by eigen and we don't worry about cache, etc...

Rethinking the kernels might be a good idea to parallelise things anyways ... The singe kernel value approach we have is more suited to very expensive kernel functions (string kernels), including the kernel cache (useless for things like the gaussian kernel, here vectorization is much more useful)
Any ideas how to go about with this concretely?

i noticed that for example for euclidean distance this is really innefficient, as we compute one value at the time and do some checks before the computation. I think shogun does the calculation fast, but could be better with some refactoring:
I think the best way is to write these things lazily like in Eigen. So i would call get_lazy_distance_matrix, which would return a lazily evaluated computation of the distance and then use that to calculate the gaussian kernel. Basically we need to build around a computational graph that is executed once, without any if else conditions or casts in the loop.

i noticed that for example for euclidean distance this is really innefficient, as we compute one value at the time and do some checks before the computation. I think shogun does the calculation fast, but could be better with some refactoring:
I think the best way is to write these things lazily like in Eigen. So i would call get_lazy_distance_matrix, which would return a lazily evaluated computation of the distance and then use that to calculate the gaussian kernel. Basically we need to build around a computational graph that is executed once, without any if else conditions or casts in the loop.

I think in addition to computing a single kernel value, we would need to offer an API that gets you the matrix. But not via simply looping over single values but rather directly in the lazy way you suggest ...
Refactoring the computational graph thingi you mentioned basically requires rewriting shogun in a tf style I guess.....not even sure what would be good first steps

@karlnapf turns out eigen does what we want! This would fit nicely with using more eigen and lazily evaluate the distance in the kernel! The latest commit is as fast as the manual derivative!

@karlnapf I am thinking we could write our own AutoDiffScalar, but instead AutoDiffArray, that does the same compile time optimisation as the current autodiff but with arrays, so should handle parallelism better? and then we can go through stan and add more ops than there in eigen right now!


SBE over Aeron

It would be useful to have our of the box support SBE over Aeron if this can be added as a feature.

FYI. There is a very nice integration of SBE over Aeron now.


Implement intent of issue #30 for prior definitions for ahoy1 and ahoy2 implementations

Issue to specifically change the way special characters preceded by shift of commodore keys are represented in the typed-in listings.  It also makes common the way unique characters like English Pound and Pi are represented for consistency across all ahoy debug-tokenize options.

Completed via PR #33


10-Dev: make check in mgmt2 removes files installed by make install

The 10-Dev coverage builds are failing in opensource CI. Here's a current example:
https://ci.trafficserver.apache.org/view/10-Dev/job/10-Dev/job/coverage/13/console
The reason it fails is because the run of the regression tests fails because the installed traffic_server binary no longer exists at the time it tries to run them:
+ /tmp/ats/bin/traffic_server -K -k -R 1
<EMAIL_ADDRESS>line 4: /tmp/ats/bin/traffic_server: No such file or directory

The --prefix configure the CI uses is /tmp/ats. Experimenting with things locally, I notice that the previous make install call does indeed populate /tmp/ats/bin/traffic_server along with the other installed files, but the latter make check call deletes the files from that directory. Further, I notice that the make check call in mgmt2 removes those files.
Here's a session demonstrating this:
$ git show --no-patch --oneline
1e6620bf2 (HEAD -> fix_10dev_coverage, upstream/10-Dev) Fixes the cache unit tests by removing an undeclared class function, (#8782)

$ make install > /dev/null 2>&1
$ ls /tmp/ats
bin  etc  include  lib  libexec  share  var

$ make check > /dev/null 2>&1

$ ls /tmp/ats
lib

Notice that after make check, only lib remains in the install directory.
This problem does not happen on master. Only for 10-Dev.

With some further experimentation, it looks like the mgmt2's test_jsonrpcserver test removes the installed files:
$ make install > /dev/null 2>&1
$ ls /tmp/ats
bin  etc  include  lib  libexec  share  var

$ ./mgmt2/rpc/.libs/test_jsonrpcserver > /dev/null 2>&1

$ ls /tmp/ats
lib

I see. The problem is setting sandboxDir to fs::temp_directory_path here which will be /tmp/
https://github.com/apache/trafficserver/blob/1e6620bf27bed69c4c369f0a5ca0ddd2dbfa8e44/mgmt2/rpc/server/unit_tests/test_rpcserver.cc#L506
Then removing it here:
https://github.com/apache/trafficserver/blob/1e6620bf27bed69c4c369f0a5ca0ddd2dbfa8e44/mgmt2/rpc/server/unit_tests/test_rpcserver.cc#L536
Rather it should use getTemporaryDir() (or something like it) which returns a temporary directory (i.e., not /tmp/ but something from mkdtemp) like here: https://github.com/apache/trafficserver/blob/1e6620bf27bed69c4c369f0a5ca0ddd2dbfa8e44/proxy/http/remap/unit-tests/test_PluginFactory.cc#L105


v4 styles for child not applied

If you put a styled() over a styled() you cannot style the child from the parent anymore.
With version 3.4.9 and/or 2.0.1 this still worked, but with version 4.x.x not anymore.
Hint: If you replace the "<StyledD" with "<D", everything works as expected, because you remove one styled-instance like that.
Environment
System:

OS: macOS High Sierra 10.13.5
CPU: (4) x64 Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Memory: 191.48 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash

Binaries:

Node: 8.11.3 - ~/n/bin/node
npm: 5.6.0 - ~/n/bin/npm
Watchman: 4.7.0 - /usr/local/bin/watchman

npmPackages:

babel-plugin-styled-components: ~1.8.0 => 1.8.0
styled-components: ~4.0.3 => 4.0.3

Reproduction
https://codesandbox.io/s/nnnpyx5jrl
Steps to reproduce
Just run the example.
Expected Behavior
It must be possible to style the child as well. The border of the children must be green.
Actual Behavior
It is not possible to style the child. The border of the children is brown (which is wrong).

Hi there, so one of the major changes in v4 is "component folding", which effectively means that when you do styled(StyledComponent) the inner one's styles are lifted up but it isn't actually rendered separately. That's why your example doesn't work in v4. You'll need to refer to which component is actually rendered.

@probablyup, we are also running into this issue. We have a component library that contains a Grid component that is styling its direct child GridItem components with the > selector. But when a downstream project wraps a GridItem to provide some extra styles, the direct child selector does not work anymore and the grid system breaks. How should this be solved?

A potential solution
const gridItemClassName = 'grid-item'; // TODO: Make this more unique
const GridItem = styled.whatever.attrs({
  className: gridItemClassName,
})``

const Grid = styled.whatever`
  .${gridItemClassName} {
    // Override styles
  }
`;

I think we'll need to gather up the names as we fold and still attach them anyway. It's the least surprising fix

But if we attach them won't that also attach the styles? That could have pretty unexpected consequences, no?

Only styles written against component selectors, which is what you want attached anyway. We'd only be lifting the static className.

Ah that makes sense, sounds sensible!

Yeah that sounds like a proper solution :)

When will this fix be released?

This week


1984 威权主义毫无趣味 Admin is Pig 讨厌乐趣

1984 威权主义毫无趣味 Admin is Pig 讨厌乐趣
:cl: Gubu zhan quwei yufang xiaozu

remove: Lequ, 1984 weiquan zhuyi hao wu quwei Admin is Pig taoyan lequ

for anyone wondering, the title of the PR is 1984 authoritarianism no fun admin is pig hates fun, the author in the CL is goobstation fun prevention team and the CL is just remove: fun and then the title of the PR again


[MCS-DE-GO] User Input TurnCount should not increase on Interruption

When a user input is requested, there should be an option to define whether an interruption will trigger the turnCount to increase or not or an option to reset the turnCount in a flow.
@joaollq @goergenj @sgellock @benbrown @Bindsi @cwhitten  @garypretty

@garypretty , I see you assigned this issue to backlog. If we are not going to take this, should we close it? We can reopen it when we are ready to take this work.

@garypretty , I see you assigned this issue to backlog. If we are not going to take this, should we close it? We can reopen it when we are ready to take this work.

We will not be addressing at the moment.


settimeout.call not work in IE9

IE9 not work.

Ok going to need a few more details, how is it not working?  what sort of error are you getting?  what are you doing when you get the error? What build system are you using? What settings are you using with the build system?


Bug fix, changed which variable to reference

changes as per the discussion here

Codecov Report

Merging #545 (cb2c56d) into master (3bf8167) will decrease coverage by 1.39%.
The diff coverage is 54.08%.

@@            Coverage Diff             @@
##           master     #545      +/-   ##
==========================================
- Coverage   76.71%   75.32%   -1.40%
==========================================
  Files          45       48       +3
  Lines        2766     2946     +180
==========================================
+ Hits         2122     2219      +97
- Misses        644      727      +83

Impacted Files
Coverage Δ

opwen_email_client/webapp/tasks.py
43.58% <23.07%> (-3.08%)
:arrow_down:

opwen_email_client/util/network.py
30.00% <30.00%> (ø)

opwen_email_client/webapp/actions.py
34.34% <30.95%> (-0.92%)
:arrow_down:

opwen_email_client/webapp/views.py
41.25% <33.33%> (-0.34%)
:arrow_down:

opwen_email_client/webapp/forms/register.py
45.23% <45.23%> (ø)

opwen_email_client/webapp/forms/email.py
34.94% <60.00%> (-0.38%)
:arrow_down:

opwen_email_server/services/sendgrid.py
91.79% <63.63%> (-2.61%)
:arrow_down:

opwen_email_server/mailers/wikipedia.py
97.77% <97.77%> (ø)

opwen_email_client/webapp/config.py
100.00% <100.00%> (ø)

opwen_email_server/mailers/__init__.py
100.00% <100.00%> (ø)

... and 3 more

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 63444b4...cb2c56d. Read the comment docs.

For the noted AttributeError: 'Response' object has no attribute 'status' and changing variable discussed here

For the noted AttributeError: 'Response' object has no attribute 'status' and changing variable discussed here

@c-w @sbathgate what reviews are appropriate, in order to move forward merging this PR?
Thank you for clarifying!

We typically operate with a second view approval method. This one is obviously straightforward so you can merge when ready.

We typically operate with a second view approval method. This one is obviously straightforward so you can merge when ready.

Thank much @sbathgate.
Does @adamsclafani have commit/merge privileges?

We typically operate with a second view approval method. This one is obviously straightforward so you can merge when ready.

Thank much @sbathgate.
Does @adamsclafani have commit/merge privileges?

He should do. But I'll merge this just to get things moving for you.

Sorry! I accidentally clicked Delete branch. I have restored it.


Dedupe lightning sdk and ui dependencies

In a monorepo setup I ran into issues of especially LightningSDK being included multiple times. This resulted into multiple instances of the Router object and other references, that should only exist once. By deduping them in the bundle (Rollup), this issue does not happen anymore.
Example repo packages that you'll need to verify this:
- app
- - lightningjs/sdk
- - customwidgets (lerna or yarn/npm workspaces to resolve local package)
- customwidgets
- - lightningjs/sdk

@michielvandergeest thanks! If you do have a working monorepo setup like the one described in a different way, that would definitely also work too, would just need to know the setup then.

@michielvandergeest I've switched to a different setup that uses (yarn) workspaces for managing the linking, rather than depending on lerna itself. The PR here does fix support for that. So this fix will only be required if lerna is fully used for managing the monorepo. I'll leave it up to you to decide whether it should be merged or not; but for me it's no longer needed.


Parameter name and parameter transformer

re: https://twitter.com/seangwright/status/1048086101833998336
I noticed the functionality in his convention has different rules for controller and action.
Should parameter transformer have the name of the parameter in the signature?
    /// <summary>
    /// Defines the contract that a class must implement to transform route values while building
    /// a URI.
    /// </summary>
    public interface IOutboundParameterTransformer : IParameterPolicy
    {
        /// <summary>
        /// Transforms the specified route value to a string for inclusion in a URI.
        /// </summary>
        /// <param name="value">The parameter name.</param>
        /// <param name="value">The route value to transform.</param>
        /// <returns>The transformed value.</returns>
        string TransformOutbound(string name, object value);
    }

That would enable him to apply his additional rule to strip Get/Post/Delete from the action route value.

My original design intent was no, because when you use it with the inline syntax you're binding it to a parameter directly in the template. Route constraints need it because they need to access the route value dictionary.
However maybe this does make sense given how we've exposed it from MVC.

@JamesNK, @rynowak is there any action we should take here?

We're not going to change this.


My first question just after exploring the repository

Is Vitis supported other Zynq-7000 platform except the platforms listed in the tutorial?

Hi @xuzhenyu69 , have you found the answer? I want to run yolov3-tiny on Zynq-7045, but it seems Zynq-7000 is not supported.

Hi @xuzhenyu69 , have you found the answer? I want to run yolov3-tiny on Zynq-7045, but it seems Zynq-7000 is not supported.

Maybe you should custom your hardware platform by following this https://github.com/gewuek/vitis_ai_custom_platform_flow

@xuzhenyu69 I will try it, thanks a lot!


Feature Request: Structured Logging with Xcode 15

https://developer.apple.com/videos/play/wwdc2023/10226/

With PR https://github.com/touchlab/Kermit/pull/381, it would be trivial to have the OsLogWriter constructor take the subsystem and category as parameters. Just needs a rebase and review from the Kermit team. I've tried the code locally and it works great.


Include changes since v1.1.4 in next branch

The last time master was merged into the next branch was at the release of v1.1.4, but as of writing, there have been two releases since v1.1.4 (v1.1.5, v1.2.0). We need to get the appropriate changes into the next branch before we continue with v2.0 features.

done!


Wait for events from Tasks

I need to implement a C# interface that contains a method that is called by C# code.
The method returns a Task<Operation> and the task blocks until some operation is available.
I implement the interface in a class called OStream. My current approach for the method is:
public Task<Operation> Get()
{
  return Task.Factory.StartNew(() =>
  {
    // wait for an event that satisfies some predicate
    var eReq =
                    (EReq)
                        this.eventWaiter.WaitForEvent(
                            e => e is EReq);
    // notify some machine that this is the last event in this stream
    var eDone = new EStreamDone();
    PSharpRuntime.SendEvent(this.myNode, eDone, eDone);

    return eReq.operation;
  }
}

What is an EventWaiter?
    public class EventWaiter
    {
        private object monitor = new object();
        private IList<Event> events = new List<Event>();

        public Event WaitForEvent(Func<Event, bool> pred)
        {
           ...
        }

        public void PutEvent(Event e)
        {
           ...
        }
    }

The OStream class also creates a machine that has a reference to the event waiter and when it receives events, it calls PutEvent (inter-Task communication! Naughty!).
This works fine for me, but involves locks and inter-Task communication via the shared events list.

Related to this: now P# has basic support for waiting on events f97e583e51c36b8cf45a82ab55dd818244026800
Note that this feature is still experimental and requires more polishing and testing to make sure it is robust. It also currently only works on machines that do not have intra-machine concurrency (e.g. explicitly spawned TPL tasks or async/await). This should be addressed next.
The APIs to use can be found here:
https://github.com/p-org/PSharp/blob/master/Source/Core/Library/Machine.cs#L281
https://github.com/p-org/PSharp/blob/master/Source/Core/Library/Machine.cs#L295


Can't open on Windows 10 "unknown software exception"

Can't open on Windows 10
Windows 10 enterprise chinese
kitematic 0.8.5

Docker Quickstart Terminal working fine.
Error number:

Please refer to my old issue #923

@66beta Could you provide a bit more information on your setup? x64 windows 10?
How did you install the docker toolbox?
I have yet to see this error and would like to know how I can replicate it.

Hi @FrenchBen , Win10 is a 64bit-only OS.
I'm administrator, so install toolbox under administrator auth.
I remove older toolbox version completely, then get a fresh install, never worked. (T..T)
Can't find kitematic's log file, so I can't get more detail about this error.

@66beta not very familiar with Win10, hence the ignorant question :[
Have you tried starting the .exe from the powerShell to see if there is anything outputted to the terminal?
ps: could you translate what the error says?

Hi @FrenchBen,
Translation: unknown software exception (0xc0000095) occurred in the application at 0x0000000180008352. Press 'ok' to close this application.
Terminal output something this time!
 [3796:0921/172539:WARNING:ipc_channel_win.cc(276)] Unable to create pipe "\\.\pipe\chrome.5908.0.94484731" in client mode: 系统找不到指定的文件。 (0x2)

Translation:
 [3796:0921/172539:WARNING:ipc_channel_win.cc(276)] Unable to create pipe "\\.\pipe\chrome.5908.0.94484731" in client mode: File Not Found. (0x2)

Looking at the error it seems to be related to some VS libraries - Do you have VS2015 CTP6 installed?
Something like:

Still not working after install both VC++ runtime.
Maybe I should try toolbox on a fresh install windows 10 next time

The above C++ runtimes are what's causing the issue. I mentioned them as being the cause of the issue, not a requirement.
Try a fresh install of Windows 10 yes, as there seem to be some conflicting libraries in your current setup.
As a side note it'd be great to know what you have installed and what library is getting in the way (if you can share)


"Load more comments" function in comments VC with many comments doesn't complete

https://www.reddit.com/r/slide_ios/comments/9sjqku/bug_still_having_trouble_loading_large_amounts_of/

It's actually an API issue, not a Slide issue


Action chaining

how to add these type of intents
when bot ask question " are you completed your Masters " , user may give reply as yes or no
if user says "yes" i have to call an action , if user says "NO" i have to call another action .
for this purpose how to add the intents .

answered at #826

Also, please don't repeat the same question multiple times, somebody will eventually get to your issue. Thank you!


chore: add fork OWNERS

Add RH fork owners to the repo. This should allow for approvals/merges or PRS.

/lgtm

/approve


integrate TestContainers

to simplify Elasticsearch HTTP testing by starting a Docker container with Elasticsearch

@adriancole if you think that it's fine to change your testing infrastructure right now, I can make sure that Travis will run your tests with TestContainers already :)

we run 2 CI jobs right now, travis and also circle ci. If you pick one of them in this PR and instead of starting ES, start docker, we can get experience. We'd still be covered as the other is running ES normally. sg?

@adriancole added Travis, I see debug message Will use TestContainers Elasticsearch instance running at http://localhost:32769 and storage/elasticsearch-http tests are green:
Results :
Tests run: 100, Failures: 0, Errors: 0, Skipped: 0

But I got one failure:
usesInterceptorsQualifiedWith_zipkinElasticsearchHttp(zipkin.storage.elasticsearch.http.ZipkinElasticsearchHttpStorageAutoConfigurationTest)  Time elapsed: 0.147 sec  <<< FAILURE!
java.lang.AssertionError:
Actual and expected have the same elements but not in the same order, at index 0 actual element was:
  <zipkin.storage.elasticsearch.http.ZipkinElasticsearchHttpStorageAutoConfigurationTest$InterceptorConfiguration$$Lambda$3/257608605@21282ed8>
whereas expected element was:
  <zipkin.storage.elasticsearch.http.ZipkinElasticsearchHttpStorageAutoConfigurationTest$InterceptorConfiguration$$Lambda$2/1636050357@36916eb0>

Will investigate and do 2.x.x/5.x.x a bit later

@bsideup that's a flake that's unrelated. I'll see about fixing it

Hey @adriancole,
I did some major refactorings to ES-related tests, also switched Travis to run Docker+TestContainers-based mode.
Could you please take a look? You might not agree with some of them, so let me know if you want me to change something or duplicate some classes to remove the dependency :)

so looks like progress for sure. I particularly like the enclosed runner and think regardless of testcontainers we should switch to that. Really excited about this.
As you guessed I'm sure, I'm not keen on publishing a new test jar to avoid copy/pasting a 100 line text fixture. Copy/paste is fine during experimentation. Can you please reverse that part?
Details of why: -http and not already have setup due to the clients involved (ex sometimes I add a logging interceptor to the http one). Also, if this experiment proves itself, we'd put the testcontainers fixture in the existing zipkin test jar, not in the elasticsearch one. That would obviate a lot of the duplication. TL;DR; I really don't want to taint our public maven namespace for tactical reasons. Let's wait it out and see.
Also, I noticed the test duration went up by 2+ minutes, which is a significant bump. Wondering if this is mostly downloading the elasticsearch image or not. 2 minutes is a big enough issue to dig into as if we are to use testcontainers generically, we might be significantly increasing our build time as we port this to more things. Let me know what the source of the lag is (if you notice where it is). For example, a travis cache config might help (or might not)

@adriancole ok, I will remove the dependency by duplicating the code

Wondering if this is mostly downloading the Elasticsearch image or not

I spotted this as well, but...
TestContainers does a good logging, so it's pretty easy to verify:
10:07:19.260 [main] INFO  o.t.d.DockerClientProviderStrategy - Found docker client settings from environment
10:07:19.263 [main] INFO  o.t.d.DockerClientProviderStrategy - Docker host IP address is localhost
10:07:19.287 [main] INFO  o.t.d.DockerClientProviderStrategy - Looking for Docker environment. <...>
10:07:19.610 [main] INFO  o.testcontainers.DockerClientFactory - Connected to docker: <...>
10:07:21.414 [main] INFO  o.testcontainers.DockerClientFactory - Disk utilization in Docker environment is 64% (10261 MB available )

Docker environment detection took 2 seconds in total.
Images:
10:07:21.442 [main] INFO  🐳 [elasticsearch:5.0.1] - Pulling docker image: elasticsearch:5.0.1. Please be patient; this may take some time but only needs to be done once.
10:07:35.774 [main] INFO  🐳 [elasticsearch:5.0.1] - Creating container for image: elasticsearch:5.0.1
10:07:35.864 [main] INFO  🐳 [elasticsearch:5.0.1] - Starting container with ID: 6ec98192cd60c9540d4a8c1838d53d2c1a19339c75e4804adb89f03ea00fb315
10:07:36.071 [main] INFO  🐳 [elasticsearch:5.0.1] - Container elasticsearch:5.0.1 is starting: 6ec98192cd60c9540d4a8c1838d53d2c1a19339c75e4804adb89f03ea00fb315
10:07:36.320 [main] INFO  🐳 [elasticsearch:5.0.1] - Waiting for 60 seconds for URL: http://localhost:32769/
10:07:46.462 [main] INFO  🐳 [elasticsearch:5.0.1] - Container elasticsearch:5.0.1 started

5.x took 14 seconds to download. Once we migrate to Zipkin's image, it should be lower.
10:07:48.114 [main] INFO  ?.16.1] - Pulling docker image: openzipkin/zipkin-elasticsearch:1.16.1. Please be patient; this may take some time but only needs to be done once.
10:07:54.639 [main] INFO  ?.16.1] - Creating container for image: openzipkin/zipkin-elasticsearch:1.16.1
10:07:54.718 [main] INFO  ?.16.1] - Starting container with ID: 6afcf6613742fd05883ec82b27017473d42d8882bcb0a03c90fcc7a52f2bd46c
10:07:54.898 [main] INFO  ?.16.1] - Container openzipkin/zipkin-elasticsearch:1.16.1 is starting: 6afcf6613742fd05883ec82b27017473d42d8882bcb0a03c90fcc7a52f2bd46c
10:07:54.909 [main] INFO  ?.16.1] - Waiting for 60 seconds for URL: http://localhost:32771/
10:08:01.968 [main] INFO  ?.16.1] - Container openzipkin/zipkin-elasticsearch:1.16.1 started

Only 6 second for Zipkin's 2.x. Startup took 7 seconds (I think we can tune Elasticsearch a bit to make it start faster)
SpanConsumerTest is slow itself. Right now we test both 2.x and 5.x, it means that the time was increased by test executing mostly.
Here is a screenshot from IntelliJ IDEA with test execution times:

So I would assume that most of the time is not an overhead from TestContainers, but the second test suite for ES 5.x
We can configure both 2.x and 5.x on Travis, start them, and then run the tests again.Numbers will be pretty the same :)

@adriancole well, you can always migrate to Gradle and use their build scans ;) Gradle can also share some code without having to publish an artifact. Just saying =)
FYI I pushed the changes. Now there is no dependency between es and es-http.

good to know. thanks!


Enable resnet-decoders for autoencoders to be used with non-squared, higher resolution inputs

🚀 Feature
Resnet18/50 decoders should allow for decoding of originally non-square input. Also it seems they are optimized for smaller sized inputs instead of higher resolutions, which can be changed by increasing initial dense layer size.
Motivation
I have implemented a variational autoencoder on 224x512 sized images and the default implementation of the resnet18-decoder does not allow for non-squared inputs at all and even if fixed in line 295 of https://github.com/PyTorchLightning/pytorch-lightning-bolts/blob/master/pl_bolts/models/autoencoders/components.py in the interpolate right after the dense layer, my example of higher resolution rectangular inputs produced blurry artifact lines exactly at the middle of the initial (4x4) pattern that appears in the first epochs (which is caused by the FIX reshape after the dense layer into (512, 4, 4) in line 321 of https://github.com/PyTorchLightning/pytorch-lightning-bolts/blob/master/pl_bolts/models/autoencoders/components.py.
Pitch
I want the decoder constructor to accept an optional argument input_width (that can be set to input_height if it's None) to take into account the aspect ratio of inputs. Then you can skip the fixed initial reshape into 512,4,4 and instead have a greater initial dense layer (e.g. 512(self.inplanes) * (input_height//self.upscale_factor) * (input_width//self.upscale_factor)) and a reshape into respective shape (--> reshape:  (512(self.inplanes) * (input_height//self.upscale_factor) * (input_width//self.upscale_factor))
Alternatives
None.
Additional context
View my branch resnet18-decoder-for-non-squared-input on the fork of your repository and it's latest two commits where I show how I implemented it in my own local project to work perfectly on 224x512 shaped inputs for the variational autoencoder.
https://github.com/nmohr192/pytorch-lightning-bolts/commits/resnet18-decoder-for-non-squared-input

Found an issue with my implementation: ResnetDecoder gets extremely large (n_parameters) with high n_latent_dims with this approach. Now im using
gcd = np.gcd(input_height, input_width)
self.latent_transform_shape = (input_height // gcd, input_width // gcd) if input_height != input_width else (4,4)

and then having the dense layer and upsampling like this:
self.linear = nn.Linear(latent_dim, self.inplanes * self.latent_transform_shape[0] * self.latent_transform_shape[1])
self.upscale1 = Interpolate(size=(input_height // self.upscale_factor, input_width // self.upscale_factor))

and in forward:
x = x.view(x.size(0), 512 * self.expansion, self.latent_transform_shape[0], self.latent_transform_shape[1])
x = self.upscale1(x)

will commit later to own fork.


Remove current password from reset password form

Environment info

Version: VERSION
Deployment: AZURE | AWS | GCLOUD | ESX | VBOX | DEV
Customer: NAME

Actual behavior

Currently a user need to enter his current password in order to select a new password after login with expired password

Expected behavior

We should remove the current password and get it from the last step

Steps to reproduce

reset a user password then change try to login with that user

The main problem is that the current code base for these screens (old arch) does not allow us to pass the password from the last screen to this screen. We need to move the screens (and also login-layout) to the new arch in order to achieve the desired result.
Screenshots or Logs or other output that would be helpful

As we are not investing in the UI console, closing


Prefixing backface-visibility property

Version
2.0.0
Reproduction
https://www.webpackbin.com/bins/-Km1s6lnhMXjBcpdK1tE
Steps to reproduce
Check the button style.
Expected Behavior
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
Actual Behavior
backface-visibility: hidden;

/cc @thysultan

patched in stylis 3.0.19

Awesome 💯


Fix backends disk error statistics issue

#1608
The main problem solved is an error in disk statistics when Doris's storage_root_path is set to a storage limit, rather than using the full disk capacity.
The modification points are as follows:

In masterservice.thrift, a new parameter is added to the TDisk structure, and the ambiguous parameters are adjusted at the same time
Get the size of the total disk capacity in the BE module
Fix the error information of UsedPct and MaxDiskUsedPct statistics in the current version

Test screenshots are as follows:

http://FE_HOST:IP/system?path=//backends

DataUsedCapacity: Size already used by Doris's databases
AvailCapacity: Disk remaining size
TotalCapacity: The total amount of the storage_root_path parameter configured
TotalUsedPct: DataUsedCapacity/TotalCapacity
DiskTotalCapacity: The total size of the disk where storage_root_path resides

http://FE_HOST:IP/system?path=//backends/11001

DataUsedCapacity: Size already used by Doris's databases in current RootPath
OtherUsedCapacity: Other than Doris, the size is taken up
AvailCapacity: Disk remaining size
TotalCapacity: The size of the storage_root_path parameter configured
TotalUsedPct: DataUsedCapacity/TotalCapacity
DiskTotalCapacity: The size of the disk where storage_root_path resides

@jiangshouzhuang
Thanks for your PR. But I think what you want to push to is apache/incubator-doris, not baidu-doris.

@imay
I modified it on the baidu-doris branch and could not push to the apache branch.


TTL Indexes

Implement https://github.com/mongomock/mongomock/issues/655
Key points:

The first thing the _iter_documents method does now is remove expired documents. From what I could tell, this seemed to be the central point where any and all document examination occurred.
The TTL "time frame-of-reference" was made mock-able by using a centralized wrapper of datetime.datetime.utcnow - however further centralization can be handled separately. Given the stated desire, I wanted to try and plant this seed.

There are some other could improvements I can/would like to eventually add, specifically, some kind of IndexWrapper object to drastically improve the readability of the _expire_documents method, for example:
idx.is_compound() instead of if len(index['key']) > 1
but I wanted to get the core of the feature and where it might live in front of you first.
Feature and tests driven by: https://docs.mongodb.com/manual/core/index-ttl/

Separately - I was able to replicate the pylint errors travis is reporting - I needed to run tox -r to get a fresh tox env...but they don't seem related to my changes.

Digging deeper - using six.raise_from appears to clear up the pylint issues and appears backwards compatible (tests still pass).
LMK if you'd like for me to include those changes in this PR to keep the build nice and green :smile:

I'll fix pylint errors at HEAD of develop.

Let me know if there is there anything else you'd like addressed or aren't sure about with these changes - thx!


claim button next to the url in the tip url preview

It was decided to put the "claim" in ... menu of the tip


bump version number

bumps version number of torchsde package so it can be used to create a new release and published to pypi.
see #131 for details

The failing tests here are what I was referring to over in #131 btw; I think the CI needs updating.

The failing tests here are what I was referring to over in #131 btw; I think the CI needs updating.

yup. but updating CI is non-trivial since it has a lot of obsolete dependencies (not to mention python 3.6 itself).
and you said yourself this is no longer an actively maintained package.
so we can either:

disable CI and do a release and package push
agree this will never get done - and cause quite a stir once pip upgrades this from warning to actual error (as it promises to do) since there are many upstream packages relying on this.

I think the options here are:

update the CI; do a release.
status quo: things stay broken.

It has been very cool to see how much usage torchsde has received downstream! Hopefully this suggests that someone will be willing to step up to the plate and do the work to update the CI. :) (If anyone else comes across this and wants to do the work, go for it! I'm very happy to merge fixes.)
Absent that, the main other recommendation I have for you is to use Diffrax instead. This is maintained and actively developed. (Why the second library? Diffrax uses the lessons we learnt building torchsde -- which was only ever a research project -- to produce something suitable for use in production. So Diffrax is faster, generally more featureful, etc.)

Great questions!

Is it easy to refactor?

I find refactoring to be straightforward. As someone who already knows both frameworks: for a "serious" model like a u-net, transformer, diffusion, whatever, it usually takes me about a day. Everyone's settled on the same basic set of primitives: linear layers, conv layers, and so on.

Are there existing implementations of SD?

I don't know of specifically a public SD implementation. It wouldn't be terribly hard, though, and we could definitely publicise that as an example if someone takes the time to implement it.
As a reference point though, there is a [general diffusion implementation here].(https://docs.kidger.site/equinox/examples/score_based_diffusion/)

Absent that, the main other recommendation I have for you is to use Diffrax instead.

any easy way to refactor from torchsde to diffrax? Have you seen models like SD1.5/SD XL 1.0 using diffrax in any context? So I could see it and try to refactor in Automatic1111 sd webui?

torchsde is used upstream in k-diffusers and  as well as in diffusers - and pretty much ALL sd implementations are using first (if you're using original ldm pipeline) or the second (if you're using diffusers pipeline) for samplers implementations.
as such, pretty much NO application can refactor to switch away from torchsde. and when i say that, i mean 99% of sd install base as i'm sure there is somewhere something that uses diffrax

Given the discussions here, I'll try my best to find a few hours this weekend to patch the issues here, if they have not been fixed by then.

@vladmandic #140 was merged, so please rebase? :)

@vladmandic #140 was merged, so please rebase? :)

done!

great stuff - now only for pypi push/refresh :)

Hurrah! I've just merged and done a push to PyPI. Lmk how things go.

Thanks! @akx @vladmandic @patrick-kidger

Hurrah! I've just merged and done a push to PyPI. Lmk how things go.

looks all good here!


Windows 10 Insiders build needed for gRPC with IIS??

You state gRPC needs;
†IIS requires .NET 5 and Windows 10 Build 20241 or later.
‡HTTP.sys requires .NET 5 and Windows 10 Build 19529 or later
Does this mean (at time of writing) I need to be running Windows 10 Insiders Build Version?
If so, could that be made clearer?

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

ID: 4e072aff-35c1-1fc2-3f94-97dc7a809414
Version Independent ID: 2f05b9da-0d50-ce84-d6af-332da7d9d625
Content: gRPC services with ASP.NET Core
Content Source: aspnetcore/grpc/aspnetcore.md
Product: aspnet-core
Technology: aspnetcore-grpc
GitHub Login: @JunTaoLuo
Microsoft Alias: johluo

Hello @richardbartley ... In the Protocols topic, it's clearer, so we can do that here, too.
It was phrased this way ...

May require use of Windows Insider Builds.

I'll add that to the instruction here; BUT before taking action, there might be a version mismatch here.
@BrennanConroy ...
Is there a version mismatch in the coverage? The following is what's in the IIS area Protocols topic (emphasis added) ...

Advanced HTTP/2 features to support gRPC
Additional HTTP/2 features in IIS support gRPC, including support for response trailers and sending reset frames.
Requirements to run gRPC on IIS:

In-process hosting.
Windows 10, OS Build 20300.1000 or later. May require use of Windows Insider Builds.
TLS 1.2 or later connection

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/protocols?view=aspnetcore-5.0#advanced-http2-features-to-support-grpc
... and in this topic states (emphasis added) ...

IIS
Internet Information Services (IIS) is a flexible, secure and manageable Web Server for hosting web apps, including ASP.NET Core. .NET 5 and Windows 10 Build 20241 or later are required to host gRPC services with IIS.
IIS must be configured to use TLS and HTTP/2. For more information, see Use ASP.NET Core with HTTP/2 on IIS.

https://docs.microsoft.com/en-us/aspnet/core/grpc/aspnetcore?view=aspnetcore-5.0&tabs=visual-studio#iis

@JamesNK @Tratcher

... although I need to review how Insider Build numbers are generated/used or be reminded on it. I think 🤔 the Insider Build number becomes the Release Build number when the build is released.

I believe that's correct, the actual released build number will be something higher than the insiders versions we've referenced above.

@Tratcher ... Between showing 20241 or 20300.1000, should I show the latter (20300.1000) in both topics?

Go ahead. Search to see if 20241 is used in other places and replace those as well.
Fundamentally this probably won't matter to the end-user. The Windows Insiders dev channel is greater than both numbers:

https://insider.windows.com/en-us/

Thanks for the quick responses here.
Background to this:
I figured out as my home PC was working (latest Windows 10 Pro 20H2 release seems fine but my corporate work PC is Windows 10 Enterprise and still on 1909 so 2 major versions behind. 😣


feat: Standardization of responses according to eth_rpc specs for eth_ methods related to byNumber and byHash

The methods:
eth_getBlockByNumber
eth_getBlockTransactionCountByNumber
eth_getBlockByHash
eth_getBlockTransactionCountByHash
Some respond with null and some respond with an error if passed a block that has not been synced by helios.
But in the eth_specs we can see that the normal behavior in that case should always be returning null.
The idea is to standardize the responses of these methods to make them always repsond with null in case an unsynced block is passed.
It could also be a good idea to add a print / log "block has not been synced by helios client" or something following those lines.

@phklive Thanks for calling this out. I will get this implemented


Help with resolution and refresh rate

I use my TV connected to my notebook to access GamerOS, however, the resolution is weird, I wonder how do I change the refresh rate etc

You can customize the resolution and refresh rate by following the instructions here:
https://github.com/gamer-os/steamos-compositor-plus#configuration

After installing ChimeraOS and testing this, I found this is not working for me. I use the steam deck ui, and in the decks right hardware menuits still showing the frame rate cap for 15 | 30 | 60 | unlimited, after changing GOODRATES to "120.0" in ~/.config/steamos-compositor-plus.
I had a similar problem on holoiso before, but I just came to Chimera because it supports auto updates :)

This issue has been closed for 2 and a half years. Your issue is entirely different, and that config file is for BPM not GamepadUI. Please open a new issue to discuss your issue.


How do I set it so it runs on the GPU?

I realize it is probably a dumb question but I can't figure out how to run it on my GPU.  I am running it on Windows

Hi, make sure you have torch installed with support for where.
pip install torch==<IP_ADDRESS>+cu118 torchaudio==<IP_ADDRESS>+cu118 --index-url https://download.pytorch.org/whl/cu118
If you don't have CUDA on your system, follow this guide
https://github.com/KoljaB/RealtimeTTS#cuda-installation

It's okay, there shouldn't be a problem

Thank you it works but I don't know what caused it but it was probably that I ran the cmd from that tasks bar and not from the folder. but either way thank you for the fast responses


update(cmake): bumped plugins to latest stable versions.

What type of PR is this?
/kind release
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Bumps plugins to latest stable for the upcoming Falco release.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

update(cmake): bumped plugins to latest stable versions

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.36.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, leogr, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Python: update pydantic version > 2

Many of the latest packages frequently use pydantic > 2.
But current pydantic in semantic-kernel use pydantic = "<2", causing ongoing version conflicts.
I suggest updating the package.

chromadb is using pydantic (>=1.9,<2.0).
The update is being carried out here. It would be great if SK could also be version-updated once this is done.

Also worth checking whether you're using any features that actually changed. If you can get away without the version constraint at all, it makes your package more widely usable.

Can't use because of this issue 😭


HTTP/2 Don't Flow Control Iniital Headers

Motivation:
Currently the initial headers for every stream is queued in the flow controller. Since the initial header frame may create streams the peer must receive these frames in the order in which they were created, or else this will be a protocol error and the connection will be closed. Tolerating the initial headers being queued would increase the complexity of the WeightedFairQueueByteDistributor and there is benefit of doing so is not clear.
Modifications:

The initial headers will no longer be queued in the flow controllers

Result:
Fixes https://github.com/netty/netty/issues/4758

@nmittler @ejona86 - FYI

@nmittler - I actually removed the Http2Stream.isHeadersSent() in my most recent commit. This allows us to track less state and have a smaller API on the Http2Stream interface. WDYT?

@nmittler - PTAL. I made the error checking more explicit, and am now throwing a stream error in some cases to help make the error more visible.

Cherry-picked 4.1 (f990f99)


Update technote-ttf-cubic.md

*On the description of svg’s allowance of mixed curve type on a path, there must be a provision to render a path, or all the paths of a glyph, with one winding rule, no? I.e.a mixed path is not asking the renderer to change directions mid-path, or mid-glyph, is it?

You’re right, a decision on curve direction needs to be taken on cubic glyphs in TrueTypish formats. I’m not sure which is best. Clockwise keeps faith with TrueType, and if mixed curve types are allowed, it can all be consistent. Anticlockwise would preserve point numbers from cubic sources, which doesn’t seem very important, but I may be missing something. In the ttf-cubic test fonts, curve direction is not altered from the sources, so anticlockwise for opaque, and wrong for TrueType.
I’ve added A note on outline direction.


[Feature] Eden Treaty2 support FormData response

Right now the new Eden Treaty implementation only unwraps application/json and application/octet-stream then falls back to parsing response.body as text.
https://github.com/elysiajs/eden/blob/ead02aa927b806d6caf6f92a663f7ac2512845d9/src/treaty2/index.ts#L370-L405
response.clone() is used somewhere in the code and I think it would be helpful to pass the clone as response.
Previous implementation on Eden Treaty provided a getRaw flag to return the actual response without the body getting used. This way I was able to do await response.formData().
Sample elysia endpoint:
.post('/convert', async ({ body: { image }, query: { format } }) => {
  console.log({
    image,
    format
  })
  const formData = new FormData()
  await Promise.all(image.map(async (data) => {
    const image = sharp(await data.arrayBuffer())
    const file = await convert[format]({ sharp: image, filename: data.name, metadata: await image.metadata(), options: {} })
    formData.append('image', new Blob([await file.arrayBuffer()], { type: file.type }), file.name)
    return file
  }))
  return formData
})

Eden infers data to be a FormData:

But since treaty falls back to unwrapping response body as text. I get the form data boundaries as text:

Closing this with the addition of new Treaty Config (onResponse), I am now able to get the formdata blobs from the new Eden Treaty version:
https://elysiajs.com/eden/treaty/config.html#onresponse


#199

Can we make the pull requests a little more descriptive @tobyfey ?

Okay, I'm having trouble with pull requests. It seems like the documents are preventing automatic merges.
Sent with Proton Mail secure email.
------- Original Message -------
On Tuesday, June 27th, 2023 at 12:57 PM, Quinten Steenhuis @.***> wrote:

Can we make the pull requests a little more descriptive @.***(https://github.com/tobyfey) ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Commit the Cargo.lock file

Description of changes
This PR adds the Cargo.lock file to the project.
This FAQ explains the benefits and drawbacks of having Cargo.lock in version control.
Callouts

We haven't agreed on the processes we'll have to keep the dependencies updated.
As mentioned in the article, the Cargo.lock can give a false sense of security because consumers of the package will get their dependencies from the Cargo.toml file.

Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[x] A change "invisible" to users (e.g., documentation, changes to "internal" crates like cedar-policy-core, cedar-validator, etc.)

I confirm that this PR (choose one, and delete the other options):

[x] Does not update the CHANGELOG because my change does not significantly impact released code.

I confirm that cedar-spec (choose one, and delete the other options):

[x] Does not require updates because my change does not impact the Cedar formal model or DRT infrastructure.

I confirm that docs.cedarpolicy.com (choose one, and delete the other options):

[x] Does not require updates because my change does not impact the Cedar language specification.

Dependabot weekly updates? We haven't explicitly agreed on that process, but it seems reasonable.

Sounds good, I'll open a PR for that in a bit.


⚠ Shadow Does Streams has degraded performance

In 3fd1ef3, Shadow Does Streams (https://stream.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 6148 ms

Resolved: Shadow Does Streams performance has improved in e8331c9 after 13 minutes.


How to train on 1000x1000 images? with multi-gpu settings

Hi,
I tried a couple of time to change the resolution of input image to higher ones, but failed due to some errors which I could not debug. Has someone already tried bigger images than 64x64s?

may be you can crop out 64 * 64 patches from the origin image


Custom Cards added

You can check the added cards from the links below:
https://media.discordapp.net/attachments/1007577917926158336/1007578458748108860/unknown.png
https://media.discordapp.net/attachments/811208893103341589/1008516043511185498/unknown.png
https://media.discordapp.net/attachments/811208893103341589/1008516043888656384/unknown.png
https://media.discordapp.net/attachments/811208893103341589/1008516044211630170/unknown.png

Could I merge this without Gold Brew? I don't feel he has the same level of recognition as a lot of other cards, and he is just a recolored cole.

Sure.


Clean up errors coverage

You made an arguably simple change, and the code coverage stuff I added earlier totally took the wind out of that. It would have been merged by now were it not for my contribution, so I'm putting my money where my mouth is and adding more tests to try to resolve the situation :)

It's fine. Just let me know when it's ready to merge.

Seems that travis doesn't like running outside the context of host repo. You can merge this, since it should be an improvement; we also need to add tests verifying the nsError translation layer.

Sounds good. I'll add tests for the nsError.

I'll get on it tomorrow if you don't have the time/patience, this is assuredly debt payback stuff, not fun!


Unable to find function definition when CUDA_SUPPORT=ON

Execuse me. My code works well when CUDA_SUPPORT=OFF on osqp-cuda-1.0, but when i set CUDA_SUPPORT=ON, reinstall..., and then i run same code ,it core.
message on terminal is as follow:
//usr/local/lib/libosqp.so: undefined reference to `cusparseCreateMatDescr'
//usr/local/lib/libosqp.so: undefined reference to `cusparseCreate'
//usr/local/lib/libosqp.so: undefined reference to `cusparseCsrmvEx'
//usr/local/lib/libosqp.so: undefined reference to `cusparseXcoo2csr'
//usr/local/lib/libosqp.so: undefined reference to `cusparseDestroyMatDescr'
//usr/local/lib/libosqp.so: undefined reference to `cusparseDgthr'
//usr/local/lib/libosqp.so: undefined reference to `cusparseXcsr2coo'
//usr/local/lib/libosqp.so: undefined reference to `cusparseXcoosortByRow'
//usr/local/lib/libosqp.so: undefined reference to `cusparseDestroy'
//usr/local/lib/libosqp.so: undefined reference to `cusparseSetMatIndexBase'
//usr/local/lib/libosqp.so: undefined reference to `cusparseCreateIdentityPermutation'
//usr/local/lib/libosqp.so: undefined reference to `cusparseSetMatType'
//usr/local/lib/libosqp.so: undefined reference to `cusparseXcoosort_bufferSizeExt'
//usr/local/lib/libosqp.so: undefined reference to `cusparseCsrmvEx_bufferSize'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can you tell  me what happens? Thanks

nvidia binary driver-version 410.78 from nvidia-410 is installed

Looks like you are not linking against the cusparse library. Can you run the osqp_demo executable?

Looks like you are not linking against the cusparse library. Can you run the osqp_demo executable?

Hi, I run osqp_demo, it also core,  and message on terminal is same as that above. what can i do to solve this problem? thanks

What GPU model are you using? And which Toolkit version have you installed? You can get the version by running “nvcc --version“ .

What GPU model are you using? And which Toolkit version have you installed? You can get the version by running “nvcc --version“ .

Hi, message is as follow:
jd@in_dev_docker:/jdx/osqp-cuda-1.0/build/out$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130
nvidia binary driver-version 410.78 from nvidia-410 is installed

I also need to know your GPU model.

I also need to know your GPU model.

Quadro K620

Try to compile with “-DDFLOAT=ON“.

@gbanjac @micschub Execuse me. I ran osqp_demo succesfully on another computer. And my code works well when CUDA_SUPPORT=OFF on osqp-cuda-1.0, time consuming 20ms, but when i set CUDA_SUPPORT=ON, reinstall..., and then i run same code , GPU Proportion 60%,   time consuming 900ms.
Is there any way to reduce the optimization time and GPU ratio? Ｔｈａｎｋｓ！

Can you send us the console output?

I think your original issue is resolved now so I would suggest closing it. You can use our forum for questions on the timings you obtain with the GPU.

ok, thanks


Added Recaptcha Functionality

I added Recaptcha functions and commented it out In Captcha.config.php, RegistrationRequestHandler.config.php, and register.tpl

@themightychris do you know where we are on this?

+1

I've updated and merged ReCaptcha support into v2:

629d82588a6fef5e16c037ff27b88218e9fae952
e95584bdd3d231626b3f970d79a064d54deac5b7

I'd rather migrate folks that need it to v2, but if there's demand I'll backport it to v1


jukebox first conversation

Jukebox (jb): Heya I am Jukebox  (Juke for short).
jb: I am the go-to for any and all music formats, from vinyls to digital!
jb: If you have a record you dream playing but you don't have the equipment, just give it to me and hear it in crisp detail!
jb: Hell I have some tracks of my own that you would jive to!
-XKZ

@funnyboy044

Combined what was written here and was written in by BumpBob in #295 to make an extended first greeting from jukebox
jb "Sup, I'm Jukebox (Juke for short)."
p "Hello, Jukebox! I'm Posty!"
jb "Hey Posty, how's it going?"
p "I'm doing well, but I've been contemplating what song could be my favorite."
jb "Well lucky for you, I'm the go-to for any and all music, from vinyls to digital!"
jb "If you have a record you dream playing but you don't have the equipment, just give it to me and hear it in crisp detail!"
jb "I even have some tracks of my own that you could listen to!"
jb "Let's hear them all and you can pick a favorite later."
p "Great idea."


[UUID Generator] Option to paste/copy can't be found in the settings

Extension
https://www.raycast.com/jmaeso/uuid-generator
Description
Since the uuid generator has been updated yesterday, instead of copying uuids, it will only paste them. Looking through the settings, there is only a toggle for uppercase and a namespace for v5 uuids, but no dropdown to choose copy/paste, so it will always "paste" them (it doesn't actually paste into any application that I tried, but that is a separate issue).
Steps To Reproduce

install extension
go to extension settings
click on anything related to uuids, not find the setting

Current Behaviour
No response
Expected Behaviour
No response

I will look at it shorly!

I added that in #5876, strange if your PR removed it


⚠ DesiTorrents has degraded performance

In 67580a8, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 3070 ms

Resolved: DesiTorrents performance has improved in 1e933c4.


Fix double slash in version.go

In project.go func resolveGitRepo() gives back a repo that starts with a slash as it converts the URL git@github.com:/flowdev/fdialog.git to "/flowdev/fdialog".
I think this is correct.
But public/version.go adds another one in the statement:
fmt.Sprintf("https://api.github.com/repos/%s/releases/latest", repo)
This leads to a URL that is not found (404 HTTP error code) by the GitHub API.

I just saw that you use /{{.GithubRepo}}/ in install.sh.tmpl.
So it might be better to fix the other end here, too.

This seems to be the wrong approach.


Add a reporter for ranch/cowboy/Plug messages

Today we don't handle logs such as
Ranch listener ~p had connection process started with ~p:start_link/4 at ~p exit with reason: ~999999p~n

I think we should out of the box since they're incredibly common coming from cowboy/Plug. We can provide Rollbax.Reporter.{Ranch|Cowboy|Plug}. Thoughts @lexmag and @ericmj?

What would it catch that https://hexdocs.pm/rollbax/using-rollbax-in-plug-based-applications.html doesn't catch? Or would it be a way of automating the plug setup?

@ericmj mh now that I think about it, I think it wouldn't catch anything that doing what is shown in that page wouldn't catch. Yes, this would get it automatically but the reporting would be less precise I think. @lexmag thoughts?

I am fine with having this being reported as described in https://hexdocs.pm/rollbax/using-rollbax-in-plug-based-applications.html so I'll close this. Feel free to reopen if you're not happy with the decision.


Are commands send execute and return reply keep orders?

This is just a question. I'm new to node redis and I'm reading the source code and find the command are send by socket one by one in order. But if then the reply is also keeps the order? i.e. 1st execute -> 1st reply, 2nd execute -> 2nd reply

The order is always respected with some very minor exceptions.
In those cases the result for the mentioned commands are returned async but the return value is handled by the client itself right away and therefor the execution order will not be the same. It is possible to handle those return values in order too but I have to think about it further at some point, since the solution that came to my mind would have a minor performance penalty and I do not see a real need to guarantee the execution order in those cases too.

Great, very clear explanation. Thanks BridgeAR

From v.2.5.0 on, all commands are going to be executed in order and the former listed exceptions are handled properly in order.


Do you plan to integrate this algorithm into the vllm project?

RT

We are discussing with sglang team, and there is possibility that sageattention will be used in sglang in the future.


Increase connection Timeout

Maybe add a variable in settings to change the default timeout setting.

Seconded, since sometimes the initial load of the model into Ollama times out for big models and you have to re-submit your prompt. Once it's "warmed up" it's fine.
Maybe there's an alternative way for the program to see if Ollama is still running and just taking a long time to respond.

Totally agree on this.  timeout needs to be increased.

This is importart for folks with low end hardware. This should be in the settings.

It's important even for high end hardware if you're using a giant model. Sometimes the initial model load times out and you have to resubmit, after which it works.

100% i'm running a 16 core epyc as my LLM machine - it really chugs trying to load mixtral 8x22b even if loading of NVME into ram.

+1

+1
Running on a 2690 v4 Xeon in a Alpine Linux VM on proxmox.

Can confirm that this is still a problem. First attempt to use llama3.1:70b on an M1 Max laptop times out waiting for a response. If I "edit" the question and resubmit it works fine.

Have the same problem with larger models on my computer. An adaptable timeout setting would be awesome

Second this. I am getting cut off responses with my remote ollama setup. Since other clients are working, I imagine it may be caused by timeout


Update tor-browser.nuspec

Updated version value to reflect on pull request relating to the fix of the broken link and outdated version.

Description
Version title changed to reflect corresponding pull request to fix broken link and outdated version.

Motivation and Context
Change required to reflect fixed link.

How Has this Been Tested?
N/A - non-technical fix.

Screenshot (if appropriate, usually isn't needed):
Types of changes

[X ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[ X] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
[ ] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the chocolatey test environment.
[ X] The changes only affect a single package (not including meta package).

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

Based on my comment here, this shouldn't be updated directly. In addition, this change won't actually do anything.
Thanks for the PR @piety1337. Unfortunately we're unable to accept it due to the above.


update

Hello @yutiansut! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file QAStrategy/qactabase.py:

Line 28:80: E501 line too long (121 > 79 characters)
Line 29:80: E501 line too long (88 > 79 characters)
Line 365:1: W293 blank line contains whitespace


working on latest Firefox Android

Anyone know how to get this working on the latest Firefox /Android?
Does it work in Chrome/Android?
Does this work in Opera?

I've gotten it working in Opera and Firefox, and I believe it also works on Chrome. This is only for desktop/PC versions though; I've been trying to find other ways to get it working on mobile (especially Firefox) and so far have had no luck.

The latest firefox fennec should allow you to download and install the extension directly from addons.mozilla.org :D


Several command suggestions

loop: three modes: off, track & queue
playtop: add a song to the beninging of the queue
shuffle: shuffle the queue
Edit: typo

implemented playtop and shuffle #57166fd3b2ec07d4540183124d58497fbadacb34


'invalid byte sequence in UTF-8' when using sh .But it worked by using system.

I searched for issues but found nothing worked for me.
But It worked when I use 'system' instead of 'sh'.
Issue Description
`
desc "Upload dSYM to bugly."
lane :bugly do
    bundleShortVersion = get_info_plist_value(path: "./xxx/xxx-Info.plist", key: "CFBundleShortVersionString")
sh("./uploadDSYM.sh " + bundleShortVersion)
end

`
I run 'fastlane bugly' but got error.
But It worked when I use 'system' instead of 'sh'.
+-----------------------------------+-----------+
|                 Lane Context                  |
+-----------------------------------+-----------+
| DEFAULT_PLATFORM                  | ios       |
| PLATFORM_NAME                     | ios       |
| LANE_NAME                         | ios bugly |
| GET_INFO_PLIST_VALUE_CUSTOM_VALUE | 5.4       |
+-----------------------------------+-----------+
[11:08:00]: invalid byte sequence in UTF-8
+------+----------------------+-------------+
|             fastlane summary              |
+------+----------------------+-------------+
| Step | Action               | Time (in s) |
+------+----------------------+-------------+
| 1    | Verifying required   | 0           |
|      | fastlane version     |             |
| 2    | default_platform     | 0           |
| 3    | get_info_plist_value | 0           |
| 💥   | ./uploadDSYM.sh 5.4  | 5           |
+------+----------------------+-------------+
[11:08:00]: fastlane finished with errors
^C/Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:880:in initialize': Interrupt 	from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:880:in open'
from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:880:in block in connect' 	from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:91:in block in timeout'
from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:101:in timeout' 	from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:878:in connect'
from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:863:in do_start' 	from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:852:in start'
from /Users/mooyoo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:1398:in request' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:80:in perform_request'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:38:in block in call' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:85:in with_net_http_connection'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:33:in call' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/request/url_encoded.rb:15:in call'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/rack_builder.rb:141:in build_response' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/connection.rb:387:in run_request'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/faraday-0.13.1/lib/faraday/connection.rb:174:in post' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane_core/lib/fastlane_core/crash_reporter/crash_reporter.rb:91:in send_report'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane_core/lib/fastlane_core/crash_reporter/crash_reporter.rb:30:in report_crash' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:156:in rescue_unknown_error'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:123:in rescue in run!' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:126:in run!'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in run!' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:303:in run'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:42:in start' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in take_off'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.62.1/bin/fastlane:20:in <top (required)>' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3/bin/fastlane:22:in load'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3/bin/fastlane:22:in <main>' 	from /Users/mooyoo/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in eval'
from /Users/mooyoo/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `'
Environment
Stack

Key
Value

OS
10.12.6

Ruby
2.3.3

Bundler?
true

Git
git version 2.13.5 (Apple Git-94)

Installation Source
~/.rvm/gems/ruby-2.3.3/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.3/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.0

System Locale

Variable
Value

LANG
zh_CN.UTF-8
✅

LC_ALL

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.62.1
✅ Up-To-Date

Hey @MooYoo! apologies for the issues you are having. It looks like this could be because your LANG environment variable is set to a Chinese language, could you try prefacing your command with LANG=en_US.UTF-8 and see if that works? We should support all LANGs so there definitely is an issue but that hopefully will get you working quickly! 🚀


Add source for Jira issues/keys

Thanks a lot for this useful plugin!
It would be great if the plugin could also handle keys for Jira issues (e.g. PROJECT-1234), so that one can browse referenced issues and open them in the browser.
Not sure if the assumption is to simplistic, but for most projects it might suffice if one could define env vars for the JIRA_BASE_URL (e.g. https://your-jira-url.com/browse/) and a JIRA_ISSUE_PATTERN (probably along these lines).

Thanks for putting the feature request here :))
You can now register custom searches in the setup function, e.g.
require("urlview").setup({
	custom_searches = {
		jira = {
			capture = "AXIE%-%d+",
			format = "https://jira.axieax.com/browse/%s",
		},
	},
})

Now that was quick! Thanks a lot for this adding this feature!