Fix/236 responsive styles

In this PR, it has been checked every style of the project and done a responsive style for phones

First of all, really good job fixing all the styles, they look much better now.But I have a few small details:

In the admin screens, the titles suchas as "nuestro voluntarios" seemed a bit cut maybe you could move them a bit more down
Also in admin in add an educator the container seems to be a bit over the side menu so it should be more to the right.
In volunteer in the calendar, is there a way to show what is the event you are signing up for? Right now you cannot and it feels a bit strange to sign up for somenthing without knowing the name

The rest seems really well done, nice job!

About the first 2, I don't have those errors. I can clearly see the 'Nuestros voluntarios' tab and the container of add educator does not over fit the menu. About the volunteer, I thought the same thing but it would be a new implementation and as you said we don't have time for more implementations. I was thinking of doing a quick fix next week with that and with including more info to the admin

First of all, really good job fixing all the styles, they look much better now.But I have a few small details:

In the admin screens, the titles suchas as "nuestro voluntarios" seemed a bit cut maybe you could move them a bit more down
Also in admin in add an educator the container seems to be a bit over the side menu so it should be more to the right.
In volunteer in the calendar, is there a way to show what is the event you are signing up for? Right now you cannot and it feels a bit strange to sign up for somenthing without knowing the name

The rest seems really well done, nice job!

About the first 2, I don't have those errors. I can clearly see the 'Nuestros voluntarios' tab and the container of add educator does not over fit the menu. About the volunteer, I thought the same thing but it would be a new implementation and as you said we don't have time for more implementations. I was thinking of doing a quick fix next week with that and with including more info to the admin

I am using google chrome to see the phone styles maybe is because diferent browsers

The application looks great overall, however there are some details to note when seen in mobile form:

The lessons list for admin is a little hard to see, and the "edit" and "delete" icons end up away from the lesson they correspond to (maybe those could be fixed by changing lesson view to card-like as in other screens?)

The donation update question behind the input box.

If for some reason these changes won't be made, (if there is no time, no need, etc.) tell me and I will approve anyways, thanks for your hard work.

The application looks great overall, however there are some details to note when seen in mobile form:

The lessons list for admin is a little hard to see, and the "edit" and "delete" icons end up away from the lesson they correspond to (maybe those could be fixed by changing lesson view to card-like as in other screens?)

The donation update question behind the input box.

If for some reason these changes won't be made, (if there is no time, no need, is not part of this task, etc.) tell me and I will approve anyways, thanks for your hard work.

Thanks for the notice! I deleted a style unintentionally and i solved the input box probel


fix: fsp.rm removing files does not take effect

Description
When I execute pnpm dev --debug to start the project, a cache file will be generated in the .vite folder, but when I type q in the terminal to exit the project, the terminal will output information about removing the cache, but the corresponding cache files are not deleted.
I tried to use fs.rmSync to replace fsp.rm and the corresponding cache file could be successfully deleted.

Additional context
I am not sure whether it is related to the operating environment. The above problems were encountered and solved in my local Windows environment, and the corresponding node version is v18.16.1.

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines, especially the Pull Request Guidelines.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Update the corresponding documentation if needed.
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

We're using the same fsp.rm pattern in other places in the code. Maybe we should have a new utility that uses fs.rmSync in Windows in all these places, and keep fsp.rm in the rest of the systems until we get a report. @sapphi-red did you experience this issue in Windows too?

I also noticed that the old cache was being removed on every launch.
https://github.com/vitejs/vite/blob/b20d54257e6105333c19676a403c574667878e0f/packages/vite/src/node/optimizer/index.ts#L382-L384
The value of depsCacheDir obtained here is xxx/node_modules/.vite/deps, but the folder name format of the generated cache file is xxx/node_modules/.vite/deps_temp_xxx, so the removal operation here seems useless. 🤔

I tested out with both Windows and WSL and it did happen. I guess it's not related to OS.
I think this happens because we call process.exit here.
https://github.com/vitejs/vite/blob/b20d54257e6105333c19676a403c574667878e0f/packages/vite/src/node/shortcuts.ts#L155
process.exit doesn't wait for async tasks.

Do you think we should differentiate the processing according to different systems or should we replace fsp.rm with fs.rmSync uniformly?

I can also repro this on macos. I think it's fine to update this single line to use rmSync. We can add a comment that it's needed for cleanup during exit.


Bug fixes to issues with linked layers

References and relevant issues
Closes https://github.com/napari/napari/issues/6619
Description
While testing https://github.com/napari/napari/pull/6622 I noted a number of issues with linked layers:

a removed layer remains linked (this was also reported in https://github.com/napari/napari/issues/6619 )
if two points layers are linked and you try to add a point to either one you get:
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
if you have a Labels layer linked to points, shapes, image and try to paint, you get:
ValueError: 'paint' is not a valid Mode
if you have a Shapes layer linked to any other layer and try to draw a shape, you get:
ValueError: 'add_rectangle' is not a valid Mode

This is a PR to fix them.

unlink layers before removing from layer list
add equality operator for pandas DF, so that pick_equality_operator works for Points
add things to the exclude list that are problematic because:

they either are data related (e.g. features/properties)
depend on number of  (e.g. edge_width, face_color, edge_color)
are not compatible between layers (e.g. mode)

I've added tests for:

unlinking of removed layers
the pandas equality operator
linked points layers
linked layer modes

@jni I think that this may be worth to cherry pick to 0.4.19 as do not touch problematic files and improve situation.
This PR lacks only tests.

Works like a charm @psobolewskiPhD :)


Simplify examples

result is defined as the returning parameter and you don't need DATA( ). Consider removing DATA(...) from the examples.

you mean like this?
DATA: result TYPE REF TO zcl_result.
* create a RESULT which represents a success (OK)
result = zcl_result=>ok( ).
* another one with additional information, i.e. the key of an object you created or the object itself
result = zcl_result=>ok( 100040340 ).
* when a validator returns false
result = zcl_result=>fail_if( validator_returns_false( ) ).

without a result variable at all its imho not clear that those are factory methods?

without the first line. it's clear that those are examples of what you use inside you method.
or
  METHODS my_method
    RETURNING
      VALUE(result) TYPE REF TO zcl_result.
...
  METHOD my_method.

    " create a RESULT which represents a success (OK)
    result = zcl_result=>ok( ).
    " another one with additional information, i.e. the key of an object you created or the object itself
    result = zcl_result=>ok( 100040340 ).
    " when a validator returns false
    result = zcl_result=>fail_if( validator_returns_false( ) ).

  ENDMETHOD.

done :-)

👍


favicon href would work with deploy-url option

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Command (mark with an x)
- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add

Versions
On Ubuntu, Angular CLI version is 7.1.2
I have this shell script:
#!/usr/bin/env bash
set -e;
deploy_url="localhost:9080/"
cd "$(dirname $(dirname "$0"))"
cd apps/api-app
ng build --watch --output-hashing none --deploy-url "$deploy_url"

It generates an index.html like so:
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>ApiApp</title>
  <base href="/">

  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.js"></script>

</head>
<body>

<app-root></app-root>
<script type="text/javascript" src="localhost:9080/runtime.js"></script>
<script type="text/javascript" src="localhost:9080/polyfills.js"></script>
<script type="text/javascript" src="localhost:9080/styles.js"></script>
<script type="text/javascript" src="localhost:9080/vendor.js"></script>
<script type="text/javascript" src="localhost:9080/main.js"></script>
</body>
</html>

But what about the href for favicon?
 <link rel="icon" type="image/x-icon" href="favicon.ico">

how can I get that to reference localhost:9080?
in other words, I would like it to have generated:
  <link rel="icon" type="image/x-icon" href="localhost:9080/favicon.ico">

This is intended behavior.  While the script elements do indeed contain the deploy URL information, the elements are actually fully generated at build time and do not exist within the index.html file beforehand.  The link element for the favicon, however, is a static pre-existing element within the file.  Much like any other custom content within the file, it is not modified as there is no definitive way to know the intentions of the developer in regards to which URLs within the file should and should not be modified.
Also of note is that setting the HTML base HREF is in nearly all cases a better alternative than the deploy URL option.  The HTML base HREF is leveraged by the browser to augment all relative URLs within the page; and without the need for the build system to manually modify every URL.  There is also no need to use either option if the files referenced by the relative URLs are deployed alongside the  index HTML.

This is still having an impact in our case, where we use a deploy URL to to point to a transient path in our CDN (changes with each deploy) where all web assets are stored. Only index.html is being served from the actual  app domain, hence all favicons 404. They're definitely something we'd prefer to serve from the CDN.


Create a design guidelines

Task 5.3 within the document Week 05 exercises for IDATA2301 Web Technologies specifies that we need to create a design guideline to make sure the different web pages contains is created "alike".
The task in full text is as following:
"The task: create a design guideline for your project. The purpose of the guideline is to make your life
easier when you write code – to limit your choices of colors, fonts, sizes, etc.
You can find a document called "Design guideline checklist" on Blackboard > Learning materials >
Week_5.
Follow the instructions described in the "Concept phase" section of this document. You can fill in the
technical details later (described in "Specific technical decisions" section of the document).
Create a file called DESIGN.md in your project's GIT repository. Describe the design guideline there. You
will fill in more details later."

We now have text for each section of the guidelines. Might need some polishing later.


build: Upgrade to Go 1.18 and alpine 3.16

applies to https://github.com/edgexfoundry/app-functions-sdk-go/issues/1145
Signed-off-by: Leonard Goodell<EMAIL_ADDRESS>

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/app-service-configurable/blob/main/.github/CONTRIBUTING.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?) N/A
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?) N/A
[ ] I have opened a PR for the related docs change (if not, why?) N/A

Testing Instructions

New Dependency Instructions (If applicable)

I assumed the snap failure was the other issue we have been having. Will look at the failure details moving forward.


HLSL: Register assignment for cbuffer doesn't respect GLSL binding index

When compiling Vulkan-style GLSL to SPIR-V, and then to HLSL, cbuffer indices get misaligned if a cbuffer gets optimized away in the GLSL -> SPIR-V stage.
Example GLSL (Vertex shader, fragment parts omitted for brevity):
layout(set = 0, binding = 0) uniform _PERFRAME {
	vec4 _Time;
};

layout(set = 0, binding = 1) uniform _PERCAMERA {
	mat4 MATRIX_VP;
	vec4 CAMERA_POSITION;
};

layout(set = 0, binding = 2) uniform _PEROBJ {
	mat4 MATRIX_M;
};

void main() {
        gl_Position = MATRIX_VP * MATRIX_M * vec4(0,0,0,1);
}

Disassembled SPIR-V
After compiling to SPIR-V, and then converting back to GLSL:
layout(set = 0, binding = 1, std140) uniform _23_25
{
    mat4 _m0;
    vec4 _m1;
} _25;

layout(set = 0, binding = 2, std140) uniform _31_33
{
    mat4 _m0;
} _33;

HLSL Output:
cbuffer _23_25 : register(b0)
{
    row_major float4x4 _25_m0 : packoffset(c0);
    float4 _25_m1 : packoffset(c4);
};

cbuffer _31_33 : register(b1)
{
    row_major float4x4 _33_m0 : packoffset(c0);
};

Notice how _23_25 is assigned to register b0, even though it is decorated with layout(binding = 1). I'm using Veldrid.SPIRV to interface with SPIRV-Cross from C#. They use a slightly outdated version, but I couldn't find any references to this happening anywhere, so I thought it would be best to create an issue. I can post the full code if needed, but I extracted the relevant bits only for now.

This is because Vulkan and Direct3D have different binding models. Unfortunately, unlike for Metal, there doesn't seem to be an option to make SPIRV-Cross use SPIR-V binding numbers in HLSL. The best you can do is use CompilerHLSL::set_resource_binding_flags() (spvc_compiler_hlsl_set_resource_binding_flags() from C API) to turn off register emission entirely. Perhaps we should add such an option.

Is there a way to find out the mapping from GLSL binding to HLSL register via the reflection api? Currently, the workaround I use is to compile the GLSL to SPIR-V with debug information enabled. This seems to force SPIRV-Cross to emit all buffers, even if they are unused.

Is there a way to find out the mapping from GLSL binding to HLSL register via the reflection api?

No. But, and I should've mentioned this earlier, you can control the register-binding mapping by using CompilerHLSL::add_hlsl_resource_binding() (spvc_compiler_hlsl_add_resource_binding() from C); then CompilerHLSL::is_hlsl_resource_binding_used() (spvc_compiler_hlsl_is_resource_used() from C) will tell you whether or not the shader actually uses the resource.

I'm not sure what you're doing, since I get the binding mapping:
cbuffer _PERCAMERA : register(b1)
{
    row_major float4x4 _19_MATRIX_VP : packoffset(c0);
    float4 _19_CAMERA_POSITION : packoffset(c4);
};

cbuffer _PEROBJ : register(b2)
{
    row_major float4x4 _25_MATRIX_M : packoffset(c0);
};

cbuffer _PERFRAME : register(b0)
{
    float4 _37_Time : packoffset(c0);
};

static float4 gl_Position;
struct SPIRV_Cross_Output
{
    float4 gl_Position : SV_Position;
};

void vert_main()
{
    gl_Position = mul(float4(0.0f, 0.0f, 0.0f, 1.0f), mul(_25_MATRIX_M, _19_MATRIX_VP));
}

SPIRV_Cross_Output main()
{
    vert_main();
    SPIRV_Cross_Output stage_output;
    stage_output.gl_Position = gl_Position;
    return stage_output;
}

Closed as not a bug since I cannot reproduce.


do you mind if I fork and maintain code base there?

I'm patching this project for 2.3.x version of elasticsearch, already been using that patch for my own cluster.
And I can either push that patch here, or maintain by myself in a different repo. Obviously I prefer the latter for better maintainablity. Before making any action I want to ask for your opinion.

you're welcome to fork in any case. If you're interested in maintaining the plugin we're also willing to transfer the repo to your account. if you're not interested in maintaining the plugin we'd welcome a PR.


[cmake] Make most of vendor libraries OBJECT libraries

Now that we have new enough CMake we can make most of vendor libraries OBJECT libraries which helps deploying MapLibre Native as a static library in only one file.

I will abandon this for now as I do not understand the issue.


Added tabs for indentation

Replaced every 2-spaces for \t (Tab) so that it displays with the current user indentation configuration

thanks @GeroCoded !


fix healthmgr metrics

after #2821
This PR fix the metrics reporting for healthmgr
after #2853
will refactor this pr after #2853

@nlu90  #2821 is big, this PR is small. so i think we may merge the big then refactor this small.

Talked with @ashvina yesterday.
Besides reporting the invocation counts, we may also report the results (output of sensor/detector/diagnoser/resolver) in state-cache, which will be added in another PR.


enable all warns as errors and fix all warns

Signed-off-by: wangbaiping<EMAIL_ADDRESS>

Codecov Report
Base: 86.42% // Head: 86.42% // No change to project coverage :thumbsup:

Coverage data is based on head (11d2b5d) compared to base (de662ed).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   86.42%   86.42%
=======================================
  Files          25       25
  Lines        2195     2195
=======================================
  Hits         1897     1897
  Misses        298      298

Impacted Files
Coverage Δ

hessian2/basic_codec/date_codec.cc
95.52% <ø> (ø)

hessian2/object.hpp
76.95% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


add sigmut_wrapper

Updated version of SigMatrixGeneratorProfiler

@lgpdv can you pull the master branch in your branch ? this will skip the test and validate the PR.
I still have some suggestions after that

@drosofff I've done what you've suggested. Now, the PR is ready to be merged. Should I do this?

Le ven. 6 mars 2020 à 13:54, lgpdv<EMAIL_ADDRESS>a écrit :

@lgpdv commented on this pull request.
Yes this is exactly why automated tests are good

--
Christophe Antoniewski
ARTbio http://artbio.fr/ - Tel +33 1 44 27 70 05
Mobile +33 6 68 60 51 50
https://twitter.com/ARTbio_IBPS

Yes, I completely agree. Anyway, quite surprising to find code errors in an already published tool.

Yes, I completely agree. Anyway, quite surprising to find code errors in an already published tool.

I am not surprised at all.


npm install fails to install a bin executable

There should be node_modules/.bin/tslint-fix but there isn't.
node -v
v6.4.0
npm -v
3.10.9

There is no binary file for this package, it is a script made with coffee-script, you can get to work by doing:
npm install coffee-script -g
Then if you installed tslint-fix locally you ca do:
coffee ./node_modules/tslint-fix/src/tslintFixer.coffee (...)


So sorry to reach out through here!

Unfortunately github doesn't have messages so I hope this is okay.
I am looking for anyone who has shown recent interest in PyQt5.
Me and a small group of others are working on a productivity tool using PyQt5. Our goal is to create a tool that can help others in any industry. Specifically we are creating a feature heavy productivity tool. I think this could be a good opportunity to add on to your portfolio, learn something new and work in a team setting. We need any help we can get :)
https://github.com/derto42/FlowBuddy
Please add the discord if interested: https://discord.gg/ahvpBbXG

I'm not sure i can be helpful in this project, since i've never particiapted in any of team projects in GitHub (doesn't count my company project which is using GitLab)
But i can give it a shot at least participating in Discord server and find out what's going on there :)


Consolidate gitignore

PR removes all .gitignore files from past challenges, and combines the necessary .ignores into the main .gitignore file for the CodeDojo repo.
closes #211

This should do it for combining the gitignore files.
Please take a look and let me know if you guys see any changes I need to make or anything I may have missed. From what I can tell it looks good on my end.


ESCU - AWS Cross Account Activity From Previously Unseen Account - Rule search parser error in Mustang setup

This ESCU scheduled search is failing with tons of error messages like this -
09-28-2020 20:15:36.450 +0000 INFO  SavedSplunker - savedsearch_id="nobody;DA-ESS-ContentUpdate;ESCU - AWS Cross Account Activity From Previously Unseen Account - Rule", search_type="scheduled", user="admin", app="DA-ESS-ContentUpdate", savedsearch_name="ESCU - AWS Cross Account Activity From Previously Unseen Account - Rule", priority=default, status=continued, reason="Error in 'SearchParser': Mismatched ']'.", scheduled_time=1601316074, window_time=-1
1:17
Seeing 1500 failure events like this in last 15 mins in /opt/splunk/var/log/splunk/scheduler.log
| tstats min(_time) as firstTime max(_time) as lastTime from datamodel=Authentication where Authentication.signature=AssumeRole by Authentication.vendor_account Authentication.user Authentication.src Authentication.user_role | rex field=Authentication.user_role arn:aws:sts::(?<dest_account>.*): | where 'Authentication.vendor_account'!='dest_account' | rename Authentication.vendor_account as requestingAccountId dest_account as requestedAccountId | lookup previously_seen_aws_cross_account_activity requestingAccountId, requestedAccountId, OUTPUTNEW firstTime as earliest | eval firstTime=(if (firstTime>earliest, earliest,firstTime)) | where firstTime >= relative_time(now(), '-70m@m')] | security_content_ctime(firstTime) | security_content_ctime(lastTime) | rename Authentication.user as src_user Authentication.src as src_ip | table requestingAccountId, requestedAccountId, src_user, src_ip, Authentication.user_role, firstTime, lastTime | aws_cross_account_activity_from_previously_unseen_account_filter
1:22
Error in 'SearchParser': Mismatched ']'.
1:22
That is the expanded search. Search is invalid.
Version: https://repo.splunk.com/artifactory/Solutions/DA/da-ess-contentupdate/builds/escu_mustang/DA-ESS-ContentUpdate-3.0.7.tar.gz

fixed by @rvaldez617 in this commit:https://github.com/splunk/security-content/pull/640/commits/caed35a67d19380a78360b6da64c9ecf311e41e0
uploaded a new build in artifactory: escu_mustang/bugfix/0.0.1/DA-ESS-ContentUpdate-3.0.7.tar.gz


Beta submissions view categories label is rendered as an ID rather than a title

All bug bounty props to @Techslammer. When a category is filtered on in the new beta All Submissions view, the filter label appears at the category ID rather than the category name.
Screenshots
selecting the category

the filter label

@wes-otf I would like to contribute towards this can you assign this to me

TBH, this was a performance convenience and MVP implementation of the concept. Glad people are finding it useful and should definitely be updated.

@theskumar that totally makes sense. We have some of our users actually starting to beta testing it now so hoping to bring more fixes over the next few weeks.

@Vayras all yours if you want it! Thanks for contributing.

@wes-otf Thanks, will start working on this now

@Vayras any status on this? No worries if not, I'll probably put in a PR for this next week to get it through the gate.


Adds FavorJoin auto-correct to ArrayJoin cop.

This updates the ArrayJoin cop to add auto-correct functionality.
Examples
Before
[1,2,3] * "-"
[1,2,3]*"-"

%w(a b c) * ', '
%w(a b c)*', '

After
[1, 2, 3].join('-')
[1, 2, 3].join('-')

%w(a b c).join(', ')
%w(a b c).join(', ')

Additional tests
I wrote some additional tests to confirm my Regexp but I did not include them.
I can add them if they do not look like overkill.
it "autocorrects '*' to 'join' when there are no spaces" do
  corrected =
    autocorrect_source(cop,
                       '%w(one two three)*", "')
 expect(corrected).to eq '%w(one two three).join(", ")'
end

it "autocorrects '*' to 'join' when setting to a variable" do
  corrected =
    autocorrect_source(cop,
                       'foo = %w(one two three)*", "')
  expect(corrected).to eq 'foo = %w(one two three).join(", ")'
end

Apart from my small comments, there are 2 more things I'd like to ask:

squash the commits into one
set the commit message title of the final commit to "Add auto-correct to ArrayJoin cop"

:+1:


CupertinoNavigationBar's back button does not work when transitionBetweenRoutes is set to true

Steps to Reproduce

Use the code below and flutter run
Press the button and push to page two
Press and hold the back button, then move your finger up, then press the back button, the back button does not work.

import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: PageOne(),
    );
  }
}

// page one
class PageOne extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      navigationBar: CupertinoNavigationBar(
        middle: Text('page one'),
      ),
      child: SafeArea(
        child: Center(
          child: CupertinoButton(
            onPressed: () {
              Navigator.push(
                context,
                CupertinoPageRoute(builder: (context) => PageTwo()),
              );
            },
            child: Text('go to PageTwo'),
          ),
        ),
      ),
    );
  }
}

// page two
class PageTwo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      navigationBar: CupertinoNavigationBar(
        middle: Text('page two'),
      ),
      child: Container(),
    );
  }
}

Logs

flutter: ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
flutter: The following assertion was thrown while handling a gesture:
flutter: 'package:flutter/src/widgets/heroes.dart': Failed assertion: line 634 pos 14: 'manifest.fromHero !=
flutter: newManifest.fromHero': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      _HeroFlight.divert (package:flutter/src/widgets/heroes.dart:634:14)
flutter: #3      HeroController._startHeroTransition (package:flutter/src/widgets/heroes.dart:824:25)
flutter: #4      HeroController._maybeStartHeroTransition (package:flutter/src/widgets/heroes.dart:761:9)
flutter: #5      HeroController.didStartUserGesture (package:flutter/src/widgets/heroes.dart:727:5)
flutter: #6      NavigatorState.didStartUserGesture (package:flutter/src/widgets/navigator.dart:2202:18)
flutter: #7      new _CupertinoBackGestureController (package:flutter/src/cupertino/route.dart:593:15)
flutter: #8      CupertinoPageRoute._startPopGesture (package:flutter/src/cupertino/route.dart:273:12)
flutter: #9      CupertinoPageRoute.buildPageTransitions.<anonymous closure> (package:flutter/src/cupertino/route.dart:317:36)
flutter: #10     _CupertinoBackGestureDetectorState._handleDragStart (package:flutter/src/cupertino/route.dart:505:37)
flutter: #11     DragGestureRecognizer._checkStart.<anonymous closure> (package:flutter/src/gestures/monodrag.dart:370:45)
flutter: #12     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
flutter: #13     DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:370:7)
flutter: #14     DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:304:7)
flutter: #15     GestureArenaManager._resolveByDefault (package:flutter/src/gestures/arena.dart:250:25)
flutter: #16     GestureArenaManager._tryToResolveArena.<anonymous closure> (package:flutter/src/gestures/arena.dart:231:31)
flutter: (elided 12 frames from class _AssertionError and package dart:async)
flutter:
flutter: Handler: "onStart"
flutter: Recognizer:
flutter:   HorizontalDragGestureRecognizer#a79c6
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: 'package:flutter/src/cupertino/route.dart': Failed assertion: line 516 pos 12: '_backGestureController != null': is not true.

[✓] Flutter (Channel dev, v1.9.3, on Mac OS X 10.13.6 17G8030, locale zh-Hans-CN)
    • Flutter version 1.9.3 at /Users/pakyo/Work/_sdk/flutter
    • Framework revision f515bf6abc (2 days ago), 2019-08-20 18:50:09 -0700
    • Engine revision c43739ba53
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/pakyo/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/pakyo/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-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • CocoaPods version 1.7.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (1 available)
    • iPhone 6s • 1EDF50E6-E957-4B69-807B-F98B9357E571 • ios • iOS 12.1 (simulator)

• No issues found!

Looks like a dup of https://github.com/flutter/flutter/issues/38183. Closing.

A widget is either stateful or stateless. If a widget can change—when a user interacts with it, for example—it’s stateful.
A stateless widget never changes. Icon, IconButton, and Text are examples of stateless widgets. Stateless widgets subclass StatelessWidget.
A stateful widget is dynamic: for example, it can change its appearance in response to events triggered by user interactions or when it receives data. Checkbox, Radio, Slider, InkWell, Form, and TextField are examples of stateful widgets. Stateful widgets subclass StatefulWidget.
//*****************************************************************
your class PageOne and PageTwo should extend stateful widget
//*****************************************************************


feat: generate int32 values for enums

To be used with the gateway which is configured to marshal enums as ints.

/m


Very good code repository, hope to have more content

I tried to use it in my project, but the run failed

We will add more soon. It's in an active development phase now


In provisioning.py allow specifying emulation type

For mainframe storage I need to specify emulation CKD instead of FBA.
In these functions:
create_storage_group
add_new_volume_to_storage_group
a new parameter is needed to allow this.
To maintain compatibility with existing api the new parameter should have a default value of 'FBA'.
I'll open a pull request with the required changes.

closed in pull request 148


anybody help me??????

I have question about the genie diagram ,why use Eureka in genie???when job is finished ,we could shut down EMR YARN cluster to  save money ,if we let the EMR cluster stand by ,we shoud pay more money to AWS.Is there any other reason to let the EMR cluster stand by ?

@hujisan what diagram are you referencing? Current iterations of Genie do not use Eureka explicitly.
As for you EMR standby question it sounds like your workflow is to launch one cluster per job. In that case there is no reason to leave the cluster running as you say. Just tear it down and mark it TERMINATED in Genie. However if you use one cluster for many jobs it's perfectly reasonable to leave it running to save time on startup, etc.

Hi tgianos,Thanks very much for you reply
Here is the url of the diagram,https://netflix.github.io/genie/images/2/architecture.png,there is a Eureka Service in the diagram .
In our case,we launch one cluster per workflow,when all the jobs of the workflow are finished ,we shut it down.we have many workflows running in different times every day.however there could be  serveral hours between two workflows when no workflow is running.

@hujisan that image is referenced from Genie V2 documentation, it is quite old.
Genie V3 works differently and it's the recommended stable version since last year, I'd recommend checking that out: https://netflix.github.io/genie/releases/3.2.5/
Eureka is an optional component and it's disabled by default. If you enable it, servers will register and can be discovered through it.
To your second point. Genie can work for this kind of process:

Launch a cluster
Register the cluster with Genie
Run a sequence of jobs (i.e. a workflow) on the cluster via Genie
Mark the cluster terminated in Genie (so no jobs get routed to it)
Shut down the cluster

Steps 1 and 5 are outside of Genie scope, i.e. they are your responsibility.
Genie does not create/destroy the cluster for you, nor it prevents you from creating/destroying it.


Bug: Only highlighting the first included text instead of exact text.

When there are two users with similar names, for example, rifki and rifkiard, and another user mentions "@rifkiard", the highlighted part is only "@rifki" instead of "@rifkiard".
https://github.com/fayeed/flutter_mentions/assets/49678787/e0a4c747-fd27-440b-9c53-1d790e710ef3

One possible solution is to ensure that rifkiard appears before rifki in the Mention.data list. However, a downside of this approach is that the suggestion list also preserves the new ordering. The simplest solution is to sort the Mention.data by the display property.
To fix the issue here, the package should implement this sorting.

Fix available #118:
  flutter_mentions:
    git:
      url: https://github.com/fayeed/flutter_mentions.git
      ref: 87e13e5c7e912b9733e126a789254989de6b84c7


Add the sprig functions in the template engine

Description

This PR is the implementation of #1848. Basically it adds the sprig library (https://github.com/Masterminds/sprig) to the template engine.

Could you do that:

Revert glide.yml, glide.lock and vendor changes. After that you must have nothing in the git stage.
Use the github.com/multiplay/glide-pin plugin: glide pin --exact
Commit the glide.yml with pinned version
Add dependency: ./script/glide.sh get YOUR/DEPENDENCY
Commit glide.yml, glide.lock and vendor
Revert the pin commit: git revert HASH_OF_PIN_COMMIT
Edit manually glide.yml to add the dependency
Use glide-hash to get the manifest file hash and put it in the lock file to please validate-glide.
Commit glide.yml and glide.lock
Squash all previous commit: git rebase -i HASH

please follow exactly my previous comment:

first, revert all your changes on glide.lock, glide.yml and vendor (step 1)

Hi @thomasbach76, thanks for your great contribution!
Design LGTM

Not sure why the semaphoreci check failed here...

It's not you, I have relaunch the build.


Issues encountered when using Mermaid in drawio

I am using drawio on the website https://app.diagrams.net/ to import flowcharts created with Mermaid. In this setup, each element is editable, such as dragging and deleting. However, when I use the latest code from https://github.com/jgraph/drawio to deploy it locally and import Mermaid flowcharts, the flowchart is treated as a whole, and its elements are not editable. Is this a change in the latest version, or has it been designed this way since a certain version?
on website https://app.diagrams.net/

locally

Hi,
This feature is not part of the open-source code

And how do we change that behavior on the "closed-source" code?Can't we edit the mermaid code in https://app.diagrams.net?


Drop txt and move channel merge logic

Closes #474
I also decided to move the logic of dropping and re-adding the unftilered & filtered sces from the channel into the annotation workflow itself. If we reconsidere whether we want to add annotations to filtered sces, we can do that more easily if the files are already there, and it streamlines main.nf a bit to make the flow a bit more clear.

Overall looks good to me, but I have a couple small organizational thoughts..

Do we want to define empty_file at the top of main.nf instead of buried in sce-processing.nf? I don't think we'll need to use it for cell typing given the nulls, though, so this doesn't seem necessary now (maybe later, who knows what features may come).
What about making a global string variable for "NO_FILE" rather than hardcoding that string everywhere. We don't expect this file to change names, but I am always anxious about hardcoding and typos!

I'm nervous about defining it as a global because then we have to do extra work to pass it down to included files: note how we have to explicitly pass some variables down with addParams:
One thought I did have was to move some of those variables into an importable lib like Utils (or just Utils), but I'm not sure whether those libs have access to ${ProjectDir}, which we need to define the file location.
So I think the best move is to leave things as they are for now!

What about making a global string variable for "NO_FILE" rather than hardcoding that string everywhere. We don't expect this file to change names, but I am always anxious about hardcoding and typos!

Also note that any change would require us to add a lot of boilerplate! We are sometimes using NO_FILE in the context of a shell script, so we would have to replace "NO_FILE" with something like "${Util.no_file}"? Which seems way more prone to typos!

We are sometimes using NO_FILE in the context of a shell script, so we would have to replace "NO_FILE" with something like "${Util.no_file}"? Which seems way more prone to typos!

good point!! this would indeed be worse.


Add passes to eliminate dead output stores

This adds two passes to accomplish this: one pass to analyze a shader to determine the input slots that are live. The second pass is run on the preceding shader to eliminate any stores to output slots that are not consumed by the following shader.
These passes support vert, tesc, tese, geom, and frag shaders.
These passes are currently only available through the API.
These passes together with dead code elimination, and elimination of dead input and output components and variables (WIP), will allow users to do dead code elimination across shader boundaries.

This is the second attempt to add this capability, the first being #4909. I have started a new PR because the restructuring of the first PR was so extensive I thought it best to start anew.
The core capability of #4909 has been retained. I believe I have addressed all of @s-perron 's concerns in that PR, including the restructuring which was requested. That restructuring was the movement of the analysis into a SPIRV-Tools analysis component, as well as splitting the analysis and dead code removal passes into two distinct SPIRV-Tools passes.
This PR is slightly more capable than #4909 as it also analyzes and removes dead stores of builtin output variables. But the general approach remains the same.

@dnovillo and other reviewers: I am adding this so that you understand the full context of these changes and changes to follow. This may duplicate information already given in this PR. This was adapted from similar text in #4909.
The optimization passes in this PR are part of a larger set of optimization passes which can be used to accomplish dead code elimination across shaders through analysis of loads and stores through input and output interface variables.
You may already be familiar with EliminateDeadInputComponents. This is mostly checked in already. It eliminates trailing components of input variables that are not used by a shader. Currently, EliminateDeadInputComponents can only be safely applied to a Vertex shader. If it is applied to other shaders, additional optimization will be needed on preceding shaders so that the interfaces match. A fix to EliminateDeadInputComponents is coming which will assure safe default behavior as well as allow it to be applied to other shaders as part of a larger optimization through a special option.
This PR adds two passes, AnalyzeLiveInput and EliminateDeadOutputStores. The analyze phase creates a vector of the input locations of a shader which are live. The elimination phase is called on the preceding shader and eliminates stores to output variables and output components whose locations are not in the vector of live locations created by the analyze phase on the subsequent shader.
I will then be adding a new phase called EliminateDeadOutputComponents, very similar to EliminateDeadInputComponents but for output variables. This can only be applied to a shader as part of the larger cross-shader optimization where EliminateDeadInputComponents was applied to the following shader.
Finally, I will be adding an option to EliminateDeadCodeAggressive which permits elimination of dead output variables through a special option. This can only be applied to a shader as part of the larger cross-shader optimization where EliminateDeadCodeAggressive was applied to the following shader.
Altogether, these passes will allow dead code elimination to propagate across shaders.
As currently implemented, these passes will only be available through the API. They will not be available through the command line. This is partly because the client is only interested in access through the API. If someone else wishes to come up with a mechanism for them to work through the command line, they are welcome to do so.
The user will have to exercise caution to not create incompatible interfaces between shaders
with these passes. These phases and options are not meant for stand-alone use like many previous passes. The user must be sure they have eliminated dead inputs in a shader before they eliminate the corresponding outputs in the preceding shader. Warnings will be added to these passes to this effect. These passes will not be added to any of the existing recipes.
These passes will work on vert, tese, tesc, geom and frag shaders only.
So, dead code elimination across vertex shader V and frag shader F can be accomplished by performing the following passes:
EliminateDeadCodeAggressive ( F )
EliminateDeadInputComponents ( F )
LiveInputSetsOfF = AnalyzeLiveInput ( F )
EliminateDeadOutputStores ( V, LiveInputSetsOfF )
EliminateDeadOutputComponents ( V )
EliminateDeadCodeAggressive ( V )
EliminateDeadInputComponents ( V )
Optimization of larger pipelines would be accomplished by extending this recipe logically.

@dnovillo I believe the smoketest failures are not related to this PR; several other SPIRV-Tools PRs are failing smoke test.
Could be related to glslang changing the generator number this last release. It is part of the version string and we had to update nearly all glslang tests.

@dnovillo I believe this is ready for your review now.

@dnovillo I believe the smoketest failures are not related to this PR; several other SPIRV-Tools PRs are failing smoke test.

Do you have access to the build/test output?

Do you have access to the build/test output? (but yes, failure is due to glslang version, checking that out)

Yes. It is big.

@Keenuts I think I have addressed all your concerns so far. Please take another look.

If you really need it, let me know and we can figure out a way to get it to you.

No, I have it, was wondering if it was public 🙂 Will look into how to update it so we can have a passing CI

Thanks Greg!
Replies or resolved comments above.
So overall this seems OK, there are just a few points I am sad about, or not sure (@dnovillo for a more experiences opinion)

location size computation
The size of a location is determined by walking the type hierarchy. It does seem to work, and it's probably what the compiler does to generate the correct location indices in the first place. Just wondering how robust is that walk at our level. Example, we handle float32 and float64, but what about float8?
Another way would be to check at what is the next location's offset, but that doesn't work for the last element, so maybe this solution is the only one.

Analysis format
I was bitten a bit by the manager pattern which can modify the code when doing a get, so not a fan of it. But it seems like this is the canonical way to have analysis.
In this PR, there is a liveness manager, which can return live locs and live built-ins. But somehow, you don't use it like other managers. You added an additional pass (AnalyzeLiveInputPass), which calls the manager, and forward results to the next pass. By storing liveness data outside of the pass, you disassociate it from the analysis validity state in the ir_context, meaning you are now responsible to make sure it's still up-to-date.
Is there a reason not to call this manager in EliminateDeadOutputPass?

type walk
At several places, you have this kind of AsArray() -> element_type, AsStruct() -> do something on the inner element
Could this be refactored? Maybe a function taking a lambda and applying on the struct if the top-level type has one?

Is there a reason not to call this manager in EliminateDeadOutputPass?

Yes. This is part of an optimization sequence that is unlike any other we have created in that it involves two shader modules: we analyze the downstream shader D and optimize the upstream shader U. But because SPIRV-Tools only handles one shader module at a time, this needs to be done over two invocations of SPIRV-Tools instead of one. We invoke SPIRV-Tools on shader D to get the analysis into the live sets, and then we invoke SPIRV-Tools again on shader U to do the optimization based on the live sets. That is why we must externalize the Liveness analysis into external sets, because the Liveness analysis does not survive across invocations of SPIRV-Tools. When we are doing EliminateDeadOutputPass on shader U, we do not have access to shader D to do the analysis.
Maybe at some point we will improve SPIRV_Tools to operate on multiple modules at a time. But that is more than I wanted to support today.

At several places, you have this kind of AsArray() -> element_type, AsStruct() -> do something on the inner element
Could this be refactored? Maybe a function taking a lambda and applying on the struct if the top-level type has one?

I am not quite sure what you are asking for here. No doubt my code can be more elegant than it is today. If there is a section that is incorrect or too verbose or inefficient or complex for the normal developer to understand, I would be happy to try to fix it.


Can't get the reset password email

Tried multiple times to reset the password due I forgot it, but I never receive an email. Nothing in Spam folder, simply don't receive any message.
I can't login and can't even create a new account.

Hey, sorry to hear about the issues you're experiencing - please contact helpdesk at europython.eu, they should be able to help. Going to close this issue for now.

Unfortunately I tried the helpdesk first but I've got no answer in 10 days, so I tried this way


Are you interested in end to end testing?

I'm volunteering to come in and add in support for end to end component testing for your library, similar to what I've done for the Encore UI project https://github.com/rackerlabs/encore-ui. Here are some of the advantages we've gained from incorporating page objects into our library.

Relieves end users from testing component functionality
focus instead on testing the business logic inside their angular-bootstrap components
Encourages testers to expose their work in a similar fashion
easily consumable, well-encapsulated APIs representing user actions
Increases the library's code coverage by integrating end to end tests at the component level
ensures that the behaviors exposed in the components' functionality are continuously exercised

Encore-UI It has a very similar directory structure to this project. You'll want to look at anything labeled *.page.js for an example of what I'm trying to build. An example of it being used can be found in the demo pages, under the "Protractor" tab.
A major difference is that I'm not looking to bring in an Astrolabe dependency here, which is used in encore-ui.
For now I'll just work in my fork. Please let me know if you're interested in bringing these into the framework later, or if you have any questions about what I'm trying to do.

I wouldn't mind hearing everyone's opinions.

I think we do not have enough manpower currently for maintaining e2e tests unfortunately, so I am closing this due to our inability to support these. Thankfully, our unit test coverage is very strong, so we see less issues than most projects over the long term.


F-droid version is not up to date

The app on Fdroid is not up to date.
The classic version is for a year ago and the beta version ia for six month ago. This is while the beta version on Google Play Store has been published just two days ago!
Whatbis the issue?

hi @ahangarha thanks for the report. The builds on F-droid are completely managed and maintained by community members, Mattermost does not directly maintain F-droid. Not even sure who is the owner of that :S

Does that mean you have non-free components on your app which cannot be directly published on f-droid?

@ahangarha sadly we are using google services for notifications

/close as duplicate #566


modify log delete token

Ⅰ. Describe what this PR does
delete sensitive infromation in logs
Ⅱ. Does this pull request fix one issue?
yes
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
no need case
Ⅳ. Describe how to verify it
delete sensitive infromation, only verify token is empty
Ⅴ. Special notes for reviews

@JiahuiZhao11 when ready to merge, please add label "ready to merge"


Support loading of e_sqlite3.dll from output root directory

Currently e_sqlite3.dll is only loaded from runtimes sub-directory. But nuget copies native dlls from runtimes folder to the output root folder during build if a runtime identifier is specified.
So the dll exists in the output root directory but is never loaded from there.

On a related note, if the Platform is x86, AnyCPU with Prefer32Bit, or x64, you really only need one dll in the output directory

The familiar and tired feeling I have when I read the two comments above is, "Yep, that seems correct, but if I make a change, I bet something will break, probably with Mono."
For each of these comments, my question is "In which cases is this true?"
.NET Framework?
.NET Core?
.NET Core pre-3.0?
Mono?

Also, the runtimes folder will only work on newer versions on NuGet.
lol, I’d probably have too much FUD to change anything too

I'm sorry for not giving any further details, just didn't thought in this dimension.
I have this problem on .NET Framework. I tested it with with .NET Core 3.0 and there the runtime folder is not copied to output just the e_sqlite3.dll in the output root and it is also loaded from there.
I've dived a bit into the source and I think this is actually a bug on .NET Framework.
Both versions of Batteries_V2.Init method call NativeLibrary.Load with flags = 2 parameter but in .NET Core the flags is converted to a DllImportSearchPath enumeration where 2 means AssemblyDirectory and on .NET Framework the value is interpreted as "search in runtimes directory" within MakePossibilitiesFor method.


Unable to add "pathPattern" as an event trigger filter

TL;DR
I want to deploy a cloud function that is supposed to be triggered when a document is created in firebase. I get an error when trying to specify the path for the newly created document (the documentation is not very clear about how to specify the path in the yaml file, e.g. what are the possible attributes for event_trigger_filters?).
Expected behavior
No response
Observed behavior
No response
Action YAML
name: Deploy Workflow

on:
  push:

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest

    steps:
      - id: checkout
        name: Checkout
        uses: actions/checkout@v4

      - id: auth
        name: Authenticate to Google Cloud
        uses: google-github-actions/auth@v2
        with:
          token_format: access_token
          project_id: project-id
          workload_identity_provider: <workload-identity-provider>
          service_account<EMAIL_ADDRESS>
      - name: Install dependencies
        run: npm install

      - name: Build
        run: npm run build

      - name: Deploy function-name
        uses: google-github-actions/deploy-cloud-functions@main
        with:
          name: function-name
          entry_point: function-name
          runtime: "nodejs20"
          region: "europe-west1"
          build_service_account<EMAIL_ADDRESS>          service_account<EMAIL_ADDRESS>          event_trigger_type: "google.cloud.firestore.document.v1.created"
          event_trigger_service_account<EMAIL_ADDRESS>          event_trigger_filters: |-
            pathPattern="projects/project-id/databases/firestore-name/documents/collection-name/{docId}"

Log output
Prepare all required actions
Getting action download info
Download action repository 'google-github-actions/deploy-cloud-functions@main' (SHA:a2164ef2fe5dcc9c1f49bb5297133b5ba5920af8)
Run ./.github/actions/deploy-cloud-function
Run google-github-actions/deploy-cloud-functions@main
Created zip file from './' at '/tmp/cfsrc-535549cdea9103c31dc3d38f.zip'
Updating existing Cloud Functions deployment
Error: google-github-actions/deploy-cloud-functions failed with: failed to PATCH https://cloudfunctions.googleapis.com/v2/projects/project-id/locations/europe-west1/functions/function-name?updateMask=name,environment,buildConfig.runtime,buildConfig.entryPoint,buildConfig.source,buildConfig.serviceAccount,serviceConfig.allTrafficOnLatestRevision,serviceConfig.availableMemory,serviceConfig.environmentVariables,serviceConfig.ingressSettings,serviceConfig.serviceAccountEmail,serviceConfig.timeoutSeconds,eventTrigger.eventType,eventTrigger.eventFilters,eventTrigger.serviceAccountEmail,eventTrigger.retryPolicy: (400) {
  "error": {
    "code": 400,
    "message": "Validation failed for trigger projects/project-id/locations/europe-west1/triggers/function-name-686621: The request was invalid: invalid argument: event type google.cloud.firestore.document.v1.created not supported: attribute pattern not found within event type",
    "status": "INVALID_ARGUMENT"
  }
}

Additional information
No response

hey @mudassarzahid I was able to make it work with the following code. To make it work, I've created the trigger at first deploying with the gcloud client, and starting comparing the result using describe.
          event_trigger_type: google.cloud.firestore.document.v1.written
          event_trigger_filters: |-
            database=some-database
            document=PATTERN:test_coll/{test_coll}

Hi @mudassarzahid did @maxrinal's suggestion work?

That doesn't make sense because at this time, all of those references point to the same Git SHA...


[Service Bus] Stress Testing

Revisiting the stress tests of service-bus. Check with Richard on the stress tests.
Onboard/upgrade them to the new stress testing framework that Richard and Ben(ENG SYS) have been working on.
Co-ordinate with other languages on the scenarios and initiate long-running test runs, log issues for the bugs that show up, and investigate them.

#23053


Unexpected response code 401 for https://www.googleapis.com/games/v1/applications/played

Not really the right place to report this - but I found no better place for this. I am having a problem with play-game services. For a simple connection I get:
07-14 00:28:08.394 28271 28271 I gobandroid: connected
07-14 00:28:08.783 19165 19206 E Volley  : [1562] BasicNetwork.performRequest: Unexpected response code 401 for https://www.googleapis.com/games/v1/applications/played
07-14 00:28:08.789 19165 28324 W GameAgent: Volley error when reporting played
07-14 00:28:08.789 19165 28324 W GameAgent: com.android.volley.AuthFailureError
07-14 00:28:08.789 19165 28324 W GameAgent:     at com.android.volley.toolbox.BasicNetwork.performRequest(:com.google.android.gms:159)
07-14 00:28:08.789 19165 28324 W GameAgent:     at ipb.performRequest(:com.google.android.gms:64)
07-14 00:28:08.789 19165 28324 W GameAgent:     at com.android.volley.NetworkDispatcher.run(:com.google.android.gms:113)

after
 mGoogleApiClient = GoogleApiClient.Builder(activity).addConnectionCallbacks(object : GoogleApiClient.ConnectionCallbacks {
      override fun onConnected(bundle: Bundle?) {
          Log.i("connected")
      }

      override fun onConnectionSuspended(i: Int) {
         // Attempt to reconnect
         mGoogleApiClient!!.connect()
      }
  }).addApi(Games.API).addScope(Games.SCOPE_GAMES).build()

this snipped in the log might be related:
 AppOps  : Bad call: specified package com.google.android.play.games under uid 10230 but it is really 10066

Thanks for the report.  Is it consistent or intermittent?  Can you share a complete log of the error?  That will help in diagnosing the issue.
The "Bad call" log message is annoying, but harmless.


False positive for use before assignment

 Environment data

Language Server version: 2021.6.1
OS and version: darwin x64
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: undefined
python.analysis.typeCheckingMode: basic

 Expected behaviour
The following is valid Python, and Pylance shouldn't complain:
def f():
    class X(A): ...
    print(x)

class A: ...
x = 5

 Actual behaviour
Pylance complains about "using variable 'A' before assignment"
 Code Snippet / Additional information

That error message is not coming from Pylance. Please look for other extensions that you have installed that might be performing linting or similar code analysis.

You're absolutely right, this is what I get for filing issues late at night. So sorry about the noise. Was working in a different VSCode workspace than I usually do, and this one had Pylint enabled.


placeholder image request leading to Net::OpenTimeout: execution expired

I'm using ffaker version 2.17.0 with ruby 2.6.6 on OSX 10.15.7 and I seem to be having trouble getting images through from placeholder.com.  I get this error:
Net::OpenTimeout: execution expired
/Users/tansaku/.rvm/gems/ruby-2.6.6/gems/ffaker-2.17.0/lib/ffaker/image.rb:45:in `download_file'

I can access placeholder.com fine from the browser e.g. https://via.placeholder.com/300x300/ and it also works fine over curl:
$ curl https://via.placeholder.com/300x300/ --output ~/tmp/placeholder.png
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1132  100  1132    0     0   1702      0 --:--:-- --:--:-- --:--:--  1699

I swapped out the url in ffaker image.rb for https://placeimg.com/640/480/any and that worked fine.
Has anyone else experienced this? ffaker being unable to grab images from placeholder for some reason?
Maybe some difference in the HTTP headers/user-agent being sent in each context?   Some throttling of my IP at placeholder?  I only ever used the feature for the first time today ...

Hi, @tansaku
Thanks for report. Could you, please, tell if you still experience this behavior of FFaker's Image? I've tried several times today, but seems it is working fine now.

Thanks @Volosh1n - I tried again today and I still have the same issue.  I tried and failed on two different computers yesterday (both on the same network).  Maybe it's specific to the network I'm on?  I guess I'll need to break out something to trace the actual http request to compare to what happens with the browser or curl operations that do work ... sounds like I'm in some sort of weird corner case ...
I just tried it tethering by my iPhone and that did work (!), so I guess there's something about the request or the site itself that's being blocked in just the ruby client when I'm on my main BT business network ... I'll see if I can pull up the raw requests for comparison

Here's the successful request going through in firefox on my bt network:
GET /400x300/0ab6bc/60d890.png?text= HTTP/1.1
Host: via.placeholder.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Cookie: xxxxx
Upgrade-Insecure-Requests: 1

I'm trying to trace the underlying ruby http request with limited success - can't seem to get things showing up in wireshark.  Simulating all the headers is not helping:
Kernel.open('https://via.placeholder.com/300x300/0ab6bc/60d890.png?text=',
    "User-Agent" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0",
    "Accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
    "Accept-Language" => "en-US,en;q=0.5",
    "Accept-Encoding" => "gzip, deflate, br",
    "Connection" => "max-age=0",
    "Upgrade-Insecure-Requests" => "1",
    "If-Modified-Since" => "Mon, 16 Nov 2020 11:19:22 GMT",
    "If-None-Match" => "5fb2603a-46c",
    "Cache-Control" => "max-age=0")

I can reproduce this. Like @tansaku said, even while using net/http with all headers it's somehow blocked. Maybe placeholder.com doesn't like ruby clients anymore. https://placeholder.com/rules


Setting Prime Karambit animation level.

On the latest version (1.0.3), when using the set command into the console to change the Prime Karambit level, a bug occurs where It does not seem able to identify the level 1 animation as a valid command, I even pasted the exact command prior to this version without success.
I'm not sure if it affects other melees or it's something specific to the Prime Karambit as it happens to be my only knife with 2 animations, but in version 1.0.2 it worked fine.

i uploaded the wrong executable earlier, it has since been fixed (re-download v1.0.3)

Thanks a lot! Really love this program saving my Karambit Prime.

no problem! funnily enough i didn't realize you could un-level skins until I finished all of the main randomizer functionality, but it's an awesome feature to have


Unable to start docker compose demo server

I run into the following exceptions when try to start the demo deployment with docker composer:
fckeycloak         | 12:54:04,261 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 48) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
fckeycloak         | 12:54:04,277 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 57) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments runnin
g multiple servers. Please make sure the attribute value is unique.
fckeycloak         | 12:54:04,281 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 55) WFLYSEC0002: Activating Security Subsystem
fckeycloak         | 12:54:04,282 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.security.security-event-listener.local-audit: org.jboss.msc.service.StartException in service
org.wildfly.security.security-event-listener.local-audit: WFLYELY00004: Unable to start the service.
fckeycloak         |    at org.wildfly.extension.elytron@10.0.3.Final//org.wildfly.extension.elytron.AuditResourceDefinitions$1$1.get(AuditResourceDefinitions.java:249)
fckeycloak         |    at org.wildfly.extension.elytron@10.0.3.Final//org.wildfly.extension.elytron.AuditResourceDefinitions$1$1.get(AuditResourceDefinitions.java:231)

and
fckeycloak         | 12:54:14,579 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.WelcomeResource from Application class org.key
cloak.services.resources.KeycloakApplication
fckeycloak         | 12:54:14,652 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: '/auth' for server 'default-server'
fckeycloak         | 12:54:14,673 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
fckeycloak         |     ("subsystem" => "elytron"),
fckeycloak         |     ("file-audit-log" => "local-audit")
fckeycloak         | ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.security.security-event-listener.local-audit" => "WFLYELY00004: Unable to start the service.
fckeycloak         |     Caused by: java.io.FileNotFoundException: /opt/jboss/keycloak/standalone/log/audit.log (Permission denied)"}}
fckeycloak         | 12:54:14,790 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 46) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")
fckeycloak         | 12:54:14,791 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
fckeycloak         | WFLYCTL0186:   Services which failed to start:      service org.wildfly.security.security-event-listener.local-audit: WFLYELY00004: Unable to start the service.
fckeycloak         |
fckeycloak         | 12:54:14,834 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
fckeycloak         | 12:54:14,837 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://<IP_ADDRESS>:9990/management
fckeycloak         | 12:54:14,837 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://<IP_ADDRESS>:9990
fckeycloak         | 12:54:14,837 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: Keycloak 9.0.2 (WildFly Core 10.0.3.Final) started (with errors) in 13122ms - Started 682 of 988 services (1 services failed or missing depend
encies, 701 services are lazy, passive or on-demand)

As we discussed in the meeting since I only need a single user to communicate to the HPC, can you tell me which services are able to be discarded in the docker-compose.yml?
Best,
Jusong Yu

Hello @unkcpz
The latest release fixes these problems, please try it and let us know.

@aledabin thanks a lot!
I will then discuss with partners from the project to see how we processing the deployment and keep you posted.


#1660 Huge logs because of StyleCop.Analyzers warnings

Fixes #1660
A long list of StyleCop.Analyzers warnings in build logs: CircleCI, VS Output Build, VS Error List Warnings.
Proposed Changes

Add StyleCop.Analyzers package to Ocelot.Provider.Kubernetes, Ocelot.Tracing.Butterfly, Ocelot.Tracing.OpenTracing
Fix SA* StyleCop warnings
Fix CA* C# Styling warnings
Fix CS* C# warnings
Fix IDE* C# errors, warnings and info
Upgrade Basic and K8s samples to ASP.NET 7 to fix warnings and apply ASP.NET 7 MVC templates

@RaynaldM  Hey Ray!
Could you review my PR please?


Log S3 object version information for extra security + allow processing control for versioned buckets

During out security review, we identified a potential security hote:

user uploads file to S3 bucket/key, triggering virus scanning
while lambda is running, user uploads a new version of the same file, but infected
when first virus scanning lambda completes with success, downstream consumers may access latest version of the key, giving them instead the infected file (if it's own lambda has not finished scanning yet)

One of the first safeguards is to explicitly add a version field to all the SNS messages to explicitly indicate the object version on versioned buckets.
If bucket does not implement versioning (rather dangerous). it will be null.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Also, added switch AV_PROCESS_ORIGINAL_VERSION_ONLY which allows to control whether to only process the initial uploaded file version and disregard all others.
This is useful to prevent attacks when someone is trying to upload multiple copies of the same file (some of which may be infected) under the same key.
With this switch enabled, only the initial uploaded version gets processed and generates SNS notificaitons for downstream consumers. Subsequent object versions get rejected and no downstream SNS notifications are sent.

CLA is already signed by me (on previous PR I did), so this one is ready for review

@jfurmankiewiczupgrade, I know we made an exception in the last PR but could you do me a favor and re-sign with @jacek99 or adjust the commits to be under @jfurmankiewiczupgrade? That appears to be the root of the issue with the CLA.
Thanks!
For the PR, we're going to give this repo a little love and catch up on things very very shortly... thanks so much for the contributions!

@jaygorrell done

No, the whole point is that downstream consumers of SNS messages never
have to deal with the multiple versions.
it gets shut off direclty at the lambda event and not propagated downstream.
On Tue, Mar 20, 2018 at 1:58 PM, Praveendra Singh<EMAIL_ADDRESS>wrote:

@pravsingh commented on this pull request.
In scan.py
https://github.com/upsidetravel/bucket-antivirus-function/pull/22#discussion_r175920165
:

@@ -110,6 +132,7 @@ def lambda_handler(event, context):
print("Script starting at %s\n" %
(start_time.strftime("%Y/%m/%d %H:%M:%S UTC")))
s3_object = event_object(event)

verify_s3_object_version(s3_object)

shouldn't we check it after sns_scan_results call?
basically at the end of the scan and before sending the event to SNS we
should validate.
In case lambda takes some time and in between newer version appears then,
we could abort, or may be we can just ignore as we are already sending the
scanned version in the event to SNS.
or may be verify_s3_object_version doesn't abort and instead tag the
latest version it fetched for scanning.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/upsidetravel/bucket-antivirus-function/pull/22#pullrequestreview-105533575,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACOGFYObdIeqNTV7U42EN1PgSZ6LXUYks5tgW1sgaJpZM4SwaMJ
.

makes sense. thanks!

Following up, hope we can get it merged, thank you

This PR is not going unnoticed.  My next Jira ticket up is to review all PRs and issues.  Hopefully by EOB tomorrow.  Thanks for your patience.

thank you, much appreciated!

Thank you

Does this require additional policy update?
I'm getting the error
ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden

At
message = {
        "bucket": s3_object.bucket_name,
        "key": s3_object.key,
        "version": s3_object.version_id,
        AV_SIGNATURE_METADATA: scan_signature,
        AV_STATUS_METADATA: scan_result,
        AV_TIMESTAMP_METADATA: get_timestamp(),
    }

for denied getObject on INFECTED files


Streamline resource creation api

Creating new resources with @tomic/lib is currently very unintuitive, to create a resource you need to "fetch" or "get" a resource but tell the store it is new. It also doesn't set any properties so you can't directly save it.
We should have a separate function to create new resources e.g. store.newResource(). Ideally this also takes a class(es) and parent because you have to set those on all resources anyway.
Something like
const resource = store.newResource('https://my-folder', dataBrowser.classes.folder, 'https://my-parent');

Alternatively we could add an overload to the Resource constructor e.g.
const resource = new Resource('https://my-folder', dataBrowser.classes.folder, 'https://my-parent');

Maybe we can add a way to quickly set additional properties too

Some additional thoughts:

The parent is always required
A class is not required, but often useful
A subject could be generated, so it could be an optional argument.

That way even the parent becomes optional - we could default to the serverURL.


[Bug] qwen-14b api server can't support supper long input(> 2400 token) when NTK-aware interpolation and LogN attention scaling are open

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.

Describe the bug

request
token length: "我爱你" * 800 = 2400 tokens

curl -X 'POST' \
  'http://<IP_ADDRESS>:8083/generate' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "prompt": "我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你",
  "session_id": -1,
  "sequence_start": true,
  "sequence_end": true,
  "stream": false,
  "stop": false,
  "request_output_len": 512,
  "top_p": 0.8,
  "top_k": 40,
  "temperature": 0.8,
  "repetition_penalty": 1,
  "ignore_eos": false
}'

response body (why text is null?)

{
  "text": "",
  "tokens": 1,
  "finish_reason": null
}

response header

access-control-allow-credentials: true
 access-control-allow-origin: http://x.x.x.x:8083
 content-length: 43
 content-type: application/json
 date: Thu,02 Nov 2023 06:25:50 GMT
 server: uvicorn
 vary: Origin
 via: 1.1 ejp3.go2https.com (squid/3.5.21)
 x-cache: MISS from ejp3.go2https.com

Reproduction

commnad

python3 -m lmdeploy.serve.turbomind.deploy qwen-14b /data/home/xxx/model/qwen-14b-chat --dst
-path ./qwen-14b-chat-16k --tp 2
python3 -m lmdeploy.serve.openai.api_server ./qwen-14b-chat-16k --server_port=8083 --server_name=0.0
.0.0

config.ini

# path: /data/home/xxx/examples/deployed/qwen-14b-chat-16k/triton_models/weights/config.ini
[llama]
model_name = qwen-14b
head_num = 40
kv_head_num = 40
size_per_head = 128
vocab_size = 152064
num_layer = 40
rotary_embedding = 128
rope_theta = 10000.0
inter_size = 13696
norm_eps = 1e-06
attn_bias = 1
start_id = 0
end_id = 151643
weight_type = fp16
group_size = 0
max_batch_size = 32
max_context_token_num = 4
session_len = 8200
step_length = 1
cache_max_entry_count = 48
cache_chunk_size = 1
use_context_fmha = 1
quant_policy = 0
tensor_para_size = 2
max_position_embeddings = 2048
use_dynamic_ntk = 1
use_logn_attn = 1

Error traceback
No response

We've encountered the same issue when deploying Qwen14b; kindly prioritize addressing this matter.

Same for me with the last lmdeploy version. I got: {'text': '', 'tokens': 0, 'finish_reason': 'length'}, for a 5k context, the model is a llamafied 200k yi 34B model, the conf:
[llama]
model_name = llama2
tensor_para_size = 1
head_num = 56
kv_head_num = 8
vocab_size = 64000
num_layer = 60
inter_size = 20480
norm_eps = 1e-05
attn_bias = 0
start_id = 1
end_id = 2
session_len = 32000
weight_type = fp16
rotary_embedding = 128
rope_theta = 5000000.0
size_per_head = 128
group_size = 0
max_batch_size = 32
max_context_token_num = 4
step_length = 1
cache_max_entry_count = 48
cache_chunk_size = 1
use_context_fmha = 1
quant_policy = 0
max_position_embeddings = 200000
use_dynamic_ntk = 1
use_logn_attn = 1

Hope  https://github.com/InternLM/lmdeploy/issues/798 and https://github.com/InternLM/lmdeploy/issues/819 can help


Updates apt::source usage

The use of key_source in apt::source is deprecated since puppetlabs/apt
version 2.1.1 (at least) and removed in version 4.0.0.

Please merge, unless this is in the codebase, there is no way installing the module with librarian-puppet.

+1


Bugfix: Stop non html attributes from being bound to the element

:+1:

@homu r+

Manually merged because Homu is dead.


Created the Form Page

I have read the Code Of Conduct.
I have followed all the steps of submission properly.

The contributions that I made in this project are as follows:

I made a proper File structure and added a folder for Pages in the frontend folder.
I provided the routes in the App.js page for better navigation
I created Form pages including it CSS stylesheet and routed them to the /form

@alaykabir
Great Work 🌟. Thank you for your contribution.