"Auto brace complete" cause tokenizer error with strings as comments

Godot version:
3.2
OS/device including version:
Description:    Manjaro Linux
Release:        18.1.5
Codename:       Juhraya
Kernel: Linux 5.4.15-2-MANJARO
Architecture: x86-64
Issue description:
When auto brace complete is turned on an one tries to use multiline strings (or standard strings) as comments the console will output the folowing error when opening a parenthesis or any bracket.
modules/gdscript/gdscript_tokenizer.cpp:1129 - Condition "tk_rb[ofs].type != TK_IDENTIFIER" is true. Returned: StringName()

It doesn't seem to break the editor in any way, however.
Steps to reproduce:

check that "Auto Brace Complete" is enabled in Editor Settings
on an empty line on any script type the following: "( or """(
Expected:
no errors since ( [ { are valid characters inside a string
Actual:
as soon as the bracket is auto closed the tokenizer will print the error described above

When my Auto-brace complete is ON, and I typed " on new line I immediately got completing " character - so it's a valid String.
So the question is - is your Auto-Brace completion work as expected? You're showing in 'Steps to reproduce' unfinished Strings which are invalid of course - but what do you expect then?
Can you record a GIF showing that issue, it's hard to reproduce with above description.

@dreamsComeTrue maybe my instructions were not clear enough. You are supposed to type "( or """( and not only the " will be autocompleted but also the closing ) and that will trigger a tokenizer error
Here's a gif showing that (, [ and { trigger the error inside a normal string while only ( trigger the error inside a multiline string
https://gfycat.com/shockeddeadlyduckling

OK, I was able to reproduce it, but only in one test case:

when I am on new, empty line (char pos: 0) and when I type: ", and then [ - I've got autocompletion,
for both of those chars, but that error too.

BUT, when I moved in, into - for example 'func' block, so I am indented (like with 4 spaces), and I repeat the same process - there is no tokenizer error at all.
So I've basically confirmed your GIF.
BUT are those a real-word-use-cases? Can you provide some code sample, which will actually compile and use that process of creating Strings? Because if I try to combine that issue with, for example var declaration, like:
var a = """
[[]]
"""

then error is not showing (for each of the bracket type).

@dreamsComeTrue many people use multiline strings as comments, as it is also customary in python.
In any case, a bug with an uncommon use case is still a bug, even if you can classify it as lowest priority.
As I mentioned in the bug report, it doesn't seem to create any observable malfunction, just an error in the console. I still wanted to reported since it might appear to be something minor to me but maybe it's silently breaking something else and only the ones in charge of the code can know that.

it's because of the cursor splits the string into string, cursor, and some maybe invalid token
"(|)" (vertical line is cursor) is become
TK_CONST("("), TK_CURSOR, TK_BRACKET_CLOSE => which simply equal to "("|)<- the close bracket is unexpected token.
there is another way to cause this error
func f():
	$"/root|." ## now type something between the 't' and the '.'

I can reproduce the issue on 3.x (7244ea7e20bdb5d0aa5fde61a82f958b1bc5bbec), but it seems fixed on master.
On 3.x, I can only reproduce it when typing these strings in the global scope, not in a function scope. So as discussed above it's a fairly uncommon use case, and since it's fixed in 4.0, I think this can be closed.


Enable Sourcegraph

I want to use Sourcegraph for SimpleAlertDialog-for-Android code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/ksoichiro/SimpleAlertDialog-for-Android. (It should only take 30 seconds.)
Thank you!

@kirkitadzenikolozi I enabled it.


docs(README): Add note about file/content urls

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Replace rm in package.json with something cross-platform

There's multiple NPM packages that essentially do the same thing as the rm command, but also work on Windows. In this repo, that would enable Windows Home users to run npm clean without having to figure out Docker Toolbox (Docker for Windows only works on Windows 10 Pro), or even if their Docker install goes south (like mine did).

I usually work on Ubuntu or Git Bash for Windows, that explains why I did not get this error. Definitely change that!


add gogs

Fixed in https://github.com/bosh-io/releases/commit/4b58398e35a4cb70b06e4ad244b30f7d14775b96


allow undefined addrs for asset create

currently these lines disable assetCreate's manager, resever, freeze or clawback addresses from being undefined which is sometimes a desired effect...
(for example ARC69 suggests undefined freeze + clawback addresses)
https://github.com/thencc/algonautjs/blob/5c90692aaf2cc5c337431d4685ac81d1d6e0f402/src/index.ts#L529-L532

@lanidelrey what do you think?
how should we allow "undefined" addresses AND fallback to the current account's address for ease?


how to get the value of jq.filter'key

hi
example : "jqFilter":".metadata.labels"
how could i get the value of .metadata.labels
thanks

Hello! There might be a delay between invocations of  jq filter and hook, so the best way to get .metadata.labels in hooks is to use a kubectl get | jq.

@kingsqv  JFYI: There is a filterResult field in binding context for configVersion:"v1" configurations that was introduced by PR #49. Documentation: https://github.com/flant/shell-operator/blob/master/HOOKS.md#binding-context (Available as flant/shell-operator:latest)


[SPARK-41432][UI][FOLLOWUP] Fix a bug in protobuf serializer of SparkPlanGraphNodeWrapper

What changes were proposed in this pull request?

SparkPlanGraphNodeWrapper can only contain either a node or a cluster. In the current implementation, both the node and cluster fields are not null. It breaks the assertion of the method toSparkPlanGraphNode:
class SparkPlanGraphNodeWrapper(
    val node: SparkPlanGraphNode,
    val cluster: SparkPlanGraphClusterWrapper) {

  def toSparkPlanGraphNode(): SparkPlanGraphNode = {
    assert(node == null ^ cluster == null, "Exactly one of node, cluster values to be set.")
    if (node != null) node else cluster.toSparkPlanGraphCluster()
  }

}

This PR is to fix the bug by using oneof in the protobuf definition of SparkPlanGraphNodeWrapper
Why are the changes needed?

Bug fix
Does this PR introduce any user-facing change?

No
How was this patch tested?

Update related UT. Also run SQLMetricsSuite with RocksDB backend enabled.

cc @techaddict @LuciferYang @dongjoon-hyun @mridulm

Could you re-trigger failed GA task?

The test failure should not be related to this one.
@techaddict @dongjoon-hyun @LuciferYang thanks for the review.
Merging this one to master

Got it. I trust your assessment, @gengliangwang .


some questions about open_node

when i use open_node to open tree nodes(is Array and is not loaded),callback trigger is not after every node is loaded?

All the events are listed in the API documentation - you are probably looking for load_node.jstree or model.jstree


Discrepancy in Datasets Used in Paper and Repo

Description:
I recently reviewed the TabRepo paper associated with this repository and found that it mentions "we use 105 binary classification datasets, 67 multi-class classification datasets and 28 regression datasets" for a total of 200 datasets. This is also reflected in Tables 4, 5 and 6 of the paper. However, upon examining the code in this repository, I noticed that the actual distribution for the D244_F3_C1530_200 context - which was used for the results in paper - is 105 binary classification datasets, 68 multi-class classification datasets and 27 regression datasets, again for a total of 200 datasets. The difference is that the paper mentions the regression dataset Buzzinsocialmedia_Twitter instead of the multiclass dataset volkert.
How to check:
The D244_F3_C1530_200 context is defined in context_2023_11_14.py and contains the the last 200 elements of the datasets list defined in context_2023_08_21.py. The list is sorted from largest to smallest dataset and contains 211 datasets in total. The paper mentions that "we filter out the 11 largest datasets for practical usability purposes of TabRepo" and that's how we arrive at the 200 datasets used in the analysis. However if we trust the list to be sorted then the Buzzinsocialmedia_Twitter dataset is bigger than the volkert dataset and should not be included in the final 200 datasets. Moreover, when you download the D244_F3_C1530_200 context the volkert dataset is present and not the Buzzinsocialmedia_Twitter which is different from the claims of the paper.
Summary:
The paper mentions that the regression dataset Buzzinsocialmedia_Twitter was used. Instead, the code suggests that the multi-class dataset volkert was used in the analysis.
Thank you for your attention and let me know if my understanding is correct.
Below is a basic reproduction of the issue:
import pandas as pd

df = pd.read_csv("https://raw.githubusercontent.com/autogluon/tabrepo/main/data/metadata/task_metadata_244.csv")

# Fix the naming discrepancy between the metadata and the dataset list
# the difference is that the metadata name contains dot. In the datasets list the dots are swapped for _
# replace all . with _
df['name'] = df['name'].str.replace('.','_')

# Copied from tabrepo/tabrepo/contexts/context_2023_08_21.py

# 244 datasets sorted largest to smallest
datasets = [
    # Commented out due to excessive size
    # "dionis",  # Cumulative Size: 4.5 TB (244 datasets)
    # "KDDCup99",
    # "Airlines_DepDelay_10M",
    # "Kuzushiji-49",
    # "pokerhand",
    # "sf-police-incidents",
    # "helena",  # Cumulative Size: 1.0 TB (238 datasets)
    # "covertype",
    # "Devnagari-Script",
    # "Higgs",
    # "walking-activity",
    # "spoken-arabic-digit",
    # "GTSRB-HOG01",
    # "GTSRB-HOG02",
    # "GTSRB-HOG03",
    # "GTSRB-HueHist",

    "porto-seguro",  # Cumulative Size: 455 GB (228 datasets)  # 211 datasets (succeeded)
    "airlines",
    "ldpa",
    "albert",
    "tamilnadu-electricity",
    "fars",
    "Buzzinsocialmedia_Twitter",
    "nyc-taxi-green-dec-2016",
    "Fashion-MNIST",
    "Kuzushiji-MNIST",
    "mnist_784",
    # "CIFAR_10",  # Failed
    "volkert",  # 200 datasets (succeeded)
    "Yolanda",
    "letter",
    "kr-vs-k",
    "kropt",
    "MiniBooNE",
    "shuttle",
    "jannis",
    "numerai28_6",
    "Diabetes130US",
    "Run_or_walk_information",
    "APSFailure",
    "kick",
    "Allstate_Claims_Severity",
    "Traffic_violations",
    "black_friday",
    "connect-4",  # Cumulative Size: 107 GB (200 datasets)
    "isolet",
    "adult",
    "okcupid-stem",
    "electricity",
    "bank-marketing",
    # "KDDCup09-Upselling",  # Failed
    # "one-hundred-plants-margin",  # Failed
    # "KDDCup09_appetency",  # Failed
    "jungle_chess_2pcs_raw_endgame_complete",
    "2dplanes",
    "fried",
    "Click_prediction_small",  # 175 datasets (succeeded)
    "nomao",
    "Amazon_employee_access",
    "pendigits",
    "microaggregation2",
    "artificial-characters",
    "robert",
    "houses",
    "Indian_pines",
    "diamonds",
    # "guillermo",  # Failed
    # "riccardo",  # Failed
    # "MagicTelescope",  # Failed
    # "nursery",  # Failed  # Cumulative Size: 50 GB (175 datasets)
    "har",
    "texture",
    "fabert",
    "optdigits",
    "mozilla4",
    "volcanoes-b2",
    "eeg-eye-state",
    "volcanoes-b1",
    "OnlineNewsPopularity",
    "volcanoes-b6",
    "dilbert",
    "volcanoes-b5",
    "GesturePhaseSegmentationProcessed",
    "ailerons",
    "volcanoes-d1",
    "volcanoes-d4",
    "mammography",
    "PhishingWebsites",
    "satimage",
    "jm1",
    "first-order-theorem-proving",
    "kdd_internet_usage",
    "eye_movements",
    "wine-quality-white",
    "delta_elevators",
    "mc1",
    "led24",
    "visualizing_soil",
    "house_16H",
    "SpeedDating",
    "bank32nh",
    "bank8FM",
    "cpu_act",
    "cpu_small",
    "kin8nm",
    "puma32H",
    "puma8NH",
    "collins",
    "house_sales",
    "page-blocks",
    "ringnorm",
    "twonorm",
    "delta_ailerons",
    "wind",
    "wall-robot-navigation",
    "elevators",
    "cardiotocography",
    "philippine",
    "pc2",
    "mfeat-factors",
    # "christine",  # Failed
    "phoneme",
    "sylvine",
    "Satellite",
    "pol",
    "churn",
    "wilt",
    "spambase",
    "segment",
    "waveform-5000",
    # "hypothyroid",  # Failed
    "semeion",
    "hiva_agnostic",
    "ada",
    # "yeast",  # Failed
    "Brazilian_houses",
    "steel-plates-fault",
    "pollen",
    "Bioresponse",  # 100 datasets (succeeded)
    "soybean",
    "Internet-Advertisements",
    "topo_2_1",
    "yprop_4_1",
    "UMIST_Faces_Cropped",
    "madeline",  # Cumulative Size: 8.7 GB (100 datasets)
    "micro-mass",
    "gina",
    "jasmine",
    "splice",
    "dna",
    "wine-quality-red",
    "cnae-9",
    "colleges",
    "madelon",
    "ozone-level-8hr",
    "MiceProtein",
    "volcanoes-a2",
    "volcanoes-a3",
    "Titanic",
    "wine_quality",
    "volcanoes-a4",
    "kc1",
    # "eating",  # Failed
    "car",
    # "QSAR-TID-10980",  # Failed
    # "QSAR-TID-11",  # Failed
    "pbcseq",
    "volcanoes-e1",
    "autoUniv-au6-750",
    # "Santander_transaction_value",  # Failed
    "SAT11-HAND-runtime-regression",
    "GAMETES_Epistasis_2-Way_20atts_0_1H_EDM-1_1",
    "GAMETES_Epistasis_2-Way_1000atts_0_4H_EDM-1_EDM-1_1",
    "GAMETES_Epistasis_2-Way_20atts_0_4H_EDM-1_1",
    "GAMETES_Epistasis_3-Way_20atts_0_2H_EDM-1_1",
    "GAMETES_Heterogeneity_20atts_1600_Het_0_4_0_2_50_EDM-2_001",
    "GAMETES_Heterogeneity_20atts_1600_Het_0_4_0_2_75_EDM-2_001",
    "autoUniv-au7-1100",
    "pc3",
    "Mercedes_Benz_Greener_Manufacturing",
    "OVA_Prostate",
    "OVA_Endometrium",
    "OVA_Kidney",
    "OVA_Lung",
    "OVA_Ovary",
    "pc4",
    # "OVA_Breast",  # Failed
    "OVA_Colon",
    "abalone",
    "LED-display-domain-7digit",
    "analcatdata_dmft",
    "cmc",
    "colleges_usnews",
    # "anneal",  # Failed
    "baseball",
    "hill-valley",
    "space_ga",
    "parity5_plus_5",
    "pc1",
    "eucalyptus",
    "qsar-biodeg",
    "synthetic_control",
    "fri_c0_1000_5",
    "fri_c1_1000_50",
    "fri_c2_1000_25",
    "fri_c3_1000_10",
    "fri_c3_1000_25",
    "autoUniv-au1-1000",
    "credit-g",
    "vehicle",
    "analcatdata_authorship",
    "tokyo1",
    "quake",
    "kdd_el_nino-small",
    "diabetes",  # Cumulative Size: 1.0 GB (30 datasets)
    "blood-transfusion-service-center",
    "us_crime",
    "Australian",
    "autoUniv-au7-700",
    "ilpd",
    "balance-scale",
    "arsenic-female-bladder",
    "climate-model-simulation-crashes",
    "cylinder-bands",
    "meta",
    "house_prices_nominal",
    "kc2",
    "rmftsa_ladata",
    "boston_corrected",
    "fri_c0_500_5",
    "fri_c2_500_50",
    "fri_c3_500_10",
    "fri_c4_500_100",
    "no2",
    "pm10",
    "dresses-sales",
    "fri_c3_500_50",
    "Moneyball",
    "socmob",
    "MIP-2016-regression",
    "sensory",
    "boston",
    "arcene",
    "tecator",
]

# filter out the 11 biggest datasets
datasets_200 = datasets[-200:]
df = df[df.name.isin(datasets[-200:])]
print(df.shape) # make sure we have all 200 datasets

binary = df[(df.NumberOfClasses==2.0) & (df.task_type == "Supervised Classification")]
multiclass = df[(df.NumberOfClasses>2.0) & (df.task_type == "Supervised Classification")]
regression = df[df.task_type == "Supervised Regression"]

print(f"Number of Binary datasets: {len(binary)}")
print(f"Number of Multiclass datasets: {len(multiclass)}")
print(f"Number of Regression datasets: {len(regression)}")

Hi @Voulgaris-Sot! Thanks for the deep dive!
Indeed it might be the case that there is a slight difference in what datasets were used vs what is listed in the paper. Unsure how this happened, but we will plan to investigate and update to the corrected list for the camera ready version.

Running the dataset_analysis.py file which generates the tables, it actually generates the corrected version that you mention. It seems that the tables in the paper were from a slightly older version of the script and should be updated.
I've gone and made the following paper edits:
In total, we use 105 binary classification datasets, 68 multi-class classification datasets and 27 regression datasets.

And updated tables 5 & 6:

Note that table 3 was already correct and based on the corrected datasets, but we missed updating the tables 5 and 6.
Thanks again for spotting and reporting this @Voulgaris-Sot! We will update the arxiv with this fix alongside the camera ready version release for AutoML 2024.


New logic for sorting of rules (inspections) in RuleSet is breaking ordering

In the latest releases ktlint started to sort Rules by their ID alphabetically.
These breaks RuleSets that have ordering of rules and that have rules that depend on each other.
For example in our DIKTAT project.
Is there any possibility to save an order of rules in the list OR at least add a flag/API for changing the default behavior?
Additional information

Current version of ktlint: 0.45.2

@paul-dingemans you have changed it here:
            val customRuleSetIds =
                blockedRuleReferences
                    .map { it.ruleSetId }
                    .filterNot { it == "standard" || it == "experimental" }
                    .distinct()
                    .sorted()

This breaks API a little bit and we were relying on it 🥲

The actual order in which the rules are executed is not determined by the code you mention but by the comparator below:
        val defaultRuleExecutionOrderComparator =
            // The sort order below should guarantee a stable order of the rule between multiple invocations of KtLint given
            // the same set of input parameters. There should be no dependency on data ordering outside this class.
            compareBy<RuleReference> {
                if (it.runAsLateAsPossible) {
                    1
                } else {
                    0
                }
            }.thenBy {
                if (it.runOnRootNodeOnly) {
                    0
                } else {
                    1
                }
            }.thenBy {
                when (it.ruleSetId) {
                    "standard" -> 0
                    "experimental" -> 1
                    else -> 2
                }
            }.thenBy { it.ruleId }

I don't know the DIKTAT use case. But I assume that DIKTAT defines some custom rules which need to be run after/before certain other rules. If that is the case, then those rules need to be expanded with a VisitorModifier which instructs Ktlint to adjust the order in which the rules need to be run. However, this only should be used for rules which are strongely dependent.

Yes, @paul-dingemans I copied wrong snippet. I was actually talking about that one.
But in diktat we use standard approach that was a long time ago in ktlint. We create a list of rules and pass to the RuleSet of ktlint:
        val rules = listOf(
            // test warning that can be used for manual testing of diktat
            ::DummyWarning,

            // comments & documentation
            ::CommentsRule,
            ::SingleConstructorRule,  // this rule can add properties to a primary constructor, so should be before KdocComments
            ::KdocComments,
...
            ::AvoidUtilityClass,
            ::PropertyAccessorFields,
            ::AbstractClassesRule,
            ::TrailingCommaRule,
            ::SingleInitRule,
            ::RangeConventionalRule,
            ::CustomLabel,
            ::ParameterNameInOuterLambdaRule,
            ::VariableGenericTypeDeclarationRule,
            ::NewlinesRule,  // newlines need to be inserted right before fixing indentation
            ::WhiteSpaceRule,  // this rule should be after other rules that can cause wrong spacing
            ::IndentationRule,  // indentation rule should be the last because it fixes formatting after all the changes
        )

No sorry, this won't be reverted.
We do not want that third party clients are able to alter the order of rules provided by Ktlint standard/experiment ruleset. Reasoning is that KtLint developers are responsible for running the rules provided by KtLint in the required order. Code formatting can go wrong when certain rules are run in an incorrect order and by that causing new issues to be handled by the team.
Also we do not want that third party client needs to know, or are going to depend on, the order in which rules provided by KtLint are executed. At all times, the KtLint developer should have the freedom to alter the order of the rules provided by KtLint if that is needed for better results.
The VisitorModifier was introduced to allow a custom rule provider to mix their between standard and experimental rulesets without being able to alter the order of the rules provided by ktlint. The VisitorModifier only needs to be added to rules that depend on other rules being executed first. From a code perspective, the VisitorModifier makes it very clear what the dependencies are. The insight which you will gain, will be worth the effort.

I am not suggesting to revert it - your logic can still be the default.
But I would add a very small flag that won't affect API and the behaviour

KtLint should not be bloated with flags for issues like this. This flag would still allow that the the third party client would be able change the order in which rules provided by KtLint are executed. The VisitorModifier already offers the flexibility you need. Sorry, that it will cost some time to implement/investigate on your side, but I think you should try that approach first. I will ask the other maintainers for a second opinion on this issue.

What I am trying to say is that the problem is not only in the cost of time.
The real problem is that if you have at least several blocks with rules that you would like to have in specific order - you need to specify the relation inside each of them. Instead of making that in a one common centralized place.
For example, you have the following ruleset:
A1
A2
A3

B1
B2
B3

And you would like to put some new rule A4 in the list. In this case instead of simply putting it into some list you need to make complex manipulations.
So yes, it will be great if there will be some option to configure such logic

Speaking about flags and options - of course I am not speaking about a cli-flag (even though I added extra cli-flags to ktlint previously). I am speaking about a small boolean flag as an argument with a default value. It's won't affect your logic.
Very strange that after so many years of a stable API it was so hardly changed...

Hi @akuleshov7 - will the PR in https://github.com/saveourtool/diktat/issues/1309 fix this issue?

The solution in above PR is going to break again with next Ktlint release.

Oh :(

Hi @akuleshov7 - will the PR in saveourtool/diktat#1309 fix this issue?

The solution in above PR is going to break again with next Ktlint release. It is "fighting" the Ktlint approach to order the rules by providing a DiktakRulesetProvider. In next release the consumers of Ktlint are not able to provide the RulesetProvider themselves. The only proper way forward is to implement the Rule.VisitorModifier properly on those rules that have a dependency on another rule.

Sorry, I misjudged above. It is not the RulesetProvider which is removed from Ktlint but the VisitorProvider. The PR https://github.com/saveourtool/diktat/issues/1309 indeeds seems to be an inventive workaround of the problem. Hopefully, the Diktat project migrates to the Rule.VisitorModifier pattern as was intended by ktlint.
For now, I am closing the issue as no changes are foreseen in ktlint to accomodate.


Transaction history does not have the date showing

Overview
When looking up transactions from the transaction history, the date is not displayed. can see the month and year only
References and additional details

log into app.shapeshift and connect to wallet of choice
navigate to 'Activity' tab
note that the Month is listed but no date in front of it

Acceptance Criteria
Should be able to see the date of the transaction
Need By Date
No response
Screenshots/Mockups
No response
Ownership

[X] If my bounty needs engineering or needs product I have added the respective labels on the right
[X] As the sponsor of this bounty I will review the changes in a preview environment (ops/product) or review the PR (engineering)

Estimated effort
No response
Sponsor / Stakeholder
No response
Bounty Hunters

Join our discord
Include an expected timeline for you to complete work in the work plan when you apply for this bounty!
Please refer to this link for some basic info
Please do not start work on this issue until you are approved in Gitcoin.

Noticing that there's also a Localization issue with the date (they are not translated and always in English format). I'll make a PR to fix these issues.


Convert the org.carlspring.strongbox.storage.repository.Repository class to use RepositoryPath objects instead of File-s [In progress]

Related issue: #578
Refactoring in org.carlspring.strongbox.storage.repository.Repository class (and its usages)  to use java.nio objects instead of java.io ones.

@ptirador ping, are you still working on this?

Sincerely, the solution is not very clear to me and I'd prefer to work on other issues, if that's not a problem.

@sbespalov ,
Do you have any hints?

@fuss86 ,
I assume this can now be closed, based on your work on #640, right?

@carlspring , please leave it for a moment, #640 is a partial solution, cleanup is not completed for the whole code, yet.

@fuss86 ,
I assume this can now be closed, based on your work on #640, right?

Right now, yes, I'm closing it


TextWrap of button  will change the uppercase/lowercase of the text

From @dreambo8563 on April 8, 2016 4:16
Dear friend, we, the rest of the NativeScript community really
appreciate your feedback! While we are doing all we can to take care of every
issue, sometimes we get overwhelmed. Because of that, we will consider issues
that are not constructive or problems that cannot be reproduced "dead".
Additionally, we will treat feature requests or bug reports with unanswered
questions regarding the behavior/reproduction for more than 20 days "dead". All
"dead" issues will get closed.
Please, provide the details below:
if you assign textWrap to be true, the text will be lowercase.
Which platform(s) does your issue occur on?
iOS/Android/Both
I just android
Please tell us how to recreate the issue in as much detail as possible.
 <Button #btn (tap)="btnTap($event)" [text]="btnText" textWrap="true">test for wrap</Button>
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
my dev envrionment is nativescript with angular2.
I think, the prop textWrap shouldn't affect the format of the text
Copied from original issue: NativeScript/NativeScript#1909

@dreambo8563, the issue can't be reproduced with 0.1.4. That is why I am closing it.


Error [ERR_MODULE_NOT_FOUND]: Cannot find package '' imported from...

Describe the bug
In my "Minimum reproducible example", I use a bare minimum fresh install of SvelteKit based on the current docs and then add my single server-side page called src/routes/+server.ts. This file uses the "canvas" library to let me draw an image and place some text on it, then render that image out to the client. This must be done server side and it works perfectly fine in development.
I've experience on numerous occasions trying to build with SvelteKit, modules not being found despite running the required commands to install them. Clearing NPM cache doesn't help. Dumping and re-creating node_modules/ doesn't work either. Even switching out npm for yarn doesn't make any difference.
Because the code runs perfectly fine in development, using npm run dev and even using the preview option after build, such as npm run preview, I am confident I've done everything correctly. HOWEVER, when deploying the site to my servers using the node adaptor, i.e., "production", I get an error about a missing "canvas".
I NEED TO HIGHLIGHT THAT THIS IS NOT JUST RELATED TO "canvas". THIS ERROR ALSO APPLIED TO "sharp" and "zod" LIBRARIES AS WELL.
I've even switched out node-canvas library with another called sharp, rewriting my code to use that and had the exact same problem. I even went as far as changing out my Dockerfile's base image from node on alpine, to node on Debian slim.
Reproduction
HERE IS A LINK TO THE EXAMPLE PROJECT: https://github.com/maietta/mre-sveltekit-canvas
To reproduce the issue, run the following commands:
First, create the build:
npm install
npm run build
Test the build locally:
npm run dev
Visit http://localhost:5173 and see that an image loads correctly. This is not a page, but rather an image with some text on it. As you can see, it works fine.
Then,
Simulate "production" environment:
docker build -t test . && docker run -p 80:80 test
Logs
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'canvas' imported from /server/chunks/_server.ts-xxxxxxx.js
    at new NodeError (node:internal/errors:387:5)
    at packageResolve (node:internal/modules/esm/resolve:852:9)
    at moduleResolve (node:internal/modules/esm/resolve:901:20)
    at defaultResolve (node:internal/modules/esm/resolve:1115:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36)
Error: Not found: /favicon.ico
    at resolve (file:///server/index.js:3898:18)
    at resolve (file:///server/index.js:3773:34)
    at Object.#options.hooks.handle (file:///server/index.js:3942:59)
    at respond (file:///server/index.js:3771:43)

System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.80GHz
    Memory: 13.28 GB / 63.77 GB
  Binaries:
    Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.4.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1344.0), Chromium (110.0.1587.63)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @sveltejs/adapter-auto: ^2.0.0 => 2.0.0
    @sveltejs/adapter-node: ^1.2.2 => 1.2.2
    @sveltejs/kit: ^1.5.0 => 1.11.0
    svelte: ^3.54.0 => 3.56.0
    vite: ^4.0.0 => 4.1.4

Severity
blocking all usage of SvelteKit
Additional Information
I have been trying to solve this problem for more than a full month. Nobody else seems to have my exact problem because they are not using the "node adaptor".

In your docker file, I don't see an npm install command?

In your docker file, I don't see an npm install command?

I should be able to build my apps elsewhere and deploy them to cheap, low resource servers.
The dockerfile is only here to replicate my hosting environment.
I use CapRover and will soon be deploying directly to Docker Swarm using Traefik and these lightweight containers.

The Node adapter only bundles dev dependencies. canvas is a prod dependency, and so needs to be present at runtime. See https://kit.svelte.dev/docs/adapter-node#deploying

Why did you close it?
I re-installed with npm i --save-dev canvas and now this is my error:

Using @sveltejs/adapter-node
error during build:
RollupError: Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
at error (file:///C:/Users/nick/Documents/GitHub/mre-sveltekit-canvas/node_modules/rollup/dist/es/shared/node-entry.js:2125:30)
at Module.error (file:///C:/Users/nick/Documents/GitHub/mre-sveltekit-canvas/node_modules/rollup/dist/es/shared/node-entry.js:13316:16)
at Module.tryParse (file:///C:/Users/nick/Documents/GitHub/mre-sveltekit-canvas/node_modules/rollup/dist/es/shared/node-entry.js:13993:25)
at Module.setSource (file:///C:/Users/nick/Documents/GitHub/mre-sveltekit-canvas/node_modules/rollup/dist/es/shared/node-entry.js:13603:39)
at ModuleLoader.addModuleSource (file:///C:/Users/nick/Documents/GitHub/mre-sveltekit-canvas/node_modules/rollup/dist/es/shared/node-entry.js:23569:20)

You are WRONG, @Conduitry.

Sticking with how the libraries are supposed to be installed, i.e., installing as a regular dependency, it does work now.
The differents that resolved my issue was running two commands: npm build and npm ci --omit-dev in my container. I have no clue why this triggers it working and it makes no sense to me.
I would think that npm build would  effectively bundle everything I need. The secondary npm ci --omit-dev would only get rid of the dev dependencies, which would have included canvas had I been successful in getting it to work as a dev dependency.
Either way, it's sort of working now. I can finally consider this closed. I will have to further refine my deployment strategy.
Thanks for pointing me to the page I already reviewed, but doesn't explain how this fixes the problem.

The Node adapter only bundles dev dependencies. canvas is a prod dependency, and so needs to be present at runtime. See https://kit.svelte.dev/docs/adapter-node#deploying

I can confirm this solves it.
I was having real trouble with using the stripe package in production when it was deployed to Gcloud but it worked fine when running locally.
You need to make sure you specifically install dependencies when you build for production ie for me it was in my dockerfile, adding this line to my dockerfile fixed the problem:
RUN npm ci --omit=dev


Process.arguments causes crash in tests

When using recent snapshots (since March).
This is caused by https://bugs.swift.org/browse/SR-1119

https://github.com/jatoben/CommandLine/pull/69 works around this.


wanted some information

Hey Can I know in which IDE you used and all the steps in detail if possible i tried doing a speech to text conversion bu tam failing I do not know the exact reason.

This module is for Apache Stanbol, for speech to text conversion - https://cmusphinx.github.io/wiki/tutorial/ use this tutorial

i mean like in detail description from the scratch if possible please.thank you


First uploaded file parses but next uploaded file does not parse

Hello,
I'm trying to parse xlsx files into my database after uploading with multer.  The first file uploaded has no issue being parsed and uploaded into SQL after initial server start but problem arises with the succeeding files coming in afterwards.
Main problem: new files after first not being parsed after uploading the first file.
My current code set up for the parsing looks like this:
export async function insertDbfHeader(headerPath: string, tableName: string) {
  const mySQLPool = getMySqlPool(databaseName);
  const connection = await mySQLPool.getConnection();
  const workbook = XLSX.readFile(path.resolve(__dirname, headerPath), { cellDates: true });
  const sheet_name_list = workbook.SheetNames;
  const xlData = XLSX.utils.sheet_to_json(workbook.Sheets[sheet_name_list[0]]);

  for (let i = 0; i < xlData.length; i++) {
    const rowObject: any = xlData[i];
    const values = Object.values(rowObject);
    let date = moment(new Date(values[0] as any)).format("YYYY/MM/DD");

    let savekey: any = values[20];
    savekey = parseInt(savekey);

    let ac_desc1 = values[5];
    let ac_desc2 = values[6];
    let cp_desc1 = values[10];
    let cp_desc2 = values[11];
    let cp_desc3 = values[12];
    let facility = values[22];

    const query = `INSERT INTO ${tableName} (AC_DESC1, AC_DESC2, CP_DESC1, CP_DESC2, CP_DESC3, SAVEKEY, FACILITY, DATE)  SELECT * FROM (SELECT  '${ac_desc1}' as v1, '${ac_desc2}' as v2, '${cp_desc1}' as v3, '${cp_desc2}' as v4, '${cp_desc3}' as v5, '${savekey}' as v6, '${facility}' as v7, '${date}' as v8 ) AS tmp WHERE NOT EXISTS (SELECT AC_DESC1, AC_DESC2, CP_DESC1, CP_DESC2, CP_DESC3, SAVEKEY, FACILITY, DATE FROM ${tableName} WHERE SAVEKEY = '${savekey}' AND AC_DESC1='${ac_desc1}' AND AC_DESC2='${ac_desc2}') LIMIT 1`;

    connection.query(query, (error, result) => {
      if (error) {
        console.error(error);
        return result;
      }
    });
  }

Any guidance would be greatly appreciated.  I've been stuck on this for too long.

A SheetJS Pro customer recently had a similar issue (with express-fileupload).  After some digging and verification using checksums, we concluded that some part of the backend process was not preserving the data.  Is there a way to refactor the server so that you are passing raw buffers through the service?  If so, try doing an MD5 or SHA1 of the raw data and see if it is exactly what you submitted in the first place.
But to verify for yourself that this isn't a SheetJS issue, try grabbing a handful of sample files and make a small node test script that reads all of the files:
var files = [
  "file1.xlsx",
  "file2.xls",
  "file3.xlsb",
  ...
];

files.forEach(fname => {
  const workbook = XLSX.readFile(path.resolve(__dirname, fname), { cellDates: true });
  const sheet_name_list = workbook.SheetNames;
  const xlData = XLSX.utils.sheet_to_json(workbook.Sheets[sheet_name_list[0]]);

  for (let i = 0; i < xlData.length; i++) {
    const rowObject: any = xlData[i];
    const values = Object.values(rowObject);
    let date = moment(new Date(values[0] as any)).format("YYYY/MM/DD");

    let savekey: any = values[20];
    savekey = parseInt(savekey);

    let ac_desc1 = values[5];
    let ac_desc2 = values[6];
    let cp_desc1 = values[10];
    let cp_desc2 = values[11];
    let cp_desc3 = values[12];
    let facility = values[22];

    const query = `INSERT INTO ${tableName} (AC_DESC1, AC_DESC2, CP_DESC1, CP_DESC2, CP_DESC3, SAVEKEY, FACILITY, DATE)  SELECT * FROM (SELECT  '${ac_desc1}' as v1, '${ac_desc2}' as v2, '${cp_desc1}' as v3, '${cp_desc2}' as v4, '${cp_desc3}' as v5, '${savekey}' as v6, '${facility}' as v7, '${date}' as v8 ) AS tmp WHERE NOT EXISTS (SELECT AC_DESC1, AC_DESC2, CP_DESC1, CP_DESC2, CP_DESC3, SAVEKEY, FACILITY, DATE FROM ${tableName} WHERE SAVEKEY = '${savekey}' AND AC_DESC1='${ac_desc1}' AND AC_DESC2='${ac_desc2}') LIMIT 1`;
    console.log(query); // <<--- log the query
  }
});

Hi SheetJSDev,
I have checked the console.log and it seems to run correctly the first time after initial server load but not the ones afterwards.
"Is there a way to refactor the server so that you are passing raw buffers through the service?"
I have refactored my code using AWS S3 using their signedURLs while using createStream():
var params = {
        Bucket: "",
        Key: ""
    };

    var file = s3.getObject(params).createReadStream();
    var buffers = [];

    file.on('data', function (data) {
        buffers.push(data);
    });

    file.on('end', function () {
        var buffer = Buffer.concat(buffers);
        var workbook = xlsx.parse(buffer);
        console.log("workbook", workbook)
    });

The main concern now is that my SQL 'query' to insert does not listen to accept only new rows of information with this package whereas previously it was working in that manner.
Any help would be greatly appreciated.

As is always the case, you have to test each part of the process
Log the queries, are they valid SQL queries for your database?  If not, pick a bad query and see where the issue lies.

Yes my query sends in the parsed data into mySQL but with each new upload the old info gets added as well as the new data leaving me with duplicates.  I'm currently trying to avoid this and insert only the newest rows coming in from each uploaded file.

I figured it out it was definitely a SQL table structure set up and query method issue. Thanks for your help SheetJSDev!


Extending the HTTPArchive Data

I'm curious about the possibility of enhancing our current dataset by incorporating additional data points.

[x] Cookies: We're currently missing the cookies in the cookie jar, having only those sent via HTTP headers. @pmeenan mentioned it should be manageable to extend the existing data to include these.
[ ] DNS queries: Chrome seems quite limited in this. There is an API, but it's mainly for extensions on dev channel releases. I'm uncertain about our ability to collect DNS resolution data. Any thoughts?
[ ] JavaScript calls: there seems to be an API (s. timelineStack) for JS call stacks, I think it's pretty heavy, but still wonder if we could include it in our data?

These types of data are often crucial for web measurement studies. Do you think it's feasible to enrich our data with these?

@pmeenan @tunetheweb any thoughts on the DNS question?
As for JS calls, we've tried to capture that info for specific functions of interest with the observers.js script, but it was breaking some pages' functionality. I never got the time to thoroughly debug it. My hunch is that we'll need to rewrite it to use Proxy instead of Object.defineProperty. Not sure if timelineStack does what we need. Do you have an example of its output?

@rviscomi Unfortunately, I don't have a specific example; I found that API in the documentation.
Ideally, we should have this information at the request level. Please review this subset, where we have DNS-related information for each request. We can also limit the scope to the origin level, since the results for foo.com/bar1 and foo.com/bar2  are the same, but not for bar.foo.com. This aspect helps to understand various techniques within the ecosystem. For example, some players circumvent blocking of ad blockers by exploiting CNAME records, and for cookie syncing.

@pmeenan in the netlog I see a dns overview in HOST_RESOLVER tasks.
For example script request to consent.cookiebot.com contains:
{
  "aliases": [
    "consent.cookiebot.com",
    "consent.cookiebot.com-v2.edgekey.net",
    "e110990.dsca.akamaiedge.net"
  ],
  "canonical_names": [
    "e110990.dsca.akamaiedge.net"
  ],
  "endpoint_metadatas": [],
  "expiration": "13358745242163846",
  "host_ports": [],
  "hostname_results": [],
  "ip_endpoints": [
    {
      "endpoint_address": "<IP_ADDRESS>",
      "endpoint_port": 0
    },
    {
      "endpoint_address": "<IP_ADDRESS>",
      "endpoint_port": 0
    }
  ],
  "text_records": []
}

canonical_names is the best fit for privacy analysis. Would be nice to have it in requests (or at least aggregated under page data).
Please point to, if public, where this extension can be added.

@pmeenan I imagine the process to look like this:

net log
1.1 save to json/variable
1.2. from the log parse $.events where type=5 (HOST_RESOLVER_MANAGER_CACHE_HIT) or 18 (HOST_RESOLVER_DNS_TASK)
1.3. out of aliases and canonical_names construct a map:

cname_by_alias.set('consent.cookiebot.com', 'e110990.dsca.akamaiedge.net')

use the map to extend WPT_REQUESTS:

request.cname = cname_by_alias.get(request.origin)

You think it's feasible?
Or I could help with the implementation, just don't know where to start.

Sorry about that - got distracted by some other stuff for a bit.  I just added all of the info from HOST_RESOLVER_DNS_TASK to _dns_info in the request records that include the dns timings.  There shouldn't be HOST_RESOLVER_MANAGER_CACHE_HIT in the case of the agents since they start with a clean state/profile (I tested www.google.com just to be sure there weren't any origins the browser may have cached).
I can add the cache hit case as well if it is needed, but it makes sense to only include the DNS info when a DNS request went out on the wire (at least from how WebPageTest does things).
If you're curious, the change was really small: https://github.com/HTTPArchive/wptagent/commit/8332636743ee12c1315db060c98e5289d3d2aca2
It should be live on the HTTP Archive instance now.
Sample:
"_dns_info": {
    "secure": false,
    "transactions_needed": [
        {
            "dns_query_type": "A"
        },
        {
            "dns_query_type": "HTTPS"
        }
    ],
    "results": {
        "aliases": [
            "www.cloudflare.com"
        ],
        "canonical_names": [
            "www.cloudflare.com"
        ],
        "endpoint_metadatas": [
            {
                "endpoint_metadata_value": {
                    "ech_config_list": "",
                    "supported_protocol_alpns": [
                        "h3",
                        "h2",
                        "http/1.1"
                    ],
                    "target_name": "www.cloudflare.com"
                },
                "endpoint_metadata_weight": 1
            }
        ],
        "expiration": "13362070409287164",
        "host_ports": [],
        "hostname_results": [],
        "ip_endpoints": [
            {
                "endpoint_address": "<IP_ADDRESS>",
                "endpoint_port": 0
            },
            {
                "endpoint_address": "<IP_ADDRESS>",
                "endpoint_port": 0
            }
        ],
        "text_records": []
    }
},

I wasn't sure about DNS cache, thanks for clarifying and extending the object.
Would you be able to add this info to $WPT_REQUESTS.
Otherwise I'm not sure how to access it.

Right now it would be in the requests data directly in bigquery.  If you need to process it to create a custom metric on the client I can put it into $WPT_REQUESTS as well but $WPT_REQUESTS doesn't have good detail for which request triggered a DNS lookup so I'd probably have to add it to every request that matches the host (so there would be duplicate DNS data for every request to the same host).
The other option would be to expose it in $WPT_DNS and provide a host-name-indexed dictionary of the info records.

I decided to go with $WPT_DNS instead of adding it to every request.  It is a dictionary of the dns_info entries indexed by origin (since the DNS lookups include protocol not just hostname).
Should be live on the HA instance now.
Trying with a custom metric for cloudflare.com:
[dns_info]
return $WPT_DNS;

Returns:
{
  "https://www.cloudflare.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "www.cloudflare.com"
      ],
      "canonical_names": [
        "www.cloudflare.com"
      ],
      "endpoint_metadatas": [
        {
          "endpoint_metadata_value": {
            "ech_config_list": "",
            "supported_protocol_alpns": [
              "h3",
              "h2",
              "http/1.1"
            ],
            "target_name": "www.cloudflare.com"
          },
          "endpoint_metadata_weight": 1
        }
      ],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://cf-assets.www.cloudflare.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "cf-assets.www.cloudflare.com"
      ],
      "canonical_names": [
        "cf-assets.www.cloudflare.com"
      ],
      "endpoint_metadatas": [
        {
          "endpoint_metadata_value": {
            "ech_config_list": "",
            "supported_protocol_alpns": [
              "h3",
              "h2",
              "http/1.1"
            ],
            "target_name": "cf-assets.www.cloudflare.com"
          },
          "endpoint_metadata_weight": 1
        }
      ],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://static.cloudflareinsights.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "static.cloudflareinsights.com"
      ],
      "canonical_names": [
        "static.cloudflareinsights.com"
      ],
      "endpoint_metadatas": [
        {
          "endpoint_metadata_value": {
            "ech_config_list": "",
            "supported_protocol_alpns": [
              "h2",
              "http/1.1"
            ],
            "target_name": "static.cloudflareinsights.com"
          },
          "endpoint_metadata_weight": 1
        }
      ],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://performance.radar.cloudflare.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "performance.radar.cloudflare.com"
      ],
      "canonical_names": [
        "performance.radar.cloudflare.com"
      ],
      "endpoint_metadatas": [
        {
          "endpoint_metadata_value": {
            "ech_config_list": "",
            "supported_protocol_alpns": [
              "h3",
              "h2",
              "http/1.1"
            ],
            "target_name": "performance.radar.cloudflare.com"
          },
          "endpoint_metadata_weight": 1
        }
      ],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://fastly.cedexis-test.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "fastly.cedexis-test.com",
        "prod.cedexis-ssl.map.fastly.net"
      ],
      "canonical_names": [
        "prod.cedexis-ssl.map.fastly.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://www.google.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "www.google.com"
      ],
      "canonical_names": [
        "www.google.com"
      ],
      "endpoint_metadatas": [
        {
          "endpoint_metadata_value": {
            "ech_config_list": "",
            "supported_protocol_alpns": [
              "h2",
              "h3",
              "http/1.1"
            ],
            "target_name": "www.google.com"
          },
          "endpoint_metadata_weight": 1
        }
      ],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://ptcfc.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "ptcfc.com"
      ],
      "canonical_names": [
        "ptcfc.com"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://cedexis-test.akamaized.net": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "a1851.dscw121.akamai.net",
        "cedexis-test.akamaized.net"
      ],
      "canonical_names": [
        "a1851.dscw121.akamai.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309776",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://benchmark.1e100cdn.net": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "benchmark.1e100cdn.net"
      ],
      "canonical_names": [
        "benchmark.1e100cdn.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://p29.cedexis-test.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "d1inq1x5xtur5k.cloudfront.net",
        "p29.cedexis-test.com"
      ],
      "canonical_names": [
        "d1inq1x5xtur5k.cloudfront.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://essl-cdxs.edgekey.net": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "e31668.a.akamaiedge.net",
        "essl-cdxs.edgekey.net"
      ],
      "canonical_names": [
        "e31668.a.akamaiedge.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://testingcf.jsdelivr.net": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "testingcf.jsdelivr.net",
        "testingcf.jsdelivr.net.cdn.cloudflare.net"
      ],
      "canonical_names": [
        "testingcf.jsdelivr.net.cdn.cloudflare.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309776",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://fastly.jsdelivr.net": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "fastly.jsdelivr.net",
        "jsdelivr.map.fastly.net"
      ],
      "canonical_names": [
        "jsdelivr.map.fastly.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://p16999.cedexis-test.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "cedexis-ssl.wpc.apr-b30d.edgecastdns.net",
        "cs482.wpc.edgecastcdn.net",
        "p16999.cedexis-test.com"
      ],
      "canonical_names": [
        "cs482.wpc.edgecastcdn.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://stackpath-map3.cedexis-test.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "cds.x7t9n8c4.hwcdn.net",
        "stackpath-map3.cedexis-test.com"
      ],
      "canonical_names": [
        "cds.x7t9n8c4.hwcdn.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309776",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://p17003.cedexis-test.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "cedexis-1.s.llnwi.net",
        "cedexis-1.vo.llnwd.net",
        "p17003.cedexis-test.com"
      ],
      "canonical_names": [
        "cedexis-1.s.llnwi.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://serverless-benchmarks-js.compute-pipe.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "serverless-benchmarks-js.compute-pipe.com"
      ],
      "canonical_names": [
        "serverless-benchmarks-js.compute-pipe.com"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://uniquely-peaceful-hagfish.edgecompute.app": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "ecp.map.fastly.net",
        "uniquely-peaceful-hagfish.edgecompute.app"
      ],
      "canonical_names": [
        "ecp.map.fastly.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309776",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://serverless-benchmarks-rust.compute-pipe.com": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "serverless-benchmarks-rust.compute-pipe.com"
      ],
      "canonical_names": [
        "serverless-benchmarks-rust.compute-pipe.com"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  },
  "https://exactly-huge-arachnid.edgecompute.app": {
    "secure": false,
    "transactions_needed": [
      {
        "dns_query_type": "A"
      },
      {
        "dns_query_type": "HTTPS"
      }
    ],
    "results": {
      "aliases": [
        "ecp.map.fastly.net",
        "exactly-huge-arachnid.edgecompute.app"
      ],
      "canonical_names": [
        "ecp.map.fastly.net"
      ],
      "endpoint_metadatas": [],
      "expiration": "13362084114309777",
      "host_ports": [],
      "hostname_results": [],
      "ip_endpoints": [
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        },
        {
          "endpoint_address": "<IP_ADDRESS>",
          "endpoint_port": 0
        }
      ],
      "text_records": []
    }
  }
}

@pmeenan In BigQuery is it payload (50TB as in May 2024) column or summary (10TB) that will have DNS info?
In case of latter I would prefer to query directly in BQ to avoid storing additional data in custom metrics column (8.5TB).

payload unfortunately.

Thank you both, @rviscomi and @pmeenan, for this extension. They are really great to have! I think JS calls are challenging, so for now, I'm closing the issue.


Install buildx inside container

Title says it all really. With this change in place I was able to run mrsk setup and succesfully pull in my image on the server. Here is the docker run command I used to get that working:
docker run -it --rm -v "${PWD}:/workdir" -v "${SSH_AUTH_SOCK}:/ssh-agent" -v /var/run/docker.sock:/var/run/docker.sock -e "SSH_AUTH_SOCK=/ssh-agent" ghcr.io/99linesofcode/mrsk:latest setup

Ok so I actually intended to push this to my fork while trying to get mrsk working in the context of a Laravel application using the newly added mrsk package..
So far the build step failed for me but I might run into more issues along the way. Let me do some more testing here before we merge this.

A tag name must be valid ASCII and may contain lowercase and uppercase letters, digits, underscores, periods and hyphens. A tag name may not start with a period or a hyphen and may contain a maximum of 128 characters.

As you can see from the docker run command in the description, I also needed to volume mount the docker UNIX socket into the container or else MRSK would not get past the push stage. I feel we should explain why mounting the socket is necessary as well but frankly, I'm not entirely sure why Docker needs this. Anyone that could put that into words for me?

Apparently, mounting the docker socket into the container is risky as it gives the container access to the host machine. If I better understood why I had to mount it in the first place, I might be able to figure out how we can do without.


Add support for Llama2, Palm, Cohere, Anthropic, Replicate, Azure Models - using litellm

This PR adds support for 50+ models using liteLLM : https://github.com/BerriAI/litellm/
ChatLiteLLM() is integrated into langchain and allows you to call all models using the ChatOpenAI I/O interface
https://python.langchain.com/docs/integrations/chat/litellm
Here's an example of how to use ChatLiteLLM()
ChatLiteLLM(model="gpt-3.5-turbo")
ChatLiteLLM(model="claude-2", temperature=0.3)
ChatLiteLLM(model="command-nightly")
ChatLiteLLM(model="replicate/llama-2-70b-chat:2c1608e18606fad2812020dc541930f2d0495ce32eee50074220b87300bc16e1")

@gengliangwang can i get a review on this PR ? happy to add docs/tests too if this initial commit looks good

@ishaan-jaff This looks great and make the usage simple! Thanks for the contribution!

@gengliangwang awesome ! just made a push to fix the failing linting tests.
What do next steps to merging this look like ?

@ishaan-jaff BTW it would be great if you can update the following code block in README.md:
from langchain.chat_models import AzureChatOpenAI
from pyspark_ai import SparkAI

llm = AzureChatOpenAI(
    deployment_name=...,
    model_name=...
)
spark_ai = SparkAI(llm=llm)
spark_ai.activate()  # active partial functions for Spark DataFrame

Done @gengliangwang !

@ishaan-jaff Thanks for the update. However, the tests still failed.
Could you make sure poetry run python -u -m unittest discover passes?

@ishaan-jaff You can rebase your branch with master. Tests should go through.

Thanks for the enhancement; it's helpful!


Fix usage of uninitialized memory in swift_addNewDSOImage.

This has an upstream PR: https://github.com/apple/swift/pull/26275, but that hasn't merged yet. Trying to get it in tensorflow branch sooner to support leak-checking.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - fe8de538b2568da6c927b738adf83d3f235bfff1

Build failed
Swift Test Linux Platform
Git Sha - fe8de538b2568da6c927b738adf83d3f235bfff1

@swift-ci please clean test tensorflow


Use relative imports in yeelight

Description:
Yeelight wasn't component when doing auto import change https://github.com/home-assistant/home-assistant/pull/22235
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

Can be merged if build pass.


Created feedbacks view

Implemented front-end view for Observing Feedbacks
Implemented repository IncludeFields method

 [E3.3] As a system administrator I want to observe feedbacks so that I could better manage the userbase. [2]

 PR Created feedbacks view


fix(scrollbar): change type to auto for scrollbar

What this PR does 📖

update css y props to auto

Which issue(s) this PR fixes 🔨

Resolve #957

Special notes for reviewers 🗒
Additional comments 🎤

NOOOOO, lol, ok looking now thanks @phillsatellite !


"shift + up arrow" and "shift + down arrow" shows question blocks

"shift + up arrow" and "shift + down arrow" shows question blocks. Meanwhile, adding at least one extra modifier, e.g. shift+ctrl+up/down displays correctly.
I'm using a PC keyboard on a Mac.

I get the same question blocks on 100% Apple hardware.

I found the code in KCKeystrokeTansformer.m, line 154 ~ 161
    if (isShifted && !isCommand)
    {
        NSString *tmp = [@(_keyCode) isEqualToNumber:@48] ? kLeftTabString : keystroke.charactersIgnoringModifiers;
        if (tmp) {
            [mutableResponse appendString:tmp];
            return mutableResponse;
        }
    }

keystroke.charactersIgnoringModifiers is always a question blocks.
I comment out these lines, and resolve this issue.

@majorcode
what's macOS version of your devices?

@mosluce I'm on 10.13.5 now. The machine was on some earlier 10.13.x when I posted my comment.

@mosluce where can I find that file? I originally installed it using the app.zip

Same issue, apple hardware, "hungarian apple keyboard", macOS 10.13.6

Same issue here.
Is possible to show Shift + F12 somehow like the command keys?

Same bug here, please help to fix this problem.

+1

Problem still exists

Fixed in v0.9.9

Fixed in v0.9.9


Do agent run on Linux?

I don't find guideline for agent setup  on Linux from Document

Hi @thienlh96,
We currently don't have a plan for support agent on Linux. If you would like to get application instrumented out-of-box on Linux, I would recommend you to try the: OpenTelemetry .NET Instrumentation together with AWS Distro Collector.


Application won't start due too an error

Description
I am getting a window whenever I launch the Yaagl application which gives me this error:
{"code":"NE_FS_FILWRER","message":"Unable to write file: /Users/artius/Library/Application Support/Yaagl OS/aria2.session"} and as soon as I close the window by clicking "okay" the application closes.
Screenshots

System Information (please complete the following information):

macOS: Ventura 13.5 beta
Device: MacBook Pro 2021
CPU: M1 Pro
RAM: 16G

Additional context
I have run Yaagl on my system about 2 months ago and then deleted it, but there were no such issue back then, and it appeared when I re-installed it recently. I have already tried deleting and reinstalling several times but it didn't work and I tired running the /Applications/Yaagl\ OS.app/Contents/MacOS/parameterized as root assuming there might be a issue with permissions but the output was the same and the error was there.

This is happening to me as well.

I got a solution from 3shain on the discord server, delete the Yaagl OS folder at "/Users/yourusername/Library/Application Support/Yaagl OS" (replace yourusername with your Mac username). You can delete the folder by running this command rm -rf "/Users/yourusername/Library/Application Support/Yaagl OS" or you can do it manually by navigating to that location. If the application still doesn't work try deleting and reinstalling it.


PWA Install(plus) icon takes time to appear on browser

Hi,
I am using workbox GenerateSW to generate the service worker.When I run the project the plus icon takes 2-3 minutes or longer to appear on browser. I tried to find the solution but did not find any solution for that. What could be the possible reason for the delay. Does the size of the cache matters? If the cache size is bigger will it take time to show the plus icon?

I don't think there are any guarantees about the timing for the Add to Homescreen icon's appearance in Chrome, and the heuristics used may vary depending on, e.g., how you interact with the origin.
Ultimately, if Workbox were generating a service worker that failed to register or something like that, then it would be something that we could investigate. Issues related to Chrome detecting a valid service worker, but delaying the Add to Homescreen icon, that's outside the scope of what we could investigate in this issue tracker. Sorry!

How do we improve the performance of the service worker generated by
workbox generateSW? I have 103 MB of cache storage.
[image: altius_logo] http://www.altius.cc/
Anchal ChauhanProject Lead+919637139638 |<EMAIL_ADDRESS><EMAIL_ADDRESS>| 0712 2464000 Extn 23
3rd Floor, North & South, B Wing, Central Facility Building, MIHAN SEZ
Area, Nagpur - 441108.
Locations: Mumbai | Nagpur | Pune | Dubai | Dallas
[image: WHRDC_logo]
https://s3.ap-south-1.amazonaws.com/altius.cc/email_signature/World_HRD_Congress_Certificate.jpg
[image: CRISIL_logo]
https://www.crisil.com/ratings/nsic-rating-list.jsp [image:
15_Innovation_logo] http://www.altius.cc/
Follow Us:
[image: facebook_logo] https://www.facebook.com/altiuscustservices/ [image:
linkedin_logo]
https://in.linkedin.com/company/altius-customer-services-pvt-ltd [image:
www_logo] http://www.altius.cc/
DISCLAIMER
This e-mail message and information contained herein is proprietary to
Altius Customer Services Pvt Ltd and or its Customers and is intended only
for the personal use of the recipient(s) named above. This message may be
an attorney-client communication and as such privileged and confidential.
If you are not an intended recipient, you may not review, copy or
distribute this message. If you have received this communication in error,
please notify us immediately at<EMAIL_ADDRESS>and delete the original
message. This e-mail may contain viruses. Altius has taken every reasonable
precaution to minimize this risk, but is not liable for any damage you may
sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Altius reserves
the right to monitor and review the content of all messages sent to or from
this e-mail address. Altius is neither liable for the proper and complete
transmission of the information contained in this communication nor for any
delay in its receipt. Messages sent to or from this e-mail address may be
stored on the Altius e-mail system.
On Thu, Oct 29, 2020 at 8:51 PM Jeffrey Posnick<EMAIL_ADDRESS>wrote:

I don't think there are any guarantees about the timing for the Add to
Homescreen icon's appearance in Chrome, and the heuristics used may vary
depending on, e.g., how you interact with the origin.
Ultimately, if Workbox were generating a service worker that failed to
register or something like that, then it would be something that we could
investigate. Issues related to Chrome detecting a valid service worker, but
delaying the Add to Homescreen icon, that's outside the scope of what we
could investigate in this issue tracker. Sorry!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/workbox/issues/2661#issuecomment-718824811,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANLGCNEHUPUZP4PBU3YUGVTSNGB65ANCNFSM4TDLPM4Q
.

Thank you Jeff.I will try this.


Further hints for Jackson Java7 type support files

Hints for the proposed reflect-config with as discussed under #420
[
  {
    "name": "com.fasterxml.jackson.databind.ext.Java7HandlersImpl",
    "allPublicConstructors":true
  },
  {
    "name": "com.fasterxml.jackson.databind.ext.Java7SupportImpl",
    "allPublicConstructors":true
  }
]

@hakandilek Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@hakandilek Thank you for signing the Contributor License Agreement!

Thanks for this PR but this is probably better in initialize those classes at build time instead, I will do this change as part of #420.

Thanks for this PR but this is probably better in initialize those classes at build time instead, I will do this change as part of #420.


Remove testing for use_device_test transition script

In #720 we added a bit of setup to the CircleCI tests to run the use_device_test script in CI and then re-run the tests.
Now that we've merged that PR and the follow-on PR that changed the format of all the system tests, we no longer need to run that script and re-test in CI.

@kaspth, is there any reason that we should keep this?

@jagthedrummer no, I forgot to reapply my commit that removed it after one of the rebases. We should remove this!


[backport 1.11] create cgroup manager after creating the network

backport https://github.com/kata-containers/runtime/pull/2775

/test-ubuntu

/test-clh

Travis passed, but hasnt been reported here.
https://travis-ci.org/github/kata-containers/runtime/builds/703187593


Integration with ffmpeg no longer working for converting to smpte2084 transfer function

This was working for me with a late 2019 ffmpeg build, but recent builds no longer work.  I'm not sure if the problem lies with zimg or ffmpeg. When I convert from linear to smpte2084, I get a black video returned. Here's my ffmpeg video filter parameters:
zscale=tin=smpte2084:t=linear:npl=100,format=gbrpf32le,zscale=w=1920:h=1080:filter=spline36,zscale=tin=linear:t=smpte2084,format=yuv420p10le
I'm using zscale to retain HDR data when downscaling from 4k to HD.

It looks like this is due to the issue fixed with this commit: https://github.com/sekrit-twc/zimg/commit/fc7473db7e730b46fd8f05b3d9d15631c6aa79a1
I have updated ffmpeg ticket 8779 (https://trac.ffmpeg.org/ticket/8779) with this information.


allow users to specify the unit of disk size

Description
For each historical node, we have to configure the path and size for segment storage as below
druid.segmentCache.locations=[{"path":"/disk1/var/druid/segment-cache","maxSize":450000000000},"path":"/disk2/var/druid/segment-cache","maxSize":450000000000}]
druid.server.maxSize=900000000000

At the first glance of these configurations, does anyone know how many bytes are there?
In most of cases, the maxSize is hundreds of GB or TB, but  current unit of maxSize is BYTE, which means the length of the value can be very long.
It's very hard to tell how many bytes we have configured for each disk at the first glance of these configs. Taking above number<PHONE_NUMBER>00 as an example, we have to count digit one by one to know it's 450GB. We have to set the value very carefully every time we add a new disk. It's painful.
So my suggestion here is to allow user to set maxSize in a simpler way: allow them to specify the unit of the value, just like how we set the heap memory size of JVM.
We could config it as below:
druid.segmentCache.locations=[
{"path":"/disk1/var/druid/segment-cache","maxSize":"450G"},
{"path":"/disk2/druid/var/druid/segment-cache","maxSize":"1T"},
{"path":"/disk3/druid/var/druid/segment-cache","maxSize":"500M"},
{"path":"/disk4/druid/var/druid/segment-cache","maxSize":500000000},
druid.server.maxSize="1.5T"

In summary, the value of size could be:

a number in bytes(current way)
a string number with a character suffix representing unit of the number

suffix can be M/G/T, case insensitive. (M is 1,000,000 instead of 1,048,576)
no need to support Kilobyte

Closed via #10203


ts-web: eliminate video: false, which is now default

to be put on that branch after dependabot rebases it

oop


Function App zip deployment failed to ASE - Max retries exceeded, getaddrinfo failed

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az functionapp deployment source config-zip
Errors:
The command failed with an unexpected error. Here is the traceback:
HTTPSConnectionPool(host='xxx.appserviceenvironment.us', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x061114A8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 174, in _new_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 73, in create_connection
  File "socket.py", line 955, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 699, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 382, in _make_request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 1010, in _validate_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 358, in connect
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 186, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x061114A8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 439, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 755, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/retry.py", line 574, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='xxx.appserviceenvironment.us', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x061114A8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 692, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 524, in enable_zip_deploy_functionapp
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 557, in enable_zip_deploy
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 117, in post
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 61, in request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 542, in request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 655, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 516, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='xxx.appserviceenvironment.us', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x061114A8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az functionapp deployment source config-zip -g {} -n {} --src {} --subscription {}

Expected Behavior
Environment Summary
Windows-10-10.0.19044-SP0
Python 3.10.4
Installer: MSI

azure-cli 2.36.0

Additional Context

route to CXP team

Hello @branflaker
Thanks for the feedback! We are currently investigating and will update you shortly.

We are routing this to the Service Teams' attention for further action!

Adding Functions Deployment folks @amamounelsayed and @FinVamp1 .

Hi @branflaker Just wanted to check in and see if you are still experiencing this issue?


fixes issue with running manifest file without having a workspace

Tracks: https://jira.coreos.com/browse/APPAI-368

LGTM :+1:

LGTM :+1:


Problem with charachter "%" in client secret

When my client secret contains the character "%", Keycloak gives the following error:
2023-11-28 10:27:08,226 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-1101) Uncaught server error: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - Error at index 1 in: "e)"
        at java.base/java.net.URLDecoder.decode(URLDecoder.java:237)
        at java.base/java.net.URLDecoder.decode(URLDecoder.java:147)
        at org.jboss.resteasy.util.Encode.decode(Encode.java:484)

I have other services that use that client and have no problem. However, the error happens when I use the library camunda-platform-7-keycloak.
I am afraid, that other special characters are also affected.

Hi @djuarezgf,
this is not reproducible. And there are of course tests checking login with special characters. Furthermore your log snippet mentions org.keycloak.services.error.KeycloakErrorHandler which has nothing to do with anything of this extension.
Would you mind to tell us a little more about your environment including used dependencies / plugins / ...?

Hi @VonDerBeck ,
that's the error that I get in Keycloak, not in Camunda. Our code is Open Source: https://github.com/samply/mtba

Closing this as not reproducible


A full screen navigation in mobile view.

Description of the enhancement
A full screen slide down navigation in the mobile view for going to the contents.
This will be usefull.
What are your views @anushbhatia @smaranjitghose ?
Screenshots
Screenshots of the proposed changes compared with the current version of the project

Can you share some video for it

we can do something like this.

sure go-ahead


[ci skip] [cf admin skip] NO_CI adding bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I've added bot automerge as instructed in #5.
Merge this PR to enable bot automerging.
Fixes #5

@anjos - I saw this as an option; is it the case that the feedstock will now auto-merge the autogenerated recipe updates, as long as all tests pass and there aren't any linting problems above a certain level of severity?

Exactly!  Should eliminate the repeatitive work for patch releases.  You'll still be informed by e-mail though, of all transactions.

:+1: -- and, if I see something that's non-critical but that could use to be updated, I can just open a PR from my fork, and bump build... one of the points of that build, I figure.


jellyfin-web: 10.9.1 -> 10.9.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for jellyfin-web is: Web Client for Jellyfin
meta.homepage for jellyfin-web is: https://jellyfin.org/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.9.2 with grep in /nix/store/0h0whlxwp1yjbi443qxg46zz89vfdhld-jellyfin-web-10.9.2
found 10.9.2 in filename of file in /nix/store/0h0whlxwp1yjbi443qxg46zz89vfdhld-jellyfin-web-10.9.2

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

jellyfin
jellyfin-media-player
jellyfin-web

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0h0whlxwp1yjbi443qxg46zz89vfdhld-jellyfin-web-10.9.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A jellyfin-web https://github.com/r-ryantm/nixpkgs/archive/10813396d3c0fb2b08db2d51ccaf51c479d53fb6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/10813396d3c0fb2b08db2d51ccaf51c479d53fb6#jellyfin-web

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0h0whlxwp1yjbi443qxg46zz89vfdhld-jellyfin-web-10.9.2
ls -la /nix/store/0h0whlxwp1yjbi443qxg46zz89vfdhld-jellyfin-web-10.9.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

3 packages built:

jellyfin
jellyfin-media-player
jellyfin-web

Maintainer pings
cc @nyanloutre @minijackson @purcell @jojosch for testing.

Please backport ASAP to 23.11. Due to https://github.com/jellyfin/jellyfin/pull/11671 it causes jellyfin to only bind to localhost in simple setups, which changes the behaviour from 10.8.x

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1669


Refactoring authentication to use a different url

This has to be done for

search app
the rest of the apps that use common module for authentication

@karlcz please provide the detail of which urls should be used.

closing as duplicate


Clarification needed on the input RGB format

The butteraugli.h header contains this comment:

// Value of pixels of images rgb0 and rgb1 need to be represented as raw
// intensity. Most image formats store gamma corrected intensity in pixel
// values. This gamma correction has to be removed, by applying the following
// function:
// butteraugli_val = 255.0 * pow(png_val / 255.0, gamma);
// A typical value of gamma is 2.2. It is usually stored in the image header.
// Take care not to confuse that value with its inverse. The gamma value should
// be always greater than one.
// Butteraugli does not work as intended if the caller does not perform
// gamma correction.

Is this correct and a conversion to "raw intensity" is needed for the input images?
And if so is the result of the above mentioned gamma correction that the input is in linear RGB? So for example when applied to standard definition video with matrix '601' the frames should be converted to linear RGB before applying Butteraugli? Thanks!

On Sun, Feb 24, 2019 at 2:03 PM zorrozork<EMAIL_ADDRESS>wrote:

Is this correct and a conversion to "raw intensity" is needed for the
input images?

Yes.

And if so is the result of the above mentioned gamma correction that the
input is in linear RGB? So for example when applied to standard definition
video with matrix '601' the frames should be converted to linear RGB before
applying Butteraugli? Thanks!

You need to convert into linear RGB light where RGB are sRGB. These values
may be (slightly) negative for wide gamut use. The normalization value of
255 corresponds roughly to 120-200 nits.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/butteraugli/issues/53, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIqkTAcxOsAwhM0gz3NVXDlu_Dis685Vks5vQwwngaJpZM4bOzOY
.

Thanks for the clarification, it's all clear now.


libparasail-sys error when compiling on Rust 1.76.0

Hello,
When I compile with Rust 1.76.0 (the only version available to me on the HPC cluster I'm using), I now get an error where I did not used to get one:
error[E0658]: use of unstable library feature 'offset_of'

This worked in 0.7.3, but updating to 0.7.5 seems to break it.

Hi, so sorry I accidentally introduced a breaking change from the bindgen crate. libparasail-sys is updated and 0.7.6 fixes this.

thanks!!


Deployment fails when using esm module

One of the "transpile-less" ways to get es6 modules working is the esm module. This appears to break with now, both current release and @canary. Verified with @paulogdm in this discussion.
Sample code is available here which is available deployed at https://avitest.deitch.now.sh

We could add a special exception for esm support.

Ah, you know why it fails? I wasn't sure if it was a known issue or not. Would be happy if you would elaborate?

Awesome thank you. Is this deployed, or do I need to run @canary?

@deitch It hasn't been updated in the builder yet. Here is the PR: https://github.com/zeit/now-builders/pull/446

Thanks, I will follow that one.

Thanks, I will follow that one.


Search company in admin by investigation id

Description of change
Live services were not comfortable with search using just Company name due to possibility of duplicates when matching companies and duns number. Search by investigation ID value would solve this problem. Initial work in other services was implemented and investigation ID is already being saved in database.
This change adds support to search in Django admin for the Company via investigation ID.
Checklist

[ ] If this is a releasable change, has a news fragment been added?

Explanation
A news fragment is required for any releasable change (i.e. code that runs in or affects production) so that a corresponding changelog entry is added when releasing.
Check changelog/README.md for instructions.

[ ] Has this branch been rebased on top of the current develop branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[ ] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

That looks okay, but you should add a newsfragment as described here: https://github.com/uktrade/data-hub-api/blob/develop/changelog/README.md


Graph overlapping

Hey, nice work.
When the graph is created the stats are somewhat overwritten as shown in the top left corner.

I have submitted the PR for the same.