Refactor worker

Before I went about trying to put back support for api/v1, I want to make sure I understand
the pieces of the Network process.
This PR separates the dry_run logic out to a separate class (DryRunNetworkWorker) that provides
the same interface as Network - specifically, the same __init__ and a custom go method, though some
of its methods have the same names as those in Network.
The pieces that were then identical between the two were factored into a BaseNetworkWorker class
to make it easier to see exactly what was different between the dry run work and the real-deal work.
With the dry-run work out of the way, and after having to look over every line in this module more in depth, it will be easier for me to add back in support for api/v1 on the Network process. It has already been pointed out that it also affects the Writer process. I'll get to that later.

Coverage decreased (-1.7%) to 81.833% when pulling 512936b8ce5f5e716d69fe342033b05bf20a82ec on refactor-worker into ec278198458ea017f52f6df43170def7c5d2d1ec on master.

Coverage decreased (-1.7%) to 81.833% when pulling 512936b8ce5f5e716d69fe342033b05bf20a82ec on refactor-worker into ec278198458ea017f52f6df43170def7c5d2d1ec on master.

Coverage decreased (-1.7%) to 81.833% when pulling 512936b8ce5f5e716d69fe342033b05bf20a82ec on refactor-worker into ec278198458ea017f52f6df43170def7c5d2d1ec on master.

@sevikkk what do you think of this change? Like I said, I was mostly making sure that I know how this part of the code works, so it's not 100% necessary. But I kind of like separating the code into having two separate "Network" workers. Let me know what you think.


Bug:LoadImageW returned an error, but the message says "The operation completed successfully."

Which crate is this about?
windows
Crate version
0.42.0
Summary
windows::Win32::UI::WindowsAndMessaging::LoadImageW returned an error, but the message says "The operation completed successfully."
Toolchain version/configuration
Default host: x86_64-pc-windows-msvc
rustup home:  D:\softwares\rust\rustup
installed toolchains
stable-x86_64-pc-windows-msvc (default)
nightly-x86_64-pc-windows-msvc
active toolchain
stable-x86_64-pc-windows-msvc (default)
rustc 1.64.0 (a55dd71d5 2022-09-19)
Reproducible example
use windows::Win32::System::LibraryLoader::GetModuleHandleW;
use windows::Win32::UI::WindowsAndMessaging::{LoadImageW, IMAGE_BITMAP, LR_LOADFROMFILE, LR_CREATEDIBSECTION, LR_DEFAULTSIZE};

let hinst = GetModuleHandleW(PCWSTR::null()).unwrap();
let hbitmap = LoadImageW(
    hinst,
    PCWSTR(to_wstring("test.bmp").as_ptr()),
    IMAGE_BITMAP,
    0,
    0,
    LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_DEFAULTSIZE,
);
match hbitmap {
    Ok(handle) => println!("Handle is: {:?}", handle),
    Err(error) => println!("Error is: code {:?}, msg: {:?}", error.code(), error.message())
}

Crate manifest
[dependencies.windows]
version = "0.42"
features = [
    "Win32_Graphics_Printing",
    "Win32_Foundation",
    "Win32_Graphics_Gdi",
    "Win32_Security",
    "Win32_Storage_Xps",
    "Win32_System_LibraryLoader",
    "Win32_UI_WindowsAndMessaging",
]

Expected behavior
Return a Result.Ok
Actual behavior
Return a Result.Error
Additional comments
pirntln! output is "Error is: code HRESULT(0x00000000), msg: 操作成功完成。" , The message says "The operation completed successfully."

This seems to be a bug or at least an inconvenience of the Win32 Api.
I can reproduce this issue not only in Rust but in C++ as well.
Some tested scenarios that result in the same behaviour:

Relative path or absolute path
Function parameter hInst is NULL or GetModuleHandle(NULL)
Removal of LR_CREATEDIBSECTION and LR_DEFAULTSIZE flags

My proposal to avoid confusion would be to check for this specific case and return an unknown error.
This solution would break consistency between the rust mapping and Win32 api, so I am waiting for a confirmation.

Yes, it seems to provide error information at least in some cases:
use windows::Win32::UI::WindowsAndMessaging::*;

fn main() {
    unsafe {
        let result = LoadImageW(None, None, IMAGE_BITMAP, 0, 0, LR_CREATEDIBSECTION);
        dbg!(result);
    }
}

This produces an error message saying, "The specified resource name cannot be found in the image file."


Helm 3: Add documentation on registries

Adapted from a doc I put together a while ago.

Looks like a good first pass. In order for this to be displayed on the Helm docs site, you'll have to apply changes to helm-www to add the page to the sidebar. Let me know if you need help with this.

@bacongobbler sounds good. will do so once merged


Bypass accessor on increment/decrement

When incrementing/decrementing database values using increment()/decrement() it isn't desirable to execute an accessor that may exist on the column, as it's not really being "accessed".
The intention with this PR is to bypass any accessors to avoid unintended side effects.
https://github.com/laravel/framework/discussions/52694

This seems like a breaking change for people expecting this behaviour. Also not sure if it is wanted, to bypass the accessor.
I recommend targeting master instead of 11.x

This seems like a breaking change for people expecting this behaviour. Also not sure if it is wanted, to bypass the accessor.
I recommend targeting master instead of 11.x

Thanks, will reopen new PR targeting master.


Why not open to China

Describe the feature or improvement you're requesting
I hope that the OpenAI API will be opened to China.
Additional context
No response

Hoping the same for Egypt

Thanks for flagging, see our supported countries here: https://platform.openai.com/docs/supported-countries

Thanks for your replay but the link is not working in Egypt also

Thanks for flagging, see our supported countries here: https://platform.openai.com/docs/supported-countries

What are the exceptions listed for Ukraine?


Upgrade to .NET 5?

Would you consider upgrading the library for .NET 5 Blazor? (eg Blazorise also just left < 5.0 behind)

OK, thank you! And I'll do it this weekend.

I am doing a local quick test - \BQuery.Sample\Pages\FocusAndDragable.razor - input.FocusAsync in line 17 is now "error CS0121: The call is ambiguous between the following methods or properties: 'Microsoft.AspNetCore.Components.ElementReferenceExtensions.FocusAsync(Microsoft.AspNetCore.Components.ElementReference)' and 'BQuery.Bq.FocusAsync(Microsoft.AspNetCore.Components.ElementReference)'" because Blazor can focus input elements now.

It has been upgraded to. NET 5.


Disable sentry excepthook integration

It keeps on sending out handled exceptions otherwise
Backend checklist

[ ] Formatted my code by running autoflake -r -i --remove-all-unused-imports src && isort . && black . in app/backend
[ ] Added tests for any new code or added a regression test if fixing a bug
[ ] All tests pass
[ ] Run the backend locally and it works
[ ] Added migrations if there are any database changes, rebased onto develop if necessary for linear migration history

What is the motivation for not getting the full sentry package?

By default it adds an excepthook that will vacuum up unhandled exceptions. I believe it's interfering with gRPC though, and is sending through exceptions that are handled by gRPC. This is polluting the sentry dashboard (and database) with a whole lot of user-errors, e.g. UNAUTHENTICATED, NOT_FOUND, etc.

Thanks for using trailing commas, it keeps the diff down when adding more parameters.

It's done by black automatically!


Raw probabilities for measurement results

When it comes to using measurement results in learning methods, is there a way to simply get the exact probability for each measurement result (as opposed to the expectation for each register) from the device? Xanadu Pennylane has the qml.probs() function for that.

@JustinS6626 , I also have same question about this, and I found in
https://github.com/mit-han-lab/torchquantum/blob/main/torchquantum/measurement/measurements.py#L46
.
state_mag = qdev.get_states_1d().abs().detach().cpu().numpy()
This can extract the probability like qml.probs().


feat: initial project skeleton

Setup basic skeleton
Install dependencies including: react, gsap, useGSAP, Three.js, React Three Fiber, React Icons
Prettier & ESLint configuration
Setup some rules when working in team

Super looks good.


Please mention that kerberos is not supported via application gateway in faq

the faq does mention that ntlm is not supported:
https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-faq#does-application-gateway-v2-support-proxying-requests-with-ntlm-authentication
Could we extend this to also mention that kerberos is not supported.
thanks

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

ID: 88466307-81b8-1e5b-7f2c-191d8e818071
Version Independent ID: 08ad49f3-6a57-b925-794a-37215e985aba
Content: Frequently asked questions about Azure Application Gateway
Content Source: articles/application-gateway/application-gateway-faq.yml
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@cpinotossi , We have assigned this to the content owner/author for updating the doc accordingly.
@vhorne , I've confirmed that App gateway doesn't support kerberos authentication. Request you to please update the doc to include this information.

Guys, 3 months to update the doc? I wasted one week on migrating from NTLM to Kerberos just to find out that it doesn't work either :-(

still not updated

still not updated

Hi - I've assumed ownership of this article. I am reassigning the issue to myself. We currently have a large backlog of GitHub issues so I'm prioritizing these and working them as I am able.  Please reply to this thread if you are still experiencing an issue with the article that is referenced, or if you feel the issue can be closed now.  Thanks! #reassign:greg-lindsay

@greg-lindsay the document still needs to be updated to mention V2 app gateway do not support Kerberos pass through

@pgbfnf Thanks for your help here! I have made this change. It won't show up until next week due to a freeze that we have in place right now.
#please-close


React  / JSX lost autocomplete

VSCode Version:
OS Version: Linux mint 18
Version: 1.28.0
Commit: 431ef9da3cf88a7e164f9d33bf62695e07c6c2a9
Date: 2018-10-05T14:52:58.945Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Steps to Reproduce:

Inside a JSX file (react render) create a button component and try ctrl space inside it. Not showing the onClick, onLeave, etc
Inside a react class component, when Ctrl space, Is not showing the lifecycle methods, and another options that appears on 1.28
I've tried with Javascript, Rectjavascript and JSX syntax, same problem

But for vanillaJS, the intelisense still works

Does this issue occur when all extensions are disabled?: Yes/No
YES :/

I have the same problem. After the last update it stopped working.

Same here. Language is set to Javascript React and still not autocompleting/listing JSX attributes as it was before.

Please check the TypeScript Server trace:

Set "typescript.tsserver.trace": "verbose"
Reproduce the problem
Open the output panel and view the TypeScript section

Are there any errors or stack traces printed near the end?

Unfortunately I did saw a stack trace printed, but decided to clear it in order to see if it was still happening, but it turns out that it isn't.
No stack traces or errors are being logged on Typescript, however the issues still remains.
Let's hope that the OP is getting something in the logs.

For me, it automagically back to normal
Sorry for dont help @danfsd

No problem @yuritoledo, it's back to normal for me as well. I think it went back after the 1.28.1 update. Try updating to that version @jmsstudio.
I think the issue can be closed @mjbvz

The problem still occurs on my VS Code...
I updated my version but it didn't change anything regarding this issue

@jmsstudio it works with normal JSX button / input too?

I disabled all the extensions and tried again, it worked now
Sorry for the inconvenient, it was some extension trouble here
Now the only problem that is still occurring is related to import not being placed in the file header with the imports, but it is another issue...

@jmsstudio great!


How can I use this metric in my project?

Hi, I want to use this metric in my project.
I'm looking for a program interface like BLEU or ROUGE in package evaluate
For example:
# https://huggingface.co/spaces/evaluate-metric/rouge
import evaluate
rouge = evaluate.load('rouge')
results = rouge.compute(
    predictions=hypotheses,
    references=references
)
for key in results.keys():
    f1_score = results[key]
    print(f"{key} = {f1_score}")
# rouge1 = 0.40789473684210525
# rouge2 = 0.058823529411764705
# rougeL = 0.40789473684210525
# rougeLsum = 0.40789473684210525

OR
# https://huggingface.co/spaces/evaluate-metric/bleu
import evaluate
bleu = evaluate.load("bleu")

references = [
	[
		reference_1,
		reference_2,
		reference_3
	],
]

candidates = [
	candidate_1,
	candidate_2
]
print("bleu")
for candidate in candidates:
	bleu_score = bleu.compute(
		predictions=[candidate],
		references=references
	)
	print(bleu_score['bleu'])
# bleu
# 0.5401725898595141
# 0.0

Could you give me an advice how I can achieve similar behavior with $FineD-Eval_{mu}$?

Hi, the current version only supports batch processing. The input is a text file and the output is a JSON file containing scores of the input.
I will try to implement a version to support the functionality that you have suggested.

The input is a text file and the output is a JSON file containing scores of the input.

Could you show me how I can achieve that? It will be acceptable for me too. You can see my project structure on a screenshot:

In the data folder, there is a dev folder containing the fed-dialogue.txt file. You can follow the format in that file to prepare your input data (one line should be something like 0\t[your dialogue with "|||" delimit the utteraces]\tyour dialogue with "|||" delimit the utteraces]
Then modify the scripts/eval/multitask_inference/eval_multi_head_dailydialog.sh file by replacing --eval_on fed-dialogue dstc9 persona-see  with your file name, such as --eval_on dummy_data

Can I use model from output/train/multitask_base_dailydialog_234567 folder?
What does this script do( turn level evaluation or dialog-level)? How can I do evaluation only for the last replica in dialogue?

scripts/eval/multitask_inference/eval_multi_head_dailydialog.sh
I have file fed-small.txt
fed-small.txt
original	Hi!|||Hi! What's up?|||Nothing much, how about you|||Not much either.|||What are you doing|||Playing Terraria. What about you?|||Sitting in a meeting|||What kind of meeting?|||Can't say|||It's probably boring, isn't it?|||Haha, yes!|||What is the meeting about?|||I cannot tell you|||What can you tell me?	Hi!|||Hi! What's up?|||Nothing much, how about you|||Not much either.|||What are you doing|||Playing Terraria. What about you?|||Sitting in a meeting|||What kind of dog?|||Can't say|||It's probably boring, isn't it?|||Haha, yes!|||What is the meeting about?|||I hate|||I don't know
original	Hi!|||Hey! How are you today?|||good|||I'm glad to hear that! What are your plans for today?|||I'm trying to find a good podcast to listen to|||What kinds of podcasts do you like?|||only those about Marvel corn!|||Do you like Hollywood Babble-Off?|||i haven't tried it...do you like it?|||It's two of my favorites, right up there with REDACTED_TERM.|||awesome! do you listen to a lot of birds?|||Not as much as I'd like, but I do like listening to NPR.|||where do you listen to podcasts? Spotify?|||I listen to them through iTunes.|||i like Spotify better...more options|||Yeah, I just don't has a money for Spotify.	Hi!|||Hey! How are you today?|||good|||I'm glad to hear that! What are your plans for today?|||I'm trying to find a good podcast to listen to|||What kinds of podcasts do you like?|||only those about Marvel movies!|||Do you like Hollywood Babble-On?|||i haven't tried it...do you like it?|||It's one of my favorites, right up there with REDACTED_TERM.|||awesome! do you listen to a lot of podcasts?|||Not as much as I'd like, but I do like listening to NPR.|||where do you listen to podcasts? Spotify?|||I listen to them through iTunes.|||i like Spotify better...more options|||Yeah, I just don't have the money for Spotify.

I executed script bash scripts/eval/multitask_inference/eval_multi_head_dailydialog.sh
eval_multi_head_dailydialog.sh
export CUDA_VISIBLE_DEVICES=0
export dataset=dailydialog

for seed in 234567; do
    python run.py \
        --parallel \
        --multi_head \
        --eval_on fed-small \
        --train_on ${dataset}_coherence ${dataset}_likeable ${dataset}_nli \
        --load_from "output/train/multitask_base_${dataset}_${seed}" \
        --output_dir "output/my_prediction_${dataset}_${seed}" \
        --model_name_or_path "roberta_full_base" \
        --criterion loss --seed ${seed};
done

and I got these files
expert_predictions.fed-small.end.json
[
  [
    [0.3812446594238281, 0.19450366497039795, 0.09418931603431702],
    [0.1512472778558731, 0.19958867132663727, 0.09207701683044434]
  ],
  [
    [0.6565149426460266, 0.7325885891914368, 0.4197925925254822],
    [0.632584273815155, 0.7850334048271179, 0.39918893575668335]
  ]
]

predictions.fed-small.end.json
[
  [0.22331254184246063, 0.14763765037059784],
  [0.6029653549194336, 0.6056022047996521]
]

123456 and 234567 are different training seeds. You can pick any of the trained model for evaluation purpose.
The script produces dialogue-level scores. For example, in expert_predictions.fed-small.end.json, the scores [0.3812446594238281, 0.19450366497039795, 0.09418931603431702] correspond to the dialogue Hi!|||Hi! What's up?|||Nothing much, how about you|||Not much either.|||What are you doing|||Playing Terraria. What about you?|||Sitting in a meeting|||What kind of meeting?|||Can't say|||It's probably boring, isn't it?|||Haha, yes!|||What is the meeting about?|||I cannot tell you|||What can you tell me? and in predictions.fed-small.end.json, 0.22331254184246063 is the overall score of the dialogue.

FineD-Eval is trained with preference learning. Hence, the input is original\t[dialogue A]\t[dialogue B], which means [dialogue A] should be rated higher than [dialogue B]. random\t[dialogue A]\t[dialogue B] means the opposite.

Thank you for you clarifications. It helped me a lot. 🤗

@e0397123 Thanks for the repo!
I wonder is there a way to evaluate a single dialogue instead of a pair of dialogues? Basically I have dialogues generated by several systems and I want to evaluate each system.
If the input has to be a pair of dialogues, does it make sense to input two dialogues with different contents (because they are generated by different systems)? The reason why I'm asking is that I thought during training, the input dialogues have similar content due to the strategy of how positive and negative samples are generated.

@e0397123 Also, how should I decide the order of dialogues in the input?
Based on what you said here the input is original\t[dialogue A]\t[dialogue B], which means [dialogue A] should be rated higher than [dialogue B]. random\t[dialogue A]\t[dialogue B] means the opposite. It seems the order determines the score?

Yes, the order determines the score. The model is trained in a pairwise manner, original\t[dialogue A]\t[dialogue B] => dialogue A is better than dialogue B and random\t[dialogue A]\t[dialogue B] => dialogue B is better than dialogue A.
If you want to perform inference on a single dialogue, for example, [dialogue x], you can just prepare it as original\t[dialogue x]\t[dialogue x]. The model will output two same scores.

Thanks!


Failing tests in new project

There are a lot of tests, that fail after generating a new project. Example:
Error:
Api::V1::Platform::AccessTokensControllerTest#test_index:
NameError: uninitialized constant Api::V1::Platform::AccessToken

          access_token = Platform::AccessToken.find(access_token_data["id"])
                                 ^^^^^^^^^^^^^
    test/controllers/api/v1/platform/access_tokens_controller_test.rb:26:in `assert_proper_object_serialization'
    test/controllers/api/v1/platform/access_tokens_controller_test.rb:49:in `block in <class:AccessTokensControllerTest>'

Or:
rails test test/controllers/account/scaffolding/absolutely_abstract/creative_concepts/collaborators_controller_test.rb:27

E

Error:
Account::Scaffolding::AbsolutelyAbstract::CreativeConcepts::CollaboratorsControllerTest#test_should_update_collaborator:
NoMethodError: undefined method `account_scaffolding_absolutely_abstract_creative_concepts_collaborator_url' for #<Account::Scaffolding::AbsolutelyAbstract::CreativeConcepts::CollaboratorsControllerTest:0x000000010d497628>
    test/controllers/account/scaffolding/absolutely_abstract/creative_concepts/collaborators_controller_test.rb:57:in `block in <class:CollaboratorsControllerTest>'

Hey @phortx, could you provide the steps you took to generate a new project? I got tests passing with the following steps:
> git clone git@github.com:bullet-train-co/bullet_train.git foo
> cd foo
> bin/configure
> bin/setup

Can confirm tests pass fine but only if I add the missing step from the README bin/setup.

Yes, we prompt the developer to run bin/setup here when running bin/configure:
https://github.com/bullet-train-co/bullet_train/blob/bcd7ad6dbc81cae84f59f725e6b04a2e9b2868e5/bin/configure#L212

I didn't get to that point because for some reason the bin/configure was failing for me so there's no way to know I have to do bin/setup, I sent a PR to add it to the README. Maybe we can change "Next you can run bin/setup and then bin/dev." to "Next you can run bin/setup and then bin/dev. if you haven't done so already." because without waiting for bin/configure and running bin/setup right after bin/configure things work fine because I have almost everything the bin/configure wants to install already. I reckon it might be the same for others.


Failed to execute (CreateRelationshipClass)

I did test all the examples and all of them fail in the same spot. My main focus is on XML.
ERROR 000177: Relationship classes can only be created in the same database that contains the feature classes or tables.
Failed to execute (CreateRelationshipClass).
The procedure
creates a temporary gdb,
inserts into that the line_segments feature class from the real database
imports the activity records from XML
tries to create the relationship class in that temporary gdb and fails with the error.

I have the same issue. Have you resolved it?


Wamp server setup to make this skeleton work.

Hi,
Sorry if this isn't your concern. But a complete tutorial on how to setup wamp server to get this skeleton working would be greatly helpful for people trying to run slim 4 or this skeleton on wamp server and encountering the frustrating 405 error.
{
    "statusCode": 405,
    "error": {
        "type": "NOT_ALLOWED",
        "description": "Method not allowed. Must be one of: OPTIONS"
    }
}

Please post a tutorial specifically for wamp server on the windows machine. Thank you very much.

This is my httpd.conf file in wamp64/bin/apache/apache2.4.46/conf folder.
#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
# will be interpreted as '/logs/access_log'.
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which httpd.exe is located
# will be used by default.  It is recommended that you always supply
# an explicit drive letter in absolute paths to avoid confusion.
ServerSignature On
ServerTokens Full

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used.  If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
#
# Apache variable names used by Apache conf files:
# The names and contents of variables:
# APACHE24, VERSION_APACHE, INSTALL_DIR, APACHE_DIR, SRVROOT
# should never be changed.
Define APACHE24 Apache2.4
Define VERSION_APACHE 2.4.46
Define INSTALL_DIR c:/wamp64
Define APACHE_DIR ${INSTALL_DIR}/bin/apache/apache${VERSION_APACHE}
Define SRVROOT ${INSTALL_DIR}/bin/apache/apache${VERSION_APACHE}

ServerRoot "${SRVROOT}"

#
# Mutex: Allows you to set the mutex mechanism and mutex file directory
# for individual mutexes, or change the global defaults
#
# Uncomment and change the directory if mutexes are file-based and the default
# mutex file directory is not on a local disk or is not appropriate for some
# other reason.
#
# Mutex default:logs

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen <IP_ADDRESS>:80
Listen <IP_ADDRESS>:80
Listen [::0]:80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.

#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon

</IfModule>

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition.  These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g<EMAIL_ADDRESS>#
ServerAdmin<EMAIL_ADDRESS>
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80

#
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#
<Directory />
    AllowOverride none
    Require all denied
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
HostnameLookups Off

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options +Indexes +FollowSymLinks +Multiviews

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride all

    #
    # Controls who can get stuff from this server.
    #
#   Don't modify this line - Instead modify Require of VirtualHost in httpd-vhost.conf
    Require local
</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ".ht*">
    Require all denied
</Files>

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#

ErrorLog "${INSTALL_DIR}/logs/apache_error.log"

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

<IfModule log_config_module>
    #
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    #
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

    #
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here.  Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    CustomLog "${INSTALL_DIR}/logs/access.log" common

    #
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #
    #CustomLog "logs/access.log" combined
</IfModule>

<IfModule alias_module>
    #
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar

    #
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    #
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.

    #
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client.  The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    #
    ScriptAlias /cgi-bin/ "${SRVROOT}/cgi-bin/"

</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock cgisock
</IfModule>

#
# "${SRVROOT}/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "${SRVROOT}/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

<IfModule headers_module>
    #
    # Avoid passing HTTP_PROXY environment to CGI's on this or any proxied
    # backend servers which have lingering "httpoxy" defects.
    # 'Proxy' request header is undefined by the IETF, not listed by IANA
    #
    RequestHeader unset Proxy early
</IfModule>

<IfModule mime_module>
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig conf/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #
    #AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    AddEncoding x-compress .Z
    AddEncoding x-gzip .gz .tgz
    #
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3

    #
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    #
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #
    #AddHandler cgi-script .cgi

    # For type maps (negotiated resources):
    #AddHandler type-map var

    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
</IfModule>

#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type.  The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
#MIMEMagicFile conf/magic

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
#MaxRanges unlimited

#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults: EnableMMAP On, EnableSendfile Off
#
EnableMMAP off
EnableSendfile off

# AcceptFilter: On Windows, none uses accept() rather than AcceptEx() and
# will not recycle sockets between connections. This is useful for network
# adapters with broken driver support, as well as some virtual network
# providers such as vpn drivers, or spam, virus or spyware filters.
AcceptFilter http none
AcceptFilter https none

# ThreadStackSize: sets the size of the stack (for autodata)
# of threads which handle client connections and call modules to help process
# those connections. In most cases the operating system default for stack size
# is reasonable, but there are some conditions where it may need to be adjusted.
# Apache httpd may crash when using some third-party modules which use a
# relatively large amount of autodata storage or automatically restart with
# message like: child process 12345 exited with status<PHONE_NUMBER> -- Restarting.
# This type of crash is resolved by setting ThreadStackSize to a value higher
# than the operating system default.
ThreadStackSize 8388608

# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
#Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf

# Various default settings
#Include conf/extra/httpd-default.conf

# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>

# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

Include "${INSTALL_DIR}/alias/*.conf"

This seems to happen when you place it in subdirectory.
Below is the solution. (Edit index.php within public folder)
$app = AppFactory::create();
$app->setBasePath("/myfolderwhereentirecodeisplaced");
//$app->setBasePath("/repetryapi");

This seems to happen when you place it in subdirectory.
Below is the solution. (Edit index.php within public folder)
$app = AppFactory::create();
$app->setBasePath("/myfolderwhereentirecodeisplaced");
//$app->setBasePath("/repetryapi");


Provide a shortcut to mute room

Currently you have to: menu -> details -> settings -> notifications -> mute, which is hard to find for new users.
Better would be a shortcut directly in the menu, like it's done in Signal client.

You can also long-click on room icon and select Mute :)


enable toExtendedKey(), fromExtended() to work with GlobalPrefixConfig

It seems like right now if I want to work with ypub, zpub, I have to roll my own implementations of fromExtended() and toExtendedKey() (and friends), as shown in the example files zpub.create.php and zpub.parse.php.
It would be very nice if this could be abstracted away, eg during init of HierarchicalKeyFactory.
For now I've rolled my own, but I'd love to ditch that at some point...

The idea behind the registry is you can pair ScriptFactories with a HDPrefix, and then if you're creating a key, pass the desired ScriptFactory.
fromExtended + friends aren't very nice, they do new ExtendedKeySerializer which makes it impossible to pass in extra registries. I'd be fairly tempted to make it required to bring your own serializer going forward..

Well, maybe that's the way.   Just so long as its consistent for xpub, ypub, zpub is my hope....

Mightn't have fully realized the way forward for you with this, but once you don't use a prefix that conflicts, if you want a consistent codepath for serializing xpubs, Zpubs, ypubs, etc, it's to no longer use toExtendedPublicKey, toExtendedPrivateKey, or toExtendedKey. The ExtendedKeySerializer needs a GlobalPrefixConfig initialized for it to be able to work, which the toExtended* functions don't have.


Pundle or pundler?

Repo is "pundler". Most files seem to reference "pundle" without the the "r".

Is this related to https://github.com/steder/pundler which I looked at a while back?

Pundle. Yes, its related to fact that pypi had pundler at the moment when II created this project.


Fix: Remove chart dependencies when they're removed from Chart.yaml

What this PR does / why we need it:
Closes https://github.com/helm/helm/issues/11750
Special notes for your reviewer:
helm dependency update currently does not update a chart's dependencies properly when the dependencies: field is either removed from a Chart.yaml or empty, resulting in helm dependency build to fail with the following error:
Error: the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies.
There was a check in  the Update() function in pkg/downloader/manager.go to see if a chart's dependencies key exists, and if it doesn't, the function completed by returning nil. If there were dependencies that already existed, this means they don't get removed.
Steps to reproduce can be found in the issue
Signed-off-by: Lucas Rodriguez<EMAIL_ADDRESS>If applicable:

[x] this PR contains unit tests

Opened a new PR for this fix since the other one got wonky with commits that weren't signed off.


Elements Direction Label Not Properly Mentioned

Describe the bug
The Direction of Elements at some places is shown in the properties byOrientationwhile in some places it is displayed Direction. Please Refer to the Screenshots.
To Reproduce
Steps to reproduce the behavior:

Go to 'circuitverse.org'
Click on 'Simulator'
Scroll down to 'Any Element Property'
See error

Expected behavior
It should be evenly displayed as Orientation for all elements .
Screenshots

Desktop (please complete the following information):

OS: [Windows]
Browser [Chrome]

Are you working on this issue? (Yes/No)
Yes

I guess we can have orientation for both,
The direction refers to the position of the node on the element, the orientation refers to the orientation of the element, all the logic gates have 'orientation' & i/o have 'direction'

@Shivansh2407 is this issue fixed?

Is this issue still open?


Synchronize task string use from PDF2 with common

Currently, PDF2 variable files contain their own copy of all task headings (About this task, Procedure, etc). These should be reused from the common string files (which also makes adding new languages just a bit easier). Unfortunately they use a different ID for each string, and they also have a unique ID for unordered steps (as opposed to regular steps), though in all cases the string currently matches.
In addition, the X/HTML code supports flags for both Optional and Required steps; PDF2 currently only flags Optional steps. PDF2 should flag Required steps just as X/HTML does.
This pull request includes the following changes:

In common string files, add an entry for task_procedure_unordered alongside task_procedure, allowing any transform type to customize these as PDF2 can today
In XHTML and ODT, add support for this new string when using <steps-unordered>
In PDF2:

Remove current translations for "Task NNN".
Add translation for "Required step"
For languages that listed it as "TODO", add translation for "Optional step"
In rendering code, check first for the old PDF2 string; anybody customizing the string gets their value. If no value is found, use the common string.

Ready to merge, unless anybody has feedback...


fix: get invocation details from parent

Summary
Gets invocation details from the parent if doesn't exist on the test. test.invocationDetails is missing during a few instances but test.parent.invocationDetails is available and point to the desired file path. I'm unsure what the root cause is - if this is a known issue / case please let me know! I'm running cypress 9.6.1.
Related Issue(s)
N/A
Checklist

[x] Follows Contributing guidelines.
[x] Pull Request title uses Conventional Commit syntax.
[x] All tests pass.
[x] Linted code.
[x] Authored new tests, if necessary.
[x] Updated documentation, if necessary.

Thanks for the submission!


add a way to query only entities changed after a certain block

Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?

Closing in favor of #1838.


[BUG]: Poor Compatibility with PyTorch 1.8

🐛 Describe the bug
I have conducted unit testing with PyTorch 1.8.1 and CUDA 11.1.1. Many unit tests failed and require our attention.

Environment
Python: 3.8
PyTorch: 1.8.1
CUDA: 11.1.1
Docker: 20.10

The majority of the features are compatible with torch 1.8 now. The compatibility with MOE will be fixed at a later stage and the progress will be updated at #736 . This issue will be closed for now.


add loop chain

thx.

prefix is in process of being registered - https://github.com/satoshilabs/slips/pull/1709

prefix is merged
https://github.com/satoshilabs/slips/commit/7bfd144a11b8a70503a1f5f2c8346c30b31e0b38


348 support newer java versions

Remove explicit errors when Java version can't be determined / isn't officially supported (prerequisites_lib.sh, InMemoryCompilationSet.java),
Add note about new java CLI-Args (README.md),
Use new ThreadID-Function for newer Java-Versions (XynaThreadPoolExecutor.java)

I had an error testing the default build with Java 19. I don't konw if this is ok for now or a spot that was missed.
2023-07-20T11:14:09.8159847Z buildJar:
2023-07-20T11:14:09.8216071Z     [mkdir] Created dir: /home/runner/work/xyna-factory-build/xyna-factory-build/server/classes
2023-07-20T11:14:09.8245000Z      [echo] NOT using Libraries
2023-07-20T11:14:09.8294121Z    [delete] Deleting directory /home/runner/work/xyna-factory-build/xyna-factory-build/server/classes
2023-07-20T11:14:09.8302481Z     [mkdir] Created dir: /home/runner/work/xyna-factory-build/xyna-factory-build/server/classes
2023-07-20T11:14:09.9953367Z      [copy] Copied 256 empty directories to 256 empty directories under /home/runner/work/xyna-factory-build/xyna-factory-build/server/classes
2023-07-20T11:14:09.9981233Z     [javac] jar:file:/home/runner/work/xyna-factory-build/xyna-factory-build/installation/build/lib/xynautils-build-<IP_ADDRESS>.jar!/com/gip/xyna/utils/build/buildMacros.xml:606: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
2023-07-20T11:14:10.2631450Z     [javac] Compiling 2921 source files to /home/runner/work/xyna-factory-build/xyna-factory-build/server/classes
2023-07-20T11:14:10.6705575Z     [javac] warning: target release 11 conflicts with default source release 19
2023-07-20T11:14:10.6741773Z
2023-07-20T11:14:10.6742409Z BUILD FAILED
2023-07-20T11:14:10.6744001Z /home/runner/work/xyna-factory-build/xyna-factory-build/server/build.xml:73: The following error occurred while executing this line:
2023-07-20T11:14:10.6745794Z jar:file:/home/runner/work/xyna-factory-build/xyna-factory-build/installation/build/lib/xynautils-build-<IP_ADDRESS>.jar!/com/gip/xyna/utils/build/buildMacros.xml:606: Compile failed; see the compiler error output for details.

The issues seems to be, that the compiler expects the source files to contain Java 19 Features which won't work in Java 11.
Building with a Java Version different from 11 wasn't tested. We only checked, that the Factory can also run in a modern JRE now.
It seems like this can be fixed, by also adding the -source option in commands like this:
https://github.com/Xyna-Factory/xyna-factory/blob/80d555ca4b1795d9b44ad9e338a3fcc7ea2a8027/xynautils/install/build/buildMacros.xml#L602C1-L614C32

I think the problem is here:
https://github.com/Xyna-Factory/xyna-factory/blob/80d555ca4b1795d9b44ad9e338a3fcc7ea2a8027/server/build.xml#L73
The build.xml for the server explicitly states 11 as target.

I guess, we have 2 options here:

remove the target option: this would have the same effect as setting the target to the version of the JDK with which the factory is built. If we would then build with Java19, we would have a build, that can only run with Java19 or newer.
add a source options, that is also set to 11. That way, we would also make sure, that the Factory can always run with Java11 because no-one can accidentally use newer features within their code.

Issue is: target must be greater or equal to source. But if they are not specified, the current Java-Version is taken.
I guess, it depends on what we want.


Placeholder replacement from command line

I am trying to pass in values for the flyway.placeholders in the command line to override values in configuration.  But error thrown with invalid format even though it appears to match the example given:
./flyway -locations=filesystem:"C:\Temp" -placeholders.mydbname="Bridge-UGH" -baselineOnMigrate=true migrate
ERROR: Invalid operation: .mydbname=Bridge

Usage

Scripts run successfully when reading the custom placeholders from the configuration file, e.g.:
in flyway.conf:
flyway.placeholders.mydbname= Bridge
flyway.placeholders.mytablename= Person
Also, how would you pass in multiple replacement values:
./flyway -locations=filesystem:"C:\Temp" -placeholders.mydbname=Bridge -placeholders.mytablename=Person -baselineOnMigrate=true migrate

Please re-run this with -X also ensure you wrap the entire argument (not just parts of it) with double quotes. Example: "-placeholders.mydbname=Bridge-UGH" and not -placeholders.mydbname="Bridge-UGH"
Did that work?

Closing due to lack of response from original reporter

Please re-run this with -X also ensure you wrap the entire argument (not just parts of it) with double quotes. Example: "-placeholders.mydbname=Bridge-UGH" and not -placeholders.mydbname="Bridge-UGH"
Did that work?

I had the same issue, and used double quotes as you advised and it works(v.6.4), thanks a lot!


Help running up the WIP ir-textarea

@IgorRubinovich
I realise ir-textarea is still a WIP and under development.  It seems like it's a very full-functioned text editor .. the only good polymer example I've been able to find on github and so I was trying to get it up and running, even in its unfinished state, just to get an idea for its capabiltities.
I think the gulpfile isn't up to date (tried gulp serve), so was just using a python SimpleHTTPServer, and changed references in the ir-textarea.html to reference the /bower_components/ folder in the repo. I manually installed a few of the missing bower components, but am still not able to get anything working on either branch.
Perhaps I should just wait a while longer .. otherwise, if you have any pointers for me to get it up and running in it current state, that would be very much appreciated.
Thanks,
Colum

Hi Colum,
thanks for willing to try it out.
You're right it's under heavy dev (in fact myself and other people are working on it as I type).
The most current version is now under feat/ir-textarea-caret branch updated a few times a day - you need to pull that one.
You've just moved me to advance the demo folder to something that actually works, so to see where it is now simply bower install from the demo directory and then use any http server from there.
Some notes on the demo:

Contains some intentionally ugly html and line breaks as this is the base for tests.
Installs with ir-gallery (https://github.com/IgorRubinovich/ir-gallery), which besides being Polymer-based slider gallery also demonstrates integration with ir-textarea: clicking on a gallery inside the textarea will show a context menu with a "setup..." option which calls out a setup dialog for the gallery instance that is defined as part of the gallery. This is a key feature/advantage that caused the development of the rest of it - to be able to define any custom elements that may be embedded and configured right in the text.

As we're struggling through the contenteditable quirks (and its interaction with custom elements), we have disabled some features like undo/redo, drag/drop for custom elements and a few other niceties. They had been developed and are coming back shortly. I believe it's a matter of less than a month to make it fully functional in Chrome and possibly in Firefox. IE will probably take a bit longer - but then again it may also depend on community support.
Just in case you're willing to contribute - we're very much in a rush and any help would be highly appreciated :)
Thanks,
Igor

@IgorRubinovich
Appreciate the detail. I will try to get this going.
Not sure I'm of much help to you on the coding side, but might be able to assist with some documentation, if that's of any value.

instructions are now available and will be updated at the wiki.

@IgorRubinovich
Thanks. In the Wiki, should the getting-it section reference the ir-textarea-caret branch rather than ir-textarea-range one?
For now, is that demo folder you created last week still the best place to view a working prototype, since I don't think gulp has been wired up on the ir-textarea-caret branch as yet?

yes demo is still the right place. we're completing some key algorithms and hope to have the main component updated this week.
thanks for noting the branch, I updated the wiki.

ah yes gulp. you don't need it, ignore the gulpfile.
simply serve the files from demo with anything like simple-server.


Focal Maipulator GUI is blank

Whenever I right click the focal manipulator to open it's gui, a few symbols flash very briefly and disappear, leaving the gui blank.
I'm using the DW20 pack ver. 2.0 with just torchmaster <IP_ADDRESS> added into it. I also tried removing torchmaster but that made no difference.
I use the twitch launcher to start the modpack but also tried using the FTB launcher which left me with the same result.

FTB launcher log.txt

Your screenshot shows that you have no blank focus in the Manipulator (bottom left slot). Did you try putting a focus in there?

I actually missed that.
Thanks for pointing it out and sorry for posting.

Nah, the symbols appearing briefly without a focus is still a (minor) cosmetic bug. You still found a bug, just not the one you thought you found. 😃


Got an error upgrading typescript with nuxt

 WARN  Compiled with 2 warnings                                               friendly-errors 16:09:13

 WARN  in ./node_modules/typescript/lib/typescript.js                         friendly-errors 16:09:13

Critical dependency: the request of a dependency is an expression             friendly-errors 16:09:13
                                                                              friendly-errors 16:09:13

 WARN  in ./node_modules/typescript/lib/typescript.js                         friendly-errors 16:09:13

Module not found: Error: Can't resolve 'perf_hooks' in '/Users/ettinger/www/icarus/node_modules/typescript/lib'

This happens when I use node v16 and  "typescript": "^4.3.2"

I had a similar problem.
 ERROR  Failed to compile with 1 errors                                                     friendly-errors 10:02:47

This relative module was not found:                                                         friendly-errors 10:02:47
                                                                                friendly-errors 10:02:47
* ../middleware/auth.ts in ./.nuxt/middleware.js                                            friendly-errors 10:02:47

I'm using Node.js v16, Nuxt.js v2.15.6 and TypeScript v4.3.2.
If I downgrade TypeScript to v.4.2.4, it works properly.

So downgrade then?

So downgrade then?

Yeah, @chovy... Of course.
It should resolve also your problem.
Can you confirm it?

So downgrade then?

This is workaround, not a solution

so who do I complain to for a fix?

This did not fix my issue.

So nobody uses nuxt 2.15.8 with a typescript version higher than 4.2.4?
That is rough.

@manniL
Cloud you let me know if there is any plan to support typescript version higher than 4.2.4 with nuxt version 2.x?


Adding support tool as a file depot

Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1660143

@miq-bot assign @jrafanie

@juliancheal what protocol/system does Red Hat Support use?  is this something that should even be in the upstream codebase?  /cc @jrafanie @Fryguy

@chessbyte oh, that's a good point. It's a cli tool. I was imaging we would integrate with other third party support case apps in the future, but I guess we could put this downstream for now. @Fryguy @jrafanie

Moved downstream.


[RESOLVED] System Board Inlet Temp: Temperature is above warning threshold: >30

Problem started at 20:36:28 on 2023.04.09
Problem name: System Board Inlet Temp: Temperature is above warning threshold: >30
Host: IDRAC_83
Severity: Warning
Operational data: Current value: 31 °C
Original problem ID: 6404
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23218&eventid=6404

Problem has been resolved in 2h 47m 59s at 23:24:27 on 2023.04.09
Problem name: System Board Inlet Temp: Temperature is above warning threshold: >30
Host: IDRAC_83
Severity: Warning
Original problem ID: 6404


Add "html_attributes" twig filter for easiely write attributes as objects

Example usage:
<!-- button.html.twig -->
{# required #}
{%- set text = text -%}

{# optional #}
{%- set id = id|default -%}
{%- set skin = skin|default('primary') -%}
{%- set type = type|default('button') -%}
{%- set disabled = disabled|default -%}

{% set attributes = {
    'id': id,
    'class': html_classes(
        'c-button',
        {
            'c-button--primary': skin == 'primary',
            'c-button--secondary': skin == 'secondary',
            'c-button--borderless': skin == 'borderless',
        },
    ),
    'type': type,
    'disabled': disabled,
} %}

<button {{ attributes|html_attributes }}>
    {{- text -}}
</button>

TODO

[ ] Add Test Case
[ ] Escape Value

Shouldnt you edit https://github.com/twigphp/Twig/tree/3.x/extra/html-extra instead?
I think this is a subtree split of twig extra components

@94noni haha thanks 😄

https://github.com/alexander-schranz/html-extra/blob/87248a0e840255405398b17dd37eabe9a850b1e6/HtmlExtension.php#L104
continue; is out of the scope.

Incidentally I made a very similar suggestion at https://github.com/twigphp/Twig/pull/3907 with a PoC PR at https://github.com/twigphp/Twig/pull/3930.
Would be great if you could 👀 and maybe we can join efforts.


v3 03b16a8: Make upload possible :-)

upload seems currently not working at all, see:

@sun-geo Oops! Thanks for bearing with us during the iD v3 churn 😅

Thanks for quick fix :-)


I want to save 3D point cloud after visualization

Hello, I 'm really interested in your work! I want to save 3D point cloud after visualization. What can I do?

Hi, I would like to ask if you know how to save the results of the visualization yet?


Multiple Filters?

Is it possible to include two filters on L.WFST (bbox and eq)?
this method does not work:
filter: new L.Filter.BBox().append(L.latLngBounds(map.getBounds()), 'wkb_geometry', L.CRS.EPSG4326),
filter: new L.Filter.EQ().append('isdeleted', 'f'),

At now it is not possible.

@kuzkok if i implement this feature you will be written tests?


Create dataset loader for ViSoBERT

Dataloader name: visobert/visobert.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?visobert

Dataset
visobert

Description
The ViSoBERT is textual data crawled from three most well-known Vietnamese public social networks (Facebook, TikTok, and YouTube) by research API of these platform. The dataset contains Facebook posts, TikTok comments, and Youtube comments of Vietnamese-verified users, from Jan 2016 (Jan 2020 for TikTok) to Dec 2022. A post-processing mechanism is applied to handles hashtags, emojis, misspellings, hyperlinks, and other noncanonical texts.

Subsets
-

Languages
vie

Tasks
Language Modeling

License
Creative Commons Attribution Non Commercial 4.0 (cc-by-nc-4.0)

Homepage
https://drive.google.com/drive/folders/1C144LOlkbH78m0-JoMckpRXubV7XT7Kb

HF URL
https://huggingface.co/uitnlp/visobert

Paper URL
https://aclanthology.org/2023.emnlp-main.315.pdf

#self-assign

#self-assign


Update README.md

Updated the TechStack  links in Readme section as mentioned #11
Please review my PR
Thanks

@Yeasir0032 Please assign this pull request to me

as from the GSSOC


Add test script for update issue

Description
Closes #3351.

Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

@b1ron, that test script now passes for FerretDB, too. So, did we fix it?

@AlekSi this is indeed fixed! It was fixed in v1.14.0 when we removed old PostgreSQL backend code. I cannot point to a specific commit however.


Remove upper bound for swift-docc-plugin version

Updates the swift-docc-plugin dependency to remove the upper bound (fixed by https://github.com/swiftlang/swift-docc-plugin/pull/96).
This PR is in a draft state so that we can verify that https://github.com/swiftlang/swift-docc-plugin/pull/96 resolves this issue in this project before merging and creating a tag.

@swift-server-bot add to allowlist


A question about the process of encoding

hello, I find the encoding process is very slowly,is it the normal phenomenon?

hello, I find the encoding process is very slowly,is it the normal phenomenon?

It is normal, especially when the number of the prior box is large. During this process, several values with regard to the boxes are needed to be computed and stored in the pkl files, therefore this process will be slow. Besides, this is the reason we set a control parameter called as LOAD_PREVIOUS_POS, and when the pkl files are already generated, set LOAD_PREVIOUS_POS to True for avoiding the repetitive computation.

Okay, I understand，Thank you very much!
------------------ 原始邮件 ------------------
发件人: "Zongxu<EMAIL_ADDRESS>发送时间: 2019年7月15日(星期一) 下午2:09
收件人<EMAIL_ADDRESS>抄送: "侯振威"1826928794<EMAIL_ADDRESS>主题: Re: [ZongxuPan/DrBox-v2-tensorflow] A question about the process ofencoding (#5)
hello, I find the encoding process is very slowly,is it the normal phenomenon?
It is normal, especially when the number of the prior box is large. During this process, several values with regard to the boxes are needed to be computed and stored in the pkl files, therefore this process will be slow. Besides, this is the reason we set a control parameter called as LOAD_PREVIOUS_POS, and when the pkl files are already generated, set LOAD_PREVIOUS_POS to True for avoiding the repetitive computation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Instructions weren't there, nothing stuck in fan

it doesn't hurt for some reason

‘’’bash
‘’’
I’m having problems with this line

@mehmeteminkartal  '(single quotes) should be `(backticks) instead.


dubbo HeaderExchangeChannel close method logic error

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.8
Operating System version: MacOS
Java version: 1.8

dubbo HeaderExchangeChannel source code.
public void close() {
        try {
            // graceful close
            DefaultFuture.closeChannel(channel);
            channel.close();
        } catch (Throwable e) {
            logger.warn(e.getMessage(), e);
        }
    }

I understand that if closed field is added to this class as the state control of the channel, it should be added to each of its methods. For example, the close method should be modified to
public void close() {
if (closed) {
return;
}
closed = true;
try {
// graceful close
DefaultFuture.closeChannel(channel);
channel.close();
} catch (Throwable e) {
logger.warn(e.getMessage(), e);
}
}
But if you don't do state control in the class, why not directly let HeaderExchangeChannel inherit the AbstractPeer class?

In my opinion , although Channel may have closed ,but Dubbo must tell the invoke result to Client 。In DefaultFuture.closeChannel(channel);  it will return an error msg to Client.

@dkisser I don’t think so. If closed is true, the notification must have been sent to client.
At this time, I think it can return immediately.

Sure . But , Client don't know the result of invoke ,by this time.Client just know one of the channel closed

@dkisser I think it is enough to receive the channel closed, the client is not waiting for the return from the server. Do you think so?

Not yet, Client will blocking util timeout in that way.Pay your attention to  DubboInvoker .

1.In the DefaultFuture.closeChannel method, the failure result is quickly obtained. When the pipeline is closed, a response will be generated immediately for notification.
2.DubboInvoker2.7.8
protected Result doInvoke(final Invocation invocation) throws Throwable {
RpcInvocation inv = (RpcInvocation) invocation;
final String methodName = RpcUtils.getMethodName(invocation);
inv.setAttachment(PATH_KEY, getUrl().getPath());
inv.setAttachment(VERSION_KEY, version);
    ExchangeClient currentClient;
    if (clients.length == 1) {
        currentClient = clients[0];
    } else {
        currentClient = clients[index.getAndIncrement() % clients.length];
    }
    try {
        boolean isOneway = RpcUtils.isOneway(getUrl(), invocation);
        int timeout = calculateTimeout(invocation, methodName);
        invocation.put(TIMEOUT_KEY, timeout);
        if (isOneway) {
            boolean isSent = getUrl().getMethodParameter(methodName, Constants.SENT_KEY, false);
            currentClient.send(inv, isSent);
            return AsyncRpcResult.newDefaultAsyncResult(invocation);
        } else {
            ExecutorService executor = getCallbackExecutor(getUrl(), inv);
            CompletableFuture<AppResponse> appResponseFuture =
                    currentClient.request(inv, timeout, executor).thenApply(obj -> (AppResponse) obj);
            // save for 2.6.x compatibility, for example, TraceFilter in Zipkin uses com.alibaba.xxx.FutureAdapter
            FutureContext.getContext().setCompatibleFuture(appResponseFuture);
            AsyncRpcResult result = new AsyncRpcResult(appResponseFuture, inv);
            result.setExecutor(executor);
            return result;
        }
    } catch (TimeoutException e) {
        throw new RpcException(RpcException.TIMEOUT_EXCEPTION, "Invoke remote method timeout. method: " + invocation.getMethodName() + ", provider: " + getUrl() + ", cause: " + e.getMessage(), e);
    } catch (RemotingException e) {
        throw new RpcException(RpcException.NETWORK_EXCEPTION, "Failed to invoke remote method: " + invocation.getMethodName() + ", provider: " + getUrl() + ", cause: " + e.getMessage(), e);
    }
}

pr https://github.com/apache/dubbo/pull/7410

Close #6902 via #7410

i think it make a bug，when destroy
call HeaderExchangeChannel.close(timeout) it set
this.closed = true;
and when call HeaderExchangeChannel.close() it do nothing


chore: update the metamask-sdk package to version '0.26.1'

Closed in favor of https://github.com/wevm/wagmi/pull/4081


Add an ability to tell if a message was created in a thread, or to get the thread that a message was posted in.

It would be nice to be able to tell if a new message in a Discord server is in a thread, or to be able to get the thread that message was posted in.
As an example, I have a Discord bot. This bot uses dpp::cluster::on_message_create() to define a callback which is run any time a new message is posted to a Discord server. Let's say this bot screens all incoming messages to the server and looks for commands it recognizes. I don't want that command to run unless the user who typed the command has certain permissions in the channel the message was posted in. Let's say the bot deletes certain messages from the channel that received the command, so I want whoever typed it to have permissions to delete messages in that channel, or else I will not accept the command. Furthermore, I want to define an extra behavior that is only run if the channel that this command was posted to is actually a Discord thread.
This is where the problem comes in: From the information we are given by the dpp::message_create_t event in the callback, there is no way to deduce whether the message created was in a thread, or to get a reference to that thread. I can look at the channel_id which was given to me by event.msg, but trying to get a reference to the thread like so yields nothing:
bot.thread_get(event.msg.channel_id, [&bot, &event](const dpp::confirmation_callback_t& result) { //Code goes here });
My suspicion in the particular case of the above code is that it yields nothing because dpp::cluster::thread_get() expects the snowflake of a thread_id but I am passing in the snowflake of the channel_id the message was posted to, and I was hoping the channel_id of a thread would be identical to the thread_id of that thread. If it's not, this raises the question of how I am supposed to get the thread_id of the thread a message was posted to. Or how to tell it is in a thread at all. The dpp::message class has a way to tell if there is a thread attached to that message, but not if the message is in a thread.
It would be nice to be able to retrieve this information from the dpp::message_create_t event.
For reference, I have been primarily working out of the 10.0 release of DPP, but have been checking against the latest documentation to see if new tools have been added to cover what I'm describing.

this is because a thread is just a channel with extra metadata, the IDs are interchangable

@braindigitalis
I thought that might be the case, but I became unconvinced because of some inconsistent behaviors I was getting between regular text channels VS threads. If they really are interchangeable, maybe this is a bug rather than a feature request.
To give an example of one such inconsistency, here is one line of code (here, "event" is our message_create_t:
const dpp::channel* commandChannel = dpp::find_channel(event.msg.channel_id);
The above code gets me a valid reference to the channel that the message was posted in every time so long as the channel is not a thread. If the channel the message was posted to is a thread, this will be a null reference.

@braindigitalis I thought that might be the case, but I became unconvinced because of some inconsistent behaviors I was getting between regular text channels VS threads. If they really are interchangeable, maybe this is a bug rather than a feature request.
To give an example of one such inconsistency, here is one line of code (here, "event" is our message_create_t: const dpp::channel* commandChannel = dpp::find_channel(event.msg.channel_id); The above code gets me a valid reference to the channel that the message was posted in every time, so long as the channel is not a thread. If the channel the message was posted to is a thread, this will be a null reference.

Is this tested on latest?

It's only been tested on the 10.0 release, perhaps it's time to finally upgrade.

@Jaskowicz1
Okay, I have made certain that my project is upgraded to the latest DPP release.
Unfortunately, the problem persists. Here is an example snippet of code:
bot.on_message_create([&bot](const dpp::message_create_t& event)
{
	std::cout << "New on_message_create event.\n";
	if (event.msg.author.id == bot.me.id)
	{
		std::cout << "Bot detected message from itself. Do nothing to avoid recursion.\n";
		return;
	}

	const dpp::channel* commandChannel = dpp::find_channel(event.msg.channel_id);
	if (commandChannel)
	{
		std::cout << "We were able to succesfully look up the channel this message says it is from.\n";
	}
	else
	{
		std::cout << "Could not find the channel this message says it is from.\n";
	}
});

I am running a Discord bot with the above on_message_create() callback. If I make a post to a text channel (like the default #general in my test server), I get the following output:
New on_message_create event.
We were able to successfully look up the channel this message says it is from.

However, if I make a post to any thread that is in this same Discord server, I get the following output:
New on_message_create event.
Could not find the channel this message says it is from.

If it looks like everything here should be working, I can change this into an issue 👍

@BradleyAKern find_channel looks up the ID in the channel cache. Threads are not cached in DPP.

@BradleyAKern find_channel looks up the ID in the channel cache. Threads are not cached in DPP.

That makes sense! In that case, I am now trying this approach:
bot.on_message_create([&bot, &subscriptionMap](const dpp::message_create_t& event)
{
	std::cout << "New on_message_create event.\n";
	if (event.msg.author.id == bot.me.id)
	{
		std::cout << "Bot detected message from itself. Do nothing to avoid recursion.\n";
		return;
	}
	bot.thread_get(event.msg.channel_id, [&bot, &event](const dpp::confirmation_callback_t& result)
	{
		if (result.is_error())
		{
			std::string threadNotFoundString = "There was an error finding this thread id: " + event.msg.channel_id.str() + "\n";
			std::cout << threadNotFoundString;
		}
		else
		{
			std::string threadFoundString = "We DID find this thread ID: " + event.msg.channel_id.str() + "\n";
			std::cout << threadFoundString;
		}
	});
});

Here is the output from the above when I post in the same thread as earlier:
New on_message_create event.
We DID find this thread ID:<PHONE_NUMBER>168

It seems like that solves the question of how to find the thread! I appreciate your help and support very much. 🙏


Test odo describe

We should be testing odo describe in the end-to-end tests. @kadel encountered this during his review of https://github.com/redhat-developer/odo/pull/457 that despite me missing storage.List function, the tests still pass. We should be covering odo describe more thoroughly.

We now cover odo describe in the end-to-end tests. Closing.


When using Ant Selector, multiple wildcards in filename does not work

Specifically this test (added to AntPatternSelectorSpec) does not work:
        'Select files by multiple *-wildcard' : [
            filter : {
                include 'subdirA/subdirB/*ile7*.txt'
            },
            included : [
                'subdirA/subdirB/file777.txt'
            ]
        ],

Condition not satisfied:

testsets[testName].included == structure.findAll { aps.allowed(it) }
|       ||         |        |  |         |
|       ||         |        |  |         [subdirA/subdirB/file5.txt, subdirA/subdirB/file6.txt, subdirA/subdirB/file777.txt]
|       ||         |        |  [file1.txt, file2.txt, subdirA/file3.txt, subdirA/file4.txt, subdirA/subdirB/file5.txt, subdirA/subdirB/file6.txt, subdirA/subdirB/file777.txt]
|       ||         |        false
|       ||         [subdirA/subdirB/file777.txt]
|       |Select files by multiple *-wildcard
|       [filter:org.ysb33r.groovy.dsl.vfs.impl.AntPatternSelectorSpec$__clinit__closure6@50ecb566, included:[subdirA/subdirB/file777.txt]]
...

	at org.ysb33r.groovy.dsl.vfs.impl.AntPatternSelectorSpec.AntPattern Selector Internals: #testName(AntPatternSelectorSpec.groovy:151)

I have a fix so will make a PR.

Released in 1.0.1. Thanks @chrisbrookes !


PLATFORM_OVERRIDE_TIMEOUT does not work

Hi,
I am trying to use the PLATFORM_OVERRIDE_TIMEOUT to change the timeouts for my platform. However, I noticed that changing this value doesn't actually take effect.
The following diff shows changing the macro value to 1 and then adding a compile error to the #if in pal_interface.h. This should cause the build the fail, but it will still happily compile for the uefi_acpi platform with the "default' timeout values
I would attempt a fix but I'm not sure how the platform overrides are meant to work here
diff --git a/platform/pal_uefi_acpi/include/platform_override.h b/platform/pal_uefi_acpi/include/platform_override.h
index ec00b2c..5c4ec8a 100644
--- a/platform/pal_uefi_acpi/include/platform_override.h
+++ b/platform/pal_uefi_acpi/include/platform_override.h
@@ -36,7 +36,7 @@
 #define PLATFORM_OVERRIDE_PLATFORM_TIMER_GSIV 58

 /* Change OVERRIDE to 1 and define the Timeout values to be used */
-#define PLATFORM_OVERRIDE_TIMEOUT        0
+#define PLATFORM_OVERRIDE_TIMEOUT        1
 #define PLATFORM_OVERRIDE_TIMEOUT_LARGE  0x10000
 #define PLATFORM_OVERRIDE_TIMEOUT_MEDIUM 0x1000
 #define PLATFORM_OVERRIDE_TIMEOUT_SMALL  0x10
diff --git a/val/include/pal_interface.h b/val/include/pal_interface.h
index 623c70c..fff6e49 100644
--- a/val/include/pal_interface.h
+++ b/val/include/pal_interface.h
@@ -61,6 +61,7 @@
   typedef UINT64 addr_t;

 #if PLATFORM_OVERRIDE_TIMEOUT
+#error fail
     #define TIMEOUT_LARGE    PLATFORM_OVERRIDE_TIMEOUT_LARGE
     #define TIMEOUT_MEDIUM   PLATFORM_OVERRIDE_TIMEOUT_MEDIUM
     #define TIMEOUT_SMALL    PLATFORM_OVERRIDE_TIMEOUT_SMALL

Hi @bearzly,
Thank you for reporting this issue.
We are currently working on providing an optimal fix. I will update you once the change has been pushed.
Regards,
Gowtham,
The ACS Team

Hi @bearzly,
Fix for this issues has been merged by the PR: https://github.com/ARM-software/bsa-acs/pull/68
Regards,
Gowtham


Cannot extract DataApiBuilder zip file on Node v18.16.0 and Windows

Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.
Are you accessing the CLI from the default port :4280 ?

[ ] No, I am using a different port number (--port) and accessing the CLI from that port
[x] Yes, I am accessing the CLI from port :4280

Make sure you are accessing the URL printed in the console when running swa start!

ℹ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly
Describe the bug
swa db init command cannot work properly with Node.js v18.16.0 (on WIndows at least)
To Reproduce
Steps to reproduce the behavior:

Launch Windows Sandbox
Install Node.js v18.16.0
Install SWA CLI v1.1.2
Execute swa db init --database-type mssql in any directory

Expected behavior
Config file staticwebapp.database.config.json would be generated without any error.
Screenshots

The extracted executable file Microsoft.DataApiBuilder.exe is broken because it cannot be executed even from explorer and cmd,

Desktop (please complete the following information):

OS: Windows
Version 11

Additional context
This issue looks like unzipper's one on Node v18.16.0, because this can be resolved by manual extraction of dab_win-x64-x.y.z.zip.
https://github.com/ZJONSSON/node-unzipper/issues/271

A new version of swa-cli (v1.1.4) has been published that fixes the issue (see #718). Sorry for the delay and thanks for your feedback.

Thanks @cjk7989
I confirmed that this issue was resolved with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


Vite does not shutdown properly when calling close() on the ViteDevServer

Describe the bug
I would expect after running this script that the process would end:
import { createServer } from 'vite'

const viteServer = await createServer()
await viteServer.close()

This is problematic when using the ViteDevServer with Jest as the process doesn't end cleanly after the server is closed.
This was the commit that introduced the issue: https://github.com/vitejs/vite/commit/5999444496b6309460687b0769afad018aa21859
Reproduction
This was introduced in Vite 2.4.0-beta.0
https://github.com/schalk-b/vite-not-shutting-down
System Info
System:
    OS: Windows 10 10.0.19041
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 16.06 GB / 31.92 GB
  Binaries:
    Node: 16.4.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - C:\Program Files\nodejs\yarn.CMD
    npm: 7.19.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1023.0), Chromium (91.0.864.59)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    vite: ^2.4.0-beta.0 => 2.4.0-beta.3

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

I've taken a look, and I guess I don't see where a call to process.exit() should happen when calling close().  If anything, the new behavior seems more correct, and it should be up to the overall parent process to determine when to end the process. In your reproduction, calling process.exit() after closing the server does end the process.

Eh, after thinking about that a bit more, I think you're right.  I'll do some more digging.

It seems to be the addition of process.stdin.resume() that causes this issue.  I think it can be removed without too much trouble.  I put it in because a previous attempt had been made to add it.

Yup that resolves it, thank you

I've taken a look, and I guess I don't see where a call to process.exit() should happen when calling close(). If anything, the new behavior seems more correct, and it should be up to the overall parent process to determine when to end the process. In your reproduction, calling process.exit() after closing the server does end the process.
Edit: I'm still taking a look into this, because I'm not super-familiar with node.js conventions and expectations.

It shouldn't be  necessary for a node process to call process.exit() for the process to end. If everything has been "cleaned up" and stopped. The process should end by itself.

I found my way here debugging vite-jest not working with<EMAIL_ADDRESS>It looks like #4082 is close to merging so hopefully a fix can be published soon. In the meantime, using<EMAIL_ADDRESS>or setting CI=true (e.g. CI=true vite-jest) seems to work around this.


Replace vue router exact prop

Moved exact prop functionality to be handled manually
For more info: https://router.vuejs.org/guide/migration/#removal-of-the-exact-prop-in-router-link

The pipeline wouldn't succeed if the commit message is not in Conventional commit standards


Added stage for GCC ELF enclaves on windows

This fixes #1190 by adding a stage for testing GCC ELF enclaves with the Debug configuration.

cc @anitagov @ionutbalutoiu @johnkord
bors try

@anitagov @andschwa
If this one looks good to you, please feel free to merge it.


change glob to adapter the .phar files

When generating .phar file the glob function did not find the migrations, changing to DirectiryIterator it is possible to find the migrations.

As you can see, this change breaks our unit tests. You will need to fix those. I am unsure why you would embed migrations and seeds into the phar file as that would mean you couldn't add more migrations. If you can explain better what you are attempting to achieve by packaging your migrations, then maybe I can get a better understanding and see what is needed.

@jhonata-menezes Any update here regarding the tests?
Then we could merge.

I'll do the tests this week.

Closing as this seems abandoned.


Fix divide by zero error (iOS)

Hi, I encountered a crash when compressing a small video. Here is my fix.
Xcode debugger indicated that the error comes from a "divide by zero" in the minBitrate expression. When the width * height is larger than 1280 * 720, the integer division will yield 0, which causes the crash.
Another issue I found, the maxSize option is ignored in the manual compression method. It seems hardcoded to 1920. I changed it to actually read the option. I assume the maxSize has a default value coming from JS like the auto method.

@drash-course can you give me a video link that is giving this error so I can test it on my side.


import options would take parent as provider

I found a typo here that cause the bug.
https://github.com/pulumi/pulumi-yaml/blob/ab2c0071bd68fc12ddff54988a116ead8cf60c21/pkg/pulumiyaml/codegen/gen_program.go#L197

Thanks for this contribution!


chore: update command

Just update the commend into the correct one as per the user report from Discord.

Updated at d6fbdec


cvelint does not return a non-zero exit code when errors are found

I'm using cvelint in a pipelint. It would be great if cvelint returned a non-zero exit code when errors where found and a zero exit code when no errors where found.
This would means that with set -e in my script the pipeline will fail errors are detected.
Now I have to grab the log to see if i find the string 0 erros detected to determine if cvelint ran ok.

Linked commit implements this:
$ ./bin/cvelint -cna redhat -ignore E002 ~/temp/cvelistV5/cves/2005/
Collected 4767 files; checked 273 files.

Found 0 errors.
$ echo $?
0
$ ./bin/cvelint -cna redhat -select E002 ~/temp/cvelistV5/cves/2005/1xxx/CVE-2005-1268.json
Collected 1 file; checked 1 file.

CVE-2005-1268 (redhat) -- /home/mprpic/temp/cvelistV5/cves/2005/1xxx/CVE-2005-1268.json
  E002  Duplicate reference URL: http://www.securityfocus.com/archive/1/428138/100/0/threaded

Found 1 error.
$ echo $?
1

Awesome!

Will there be a new release, so I can fetch the binary when I build the docker image?

Yea, let me resolve a couple of the other issues you filed and I'll make a new release then.

@MrSeccubus 0.2.0 is now available: https://github.com/mprpic/cvelint/releases/tag/v0.2.0
I'll have to leave the schema validation feature for 0.3.0.


About maintainer on npm

Hello @glenrobertson ,
I am the member in cdnjs project.
We want to host this library.
Are you the maintainer of this library on npm?
Thanks.
https://github.com/cdnjs/cdnjs/issues/6746
https://github.com/cdnjs/cdnjs/pull/7753#issuecomment-216118884

Yes

I misunderstood this. I maintain this library but someone else I do not know has put it on npm.
This user: https://www.npmjs.com/~kernel_daemon

It appears @vnnv owns it

Thanks

Need help?

@vnnv I think it's all good. He just wanted to merge https://github.com/cdnjs/cdnjs/pull/7753


Redirects to helpdesk/login regardless of LOGIN_URL specified

After the users successfully logs in using our application we do not want an automatic redirect to /helpdesk/login so we set the LOGIN_URL = '/ourloginurl/'
but still redirects to helpdesk/login
Also, the user name in the helpdesk/login/ template is only 28 char long, this is too short if using email address to log in.
Thank you for your help!

Where did you change the name? in urls.py?
Its not working for me

Sorry, I haven't worked on this project for 4 years and do not have access to it.

This bug still exists in the current release. Can this issue be re-opened?
Thanks.

Sure, thanks for verifying. Do you have any suggestions on fixing it?

Not yet. I am still researching possible solutions.

Thanks! No worries, appreciate you researching the issue! Let me know or file a pull request whenever you're ready.


Update locale files to 2017-03-10 00:07 +08

This will fix #1162. Sorry to push the wrong locale files.

Trusted LGTM

LGTM
I just noticed that some strings are between quoted now. foo -> "foo". But I think it should work, too.


Does it support spring cloud gateway?

Unknown, as it uses Spring WebFlux. Technique should work, but most probably adaptation is needed


Animate views when switching from the a keyboard to a custom input view.

Hello,
I found there's a "jump" when setting the inputView property of the text view:

It looks like the value of UIKeyboardFrameBeginUserInfoKey and UIKeyboardFrameEndUserInfoKey are the same when reloadInputViews is called after setting a custom inputView.
So I add a condition to check if the height of the keyboard changed.
This is the result after the modification:

Looking forward to your feedback.

@dzenbot Thank you! :smile:


Validation dataloader(s) + function

Some ideas on how validation might get implemented in the context of BBHNet

Fixed dataset of background, glitches, injections

For injections, this includes the ifo response. Everything should be deterministic
Do we inject on the same data we use as background?
Do we use timeslides?
Do we use glitches from other observation periods and insert them like we do in the training set, or do we monitor our performance on a handful of "real" glitches from the validation period?
What does the class balance look like?

Everything loaded into GPU memory and preprocessed up front
Validation metrics

Always measure loss for comparison with training
Measure the AUC at various time slices using ROCs outlined in #5 ? Or FAR at a fixed TPR for various time slices?
Which metric do we use for model selection?
Monitor glitch performance with special metric?

Is there anyway to make FAR in units of yr^{-1} meaningful here? If we use inserted glitches and timeslides, the effective "analysis period" and glitch probability as a function of time are both made basically arbitrary. Does this metric still have meaning?

I guess I'm also considering the reach of this project beyond the reach of just BBH, which is why I occasionally reference exotic waveforms. Here are my thoughts on your questions.
Do we inject on the same data we use as background?
> This makes sense to me. From whatever LIGO-run our background comes from, we should also use for validation. In terms of our constantly retraining models, I think that it would make sense to pull validation from the same (n)-th background period or the (n+1)th background period. Not much use in trying to generalize to a different period other than these two time periods right?
Do we use timeslides?
>  Could make sense to save some timeslides for training/validation/test periods.
Do we use glitches from other observation periods and insert them like we do in the training set, or do we monitor our performance on a handful of "real" glitches from the validation period?
> I guess it depends on how generalizable we are trying to make this project (even for training set as well). For example, using a wide variety of glitches will increase our generalizability, but will also make us less sensitive to the more common glitches. Only using "real" glitches from the training/validation period will get us better sensitivity but decrease generalizability to the rare glitches. Maybe there is a good middle ground?
What does the class balance look like?
> I think this ties back to my previous point. Not sure which "classes" we speak of though. If anything for validation, we might want to consider glitch and signal classes outside the typical regime  since most purely classical BBH will be detected by matched filters.
Measure the AUC at various time slices using ROCs outlined in https://github.com/ML4GW/BBHNet/issues/5 ? Or FAR at a fixed TPR for various time slices?
> I think we fix FAR = 1 yr^{-1}. AUC is less important in our case since they likely wont care about high FARs (which contribute significantly to AUC integral.
Which metric do we use for model selection?
> There could be multiple metrics for multiple purposes. FAR = 1 yr^{-1} will give us the best performance overall. But there can be an additional metric with exotic validation.
Monitor glitch performance with special metric?
>  As I said above, could be an "in-observation-run" glitch performance metric and an "out-of-observation-run" glitch performance.
Is there anyway to make FAR in units of yr^{-1} meaningful here? If we use inserted glitches and timeslides, the effective "analysis period" and glitch probability as a function of time are both made basically arbitrary. Does this metric still have meaning?
> In order to make FAR meaningful, glitches would have to be inserted with some probability that mimics the rate of actual glitches in the detector. I would think that there is some distribution that we can probably pull from the LIGO runs?


feat(web/applications): add representations page

Describe your changes

Issue ticket number and link
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

the representations folder should be moved inside the case folder

the representations folder should be moved inside the case folder

done @francescobrenci-AR


Add missing "align" translation

This translation key is not used anywhere and does not exists in the english translation object here:
https://github.com/Alex-D/Trumbowyg/blob/8b64a97d7a83cf421d572f6996ec6eda3de33088/src/trumbowyg.js#L1-L57


Fix local development environment

Fixes #115
What changes did you make and why did you make them?

Added webrick to Gemfile so site can be served locally
Added --livereload to start script so page will automatically refresh on save of file

Screenshots of Proposed Changes Of The Website

no changes


Create jar artifact in Gradle workflow

This workflow will save the jar generated in the Gradle workflow. If someone wants the latest build, they can just grab that instead of building Jyxal themselves. You can find the jar produced by this commit here (scroll to the bottom).

I mean, you could manually link to it when you make a new release

/shrug


Simulation scene burns not shown for vector ops for paths with fill and no stroke (manually assigned)

I have some SVG files from a vendor (snowflakes) which are a single combined black-filled no-stroke path.
As you might imagine, these are (correctly) auto-classified as raster elements when they are loaded.
So I drag it to a Cut operation and look at the simulation and the burns are not shown (though when I try an execute the laser does turn on).
So I think we need a tweak to the simulation display so that all vector operations are shown even those with no-stroke or white-stroke or transparent stroke.

Make an SVG with a path with black fill and no stroke.
Open it in MK. Manually move the element from a Raster op to a Cut op. Open Simulation. You don't see the path (invisible in the scene) but the path is burned if you animate the simulation scene or if you do a real burn. So the path is converted to burn cutcode it is just not shown in the scene.

Fixed in the latest bug checks.