hello， i found the 5g cell info is null

@eslamfaisal @MHarooney

@eslamfaisal

@Bekeys this user solved this issue on his branch
check this  link

Thanks， but I didn't find the specific branch  @darix15

recheck this link

Yes I see the modification, but I don't think the source of the problem is here
final String version = await _channel.invokeMethod('cell_info');
version is null

@darix15


Issue with Pylance

 Environment data

Language Server version: 2024.7.1
OS and version: linux x64
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: true
python.analysis.typeCheckingMode: off

 Code Snippet

XXX

 Repro Steps

XXX

 Expected behavior
XXX
 Actual behavior
XXX
 Logs

XXX

this is a mistake


dvc: 3.57.0 -> 3.58.0

Diff: https://github.com/iterative/dvc/compare/refs/tags/3.57.0...3.58.0
Changelog: https://github.com/iterative/dvc/releases/tag/3.58.0

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 361027

x86_64-linux

:white_check_mark: 26 packages built:

dvc (python312Packages.dvc)
dvc-with-remotes
dvc-with-remotes.dist
dvc.dist (python312Packages.dvc.dist)
python311Packages.dvc
python311Packages.dvc-gdrive
python311Packages.dvc-gdrive.dist
python311Packages.dvc-hdfs
python311Packages.dvc-hdfs.dist
python311Packages.dvc.dist
python311Packages.dvclive
python311Packages.dvclive.dist
python311Packages.mmcv
python311Packages.mmcv.dist
python311Packages.mmengine
python311Packages.mmengine.dist
python312Packages.dvc-gdrive
python312Packages.dvc-gdrive.dist
python312Packages.dvc-hdfs
python312Packages.dvc-hdfs.dist
python312Packages.dvclive
python312Packages.dvclive.dist
python312Packages.mmcv
python312Packages.mmcv.dist
python312Packages.mmengine
python312Packages.mmengine.dist


Custom row class constructor in drift files

For Table we have an annotation to define a constructor  for custom row classes: https://drift.simonbinder.eu/docs/advanced-features/custom_row_classes/#using-another-constructor
From my research it is not possible to do this right now in combination with the WITH keyword in drift files, for table definitions, queries, etc.
Maybe we can make an annotation for the custom row class available to define the constructor to use there directly why can be consumed by the generator.

Good call, I've added support for named constructors in 6bb2c3d2c5438c1bb61082b50217f41bac2e0fab.


Versatile fluorescence module/heavy_augment?

Hello,
Is the 'versatile fluorescence' pretrained model the same as the dsb2018_heavy_augment model here?

Hi @karanvirsingh99,
sorry for the late reply. I would have to take a closer look if they're really exactly the same, but they should at least be quite similar in the results they produce.


Truncating long output

Long output that changes fast can cause slowness in the client side. I sugest that the package will have some num lines trunction threshold.
it can be easily implemented in the usePython hook:
proxy((msg: string) => {
              // Suppress messages that are not useful for the user
              if (suppressedMessages.includes(msg)) {
                return
              }
              setOutput((prev) => [...prev, msg]) // <-------------- count num lines here and stop setting output if above TH
            }),
            proxy(({ id, version }) => {
              setRunnerId(id)
              console.debug('Loaded pyodide version:', version)
            }),
            allPackages
          )
        }

The var numMaxOutputLines can be set in the usePython (-1 default to no truncation)

Can you please provide an example of when this might be useful? There is already a timeout option to kill the worker if execution takes too long. Since execution is done in a worker, this shouldn't impact the UI thread.

Do a while True loop and print some counter.


Reimplement or remove libraries_gui?

This functionality has been broken for some time (e.g., it tries to modify in place the tag frozenset) and it uses the Talon registry in a way that is not recommended.
On the community backlog session we were not sure if this functionality actually gets any use or would be useful in practice.
Also see #1251.

On the community backlog session we discussed this again briefly and decided to remove this as it does not seem anybody is complaining about its lack of functionality.


Slack tool

Slack Tool implementation
https://github.com/user-attachments/assets/d3829cac-198f-4120-941a-14df0185e1f4
AI Description

This PR adds a new Slack tool to the deployable all-in-one RAG application. The Slack tool allows users to search Slack for relevant document snippets.
The PR includes the following changes:

A new file, docs/custom_tool_guides/slack.md, is added, which provides instructions for setting up the Slack tool.
The poetry.lock file is updated to include the slack-sdk package, which is required for the Slack tool.
The pyproject.toml file is updated to include the slack-sdk package as a dependency.
The src/backend/config/configuration.template.yaml file is updated to include a new slack section, which specifies the user scopes required for the Slack tool.
The src/backend/config/secrets.template.yaml file is updated to include a new slack section, which specifies the client ID and client secret required for the Slack tool.
The src/backend/config/settings.py file is updated to include a new SlackSettings class, which is used to configure the Slack tool.
The src/backend/config/tools.py file is updated to include new SlackAuth and SlackTool classes, which are used to authenticate and interact with the Slack tool.
The src/backend/tools/__init__.py file is updated to include new SlackAuth and SlackTool classes, which are used to authenticate and interact with the Slack tool.
The src/backend/tools/base.py file is updated to include a new tool_auth_crud.delete_tool_auth method, which is used to delete tool authentication information.
The src/backend/tools/slack/__init__.py file is added, which imports the SlackAuth, SlackTool, and SLACK_TOOL_ID constants from the backend.tools.slack module.
The src/backend/tools/slack/auth.py file is added, which defines the SlackAuth class, which is used to authenticate the Slack tool.
The src/backend/tools/slack/client.py file is added, which defines the SlackClient class, which is used to interact with the Slack API.
The src/backend/tools/slack/constants.py file is added, which defines the SEARCH_LIMIT and SLACK_TOOL_ID constants, which are used by the Slack tool.
The src/backend/tools/slack/tool.py file is added, which defines the SlackTool class, which is used to search Slack for relevant document snippets.
The src/backend/tools/slack/utils.py file is added, which defines the SlackService class, which is used to interact with the Slack API.
The src/interfaces/assistants_web/src/app/(main)/settings/Settings.tsx file is updated to include a new SlackConnection component, which is used to display the Slack connection status.
The src/interfaces/assistants_web/src/components/AgentSettingsForm/StatusConnection.tsx file is added, which defines the StatusConnection component, which is used to display the Slack connection status.
The src/interfaces/assistants_web/src/components/AgentSettingsForm/ToolsStep.tsx file is updated to include a new handleAuthButtonClick prop, which is used to handle authentication for the Slack tool.
The src/interfaces/assistants_web/src/components/AgentSettingsForm/index.tsx file is updated to include a new handleAuthButtonClick method, which is used to handle authentication for the Slack tool.
The src/interfaces/assistants_web/src/components/UI/Icon.tsx file is updated to include a new Slack component, which is used to display the Slack icon.
The src/interfaces/assistants_web/src/constants/tools.ts file is updated to include a new TOOL_SLACK_ID constant, which is used to identify the Slack tool.

Codecov Report
Attention: Patch coverage is 43.95604% with 102 lines in your changes missing coverage. Please review.

Project coverage is 79.13%. Comparing base (ea4a660) to head (b993973).
Report is 2 commits behind head on main.

Files with missing lines
Patch %
Lines

src/backend/tools/slack/auth.py
39.43%
43 Missing :warning:

src/backend/tools/slack/utils.py
27.58%
42 Missing :warning:

src/backend/tools/slack/tool.py
60.00%
12 Missing :warning:

src/backend/tools/slack/client.py
57.14%
3 Missing :warning:

src/backend/tools/base.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #821      +/-   ##
==========================================
- Coverage   79.75%   79.13%   -0.62%
==========================================
  Files         244      250       +6
  Lines       10498    10666     +168
==========================================
+ Hits         8373     8441      +68
- Misses       2125     2225     +100

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Great PR. Added a couple comments.
In addition:
Client-side, can we remove Slack as a tool for the base Agent

I also have some general questions for the tool -> service -> client architecture, I'll reach out in Slack

Great PR. Added a couple comments.
In addition: Client-side, can we remove Slack as a tool for the base Agent
I also have some general questions for the tool -> service -> client architecture, I'll reach out in Slack

I've added a constant to manage which tools should be excluded from the base agent.


Material with Mask using opacity Color Channel renders differently in Editor and Scene

While trying to use the Mask in a material noticed that it renders differently in Editor and Scene.

Steps to Reproduce

Open Project in Editor https://playcanvas.com/editor/scene/1533357
Hit Launch

In the Editor, you have the assets as 'Exclude' which means they are excluded from the project at runtime

@yaustar ah... thank you very much ! And sorry for not beeing attentive.


Support accelerated MSM for halo2curves/grumpkin

The pasta cycle imports a GPU-accelerated MSM through the pasta-msm crate.
This crate is backed by the Sppark library, which is generic in the curve parameters it operates with.
With another shim (similar to pasta-msm, but adapted to the parameters of the grumpkin cycle), we could have GPU acceleration of the MSM on the Grumpkin / BN254 cycle.

/cc @CPerezz @leonardoalt

Hi @huitseeker, is it feasible to make pasta-msm support a collection of curves (including BN254/Grumpkin)? It would be better than having two crates one for pasta curves and another for bn254/grumpkin.

We can explore trying integrating the GPU acceleration in halo2-curves if we can somehow make it use the generalizations of the pasta-msm crate. But not sure we have the bandwidth. So would be nice to know if it's even feasible (architecturally-wise) to end up with something that makes sense and is manteinable.
Happy to upstream any speedups under an experimental feature for sure!

@huitseeker should this issue be filed in halo2curves repo rather than here? It seems there is not much to be done in the Nova repository to address this issue.

Fantastic! Looking forward to it!

Since this is an action item for the underlying crypto library rather than Nova library, closing it here.


Question: how to use ownerGroup?

Hi all!
We @rosalindfranklininstitute are still investigating how to use SciCat, and I have now an instance up and running using an OpenLDAP container to provide authentication and authorisation. I am also using the memberOf attribute to determine the accessGroups, which appears to work fine.
However, at this point I am confused about what to with ownerGroup: how does it determine access? I can put in any value when uploading a new dataset and it doesn't seem to affect anything. Can users be added to such an ownerGroup? And if so, how does that work?
Thanks in advance!
Tom

Hi Tom,
the ownerGroup field contains the name of a group, for example group named "p12345" . Then all members of the group "p12345" (as defined in your LDAP) have access to all so called "ownable" documents, like datasets, proposal etc, for which their  ownerGroup field value is "p12345".

Thanks for the quick reply @stephan271
Follow-up question: what is the difference in capabilities between users that belong to the ownerGroup of the dataset versus those that who get access through accessGroup membership? I assume the latter can do less?

Yes, accessGroups give read access to data, members of ownerGroup can also modify data. A good use case for accessGroups are the "functional" accounts, e.g. allowing instrument responsibles to access all data measured at a given instrument without the need to add the personal account of an instrument responsible to potentially thousands of ownerGroups values. This is useful both for automated ingests of data from an instrument as well as for statistical analysis of all data taken at a given instrument

Thanks a lot. This was very useful!

Hey Stephan,
I got the ownerGroup/accessGroups stuff working now. The only thing that surprises me is that users that can see a dataset through accessGroups membership seem to have the same UI as those who are part of the ownerGroup. In fact accessGroups members appear to be able to add metadata, which is strange to me given that they are supposed to have read-only access.
Any thoughts?
Thanks,
Tom

I need to have a closer look at this and will come back to you

You correctly pointed to a problem here - thanks for that. It turned out that the modify access rights prevention was not implemented yet. A merge request is pending which should fix this issue.

Thanks Stephan!


Vox2Celeb datataset explanation

Can someone please explain how to use frames from voxceleb2 dataset as I could not find any link to youtube videos. All i can see is a text document with certain configuration details. Can someone explain them too please?

The VoxCeleb2 dataset can be found here: http://www.robots.ox.ac.uk/~vgg/data/voxceleb/vox2.html


Is there any way to open all the boxes in an application.

Question
Is there any way to open all the boxes in an application?
Currently , some of my flutter tests are failing due to the hive box not opened error  and the code is a bit complex to find out which box is not opened.
Code sample
Currently, We have a
Hive.close();

method to close all the box.
I would like to ask if there is ant hive.openAll() method or something that will open all the boxes without knowing their names
Version

Platform: iOS, Android, Mac, Windows, Linux, Web
Flutter version: [e.g. 1.5.4]
Hive version: [e.g. 0.5.0]

Flutter Doctor output

D:\talawa>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.19044.2006], locale en-IN)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.2)
[√] VS Code
[√] Connected device (3 available)
[√] HTTP Host Availability

Hi !
A Hive DB is actually just a file ( see https://github.com/hivedb/hive/issues/1072 ).
As such, you can try to retrieve all of the files from that location, loop over them and attempt to open them as a Hive Box, using the file name as their Hive DB name.
If opening the file is not failing, the file was a legit Hive DB file.
If it's failing, it was something else - another file format which was stored on the same location as the hive DB files.
Hope it helps !


Auto zoom

Is there way to set auto zoom at any time and see all my markers in the screen without change the zoom manually ?

@agnoam you could create a LatLngBounds for your markers and use fitBounds to show all your markers at once.

Could you show me an example please ?

This would make all the markers stay in screen, yes, but it does not zoom enough to fit the markers perfectly. Is there a way to zoom(move) with animation?

#236 is closed. I think this can be closed too.


How to fix "ERROR: ENOENT: no such file or directory, unlink {directory pointing to fui.js}"?

hello... this happens when I changed the path of my background wallpaper and reloading it. it looks like it is looking for a file named fui.js
here's my VS Code version (I'm using the portable version)

Dear @alj-x64,
Thank you for reporting the issue regarding ERROR: ENOENT: no such file or directory, unlink {directory pointing to fui.js}.
To assist you more effectively, could you kindly provide the following details?

Have you tried running the extension with the default settings? Specifically, after installing the extension, simply executing the > Fluent: Enable command without making any changes to the settings.

Could you please share a screenshot of your current workbench folder to verify if the fui.js file is present?

Since you mentioned modifying the Wallpaper Path, did you also enable the Enable Wallpaper option?

Your input will greatly help me in diagnosing the issue and providing a suitable solution. Thank you for your cooperation, and I look forward to your response.
Best regards,
Night Star


Any plan to support model conversion to Fairseq's original structure?

In the paper it says

After training, Admin can be reparameterized as the conventional Post-LN structure (i.e., removing ωi).

Do you have any plan to publish a code on porting the Admin checkpoint back to the original fairseq structure? This is helpful in the scenario when one wants to run the Fairseq model under a Transformer accelerating framework.

A simple snippet to convert the model state. When using this admin_torch.as_module, as_parameter=True, and layernorm_embedding = True.
import torch

model_path = "your model location"
model_state = torch.load(model_path, "cpu")
args = model_state["args"]
model_dict = model_state["model"]

#Reparameterization mapping dict, listed as "module name" : ["names to down scale ", "names to upscale", "the admin parameter's name"]
#For the latest fairseq version, you may need to change the corresponding key/value pair name.
admin_reparameterization_table_encoder = {
        "fc1":["weight","self_attn_layer_norm.weight&&self_attn_layer_norm.bias","ffn_residual.omega"],
        "self_attn":["q_proj.weight&&v_proj.weight&&k_proj.weight","-final_layer_norm.weight&&final_layer_norm.bias","self_attn_residual.omega"]}
admin_reparameterization_table_decoder = {
        "fc1":["weight","encoder_attn_layer_norm.bias&&encoder_attn_layer_norm.weight","ffn_residual.omega"],
        "self_attn":["q_proj.weight&&v_proj.weight&&k_proj.weight","-final_layer_norm.weight&&final_layer_norm.bias","self_attn_residual.omega"],
        "encoder_attn":["q_proj.weight","self_attn_layer_norm.weight&&self_attn_layer_norm.bias","encoder_attn_residual.omega"]}

state_dict = model_state["model"]

def reparametrize(model_part, layer_id, mapping_dict, state_dict, embedding_layernorm=True):
    for module_name, rule in mapping_dict.items():
        down_scale = rule[0].split("&&")
        up_scale = rule[1].split("&&")

        omega_name = f"{model_part}.layers.{str(layer_id)}.{rule[2]}"
        print(omega_name)
        omega = state_dict[omega_name]

        for d in down_scale:
            name = f"{model_part}.layers.{str(layer_id)}.{module_name}.{d}"
            state_dict[name] = state_dict[name] / omega
            print(f"down_scaling name = {name}")

        new_layer_id = layer_id
        if up_scale[0].startswith("-"):
            if layer_id == 0:
                up_scale = ["layernorm_embedding.bias", "layernorm_embedding.weight"]
                new_layer_id = -1
            else:
                new_layer_id = layer_id - 1

        for u in up_scale:
            u = u.lstrip("-")
            if new_layer_id == -1:
                name = f"{model_part}.{u}"
            else:
                name = f"{model_part}.layers.{str(new_layer_id)}.{u}"
            print(f"up_scaling name = {name}")
            state_dict[name] = state_dict[name] * omega

for layer in range(args.encoder_layers):
    reparametrize("encoder", layer, admin_reparameterization_table_encoder, state_dict)

for layer in range(args.decoder_layers):
    reparametrize("decoder", layer, admin_reparameterization_table_decoder, state_dict)

torch.save(model_state, model_path+".reparameterized")
print("Model saved")

Thanks for writing the snippet : -)
One thing to notice is that, during the reparameterization, it is necessary to also rescale the embedding layer to properly handle the scaling effect of the first admin module (of the first layer).

Thanks for the reminder, my script works when layernorm_embedding = True. May improve it with the embedding weight later (when layernorm_embedding = False).


Deploy script does not work on Windows

Any proper way to deploy stuff on Windows? Currently using POSTman to deploy on the happening.im URL, but it's a bit messy.

Do you have Git for Windows installed? Its shell should be able to run the deploy script.

Using the script results in "This script requires the zip command in your path". Removing the check and the zip command from the script makes it work, but it doesn't work by default.

i have the same problem. Going to remove the check and try

You can use Cygwin. During installation select a.o. git and zip

I think you can download a suitable zip.exe from http://gnuwin32.sourceforge.net/packages/zip.htm. We should add this to the README.

You can also use the terminal and/or coding environment of this application (virtual cloud machine)
Everything should work straight away, no installs or setups needed.
https://koding.com/


Transparency in Zed

Question or Suggestion
Hi there, love the theme. Have been trying to get it to work with Zed. The colors look right, but its not actually transparent? Any ideas on this?
Thanks!

Hello @jmurphy4!
Glad to hear you like the theme 🙂 I’m not super familiar with Zed and the extra was added by another contributor.
It looks like this is possible via overrides similar to the ones described in this comment:
https://github.com/zed-industries/zed/issues/5040#issuecomment-2053656538
I would happily merge a PR that implements this in a way the complements the cyberdream palette.

Ahhhh gotcha. That makes sense. Let me take a stab at it

Great stuff! Make sure you check out the contributing guide for tips on editing extras 🙂
If you have any questions, let me know!

"experimental.theme_overrides": {
		"background.appearance": "blurred",
		"background": "#4c464290",
		"editor.background": "#00000030",
		"editor.gutter.background": "#00000030",
		"tab_bar.background": "#00000030",
		"terminal.background": "#00000030",
		"terminal.ansi.dim_black": "#FFFFFF",
		"editor.active_line_number": "#FFFFFF",
		"toolbar.background": "#00000030",
		"tab.active_background": "#28282820",
		"tab.inactive_background": "#00000000",
		"status_bar.background": "##00000030",
		"title_bar.background": "#00000030",
		"panel.background": "#00000030",
		"border.variant": "#00000000",
		"scrollbar.track.border": "#00000000",
		"editor.active_line.background": "#1e2124"
	},

I got it most of the way there, the only thing im missing is the terminal autocomplete, and I have no idea how to fix it lol

looking pretty slick! @byt3m4st3r, any ideas on how to get transparency working on the terminal?

Hi @scottmckendry. The current implementation is experimental and as of now seems not stable. If you play around, you get a transparent terminal background by setting the terminal colour to a wrong colour value f.e. terminal.background": "#00000000", or terminal.background": "#0000", :-)

"experimental.theme_overrides": {
		"background.appearance": "blurred",
		"background": "#4c464290",
		"editor.background": "#00000030",
		"editor.gutter.background": "#00000030",
		"tab_bar.background": "#00000030",
		"terminal.background": "#00000030",
		"terminal.ansi.dim_black": "#FFFFFF",
		"editor.active_line_number": "#FFFFFF",
		"toolbar.background": "#00000030",
		"tab.active_background": "#28282820",
		"tab.inactive_background": "#00000000",
		"status_bar.background": "##00000030",
		"title_bar.background": "#00000030",
		"panel.background": "#00000030",
		"border.variant": "#00000000",
		"scrollbar.track.border": "#00000000",
		"editor.active_line.background": "#1e2124"
	},

As I see, you use ZSH. If you use zsh-autosuggestions you can set your completion colour to cyberdream grey with an env var like this: ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE=fg=#7b8496.

Appreciate you stepping in with the assist here @byt3m4st3r  🙂 Looks super clean!
As you've mentioned this is an experimental feature so I think we'll leave the change out of the main branch for now (sorry if you had plans for a PR @jmurphy4!)
We can revisit in the future when Zed theming is a bit more mature.

Thanks for the replies guys!
Roger on the PR. No worries 🫡


TST: Test pre-commit.ci

I added pre-commit.ci GitHub Marketplace app to this repo, in theory this should show up as a CI run

should this replace our "style" CI runs then?


typescript language service died unexpectedly

Type: Bug
Getting this error while working in VS Code:
the typescript language service died unexpectedly 5 times in the last 5 minutes
I'm not sure what I'm doing to trigger it. I'm using the JS Debug Terminal to run code. Not sure if this also happens when using the bash terminal.
 Error still happening.

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Rust-bert does not work with Debian 12 errors

I have installed libtorch-dev on Debian 12 and the rust-bert package throw extensive number of errors on cargo run.
I have exported the following already,
LIBTORCH=/usr/lib/x86_64-linux-gnu
LIBTORCH_LIB=/usr/lib/x86_64-linux-gnu
LIBTORCH_INCLUDE=/usr/include/torch/csrc/api

Is there any howto for getting rust-bert working on Debian?
  Compiling uuid v1.10.0
   Compiling zstd v0.11.2+zstd.1.5.2
   Compiling zip v0.6.6
   Compiling torch-sys v0.14.0
   Compiling cached-path v0.6.1
The following warnings were emitted during compilation:

warning<EMAIL_ADDRESS>In file included from libtch/torch_api_generated.h:2,
warning<EMAIL_ADDRESS>                 from libtch/torch_api_generated.cpp:2:
warning<EMAIL_ADDRESS>libtch/torch_api_generated.cpp: In function ‘void atg__cslt
_compress(at::Tensor**, tensor)’:
warning<EMAIL_ADDRESS>libtch/torch_api_generated.cpp:633:29: error: ‘_cslt_compre
ss’ is not a member of ‘torch’
warning<EMAIL_ADDRESS>  633 |     auto outputs__ = torch::_cslt_compress(*input);
warning<EMAIL_ADDRESS>      |                             ^~~~~~~~~~~~~~
warning<EMAIL_ADDRESS>libtch/torch_api.h:19:5: note: in definition of macro ‘PROT
ECT’
warning<EMAIL_ADDRESS>   19 |     x \
warning<EMAIL_ADDRESS>      |     ^
warning<EMAIL_ADDRESS>libtch/torch_api_generated.cpp: In function ‘void atg__cslt
_sparse_mm(at::Tensor**, tensor, tensor, tensor, int)’:
warning<EMAIL_ADDRESS>libtch/torch_api_generated.cpp:640:29: error: ‘_cslt_sparse
_mm’ is not a member of ‘torch’
warning<EMAIL_ADDRESS>  640 |     auto outputs__ = torch::_cslt_sparse_mm(*compre
ssed_A, *dense_B, (bias ? *bias : torch::Tensor()), (bool)transpose_result);
warning<EMAIL_ADDRESS>      |                             ^~~~~~~~~~~~~~~
warning<EMAIL_ADDRESS>libtch/torch_api.h:19:5: note: in definition of macro ‘PROT
ECT’
warning<EMAIL_ADDRESS>   19 |     x \
warning<EMAIL_ADDRESS>      |     ^
warning<EMAIL_ADDRESS>libtch/torch_api_generated.cpp: In function ‘void atg__ctc_
loss_tensor_out(at::Tensor**, tensor, tensor, tensor, tensor, tensor, tensor, int64_t,
 int)’:
 ...
 <CUT>

Use binary files and you will pass this wget https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.1.0%2Bcpu.zip


flexget: 3.8.7 -> 3.9.1

Diff: https://github.com/Flexget/Flexget/compare/refs/tags/v3.8.7...v3.9.1
Changelog: https://github.com/Flexget/Flexget/releases/tag/v3.9.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 250136 run on x86_64-linux 1

2 packages built:

flexget
flexget.dist

Result of nixpkgs-review pr 250136 run on x86_64-linux 1

2 packages built:

flexget
flexget.dist


[Feat]: Stream using SRT protocol

Version
2.0.0
Environment that reproduces the issue

Use case description
Hi,
Can you add the ability for users to stream through SRT protocol, as it faster and has low latency than RTMP.
Both of the library StreamPack and HaishinKit supports SRT though.
Thank you for your work.
Proposed solution
No response
Alternative solutions
No response

Hi,
As api.video supports SRT, this is something we are working on. But it is a long work as we want it to be easy for the developers.

On hold: SRTHaishinkKit is not on cocoapods and it's a requirement.
See https://github.com/shogo4405/HaishinKit.swift/discussions/1483


DexGuard - generateBugsnagBrazil-releaseMapping disabled optimzations

Describe the bug
We're adding the DexGuard to our project and we saw a warning when building release:
> Task :app:generateBugsnagBrazil-releaseMapping
Execution optimizations have been disabled for task ':app:generateBugsnagBrazil-releaseMapping' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/Users/guilherme.pereira/Documents/Projects/xxx/app/build/outputs/dexguard/mapping/apk/brazil/release/mapping.txt'. Reason: Task ':app:generateBugsnagBrazil-releaseMapping' uses this output of task ':app:dexguardApkBrazilRelease' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

Steps to reproduce

We added apply plugin: 'dexguard' right before apply plugin: 'com.bugsnag.android.gradle' on app/build.gradle
Added some DexGuard configuration on app/build.gradle:

dexguard {
  version = '9.1.9'
  license = '../config/dexguard-license.txt'
  configurations {
    release {
      defaultConfiguration 'dexguard-release.pro'
      configuration '../config/dexguard-config.txt'
    }
  }
}

Ran ./gradlew app:assembleBrazilRelease
Saw that optimizations for :app:generateBugsnagBrazil-releaseMapping was disabled

Environment

Android Studio version: Android Studio Arctic Fox | 2020.3.1
Gradle version: 7.1
Android Gradle Plugin (AGP) version: 4.2.1
Bugsnag Android Gradle Plugin version: 5.7.6
Bugsnag manifest section (if modified): (I'm not sure what is this)
DexGuard version: 9.1.9

Hi @guilherme-pereira-ifood.
Thanks for raising this, we are going to investigate and get back to you shortly.

Hey @guilherme-pereira-ifood, upon closer inspection, this looks like a bug in the DexGuard plugin rather than within the bugsnag-android-gradle-plugin.
The error message states that the problem is with the dexguardJar task using a task output of Bugsnag, which originates from the DexGuard plugin:
> Task :generateBugsnagBar-releaseMapping
Execution optimizations have been disabled for task ':generateBugsnagBar-releaseMapping' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/Users/name/DexGuard-9.1.15/samples/basic/KotlinHelloWorld/build/intermediates/bugsnag/jvmMappings/mappingForBar-release.gz'. Reason: Task ':dexguardJar' uses this output of task ':generateBugsnagBar-releaseMapping' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to  for more details about this problem
  - Gradle detected a problem with the following location: '/Users/name/DexGuard-9.1.15/samples/basic/KotlinHelloWorld/build/outputs/dexguard/mapping/apk/bar/release/mapping.txt'. Reason: Task ':generateBugsnagBar-releaseMapping' uses this output of task ':dexguardApkBarRelease' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to  for more details about this problem.

After decompiling that task, it uses the DexGuard home directory as a task input. In the DexGuard sample (and most apps) the DexGuard home directory is 3 directories above, which means the build directory (and all other files in the project) would be used as the input for the task.
Disabling Bugsnag entirely led to 58 similar warnings around the DexGuard plugin, which suggests it’s not an issue with this plugin.


"Changing tracks while abr manager is enabled" warning clarification.

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.8.5
What browser and OS are you using?
Chrome 125.0.6422.61.  Windows 11.
Please ask your question
I'm getting the following warning when calling player.selectAudioLanguage. E.g.: player.selectAudioLanguage("en", "public.accessibility.describes-video");.  Other than the warning, the audio track changes, as expected.
Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().

If this is the incorrect method to use for changing audio tracks, please let me know.  However, this warning seems to also occur on the Shaka Player Demo site when changing audio tracks, so I'm not sure if this is a harmless warning or something that I should investigate further.

This shouldn't happen, I'm going to work on fixing it.


[google_sign_in] How to verify the identity of the user on server?

I am using REST api for authentication in my Flutter project. The google_sign_in package authenticates the user in my app, but how do I communicate this to my server? Does it return something like a token?

final account = await googleSignIn.signIn();
final auth = await account?.authentication;
final token = auth.idToken;

if (token == null) {
  // error
}

// send token to your backend

To check the token on your backend:
https://developers.google.com/identity/sign-in/web/backend-auth

minimal example
final account = await googleSignIn.signIn();
final auth = await account?.authentication;
final token = auth.idToken;

if (token == null) {
  // error
}

// send token to your backend

To check the token on your backend:
https://developers.google.com/identity/sign-in/web/backend-auth

Thanks alot!

Thanks @NimishDavid ! Now I think it's safe to close the issue.


Response headers from backend are dropped when custom error page feature is enabled

Do you want to request a feature or report a bug?
Bug
What did you do?
Configure a frontend which has a custom error page handler. eg:
[frontends]
  [frontends.test1]
  backend = "test1"
  [frontends.test1.errors]
    [frontends.test1.errors.upstream]
    status = ["502-504"]
    backend = "errorhandler"
    query = "/{status}.html"
  [frontends.test1.routes.default]
  rule = "Host:www.myapp.com"

Make a HTTP request to the new frontend (a valid one which won't trigger the error handler).
What did you expect to see?
The request is proxied through to the backend, and the backend's response is forwarded to the client as normal.
What did you see instead?
The backend's response is forwarded to the client, but all HTTP response headers are missing other than Content-Type and Content-Length. For example, Set-Cookie is missing, even though the backend is sending it.
Note that this problem affects normal, non-error responses. But the problem goes away if the error page feature is disabled.
Output of traefik version: (What version of Traefik are you using?)
Version:      v1.5.2
Codename:     cancoillotte
Go version:   go1.9.4
Built:        2018-02-12_10:56:31AM
OS/Arch:      linux/amd64

Possible cause
Without being an expert on the codebase, i'm suspicious of this code in middlewares/error_pages.go:
func (ep *ErrorPagesHandler) ServeHTTP(w http.ResponseWriter, req *http.Request, next http.HandlerFunc) {
	recorder := newRetryResponseRecorder(w)

	next.ServeHTTP(recorder, req)

	w.WriteHeader(recorder.GetCode())
	//check the recorder code against the configured http status code ranges
	___SNIP___

	//did not catch a configured status code so proceed with the request
	utils.CopyHeaders(w.Header(), recorder.Header())
	w.Write(recorder.GetBody().Bytes())
}

I notice that w.WriteHeader is being called prior to utils.CopyHeaders.

Closed by #3217.


Class not found - catalog.TableProvider

Hey guys, my company uses spark 2.4, and when I am trying to write to weviate the following error eccurs:
Class not found : org.apache.spark.sql.connector.catalog.TableProvider
Is it because of my spark version? Or I'm doing something wrong

I think this is because you're using 2.4, you need Spark 3 or later. I think 2.4 has been EOLed already by the Spark community as well. I would recommend upgrading Spark to 3.2 or Spark 3.3.


octoprint: py12 compatibility

Description of changes
Fix octoprint to build with python3.12. Upstream still relies on flask <2.3 which causes all those overrides and disabled tests.
When not using those, login will fail.
Tested in a VM (x86_64-linux) and confirmed basic functionality.
Please note: depends on #325445 to build. So that will have to merged, first.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.
[x] Tested in a VM

Add a :+1: reaction to pull requests you find important.

@ofborg build octoprint


chore(deps): daily update 'template.json'

Bumps dependencies in template.json with most up to date versions as of today.

Test Report

<EMAIL_ADDRESS>test /test-1627776217/test
react-scripts test

PASS src/components/Page.spec.tsx
PASS src/components/Dialog.spec.tsx
PASS src/components/Field.spec.tsx
PASS src/components/EntryEditor.spec.tsx
PASS src/components/ConfigScreen.spec.tsx
PASS src/components/Sidebar.spec.tsx
Test Suites: 6 passed, 6 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        2.637 s
Ran all test suites.

Closed in favor of #599


'QnAMaker Dialog' action's active learning property customization

Hi,
We have used 'QnAMaker Dialog' action to connect the QnaKnowledge base.

It has one property related to active learning which provides suggestions to the user at sometimes. Please find below screenshot for the reference.

We have added many source files(10+) while creating the QnaKnowledge base. One of them is customized personality chitchat source file.
Our concern is that bot is displaying some questions which are from personality chit chat source file as suggestions to the user.
We want to keep that personality chit chat source file in the knowledge base but bot should not display questions from these Personality chit chat source file as a part of suggestions in the active learning card in the chat window for 'QnaMaker Dialog' action prompt.
Can we do the customization as mentioned in the above scenario or any way to implement it.
Thanks...

@BeheraMadan - This doesn't seem to be related to Composer and would be better suited for Stack Overflow than GitHub, but I'll see if I can help. Can you provide the following?

Links to any documentation you've followed
Repro steps

Hi,
We are just using QnAmaker dialog action to connect to QnaKnowedge base as shown in below screenshot

QnAMaker dialog action has some properties that we can use and there is one property called 'active learning ' card title as shown in above screenshot. When we use this property in composer it provides some suggested questions to the user in the chat window as a part of active learning property of the QnaMaker dialog action in the composer as shown in above screenshot.
For example in below scenario user is asking a question 'I dont like food in the afternoon' to the bot. Bot is giving some suggestion for this question as the part of active learning property/fallback scenario. (we have already configured knowledgebase to our bot).

We have added many source files(10+) while creating the QnaKnowledge base. One of them is customized personality chitchat source file.
Our concern is that bot is displaying some questions which are from personality chit chat source file as suggestions to the user for some qna questions.
We want to keep that personality chit chat source file in the knowledge base but bot should not display questions from these Personality chit chat source file as a part of suggestions in the active learning card in the chat window for 'QnaMaker Dialog' action prompt.
Can we do the customization as mentioned in the above scenario or any way to implement it.
Thanks...

@BeheraMadan - Thank you for the information. Can you provide the information I asked for?

Hi,
We are following below documentation.
https://docs.microsoft.com/en-us/composer/how-to-add-qna-to-bot

Thanks..

@BeheraMadan - Thanks for the information. As of now it’s not possible to avoid chit-chat suggestions in active learning, but the feature request has been forwarded to the QnA Maker team. In the future, it may be a good idea to ask you QnA Maker questions on Stack Overflow or reach out to the QnA Maker team instead of the Composer team. I'll close this issue now.


[HOLD] feat: script for downloading sourcemaps + symbolicating them

Details

This PR adds a script that can be used to symbolicate profiles recorded from a production (staging) app.
To symbolicate a profile we need a source map. We need the exact source map that was used when the production app was created.
Thus we upload the source maps during the deploy process in the GitHub action workflow as artifact.
The now added script in scripts/symbolicate-profile.ts:

takes a .cpuprofile file and gets the app version from it (we encode it in the filename)
downloads the source map from the GitHub artifacts

It gets the workflow id for the deployment workflow
It gets the workflow run for the app version
It gets the artifact from the workflow run
It creates a download link for the artifact
It downloads it as zip and unpacks it
It stores the source map in a ./.sourcemap folder. Next time the command is run it tries to reuse the source map

symbolicates the profile using react-native-release-profiler CLI

The script can simply be invoked by running:
npm run symbolicate-profile -- --platform=android --profile='./Profile_trace_for_1.4.85-0.cpuprofile'

Fixed Issues

$ https://github.com/Expensify/App/issues/43649
PROPOSAL: https://github.com/Expensify/App/issues/43649#issuecomment-2172557088
Tests

No QA, as its a dev only change.
For PR review I'd appreciate if someone else could test the script.
You can use this profile for testing:
Profile_trace_for_1.4.85-0.cpuprofile
Offline tests

QA Steps

n/a - dev only change
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos
https://github.com/Expensify/App/assets/16821682/73091c1d-4a2a-4101-b7fd-8758ff81f5f7

Hey @hannojg, can we hold this PR for a moment? There's a chance that part 1 of these changes broke the iOS build

Sure thing! Can I help with the broken iOS job?

Sure thing! Can I help with the broken iOS job?

Just saw this, build is okay now after the revert 👍

Actually, this PR can already be tested and merged even with the first PR being reverted. The script won't really work with no source maps uploaded, but still (or we could also wait, I don't mind)

Oh, sorry, I just found a way to make the querying for the artifact way simpler. Will move this too draft until its changed and ready.

@hoangzinh no C+ review needed here

Thanks for the review, will update the PR tmrw CET!

Okay, so I refactored it to use GithubUtils.
GithubUtils is imported from @github, which is a path alias we configured in the tsconfig.json. We execute the script with ts-node, which is using node;'s module strategy - this means at runtime it can't find those @ imports.
To fix this I use tsconfig-paths, and added a tsconfig.json inside the ./scripts directory, so it uses tsconfig-paths.

Hm, I ran npm run gh-actions-build, but it seems that the script in the CI applies a different formatting to those files:

Not sure what to do about it

Also the typescript check fails complaining about newly added .js files - I didn't add any new js files, its just that I recompiled the GH actions.
Will take this off hold since the first PR was merged and this PR is ready for a new round of review.

typecheck failure is a false alarm - we added a new .eslintrc.js file, and it's complaining about that. We can just ignore it - tsc is passing fine

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

not an emergency - see my last comment

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/roryabraham in version: 9.0.1-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.1-19 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


MAISTRA-1811 Store resourceVersion of reconciled Gateway resource

This removes in-process caching of route objects, which was problematic because it was only updated once, at startup, and then assumed to be always in sync with the routes on the cluster, and instead uses the Gateway's resourceVersion to determine whether a route needs to be deleted/recreated.

/retest


Python client for AI interactions

We've talked a bit about choosing a Python client that can be used across LLM APIs, as well as potential abstractions for working with prompt templates and prompt chains. It's probably time to take those conversations from Notion and Slack to GitHub!
A big list of prompt engineering tools is at https://www.promptingguide.ai/tools. I don't think we need to explore all of them of course. Many tools belong to more than one of these categories, but I think it's useful to break them down a bit.
Client libraries
These are libraries that provide a common Python interface to multiple LLM backends.

LangChain's Models
LlamaIndex's LLM
https://github.com/r2d4/openlm
https://github.com/danielgross/python-llm
https://github.com/kagisearch/pyllms

Prompt templates
These are libraries that make working with complex prompts easier, usually using some template library like Jinja or Handlebars.

LangChain's Prompts
https://github.com/microsoft/guidance
https://github.com/HazyResearch/manifest

Call trees
These are libraries that make it easier organize and execute a collection of calls to LLM and potentially other APIs (often vector databases) necessary to solve a high-level task. It would probably be better to break this group up to separate indexing and memory APIs from call tree APIs...

LangChain's Chains
https://github.com/srush/MiniChain
https://github.com/jerryjliu/llama_index
https://github.com/eth-sri/lmql
https://github.com/stanfordnlp/dsp

Nice work not yet in a separate library https://twitter.com/gneubig/status/1663544322233606148

https://github.com/deepset-ai/prompthub for prompt management

https://github.com/hegelai/prompttools

https://github.com/microsoft/Typechat for typed prompt building in TypeScript

https://github.com/philschmid/easyllm another client library

https://github.com/BerriAI/litellm another client library

There's a fourth category I suppose for controlling output.
Controlling output

https://github.com/1rgs/jsonformer
https://github.com/ShreyaR/guardrails
https://github.com/normal-computing/outlines
https://github.com/jxnl/instructor
https://github.com/r2d4/rellm
https://github.com/ggerganov/llama.cpp/pull/1773
https://github.com/huggingface/transformers/issues/24536

Another one https://github.com/zhudotexe/kani
Given our litellm issues we may want to reopen this issue, or I suppose file another...

hey @hammer what issues are you facing with litellm? I'd like to make sure we're stable for y'all in prod.


Remove version: Tencent.COSBrowser version 2.8.4

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://cos5.cloud.tencent.com/cosbrowser/cosbrowser-setup-2.8.4.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)


Stop puddles and soap from blocking doors

About the PR

Stops puddles and soap from blocking doors
Fixes #16167, #15253
Media

https://user-images.githubusercontent.com/46636558/236931309-cf709052-712e-4f44-b977-42d120aae8ce.mp4

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Mumohan

fix: Airlocks are no longer scared of puddles and soap. They should now close properly.

does this not allow doors to close over objects like walls, tables, and barricades?

does this not allow doors to close over objects like walls, tables, and barricades?

https://user-images.githubusercontent.com/46636558/236933435-2c62c230-0240-45f0-87cc-cab8f71c2e8e.mp4
Looks like it works fine

Double check to see if you can slip on soap and also see if you can still block using shields in the middle of doorways without it closing on you.

https://user-images.githubusercontent.com/46636558/236937558-a5453aef-627f-4fba-ba6c-c7f83ffe94e3.mp4
Yeah it works

I know this solution is not perfect, if I understand it correctly, right now the doors get stopped by for example puddles because doors gets stopped by stuff that's intersecting their AABB by more than 20% to not crush it if the safety is on
Since doors AABB is 0.98x0.98=0.9604 and for example banana peels AABB is 0.4x0.4=0.16
Banana peel passes the check 0.16/0.9604<0.2
but Soap or Puddle has AABB 0.8x0.6=0.48 and 0.8x0.8=0.64 respectively and fails the <0.2 check
I tried fixing it using that, but I couldn't get it to work without creating too much spaghetti
Only weird behavior with this solution I've observed is that dead bodies stop blocking doors
But this happens because they toggle the PhysicsComponent.CanCollide from true on living/crit players to false on dead players
Not sure if that was the behavior before puddles broke doors, but it seems like it was intended and was bugged?
https://user-images.githubusercontent.com/46636558/236939134-7c6ad838-48c9-43ba-a54e-95729bc30be8.mp4


Proposed refactor of FixedFlatWrapper

Purpose
This refactor makes it possible to quickly add or remove features from the observation space.
Testing
The output is equivalent to the original FlatFixedWrapper code when given the true initial observation for Scenario1b.
from CybORG import CybORG
import inspect

path = str(inspect.getfile(CybORG))
path = path[:-10] + '/Shared/Scenarios/Scenario1b.yaml'

cyborg = CybORG(path, 'sim')
res = cyborg.reset()
obs = res.observation

from CybORG.Agents.Wrappers.FixedFlatWrapper import FixedFlatWrapper as Original
from CybORG.Agents.Wrappers.FixedFlatWrapper2 import FixedFlatWrapper2 as Refactored

flat_obs = [ wrapper(cyborg).observation_change(obs) for wrapper in [Original, Refactored] ]

print(flat_obs[0] == flat_obs[1])

> True

Changes pass the following tests:
Tests/test_sim/test_wrappers/test_wrappers.py ssssss..s.................

Thanks for this. Our only concern is that after using our wrapper profiler we found the step and reset functions are about 4x slower. We have had similar problems with Enums before. Is there any way to improve the performance?


Idea: Use PowerShell script as a dynamic manifest

Description of the new feature/enhancement
TL;DR
Use PowerShell script as a dynamic manifest.
A program then parses the script and generate a manifest.
winget reads the manifest and install the package.
Example
Here is a minimal example script. With a helper script/program, it generates real 7zip manifest.
Almost everything is same as the manifest, except that Version will always be the latest, and $Url now dynamic changes as $Version change.
$License = 'MIT',  'Copyright (C) 1999-2020 Igor Pavlov. - GNU LGPL'
$LicenseUrl = 'https://github.com/microsoft/msix-packaging/blob/master/LICENSE', 'https://7-zip.org/license.txt'
$Tags = '7zip','compression','file compression' ,'utility', 'tool', 'zip'
# $Publisher, $Author, $Homepage, $Description, $InstallerType skipped
function Version {
    # do something and return the latest version of 7zip
}
# $Version = (Version) # this line can be omitted since parser knows to add it
$Installers = (@{
    Arch = 'x64'
    Url = "https://www.7-zip.org/a/7z$((Version).Replace('.',''))-x64.msi" # <- notice here!
    Sha256 = 'A7803233EEDB6A4B59B3024CCF9292A6FFFB94507DC998AA67C5B745D197A5DC'
})

More details
Manifest is a great idea, I like it! But I don't think they are 'Packages'...
actually what they do is telling winget how to get a package and install it silently.
A package should be msi/msix files, especially msix since it can handle dependence.
Definition of terms

Script: a shell script that provides instructions on how to build a manifest file
Manifest: a file describes the information about the Package
Package: a msix/msi/exe/... file that can be used to install program offline.
Parser: External script or program, or winget itself, parse the Script and generate the Manifest.
winget: the program that reads the Manifest, download the Package and install it

Workflow example
How winget now works:
    Manifest -> Package -> Program
How Arch AUR Works:
    Script -[use Script as Manifest]-> Package -> Program
What the issue wants:
    Script -[parse]-> Manifest -> Package -> Program

How Script converted to Manifest
The Parser reads the script first, for each field if it is a function,
run it and use the return value as new field value.
Then use these field variables to generate the yaml Manifest file.
Further Step

Now there is a offiicial Manifest repository (official repo) hosted by Microsoft.
We can have another Script repository (user repo) hosted by community.
User can submit Scripts to user repository, or submit Manifest to official repository.

There maybe also some helpers that automatically submit manifest generate by script.

There may can be a way that software developer can submit their package into official repo,
so user can download both manifest and package from Microsoft.
And such a package can be also available in Microsoft Store.

Some questions and problems

Should the Script use a dynamic Version function or static Version variable?

If it's in a user repo, it's better to use the static one that user can update their package by consulting the user repo.
However, if we considering generate latest Manifest from the Script, the dynamic one may be a better choice.

Should we consider using Script as Manifest?
Should the Script be a .ps1 script that can run directly, or something like PKGBUILD?
One more step: can we automatically generate MSIX package from a Manifest, for a portable/standalone program?
Is Git suitable for a package repo?
We should have another real manifest manage system, instead of using a git repo.
As there are more and more pull requests coming, it can be really difficult to manage.
It's also confusing that I fork and clone the whole repo, commit a file,
only for submitting a new manifest.
Is this too complex? Actually we can just write our own script to generate Manifest, and submit a PR when new version is out automatically. Maybe this is a better choice.

Related issue: #223

Wouldn't this make antivirus testing impossible?
What about using this side-by-side with manifests, as an auto-update mechanism? An automated process would regularly check for new versions of the manifest

If using PowerShell to generate the manifests is a popular idea, it would not be much work to take a DSL style approach to it. Having syntax like this is very doable with PowerShell.
function Get-Version {
    # do something and return the latest version of 7zip
}

New-WinGetManifest -Path "./7zip$(Get-Version).yml" @{
    # $Publisher, $Author, $Homepage, $Description, $InstallerType skipped
    License = 'MIT',  'Copyright (C) 1999-2020 Igor Pavlov. - GNU LGPL'
    LicenseUrl = 'https://github.com/microsoft/msix-packaging/blob/master/LICENSE', 'https://7-zip.org/license.txt'
    Tags = '7zip','compression','file compression' ,'utility', 'tool', 'zip'
    Installers = (@{
        Arch = 'x64'
        Url = "https://www.7-zip.org/a/7z$((Get-Version).Replace('.',''))-x64.msi" # <- notice here!
        Sha256 = 'A7803233EEDB6A4B59B3024CCF9292A6FFFB94507DC998AA67C5B745D197A5DC'
        Version = Get-Version
    })
}

Its basically a function that takes a path and a hashtable. Because its PowerShell, you can call whatever code you need to in there. Either calling a function or just adding inline code. I'm ignoring the magic mapping for version from your example, but this would be trivial to document and more intuitive for a seasoned PowerSheller to look at an example and just go.
Get-Help New-WinGetManifest  -Example

Actually we can just write our own script to generate Manifest, and submit a PR when new version is out automatically. Maybe this is a better choice.

This is how I handle it in Chocolatey today. The CI pipeline (which runs on a schedule) runs a script that fetches the latest version (usually using invoke-webrequest). If the remote version is newer, the url, version and filehash are updated in the manifest and pushed.

I think this is a very bad idea.

It intoduces the horrible security risk of the manifest file itself executing code during its parsing (e.g. $Tags = $(Remove-Item ~ -Recurse -Force))
It makes it much harder if not impossible to validate the manifest file schema (which is currently trivial and easy)
It introduces the problem of badly "coded" manifests not working for everyone because of unquoted paths, unicode issues, differences betweeen PowerShell versions etc. etc.
This is completely unneccessary because you can just template/create a YAML manifest file with a PowerShell function or a tool like cookiecutter which is way safer and can be automated and "dynamic" just the same

Hey all, one of our tenets is not to run "arbitrary" scripts. We haven't been able to reason about a good way to treat a script as a manifest. It is possible to generate a local manifest using a script and then call winget install -m <path to directory containing manifest>.


(refactor)(common) optimize Status implemention: no dynamic new

Proposed changes
why i do this?

Status is used widely, dynamic new and free bring some extra cost(50-200cycles each call), although it's not the key of system, but to improve Status is still worth to do
because of new/delete, Status can not be created as pure stack object
the most important members are code and precise-code, the others(msg+msg2) are just used for log and tips, so truncate msg is not fatal error for us
by using bitfield, Status implemention becomes more clear and meanful after refactor
if truncating occur, one log will generated, but in my ssb test such log not be found, so seems working good now

Issue Number: close #xxx
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

LGTM
Learned a lot


Container for lemminx XML LSP

Appreciate the contribution as always! Look forward to some fun changes soon with this plugin too!


[BUG] Link to SvelteJS FAQ, in SvelteJS FAQ

This file
https://github.com/sveltejs/sites/blob/master/sites/svelte.dev/src/routes/faq/index.svelte
Includes
See also the Svelte FAQ for questions relating
		to Svelte directly.

It is not a problem in https://kit.svelte.dev/faq.
But in https://svelte.dev/faq, it is pointless.
Link to SvelteJS FAQ, in SvelteJS FAQ.
I don't know if this needs to be replaced or removed....

yeah, it should be removed. though I don't particularly want to make any changes until https://github.com/sveltejs/sites/pull/371 is merged


Develop prudic model example problem

Develop a modified version of the prudic model for comparison with MF-NWT

Prudic model example is complete


failed query

Hello,
I'm testing ent with the following configuration  / environment:
mysql 5.7
go version go1.14.1 darwin/amd64
Trying from scratch as explained in https://entgo.io/docs/getting-started/ with the demo I get the following problem:
2020/04/04 10:25:01 failed querying user cars: sql: Scan error on column index 2, name "registered_at": unsupported Scan, storing driver.Value type []uint8 into type *time.Time
exit status 1
Steps to reproduce:
Schemas:
User
package schema
import (
"github.com/facebookincubator/ent"
"github.com/facebookincubator/ent/schema/edge"
"github.com/facebookincubator/ent/schema/field"
)
// User holds the schema definition for the User entity.
type User struct {
ent.Schema
}
// Fields of the User.
func (User) Fields() []ent.Field {
return []ent.Field{
field.Int("age").
Positive(),
field.String("name").
Default("unknown"),
}
}
// Edges of the User.
func (User) Edges() []ent.Edge {
return []ent.Edge{
edge.To("cars", Car.Type),
}
}
Car
package schema
import (
"github.com/facebookincubator/ent"
"github.com/facebookincubator/ent/schema/edge"
"github.com/facebookincubator/ent/schema/field"
)
// Car holds the schema definition for the Car entity.
type Car struct {
ent.Schema
}
// Fields of the Car.
func (Car) Fields() []ent.Field {
return []ent.Field{
field.String("model"),
field.Time("registered_at"),
}
}
Group
package schema
import (
"regexp"
"github.com/facebookincubator/ent"
"github.com/facebookincubator/ent/schema/field"

)
// Group holds the schema definition for the Group entity.
type Group struct {
ent.Schema
}
// Fields of the Group.
func (Group) Fields() []ent.Field {
return []ent.Field{
field.String("name").
// regexp validation for group name.
Match(regexp.MustCompile("[a-zA-Z_]+$")),
}
}
// Edges of the Group.
func (Group) Edges() []ent.Edge {
return nil
}
Already generate the code with entc generate ./ent/schema
Main
package main
import (
"context"
"fmt"
"log"
"pepper/ent"
"pepper/ent/car"
"pepper/ent/migrate"
"pepper/ent/user"
_ "github.com/go-sql-driver/mysql"

)
func QueryUser(ctx context.Context, client *ent.Client) (*ent.User, error) {
u, err := client.User.
Query().
Where(user.ID(4)). // This user is already created in DB
// Only fails if no user found,
// or more than 1 user returned.
Only(ctx)
if err != nil {
return nil, fmt.Errorf("failed querying user: %v", err)
}
log.Println("user returned: ", u)
return u, nil
}
// Query Cars
func QueryCars(ctx context.Context, a8m *ent.User) error {
cars, err := a8m.QueryCars().All(ctx)
if err != nil {
return fmt.Errorf("failed querying user cars: %v", err)
}
log.Println("returned cars:", cars)
// what about filtering specific cars.
ford, err := a8m.QueryCars().
	Where(car.ModelEQ("Ford")).
	Only(ctx)
if err != nil {
	return fmt.Errorf("failed querying user cars: %v", err)
}
log.Println(ford)
return nil

}
func main() {
client, err := ent.Open("mysql", "root:test@tcp(localhost:3306)/pepper")
if err != nil {
log.Fatalf("failed opening connection to mysql: %v", err)
}
defer client.Close()
ctx := context.Background()

// Run migration.
if err := client.Schema.Create(ctx, migrate.WithGlobalUniqueID(true)); err != nil {
	log.Fatalf("failed creating schema resources: %v", err)
}

var a8m *ent.User
// Query User
if a8m, err = QueryUser(ctx, client); err != nil {
	log.Fatal(err)
}

// Query Cars
if err := QueryCars(ctx, a8m); err != nil {
	log.Fatal(err)
}

}

I’m quite sure this should solve your issue.
Closing, but feel free to open if you still have troubles with it.

Thanks a lot, that worked.


Update fast_gettext to 2.0.1

Updates the fast_gettext gem from 1.2.0 to 2.0.0 2.0.1.
https://github.com/grosser/fast_gettext/blob/master/CHANGELOG
Among other things this will get rid of a large amount of uninitialized warnings if we run with warnings on.

@jrafanie @Fryguy Look ok?

@mzazrivec @himdel I'd like one of you who's more knowledgeable of our usage of fast gettext to review / test this with our translation files.  The changelog looks benign but 🤷♂

LGTM too, we don't use | as a separator in our catalogs it seeems, and the last change to the gem version was to upgrade to 1.2.0 when it came out.
@mzazrivec do we have a nice way of testing the new version?

I tested the updated gem and things seem to be working fine.

Thanks for sanity check @mzazrivec


Issue with deleting StatefulSets (sts)

I deployed a K8 cluster using Heptio's AWS-QS.  I was also able to deploy my Statefulset.  However, I got the following error when trying to delete my Statefulset.
$ kubectl get statefulset dse -o wide
NAME      KIND
dse       StatefulSet.v1.apps
$ kubectl delete statefulset dse
error: no kind "GetOptions" is registered for version "apps/v1"

Thanks for the report @gmflau.  This appears to be a problem with your kubectl client.  Could you provide the output from kubectl version?

Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.6", GitCommit:"4bc5e7f9a6c25dc4c03d4d656f2cefd21540e28c", GitTreeState:"clean", BuildDate:"2017-09-14T06:55:55Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}

@gmflau assuming that you are using out latest release of aws-quickstart, the server version would be 1.9.2.  You can verify this with the same kubectl version command, as it will list the server version as well.  There is componentry in the client that will need to match the server version.  Could you please retry your actions with the kubectl that matches your aws-quickstart version?

Thanks Craig.  Confirmed it was the issue of my kubectl CLI client.  It has to be 1.9.x or higher to work.


fix: update cp .env command in documentation

There was a missing dot in the command

Thanks for both of these changes!


[Compose & Edit] Support timeout and auto redirect

Description
It's time to port two features to the Windows/Linux build
Timeout

[x] Add UI in the Tool View

[x] Timeout Text Field only accepts integer numbers (No Text allows)

[x] Logic for the Timeout (This setting is persisted):

[x]  Allow to enter Timeout (second) from 0 to 9999 seconds. If the value is invalid -> return the nearest possible value (Use min(), max()). For example, the user enters: -10 -> Set 0.

[x] Logic timeout: For the Repeat and compose view

Additions

[x] Add timeout UI to the Compose Menu

[x] When selecting this menu -> It auto changes the timeout value

[x] Make sure if we change the timeout in the Tool Tab -> It will select a correct menu item

How to test

In Setting -> Set timeout = 5 seconds

Open Compose View -> Make a request to https://httpbin.proxyman.app/delay/10
Verify that the timeout alert appears ✅
Change the timeout to 30 second
Make a request to https://httpbin.proxyman.app/delay/10
Verify we can see the Response ✅

[x] Write 2 Unit Tests to test 2 ☝ scenarios
[x] Verify the Timeout will work for the Compose New Request and Repeat & Compose

Auto Redirect

[x] Add auto-redirect to the Compose Menu

[x] Logic: Follow or not follow the redirect
[x] Verify the Timeout will work for the Compose New Request and Repeat & Compose
Ticket: https://github.com/ProxymanApp/Proxyman/issues/1888

How to test

Select Auto Redirect = true -> Make a request to https://httpbin.proxyman.app/redirect-to?url=example.com
Verify we can see 404 Not found error ✅
Select Auto Redirect = false -> Make a request to https://httpbin.proxyman.app/redirect-to?url=example.com
Verify we can see 302 Found status code

[x] Write 2 unit tests to verify it

Sorry, I forgot to mention that:

The default value of Timeout is 30 seconds
Auto follow the redirect is true


gpsprune: 18.6 -> 19

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/gpsprune/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/akzrr13fzbw4ympkxcjp4v434hbfw6nb-gpsprune-19/bin/gpsprune had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 19 with grep in /nix/store/akzrr13fzbw4ympkxcjp4v434hbfw6nb-gpsprune-19
directory tree listing: https://gist.github.com/093deda67a3697cfb7ceb5e487494b74
du listing: https://gist.github.com/c4d02de001bcd6a66916da90695ae515

meta.description for gpsprune is: '"Application for viewing, editing and converting GPS coordinate data"'.
cc @rycee for testing.

Success on x86_64-darwin (full log)
Attempted: gpsprune
Partial log (click to expand)

trying http://activityworkshop.net/software/gpsprune/gpsprune_19.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   356    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1180k  100 1180k    0     0  1495k      0 --:--:-- --:--:-- --:--:-- 3502k
building '/nix/store/g0b7nl9dz4m0dk5aw37k7vyc35zaqxls-gpsprune-19.drv'...
installing
'/nix/store/m2iqq8n75k5jhlgyp4qsam4sfbc6lcdv-gpsprune_19.jar' -> '/nix/store/3bc2zr93dh1kg6l3k7nq8j8il47ysa3l-gpsprune-19/share/java/gpsprune.jar'
/nix/store/3bc2zr93dh1kg6l3k7nq8j8il47ysa3l-gpsprune-19

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: gpsprune
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: gpsprune
Partial log (click to expand)

trying http://activityworkshop.net/software/gpsprune/gpsprune_19.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   356    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1180k  100 1180k    0     0  1569k      0 --:--:-- --:--:-- --:--:-- 1569k
building '/nix/store/54jd3f2x45m590l8j0mh8z3zaixp02s6-gpsprune-19.drv'...
installing
'/nix/store/m2iqq8n75k5jhlgyp4qsam4sfbc6lcdv-gpsprune_19.jar' -> '/nix/store/akzrr13fzbw4ympkxcjp4v434hbfw6nb-gpsprune-19/share/java/gpsprune.jar'
/nix/store/akzrr13fzbw4ympkxcjp4v434hbfw6nb-gpsprune-19

Rebased to master in d7ac3818d3addea49eceebe175222b8357e32138.


per endpoint proxy

factor out a function to use for determine whether the proxy should apply to a particular path
ability to enable / disable proxy for a path
move repl into a separate folder
move app.ts to the root
the logic for turning proxy on / off globally has changed
make the input and output streams for the REPL configurable
found a way to start testing the REPL
enable / disable the proxy via the REPL
enable / disable the proxy via the REPL

The --proxy-url option is still there. This just allows settings to be changed at a more granular level at run time.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

105 of 139 (75.54%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 87.846%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/app.ts
0
11
0.0%

src/repl/repl.ts
73
96
76.04%

Totals

Change from base Build<PHONE_NUMBER>:
1.0%

Covered Lines:
3184

Relevant Lines:
3652

💛  - Coveralls


Load intraday GSP data and save to database

Detailed Description
Load GSP data from pvlive
Context
GSP data within the day is slightly different to the next day. At ~mightnight lots more PV data arrives and the calculates are redone.
But its good to collect this intraday data
Possible Implementation
Copy over from PVConsumer

Got this online, just want to check after a few days


Remote Extension is not working in Insider build

Version: 1.44.0-insider (user setup)
Commit: b0791e5236f462fbb785e9a00319705607cefb9d
Date: 2020-03-10T11:23:10.498Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Steps to Reproduce:

Open VSCode
Open Remote Extension
No hosts are shown in list

Error in Remote Extension.
ERR command 'opensshremotes.openEmptyWindow' not found: Error: command 'opensshremotes.openEmptyWindow' not found
    at e._tryExecuteCommand (file:///C:/Users/dhairya.nadapara/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:3559:697)
    at file:///C:/Users/dhairya.nadapara/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:3559:578

i am getting following error.
i could connect to the server before update to 1.44 insiders build.

it is caused by extn Remote-ssh
downgrade it to earlier version and remote works fine.

@sanket-bhalerao Tried downgrading the Remote-SSH extension to 0.49.0 and 0.48.0. But, still it's not working.

it seems to work for me, that is the only extn i have downgraded. for me the version is 0.49.0 (i downgraded from 0.50.0)

Have you reloaded the window once the downgrade is completed?
On Wed, 11 Mar, 2020, 12:14 Dhairya Nadapara<EMAIL_ADDRESS>wrote:

@sanket-bhalerao https://github.com/sanket-bhalerao Tried downgrading
the Remote-SSH extension to 0.49.0 and 0.48.0. But, still it's not
working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/92423?email_source=notifications&email_token=ACGV5LOXLO7RIBRFUNRYDK3RG4XLBA5CNFSM4LFNNYB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOOKVBI#issuecomment-597469829,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGV5LOBQ2BRKY3BHXPKRW3RG4XLBANCNFSM4LFNNYBQ
.

I have checked that but that's also not working. I looked more and found that it is coming due to antivirus. It shows that extensionHostProcess.js file in C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node have virus with name JS.Nemucod.AF. Due to this antivirus is adding the file into Quarantine

Thanks for figuring that out. Which antivirus are you using? It's a false alarm.

We are using Seqrite (https://www.seqrite.com/)

Ok, hopefully you are able to whitelist that file/folder, this needs to be fixed on Seqrite's end.

Today when i started using vs code it was too. Giving same error. So I check for it. And I found that its having some file as virus. Im using Quick Heal Anti virus  . Virus Name - JS.Nemucod.AF
When ever i use to update my vs code. It gives same error. So I installed downgrade version of Vs code. And it is working fine.


Feature/redirecting

@HonoreDB  @miwest929
PR for you to take a look at but probably not to be merged immediately.
This is not passing the CI because it references the private representors which can not be pulled by Travis.
I think probably the private representors should be synced to the public and delete the private to make it clear which one is the repo. Then maybe move this to mdsol-share.
For Angelfire we need the changes in this PR. I probably would open two pull requests for them, one let us use the templates and the other adds the FollowRedirect middleware which we need as we find the 302 when calling Gambit.
Farscape without this middleware was giving us UnknownProtocol error.
For Angelfire R1, we are using a github reference so this is not urgent for us. I vote for coming back to this and do the above  (move repos, etc) after these critical days are gone.
I am opening this as a PR now to keep you informed and to see if we are doing something horribly wrong here.

Agree on all counts. We might want to make the follow redirects configurable when we merge it, since there are some patterns where don't want to follow some redirects, but I don't think we have any of those in the platform right now so this should be harmless for you.

Is this going to be ever merged? Right now the develop branch specifies faraday ~> 0.8.8, conflicting with other gems that require ~> 0.9 making it impossible to upgrade in some cases.
I can do a PR against the develop branch to relax the dependency but this fix needs to be included as well, hence this comment.

ping
what's the status? do we still need this? now that representors is a published gem this can pass in theory.

I think we still give a weird error when farscape finds a 302.
@HonoreDB  is ok if we update this to add the FollowRedirects middleware on the newest farscape?

Closing for now, if ever need this again will revisit.

reference service use this branch in production for 4 years apparently...
@jcarres-mdsol @jfeltesse-mdsol

oh no, its not reference service but angelfire... maybe it does not matter finally...


IMContextSimple::add_table

For now, we have some issues understanding how the function is working.

This is an old bug, but I did a little digging, so here's what I've found.
In GTK, IMContextSimple::add_table is defined by just forwarding to gtk_compose_table_list_add_array. It treats the data array as a concatenation of subarrays, each of max_seq_len + 2 guint16 elements. Each of these subarrays defines a single compose sequence (with the +2 encoding the single Unicode codepoint the compose sequence generates): they usually start with GDK_KEY_Multi_key, follow it with some number of keysyms, and use 0 to pad the rest (up to max_seq_len or GTK_MAX_COMPOSE_LEN, whichever is smaller)--see gtk_compose_table_new_with_list for an example of this padding.
A safe Rust interface at the very least must ensure that (min(max_seq_len, gtk_sys::GTK_MAX_COMPOSE_LEN) + 2) * n_seqs == data.len().
An idiomatic interface is rather tricky; offhand I can only think of solutions with overhead (e.g. accepting an IntoIterator<Item=([guint16; gtk_sys::GTK_MAX_COMPOSE_LEN], gunichar)>) or ones that require the user to do a lot of thinking (to build a weirdly-formatted &[u16] and pass max_seq_len).


Does not change aspect ratio of image

I highly doubt if this plugin works as stated. None of the images got corrected to the right aspect ratio

@Hiyerguru it should work with shapes. did you try with bitmaps?


Is there any stable jar file available to download??

Is there any stable jar file available to download?? which i can implement in my code editor.

@deepsidhu1313 Let's move our conversation here regarding getting Xanthic into your project.
Which language do you need to highlight? To add a language I have to write/find an ANTLR grammar and implement a listener for it to generate the token positions. Which language would you like to use first?
Once you let me know, I'll code it up and write up the docs to help you get started.

@jrguenther  Thanks !!
For the time i'm working with java code editor. And i already downloaded your code and ANTLR grammer for java and java8.
Apologies for any inconvenience. :)

Ok, great. I’ll post here when I have something to share.

On Jan 20, 2015, at 11:27 AM, deepsidhu1313<EMAIL_ADDRESS>wrote:
@jrguenther https://github.com/jrguenther Thanks !!
For the time i'm working with java code editor. And i already downloaded your code and ANTLR grammer for java and java8.
Apologies for any inconvenience. :)
—
Reply to this email directly or view it on GitHub https://github.com/jrguenther/Xanthic/issues/1#issuecomment-70715928.

Just want to let you know I haven't forgot about your request. I'm in the midst of writing my dissertation :mortar_board: at the moment, so it will be a little while before I can get something more polished built.
I will post here as soon as it's ready for you to use.

It's OK sir, i can totally understand. I am also working on my research papers. :) , All the best for dessertation :+1:

Howz your dissertation going on ??

Slowly.

On Apr 8, 2015, at 5:44 AM, deepsidhu1313<EMAIL_ADDRESS>wrote:
Howz your dissertation going on ??
—
Reply to this email directly or view it on GitHub https://github.com/jrguenther/Xanthic/issues/1#issuecomment-90903272.

All the best :smiley: :+1:


Top item value in active bank tab

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
It would be very helpful to be able to track down what makes your bankvalue the number you see on top
Describe the solution you'd like
A clear and concise description of what you want to happen.
I'd love to see a feature like Runeloader had, i.e a row/tab of your most valuable items in the active tab. This would make it easy to check out value you have laying around.

Duplicate of #4649


Move Linux builds to Cloud Build

This issue is to capture notes about our use of Google Cloud Build for some (or all of?) our Linux builds. In https://github.com/googleapis/google-cloud-cpp/pull/6080 I added the basic Cloud Build configs along with some basic scripts. With this change, we're now able to trigger cloud builds (manually) with commands like:
$ ci/cloudbuild/build.sh asan # runs the asan build on GCB
$ ci/cloudbuild/build.sh asan --docker # runs the asan build in your local docker
$ ci/cloudbuild/build.sh asan --local # runs the asan build in your local environment

I also configure a couple test triggers in the Cloud Build UI for the cloud-cpp-testing-resources project. The following are some remaining things that we need to figure out:

[x] Figure out caching. The bazel builds should use the remote bazel cache. The cmake builds should use ccache and should store/fetch the ccache's directory.
[x] Add support for integration tests. We'll need to get the correct credentials working
[x] Add "install" / "quickstart" builds
[x] Figure out if there are build artifacts that we should be capturing. Maybe we should capture the test output from all unit tests that we run?
[x] Figure out how best to run these builds locally. The more logic we put in cloudbuild.yaml, the more difficult it may be to run builds locally. Though we can try cloud-build-local, which may make this easier.
[x] Figure out how to expose the build logs so that OSS contributors can see the build output and diagnose their own build breaks. Maybe we can funnel the logs over to result store somehow?
[x] Figure out if there's a way to programmatically configure triggers so that we can check the trigger configuration into github.
[x] Add more build configurations. Ideally, we'd replace all of ci/kokoro/docker/. In particular a configuration to generate and publish doxygen docs when the release branch is created would be cool
[ ] Figure out how to add build badges
[ ] Setup failure notifications for failed CI builds

All these builds now exist in GCB. The remaining issue about build badges exists in a separate issue.

$ git grep '#6083'
ci/cloudbuild/builds/lib/integration.sh:  # TODO(#6083): Run //google/cloud/bigtable/examples:bigtable_grpc_credentials
ci/cloudbuild/builds/lib/integration.sh:  # TODO(#6083): Add support for: