What is gist's leading underscore naming convention (e.g., is it for NamedIndividuals)...?

So I noticed a number of terms in gist core named with leading underscores, mostly base units (the only exception being gist:_PrefixDeclaration_gist):
gist:BaseUnit
	a owl:Class ;
	rdfs:subClassOf gist:SimpleUnitOfMeasure ;
	owl:equivalentClass [
		a owl:Class ;
		owl:oneOf (
			gist:_USDollar
			gist:_ampere
			gist:_bit
			gist:_candela
			gist:_each
			gist:_kelvin
			gist:_kilogram
			gist:_meter
			gist:_mole
			gist:_second
		) ;
	] ;
	skos:definition "A primitive unit that cannot be decomposed into other units. It can be converted from one measurement system to another.  The base units in gist are the seven primitive units from the System Internationale (SI): (meter, second, kilogram, ampere, kelvin, mole, candela), plus three convenience ones: each. bit and usDollar."^^xsd:string ;
	skos:prefLabel "Base Unit"^^xsd:string .

So I've a few questions:

Would it be correct to interpret this convention as: "Prefix all NamedIndividuals with a leading underscore" ?
If so, then is there any specific reason that each of these terms is not explicitly typed as an owl:NamedIndividual?
At the moment most are like this:gist:_ampere
  a
	  owl:Thing ,
	  gist:BaseUnit
	  ;

...so why not this instead:gist:_ampere
  a
	  owl:NamedIndividual ,
	  gist:BaseUnit
	  ;

It seems there is no strict convention for the case of the first letter (i.e., both gist:_USDollar and gist:_PrefixDeclaration_gist use an uppercase first letter, whereas all the rest use a lowercase first letter). Since NamedIndividuals are instances of a Class (and not a Property), I think I'd personally favour uppercasing the first letter (as everyone does today for Class terms). So then we'd have gist:_Ampere, gist:_Second, etc.
Has this convention raised any push-back from developers using these terms in their code (e.g., where they have static constants with names that reflect the gist term name, e.g., in Java something like:public class GIST {
    public static final String _ampere = "https://w3id.org/semanticarts/ns/ontology/gist/_ampere";
}

...because leading underscores can already have specific meanings in different programming language (e.g., in Python it means these objects are used internally, in JavaScript and C/C++ it's a (not hugely common) convention that leading underscores denote private member variables, etc.), and in general these leading underscores might be frowned upon by developers seeing them in their code (e.g., violating there linting rules, or seen as un-idiomatic to their programming language, etc.) ...?

(Yes, generated, or manually written, source code like the above java example can always omit these leading underscores from the variable name, but then developers source code is slightly misaligned with the RDF, which I personally don't like.)

@pmcb55 Our best practice is to name individuals with leading underscore + name of most specific rigid class + underscore + name. That is, gist:_PrefixDeclaration_gist uses this standard, while gist:_ampere does not, merely for historical reasons - I.e., the convention was not articulated until after the gist unit of measure individuals were defined. See issue 5356 and the gist style guide for details. The relatively new unit of measure gist:_percent uses the older format for consistency with the other units.
We have not received any pushback from developers, and note that the gist individuals will never appear without a namespace, either prefix or full IRI, so there is no confusion with the programming naming convention. In addition, these are significantly different domains used in different contexts, and I don't think there's a likelihood that IRIs would be confused with method names.

Regarding typing of owl:NamedIndividual, it is redundant because the instances are always assigned a more specific type, and we asked the EDM Council, whose rdf-toolkit.jar serializer we use before repository commits, to provide an option to remove these. This is now the -sni or --suppress-named-individuals option; see EDM's documentation of the tool.
The use of the similarly redundant owl:Thing assertions is due to the current behavior of onto_tool, which we use for release packaging. See issues #916 and #775 (also yours!) for discussion.
I hope you enjoy history!

Ah ha - thanks @rjyounes.
Sorry to be so pedantic, but just to follow on from this: "Regarding typing of owl:NamedIndividual, it is redundant because the instances are always assigned a more specific type", looking at this example:
<https://w3id.org/semanticarts/ns/ontology/gist/_kilogram> a gist:BaseUnit, owl:Thing;
    skos:definition "The base unit for measuring mass.";
    gist:unitSymbol "kg".

...gist:_kilogram is defined as a gist:BaseUnit, so I thought, Ok, that must be explicitly typed as an owl:NamedIndividual then. But it's not, it's typed as an owl:Class:
gist:BaseUnit a owl:Class;
    owl:equivalentClass _:b29;
    rdfs:subClassOf gist:SimpleUnitOfMeasure.

...yet it's an rdfs:subClassOf gist:SimpleUnitOfMeasure, but that's also defined as just an owl:Class:
gist:SimpleUnitOfMeasure a owl:Class;
    skos:definition "Each simple unit has a base unit and...".

So, in other words, it seems now that nothing in gist is directly, or indirectly, declared to be an owl:NamedIndividual at all. Instead the actual named individuals (i.e., the terms with leading underscores) are all actually just sub-classes.
But aren't owl:Class (and sub-classes of classes) and owl:NamedIndividual very different things...?! If the distinction is important enough to provide a specific naming convention to help humans see that distinction (i.e., use a leading underscore, etc.), then isn't it also important for the machines to be able to make that same distinction too...!?

Ok, so looking at this example:
<https://w3id.org/semanticarts/ns/ontology/gist/_kilogram> a gist:BaseUnit, owl:Thing;
    skos:definition "The base unit for measuring mass.";
    gist:unitSymbol "kg".

...gist:_kilogram is defined as a gist:BaseUnit, so I thought, Ok, that must be explicitly typed as an owl:NamedIndividual then. But it's not, it's typed as an owl:Class:

In OWL-DL, all instances are linked to their class via rdf:type. So gist:_kilogram is an instance of the class, BaseUnit which is correct. By inference, any instance of any class is also an instance of  both owl:NamedIndividual and owl:Thing.  We don't want to clutter up gist with such assertions, which is why we remove them by setting the appropriate parameter when calling the serializer.

Instead the actual named individuals (i.e., the terms with leading underscores) are all actually just sub-classes.

No, actual named individuals are instances of classes or subclasses. NamedIndividual is a subclass of owl:Thing

No, actual named individuals are instances of classes or subclasses. NamedIndividual is a subclass of owl:Thing

Yep, my mistake. Thanks for the clarification :smile:
But just to help with my continuing education - would you ever see a justification (in gist, or any ontology) to explicitly type any instance using owl:NamedIndividual then...? In other words, what practical purpose might the term owl:NamedIndividual serve in general?
(And as an aside, would you consider it a more general Best Practice/Guideline that any-and-all 'instances' in any ontology should always be explicitly of some 'more specific type' already (apart from owl:Thing I mean)?)

And as an aside, would you consider it a more general Best Practice/Guideline that any-and-all 'instances' in any ontology should always be explicitly of some 'more specific type' already (apart from owl:Thing I mean)?)

Yes, I can't think of a reason to create a direct instance of owl:Thing

@pmcb55
PROPOSAL: close this issue as there is no suggested action. It's been about clarification.

Thanks so much for the clarifications - I'm happy to close now.


Profiling Benchmark Verfication

As stated in issue bioboxes/rfc#188 the cli should verify profiling benchmark bioboxes.

see #85


More than one customizable product on a page causes issues.

Showing more than one customizable product at a time causes issues like:

Scrolling over one variant changes all pictures
Price calculations for one product affect all products

The javascript involved on the frontend of the gem should be reworked to be scoped to a single product, rather than the entire dom.
Happy to work on this. Perhaps some direction could be provided.
Thanks,
Jeff

@acreilly @dhonig If you're okay with this direction, I will take a first pass at it. I'll try hard to keep it backwards compatible.

That would be great. Ping me when you have a PR. Thanks!

@acreilly Took the first steps and issued a PR. This doesn't get us all the way to allowing multiple products on one page, but it starts us off.
I'd also like to move the front end calculator JS into the asset pipeline, but that's a bigger departure from current status quo. What do you think?

Sorry to overload the comments. But maybe it would be helpful to list the areas I'd like to help in, and see if they align with your vision:

Frontend JS for calculators moved asset pipeline
Validation of data types at the database level (According to some migrations, it looks like this may have been tried before?)
More robust convention for naming customization groups, field ids, etc (i.e. jquery should find user inputs based on customization_type name and customizable_option name instead)

@acreilly @dhonig Any thoughts on my last PR or the bullet points in the comment above? Happy to do more work, just want to make sure it aligns with your vision. Thanks!


HIVE-26170: Code cleanup in jdbc dataconnector

What changes were proposed in this pull request?

Clean up  unused import;
Fix incorrect Logger in PostgreSQLConnectorProvider;
Why are the changes needed?

Code cleanup
Does this PR introduce any user-facing change?

No
How was this patch tested?

No need tests

@nrg4878 @kgyrtkirk Would you mind taking a look? thx


Change from__all__ to all

I can't find anything that says from__all__ is valid. Update per this PR to fix following error:

Hello, I stopped working on this project for a few weeks to focus on other projects. A few days ago I started making changes to this project and noticed that I was having import errors while attempting to rebuild and use this code. During that time I noticed this issue as well. I already fixed this issue as well as a few other issues in my local version of the code. I just had not been able to commit and push those changes to github yet.
As soon as I am able to iron out a few other issues, I will push those changes along with other fixes. You will see this all in my next comit.

addressed in 0b5e231


import geocell isssue

import geocell
Traceback (most recent call last):
File "", line 1, in
File "geocell/init.py", line 1, in
from .geocell import locate, estimate, api_key, is_multiprocess
File "geocell/geocell.py", line 30
print(*args, file=sys.stderr, flush=False, **kwargs)
^
SyntaxError: invalid syntax

error while import geo cell

This looks like you're using an old version of Python that doesn't support the print statement.


Added Farsi(Persian) localization

Thank you for your PR!
I want to test, but I can't see the localized strings.
What language do I select on language preference on Settings.app?

Hi,
look for "Persian فارسی" in "Other Languages" or select persian from your xcode scheme run "Application language".

@euwars I merge your commits with modifying cancel button title. I close this PR. Thank you!


Simplified release and start of a new version

Like in zhmcclient project.
No review needed.

coverage: 36.569%. remained the same
when pulling 3752faf3729df71c72baf65e2e7446a9fbd6c083 on andy/simplify-release
into 107ce9684fd652f7bec655e348466a032b4dc28d on master.


Move develop (v1) to master

As discussed (https://github.com/dahlbyk/posh-git/pull/522#issuecomment-382942875), v0.x development has moved from master to v0. This bring v1 progress on develop into master as our main line of development.
We've already reviewed everything except the last two commits.

I did a dir diff on this branch with develop and there wasn't much except in some of top-level md files and the psd1 1.0.0 vs <IP_ADDRESS> (branch names in URLS).

I did a dir diff on this branch with develop and there wasn't much except in some of top-level md files and the psd1 1.0.0 vs <IP_ADDRESS> (branch names in URLS).

That's what I would expect. I assume most of what you see aligns with what GitHub shows on https://github.com/dahlbyk/posh-git/pull/568/commits/3e4509e74b644beae27bd10e3138c928ae4211b8?
I reverted the version back to <IP_ADDRESS> as an indicator that a bug report's coming from a clone of posh-git, rather than an official release (which will have 1.0.0). Or did we decide that isn't necessary?

I "think" it's still necessary because module versioning at the PowerShell level (vs PSGallery/PowerShellGet) is still using .NET's System.Version and can't indicate pre-prelease info in the version number.


Tree: Support sorting

@jrieken Makes a great point that the tree is the best place for sorting a model since it only needs to sort the visible elements.

Done!


fixes issue with connectsTo param matching

IP properties weren't properly matched in case of dockerengine IPs and in combination with prefixed parameters

@milesstoetzner I created a tag on dockerhub for you to check your use case if needed:
docker pull opentosca/container:v3.0.0-connectsToTest


C++ Interop: support mutating attribute for C++ methods

This change teaches ClangImporter to import C++ methods marked with __attribute__((__swift_attr__("mutating"))) as mutating in Swift. This is useful, for example, when a method mutates this despite being const in C++ (e.g. via const_cast).
This is a follow-up after https://github.com/apple/swift/pull/38618.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Need stdout/stderr for completed jobs too

The job viewer only allows viewing of stdout / stderr for failed jobs; there is possibly useful information  for completed jobs in those files too.

I have a commit for this.
Note that the default response is:
Unable to retreive additional details about this task at this task.
RequestError: Unable to load https://p3.theseed.org/services/app_service/task_info/fec34241-6ba0-424e-aea6-0b9b64de15f7/stdout status: 404


Test with pandas 1.0.0 release candidate

Describe the problem

pandas has a release candidate for v1.0.0. We need to run some tests to make sure that we can update and create a branch that is ready once the final release is cut.
Source code / logs
https://github.com/pandas-dev/pandas/releases/tag/v1.0.0rc0

Hi @devin-petersohn just to know the modin latest version are not yet working with pandas 1.0.1 right?

Not yet, I started the changes yesterday. There are a lot of them, but I'll make sure it's out by the next release.
Most of the changes are not directly seen by the user, but some are. Is there a functionality that you need from pandas 1.0 that 0.25 doesn't include?
A lot of the changes are testing related, so I'd like to make sure we're still testing properly.

Thaks for your reply.
I don't need anything specific from pandas 1.0.
I was just trying to install modin today and it gave me a error message because of that.
So I came here to ask what is the status of this.
Thank you for your work.
I am lookin forward fo the new release.

Unfortunately I forgot to label this and it slipped because other high-priority bugs took its place. It will be pushed to the next release.

Resolved by #1081


Question about IPv6 address prefix

[Enter feedback here]
Could you please explain where the "ace:cab:deca::/48" prefix come from? My understanding is this prefix should be a global unicast address prefix assigned by Azure, but it's not clear for me how to get it.
I tried to create a public IPv6 IP by command:
az network public-ip create --name PublicIP_v6 --resource-group $myrg --location WestUS --sku Standard --allocation-method static --version IPv6
and I got a global unicast address: 2603:1030:axx::10 . Does this mean Azure has assigned 2603:1030:axx::/48 to me and as long as I attach this IPv6 address to a load balancer in my Vnet, I can assign 2603:1030:axx::/48 to that vnet?

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

ID: c245c4b3-5219-c78d-43ee-15c69c5a4303
Version Independent ID: ba455294-133c-7492-4b5b-04c148e01691
Content: Upgrade an IPv4 application to IPv6 in Azure Virtual Network - PowerShell
Content Source: articles/virtual-network/ipv6-add-to-existing-vnet-powershell.md
Service: virtual-network
GitHub Login: @KumudD
Microsoft Alias: kumud

@jackchenquest, Thanks for the question! We are taking a look into this and will get back to you soon.

#reassign: @EricTheRed999


How to Get the Symbolic Expression from the Model?

I've read the code to find a simple way to get the symbolic expression from the trained model but couldn't find any.
How can I do that?

Thanks for your interest in this package.  Just using e.model()  is able to get a string of the final model.

wow
huge result string here... I'll investigate how to improve to a "simpler" result, thanks!


Bad $nonRemoveable string

Sorry if this is the wrong place to post - I'm new to GitHub
I had to remove "|Nvidia' from the end of the $NonRemoveable string in Windows10Debloater.ps1 to get it to run correctly in win10 2004.

I never encountered this issue on 2004 or 20H2. Post the error it gives you, that would be actually useful.

FYI: In my original post the asterisks were removed around 'NVidia'. you can see them in the script on line 48.
With  $ErrorActionPreference = 'silentlycontinue' there were no error messages, but none of the appx packages were removed. If  you change to $ErrorActionPreference = 'continue' this is the error:
parsing "1527c705-839a-4832-9118-54d4Bd6a0c89|c5e2524a-ea46-4f67-841f-6a9465d9d515|E2A4F912-2574-4A75-9BB0-0D023378592B|F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE|InputApp|Mic
rosoft.AAD.BrokerPlugin|Microsoft.AccountsControl|     Microsoft.BioEnrollment|Microsoft.CredDialogHost|Microsoft.ECApp|Microsoft.LockApp|Microsoft.MicrosoftEdgeDevToolsClient|Microsoft.MicrosoftEdge|Microsoft.PPIProject ion|Microsoft.Win32WebViewHost|Microsoft.Windows.Apprep.ChxApp|
Microsoft.Windows.AssignedAccessLockApp|Microsoft.Windows.CapturePicker|Microsoft.Windows.CloudExperienceHost|Microsoft.Windows.ContentDeliveryManager|Microsoft.Wind
ows.Cortana|Microsoft.Windows.NarratorQuickStart|     Microsoft.Windows.ParentalControls|Microsoft.Windows.PeopleExperienceHost|Microsoft.Windows.PinningConfirmationDialog|Microsoft.Windows.SecHealthUI|Microsoft.Windows .SecureAssessmentBrowser|Microsoft.Windows.ShellExperienceHost|
Microsoft.Windows.XGpuEjectDialog|Microsoft.XboxGameCallableUI|Windows.CBSPreview|windows.immersivecontrolpanel|W..." - Quantifier {x,y} following nothing.
At C:\Users\JimOpti\Documents\Untitled2.ps1:49 char:47

... ere-Object {$.Name -NotMatch $WhitelistedApps -and $.Name -NotMatch ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (:) [], ArgumentException
FullyQualifiedErrorId : System.ArgumentException

-NotMatch expects a regex, *Nvidia* is not valid because * is a quantifier meaning "None or more" of the character preceding it, a simple fix would be replace *Nvidia* with .*Nvidia.* to tell "None or more of any non whitespace character"
-NotMatch documentation https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.1
how is this error still not fixed one year later ? it totally breaks the unbloating !


Aggregate() example(s)

Everything else is pretty straight-foward, but a good demonstration of the arguments that the Aggregate method takes would be stellar!

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

ID: ec460a44-db5a-47a5-2086-0a754104211f
Version Independent ID: c0a63095-e4ad-52b9-978b-eafea54f6e92
Content: Aggregation Operations (C#)
Content Source: docs/csharp/programming-guide/concepts/linq/aggregation-operations.md
Product: dotnet-csharp
Technology: csharp-linq
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for writing this @NickPea
This is one of the more complicated LINQ methods. I've added this to our backlog to update when we next update this article.

I checked the destination links, and the Aggregate page does have several examples.
Closing as fixed.


LightGBM categoricals and shap_interactions

Thanks a lot for your awesome package.
I keep having troubles with LightGBM's categorical_feature support (the data is integer coded, but the algo internally treats them as unordered) and SHAP interactions.
The error is most certainly related to this issue on CatBoost: https://github.com/slundberg/shap/issues/1438
Here is a small example with shap 0.37 and LightGBM 3.1.0

import numpy as np
import lightgbm as lgb  # 3.1.0
import shap  # 0.37.0

# Create data
n = 1000

X = np.column_stack((
    np.random.normal(size=n),
    np.random.randint(0, 2, size=n),
    np.random.randint(0, 10, size=n)
))

y = X.sum(axis=1) + np.random.normal(size=n)

# Model with categorical features
dtrain = lgb.Dataset(
    X,
    label=y,
    categorical_feature=[1, 2]  # Comment out this line will work
)

params = {
    'learning_rate': 0.05,
    'num_leaves': 15,
    'objective': 'mse',
}

# Fit on best params
gbm = lgb.train(
    params,
    train_set=dtrain,
    num_boost_round=10
)

# Calculate SHAP
explainer = shap.TreeExplainer(gbm)
shap_values = explainer.shap_values(X)
shap.summary_plot(shap_values, X, plot_type='bar', color='orange')

# These lines only work without categorical features
shap_interactions = explainer.shap_interaction_values(X)
shap.summary_plot(shap_interactions, X, plot_type='bar', color='orange')

This gives
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-71-87b86078cf72> in <module>
      1 # Calculate N_SHAP decompositions
----> 2 shap_inter = explainer.shap_interaction_values(X_train[:N_SHAP])

~\Anaconda3\lib\site-packages\shap\explainers\_tree.py in shap_interaction_values(self, X, y, tree_limit)
    470
    471         if tree_limit < 0 or tree_limit > self.model.values.shape[0]:
--> 472             tree_limit = self.model.values.shape[0]
    473
    474         # run the core algorithm using the C extension

AttributeError: 'TreeEnsemble' object has no attribute 'values'

Everything works without categorical_features
Usual SHAP decompositions work with categorical_features as well.

The same issue popped up with very differently structured data as well.

Hi,
I stumbled upon this issue and the temporary fix is described here #432.

@wkondrusiewicz In my example above, there are no pandas structures at all. So I currently do not understand the suggested workaround. Hints are very welcome :-).

I think I have tracked the problem:
SHAP turns the original tree ensemble into its own tree structure by calling TreeEnsemble.
There, we find the following tree transformation block (multiple times):
    try:
        self.trees = [SingleTree(e, data=data, data_missing=data_missing) for e in tree_info]
    except:
        self.trees = None # we get here because the cext can't handle categorical splits yet

In case the original model uses categorical splits, the SingleTree function raises an error and consequently, all subsequent calculations fail.
@slundberg : how tricky is the implementation of categorical splits to cext?

I'm still having the same issue.

@p-schaefer : see also https://github.com/microsoft/LightGBM/issues/6058

@mayer79 Thanks. I've tried TreeShap as well, and unfortunately ran into another issue since it calls lightgbm::lgb.model.dt.tree(lgb_model) which dumps the trees as a single text string, which R can't handle when they get too large. See https://github.com/microsoft/LightGBM/issues/6288


[Ubuntu] Revert $BASH_ENV variable

Description
It turned out that $BASH_ENV causes some issues since updated PATH is not propagated to other shells like pwsh.
Reverts https://github.com/actions/virtual-environments/pull/2826
Related issue:
https://github.com/actions/virtual-environments/issues/2978
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

@miketimofeev
I've rambled a bit about /etc/environment && /etc/profile && shells here: https://github.com/nektos/act/pull/570#issuecomment-801560100
For pwsh that is invoked without -l/-login, equivalent would be to create $profile.AllUsersCurrentHost or $profile.AllUsersAllHosts and add those variables in that file.
$profile | gm -MemberType NoteProperty | % { return [pscustomobject]@{ Type = $_.Name ; Location = $profile."$($_.Name)" }}

e.g.:
$env:XDG_CONFIG_HOME = "${env:HOME}/.config"
# or
$env:PATH = "$($env:PATH)$([IO.Path]::PathSeparator)$($env:HOME)/.dotnet/tools"
# or
$env:PATH = ('{0}{1}{2}/.dotnet/tools' -f $env:PATH, [IO.Path]::PathSeparator, $env:HOME)

Unfortunately I do not know how zsh will behave and how to fix it since I don't use it but from http://zsh.sourceforge.net/Intro/intro_3.html it appears that .zshenv could be used if it was put in /etc/skel.

Aargh. This just broke things for me because now ~/.local/bin isn't on the PATH anymore.

https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun

Commands run using non-login shells by default

And on my ubuntu jobs, it is running this shell: bash --noprofile --norc -eo pipefail {0}
So, .bashrc doesn't get loaded now (--norc) whereas the profile.d entries WERE getting loaded by default.

@cognifloyd we're going to get it back soon, but using another approach. Sorry for the inconvenience


host.name assigned with pod.name

Describe the bug
When viewing the Hosts UI with Java APM service active in a k8s pod, Java agent monitored services report the pod name in the host.name, which makes the Hosts View display hosts that do not correlate with hosts monitored by the system integration.
Steps to reproduce

Run a Java APM instrumented service in a k8s pod
Ingest that into ES
Open the Infra UI

edge-oblt can be used for the above.
Expected behavior
Only hosts (VMs) are expected to be present in the Hosts View.
Additional context

Sample doc
{
  "_index": ".ds-metrics-apm.app.opbeans_java_otel-default-2024.06.19-000001",
  "_id": "si-XVJAB-A68Bg7Zc120",
  "_score": 0,
  "_source": {
    "agent": {
      "name": "opentelemetry/java",
      "version": "1.10.1"
    },
    "data_stream": {
      "dataset": "apm.app.opbeans_java_otel",
      "namespace": "default",
      "type": "metrics"
    },
    "host": {
      "architecture": "amd64",
      "hostname": "opbeans-java-otel-dddd7dc8b-pslbg",
      "name": "opbeans-java-otel-dddd7dc8b-pslbg",
      "os": {
        "full": "Linux 6.1.75+",
        "platform": "linux",
        "type": "linux"
      }
    },
    "metricset": {
      "name": "app"
    }
  }
}

I had a quick call with @Mpdreamz , and he explained that the non-matching host names shipped by APM agents are due to missing configuration as exemplified in this comment https://github.com/elastic/observability-dev/issues/3321#issuecomment-2236909682.


fixes issue with missing omp on MacOS

I don't have access to an OSX machine so I can't test myself. But, I'm confused because, we use the same c file and setup description in this repo and people who run that on OSX haven't mentioned this issue. Also, to my knowledge omp is part of gcc>4.2 (That's why the modification we made recently set a min gcc version of 5). I didn't know it as an external library that needed linking.

I don't have access to an OSX machine so I can't test myself. But, I'm confused because, we use the same c file and setup description in this repo and people who run that on OSX haven't mentioned this issue. Also, to my knowledge omp is part of gcc>4.2 (That's why the modification we made recently set a min gcc version of 5). I didn't know it as an external library that needed linking.

Strange. I get the "Symbol not found: _GOMP_barrier" with gcc-7 and gcc-8 on import using both Python 3.6 and 3.7 if work wasn't compiled with linking to omp.
Could be an issue with the Mac I'm using I suppose.
I'll close this PR and ask some Mac-users at work to test this next week.

Also, this should go inside a 'darwin' case. On Linux machines I'm sure we don't need this extra dependency.

Yep, you're right.
Thanks.


Adding Kimberly College Sixth Form

@zaccmarin Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@zaccmarin You might miss my previous comment. Please react.


Fix meshlayer exmaple

Coverage increased (+2.7%) to 82.836% when pulling 0aa212b590a14748362f13fb27b3843fee99e4ce on xx/mesh into b842628e12992b399acb35b5cc81caa8b76e8b7c on master.


Chrome Crashes with Flutter Web Debug Mode On Return from Redirect (OAuth redirect)

Steps to Reproduce

Run flutter web app in debug mode
Utilize an Auth provider with redirect (app -> auth portal (like Azure AD) -> redirect back to app)
Upon returning to the app, receive Chrome "Aw, Snap! Error code 6"

Works fine in release and profile modes. Only an issue in debug mode.

Hitting refresh hangs on the app's splash screen (linear progress at top is able to complete). main() is never run.
Hot restart hangs.

No breakpoints have been set.
Logs

flutter run logs (debug mode, verbose)
[ +110 ms] executing: sysctl hw.optional.arm64
[  +21 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +10 ms] executing: [/Users/matt/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +22 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] ffb2ecea5223acdd139a5039be2f9c796962833d
[        ] executing: [/Users/matt/development/flutter/] git tag --points-at ffb2ecea5223acdd139a5039be2f9c796962833d
[  +99 ms] Exit code 0 from: git tag --points-at ffb2ecea5223acdd139a5039be2f9c796962833d
[        ] 2.5.1
[   +8 ms] executing: [/Users/matt/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/matt/development/flutter/] git ls-remote --get-url origin
[  +16 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +113 ms] executing: [/Users/matt/development/flutter/] git rev-parse --abbrev-ref HEAD
[  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +8 ms] executing: sw_vers -productName
[  +17 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[   +1 ms] 11.6
[        ] executing: sw_vers -buildVersion
[  +18 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20G165
[  +79 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +66 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +28 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[ +754 ms] Exit code 0 from: xcrun xcodebuild -version
[        ] Xcode 13.0
           Build version 13A233
[  +91 ms] Skipping pub get: version match.
[  +91 ms] Found plugin firebase_analytics at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-8.3.3/
[   +8 ms] Found plugin firebase_analytics_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics_web-0.3.0+1/
[   +2 ms] Found plugin firebase_core at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.7.0/
[   +3 ms] Found plugin firebase_core_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.1.0/
[   +3 ms] Found plugin flutter_appauth at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_appauth-1.1.0+1/
[  +52 ms] Found plugin path_provider_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[   +3 ms] Found plugin path_provider_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[  +15 ms] Found plugin shared_preferences at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[   +1 ms] Found plugin shared_preferences_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[   +1 ms] Found plugin shared_preferences_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[   +2 ms] Found plugin shared_preferences_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[   +1 ms] Found plugin shared_preferences_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[  +19 ms] Found plugin url_launcher at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.12/
[   +1 ms] Found plugin url_launcher_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[   +1 ms] Found plugin url_launcher_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +2 ms] Found plugin url_launcher_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[   +1 ms] Found plugin url_launcher_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[  +16 ms] Found plugin flutter_appauth_web at /Users/matt/repos/client/theapp/custom_packages/flutter_appauth_web/
[  +92 ms] Found plugin firebase_analytics at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-8.3.3/
[   +1 ms] Found plugin firebase_analytics_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics_web-0.3.0+1/
[        ] Found plugin firebase_core at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.7.0/
[        ] Found plugin firebase_core_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.1.0/
[        ] Found plugin flutter_appauth at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_appauth-1.1.0+1/
[  +13 ms] Found plugin path_provider_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[        ] Found plugin path_provider_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[   +6 ms] Found plugin shared_preferences at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[   +1 ms] Found plugin shared_preferences_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[        ] Found plugin shared_preferences_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[   +1 ms] Found plugin shared_preferences_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[   +1 ms] Found plugin shared_preferences_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[   +7 ms] Found plugin url_launcher at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.12/
[        ] Found plugin url_launcher_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[        ] Found plugin url_launcher_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +1 ms] Found plugin url_launcher_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[        ] Found plugin url_launcher_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[   +8 ms] Found plugin flutter_appauth_web at /Users/matt/repos/client/theapp/custom_packages/flutter_appauth_web/
[  +11 ms] Generating /Users/matt/repos/client/theapp/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +263 ms] Launching lib/main.dart on Chrome in debug mode...
[ +101 ms] Updating assets
[ +206 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
Waiting for connection from debug service on Chrome...
[  +29 ms] Found plugin firebase_analytics at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-8.3.3/
[   +1 ms] Found plugin firebase_analytics_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics_web-0.3.0+1/
[        ] Found plugin firebase_core at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.7.0/
[        ] Found plugin firebase_core_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.1.0/
[        ] Found plugin flutter_appauth at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_appauth-1.1.0+1/
[  +13 ms] Found plugin path_provider_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[   +2 ms] Found plugin path_provider_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[   +7 ms] Found plugin shared_preferences at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[        ] Found plugin shared_preferences_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[        ] Found plugin shared_preferences_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[        ] Found plugin shared_preferences_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[        ] Found plugin shared_preferences_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[   +5 ms] Found plugin url_launcher at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.12/
[        ] Found plugin url_launcher_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[        ] Found plugin url_launcher_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[        ] Found plugin url_launcher_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[        ] Found plugin url_launcher_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[   +4 ms] Found plugin flutter_appauth_web at /Users/matt/repos/client/theapp/custom_packages/flutter_appauth_web/
[  +16 ms] Found plugin firebase_analytics at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-8.3.3/
[        ] Found plugin firebase_analytics_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics_web-0.3.0+1/
[        ] Found plugin firebase_core at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.7.0/
[   +1 ms] Found plugin firebase_core_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.1.0/
[        ] Found plugin flutter_appauth at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_appauth-1.1.0+1/
[  +10 ms] Found plugin path_provider_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[        ] Found plugin path_provider_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[   +4 ms] Found plugin shared_preferences at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[        ] Found plugin shared_preferences_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[        ] Found plugin shared_preferences_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[        ] Found plugin shared_preferences_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[        ] Found plugin shared_preferences_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[   +4 ms] Found plugin url_launcher at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.12/
[        ] Found plugin url_launcher_linux at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[        ] Found plugin url_launcher_macos at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[        ] Found plugin url_launcher_web at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[        ] Found plugin url_launcher_windows at /Users/matt/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[   +4 ms] Found plugin flutter_appauth_web at /Users/matt/repos/client/theapp/custom_packages/flutter_appauth_web/
[ +109 ms] <- reset
[   +8 ms] /Users/matt/development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/matt/development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/matt/development/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DAPP_ENV=local -Dflutter.inspector.structuredErrors=true -DFLUTTER_WEB_AUTO_DETECT=false -DFLUTTER_WEB_USE_SKIA=true --output-dill /var/folders/dn/xg4rj3vj5lg91mqbnfhsz_lc0000gn/T/flutter_tools.bgre1T/flutter_tool.PuzqrR/app.dill --libraries-spec file:///Users/matt/development/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /Users/matt/repos/client/theapp/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root /var/folders/dn/xg4rj3vj5lg91mqbnfhsz_lc0000gn/T/flutter_tools.bgre1T/flutter_tools.Yxp1KK --filesystem-scheme org-dartlang-app --initialize-from-dill build/aea9870bd07efd57b9fc850d36829a3c.cache.dill.track.dill --platform file:///Users/matt/development/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[  +11 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+28422 ms] Synced 42.6MB.
[        ] <- accept
[        ] Caching compiled dill
[ +110 ms] Using Google Chrome 94.0.4606.61

[ +122 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[ +368 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:59385/devtools/browser/f9c4069e-8659-40bf-b89d-8b5c020ddcbe
[+1350 ms] DwdsInjector: Received request for entrypoint at http://localhost:60664/main_module.bootstrap.js
[   +7 ms] MetadataProvider: Loading debug metadata...
[  +29 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +8 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:60664/main_module.bootstrap.js
[+3802 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[ +102 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:59414/3kMgVXl2oXg=/ws

[  +27 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:59414/3kMgVXl2oXg=/ws
[   +6 ms] Debug service listening on ws://<IP_ADDRESS>:59414/3kMgVXl2oXg=/ws
[        ] 💪 Running with sound null safety 💪
Debug service listening on ws://<IP_ADDRESS>:59414/3kMgVXl2oXg=/ws

DevTools logs from after returning from the redirect:
[+15333 ms] DwdsInjector: Received request for entrypoint at http://localhost:60664/main_module.bootstrap.js
[        ] MetadataProvider: Loading debug metadata...
[  +22 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +7 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:60664/main_module.bootstrap.js
[+2496 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true

Flutter Doctor
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-x64, locale en-US)
    • Flutter version 2.5.1 at /Users/matt/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (12 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/matt/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (3 available)
    • Matthew’s iPhone (mobile)          • 45b3e1bec6d5b87028ea22aaebad70c2f6e3af64 • ios            • iOS 14.8 18H17
    • iPad Air (4th generation) (mobile) • EA124D6C-5B0F-48C7-909C-05DC4DC06855     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • Chrome (web)                       • chrome                                   • web-javascript • Google Chrome 94.0.4606.61
    ! Error: Matthew’s iPhone is busy: Fetching debug symbols for Matthew’s iPhone. Xcode will continue when Matthew’s iPhone is finished. (code -10)

• No issues found!

Hot Restart Logs
Performing hot restart...
[+92377 ms] Initializing file store
[  +16 ms] Skipping target: gen_localizations
[   +6 ms] Skipping target: gen_dart_plugin_registrant
[   +1 ms] Skipping target: _composite
[   +3 ms] complete
[  +22 ms] Scanned through 673 files in 16ms
Waiting for connection from debug service on Chrome...
[   +1 ms] <- recompile org-dartlang-app:/web_entrypoint.dart 72b73c96-02d9-47fb-94d6-e5605a3436f0
[        ] <- 72b73c96-02d9-47fb-94d6-e5605a3436f0
[  +46 ms] Synced 0.0MB.
[        ] <- accept
[   +2 ms] DwdsVmClient: Attempting a hot restart
[   +1 ms] DwdsVmClient: Attempting to disable breakpoints and resume the isolate

Hi @mdrideout, Thanks for filing the issue.
I see three is a similar issue describing this case https://github.com/flutter/flutter/issues/90822,  Please follow up there for further updates, Closing this issue as a duplicate. If you disagree feel free to write in the comments and I will reopen it.
Thank you.


Add __self__ and __self_class__ property accessor for super

Feature
Add __self__ and __self_class__ for PySuper. Please refer this PR #3601
For now, obj field in RustPython have both for obj and obj_type in cpython. See below link
Python Documentation
https://github.com/python/cpython/blob/main/Objects/typeobject.c#L8755-L8772

@djrmarques if you are looking for a good starting point to learn how RustPython works, this is a good starting point.


Memory leak in Sample

Hi, I'm trying to combine KTP with LeakCanary to secure that there is no leak in project, even with KTP.
Based on the sample, I just add LeakCanary dep, and it founds a leak on AddNewActivity because of BackpackApplication.scope.
Here is the message:
┬───
│ GC Root: System class
│
├─ android.provider.FontsContract class
│    Leaking: NO (BackpackApplication↓ is not leaking and a class is never leaking)
│    ↓ static FontsContract.sContext
├─ com.example.toothpick.BackpackApplication instance
│    Leaking: NO (Application is a singleton)
│    ↓ BackpackApplication.scope
│                          ~~~~~
├─ toothpick.ScopeImpl instance
│    Leaking: UNKNOWN
│    ↓ ScopeImpl.childrenScopes
│                ~~~~~~~~~~~~~~
├─ java.util.concurrent.ConcurrentHashMap instance
│    Leaking: UNKNOWN
│    ↓ ConcurrentHashMap.table
│                        ~~~~~
├─ java.util.concurrent.ConcurrentHashMap$Node[] array
│    Leaking: UNKNOWN
│    ↓ ConcurrentHashMap$Node[].[0]
│                               ~~~
├─ java.util.concurrent.ConcurrentHashMap$Node instance
│    Leaking: UNKNOWN
│    ↓ ConcurrentHashMap$Node.key
│                             ~~~
╰→ com.example.toothpick.activity.AddNewActivity instance
     Leaking: YES (ObjectWatcher was watching this because com.example.toothpick.activity.AddNewActivity received Activity#onDestroy() callback and Activity#mDestroyed is true)
     key = 712a718b-30c6-441c-a03e-52fba6adfdbb
     watchDurationMillis = 51699
     retainedDurationMillis = 46697
METADATA
Build.VERSION.SDK_INT: 27
Build.MANUFACTURER: Google
LeakCanary version: 2.4
App process name: com.example.kotlin
Analysis duration: 11393 ms
Is this normal ?

That report is valid, the other 3 activities on the sample are fine. But we forgot to close the scope on that one:
https://github.com/stephanenicolas/toothpick/blob/master/toothpick-sample/src/main/java/com/example/toothpick/activity/AddNewActivity.java#L30
Will keep the issue open open as a bug to fix.
Thx Anthony!


Wrong rarity impression

Hi,
you should NOT compare the rarity of a color with the rarity of a mouth or body.
It does not make any sense at all.
There are 7 cattributes-styles and you compare the rarity of ALL of them to one another....that is just utterly wrong.
Body:10
Eyes:8
Pattern:6
Mouth:9
Colorbody:9
Coloreyes:8
Color:18
There should be rarity amongst themselfes not compared to one another.
persian,wingtips,jaguar,gerbil,oldlace,bubblegum,belleblue would be the holy grail right now, and all of those should be LEGENDARY.
I hope i explained myself clearly enough and you get where im coming from.
Thank you for reading.
Greets wodan

I'm going to respectfully disagree as the current market does seem to care about which body part the cattribute applies to and to some extent the market, right now, does seem to care about how rare an cattribute is unless it's pink. And jaguar, gerbil, oldlace, bubblegum are all being sold for $3-7 right now. With wingtips being around $10 but I can see that going towards $3-7 in the next couple of days. And normal cats are going for $2-3.


Could we enable fast.log by default

https://github.com/opnsense/core/blame/a1b0dd8071273fea1206b61c7f18e3139cd24add/src/opnsense/service/templates/OPNsense/IDS/suricata.yaml#L74
The ability to use fast.log would enable CrowdSec parsing with ease, the eve.json is great for ELK, but fast.log is perfect for CrowdSec.
We would also need to modify the log rotation for fast.log - please do not try to 'enhance' or add more context to fast.log - it works simply by selecting 'yes' and CrowdSec parses the details perfectly!!

Closing to re-use a template, heh, first time trying to do something like this...

Close not complete as I have submitted a template issue (I hope).

Close complete, template submission helped, I figured out how to customize with permanence Suricata on the OPNSense, now have a second EVE output that CrowdSec has no problem parsing, and my Reverse Proxy XFF is output correctly
https://www.nova-labs.net/homelab-opnsense-crowdsec-multi-server/


Suggestion: Rename not_covariant to invariant

From my understanding not_covariant in this library is only used for invariant types. Why not rename not_covariant to invariant?
cc https://github.com/Voultapher/self_cell/issues/10

Actually, the existing name covers two cases, the second being types that
are contravariant. Both categories require the macro to avoid generating
the same set of methods.
On Sat, May 15, 2021, 04:07 Jonas Platte @.***> wrote:

From my understanding not_covariant in this library is only used for
invariant types. Why not rename not_covariant to invariant?
cc Voultapher/self_cell#10
https://github.com/Voultapher/self_cell/issues/10
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/joshua-maros/ouroboros/issues/28, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOL2YRLS4SBTXFT2EXGC3CLTNZIWBANCNFSM445ZAWMQ
.

Are contravariant fields in a self-borrowing struct really useful / meaningful though? They wouldn't actually borrow from the owned part of the struct.

As long as they can exist (fn(&self) is valid to have as a field), I
don't want to name the attribute in a way that excludes them. Even though I
can't imagine a situation where having a contravariant type would be
useful, it's still allowed by the language.
On Sat, May 15, 2021, 06:40 Jonas Platte @.***> wrote:

Are contravariant fields in a self-borrowing struct really useful /
meaningful though? They wouldn't actually borrow from the owned part of the
struct.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/joshua-maros/ouroboros/issues/28#issuecomment-841660656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOL2YRM2CGWXU4XGXCF3AWLTNZ2T3ANCNFSM445ZAWMQ
.

Alright.


Get rid of reference comment tag

Why do we need to write comment tags to bring up classes into the scope?
What if I move file into another folder? Should I go though all the usages and correct the path in reference tags?
Why visual studio can't just pick up all the files and compile the project?
Why typescript compiler can't behave like C# compiler?
Even though the compiler gives me 'Cannot find name XXX' error it still compiles a ts file into js.
Even though the compiler gives me 'Cannot find name XXX' it still correctly find the definition file if I hit F12
So why on Earth I need to write these comments?

So why on Earth I need to write these comments

Now that we have tsconfig.json most people don't. At lest not in the code they write. That said they are still good for Typing authors + quick project demonstrations.
PS: removing them would be a big breaking change. Which has got a bit to do with why they are still there :rose:

I have had an empty tsconfig.json that used to do the trick. But now with TS <IP_ADDRESS> released it stopped working. I've just found out that I need to have at least opening and closing curly braces to make it work. Missing the file makes compiler crazy highlighting every class in my code. Why just not treat missing file as if it were empty? Why not include all files in build list until I explicitly tell to include or exclude certain files?

But now with TS <IP_ADDRESS> released it stopped working

I think this is a bug. do you mind filing a separate issue for it.

Why just not treat missing file as if it were empty? Why not include all files in build list until I explicitly tell to include or exclude certain files?

missing files where? /// references? if so, do not use /// references. or use --noResolve.

Why visual studio can't just pick up all the files and compile the project?

it does. not sure what is the issue here. create a new project from "HTML Application with TypeScript", and it does not have any ///  and all files are picked up.

Why typescript compiler can't behave like C# compiler?

it is exactelly like C# compiler when it comes to VS, and no need to ever use /// references if you do not want to.

So why on Earth I need to write these comments?

so that you can open a file, with no project, and no tsconfig.json and it figures out its "context". C# does not do that, if you open a loose C# file, you get almost no support from VS except for colorization. JS developers like to edit their files outside projects, so we have added this feature.
it is optional. if you do not like it, do not use it.

as @basarat mentioned in https://github.com/Microsoft/TypeScript/issues/8108#issuecomment-210437116, this is a huge breaking change that we can not make.


Remove special check for Django<1.7, fix for #1158

Description
Removing a long-obsolete check for Django versions less than 1.7 which made a setup() call that is no longer required.
GitHub Issues
https://github.com/zappa/Zappa/issues/1158

Coverage decreased (-0.08%) to 73.553% when pulling 4f1f1c3bc52955f3c2e2fa01dac91f5dadcaad6c on lucernahealth:remove_django17_check into fff5ed8ad2ee071896a94133909adf220a8e47d9 on zappa:master.

Do I need to write a test to bump coverage back up that .08% or can that check be overridden?

@carlkibler I'm having the same issue in a separate PR.  At the moment I don't have access to the coveralls settings, and can't update the threshold.

@carlkibler can you rebase with the latest master branch?  I found out that coveralls isn't a blocker when merging, so that's not an issue.

Rebased to master


Add links to filter details for supporting APIs

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Reviewers please note that this is a documentation only update.
@itowlson @xingwu1 @annatisch @darylmsft - Let me know if you have any comments

No modification for AutorestCI/azure-sdk-for-node

No modification for AutorestCI/azure-sdk-for-ruby

 https://github.com/Azure/azure-sdk-for-python/pull/1488


Update HSAng to 1.6.0

Thank you for the contribution. It was merged directly as 39d25461b1065a092d685ea3f7215f468b6531bb to keep commit history cleaner. Your contribution is still credited to you.


Build iOS, get this:

/Users/desi/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_unity_widget-0.1.6+5/ios/Classes/UnityUtils.mm:55:10: error: no visible @interface for
'UnityFramework' declares the selector 'frameworkWarmup:argv:'
[ufw frameworkWarmup: g_argc argv: g_argv];
~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build systemnote: Planning buildnote: Constructing build description

I had the same error, for me it seemed to be caused by the post-build script XCodePostBuild.cs not running, as none of the changes were in the exported XCode project.
I exported the project again - the changes in the post-build script were made this time and no more errors.  Hope that helps.

you don't exist the error?
ios/Classes/FlutterUnityWidgetPlugin.m:12:10: fatal error: 'UnityFramework/UnityFramework.h' file not found
    #include <UnityFramework/UnityFramework.h>

Did you do this step in the README?
6. Add UnityFramework.framework as a Library to the Runner project

As stated by @nickmeinhold, it seems to be an issue with the XCodePostBuild.cs script not running sometimes once the build has completed.
The script is able to run in Unity after the build by declaring above the required method with [PostProcessBuild], which sticks the method into a list of required post build runs, which the script has.
However sometimes it seems it just wont run, even after exporting multiple times in a row.
What worked for me is to specify the run order for the post build by changing it to [PostProcessBuild(0)] informing Unity you want it to be the first thing run straight after the build, before anything else (if anything else)
I am not sure if it will work for everyone, but I am now getting consistent builds without this issue reappearing.
I hope that helps

@RomanTechnologies
had the same issue just now, XCodePostBuild.cs doesn't run sometimes for some reason, that means the unity-sources are not patched, and then stuff is missing
however, this doesnt solve the issue with not being able to build the widget cause "UnityFramework/UnityFramework.h" missing, when trying to do a archive build

Finally got things running with the flutter run command. I did several things, but the biggest thanks goes to this:
https://github.com/flutter/flutter/issues/17978#issuecomment-577270917
I also added `s.pod_target_xcconfig = {'VALID_ARCHS' => 'arm64'}'
This will need to be revisited when unity as a library supports the simulator, but should work until then.

Hello
Thanks for this solution, I manage to build the application on my device without any errors.
But when I do a Product / Archive, I get an error:

Could you help me plz ?
Best regards

Check the updated example. Its a lot easier now to set up on iOS

Check the updated example. Its a lot easier now to set up on iOS

We need more info! Screenshots, paths, better readme, anythimg, but not a single sentence :(

same problem here, nothing helps


Able to log in without secondary password

In gitlab by @jpfox on Jan 12, 2016, 23:38
Last night, at or around 2300:

I attempted to log in (RTS system) on my phone, was prompted for secondary password, which I didn't have handy, so I aborted.

I logged in from my computer, provided my secondary password successfully and was logged in to Core.

I attempted log in again from my phone, and was logged in without being required to enter secondary password.

Needless to say, this surely can't be right.

In gitlab by @A-Lawrence on Jan 12, 2016, 23:41
This is a side effect of storing the details of secondary authentication in the database per account.  This is already being solved for 2.2.3.
The issue is caused because we fully authenticate a user at the start of the login and then block them from performing actions, unless the secondary password requirement is removed.  This is overcome in the manner you suggested.

In gitlab by @jpfox on Jan 13, 2016, 08:28
Thanks. I don't really understand your response but it sounds like you know what the problem is. I didn't suggest a solution at it seems fairly obvious - sessions on separate devices need to be treated separately. If someone had my CID and password, they could log on right now without being prompted for secondary password, which of course entirely defeats the object of having a secondary password at all.

In gitlab by @NFarrington on Jan 13, 2016, 09:18
Absolutely. This was already solved for 2.2.2 - d5029b3b9bdc7e73d42d9b6c88f2279c4571a379


Add ssl support for aria2 plugin

Motivation for changes:
Support https for aria2 plugin.
Detailed changes:

Add use_ssl option to aria2 plugin

use_ssl is a boolean value (default to false)

true: Connect to aria2 by HTTPS
false: Connect to aria2 by HTTP (same as original)

Addressed issues:
N/A
Implemented feature requests:
N/A
Config usage if relevant (new plugin or updated schema):
aria2:
    server: domain.com
    port: 443
    use_ssl: true    # New option here
    secret: 'password'
    path: '/downloads'

Log and/or tests output (preferably both):
2022-06-08 22:25:14 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2022-06-08 22:25:14 VERBOSE  proxy         auto_anime_2022_4_shishangzuiqiangdedamowangzhuanshengweicunminA_LoliHouse Setting proxy to {'http': 'http://<IP_ADDRESS>:7890', 'https': 'http://<IP_ADDRESS>:7890'}
2022-06-08 22:25:16 VERBOSE  details       auto_anime_2022_4_shishangzuiqiangdedamowangzhuanshengweicunminA_LoliHouse Produced 3 entries.
2022-06-08 22:25:16 VERBOSE  task          auto_anime_2022_4_shishangzuiqiangdedamowangzhuanshengweicunminA_LoliHouse ACCEPTED: `[LoliHouse] 史上最强大魔王重生为村民A / Shijou Saikyou no Daimaou, Murabito A ni Tensei suru - 09 [WebRip 1080p HEVC-10bit AAC][简繁内封字幕]` by accept_all plugin
2022-06-08 22:25:16 VERBOSE  task          auto_anime_2022_4_shishangzuiqiangdedamowangzhuanshengweicunminA_LoliHouse ACCEPTED: `[LoliHouse] 史上最强大魔王重生为村民A / Shijou Saikyou no Daimaou, Murabito A ni Tensei suru - 08 [WebRip 1080p HEVC-10bit AAC][简繁内封字幕]` by accept_all plugin
2022-06-08 22:25:16 VERBOSE  task          auto_anime_2022_4_shishangzuiqiangdedamowangzhuanshengweicunminA_LoliHouse ACCEPTED: `[LoliHouse] 史上最强大魔王重生为村民A / Shijou Saikyou no Daimaou, Murabito A ni Tensei suru - [01-07][WebRip 1080p HEVC-10bit AAC][简繁内封字幕]` by accept_all plugin
2022-06-08 22:25:17 VERBOSE  details       auto_anime_2022_4_shishangzuiqiangdedamowangzhuanshengweicunminA_LoliHouse Summary - Accepted: 3 (Rejected: 0 Undecided: 0 Failed: 0)
2022-06-08 22:25:17 INFO     aria2         auto_anime_2022_4_shishangzuiqiangdedamowangzhuanshengweicunminA_LoliHouse Connecting to daemon at https://domain.com:443/rpc

To Do:
N/A

I may be missing something but feels unnecessary to have an option for this when it could be hinted by the https prefix on server or the port number

I may be missing something but feels unnecessary to have an option for this when it could be hinted by the https prefix on server or the port number

Aria2 server option is just a domain, not including protocol.
qBittorrent plugin also has use_ssl option.
The original aria2 plugin could not support https anyway even port 443 specified, because it hardcoded url 'http://%s%s:%s/rpc' % (userpass, server, port) to connect to aria2. So Flexget will raise a ProtocolError exception if server requires SSL handshake.
...
...
xmlrpc.client.ProtocolError: <ProtocolError for domain.com:443/rpc: 400 Bad Request>
2022-06-09 17:09:57 CRITICAL manager       auto_anime_2022_1_mofakegaoxiaodeliedengshengzhuiyipian_Skymoon-Raws An unexpected crash has occurred. Writing crash report to C:/Users/user/.flexget\crash_report.2<IP_ADDRESS>957845562.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 3.3.16.dev

Maybe I can switch ssl automatically when port is 443. But it can't work for other ports.

You already changed the hardcoded part, just make it so the protocol can be set on the domain.
If domain starts with https://: use_ssl logic, else if no protocol: add http://


Add GC9107 driver support

Adding support for the GC9107 driver, commonly driving 0.85" panels in M5Stack Atom S3, Waveshare 0.85 and lilygo 0.85. Tested with Atom S3R and Waveshare 0.85.

@rfuest thx for help and the suggestions!


No Jaeger trace if X-Request-ID is manually set in request

Bug description
When X-Request-ID is provided in request header, the request can no be displayed in Jaeger. Is there any format requirement to the X-Request-ID?
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[X] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Request can be displayed in Jaeger trace
Steps to reproduce the bug
Take bookinfo sample as example. When accessing api by curl http://localhost:31380/productpage -I, request can be shown in Jaeger with correct trace.
But there is no trace in Jaeger if X-Request-ID is provided in request like below:
curl http://localhost:31380/productpage -I -H 'X-Request-ID: 90f1fe22ab377a463d681afc59412407'

If the request id follows the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, the trace is ok too. So there is trace only when no X-Request-ID is not provided or the format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (e.g. aff95183-98ab-911c-a852-ac1f4a1b3269). X-Request-ID with other format does not work.
Version (include the output of istioctl version --remote and kubectl version)
istioctl version --remote
client version: 1.2.5
citadel version: 1.2.5
galley version: 1.2.5
ingressgateway version: 1.2.5
pilot version: 1.2.5
policy version: 1.2.5
sidecar-injector version: 1.2.5
telemetry version: 1.2.5

How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

Envoyproxy only consider UUID that follows https://tools.ietf.org/html/rfc4122 as traceable. I am going to close this as this works as intended. Please consider open an feature request in envoyproxy repo if alternative request id format is desired.

A feature request and proposal has already been raised for this: https://github.com/envoyproxy/envoy/issues/7624


Fix/heroku blob

Coverage remained the same at 47.232% when pulling 96d5774b4ee524183514157575ff9c806c6dc226 on fix/heroku-blob into 852718e59f4aa7684f0a573bd90a3fd76698e6a9 on master.


not support utf-8 chinese language

Homekit couldn't find the accessory when I named it in Chinese
	info := accessory.Info{
		Name:         "车库门",
		SerialNumber: "051AC-23AAN1",
		Manufacturer: "Apple",
		Model:        "AB",
	}

Related to #141


Allow template to enforce specific output extension

For example: react-apollo template should enforce tsx extension to avoid confusion and other issues with the generated file.

Done in v0.14. Custom plugins can now specify validate method to validate their configuration.


how to fix the port for full_beaconchain_explorer

Could you describe the issue with a bit more details?

I mean every time i start a new instance, the port number for explorer changes, i want it to be consistent, or any other way so i can add the port address in makefile

For static ports please refer to the readme

thanks


Import for JSON dataset file from sw-adversaries

Request to import NPC data from a data set like the one below.
https://github.com/stoogoff/sw-adversaries/tree/master/src/media/data

now in the dev branch.  see commit notes for known issues with data


[FEATURE] Individual Entry Preview

Requested Feature

I'd like to be able to render a specific entry on its own, without any of the frontmatter and appendix.

single entry
no frontmatter
no appendix

Current Implementation

You must include the following for the entry to actually render in the preview
#show notebook.with(/*...*/)

Motivation

This would make it easier to work on individual entries and quickly check that everything looks correct without any scrolling in the pdf preview.
(Optional) Possible Implementations and Alternatives

open the pdf to a specific page but i couldn't figure out how to do this
dont provide cover page -> radial theme creates a placeholder cover page

I don't think its possible for us to support this. I considered having each create_entry function return content instead of modifying the global state of the template, however this created some issues that I didn't see a way to get around.

Entries could be created out of order (ie you could have a frontmatter entry, a body entry, and then another frontmatter entry)
We suddenly have no way of guaranteeing that the page count is correct at any point in the document

Even if it was possible this is too large of a refactor for the number of users it affects.
I know that my PDF viewer (Zathura) remembers which page it was viewing when the document reloads, so you may want to consider switching up your approach to viewing PDFs.


[NodeJS][25.bot-logging] - Fix minor typos and improve README structure and content

Proposed Changes

Add 'appId' and 'appSecret' to msbot command and instructions to obtain them
Update botbuilder version from 4.0.6 to 4.1.5 to solve vulnerabilities issues
Update README.md file to match with template
Fix minor typos

Closed due to Microsoft#870


Shade jsr311-api in Authz

:mag: Description
I faced the following error when trying to run authz with Spark 4.0
  Cause: java.lang.NoClassDefFoundError: javax/ws/rs/core/Cookie
  at java.base/java.lang.Class.forName0(Native Method)
  at java.base/java.lang.Class.forName(Class.java:375)
  at org.apache.ranger.plugin.policyengine.RangerPluginContext.createAdminClient(RangerPluginContext.java:96)
  at org.apache.ranger.plugin.util.PolicyRefresher.<init>(PolicyRefresher.java:90)
  at org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:251)
  at org.apache.kyuubi.plugin.spark.authz.ranger.SparkRangerAdminPlugin$.initialize(SparkRangerAdminPlugin.scala:68)

The javax.ws.rs:jsr311-api is the transitive dep of jersey-client, we should shade and relocate it correctly.
Why does it work with Spark 3? Spark 3 provides jakarta.ws.rs:jakarta.ws.rs-api:2.1.6 which provides java.ws.rs.* classes, but Spark 4 upgrades to jakarta.ws.rs:jakarta.ws.rs-api:3.0.0 which changed package name tojakarta.ws.rs.*.
Types of changes :bookmark:

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Pass GHA and manually tested with Spark 4

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (df8448c) to head (5699200).

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6638   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         680     680
  Lines       42045   42045
  Branches     5739    5739
======================================
  Misses      42045   42045

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

Merged to master/1.9


feat(desktop): remember the selected encode/decode type

PR Checklist
If you have any questions, you can refer to the Contributing Guide
What is the current behavior?
Restarting \ switching tools will change the default value of plaintext, resulting in other encoded messages will be garbled.
Issue Number
#903
What is the new behavior?
Remember the encoding/decoding type selected by the user.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to review?
Other information

Thanks to @XL-YiBai for the contribution. However, I reviewed your code, which currently only works for the receiving side. Consider setting it up for the publishing side. Thanks.

Thanks to @XL-YiBai for the contribution. However, I reviewed your code, which currently only works for the receiving side. Consider setting it up for the publishing side. Thanks.

Hi, @ysfscream , I have reviewed the code for MsgPublish.vue and noticed that the ten recently sent messages will be stored, including their payloadType. After testing, the sender has already supported this feature. So it seems that there is no need to add any more code here.

Oh, indeed. I now see that it's already included in the historical messages. That slipped my mind, appreciate your reminder. Let's move this PR forward for review. We'll conduct local testing, thank you.


WIP: Convert LWRPs to custom resources

This bumps the minimum chef client to 12.5+.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Haven't merged due to WIP - was going to do a release tomorrow - let me know if you want to get this in. You can rebase off master to get test failure fixes.

@erichelgeson This is ready for release.

Busy with work today, but will do a review/release Monday (please ping me if I dont!)

I'm setting this back to WIP since I've gone deep enough that I might as well just start rewriting the world

Ahh missed that you were changing this to a WIP again.

This is actually going to need some rework to make the chef core resources work with the converge_by blocks. Compilation strikes again!

Once I get back from vacation I'll figure out what I need to do to wrap this one up

Any progress on this?  Would love to see all the wonderful changes go live... :)

This slipped my mind, but I'll get it on my list to check out this week. Sorry for the delay.

@tas50 Friendly ping

Work has gotten busy. I'll see when I can carve some time out to finish this up

Hey @taiphun we've been busy, very busy shipping the Chef 14 release. We'll get back to this when we have some time on our plate.

lint/unit tests now pass
openjdk tests pass everywhere but opensuse

@erichelgeson This should be good for a merge now


[QST] Not generating labels during training after mapping to empty list

❓ Questions & Help
Details
Following along the example notebooks (TF), I map the training labels to an empty list, as done in the tutorial:
dataloader.map(lambda X, y: (X, []))
However, when I then print out the labels during training they remain empty:
Batch output (y_true) =
Although, the tutorial says: The reason we set the targets to [] in the data-loader because the true item labels are computed internally by the MaskSequence class.
Is there somewhere particular that might be causing this issue that you could suggest?
Thanks!

Thank you for your question @asos-edharris!  Could you please share the code used to print out the labels during training?
To give more context to the tutorial statement:   The labels are computed from the input sequence of item-ids and stored in the MaskSequence class as masked_targets.  Then, they are retrieved in NextItemPredictionTask when computing the loss (here ) or the metrics (here)


Expand Columns to cover the parent Container Width

@bosskmk How do I expand the column without providing it a definite width to cover the whole width ?

Hi @bosskmk , any updates?

There is no function to adjust the columns to fit their full width.
A feature should be added.
Or you can implement it yourself using stateManager .

@bosskmk, I am very new to this library. Not exactly sure how to do it using stateManager. I will give it a try. However, if you can help me with any sample code to do this, that would be very helpful. Thanks

I think that you can use MediaQuery.of(context).size.width/{number of table column} for auto matic resize column when load data.

Is there any solution to this as of 2022?

Not yet available as a feature.
More will be added in the future.
Before that, I attach a simple example.
import 'package:flutter/material.dart';
import 'package:pluto_grid/pluto_grid.dart';

import '../dummy_data/development.dart';

class EmptyScreen extends StatefulWidget {
  static const routeName = 'empty';

  const EmptyScreen({Key? key}) : super(key: key);

  @override
  _EmptyScreenState createState() => _EmptyScreenState();
}

class _EmptyScreenState extends State<EmptyScreen> {
  late List<PlutoColumn> columns;

  late List<PlutoRow> rows;

  late PlutoGridStateManager stateManager;

  @override
  void initState() {
    super.initState();

    columns = DummyData(10, 0).columns;

    rows = DummyData.rowsByColumns(length: 10, columns: columns);
  }

  void _fitColumnsWidth() {
    final maxWidth = stateManager.maxWidth!;

    // If there is a frozen column,
    // the width of the body area in the center excluding the width of the fixed columns
    // final bodyWidth =
    //     maxWidth - stateManager.bodyLeftOffset - stateManager.bodyRightOffset;

    final double eachWidth = maxWidth / stateManager.refColumns.length;

    for (final column in stateManager.refColumns) {
      column.width = eachWidth;
    }

    stateManager.notifyListeners();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        padding: const EdgeInsets.all(15),
        child: PlutoGrid(
          columns: columns,
          rows: rows,
          onChanged: (PlutoGridOnChangedEvent event) {
            print(event);
          },
          onLoaded: (PlutoGridOnLoadedEvent event) {
            stateManager = event.stateManager;
            _fitColumnsWidth();
          },
          configuration: const PlutoGridConfiguration(),
        ),
      ),
    );
  }
}


Create start screen and how to

Start screen
How to play
Can consider settings

can i work on this?

@Vishwaak I will assign it to you, but you have to wait for #12 to pass, it has the basic things in it, and you can improve on all those screens.

@Vishwaak You can work on this now.
tutorial_screen has been added. Modify that.


Doc: Add java/plantuml dependency to building the documentation.

I asked about this on the mailing list, received no replies. The primary point is to be able to use plantuml natively in the documents. This is a UML text based diagram builder that is in turn based on GraphViz (dot). It makes very nice class and sequence diagrams and I have been using it heavily in my personal Traffic Server documentation (see here for an example).
The changes here cause

configuration to check for a runtime java iff doc building is enabled.
build the SVG files currently in use from the plantuml source instead of having them checked in.
require sphinxcontrib.plantuml to support inline UML diagrams.

[approve ci rat]


A simple request for clarification about syntax

Hello,
I want to create a slideshow with a caption for each photo using grav-plugin-photoswipe.
I've read the "usage" paragraph, but I can't figure out how to use the caption function and what its exact syntax is.
If i use

caption

All images have "caption" .
Can someone explain how to display its "title" and/or "caption" below each image?
I've installed the "Admin Addon Media Metadata" plugin and used it to enter image titles and captions. All images also have their own xx.jpg.meta.yaml file.

I tried with

{{ item.title}} {{ item.caption}}

It works, but thumbnail are displayed in list, not in row . What does i miss ?

Hi @ventoux84, glad you figured out how to add captions, but this plugin only takes care of the photoswipe part and doesn't add or change any thumbnail list styles. You also can see the same behavior on this demo page. You need to style it yourself as you see fit

Thanks for your reply and this plugin.
What i call mosaic, is what is shown in your demo. With my code, i get every  thumbnail arranged one below the other, and no one next to the other.

Ah! Thanks, I'm learning things.
And is it possible to display caption and get  thumbnail arranged one below the other ?
If yes, how to do ?

The further you go, the more you want.
Is it possible to display "Title" on the page with thumbnails, and "Caption" on the full image ?

Is it possible to display "Title" on the page with thumbnails

Yes, but that's baybe better to ask on Grav forum. Just make sure to check posting guidelines

and "Caption" on the full image

Not sure I understand. Do you mean when photoswipe opens and shows an image? I believe you can edit your own styles there too and position the caption where you want

Done with

{{ item.title}}

Thanks for all.

What works to do what I want is
{{ photoswipe('photoswipe-gallery-id', 'a') }}

    {% for item in page.media.images %}

{{ item.title}}

    {% endfor %}

Are you using this in a modal page? If so, please check this thread

No, it's not a modular page, just a "default".
But yes, with "never_cache_twig: true " the page can be reloaded several time and is always well displayed.


Please invite me to the Recode-Hive GitHub Community Organization

Name
Chiluka Akshitha
Discord Username (if applicable)
chilukaakshitha_05646
Additional Context
Intrested to look through the code

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/Recode-Hive/people


Allow unordered parameter on BulkWriter

Fixes the bug reported at #947.
Allow unordered operations on BulkWriter

Hi @thiagosalvatore
This feature is really useful. Thank you for the PR


default-weak-map: new structure

[X] Documentation: #133
[X] Code the structure
[X] Add convenience methods (#.inspect, #.toString, #.toJSON etc.)
[ ] Add proper iterators: infeasible for WeakMap
[ ] Add a static #.from function: DefaultMap doesn't have it, so I suppose I don't need one
[X] Add unit tests
[X] Add proper types
[X] Add the structure to the endpoint (both js & ts)
[ ] Add a changelog entry
[ ] Add keywords

Hello @yoursunny. Thanks for your PR. It seems like a nice addition. I just have a remark: couldn't we keep the code more DRY by either:

creating a factory function taking either Map or WeakMap and returning the class (with a condition to create or not iterator methods in one of the cases) or
only coding the DefaultWeakMap constructor and then only copying the DefaultMap prototype to it (since the methods' code is basically identical, you can see examples of this in the trie.js file).

Between DefaultMap and DefaultWeakMap, 3 methods are same:

peek
has
inspect

Other methods are different:

WeakMap has no clear method, so clear is different
WeakMap has no size property, so get set delete are different

Do you still want to copy the three methods above?

Ok then I feel the best course of action is to copy the three methods you mention from defaultmap’s prototype. But it feels a bit moot indeed seeing those methods are not very complicated. Copying those methods over also means to require the defaultmap file and make a client bundle slightly larger if you only need the defaultweakmap. So I will let you chose whether to do it or not. Tell me and I will respect your decision and then proceed to merge afterwards.

I'd rather not copying the method via prototype. They are shorter than five lines.

Fair enough :). Merging right now.