GC overhead limit exceeded

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Multiple tasks execute concurrently without releasing memory until memory overflows，"GC overhead limit exceeded"
SeaTunnel Version
2.3.3
SeaTunnel Config
seatunnel:
  engine:
    # history-job-expire-minutes: 1440
    history-job-expire-minutes: 60
    backup-count: 1
    queue-type: blockingqueue
    print-execution-info-interval: 60
    print-job-metrics-info-interval: 60
    slot-service:
      dynamic-slot: true
    checkpoint:
      interval: 10000
      timeout: 60000
      storage:
        type: hdfs
        max-retained: 3
        plugin-config:
          namespace: /tmp/seatunnel/checkpoint_snapshot
          storage.type: hdfs
          fs.defaultFS: file:///tmp/

Running Command
# Defining the runtime environment
env {
  # You can set flink configuration here
  execution.parallelism = 2
  job.mode = "BATCH"
}
source{
    Jdbc {
        url = "${mysql_url}"
        driver = "com.mysql.jdbc.Driver"
        connection_check_timeout_sec = 2000
        user = "${mysql_user}"
        password = "${mysql_password}"
        query = "select * from sync_sample"
    }
}

transform {
    # If you would like to get more information about how to configure seatunnel and see full list of transform plugins,
    # please go to https://seatunnel.apache.org/docs/transform-v2/sql
}

sink {
    Doris {
      fenodes = "${doris_url}"
      username = "${doris_user}"
      password = "${doris_password}"
      table.identifier = "${doris_data_base}.ods_sync_sample"
      sink.label-prefix = "cdc"
      sink.enable-2pc = "true"
      sink.enable-delete = "true"
      doris.config {
        format = "json"
        read_json_by_line = "true"
      }
    }
}

Error Exception
java.lang.OutOfMemoryError: GC overhead limit exceeded

Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

refer to #4915

refer to #4915

These two err same question?


Integration with Github Actions

Is your feature request related to a problem? Please describe.
I want to be sure that the build I'm going to distribute passes an SEO audit, but now it has to be manual. I need to deploy the code and, after deploying, run the audit.
Describe the solution you'd like
Add integration to GitHub Action to act as a checker. Code cannot be deployed if the PR generates any critical issues.

I'm closing this issue as more unit tests have been added and there are no plans to add functional tests at this point. However, I'll be happy to review any pull requests that add more tests.


Cannot Save Custom Alerts/Querys

The SRE team is asking each team to move their alerts to the tools instance.  With my experience I've learned that custom alerts can't be saved, I think having that capability would be extremely helpful for many teams since I know many of my own alerts needed customization.
Right now a few people are writing tasks to work around the issue because those can be customized.  However, I think being able to use the full functionality of alerts would be a better use of our product.
When I click the checkmark to save an alert after editing it in the custom check query page this message shows

and the edits to the custom alert fail to save.  I know that my alert works because if I save it without ever entering into the custom check query feature It saves and alerts just fine.  But if I make no changes and try to save it through the custom check query it doesn't work and I see the above error.
Here is an example of an alert that works and has the ID defined but cannot be edited for customizations.
package main
import "influxdata/influxdb/monitor"
import "experimental"
import "influxdata/influxdb/v1"

check = {
  _check_id: "05710fd46ea78000",
  _check_name: "kube-scheduler",
  _type: "custom",
  tags: {owner: "team-sre"},
  every: 10m
}

option task = {
  name: "kube-scheduler",
  every: 10m, // expected to match check.every
  offset: 10s
}

crit = (r) => (r.dead)

messageFn = (r) =>("Deadman: ${ r._check_name } is: ${ r._level }
env:${r.env} | ns: ${r.namespace} | pod:${r.pod} | node:${r.nodename}

This indicates that no data has been returned from a `kube_scheduler` pod in 10 minutes.

This pod should be investigated and documented here: URL

Test: no result in ${ r._value} |  ${string(v: r._value)} | ${ r.value} minutes
")

data = from(bucket: "infra")
  |> range(start: -25m)
  |> filter(fn: (r) => r._measurement == "kube_pod_status_phase")
  |> filter(fn: (r) => r.phase == "Running")
  |> filter(fn: (r) => r.namespace == "kube-system")
  |> filter(fn: (r) => r.pod == "kube-scheduler-ip-180-12-0-57.ec2.internal")
  |> filter(fn: (r) => r._field == "gauge")

data
  |> v1.fieldsAsCols()
  |> monitor.deadman(t: experimental.subDuration(from: now(), d: 10m))
  |> monitor.check(data: check, messageFn: messageFn,crit:crit)

With the above alert it would be helpful to change the line to filter for non-specific pods like
|> filter(fn: (r) => r.pod =~ /kube-scheduler-ip/) But I can't do that without customization.

Hey @desa and perhaps @russorat or @mnorriswalker, would it be helpful to do a quick zoom with Air to see what we're trying to do? It seems like we are trying to set up relatively straightforward customized alerts, but it's not translating well from a user experience level.
This might be a good time to get some usability feedback since this type of alerting is a really common use case.
If anyone mentioned here would be interested in a quick zoom to see what we're trying to do and offer help/alternatives/get some real-world feedback I'm very happy to set it up - please chime in?

@tkyocum yup. I think that would be good. I'll put this on our backlog and get some time for us to talk scheduled.


Load script generation should touch/replace files only if the file really changes

See title
This would decrease locking between ionide and cmd line builds

I can look into it, reading the existing file and comparing the generated script against it to only write if there is a difference.

yes. thank you!


In Repositories the [Previous,1 ,2, N and Next] Pagination link doesn't work (exist)

The Previous, Next  and 1,2,3 pagination isn't working on repositories. I only tried repositories maybe its also not working in other views.
Not sure if this was already addressed, if so please close.

@Vad1mo Do you mean in /namespaces/:id or /repositories?

In /repositories/ it is.

From what I could see there's no pagination there. So I guess "pagination doesn't exist" is more suitable than "not working" in the title, right?

Thanks, @Vad1mo!


Remove test coverage for Python 3.2.

Changes to test infrastructure does not support Python 3.2.

LGTM.


Add long names of reduceSeries and mapSeries that are referenced in docs

Would it be possible to merge this? grafana has already been updated to use mapSeries/reduceSeries, but the UI is broken without this change.


hash_search.cpp

Description of Change

Checklist

[x] Added description of change
[x] Added tests and example, test passes
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] Sort by alphabetical order
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

@Arctic2333 Please add function definitions.

in cpp?

@Arctic2333 Please add function definitions.

Do you mean to add usage and implementation method in cpp file?

@Arctic2333  yes  for instance
/**
 * Sum numbers in a vector.
 *
 * @param values Container whose values are summed.
 * @return sum of `values`, or 0.0 if `values` is empty.
 */
double sum(std::vector<double> & const values) {
    ...
}

Also your main() is looking for user input?

[ ] Please add tests and assert to demonstrate that your  functions and/or search algorithm is doing what is suppose to do.

@Arctic2333 yes for instance
/**
 * Sum numbers in a vector.
 *
 * @param values Container whose values are summed.
 * @return sum of `values`, or 0.0 if `values` is empty.
 */
double sum(std::vector<double> & const values) {
    ...
}

Also your main() is looking for user input?

[x]  Please add tests and assert to demonstrate that your  functions and/or search algorithm is doing what is suppose to do.

[x]  Please add tests and assert to demonstrate that your  functions and/or search algorithm is doing what is suppose to do.

@bhaumikmistry What more is required on this one?


batch norm in tch-rs

I can run the following code in python:
import torch
import torch.nn as nn

x = torch.randn(10, 40)
bn1 = nn.BatchNorm1d(num_features = 40)
y = bn1(x);

However, when I try to run:
#[test]
fn my_test() {
    let opts = (tch::Kind::Float, tch::Device::Cpu);
    let vs = nn::VarStore::new(tch::Device::Cpu);

    let x = Tensor::randn(&[10, 40], opts);
    let bn1 = nn::batch_norm1d(vs.root(), 40, nn::BatchNormConfig::default());
    let y = bn1.forward_t(&x, true);
    //    main(tch::Kind::Float, tch::Devi ce::Cuda(0))
}

I get an error of:
panicked at 'expected an input tensor with 3 dims, got [10, 40]',

My confusion here is that I don't see why BatchNorm can't be run on a 2D dataset, where
num_rows = N = total number of samples in this batch
num_cols = feature input dimension

It feels a bit to me that this should be called BatchNorm0d rather than BatchNorm1d in this case as BatchNorm2d takes as input 4d tensors and BatchNorm3d 5d tensors (pytorch doc).
Anyway BatchNorm1d in python indeed allows for 2d inputs so I've tweaked the rust bindings to do the same.

Thanks!
I agree, it sounds like the old way of naming is more consistent.
Under the old code, is
    let x = Tensor::randn(&[10, 40], opts);
    let bn1 = nn::batch_norm1d(vs.root(), 40, nn::BatchNormConfig::default());
    let y = bn1.forward_t(&x.view(&[10, 40, 1]), true).view(&[10, 40]);

correct? From what I read, in the "3d" case, it's treated as (N, C, L), and the vars are normalized over C for every (N, *, L).

I think your code is correct, the python docs indeed mention NCL.
The old naming felt a bit better but I would prefer keeping things as close as possible to the python api so that it's easier to port over models/tutorials/...

Thanks for the guidance!


middleware: fix exceptions on reconnections

The use of Array#pop modifies the middleware calls on the code by removing the last argument of the call. If the connection never failed this wouldn't be a problem, but when it did the second call to the middleware would be different, missing the last argument.

Hey @francois2metz, any chance of this being merged? If there's any problem with the patch I can change it.

No problems yet. I just need to re-read the code and understand why this is important.

Finally. I merged your branch and it's available on 0.2.3.


Fix transient CSE exit 9

What this PR does / why we need it: This makes the cluster provisioning wait until cloud-init configuration has completed prior to updating the cache. A part of the cloud-init configuration includes adding apt source (templating), and it appears as though there was a race condition causing transient failures. (creds: @trstringer)
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #3204
Special notes for your reviewer:
If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

This makes the cluster provisioning wait until cloud-init configuration has completed prior to updating the cache. A part of the cloud-init configuration includes adding apt source (templating), and it appears as though there was a race condition causing transient failures (for more information, please see #3204).

@jackfrancis added as PR description

/approve
/lgtm


Fullscreen toggle on windows doesn't seem to work

When I press f11 it toggles the fullscreen. The window is resized to the resolution of my desktop/monitor, but when I press it again to toggle fullscreen, nothing happens. :)
I am using the latest build available as of 06 Feb. 2020

Same here, on Win 10 and latest build as of 12 Mar, 2020

If you want to fix this manually, search for the windowstate file and revert back to the default settings.
{"isMaximized":false,"bounds":{"x":-1029,"y":532,"width":550,"height":450}}

Same here just discovered.


Update for release 07.00.08

Prepare a new release V 07.00.08

Release notes
Minimal requirements (DNN 09.04.00)

I still have the same test site I used to troubleshoot the previous "Test DLL"s from spring 2021.  So I should be able to provide feedback when released.

Tnx. Working on it...
When I have something that solves #231, I will forward the test DLL's


Add measurement device

Description of the issue
Discussed in OEO DEV meetings 38 and related to issue #1074.
Ideas of solution
Proposed solution:

Add class measurement device: A measurement device is an artificial object that is used in some measurement process.
Look at definition of measurement process later, but this is well understood in general.

Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

I'll implement.


CSE Machine infinite loop when evaluating circular references

A circular reference inside the playground code leads to an infinite loop, crashing the CSE Machine. The CSE Machine does show the last step of the program, but the slider is disabled, and no other steps can be selected. An example can be seen be running the below code:
const a = [0];
a[0] = a;

The console error appears to be caused by "immer" module, but the error is logged from SafeEffects.ts:

The console error appears to be caused by "immer" module

Can you elaborate? I can't immediately see why Immer would be causing the error.

Now it's giving me a slightly different error:

It seems like Immer is still handling the context objects like environment trees when the CSE Machine gets run, which results in this error as there are definitely circular references inside.

It seems like Immer is still handling the context objects like environment trees when the CSE Machine gets run, which results in this error as there are definitely circular references inside.

I see, the problem is with the design of the app: the js-slang context should have never been part of the frontend state in the first place since the golden rule of redux is to always ensure that state is immutable. The fact that js-slang context is mutable makes us resort to a lot of stuff like disabling auto-freeze and other workarounds.
Hmm, we really need to refactor code evaluation soon….
@sayomaki @JoelChanZhiYang sorry to ping you out of nowhere but do you have any thoughts?

See also: https://immerjs.github.io/immer/pitfalls/

Just to clarify, is the circular reference inside the js-slang context intended behavior?
Or in other words, is the root cause of the bug the fact that js-slang has a circular reference? Or is it because immer does not allow of circular references?

Ah I see. The context seems to be used all over the place. But it seems like it is mostly being consumed rather than modified.  It is modified in UPDATE_SUBLANGUAGE and I assume when the various eval functions are called.
How do you foresee the refactor to look like? Will the entire js-slang context still be stored? If so, where will it be stored?

Actually, the error only occurs when the code that is written in the playground editor has the circular reference, it seems like the rest of the js-slang context is still fine despite also having circular references, maybe that could give a clue?


Update contributing possibilities

At the moment the contributing guidlines mention only how to add a project or join the community, but not e.g. how to contribute to the website itself. I think it would be nice to encourage people to contribute to the website itself as well if they see potential of improvements, correct typos, or other issues.
Suggested changes

Update Contributing.md to include encouragment and instructions on how to make changes for the website
Update the codebase to facilitate changes on the website for new contributers (e.g. add a requirements file, update .gitignore with virtualenvs, etc.)

If this is something you also think is worth doing, let me know. I would make the needed changes with pleasure.

Thank you very much @lappemic for this suggestion. What you say is definitely valid and should be implemented as you have already suggested. We should also do some small documentation about the integration of ecosyste.ms and how the grist document is updated via GitHub Action. For someone newcomer to the project, this could be very confusing to understand without some smaller documentation. A flowchart could help a lot here. I can create this!

Is there already something documented about the ecosyste.ms and grist integration?
Will make a draft pr next week for this 👍

Only the backend repo provides some information, but how they are connected is not yet documented.
https://github.com/ecosyste-ms/ost
https://ost.ecosyste.ms/docs/index.html
A flowchart showing all the relevant scripts, files and APIs is definitely missing.

I created a flow chart for the OST repo showing the main workflow: https://drive.google.com/file/d/1-bZ57M3uMi2_aPSZU1NvK1hHKQbzLU1J/view
Just click "Open with" --> "Draw.io" and you should be able to add edit this file.
The integration of ecosystem.ms and ClimateTriage.com needs more detail.
Is this helpful? @lappemic


Change Travis to use a pre-built binaryen

Change Travis to use a pre-built install of binaryen.

@bytemaster Do we just want to do this in the Travis build or do we want to change our build as well?  Asking because Travis will not be building the exact same thing as we are.  It isn't a big issue if there is never a reason to make any changes to binaryen.  If there are then we will be dealing with updating and installing binaryen, but not being prompted to do it till we make the changes in the submodule and Travis fails.

We are not planning on making any changes to binaryen and thus want to remove it from our source tree entirely and reference pre-installed executable.  But that means our unit test environment will need to find the pre-built one.
I would say that this issue has the secondary task of removing the binaryen submodule from eos.

Also, if we pre-build Boost for Travis, it will save us 2 minutes as well.

So this task is to change the build steps to build and install binaryen, as part of WebAssembly instructions, remove binaryen submodule, and change cmake to use the install.  Along with this a pre-built binaryen needs to be added to the pre-built WebAssembly repo and Travis changed to pull down the pre-built files.


Enum does not exist error

"Enum variant does not exist." error when the Enum does exist and the menu displays them.
There is also a small issue with the capitalization of the first character
.e.g. the Enum menu first option appears as 'aDD'  when it should be 'ADD'
https://github.com/solana-playground/solana-playground/assets/92709487/825e2d05-cfab-47f6-8db3-e1b76475b4b8

Code
Program IDL

Rust convention is to use PascalCase for enum variants so the UI does PascalCase to camelCase conversion to make it work with Anchor but your variants here are UPPERCASE so the case conversion is incorrect. We can fix this from playground side to not assume PascalCase variants but in the meantime, you can also fix this by converting your enum variants to PascalCase.

Nice. Can confirm Pascal case fixes this (see pic)


Added android build (no coverage) to Jenkinsfile

Closes #199

@bdash @radu-tutueanu @cmelchior Can you please review?


Color picker: available or not?

Hello
Is color picker available as feature ?

It's licensed under MIT. Feel free to use it as you like.

Thank you jingwood
Where i can find it? from the dll unvell.ReoGrid.dll? or must compiled as dll or just copy the code from the demo file?

Thank you jingwood
Where i can find it? from the dll unvell.ReoGrid.dll? or must compiled as dll or just copy the code from the demo file?

It is in the Editor project:
ReoGrid\Editor\UIControls\ColorControls\ColorPickerControl.cs
https://github.com/unvell/ReoGrid/blob/d2c1ca8bbeed112c19606eb9e7bed050a0c67024/Editor/UIControls/ColorControls/ColorPickerControl.cs


Stuck on Hot Reload and Hot Restart with message: resume: (-32000) Bad state: The client closed with pending request "resume"

resume: (-32000) Bad state: The client closed with pending request "resume". #0 new _OutstandingRequest (package:vm_service/src/vm_service.dart:1930:45) #1 VmService._call (package:vm_service/src/vm_service.dart:2499:21) #2 VmService.resume (package:vm_service/src/vm_service.dart:2374:7) #3 IsolateManager.resumeThread (package:dds/src/dap/isolate_manager.dart:317:33) #4 DartDebugAdapter.continueRequest (package:dds/src/dap/adapters/dart.dart:821:26) #5 BaseDebugAdapter.handle (package:dds/src/dap/base_debug_adapter.dart:141:20) #6 BaseDebugAdapter.handleIncomingRequest (package:dds/src/dap/base_debug_adapter.dart:384:7) #7 BaseDebugAdapter._handleIncomingMessage (package:dds/src/dap/base_debug_adapter.dart:295:7) #8 ByteStreamServerChannel._readMessage (package:dds/src/dap/protocol_stream.dart:82:18) #9 ByteStreamServerChannel.listen. (package:dds/src/dap/protocol_stream.dart:53:24)
================================================================
Flutter Doctor output:

[✓] Flutter (Channel stable, 3.16.8, on macOS 13.0.1 22A400 darwin-arm64, locale en-IN)
• Flutter version 3.16.8 on channel stable at /Users/faizal/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 67457e669f (3 weeks ago), 2024-01-16 16:22:29 -0800
• Engine revision 6e2ea58a5c
• Dart version 3.2.5
• DevTools version 2.28.5
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/faizal/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.85.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.82.0
[✓] VS Code (version 1.86.0-insider)
• VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
• Flutter extension version 3.82.0
[✓] Connected device (3 available)
• Poco X5 Pro 5G (mobile) • 98c4b9ca • android-arm64  • Android 13 (API 33)
• macOS (desktop)         • macos    • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
• Chrome (web)            • chrome   • web-javascript • Google Chrome 121.0.6167.139
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.

Hello @faisalansari0367
This is similar to https://github.com/flutter/flutter/issues/139181 which has been closed as fixed. Can you upgrade to the latest channels to confirm this no longer persists?


Kadane

Kadane's Algorithm Implementation in C++.
I have added the required Documentation and the code for Kadane's algorithm .
Fixes #287
New Code
Checklist:

[X] I have read the contribution guidelines before making this PR.
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented in my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation (Language folder or any other readme instructed to)
[X] My changes generates no new warnings
[X] I have added tests that prove my fix is effective or that my feature works

Hi @kaustubhgupta . I think the bug from the last pull request has been rectified. Kindly review it . Sorry about the trouble.

Perfect! @Blackwidow2981 I hope you had a great time contributing here and reached your goals in hacktoberfest! Happy open-source journey!
Also, I am glad to share that this PR was 100th hacktoberfest-accepted PR! May I ask if it's okay if I use your identity to celebrate this on social media?

Hey , Yes for sure !that would be great . Wohoo 100th PR that is amazing !Do let me know where you are putting it up . I would love to share it too !

@Blackwidow2981 Here is the LinkedIn post I made today:
https://www.linkedin.com/posts/kaustubh-gupta-612767ab_hacktoberfest-pr-maintainer-activity-6723481377909596160-f39h
Also, I have updated the repo readme with this milestone

Yep Got it! I'll share it too! Thank You for the Opportunity!

Hi @kaustubhgupta .My hacktoberfest account still shows that this PR Is under review .I have absolutely no idea why.Can you tell me why what to do about it?

Hi @Blackwidow2981, Actually Hacktoberfest matures the PR after 14 days. So as this PR was merged 12 days ago, after 2 days it will show ticked and accepted. Let me know if you have other quires 😄


missing dependencies

Describe the bug
missing dependencies error when running
To Reproduce
Steps to reproduce the behavior:

clone
run flutter packages get
run flutter run same error with the release flag
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Your application could not be compiled, because its dependencies could not be
established.
The following Dart file:
  /Users/kadhem/Documents/flutter_projects/CryptoShadow/lib/ui/news/news_page.da
  rt
...refers, in an import, to the following library:
  package:http/http.dart
That library is in a package that is not known. Maybe you forgot to mention it
in your pubspec.yaml file?

177f03b4458c18b699cfdd2c03f99f49a75d8420


Test 2 aids from the same LEI, as well as an aid from a different lei, trying to access status info

We will need to run test.sh three time, 2 times with 1 LEI, another time with a different LEI. Each run should have a different set of SIGNITY_SECRETS.

[ ] Create a script that runs test.sh multiple times, per above configuration.
[ ] Create a new 'multi-user-api-permissions.test.ts' which will expect the above scenario.
[ ] Modify resolve-env.ts to include a default LEI (see the singlesig test) but override it with a env LEI
[ ] Modify singlesig-vlei-issuance.test.ts to recognize the LEI that has been set.
[ ] Run the report.test.ts for each identity.
[ ] Modify vlei-verifier.test.ts to test the following:
[ ] Same LEI can see 2 uploads
[ ] Different LEI can see 1 upload
[ ] Each AID can upload their own report successfully, but can't upload each other's reports.
[ ] Each AID cannot use the digest from a different LEI's report

I'm including @TaniyaBhadauria so that she will know when this test data is available.


Added new community scripts

Thanks for your contribution Matt.
Unfortunately, I can't approve the "Replace text strings that occur in many measures" script, since it is too specific. What if my model doesn't have a [Total Sales] measure? What if the original measure was formatted so there would be spaces or line breaks between CALCULATE and SUM? What about the many other possible table/column names that could also occur?
I recommend changing this to some kind of pattern matching. Preferably, use the m.Tokenize() function which would return a list of tokens for the DAX expression, making it easier to find a pattern containing the following tokens (in order), ignoring any whitespace, line breaks or comments:

DaxToken.CALCULATE
DaxToken.OPEN_PARENS
DaxToken.SUM
DaxToken.OPEN_PARENS
DaxToken.COLUMN_OR_MEASURE
DaxToken.CLOSE_PARENS

You can use the same pattern matching technique to build an index of all existing measures, to check whether a suitable measure could be replaced, or if a new measure has to be created.

I copied this repo and added your file to the following Repo: https://github.com/PowerBI-tips/TabularEditor-Scripts/blob/main/Basic/Create Build direct or indirect dependency tree of selected or all measures.csx
You are welcome to continue to contribute to this repo as I am actively maintaining the Tabular Editor scripts there: https://github.com/PowerBI-tips/TabularEditor-Scripts


Update PPP

Reference: https://nus-cs2103-ay2223s2.github.io/website/schedule/week13/project.html#2-submit-deliverables-mon-apr-10th-2359

All settled


Update index.haml

going to rebase this one and fix it

fix it = make it pass the test

Moved to #584


FAQs with Accordion Feature

Related Issue
This pull request addresses issue #530
Description
Added an accordion feature to the FAQ page to make it easier to use. Now, users can click to expand or collapse questions and answers, which keeps the page tidy and helps them find information quickly. This is especially useful on mobile devices where space is limited.
Type of PR

[x] Feature enhancement

Screenshots / videos (if applicable)
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/128213933/39ff2bd3-50ad-4433-8b30-7413dcd3280f
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/128213933/1dc564bf-f7c7-492f-9c89-b7f86a1bed41
Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

I have submitted a pull request with the changes I have made. Please take a look and review it.
Thank you!


When building iOS app "Data parameter is nil"

Bug report

CHECKLIST

[x] I have read the issue reporting guidelines

[x] I confirm this is a suspected bug or issue that will affect other users

[ ] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.

[x] I have read the documentation thoroughly and it does not help solve my issue.

[x] I have checked that no similar issues (open or closed) already exist.

Current behavior:
When we build our app for iOS it doesn't fail but it has this in the build log, and we are curious about what is causing it but can't really figure out what is happening.
I cannot reproduce it in the test repo, but I am out of ideas for what is causing it in my repo.
Expected behavior:
Build passes without errors / warnings
Environment information

Cordova CLI version

10.0.0

Cordova platform version

ios 6.1.1

Plugins & versions installed in project (including this plugin)

cordova-plugin-appavailability 0.4.2 "AppAvailability"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-firebasex 11.0.0-cli "Google Firebase Plugin"
cordova-plugin-inappbrowser 4.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-safariviewcontroller 1.6.0 "SafariViewController"
cordova-plugin-splashscreen 6.0.0 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 6.0.2 "SocialSharing"
cordova-sqlite-storage 5.0.1 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
cordova.plugins.diagnostic 6.0.2 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-deeplinks 1.0.20 "Ionic Deeplink Plugin"

Dev machine OS and version, e.g.

OSX

10.15.6

iOS build issue:

Node JS version

v10.16.3

XCode version

11.7

Console output
...Loads of other plugin inits
2020-09-16 16:40:06.834627+0200 AppName[381:26110] Starting Firebase plugin
2020-09-16 16:40:06.841424+0200 AppName[381:26110] FirebasePlugin[native] ERROR: EXCEPTION: data parameter is nil
2020-09-16 16:40:06.841929+0200 AppName[381:26110] [CDVTimer][firebaseplugin] 7.614017ms
2020-09-16 16:40:06.842095+0200 AppName[381:26110] [CDVTimer][TotalPluginStartup] 46.452999ms
2020-09-16 16:40:06.892437+0200 AppName[381:26110] FirebasePlugin[native] LOG: GoogleService-Info.plist found, setup: [FIRApp configureWithOptions]
2020-09-16 16:40:07.170306+0200 AppName[381:26110] [Firebase/Crashlytics] Version 4.6.0
...continued Firebase init

I found a similar issue that got the same error, however that user was using Capacitor, so that issue was closed without much more.

https://github.com/dpa99c/cordova-plugin-firebasex/issues/503

Hope to hear from you, and if there is any more info I can add, please let me know.

If you're unable to reproduce the error in the example project app it could be caused by conflict with another plugin in your project. I suggest adding each plugin you are using in your own project one-at-a-time to the example project and building/running each time to see if the error occurs; in this way you should be able to identify if there is a plugin conflict and which plugin is conflicting with this one.

Tried you recommendation and removed all plugins, and it's unfortunately still happening.
cordova plugin ls
cordova-plugin-firebasex 11.0.1-cli "Google Firebase Plugin"

Tried you recommendation and removed all plugins

My suggestion is to add the plugins one-at-a-time to the example project not remove them from your own project:

I suggest adding each plugin you are using in your own project one-at-a-time to the example project and building/running each time to see if the error occurs; in this way you should be able to identify if there is a plugin conflict and which plugin is conflicting with this one.

Sorry I missed the bit with the example project. I thought you meant to add them one-by-one to my project.
Will try this approach as well.
Again thanks for your response

So I tried what you mentioned above with installing all plugins one-by-one into the test project, after each plugin I rebuild through xcode. Still not getting the error.
Then I thought what else could be causing issues, so I tried to make an ionic project from scratch, and then add the firebasex plugin - THIS causes the error. So I guess it might be somewhat related to Ionic.
What I did -

Installed Ionic to my global packages
Started a project with ionic (Angular version) - Declined ANYTHING with Capacitor
Added the iOS platform ionic cordova platform add ios
Ran ionic cordova plugin add cordova-plugin-firebasex@latest-cli
Added Firebase plist file
Ran ionic cordova build ios
Opened workspace file and build the xcode project to a Simulator and a Real device
The log line now shows in the build log. It doesn't fail the build but it still shows.

Can the log line be ignored perhaps?

Anything else I can do to help solve this issue? If yes, then let me know, would love to help as much as I can to make it easier to solve.

Anything else I can do to help solve this issue? If yes, then let me know, would love to help as much as I can to make it easier to solve.

It seems the issue is specific to an Ionic-based Cordova project.
To diagnose the error, you'll need to debug the project in Xcode at run-time to find where the exception is arising and what the cause is.
If you're unable to do this, I will investigate as and when I have time.

I appreciate your fast response, I will try to debug it, will return with more if I find anything.
I understand this is a spare time project so I don't wish to rush you, but any help when you have time is very appreciated.

I've had a chance to look at this and it looks like a genuine plugin bug - not specific to Ionic - that was introduced by PR #482:
in the additional code added by that PR, it reads the pn-actions.json file (which defines notification actions) without first checking if that file exists - therefore if it doesn't, an exception is raised here because the value of the data variable is nil.
I'll commit a fix for this.

When can we expect release of this fix?

Same problem. Thanks for your work


feat: Artwork list screen

This PR resolves FX-4749
This PR implements the Artwork list screen with the following acceptance criteria

[x] Display artwork list name
[x] Display artworks count
[x] Display artworks grid
[x] Implement infinite scrolling behaviour
[x] User can click on the back arrow and come back to the previous screen
[x] DIsplay 404 if list doesn’t exist

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Artwork list screen - sam

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Thanks for the reviews @dimatretyak and @anandaroop . I will update the changes.


I need a help about credits?

I have used ur libraray in my app. Now i want to upload this on playstore so how can i give credits to ur library so that my app get publish easily..
I know it can be silly but i am a newbie
Thanks

+1

Technically you don't have to give credits, but if you want to you can do so however you choose

@afollestad thank you !!!


Convert Django Choices to simple list of values

Is there any way to convert django choices to a simple list of values? It would avoid duplicating the code and creating another enum for non-db related scenarios.

I see I hadn't gotten back yet to this question, but list(Choices.values) should do exactly that :-)


Mocking framework

Hi,
hope find you well with this cold call.
I am an author of mocking framework for Kotlin
I see you are using mockito-kotlin.
I just want you to be aware that there is solution that fully supports Kotlin and ask to try it in your new/current projects.
I can help you if you answer to this issue.
Thanks and please star it

Thank you - I will, at some point, look at replacing my existing mocking work with your framework to see how I get on.

Re-opening this so it will stay live in the issues list until it's been looked at properly and given appropriate consideration.

np. Merry Xmas :christmas_tree:  :christmas_tree:  :christmas_tree:

And a Merry Christmas to you, and thanks for your work on the mocking framework and the suggestion of use. I'm keen to try it out when time permits. I had a quick scan of your docs and it looks very neat.


mdbook serve causes rebuild loop

If I run mdbook serve with mdbook-d2 as a preprocessor and include a d2 diagram in my book, mdbook will constantly rebuild because d2 outputs diagrams in src/d2:
2023-02-08 10:58:04 [INFO] (mdbook::cmd::serve): Files changed: ["book/src/file.md"]
2023-02-08 10:58:04 [INFO] (mdbook::cmd::serve): Building book...
2023-02-08 10:58:04 [INFO] (mdbook::book): Book building has started
2023-02-08 10:58:04 [INFO] (mdbook::book): Running the html backend
2023-02-08 10:58:05 [INFO] (mdbook::cmd::serve): Files changed: ["book/src/d2/2.1.svg"]
2023-02-08 10:58:05 [INFO] (mdbook::cmd::serve): Building book...
2023-02-08 10:58:05 [INFO] (mdbook::book): Book building has started
2023-02-08 10:58:06 [INFO] (mdbook::book): Running the html backend
2023-02-08 10:58:07 [INFO] (mdbook::cmd::serve): Files changed: ["book/src/d2/2.1.svg"]
2023-02-08 10:58:07 [INFO] (mdbook::cmd::serve): Building book...
2023-02-08 10:58:07 [INFO] (mdbook::book): Book building has started
2023-02-08 10:58:07 [INFO] (mdbook::book): Running the html backend
2023-02-08 10:58:08 [INFO] (mdbook::cmd::serve): Files changed: ["book/src/d2/2.1.svg"]
2023-02-08 10:58:08 [INFO] (mdbook::cmd::serve): Building book...
2023-02-08 10:58:08 [INFO] (mdbook::book): Book building has started
2023-02-08 10:58:08 [INFO] (mdbook::book): Running the html backend
...

Adding src/d2 to .gitignore doesn't work, because mdbook serve somehow ignores this. When changing the d2 output dir to ../d2 mdbook cant find the generated diagrams.
Maybe this can be solved by #8.

this is caused by an upstream bug here - https://github.com/rust-lang/mdBook/issues/1186
#8 would be a workaround, rather than a solution, as PDF output would no longer be supported. Still, worth adding support for inline SVGs.
doesn't look like #10 is being worked on anymore, so I'll take a look at picking that up myself

I'm going to close this, since it's the result of an upstream bug, and a workaround was implemented in #17

Thanks a lot :muscle:


Support for AsyncGenerator event handlers, for streaming long running responses

Describe the feature
Provide a new utility that enables developers to write streamed, chunked or partial responses using an async generator:

async function delay<T>(ms, result:T) : Promise<T> {
  return new Promise(resolve => setTimeout(()=>resolve(result), ms));
}

const tasks = [
  () => delay(5_000, 1),
  () => delay(5_000, 2),
  () => delay(5_000, 3),
  () => delay(5_000, 4),
];

export default defineEventHandler(async (event) => {
  return sendYielding(async function*() {
    yield `<h1>Task results</h1><ol>`;
    for (let task of tasks) {
      const result = await task();
      yield `<li>${result}</li>`;
    }
    yield `</ol><p>Job done</p>`;
  });
});

When making this request you would immediately see the
Task results
 appear in the response (also in the browser). Then every 5 seconds a new list item would appear as well. Finally, immediately after the 4th list item you also see "Job done".
Added value
The main offering of this feature is a very intuitive way to let developers send results in pieces.
The code a developer writes using the proposed sendYielding is devoid of stream-API / readable-API logic and complications.
Instead the focus lies on the business logic, with a single function body that you can easily await results in and easily send out status updates in between.
sendYielding provides a streaming response function where the developer gives up low-level control of the streaming, and in receives an ergonomic api in return.
What about sendStream?
The sendStream function could already be used to build out the same example logic shown.
But it would be in a very different form, because it would have to build a stream/readable.
For me, personally, trying to read the streaming apis of nodejs is like walking into a brick wall.
The details of stream modes and states are a high barrier to entry.
Not just in having to understand it, but to implement one as well. This mixes the business-logic with implementation details of streams.
It is good that sendStream exists, but it is too big a step when you just want to stream parts of a response without the need for low-level control.
In all likelihood, the sendYielding would be built on top of sendStream.
Use cases

Send updates as progress is made on a long-running task
Transform a streamed response (I'm not thinking media, more like LLM completion streaming)

Considerations / Open questions

Pick a better name, this one is a bit crude and not entirely representative of what it does.
If the sendYielding wraps sendStream, then expose the AsyncGenerator-to-Readable as a utility as well.
During development attention must be paid that the stream is in some sort of immediate pass-through mode, and does not collect the full response first.
It may need to be a restriction that headers and the like cannot be sent or set from the yielding body.
How should errors be handled before, during and after the generator's lifetime.

Additional information

[X] Would you be willing to help implement this feature?

Seems a nice thing to support!

I'd like to help out with the PR for this. The main problem I forsee in helping to implement this is that I don't have as wide a range of experience with the ways that h3 (and nitro) are commonly used. Like, the pitfalls to avoid or defend against in the code.
Regardless, I'll get started on getting an initial PR worked out.


Appkit+Qt+LibWeb+LibWebView: Dock inspector in browser window

Description
This PR allows for the inspector to be docked in the window beside the web content. There are some issues with the <select/> tag dropdowns that are within the inspector but didn't address them as they were out of scope for this feature.
This PR also sets the ground work to have up, down, left, right and windowed inspector positions in a <select/> within the inspector and also have the browser remember what the last size and position that inspector was in last which I hope to follow up this PR with
Appkit
https://github.com/user-attachments/assets/fc05425e-56c9-44e1-9ad6-ef94084c5298
Qt
https://github.com/user-attachments/assets/3f7d96eb-664c-4834-8ad7-d3149e821303

@AtkinsSJ Thanks for the review! I cleaned up the commits and addressed your comments

This has collected a lot of conflicts.


Create Resour Group - Template issue

[Enter feedback here]

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

ID: cbb47179-04d1-7d43-23e0-6203a2bf9d6e
Version Independent ID: b84265b8-2c7d-6b0a-7f9f-b6332e4368db
Content: Deploy resources to subscription - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/deploy-to-subscription.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

I'm trying to create Resource Group using ARM template and following "Create Resource Group" section on this page. So I created Json file:
{
"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
"contentVersion": "<IP_ADDRESS>",
"parameters": {
"rgName": {
"type": "Practice-RG"
},
"rgLocation": {
"type": "East US"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2019-10-01",
"name": "[parameters('rgName')]",
"location": "[parameters('rgLocation')]",
"properties": {}
}
],
"outputs": {}
}
Then I try to run following PS command
$templateFile = "c:\Create-ResourceGroup.json"
New-AzSubscriptionDeployment -TemplateFile $templateFile
I also tried New-AzDeployment but each time I get asked to enter Location, RGname and Location for RG. I'm using PS core 7 with VSC.

@elvirk  Thanks for your comment. We are actively investigating and will get back to you shortly.

@elvirk You can use below template to deploy the resource group.
{     "$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",     "contentVersion": "<IP_ADDRESS>",     "parameters": {         "rgName": {             "defaultValue": "Practice-RG",             "type" : "string"         },         "rgLocation": {              "defaultValue": "EastUS",             "type" : "string"         }     },     "variables": {     },     "resources": [         {             "type": "Microsoft.Resources/resourceGroups",             "apiVersion": "2019-10-01",             "name": "[parameters('rgName')]",             "location": "[parameters('rgLocation')]",             "properties": {             }         }     ],     "outputs": {     } }
To use generalized template , I would recommend to use parameter file. For more information on creating template, I would suggest you to go through this document.
I have used New-AzDeployment PowerShell command in order to deploy above template.
New-AzDeployment -Location EastUS -Name test -TemplateFile .\azure-deploy.json
For more information about different commands for deployment, you can refer below links.
1)New-AzDeployment
2)New-AzTenantDeployment
3)New-AzResourceGroupDeployment
4)New-AzManagmentGroupDeployment
Hope this helps!!

Thank you that worked.


Dev 04 29

These will definitely require running both pip install -r requirements.txt and python manage.py migrate after pulling.

It seems like you forgot to delete a method in models.py.
There are two methods that look identical, but it only one of them is appears to get called:

validate_vote_end
validate_vote_time

@JKasakyan You probably knew this, but I thought it was worth mentioning that at the moment, none of your templates link to create_suggestion() view. That means you have to point your browser to the full URL to create a suggestion.
This is fine for now because, as of now, we don't have a league_detail() view.

To the first point:
You're right that validate_vote_end is a leftover from a previous migration. Unfortunately, when I try to delete it, I get errors when I run makemigrations and migrate. I believe it tries to recreate all the migrations each time, and I get an error on an earlier migration that expects that method to exist. There has to be some way around it, but I wasn't able to figure it out.
And yup, currently you have to manually enter the URL to get to the create suggestion page. There is also a problem with the form, where it serves regular CharFields as the input fields for the vote start and vote end times (default behavior for the DateTimeField). I looked into using the input fields used in the admin interface which allow you to select from a calendar, but people recommend not using it because it requires a hacky solution. The recommended method is something like https://github.com/asaglimbeni/django-datetime-widget, but I think this should be handled later on. I'll open an issue for it.

Thanks for the migration explanation. Have you considered squashing the problematic migration? I doubt we need to hold onto many migrations.
Good call about the DataTimeField. Opening an issue for it makes sense.

Good call on squash migrations, that did the trick. I also added league detail and league list urls, views, and templates.

It looks like it's all working. Only bug (if it is a bug) that I noticed was that the admin from createsuperuser can't make leagues through the website since the admin does not have an associated SH_User. Should the admin have an associated SH_User? If not, I think this is good as is.

We also need to add a link to create another suggestion after one has been made.


add support for quick falso access in IDE

I would like to have quick access to falso functions from any place in my IDE.
When I type falso typescript should recognize a variable from falso package and autoimport it.
Since I dont remember what are falso functions I want to have a list of them somewhere visible in my IDE when I am using falso.
With autoimport I would like import a variable which would contain all of falso functions.
This PR introduce changes
If you have installed falso and you type in you IDE falso, hint with available variables is shown. If you pick library it will autoimport a library with variable of your choice.
When you have imported falso variable you can type falso. and list of all available methods will be shown.
It is what I need if I want to migrate from faker without reducing developer expirience.

import * as falso from ngneat/falso

import * as falso from ngneat/falso
@NetanelBasal It will not import automatically.
You must manually type import * as falso from ngneat/falso to have this.
Original faker.js repository does not have this feature but official fork has.
I literally cant work with this package because of this missing feature.


Remove type parameter on Storage Trait

Overall it seems to be a good refactoring to organize the layers.
During review, the [Q] Type parameter used for Storage Trait seems unnecessary.
Because each RPC is used only in the concrete implementation and is not exposed.
For the TypeParameter(Q) to be useful, some implementations(eg: FetchXXX) should be provided using buildRequest.
I made a PR that removed it.
Please review.

@daewon. looks good to me and It's nice to remove unnecessary type parameter.


[BugFix] update mv refresh time when replay refresh event

when set mv_rewrite_staleness_second property, follower fe sometime can't rewrite to mv.
only leader fe update refresh time at trigger mv refresh, follower fe should update refresh time when replay log.
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:disappointed: fail : 0 / 7 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
0
7
00.00%
[632, 633, 634, 635, 636, 637, 638]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0


Apple intel + silicon build

Plugin Version or Commit ID
v0.8.3
Unity Version
2021.2.2
Your Host OS
macOS Monterey 12.3
Target Platform
Mac Standalone
Description
I have the dylib plugin builded for both apple silicon cpu and intel cpu but I can't use both in my project because they have the same name and can't use cpu check realtime because plugin name it's a constant.
There is a way to use both in the same project/build?
Code to Reproduce the issue
No response
Additional Context
No response

You can create a universal library by yourself.
lipo -create -output libmediapipe_c.so libmediapipe_c_x86.so libmediapipe_c_arm.so

cf. https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary

You can create a universal library by yourself.
lipo -create -output libmediapipe_c.so libmediapipe_c_x86.so libmediapipe_c_arm.so

cf. https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary

Thanks now we have an universal plugin for both systems!

You can create a universal library by yourself.
lipo -create -output libmediapipe_c.so libmediapipe_c_x86.so libmediapipe_c_arm.so

cf. https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary

There is no longer a file for the Mac plugin called libmediapipe_c.so, so do I need to use a different command? I only have libmediapipe_c.dylib


fix peer dependency version constraint

In #80 the peer dependency constraint was lowered down to allow more versions of typebox.
Because typebox is a pre 1.0 release, 1.28, 1.29, ... versions are not supported by the peer dependency constraint.
This PR allows all versions between 1.26.x and 1.29.x

@mcollina could you release this? 🙂


Reduce the scope of targets to search for the .app target.

Checklist

[x] I've read and followed the Contribution Guidelines
[x] step.yml and README.md is updated with the changes (if needed)

Version

Requires a MAJOR/MINOR/PATCH version update
Context
For large projects the identification of application targets can result in a huge amount of output, as a log line is printed for every target that's not an application target. Using DependentExecutableProductTargets instead greatly reduces the number of targets that need to be checked.

Changes

Investigation details

Decisions

Sorry about the delay, we just running CI tests right now.


Cardano support track

status

branch

https://github.com/nervosnetwork/force-bridge/tree/ada-bridge

previous PR

merged

#267

closed

#235
#236

todo list

[ ] bridge fee configuration support
[ ] front end support. Use nami to sign ada lock tx.
[ ] change validator mechanism investigation.
[ ] support tokens other that ada.

reference

https://github.com/dendorferpatrick/nami-wallet-examples

come aprire un portafoglio nami?

are you working on this?

Is there any update?

Tutto risolto
Grazie
Inviato da iPhone

Il giorno 5 mar 2022, alle ore 18:17, p7510543 @.***> ha scritto:
Is there any update?


feature: add --dry-run parameter to: talhelper gencommand apply

add --dry-un so that:
talhelper gencommand apply
generates command's with --dry-run as parameter in the apply-config commands

Do you mean adding flags to the generated command? You can use --extra-flags for that: talhelper gencommand apply --extra-flags "--dry-run"

Yes, or is this flag allready implemented

Yes this flag is already there and u can use as many flags as you want, just put them in as string :)


Add Performance stipend disbursement post

Hi all,
Here's the Draft Split for the performance stipend of GSoD'21
If we will get 4-5 downvotes with comments out of 13 participants, we will reconsider this split.
Please let us know what you think of this split before the 22nd of Feb 2022.
Approve this PR for a merge if you think the split is fair so that we can proceed towards the distribution of funds.

@Rohitesh-Kumar-Jain any reason why my name has not been included?

@Rohitesh-Kumar-Jain once check out the total performance bonus amount it is going above $ 1000

@Rohitesh-Kumar-Jain any reason why my name has not been included?

Yes, your individual ratings are very low, and the reference section project unfortunately ranked last. Sharddha's individual ratings are good. Don't worry if you think disbursement hasn't been fair leave a downvote :)
I hope you understand that it's something not decided by me.
Why were your individual ratings low on vote platform, that only voters can tell 😅

@Rohitesh-Kumar-Jain  there is a conflict in this PR

Stale Reviews got automatically dismissed after trying to resolve the merge conflict 😅

@huan I guess https://github.com/wechaty/wechaty.js.org/issues/1478#issuecomment-1037058013 is still not resolved as I am getting the same error without commenting it, I am not sure about merging the commented code.
I believe as all the participants approved the disbursement distribution, proudofsimin, chris-4444, vasvi-sood, abhishek-iiit, nibble0101, sajenjeshan1222, encodeArnab, sbis04, shraddhavp, and iamrajiv can submit expense for their perfomance stipend :)

@Rohitesh-Kumar-Jain I saw the CI is green for this PR, and the issue you mentioned should have already been resolved by https://github.com/wechaty/wechaty.js.org/pull/1477/files#r809905364

It's great to see this PR has been merged!
The Wechaty Community with Google Season of Docs 2021 final performance with bonus has been published at https://wechaty.js.org/2022/02/12/gsod21-performance-stipend-disbursement/ !
Thank you to everyone who has participated in the GSoD'21 for all the great efforts you have made! The Wechaty community will prepare a certificate with a little gift for everyone, please stay tuned!

It's great to see this PR has been merged!
The Wechaty Community with Google Season of Docs 2021 final performance with bonus has been published at https://wechaty.js.org/2022/02/12/gsod21-performance-stipend-disbursement/ !
Thank you to everyone who has participated in the GSoD'21 for all the great efforts you have made! The Wechaty community will prepare a certificate with a little gift for everyone, please stay tuned!

thanks Huan

You are welcome!


Add a workshop lab Integration Testing using @aws-cdk/integ-tests-alpha

General Information

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

Description
The @aws-cdk/integ-tests-alpha package is extremely valuable for ci/cd systems.
It would be valuable to have a lab to showcase this feature.
Proposed Solution
Please expand the Testing Constructs section to include a lab for building and executing an Integration Test for a given construct.
CDK CLI Version
No response
Section
Advanced Topics/Testing Constructs
Browser
all
Language
all
Other information
https://docs.aws.amazon.com/cdk/api/v2/docs/integ-tests-alpha-readme.html

@sfwhite Thanks for opening feature request. On https://docs.aws.amazon.com/cdk/api/v2/docs/integ-tests-alpha-readme.html, I see below note;
The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.

Given the API is experimental, it would not be scalable to add this to CDK workshop as of now.
Thanks,
Ashish


Version 5 packages discussion

I've been making some progress splitting up backpack-ui into multiple packages, which will be handled by lerna. Up until this point, this is the folder structure I was considering:
backpack-ui
  packages
    backpack-ui-components
      avatar
      button
      heading
      ...etc
    backpack-ui-global-css
    backpack-ui-icons
    backpack-ui-styles

Everything related to the UI would be contained in a single monorepo, backpack-ui.
However, I've been thinking about making each individual component its own package, which might look like this:
backpack-ui-components
  packages
    avatar
    button
    heading
    ...etc

backpack-ui-global-css

backpack-ui-icons

backpack-ui-styles

The idea here is that only backpack-ui-components is managed by lerna and each component would be installed as needed. global-css, icons and styleswould be separate repos. I'm starting to see more component libraries handled this way. The more I think about it, the more I like the idea.
This would allow us to keep backpack-ui in it's current state at version 4, but it would be deprecated, similar to what Babel did https://yarnpkg.com/en/package/babel. Doing this would also allow us to keep https://lonelyplanet.github.io/backpack-ui around; I'm not sure how we keep this if  we go with the first monorepo approach, but this isn't a huge issue.
The only thing I don't like about the second approach is there are four separate repos to manage, but global-css, icons and styles won't be very big packages and I don't see them being updated as frequent as components.
Thoughts?

@thomasthesecond I like the idea of each component being its own package. Not sure how this is implemented, but it might be worth looking into the way lodash does it. You are able to npm install lodash or npm install lodash.map to pull in either the entire library or just a piece.
So I am understanding correctly that backpack-ui-components would just have markup/logic and all styles would be pulled in via backpack-ui-styles?

lodash's build process is insanity

@nickfranciosi Yeah good idea, I think it would be cool to be able to load all of the components at once if you wanted.
Yeah component would be all the react code, and the styles would be colors, fonts, etc and be imported similar to travel-agent https://github.com/lonelyplanet/travel-agent/blob/master/packages/travel-agent-server/src/webpack/loaders.ts#L9-L18
I found this https://github.com/cloudflare/cf-ui/tree/master/packages and they have components, styles and utils in a single monorepo, they just namespace each package. Maybe that's an option for us?
backpack-ui
  packages
    lp-component-button
    lp-component-heading
    lp-icon-close
    lp-icon-share
    lp-style-colors
    lp-style-fonts

I initially like the idea of each component being its own package, but I think loading everything at once is a big plus too. Is that reasonable, seeing as

lodash's build process is insanity
? Is that in the scope of Lerna, or would it require something else?
Having global-css, icons and styles separate would be great. I agree that they are touched far less frequently than components, and probably should be touched even less that they are as we stick to our style conventions and guidelines. Having a more atomic approach to components will help in that too.

I'm kind of liking Cloudflare's cf-ui with everything in the same repo, but namespaced. They've also included utility functions as individual packages. I don't know if that's something we want to do to backpack, but if we follow Cloudflare's pattern we could use the same repo instead of creating a new repo for global utils.

o0o! global utils is certainly useful, does that fit within backpack's (potential) scope?

@shawncothran I agree about having the ability to load everything, and initially I was thinking that we could output a components.css file for partner sites to use. I'm not sure we could do this as easily with the component-as-separate package approach.
@lburdock It is an interesting approach. For our backpack-ui utils, I figured we would want to create a new package for all of those, but when I actually looked at what our utils were, they are mostly style transformation utils for radium (like mixins) which we won't need going forward with CSS modules. But I can see us having utils that are more useful to the components themselves.
Or maybe the utils aren't scoped to backpack-ui? I could see us having a separate repo with every reusable utility we have across our apps, something like dotcom-utils. And then any React app could import the utils they need.

I also just realized that cf-ui is no longer maintained according to their readme 😄

https://github.com/pluralsight/design-system/tree/master/packages is another nice one. They have a core package which seems to contain their styles.

I really like the idea of dotcom-utils

A big part of this discussion needs to be how to do our styleguide as well. Whether we roll our own with react-docgen, use Bluekit, or X tool.

Let's take a step back and create a list of problems we're actually trying to solve with this refactor @thomasthesecond.

BTW, this is kinda nice... https://github.com/pluralsight/design-system


Update delete-files-folder.md

The original path seems to also remove the dist/mobile folder (at least in my trial), this update leaves that original dir intact.

@sindresorhus is this behavior expected in del? I wouldn't expect del('folder/**') to deleter folder/ just the files inside it

I thought ** optionally matched directories, so would match itself? It makes sense to me, and looks like it would be a thing in the grep library anyway, not in del.


EDITOR variable at /scripts/deploy-tester isn't working on Fedora 24 x86_64

When doing my setup, got issue at line 40 in /scripts/deploy-tester. The issue was an empty var EDITOR. Not sure if this one is correctly set on my profile or bashrc, but would be nice to see /etc/alternatives (i guess)

Fixed by commit baefd3dcd70579c4fc8499815dcb350412817439.


Add codecov to travis

☔ ☂ 🏖

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@aa958db). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master     #2   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      1
  Lines             ?     26
  Branches          ?      0
=======================================
  Hits              ?     26
  Misses            ?      0
  Partials          ?      0

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 aa958db...9a7e795. Read the comment docs.


Code generated models have no space between fields in toString

Currently the code generated toString method for models used in DataStore/API has no space between fields so it looks like this:
Post {id=d80cc4c7-70bd-4a8d-a843-664327c621dbtitle=Intro to DataStorerating=nullcontent=nullowner=null}
Update the generated toString method to put a space between the different fields.

Hi @TrekSoft
Thanks you for reporting this. Can you provide more context on this for ex. what amplify commands you used that generated this error?

It's not an error. It's just that if you follow the default getting started guide for Android Datastore, the models it generates have a toString method which is missing spaces between the fields.
Basically the amplify codegen models command in the CLI for the Android platform will always produce code generated Java classes with this toString method missing spaces.

@TrekSoft this sounds like a duplicate of https://github.com/aws-amplify/amplify-android/issues/555, which was fixed in https://github.com/aws-amplify/amplify-cli/pull/4463.  Are you using the latest version of the CLI?

Thanks - I thought I was but I can double check that.

Just confirmed that it did


ng new - ENOENT: no such file or directory, mkdir

Bug Report or Feature Request (mark with an x)
I am trying to create a new project and i keep getting this error!
Repro steps

ENOENT: no such file or directory, mkdir 'C:\Users\Primetech2\Documents\cimt\angular-front-back'

I got this error too


Move to new issue template format

Issue in: ISSUE_TEMPLATE.md
"You are using an old version of issue templates. Please update to the new issue template workflow."
Minor update copies this template to the new format to improve the Issues interface.

Rebased and merged, thanks for catching this!


CC-1805: Initial SES configuration.

CC-1805: Initial SES configuration.

Too messy, I'll start over in a fresh branch.


Connect via Bluetooth 5.3
phyton update

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: _____
Firebase SDK version: _____
Installation method: CocoaPods | Carthage | Zip file | Swift Package Manager (select one)
Firebase Component: _____ (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Target platform(s): All | iOS | Catalyst | macOS | tvOS | watchOS

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
// TODO(you): code here to reproduce the problem

Connect work done automatic deploy
Apps whit a real connection whit property device synchrony Android
Via 6E Bluetooth 5.3 mmWave
6GHz sub 5G phyton


How to manage sessions for my application ?

Hello All,
In my case I am using reverse proxy yarp as nuget package 1.0.0-preview.12.21328.2, My application scenario is such that once client request is received at port yarp It should share my asp.net core application at port 6001 and all requests should get forwarded to 6001.
If same client opens a new tab and uses same route then my yarp application should start a new instance of my aspnet core application.
Here, my problem is I am not able to identify the sessions or new tab requests ? Also I am not able to identify session when page is refreshed ?
Any suggestions or help is highly appreciated.

Opening a new tab or refreshing the page aren't events that a proxy can observe, only the client knows about these. This would need to be tracked via client side javascript. E.g. on each tab load or refresh generate a unique ID and send that to the server with all requests.

Can we get client IP or MAC ID as unique identifier from yarp application in custom proxy middleware ?
Can we get list of routes from configuration in proxy middleware ?

Can we get client IP or MAC ID as unique identifier from yarp application in custom proxy middleware ?

You can get the client IP via HttpContext.Connection.RemoteIpAddress. That won't be unique across tabs or refreshes though.

Can we get list of routes from configuration in proxy middleware ?

Can you give an example of how you'd use that? Proxy middleware are primarily concerned about the selected route. See GetRouteModel.
https://github.com/microsoft/reverse-proxy/blob/455484ce30800d040d89a734bf70675e0a5370c0/src/ReverseProxy/Model/HttpContextFeaturesExtensions.cs#L18

Also note that the IP Address is not guaranteed to be for a single user either - if there is a NAT firewall then all outgoing connections can come from the same IP.
As cookies are shared across tabs, I would suggest that you look to having a session encoded in the url, something like: https://mysite.com/app/session22/foo/bar - that way relative URLs will include the session. You can also add it as a header, path or query string for ajax calls. It can easily be stripped out by YARP and used as a key into the sessions.

Can you elaborate how can I do using cookies ? can I add a cookie everytime a new request from new tab by a client comes ?
Can we use session affinity here to fulfill the purpose ?

You can't do this using cookies or the proxy session affinity feature, cookies are shared across tabs and refreshes. You'll need to generate a unique path or query parameter for each instance of the app.

Can you say how can I do so with an example ...means how can I generate a unique path or query parameter for each instance of the app ?

How does the user initiate a new instance of the app? Do they just clone the tab, or is there a UI gesture in the app to create a new instance. If its the latter, then it should open the tab to a URL that will create the new session and then redirect the tab to the URL for that session.

User can use same url of proxy application and use it in another tab....new instance is created by assigning a new port number as an command line argument to my application and my application gets started via process.start()

If the users are expected to just duplicate a tab to create a new instance, then you'll need to do some extra logic as part of the app to detect that - such as creating URLs on the fly with a timestamp, or adding an iteration number to the request URL and having the app detect if that iteration has already been seen, and so to treat it as a new tab.
This is going to be pretty critical to the way the app talks to the server, so needs some upfront design, and is somewhat independent of whether you are using a proxy or not.

I was thinking of using Session.Id as on page refresh it remains the same but ASP.NET core doesn't support cookieless session.
It stores the session as cookie and cookies are shared across the tabs which results me back into the same position.
Can we use URL rewriting say if client requested http://localhost:5000 then after forwarding url will become http://localhost:5000/Session1
If on new tab again client requested http://localhost:5000 without session it will start new instance else same instance. Just a thought.

Can we use URL rewriting say if client requested http://localhost:5000 then after forwarding url will become http://localhost:5000/Session1

That could work if you changed it to a redirect. E.g.
http://localhost:5000 -> 302 Location: http://localhost:5000/session/1
http://localhost:5000/session/1 -> Forwarded -> 200 OK
It's important that the client know the full URL so they will continue to use it for future requests.

Can you tell me how my configuration will look like ?
Below is my current configuration
  "ReverseProxy": {
    "Routes": { // Routes tell the proxy which requests to forward
      "Route1": {
        "ClusterId": "Cluster_01",
        "Match": {
          "Path": "/Project01/{**catch-all}"
        },
        "Transforms": [
          { "PathRemovePrefix": "/Project01" }
        ]
        },
        "Route2": {
          "ClusterId": "Cluster_02",
          "Match": {
            "Path": "/Project02/{**catch-all}"
          },
          "Transforms": [
            { "PathRemovePrefix": "/Project02" }
          ]
        }
      },
    "Clusters": { // Clusters tell the proxy where and how to forward requests
      "Cluster_01": {
        "Destinations": {
          "SignalRApplication": {
            "Address": "http://localhost:6001/"
          }
        }
        },
        "Cluster_02": {
          "Destinations": {
            "SignalRApplication": {
              "Address": "http://localhost:6002/"
            }
          }
        }
      }
  }

And I am trying to adapt the url in custom proxy middleware before forwarding to my application as below
if (url.EndsWith("/Project01/"))
        {
          // rewrite to index
          context.Request.Path = "/Project01/Session/1";
        }

@TechAspirant - this thread/problem seems to have grown beyond a proxy configuration issue into the overall app design, which is beyond the scope of what we can answer here.


Sequence contains no elements (System.Core)

rc.zip
when i open my reclass file i get error i've mentioned in title.

Your file contains an enum without values. Do you know how you created that? I found no way to do that with the ui.

my reclass crashed when i added value to enum, so that may have caused the problem. By now i 've fixed this by running reclass under visual studio debugger and after it hit breakpoint on "var enumsElement = document.Root.Element(XmlEnumsElement);" line changed 'enumsElement' to nullptr, that allowed me to load, and then 'Save as' my file, it's working for now.


Vite's base option breaks asset paths

Describe the bug
I wanted to host Histoire in the sub directory of my main Vue application. For this purpose, I changed the base property for Histoire build in the vite.config.ts file like so:
import vue from '@vitejs/plugin-vue';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [vue()],
  base: process.env.HISTOIRE ? '/histoire' : '',
});

When I tried to run pnpm story:dev, Histoire UI successfully loaded. Yet, when I opened a story, it didn't show up on the screen. Found these logs in the console:
GET http://localhost:3000/histoire__sandbox.html?storyId=src-basebutton-story-vue&variantId=_default 404 (Not Found)

Interestingly, pnpm story:build command produces index.html and a __sandbox.html but Vite (or Histoire) tries to prefix it with the histoire string.
This could actually be not a bug but a feature. For example, Vitepress exports base option in their own config. So, it could be solved by either adding base into the histoire's config or relying on the Vite's one.
This bug prohibits me to put Histoire into the sub-directory and run it alongside the main Vue application.
Reproduction
https://stackblitz.com/edit/histoire-vue3-starter-base-bug
In the repro, I added a single line in the vite.config.ts file in comparison to the Histoire's template on Stackblitz. When you open, it will run immediately. Try opening any story – it shows empty screen and puts an error into the console.
System Info
System:
    OS: macOS 14.0
    CPU: (8) arm64 Apple M1 Pro
    Memory: 62.88 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.7.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.1.0 - /usr/local/bin/npm
    pnpm: 8.7.6 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 119.0.6045.123
    Safari: 17.0
  npmPackages:
    @histoire/plugin-vue: ^0.17.5 => 0.17.5
    @vitejs/plugin-vue: ^4.4.1 => 4.4.1
    histoire: ^0.17.5 => 0.17.5
    vite: ^4.5.0 => 4.5.0

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

Are you aiming to change the location of the histoire.config.ts? Instead of changing the base,  you might consider the recently added ability to specify path for histoire config file using -c or --config? See #612

@peterbud No, I mean the support for Vite's base option, which is not working for now. For example, for base: 'docs', Histoire's stories should open not on localhost:3000/ but on localhost:3000/docs

I have looked it, trying to locate the issue. It seems to me this problem occurs only if the Story has a default ('single') layout.
If you add the grid layout, then it seems working.
  :layout="{
      type: 'grid',
      width: 200,
    }"

Do you see the same?

Yes, somehow it works with the grid. Interesting behaviour

OK, I think I have a solution, PR is coming


Support filtering

See https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-api/content-fragments.html#filtering - this should be supported from client as well.
Example Query:
query($filter: AdventureModelFilter) {
  adventureList(filter: $filter) {
    items {
      _path
      title
    }
  }
}

Example Variables for above query:
{
  "filter": {
    "title": {
      "_expressions": {
        "value": "surf",
        "_operator": "CONTAINS",
        "_ignoreCase": true
      }
    }
  }
}

Very simple first version in 6a56e6d
The usage would look as follows:

AEMHeadlessClient client = AEMHeadlessClient
		.builder()
		.endpoint("http://localhost:4502/content/cq:graphql/wknd-shared/endpoint.json")
		.basicAuth("admin", "admin")
		.build();

System.out.println(" *** Run query with filter ***");
GraphQlQuery queryWithFilter = GraphQlQuery.builder()
		.contentFragmentModelName("article")
		.field("_path")
		.field("title")
		.useFilter()
		.field(subSelection("authorFragment").field("firstName").field("lastName"))
		.sortBy("title ASC", "_path DESC")
		.build();

Map<String,Object> filter = new HashMap<>();
Map<String,Object> filterTitle = new HashMap<>();
Map<String,Object> filterTitleExpressions = new HashMap<>();

filter.put("title", filterTitle);
filterTitle.put("_expressions", filterTitleExpressions);
filterTitleExpressions.put("value", "surf");
filterTitleExpressions.put("_operator", "CONTAINS");
filterTitleExpressions.put("_ignoreCase", true);

GraphQlQueryVars vars = GraphQlQueryVars.create().addVar("filter", filter);
GraphQlResponse respDirect = client.runQuery(queryWithFilter, vars);
for (Article article : respDirect.getItems(Article.class)) {
	System.out.println(article);
}

Now creating the maps for the filter in java manually is not very nice code obviously... there are two options:

Extend the GraphQlQueryBuilder to fully pre-define the filter and maybe only allow a scalar as parametrisation of the filter (so that would e.g. mean titleContainsString as query variable and the query builder would preset the filter accordingly and only define the simple query var
Leave the queries as generated by builder generic and provide a helper in GraphQlQueryVars to simplify "piecing together" the full filter map structure

@stefangrimm WDYT?

I would like to add a third option:
Why not provide variations of the field method that allows to specify the filter?
In the simplest incarnation, it could look like:
GraphQlQuery queryCursorPaging = GraphQlQuery.builder()
        .contentFragmentModelName("article")
        // filter on exact path
        .field("_path", "/content/dam/fragments/myFragment")
        .build();

More complex variants would look like:
GraphQlQuery queryCursorPaging = GraphQlQuery.builder()
        .contentFragmentModelName("article")
        // filter on content of field "title" containing "text"
        .field("title", "text", Op.CONTAINS)
        // filter on content of field "article" containing "text", ignore case (options
        // (like ignore case) provided as a map)
        .field("article", "text", Op.CONTAINS, Map.of("_ignoreCase", true))
        // filter on content of field "price" is lower than 100
        .field("price", 100.0, Op.LOWER_THAN)
        .build();

This signature of the additional field() methods would look like:
field(String name, Object filterValue);
field(String name, Object filterValue, Op operator);
field(String name, Object filterValue, Op operator, Map<String, Object> options);

This would not support OR, as we would use AND by default, and we can only use one condition per field (which is not good enough for some use-cases). Therefore, I would only consider this as an alternative to something else, as it allows you to define simple filters really fast.
Another problem with this (and other) approaches is the type of the filter value. As we don't have a schema on the client side we can check the value against, there will be no ways to verify the provided values. In general that's fine, as the server will complain.
We will also have to ensure that filter values match the operator - for example, Op.CONTAINS should not work with numbers. This is true for any approach we choose.

Extend the GraphQlQueryBuilder to fully pre-define the filter and maybe only allow a scalar as parametrisation of the filter (so that would e.g. mean titleContainsString as query variable and the query builder would preset the filter accordingly and only define the simple query var)

IIUC, a GraphQL query following this pattern would look like:
query list($titleEquals: String, $titleContains: String, $titleNotEquals: String) {
    fragmentList(filter: {
        title: {
            _logOp: OR,
            _expressions: [
                {
                    value: $titleEquals
                }, {
                    value: $titleContains,
                    _op: CONTAINS
                }, {
                    value: $titleNotEquals,
                    _op: NOT_EQUALS
                }
            ]
        }
    }) {
        title
    }
}

This will probably not work, as an undefined value will be handled like a null value, and NOT_EQUALS null will evaluate to true for all fragments with a title != null.
Limiting it to EQUALS (query list($titleEquals: String)) would be rather inflexible - in that case I would prefer my previous suggestion.

Leave the queries as generated by builder generic and provide a helper in GraphQlQueryVars to simplify "piecing together" the full filter map structure

A builder pattern like we already have for fields would provide the most flexible approach.
I could envision something like:
GraphQlQuery queryWithFilter = GraphQlQuery.builder()
        .contentFragmentModelName("article")
        .field("_path")
        .field("title")
        .field(subSelection("authorFragment").field("firstName").field("lastName"))
        .filter(filter()
            .logOp("OR")
            .field("_path", "/content/dam/parent/", Op.STARTS_WITH)
            .field("title", "text", Op.CONTAINS, Map.of("_ignoreCase", true))
            .field(subFilter("authorFragment")
                .logOp("AND") // AND can be omitted, as it is the default
                .field("name", "Smith")
                .field("firstName", "Joe")
            )
        )
        .sortBy("title ASC", "_path DESC")
        .build();

(which would also look very similar to the third alternative, suggested in my first comment)

Not sure if we should start with a simple use case, and leave the complex use cases for later. Or the other way round. I can live with both approaches.

Leave the queries as generated by builder generic and provide a helper in GraphQlQueryVars to simplify "piecing together" the full filter map structure

A builder pattern like we already have for fields would provide the most flexible approach.

so here I meant rather a very generic query builder as we have it on the PR now (just the method .useFilter() that adds the plain variable) and extending GraphQlQueryVars... but your suggestions clearly point to extending the query builder and I also like this option better @stefangrimm

Looking the the examples of the previous comments, a combination could be:
GraphQlQuery queryWithFilter = GraphQlQuery.builder()
        .contentFragmentModelName("article")
        .field("_path", filter("/content/dam/parent/", Op.STARTS_WITH))
        .field("title", filter("text to match", Op.CONTAINS, Map.of("_ignoreCase", true))
        ...
        .build();

This would aggregate all "filter specifics" in a second argument without the need to repeat the field name again. Having the filter(...) can also nicely allow for future extension...

@ghenzler Would be fine for me as well.

@stefangrimm I have picked up this issue again and tried to implement it in a way, that incorporates all feedback (via 05b76f430c7779d7). Generally when using the query builder, there is the option to give the filter value directly or to make it available via variable. Below examples use both approaches side by side, path is using a variable, title is using a literal.
The usage would look as follows:
AEMHeadlessClient client = AEMHeadlessClient
		.builder()
		.endpoint("http://localhost:4502/content/cq:graphql/wknd-shared/endpoint.json")
		.basicAuth("admin", "admin")
		.build();

System.out.println(" *** Run query with filter ***");

GraphQlQuery queryWithFilter = GraphQlQuery.builder()
		.contentFragmentModelName("article")
		.field("_path", filter(Operator.EQUALS, Type.ID, "path"))
		.field("title", filter(Operator.CONTAINS, "alaskan", Option.IGNORE_CASE))
		.field(subSelection("authorFragment").field("firstName").field("lastName"))
		.sortBy("title ASC", "_path DESC")
		.build();

GraphQlQueryVars vars = GraphQlQueryVars.create();
vars.put("path", "/content/dam/wknd-shared/en/magazine/alaska-adventure/alaskan-adventures");
GraphQlResponse respDirect = client.runQuery(queryWithFilter, vars);
for (Article article : respDirect.getItems(Article.class)) {
	System.out.println(article);
}

With c800d48f376d1dfb4cd9 it is also possible to give filter clauses separately (downside: the field names have to be repeated):
AEMHeadlessClient client = AEMHeadlessClient
		.builder()
		.endpoint("http://localhost:4502/content/cq:graphql/wknd-shared/endpoint.json")
		.basicAuth("admin", "admin")
		.build();

System.out.println(" *** Run query with filter ***");

GraphQlQuery queryWithFilter = GraphQlQuery.builder()
		.contentFragmentModelName("article")
		.field("_path")
		.field("title")
		.field(subSelection("authorFragment").field("firstName").field("lastName"))
		.filter("_path", Operator.EQUALS, Type.ID, "path")
		.filter("title", Operator.CONTAINS, "alaskan", Option.IGNORE_CASE)
		.sortBy("title ASC", "_path DESC")
		.build();

GraphQlQueryVars vars = GraphQlQueryVars.create();
vars.put("path", "/content/dam/wknd-shared/en/magazine/alaska-adventure/alaskan-adventures");
GraphQlResponse respDirect = client.runQuery(queryWithFilter, vars);
for (Article article : respDirect.getItems(Article.class)) {
	System.out.println(article);
}


chore!: fix backstick error on breaking change workflow

Fix this: https://github.com/FuelLabs/fuels-ts/actions/runs/8394068112/job/22990387566?pr=1892

✨ A PR has been created under the rc-1930 tag on fuels-wallet repo.
https://github.com/FuelLabs/fuels-wallet/pull/1179


Add module for automatic retries

Using annotations on inputs, have an interceptor track whether an input failed, and if so, send it again to be retried. Include a callback which is notified when the same input has failed many times, exceeding some user-defined threshold.

Normal UI MVI processing ideally shouldn't really need automatic retries, as it's better to handle errors in other ways that make for a nicer UI experience. Server-side usecases might have errors, but retries are probably best handled directly by those other modules, so I'm closing this ticket as it is superceded by #55 and #56.


PWA version sometimes cuts off strings

Describe the bug
This is very random, but sometimes some strings don't display completely on the PWA version.
To Reproduce
Steps to reproduce the behavior:

Go to web version of app in Chrome on Android
Open the menu and select "Add to homepage" to install the PWA
Open installed PWA and (maybe) notice the odd strings

To test this in development, we need to build the web version and serve it over HTTP: https://stackoverflow.com/questions/62195515/access-flutter-localhost-from-real-mobile-browser
Screenshots
Web version:

PWA version:

Apparently this doesn't only happen in the PWA, but also in some browsers. Related framework issue: https://github.com/flutter/flutter/issues/63467


[BUG] Provided file is ignored when upserting via API

Describe the bug
When POSTing a file to the /vector/upsert/{id} endpoint, the provided file is ignored, and instead the file uploaded within the Flowise UI is upserted. In my case, I'm upserting PDFs to a Pinecone vector store. All credentials have been double-checked.
To Reproduce
An example upsertion flow is shown below:

Override config has been enabled so API calls should be able to overwrite the PDF file:

Note that the file originally uploaded is of the classic book Frankenstein. When I make a call to upsert a different book, Of Mice and Men, Frankenstein still ends up getting upserted (see response):

If I remove the file from the "PDF Loader" node, uploading any PDF (I even used the same Frankenstein file) to it will result in 0 documents getting upserted:

Expected behavior
The file provided in the form data should be upserted, not the file originally uploaded.
Setup

Installation: Repocloud.io instance
Flowise Version 2.1.5

Additional context
This only started becoming a problem ~3-4 weeks ago (i.e., beginning of November). It was working for months before then.

I face the same issue as well.

thanks for reporting, I knew something was missing! Fix is here: https://github.com/FlowiseAI/Flowise/pull/3569, will be pushed to new release some time this week

any update on this issue ? the version 2.2.1 still has this bug :/

any update on this issue ? the version 2.2.1 still has this bug :/

It appeared to be fixed briefly after upgrading to v2.2.1, but returned to the original behavior soon after.
After trying both the PDF loader and Unstructured loader (same result), the upsert history shows the 'files' parameter is never updated with the API-provided file -- perhaps the override config isn't taking effect here?
@HenryHengZJ hope that ^ context is useful. Appreciate all your work.


error during install on Chromebook

" install.sh: line 85: /usr/local/bin/crosup: cannot execute binary file: Exec format error "

Hi @meepawe ,
Thank you for bringing this to my attention. The error message "cannot execute binary file: Exec format error" suggests that there might be a compatibility issue with the CPU architecture.
Currently, the binary you are trying to run is built for x86_64 architecture, and it may not be compatible with ARM architecture. This could be the reason for the error you're encountering.
Can you do an uname -m to check your CPU architecture ?
I'll also add support for ARM cpus.
I appreciate your understanding, and if you have any further questions or need assistance, please feel free to ask.


Make an option to disable outputting metadata on generated file

Motivation
My team and I are always frustrated when getting conflicts just by running $ flutter pub run slang since metadata on generated file such as generated date change even if original strings.i18n.json file is not changed. At the same time we do not want to gitignore the generated file since running the command every time a branch is changed is a pain.
Developer Experience
If there is an option to disable marking metadata on generated file, it would be better for people like us.

You can set timestamp: false

@Tienisto Oops my bad. Seems like I wasn't looking enough.


Nuget package

Hello!
Do you have a published package for this awesome thing? :)

@ahydrax whats the status of this? Can you put it on Nuget?

@tracstarr what is the status of this? Can you put i on Nuget?

+1

+1 Would be great to get to use this via Nuget 😉

@tracstarr if you don't reply we might fork it and move on without ya ;)

Agreed with @markalanevans. I'm interesting in it as a potential contributor.

For anyone interested I've forked this package and published it on Nuget. I've probably not got that much interest in maintaining it in the future so if someone else also wants to fork feel free, but at least the current version is now available!

Great, thanks for that. If I can find time and the need arises will try to maintain.

+1

This project was abandoned 3 years ago @Jogai @msm1089 @ahydrax @markalanevans @kemmis @dcorbett-fivebridgesllc. Let's work on https://github.com/pjrharley/Hangfire.Core.Dashboard.Management which is on nuget. I made a pull request to change Extensions page on Hangfire.

I'll try and take a look on Monday and update the nuget package

I've been working on it a bit here:
https://github.com/FieldLevel/Hangfire.Core.Dashboard.Management
I've made a few small changes to the menu nav logic, for example, you now define nav details at the method instead of the class.
I've also been adding input support for types.
I fixed a few async issues.

Hi there, I've created a similar project from the scratch https://github.com/ahydrax/Hangfire.MissionControl. Nuget available, any feedback appreciated :)

@markalanevans I saw this version (https://github.com/FieldLevel/Hangfire.Core.Dashboard.Management) is coupled to Hangfire.SqlServer. Can it be used with other databases?

@pjrharley We can put together all improvements made by the other forks in a new version of the nuget package. If you want help, you can put me as maintainer of the project.


(PUP-4601) Add ruby version requirement to .gemspec.

This will prevent gem upgrade on environments with ruby 1.8.7

Triage note: original contributor has indicated that this meets the trivial patch exemption (change to packaging) and does not require a CLA signature.

CLA signed by all contributors.