login() throwing illegal_database_name error for '_session'

When I try to use the login() method, I am getting an illegal_database_name error for _session. I'm guessing this has something to do with utils.getSessionUrl, which is returning http://54.164.xxx.xxx:xxxx///_session (anonymized). Here is the complete error:
{ [illegal_database_name: Database encountered an unknown error]
  status: 400,
  name: 'illegal_database_name',
  message: 'Database encountered an unknown error',
  error: true,
  reason: 'Name: \'_session\'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter.' }

I don't see why this is being thrown. Half of the time, I am also getting an { [Error: read ECONNRESET] status: 400 }, but I'm guessing that is just my connection. Any ideas?

the /// implies to me that some parameters arent being written. looks like a missing db name

That works for _user, though. I thought I had the solution solved when I included:
        var ajaxOpts = {
          ajax: {
            headers: {
              Authorization: 'Basic ' + btoa(user.name + ':' + password)
            }
          }
        }

According to this spec http://docs.couchdb.org/en/1.6.1/api/server/authn.html?highlight=session#delete--_session I should be able to POST to _session, so I don't know why it is throwing an illegal_database_name.

The reference code is here: https://github.com/RichardLitt/beagle-heroku/blob/master/auth.js#L95-L148. To run, run $ node test.js -r signup and then $ node test.js -r login. Some env vars may need to be set.

That seems to be the error, @jbenet. More specifically, these lines in lib/utils.js:
function getBaseUrl(db) {
  // console.log('db.getUrl()', db.getUrl(), db.getUrl().replace(/\/[^\/]+\/?$/, ''))
  return db.getUrl().replace(/\/[^\/]+\/?$/, '');
}

The console log illustrates the error: $ isn't working as an end of line regex marker, for me. What I ended up doing was adding on /_session and then replacing /// with /, which worked.
Any idea what this is isn't working as expected?

no idea. maybe try /\/[^\/]+\/?$/m ? (multiline? this is a stab in the dark)

@nolanlawson it works :)

I also have this problem, how do we get this done? I'm happy to help!

@dasois there was some progress in this PR (https://github.com/nolanlawson/pouchdb-authentication/pull/74), but I would feel most comfortable if we had a new test to go along with the change.

Hey @nolanlawson,
I tried to debug this a little - let me know if this helps. I was looking to send a PR to this repo - but it looks like it may potentially be a pouchdb issue instead?
In the following function:  function genUrl(opts, path)
in the case the last line: '/' + opts.path + pathDel + path; with the given input I tested with on localhost resolves to the following values "/" + "" + "" + "/".
So with the following opts value: (with a path === "/")
{
  "anchor": "",
  "query": "",
  "file": "",
  "directory": "/",
  "path": "",
  "relative": "/",
  "port": "5984",
  "host": "localhost",
  "password": "",
  "user": "",
  "userInfo": "",
  "authority": "localhost:5984",
  "protocol": "http",
  "source": "http://localhost:5984/",
  "queryKey": {},
  "db": ""
}

gives the extra //
I don't know if the function genUrl(opts, path)  or getDBUrl shouldn't be passing in / for the path in this case?
Thoughts?

@staxmanade It looks like PouchDB's ajax module is not correctly joining paths, yes. However I'd rather fix it in the plugin rather than in PouchDB, since it's quicker to update this plugin and publish than wait for a new PouchDB release. I agree though that it should probably be fixed in both places ultimately.

fixed by https://github.com/nolanlawson/pouchdb-authentication/pull/93. I'll release a new version today

👍 💥  ✅

v0.5.1, thanks for fixing this after such a long wait!

Woo!


Residual batml updates

Added in some updates I've done in the private repo.
do_manage2.py -

Made it so that long ssh cmds are split up (there's a limit to length)
added a --q arg to pass to sub_jobs, which is needed to submit jobs to the virtual queue
create started directories to put files in that say if each seed has been started for in and out of FoV LLH jobs

do_llh_inFoV4realtime2.py -

Made it so that each job, when it starts processing a seed, will create a file saying it has started
Skips and seed that has already been started
Each job, after it has finished its own seeds will check the other jobs' seeds to see if they have been started, and if not, will run them

do_llh_oFoV4realtime2.py -

Made it so that each job, when it starts processing a seed, will create a file saying it has started
Skips and seed that has already been started
Each job, after it has finished its own seeds will check the other jobs' seeds to see if they have been started, and if not, will run them

do_rates_mle_InOutFoV2.py -

Made it so that it doesn't crash if there's no partial coding image to use

pyscript_template_rhel7.pbs -

Added arg pmem, which give memory per processor and lets the multi-core bkg job have more memory

Are all these commits py3 compatible?

Yep, this should all be python 3 compatible.

have these been run on cluster?

No, not this exact branch. Do you want me to run a full search with it on the cluster?

If not to difficult. then we can merge with confidence
On Fri, Oct 28, 2022, 7:45 AM Jimmy DeLaunay @.***>
wrote:

No, not this exact branch. Do you want me to run a full search with it on
the cluster?
—
Reply to this email directly, view it on GitHub
https://github.com/Swift-BAT/NITRATES/pull/8#issuecomment-1295089553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2SEU6MVZJMF62GGLEORP3WFPRIXANCNFSM6AAAAAARNM63BU
.
You are receiving this because you commented.Message ID:
@.***>

Ok, I can get on that later today.

Should be all good now. Full test analysis ran without errors.
Corrected a couple small mistakes I made, and found some stuff that already didn't work (importing stuff from config.py that doesn't exist anymore).

Without errors and with matching results? can you paste top results here for posterity? :)
Then i will merger.

I ran F688160018 and the in FoV results match Gayathri's emailed results. The out FoV results don't match her email because her top oFoV results are actually in FoV.  Is it because she is running without a PC image?

Yep, it's because she doesn't have the partial coding image. Without it the out of FoV part of the analysis does the whole sky instead of just at points with <5% coding.

LGTM, merging


Base64 update

fixes merge conflict in https://github.com/hyperium/headers/pull/127
merge conflicts has to do with git getting confused in Cargo.toml with bitflags removal upstream

@serprex I think you already did the merge fix: https://github.com/hyperium/headers/pull/127/commits/287bd818b722ee5a5284826c5eab8700e78eb819
Do I need to merge this PR?

That commit was made by seanmonstar. No need for this PR


Cannot be compiled on Linux

There are a few issues that affect the ability of a linux host to cross-compile DXUP for Windows/Wine

MSVCisms in source code

Missing headers (dxgi1_3.h)

References to nonexistant files in the Meson build

It would be advisable to clarify this in the README until such a time where these are fixed. I strongly dislike MSVC and Win32 C++ so I may or may not make an effort to repair the issue.

yeah, ran into this while trying to compile. seems like the project is abandoned. I hope the dev comes back bc I have no idea of how to fix it.

https://github.com/Joshua-Ashton/dxup/commit/80172043fd6dc46976198d29a21e237104f45dce


Remove: TeamViewer.TeamViewer.Host version 15.50.5

Vanity URL - New version (15.51.5) is available in repo

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Microsoft Reviewers: Open in CodeFlow

URL: https://dl.teamviewer.com/download/version_15x/TeamViewer_Host_Setup.exe
The SSL connection could not be established, see inner exception.
(Automated message - build 853)


Folder naming with text only?

Is it possible to make the folders that are created when downloading highlights to be text only and filter possible emojis?
I've looked at the documentation but this cmd stuff is a bit new and still kind of a jungle to me 😄
I can't make Windows handle them properly when I try to "batch things up" so would be gr8 to be without them.

There is no such feature to filter out emojis from highlight folder names. Besides, simply deleting them would not work because some highlight titles do only consist of emojis. However, as far as I know, Windows should be able to handle them in some way. Maybe consider using PowerShell instead of batch files.

Ah, didn't think of that occasion when there's only emojis since it's not relevant in my case but I see that it would cause a problem.
I've tried changing charset and stuff but it just wont handle them but I'll check if it's any difference in powershell.


prefetch-dependencies: Make the task fail if the input is empty

This change aims to make it clear that a successful execution of the prefetch-dependencies task means that Cachi2 was executed successfully, as opposed to the task being executed as a no-op.
Accepting an empty input was initially allowed because, previously, the task execution was tied to hermetic builds, and we wanted to allow use cases in which there could be a hermetic build but no prefetch. Since this behavior is now changed, allowing the task to be a no-op is no longer necessary.

Accepting an empty input was initially allowed because, previously, the task execution was tied to hermetic builds, and we wanted to allow use cases in which there could be a hermetic build but no prefetch. Since this behavior is now changed, allowing the task to be a no-op is no longer necessary.

Are you basing this on https://github.com/konflux-ci/build-definitions/pull/970? Changes to the pipeline definition do not propagated to existing users, so your change here would probably break everyone who is using prefetch-less hermetic builds.
 Changes to the pipeline definition do not propagate to existing users, so your change here would probably break everyone who is using prefetch-less hermetic builds.
You would have to create prefetch-dependencies 0.2

Yeah, I completely overlooked this detail. I'd be ok with doing a 0.2, if it weren't for the fact that we need to copy the whole task code in a separate yaml. I approached this as an easy fix, but I think I'll just close it for now, and we'll revisit this when we investigate how to enforce the prefetch to be executed for repos that use supported package managers.

Closing as fixing this would require versioning the task. We will handle this at another opportunity.


build(deps): Update to thiserror version 2

Depencency thiserror has some breaking changes, but non of them seem to impact r-extcap.
cargo semver-checks reports no breaking changes on the API.

Thank you for the PR!


Update sbt-scoverage to 2.0.0

Updates org.scoverage:sbt-scoverage from 1.9.3 to 2.0.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-scoverage" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-major, commit-count:1

Codecov Report

Merging #234 (a69a7e7) into master (1c4b0b6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #234   +/-   ##
=======================================
  Coverage   84.04%   84.04%
=======================================
  Files          19       19
  Lines         282      282
  Branches        6        6
=======================================
  Hits          237      237
  Misses         45       45

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c4b0b6...a69a7e7. Read the comment docs.

Superseded by #238.


Update tutorial001_py310.py

It is simpler to do it directly rather than via update method. This also eliminates the overhead of constructing another dictionary and calling a method, so should slightly improve performance. [ Read at Sourcery]

Thanks! In that case, it would also need an update in file for the Python 3.6+ version, not just the 3.10 one.


Fix VMware.WorkstationPro v17.0.2 interactive installation

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Closes #106141
Microsoft Reviewers: Open in CodeFlow

@stephengillie the same error as in previous PRs.


California parentheticals use square brackets??

According to the grand daddy of parentheticals, apparently CA uses square brackets instead of parentheses:
https://twitter.com/tweetatpablo/status/1392920773824630784
I guess this means our regex needs a tweak, but it'd be nice to see this in the wild before we permanently add code based on a tweet.
And...I guess this means parentheticals should be called something else. "ParenBracketTheticals," perhaps.

It's part of the official California Style Manual

§1:1[F] Parallel citations
Depending on the jurisdiction, an opinion may appear in multiple
paper-based reporters and computer-based sources. Parallel citations are
citations to alternate sources for an opinion. Parallel citations follow an official or primary citation and are always enclosed in brackets. Opinion authors are not required to provide parallel citations in opinions; parallel citations are added during editorial preparation of the opinion for Official Reports publication. In some circumstances (e.g., recently filed United States Supreme Court opinions), parallel citations will be available before the official citation (see §§ 1:3, 1:32[B]). In this situation, use the parallel citation throughout, including for point page references.
(O'Connor v. Ortega (1987) 480 U.S. 709 [107 S.Ct. 1492,94 L.Ed.2d 714].)
and in People v. Mayfield (1997) 14 Cal.4th 668 [60 Cal.Rptr.2d 1,928 P.2d 485], ...
(Nederv. United States (1999)U.S.[119 S.Ct. 1827, 1831, 144 L.Ed.2d 35].)

In the above, Nederv is not available in the US reporter yet (1999 was too hot off the press in 2000 when this was last updated), but it is available in both the Supreme Court reporter and in the "Lawyers Edition 2nd" (Lexis?)
When bumping up against that particular "feature", it might wise to do a DB lookup or something to see if it was finally reported.
Unpublished cases are not citable in California

§ 1:6 Parenthetical description of case
If helpful, the relationship of a cited opinion to the text discussion
can be illuminated by a short parenthetical description after the citation.
Use parentheses when the citation is part of the main text; use brackets if
the citation is within parentheses.

Just an FYI a quick search of the document for the word "bracket" shows 82 references.
I would still term these parentheticals, but maybe if this is an issue, you narrow first then widen.
Seems to me it should look for digits, alpha+punc, digits to isolate the paragraph it's in then examine the surrounds to try and find how it slots in. I dunno if there's a "this looks like it could be a citation, but I can't categorize it option" but it would be super handy if there were.

Looks like my block quote lost some formating, to see what I'm talking about look at the California Style Manual on page 32

I think this ticket is really more about the parentheticals, not the neutral citations, so I think the fix here would be just to allow square brackets around parentheticals (I'm not sure how hard this is, but I suspect it's straightforward [tests would help too]).

I'll fork the code this evening and take a look. Honestly I've never peeked under the hood of this beast. Regex's have always looked like some sort of black magic to me, but I guess now is as good a time to learn them as ever.
True story I once wrote a regex to search for something on my hard drive and ended up summoning Cuthulu shudder

The good part of this code base is there are a lot of tests, so when you've got something good, you'll know nothing broke. Related to Cuthulu: https://stackoverflow.com/a/1732454/64911

Not sure if this is helpful or not, but I interned at the California CoA, and yes, they are pretty serious about the California-specific citation styles lol.
Contrast that with NY State courts, where the Appellate Division judges often use different styles from one another and, e.g., the DA's office didn't even seem to care that much about whatever the NY-specific style was lol

See also https://github.com/freelawproject/eyecite/issues/185


'az deployment group create --template-spec' does not work in certain locations

Describe the bug
Command Name
az deployment group create --template-spec
To Reproduce

Create a resource group in a known to be working location, France South for example, with a virtual machine that has Azure CLI installed
Create a resource group in a broken location, West Europe for example, with a virtual machine that has Azure CLI installed
Create some kind of template spec in some other resource group

Location does not matter for the template spec itself

From those virtual machines attempt a deployment against those same resource groups, or any other using template specs
The West Europe one fails, but the France South one succeeds

$ az deployment group create --resource-group rg-westeurope \
  --template-spec /subscriptions/<subscription ID>/resourceGroups/rg-template_specs/providers/Microsoft.Resources/templateSpecs/ts-test/versions/latest \
  --name ts-deployment \
  --debug

<output truncated>
cli.azure.cli.core.util: azure.cli.core.util.handle_exception is called with an exception:
cli.azure.cli.core.util: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 807, in default_command_handler
    return op(**command_args)
  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 544, in deploy_arm_template_at_resource_group
    no_prompt=no_prompt, template_spec=template_spec, query_string=query_string)
  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 571, in _deploy_arm_template_at_resource_group
    no_prompt=no_prompt, template_spec=template_spec, query_string=query_string)
  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 896, in _prepare_deployment_properties_unmodified
    template_obj = show_resource(cmd=cmd, resource_ids=[template_spec]).properties['template']
KeyError: 'template'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 102, in handle_template_based_exception
    raise CLIError(ex.inner_exception.error.message)
AttributeError: 'KeyError' object has no attribute 'inner_exception'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 712, in _run_job
    return cmd_copy.exception_handler(ex)
  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 104, in handle_template_based_exception
    raise CLIError(ex)
knack.util.CLIError: 'template'

cli.azure.cli.core.azclierror: 'template'
az_command_data_logger: 'template'
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f66f225b730>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 1.039 seconds (init: 0.188, invoke: 0.851)
telemetry.save: Save telemetry record of length 2983 in cache
telemetry.check: Negative: The /root/.azure/telemetry.txt was modified at 2021-04-16 09:35:28.145237, which in less than 600.000000 s

Expected Behavior
For a valid API version to be returned for the available resource types.
Environment Summary
Linux-5.11.13-200.fc33.x86_64-x86_64-with-glibc2.32
Python 3.9.2
Installer: RPM

azure-cli 2.22.0

Additional Context
When executing from West Europe there is a KeyError, but from France South there isn't and the command finishes successfully. In both cases the only difference is the location from which the request went out. Looking at the debug output in full for both the following can be observed, which requests the registered resources providers and available API versions:
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/<subscription ID>/providers/Microsoft.Resources?api-version=2020-10-01 HTTP/1.1" 200 2305

For West Europe the response includes:
{
    "resourceType": "templateSpecs",
    "locations": [
        "East Asia",
        "Southeast Asia",
        "Australia East",
        "Australia Central",
        "Australia Central 2",
        "Australia Southeast",
        "Brazil South",
        "Canada Central",
        "Canada East",
        "Switzerland North",
        "Germany West Central",
        "France South 2",
        "France South",
        "Central US",
        "North Central US",
        "France Central",
        "UK South",
        "UK West",
        "Central India",
        "West India",
        "South India",
        "Japan East",
        "Japan West",
        "Korea Central",
        "Korea South",
        "North Europe",
        "Norway East",
        "UAE North",
        "West Central US",
        "West Europe",
        "West US 2",
        "West US",
        "South Central US",
        "South Africa North"
    ],
    "apiVersions": [
        "2021-03-01-preview",
        "2019-06-01-preview"
    ],
    "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
}

For France South the 2021-03-01-preview API version is missing in the response. Thus, when the actual template spec is queried using:
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/<subscription ID>/resourceGroups/rg-template_specs/providers/Microsoft.Resources/templateSpecs/ts-test/versions/latest?api-version=2021-03-01-preview HTTP/1.1" 200 None

Then it causes an error because that API version actually isn't valid for West Europe. This can be further confirmed here by attempting to create a template spec deployment to West Europe using that API version, which responds with 400:
Headers:
cache-control: no-cache
content-length: 726
content-type: application/json; charset=utf-8
expires: -1
pragma: no-cache
x-ms-correlation-request-id: bf6f21a9-6ce5-4699-bc00-83d48a7eae76
x-ms-failure-cause: gateway
x-ms-request-id: bf6f21a9-6ce5-4699-bc00-83d48a7eae76
x-ms-routing-request-id: FRANCESOUTH:20210416T095723Z:bf6f21a9-6ce5-4699-bc00-83d48a7eae76

Body:
{
  "error": {
    "code": "NoRegisteredProviderFound",
    "message": "No registered resource provider found for location 'westeurope' and API version '2021-03-01-preview' for type 'templateSpecs/versions'. The supported api-versions are '2019-06-01-preview'. The supported locations are 'eastasia, southeastasia, australiaeast, australiacentral, australiacentral2, australiasoutheast, brazilsouth, canadacentral, canadaeast, switzerlandnorth, germanywestcentral, eastus2, eastus, centralus, northcentralus, francecentral, uksouth, ukwest, centralindia, westindia, southindia, japaneast, japanwest, koreacentral, koreasouth, northeurope, norwayeast, uaenorth, westcentralus, westeurope, westus2, westus, southcentralus, southafricanorth'."
  }
}

ARM

@detienne20 could you please help to have a look at this issue~

Would it be possible to get an update to this? This is quite a large breaking change in how az ts works and is a deciding factor whether alternatives should be considered or not.

@usrme Thank you for patience in this matter, I am thoroughly investigating this issue and will update this ticket as soon as possible.

To those also affected by this: I've found a somewhat robust workaround that relies on using az rest directly with an additional wait added with az deployment sub wait.
Here are some steps that worked for me:

Read in parameters from a parameters file if you rely on parameters: parameters=$(jq -c '.parameters' parameters.json)
Get resource ID of template spec you are referencing
Call az rest:

$ az rest --method put \
    --url "https://management.azure.com/subscriptions/$(az account show | \
      jq -r '.id')/resourcegroups/${resource_group_name}/providers/Microsoft.Resources/deployments/${deployment_name}?api-version=2020-10-01" \
    --body "{\"properties\": {\"templateLink\": {\"id\": \"${template_spec_resource_id}\"}, \"parameters\": ${parameters}, \"mode\": \"Incremental\"}}" > /dev/null 2>&1
...
$ az deployment group wait --created --interval 2 --name "$deployment_name" --resource-group "$resource_group_name"
...

I found the same issue in UAE North region. and now it block me.

same here in germanywestcentral...
└─ $ ▶ az --version
azure-cli                         2.22.1
core                              2.22.1
telemetry                          1.0.6
Extensions:
portal                             0.1.1
aks-preview                        0.5.5
Python location '/opt/az/bin/python3'
Extensions directory '/home/lohse/.azure/cliextensions'
Python (Linux) 3.6.10 (default, Apr 19 2021, 07:28:54)
[GCC 9.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.

I have a similar issue with UK South; az deployment sub create -l uksouth -s $myid --debug --verbose
Last part of debug shows the following:
cli.azure.cli.core.util: azure.cli.core.util.handle_exception is called with an exception:
cli.azure.cli.core.util: Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 807, in default_command_handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 464, in deploy_arm_template_at_subscription_scope
    no_prompt=no_prompt, template_spec=template_spec, query_string=query_string)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 488, in _deploy_arm_template_at_subscription_scope
    template_spec=template_spec, query_string=query_string)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 896, in _prepare_deployment_properties_unmodified
    template_obj = show_resource(cmd=cmd, resource_ids=[template_spec]).properties['template']
KeyError: 'template'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 102, in handle_template_based_exception
    raise CLIError(ex.inner_exception.error.message)
AttributeError: 'KeyError' object has no attribute 'inner_exception'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 712, in _run_job
    return cmd_copy.exception_handler(ex)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 104, in handle_template_based_exception
    raise CLIError(ex)
knack.util.CLIError: 'template'

cli.azure.cli.core.azclierror: 'template'
az_command_data_logger: 'template'
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f24ab7ced08>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 1.217 seconds (init: 0.195, invoke: 1.022)
telemetry.save: Save telemetry record of length 3040 in cache
telemetry.check: Negative: The /root/.azure/telemetry.txt was modified at 2021-05-06 09:24:22.096546, which in less than 600.000000 s

Details to help
➜  template_spec_test az --version
azure-cli                         2.22.1 *

core                              2.22.1 *
telemetry                          1.0.6

Python location '/opt/az/bin/python3'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 3.6.10 (default, Apr 19 2021, 07:28:54)
[GCC 9.3.0]

Legal docs and information: aka.ms/AzureCliLegal

You have 2 updates available. Consider updating your CLI installation with 'az upgrade'

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
➜  template_spec_test python3 --version
Python 3.8.5

PowerShell seems to work fine:
paul  template_spec_test  09:35  $id = (Get-AzTemplateSpec -ResourceGroupName "asdf" -Name "qwer" -Version "1.0").Versions.Id

paul  template_spec_test  09:35  $id

/subscriptions/ASDF/resourceGroups/asdf/providers/Microsoft.Resources/templateSpecs/qwer/versions/1.0
paul  template_spec_test  09:35  New-AzSubscriptionDeployment `
>>     -TemplateSpecId $id `
>>     -Location "uksouth" `
>>     -Verbose

VERBOSE:
VERBOSE: 09:35:53 - Template is valid.
VERBOSE: 09:35:54 - Create template deployment 'd2d13661-4f54-4bdf-8c0d-de60c5a2dd55'
VERBOSE: 09:35:54 - Checking deployment status in 5 seconds
VERBOSE: 09:35:59 - Resource Microsoft.Resources/deployments 'asdf' provisioning status is running
VERBOSE: 09:35:59 - Resource Microsoft.Network/virtualNetworks 'asdf' provisioning status is running
VERBOSE: 09:35:59 - Resource Microsoft.Resources/resourceGroups 'qwer' provisioning status is succeeded
VERBOSE: 09:35:59 - Checking deployment status in 5 seconds
VERBOSE: 09:36:04 - Resource Microsoft.Resources/deployments 'asdf' provisioning status is succeeded
VERBOSE: 09:36:04 - Resource Microsoft.Network/virtualNetworks 'asdf' provisioning status is succeeded

Id                      : /subscriptions/ASDF/providers/Microsoft.Resources/deployments/d2d13661-4f54-4bdf-8c0d-de60c5a2dd55
DeploymentName          : d2d13661-4f54-4bdf-8c0d-de60c5a2dd55
Location                : uksouth
ProvisioningState       : Succeeded
Timestamp               : 06/05/2021 08:36:12
Mode                    : Incremental
TemplateLink            :
                          Uri            :
                          ContentVersion : <IP_ADDRESS>

Parameters              :
Outputs                 :
DeploymentDebugLogLevel :

@fluffy-cakes Upgrade to Azure CLI 2.23.0, the issue has been fixed with #17896. :)

far out! good reply, i didn't see it got released today, only saw it yesterday still on 2.22.0. cheers 👍🏼

just re-ran it with new version successfully. thanks!


M A S S I V E     C L E A N U P

M A S S I V E     C L E A N U P

This will be the final thing to happen before 1.0

This might actually have to happen before the Sponge support is finished as Sponge doesn't support & tags for colors, which isn't a bad thing. & tags in colors are VERY deprecated.
I'm thinking that I'll do two cleanups - One now, which is just a cleanup of the constants file, then one at the end which will likely be TONS of breaking API changes.
So for the first cleanup, I think if the individual plugin service implementations have something like ERROR_PREFIX which would be ChatColor.RED or TextColors.RED, depending on server implementation.
This could create inconsistencies between Sponge and Spigot, since it would then be up to whoever is developing that feature to actually include the color prefixes. Maybe I could just convert the &s in the constants file to use the fancy Unicode thing that Minecraft uses for colors. Not sure, though.
Note: The constants file needs a cleanup regardless.

Going to switch the & with §. Probably should have been like that in the first place /shrug


Remove sourceMappingURL from dist

Getting this error:

DevTools failed to load source map: Could not load content for https://unpkg.com/index.umd.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Cause by file in dist folder used in CDN production enviroment:

//# sourceMappingURL=index.umd.js.map

We need min.js version that can be used in production and no additional request is in file

Hey!
Are you sure that this is an issue for you? AFAIK requests for source maps happen only if the user has a developer console opened - so in the end that request shouldn't happen for different people than developers (with console opened).
If it's really a problem - there is a possiblity to tweak a build process to support this case. But unfortunately I cannot make it happen in next few weeks, so any PRs would be more than welcome!

I'd like to second the removal of the sourceMappingURL or at least an alternate version. It bloats the dev console with another warning and if we need source mapping then we can use non-CDN approaches.


Provide mutable versions of exact_match and longest_match

If a tree node holds some mutable structure (like HashMap) it's desirable to modify it inline without removing, modifying and inserting it back.

I needed this as well for longest_match and came up with a very rudimentary version in https://github.com/zesplot/treebitmap/tree/longest_match_mut
It lacks tests and documentation, as I'm not sure whether this (i.e., repeating the immutable version of the function) is the desired way of doing it. @hroi , if you think it is, I can add tests+docs and create a pull request.

Yeah, I did the same xD
The problem is -- the author seems to be dead. We either need to fork this project or to call a necromancer.

Thanks for the mutable version of longest_match_mut(). I needed this too.

My thanks to whoever called the necromancer.  If someone wants to help maintain it, please let me know!

Closed the wrong issue.

Yay, @hroi was revived ^_^


[DNM] test disk space of runner before/after goreleaser

Summary

Please, don't merge this PR. I'm investigating our issue related to the lack of disk space #3149.
Release Note

Documentation

Closing this for now!


google storage client json throw exception when http request fails

What component of google-cloud-cpp is this related to?
GCS
Describe the bug
When http response fails, it would rely on json library to get detailed error message.
Code here: https://github.com/googleapis/google-cloud-cpp/blob/643fa047a549422ebaa40f9173ab0c2c8372aede/google/cloud/storage/internal/http_response.cc#L172
Sample http response-1:
{\"error\":\"invalid_grant\",\"error_description\":\"Invalid grant: account not found\"}

Exception stacktrace:
terminate called after throwing an instance of 'nlohmann::detail::type_error'
  what():  [json.exception.type_error.306] cannot use value() with string

Using some logging, the exception happens: https://github.com/googleapis/google-cloud-cpp/blob/643fa047a549422ebaa40f9173ab0c2c8372aede/google/cloud/storage/internal/http_response.cc#L189
Sample http response-2:
Service Unavailable

Exception stacktrace:
terminate called after throwing an instance of 'nlohmann::detail::type_error'
  what():  [json.exception.type_error.306] cannot use value() with string

With some logging the error happens:
https://github.com/googleapis/google-cloud-cpp/blob/643fa047a549422ebaa40f9173ab0c2c8372aede/google/cloud/storage/internal/http_response.cc#L175
Expected behavior
No exception would be thrown.
Operating system:
ubuntu 20
What compiler and version are you using?
clang v13.0.0
What version of google-cloud-cpp are you using?
v1.38.0
Additional information
I tried to reproduce locally with the above error response, but cannot repro it.
I want you to give me some intuitions.

Ugh... that seems like an invalid message returned by the service, but the library should not raise or crash when that happens.

@coryan Thank you for quick reply! One thing I'm not sure, why exception is not thrown with my local run, with the same json library? Does that mean json library keeps some state when parsing? Thank you!

Sorry I missed the response-2 case, I think it is still fixed, but I should have added some test cases:

why exception is not thrown with my local run, with the same json library? Does that mean json library keeps some state when parsing?

It is hard to say.  You did not mention what was the difference between your "local" run vs. the run where you saw these problems?  Are the environments different (GCE vs. on-prem?  user account vs. service account for authentication?) At a guess you are getting no error messages, or different error messages, in each environment and some of them are parseable.

Even with your fix, this line of code would still throw exception, could you please take a look my above error message?

nlohman::json::parse(..., ..., false) should not throw. The third parameter is called "allow_exceptions":
https://json.nlohmann.me/api/basic_json/parse/
I just tested with both Service Unavailable and "Service Unavailable" and both parse as I would expect.  I will send a PR with the new test cases.

@coryan
My local run is something like
#include "nlohmann/json.hpp"

#include <string>

int main() {
  std::string error_http_response_1 = "Service Unavailable";

  std::string error_response_2 = R"(<!DOCTYPE html>

  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 502 (Server Error)!!1</title>

502. That’s an error.

The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.  That’s all we know.)";

std::string error_response_3 = "{\"error\":\"invalid_grant\",\"error_description\":\"Invalid grant: account not found\"}";

  auto json = nlohmann::json::parse(error_response_2, nullptr, false);
  if (!json.is_object()) return 0;
  [[maybe_unused]] auto error = json.value("error", nlohmann::json::object());
  return 0;

None of the three error response throws exception in my local run, but all of them would lead to exception in prod env.

FWIW, I added the additional test cases.  I also went through the code guarding against parsing problems.  Without additional information I can only speculate about why you are seeing problems in production but not locally (different nlomann::json version?  maybe the exception is raised elsewhere?).  If you collect more detailed info please open a new bug with those details.


Update managed-disks-ultra-disks-GA-scope-and-limitations.md

one line update to limitations

#sign-off


Fixes #2848 - private key path relative to cwd

coverage: 94.07% (-0.001%) from 94.071% when pulling 54cce4e7f00a798b89f17c3cc8afe135266aa8a9 on cody-use-cwd-for-private-key-path into ebc2f02beab2ae688b073febfdd2593901ad0062 on main.


Lexer is grouping n1 <- n2 (a likely typo) as  n1 < -n2

Minimum example:
#lang forge
sig Person { age: one Int }
test expect {
    parsing: {all p: Person | (p.age <- 17) iff (p.age < -17)} is theorem
}

This test passes in 2.8.0. My expectation was that it would produce a parser error, since <- isn't a valid token in that position. (This example was extracted from a real typo made by a real user.)

Resolved by the above PR


Provide reports and action plan for low performer .NET/ASP.NET related MS Learn content

Tracking Issue for: Content Data reports for .NET/ASP.NET module content on MS Learn platform

Review .NET Path, Module, and Unit data, including customer feedback.
Identify low performers.
Determine why they are low performers.
Get stakeholder agreement on priority and actions to take to improve, or sunset if needed.

The reports and data have been delivered, reviewed and action plan set by the .NET learn v-team and available on the Teams channel.  This issue was just to track that work happening in March, which is now complete.


fram_id modification required to run example Ubuntu 22.04 Humble

Description
I am following the documentation to run the jammy branch of turtlebot3-UE. However, the turtlebot3-UE publisher automatically adds the BP_TurtlebotWaffle prefix to the frame_id & topic_name of the published topics. For example:

/BP_TurtlebotWaffle/odom
/BP_TurtlebotWaffle/base_scan
/BP_TurtlebotWaffle/base_link

This is causing issues because nav2 expects these frames without the prefix (e.g., odom, base_scan, base_link).
Expected Behavior
I would like to know how to remove or customize the BP_TurtlebotWaffle prefix in turtlebot3-UE so that the frame IDs are published without it.
For example:

/odom instead of /BP_TurtlebotWaffle/odom
/base_scan instead of /BP_TurtlebotWaffle/base_scan
/base_link instead of /BP_TurtlebotWaffle/base_link

Additional Information
I am not very familiar with Unreal Engine Blueprints and have mainly been looking at the code. However, I haven't found anything in the source code that directly relates to this issue. It would be helpful if someone could point me in the right direction or suggest how to modify this behavior.

Hi,
Thanks for you comment ans sorry for late response.
Could you try

setting bUseActorNameAsNamespace = false
https://github.com/rapyuta-robotics/RapyutaSimulationPlugins/blob/9dce510b48a16122855d48c18032741708a305d3/Source/RapyutaSimulationPlugins/Public/Robots/RRBaseROS2Interface.h#L75

Thanks, that works.
a little bit off the topic, i still have trouble to run the turtleBot3-UE example with nav2 stack like this:
ros2 launch nav2_bringup tb3_simulation_launch.py use_simulator:=False map:=./Content/Turtlebot3_benchmark.yaml
where the tf between map and odom are not been published,

so it results the rviz result like this

I'll check later
Did you provide initial pose?

yes, i did.

@KMerdan
I think 'wheel_right' and 'wheel_left' link should be attached to 'base_link' not 'base'.

@james-yoo i think you are right. but this is what turtleBot3-UE default publish result, i didn't do any modification yet, just try to run it.

Sorry for late

I updated jammy branch. Could you try?
I attached video with the branch.

https://github.com/user-attachments/assets/137b0ac9-d8a8-424a-96bd-4d171d4886e0
frames_2024-10-08_23.26.27.pdf

Confirmed here, works like a charm. Thanks.
@yuokamoto

Thanks for your reporting


Compatibility with IE11

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

In IE 11 - Modal window does not open at all,  console throws "Application error has occurred: TypeError: Object doesn't support this action" message.
Expected behavior

Modal window should open.
Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular 8.2.9 and ngx-smart-modal version 7.2.1.

Smart Modal version: 0.8.x

Angular version: 2.0.x

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

Hi @rsmachir,
thanks to report this issue. Have you tested by activating the polyfills of your project?

Ever since Angular 8’s differential loading and targeted browser list, I have minimal polyfills turned on.   That has worked well till your version 7.1.1.   For now I reverted back to this version, so I can stay up with Angular updates.
From: Kraus Vincent<EMAIL_ADDRESS>Sent: Tuesday, October 8, 2019 2:23 AM
To: biig-io/ngx-smart-modal<EMAIL_ADDRESS>Cc: Ravi Machiraju<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [biig-io/ngx-smart-modal] Compatibility with IE11 (#240)
Hi @rsmachirhttps://github.com/rsmachir,
thanks to report this issue. Have you tested by activating the polyfills of your project?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/biig-io/ngx-smart-modal/issues/240?email_source=notifications&email_token=AKGV6AHDWLID42WTCWRSXELQNQYMXA5CNFSM4I6IVFQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEATEXUA#issuecomment-539380688, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKGV6AC34DIW3XADQYZG7FLQNQYMXANCNFSM4I6IVFQA.

It seems that the problem is indeed coming from Angular himself. The problem is therefore not related to ngx-smart-modal.

I've tried disabling differential loading completely, I still see the error and can't get any modals to launch in IE11. The modals on the demo page also do not work in IE11.
I think this needs a bit more investigation.

The demonstration is done with Angular 8, which by default provides a browserlist file that defines the list of supported browsers. IE11 is not one of them.
As announced above, the compatibility of your Angular 8 and NgxSmartModal project is therefore a matter of your Angular configuration itself.

The project which I'm reproducing the error on has the following browserlist configuration > 0.5%, last 2 versions, Firefox ESR, not dead this includes IE11.
Everything else on the project continues to work on IE11, including ngx-smart-modal 7.1.1 or earlier.
I'm afraid this points to an incompatibility in the lib with IE11.
I'd happily be proved wrong if you could provide the config or polyfills you used to get it working during your tests, I'm sure that would be helpful to others trying to use the library too.
If not, I think at least the fact there's an issue here should be acknowledged by re-opening this. Then, I'll try investigating further when I get time to see if the issue can be pinpointed further because it'd be a shame to be stuck on 7.1.1 and miss out on all the great updates you guys keep releasing!

@khylias , @DanWebb , i faced the same issue. and fixed it by adding this polyfill in polyfills.ts. Hope this helps..
(function () {
    function CustomEvent ( event, params ) {
      params = params || { bubbles: false, cancelable: false, detail: undefined };
      const evt = document.createEvent( 'CustomEvent' );
      evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );
      return evt;
     }
    CustomEvent.prototype = window['Event'].prototype;
    window['CustomEvent'] = <any>CustomEvent;
  })();


Fix and complete HTTP Client & Server docs

Title says all.
Fix #44

@leordev I merged 42 and 45 (& did the required rebase on the latter)
Is this PR still relevant? Do we need to rebase?

@leordev I merged 42 and 45 (& did the required rebase on the latter)
Is this PR still relevant? Do we need to rebase?

Yes this PR is adding/fixing the docs for the http packages.
We just need to rebase from main and merge (if the docs look good to you).


PKI X.509 Cert / Signature verifier

Should we have one as well ? :sweat_smile:
It would be a lot of work tho - webpki still has dependency to ring
sidenote rustls has webpki fork that does aws-lc-rs by default over ring

https://github.com/rustls/webpki/blob/main/Cargo.toml#L82

It would be interesting to hook something up to rustcrypto - experimentally
There is also ofcourse the dangerous() from rustls like this:

https://github.com/RustCrypto/rustls-rustcrypto/pull/46/files#diff-bfe5cc2b444683f89edf1f106213ebf97c6e0302e402ada8d86d4c380b6a6883

Ofc it helps there is this:

https://github.com/RustCrypto/formats/tree/master/x509-cert

Related issues perhaps

https://github.com/RustCrypto/formats/issues/1289

There is work underway on a certificate verifier based on x509-cert. Note that certificate verification is the electric third rail of the X.509 ecosystem, and difficult to implement in a manner that conforms to other implementations.
See: https://github.com/RustCrypto/formats/issues/838

Yeah cool think that is catered already somewhere else and we don't really need it here so closing


Integer overflow when importing a uint32_t cast as json_int_t

I'm trying to import the following number (an example) as JSON:<PHONE_NUMBER> using this code (shortened):
  fprintf(stderr, "serial: %lld\n", (json_int_t)sk->serial);
  jout = json_pack(jformat,
[..]
		   "serial", (json_int_t)sk->serial,

This is what happens, when I print the serial and dump the resulting JSON:
serial:<PHONE_NUMBER>
{
    "keys": [
        {
            "serial": -662494746,
[..]

Code where I'm doing this: https://github.com/TLINDEN/pcp/blob/master/libpcp/mgmt.c#L924
best,
Tom

In the format string you must write 'I' instead of 'i' (in all json_int_t types).

Thanks a lot, fixed :+1:


Consolidate & cache SObject type describe calls when possible

Reusing and improving the class SObjectTypeDescriber.cls could help with this

I'm not going to worry about this, at least for now - there doesn't seem to be any benefit to consolidating the describe calls, other than sometimes shortening the code a bit. Outside of that, the CPU usage, heap size, etc all seem to be the same when describe calls are cached, so I'm not going to implement this.


Allow specifying version when installing from command line

Is your feature request related to a problem? Please describe.
Currently the only way to do versioning is using a manifest file with a build system. This is extremely inconvenient if you just need one package or if you don't use a compatible build system. Even if it's easy, forcing users to do it this way is extremely bad practice and I have never seen a package manager do it like this.
Proposed solution
Allow specifying versions in a similar manner to npm like
vcpkg install gtk@3
Describe alternatives you've considered
An option to specify the version
vcpkg install -v 3 gtk
Additional context
Related discussion:
https://github.com/microsoft/vcpkg/discussions/25622

A new port gtk3 is now added. https://github.com/microsoft/vcpkg/pull/27026
Alternatively, you can use the manifest mode to specify the installed version.


release-1.1-latest-daily not updated

https://gcsweb.istio.io/gcs/istio-prerelease/daily-build/release-1.1-latest-daily/
It is using a build from 3/16.
Daily builds are still running though: https://gcsweb.istio.io/gcs/istio-prerelease/daily-build/release-1.1-20190403-09-16/

Nevermind.. I don't nkow what the 09/16 part is but I just read the release wrong


Add support for Network Manager / Cloud WAN metrics

Add support for scraping Network Manager / Cloud WAN metrics from the AWS/Network Manager namespace.
closes #967

@SuperQ Added a link to the top of the example config


Problems using vue2-leaflet-markercluster in Nuxt

Using nuxt-leaflet module I can set an use alot of the component list: https://github.com/schlunsen/nuxt-leaflet/blob/master/lib/templates/plugin.js like l-marker, l-map, l-tile-layer, but my project also require to use https://github.com/jperelli/vue2-leaflet-markercluster
What is the correct way to implement it in Nuxt?
I try this:
Create a plugins: vue2-leaflet-markercluster.js
import Vue from "vue";
import Vue2LeafletMarkerCluster from "vue2-leaflet-markercluster";
Vue.component("v-marker-cluster", Vue2LeafletMarkerCluster);
Vue.use(Vue2LeafletMarkerCluster);

Then set it in nuxt.config.js
  plugins: [
    { src: "~/plugins/vue2-leaflet-markercluster.js", mode: "client" }
  ],
  modules: [
    "@nuxtjs/axios",
    "@nuxtjs/pwa",
    "@nuxtjs/sitemap",
    "nuxt-leaflet"
  ],

and implemented in a page:

<script>
export default {
  head() {
    return {
      link: [
        {
          rel: "stylesheet",
          href:
            "https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.4.1/MarkerCluster.Default.css"
        },
        {
          rel: "stylesheet",
          href:
            "https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.4.1/MarkerCluster.css"
        }
      ]
    };
  },
  data() {
    return {
      tileLayer: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
      latitude: -34.477518,
      longitude: -58.496699,
      zoom: 10,
      options: { scrollWheelZoom: false },
      markers: [
        { markerLat: "-34.477518", markerpLng: "-58.496699" },
        { markerLat: "-34.808505", markerpLng: "-58.402064" },
        { markerLat: "-34.796024", markerpLng: "-58.388854" },
        { markerLat: "-34.678739", markerpLng: "-58.338006" },
        { markerLat: "-34.678269", markerpLng: "-58.367989" },
       ...
      ]
    };
  },
  mounted() {
    // eslint-disable-next-line no-console
    console.log(this.$L);
  }
};
</script>

The output:

It look great, the problem happens when I click over a cluster it give me this error:

Uncaught TypeError: Cannot read property '_removePath' of undefined

Hi @nelsonlarocca I solved the problem in that way:
1- I created a plugin in the plugins directory I named it vue2-leaflet-markercluster.js. The code:
import Vue from "vue";
import * as L from "leaflet";
import Vue2LeafletMarkerCluster from "vue2-leaflet-markercluster";
Vue.component("v-marker-cluster", Vue2LeafletMarkerCluster);

const LeafletPlugin = {
  install(Vue) {
    // Expose Leaflet
    Vue.prototype.$L = L;
  }
};

Vue.use(LeafletPlugin);

2- I added plugin in /nuxt.config.js

Hope it can help you.

Thanks a lot Pablo !
Would you mind sharing just some code enclosed inside the
Thanks in advance.
Regards,
Nelson

Thanks Pablo, it worked out !!!

Great @nelsonlarocca !! Glad to hear that!!

Awesome! Should close this issue? @pablocattaneo

Closing issue. Thanks @pablocattaneo.
Also as an alternative, try upgrading to latest version, it works very differently on exposing the global.L variable

Awesome! Should close this issue? @pablocattaneo

Yes @dpr989 you can close it!


custom documents

Can this work with custom documents not just urls??

For retrieval?  You can write a custom retrieval backend to retrieve from documents, like pdfs or txt files.  The current retrieval services are in services/adapators.  I may take a look into writing this myself in the future, but it doesn't exist now.  (although it wouldn't be very difficult to add)

I just pushed an experimental feature to the dev branch that enables using a custom search service for retrieval.  You basically send it a query, and it returns a match.  Very flexible in terms of how you host/include documents.


Terminology count tests failing with Inferno 2.3.0. in ONC Certification (g)(10) Standardized API

Hi Team,
I just installed the 2.3.0 version of Inferno, and after running the 2 commands (
docker-compose -f terminology_compose.yml run terminology_builder bin/prepare_terminology.sh 2021
docker-compose -f terminology_compose.yml run terminology_builder bundle exec rake terminology:create_vs_validators["preferred","2021","false"] )
I'm still getting non matching count errors below when selecting ONC Certification (a)(10) Standardized API test

http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type: Expected codes: 15951 Actual codes: 15949
http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code: Expected codes: 285523 Actual codes: 285512
http://snomed.info/sct: Expected codes: 489140 Actual codes: 489139

Let me know if you have any ideas how to solve this .

You started by running docker-compose -f terminology_compose.yml up rather than just running the two commands you posted, right?
My general advice would be to delete tmp/terminology and resources/terminology/validators/bloom and try again.
If you have ruby and java set up locally, you could also try running the build without docker with:
bundle install
UMLS_API_KEY=YOUR_UMLS_API_KEY bin/run_terminology.sh 2>&1 | tee terminology.log

That will also save the log from your build to terminology.log so you can look for issues.

I'm also running into this issue.  I tried the local build process and had to actually change the file ownership during the first execution
bundle install
UMLS_API_KEY=YOUR_UMLS_API_KEY bin/run_terminology.sh 2>&1 | tee terminology.log

As all of the files get stored as the root owner.  Running the same command again with the file ownership change downloaded the terminology files and the command successfully executed with a status code of 0.

Hi team, deleting everything, updating the Linux sever, and re-running the same commands fixed the count miss match.
Thanks for your help !


point to the new jsoncdc

this commit removes all references to the (now older) jsoncdc. pointing
to the new source repo "instructure/jsoncdc". it also installs the
latest version of jsoncdc which is available now on the "testing" channel
instead of unstable.
this shouldn't break anything with lapidus seeing as how the two changes are:

We release DEBs now (no impact).
We have a slightly longer rust line length (If this had an impact I'd
be very confused).
We've added extra info to commits, but haven't removed any existing
properties.
(Perhaps in the future lapidus should pick up these properties?).
My editor also removed some whitespace that was in the readme. If you need me to readd these I can.

@SecurityInsanity: Thanks for the PR. Sorry, I didn't get a notification for this; I'll review this later today.


phpPackages.phpstan: 0.11.6 -> 0.11.7

Motivation for this change
Changelog: https://github.com/phpstan/phpstan/releases/tag/0.11.7
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build php72Packages.phpstan php73Packages.phpstan


3644 Kusto Token Refresh

Added RequestSecurityTokenParams, RequestSecurityTokenResponse, and SecurityTokenRequest to Kusto/contracts.ts. Added AccountFeature to features.ts. Registered feature in kustoServer.ts

ADS Changes: https://github.com/microsoft/sqltoolsservice/pull/1081
This PR fixes #

Pull Request Test Coverage Report for Build 267807387

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 38.115%

Totals

Change from base Build 267751368:
0.0%

Covered Lines:
19125

Relevant Lines:
45839

💛  - Coveralls


Fixed layout collapse on Examples

Fixes #1159
Changes:

Replace directly written URLs with A tags.
I have replaced the URL if the link could not be found.

Modified Examples

Comments and Statements
Text Rotation
Chain
Brownian Motion
Springs
Random Gaussian

Screenshots of the change:

Before
After

After merged
Since I can't read Korean, I have not modified it in this PR. I will create an issue asking someone to correct the examples listed above.

@limzykenneth
If you have time, could you check this 🙏🏻


Schema v11 Update & release [1/3][🎃 hacktober]

This is the second schema upgrade and next release PR.
With this set of PRs I'm going to be making sure to get the docs along the way too.
That way #168 will be the only errant one with only docs fixes to account for tagging a release.

Updated to remove the table from readme file and got changelog to match previous PR/release.
(all subsequent PRs are updated with the same as well)

Using the awesome php-semver-checker tool I am more easily able to compare the changes than on GitHub's diff page. This way I can point the tool to only analyze the src folder too.
While it does suggest this be a "MAJOR" release, this due to all sorts of new added methods. Which it considers as major changes by default rather than a "MINOR" change. That said, it no longer includes any removals!
So the subsequent PRs will need to be tweaked...but I figure I'll adjust those once this one is merged in and those are synced with master branch.


[text] TextToUpper() method doesn't cover diacritics

I would like to report that using the "TextToUpper" method doesn't cover UTF-8.
Using this:
LoadFontEx("shPinscher.ttf", fontSize(), 0, FONT_TOTAL_CHARS);
where FONT_TOTAL_CHARS = 381 (to include all Polish letters) and this:
TextToUpper("Wybór profilu")
I have all capital letters instead of "ó" (fourth character) which belongs to Polish diacritics:

Should be:

I understand you might not want to modify entire method however, could you give any potential tips how to fix this instead of setting this manually? Maybe using methods operating on codepoints or an array containing all Polish letters?

Hi @JasonNumberThirteen, thanks for reporting! Actually, this is a tricky issue, no easy solution, neither the standard C toupper()/tolower() functions support UTF8.
I think easier solution would be implementing a custom TextToUpperUTF8() method supporting utf8, raylib includes a couple of functions useful to convert between Codepoints <-> Utf8.
RLAPI int GetNextCodepoint(const char *text, int *bytesProcessed);    // Returns next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure
RLAPI const char *CodepointToUtf8(int codepoint, int *byteLength);    // Encode codepoint into utf8 text (char array length returned as parameter)

I added a code not on commit https://github.com/raysan5/raylib/commit/7fa12844eda0348fee3ddf8f2799074796050ddd to keep that in mind.

Alright, thanks for your response. I'll try to make something with this.
Besides, it's a very great framework for C/C++ game development, but it needs a little more documentation, in my opinion. To be able to see those diacritics at all, I had to understand this "charsCount", how it works and what exact value I have to type (all of this took me a couple of days). I have been forced to even install "FontForge" and open this font to identify this value and avoid guessing. To be honest, I try to understand every difficult task analysing issues placed right here by community (I'm beginner in C) due to lack of articles and clear explanations like for newbies.

@raysan5 You may want to incorporate this into raylib (it's a single-header library): https://github.com/sheredom/utf8.h
@JasonNumberThirteen If the utf8.h project linked above doesn't yet support Polish characters, this would be a great opportunity to add them. Doing so would improve both projects. Much better than reinventing the wheel. :+1:

@brankoku I've been following this library for some time, no plans to incorporate it to raylib for the moment... maybe in the future...

@brankoku Thanks for giving a link, I'll try this if I won't be able to fix this without using "utf.h".
@raysan5 Could you give some examples how to use both methods? I tried to find in "unicode" example, but there are no usage of these functions.

@brankoku here it is the implementation, not tested
char message[128] = "some unicode text to convert to uppercase\0";

int cpCount = 0;
int *cpMessage = GetCodepoints(message, &cpCount);  // Get unicode equivalent of utf8 string

for (int i = 0; i < cpCount; i++)
{
    // Check character between à and ö, and convert to uppercase.
    // NOTE: Some other character ranges could be required, check unicode tables!
    if ((cpMessage[i] >224) && (cpMessage[i] <246)) cpMessage[i] -= 32;
}

char *resultMessage = TextToUtf8(cpMessage, cpCount);  // Convert from unicode to utf8 again

// Draw text or use string in any way...

free(resultMessage);  // Remember to free returned string, allocated inside TextToUtf8()!


set-properties readonly=on does not work

If I use the option -- set-properties readonly=on (did not test other set-properties options) with your script, zfs-autobackup will not recognize backup-name and target-path arguments. It works with standalone zfs-autobackup command.
https://www.truenas.com/community/threads/udev-trigger-zfs-autobackup-to-removable-disk-offsite-backup.100570/post-803248
zfs-autobackup-n -v -d --strip-path=1 --allow-empty --clear-mountpoint --set-properties readonly=on --keep-source=10,1d1w,1w1m,1m1y --keep-target=10,1d1w,1w1m,1m1y testbackup2 testbackup2
zfs-autobackup: error: unrecognized arguments: testbackup2 testbackup2
log2.txt

Could you try with a shorter zfs property name? I couldn't run it once with a long property. And you're target goes to a pool directly, not into a dataset?
This error could be caused by my script setting the args into sys.argv and then calling the cli method of zfs-autobackup. Maybe some parameters are not parsed correctly. I'll try to make some experiments.

And you're target goes to a pool directly, not into a dataset?

Yes, backup target is the pool itself, not a dataset underneath. It works with zfs-autobackup in general but not in combination with your udev trigger script

Could you try with a shorter zfs property name?

I will try as soon as possible

Hey ghan1t, setting the option --set-properties does not seem to work with your script. This time I wanted to set the property keylocation=none by using the switch --set-properties keylocation=none. Same error like using --set-properties readlonly=on in second run but this time I have got different errors on first run. You can find the logfiles in the attachment
log_secondrun.txt
log_firstrun.txt
Probably the parsing problem you assumed?

and a shorter zfs property name does not help. Same error with zfs property name "bck" for example.

@wolmeh it's again the only parameter with a space, that's probably the reason. I have never tested that before. Will have a look.

Hi @wolmeh
I have found the reason. zfs-autobackup expects '--set-property readonly=on' as two parameters passed on the cli and not as one parameter with a space. You can do this in the config this way:
- "--set-properties"
- "readonly=on"
I'm contemplating on automatically splitting all parameters with spaces in the config into two separate parameters, but then anything else containing a space would be split no matter if they are escaped or not. Not sure which way I'll go yet. But with this you can get it to work anyway.

@wolmeh I made it configurable. It splits parameters by default. Run trigger.sh --update to get the newest version.


Save the screenshots as BMP 24 bits

Most generic option is to remove D3DX11 and use DirectXTex

Unfortunately this  is more  complicated than I thought, even with DirectXTex


Renamed core/elizabeth.py to providers.py

For greater clarity.

Current coverage is 99.03% (diff: 100%)

Merging #118 into master will decrease coverage by 0.05%

@@             master       #118   diff @@
==========================================
  Files            45         45
  Lines          1960       1960
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1942       1941     -1
- Misses           18         19     +1
  Partials          0          0

Powered by Codecov. Last update 7c376be...4328a1a


Reference C++ templates in section on monomorphization

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

The policy has been not to compare Rust to other languages outside of the "Other Languages" section. People reading the FAQ come from lots of different backgrounds, and we can't assume they know C++. My preference is to continue with that policy.

This is actually part of the "Other languages" section, though?

Oh geez, you're right. This is why I shouldn't try to give feedback on PRs right after waking up.
It's probably fine to reference C++ here, although I worry that people will make incorrect assumptions about how Rust traits and C++ templates compare. It's probably worthwhile to add an answer explaining the differences between them.

r? @brson (or @steveklabnik )


AttributeError: module 'openai' has no attribute 'Timeout' when execute emulate.ipynb

Environmet
openai: 0.28.0
langchain: 0.0.277
Description
When I try to run the following code in emulate.ipynb, it raised an AttributeError

I guess it have something to do with the version of openai, so I have tried to upgrade the version of openai, but it didn't work.
So anyone know how to sovle the problem? Thanks!

This seems to be a version problem, could you double-check the openai and langchain version?

Thanks! I upgraded the openai version to 1.13.3 and langchain is still 0.0.277 as in the requirements.txt
Now it raised "APIRemovedInV1" error. It seems something changed in openai 1.X, but I don't know how and where to modify in the program.
Here are the details

For windows, it needs to install WSL and install 'grit' to start the automatic migration process for OpenAI API code. This command will modify the code to be compatible with the latest version of the OpenAI API.
Please refer to this guidance: https://medium.com/@trendingAI/open-ai-api-how-to-upgrade-migrate-your-open-ai-api-code-base-to-1-0-0-for-windows-in-vs-code-341b91c1feaf
However, after I apply the command grit apply openai, it still raises the error 'APIRemovedInV1'. Maybe I should restart and see...

We use openai==0.28.0 and langchain==0.0.277 for the code and it works on my end. Could you double check it's the correct version for them and try again?
Not sure the code will still work for the upgraded openai and langchain versions.

Ok, it works for openai==0.28.0. But doesn't work for new version openai.
Thanks a lot!


Updated several libraries

Retrofit to 2.0.0-beta2
Android-APT to 1.8
Timber to 3.1.0
ByteUnits to 0.9.1
Madge to 1.1.2
Scalpel to 1.1.2
Process-Phoenix to 1.0.2
LeakCanary to 1.3.1
ThreeTenABP to 1.0.2
Telescope to 1.5.0
Spoon to 1.2.0
Espresso (core to 2.2.1 and rules/runner to 0.4.1)

Thanks for doing this!

Any API changes to Timber that I need to adjust? (just saw your tweet about it :+1: )

Nope. The API is the same. The major version bump was just because it
switched from a jar to an aar.
On Wed, Oct 7, 2015 at 1:08 PM Rafael Toledo<EMAIL_ADDRESS>wrote:

Any API changes to Timber that I need to adjust? (just saw your tweet
about it [image: :+1:] )
—
Reply to this email directly or view it on GitHub
https://github.com/JakeWharton/u2020/pull/212#issuecomment-146264226.


Argument validation for input maf dataframe

Hi SignatureAnalyzer developers,
I attempted to run sa.run_maf with a Pandas dataframe as the first argument instead of a string. Doing so resulted in

"Invalid file path or buffer object type: <class 'pandas.core.frame.DataFrame'"

.  Inspecting source indicates that the object is directly passed into pd.read_csv (https://github.com/broadinstitute/getzlab-SignatureAnalyzer/blob/master/signatureanalyzer/signatureanalyzer.py#L85)
I tried this approach (DataFrame argument instead of file path) as it was suggested by the README code:
# Run array of decompositions with mutational signature processing
sa.run_maf(input.maf, outdir='./ardnmf_output/', cosmic='cosmic2', hg_build='./ref/hg19.2bit', nruns=10)

Thanks for developing SignatureAnalyzer,
Josh

Hi,
The run_maf function does a little bit of pre-processing specific to the Mutation Annotation File (maf) format that parses the inputs, generates spectra, etc. As of now, we have the input for this from the python api as a string for a path leading to a file.
However, if you want to run just the algorithm itself, you can call bnmf found here https://github.com/broadinstitute/getzlab-SignatureAnalyzer/blob/7e18db8bf84aae8e0273b1052df84ec969c8c5de/signatureanalyzer/bnmf.py#L20
This will take a DataFrame. We could add an enhancement for the python API to take in either a file-path or a DataFrame in the future.
Best,
Shankara

Great, thanks so much for your consideration. My suggestion was more alluding to documentation (rather than a feature request).

Thanks, we can clarify this in the README. It does not specify what input.maf is as of now.


fix: fixed minimum-gas-prices healthcheck messages and make it more verbose/clear

Closes: #3893
Description
If the chain doesn't support the query for getting minimum gas prices, display a different warning than we have right now, to prevent misleading users.
Other cases (invalid minimum-gas-prices, errors when fetching minimum-gas-prices, golden path) are the same.

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[x] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

@romac can you look into it?

Perfect, thank you so much for the PR! 🙏

@romac I wasn't aware that you can do match together with if statements inside, thanks for showing it to me, always nice to learn something new!

Yeah that's a useful feature! By the way, the code was totally fine as is, it's only a very minor nitpick of mine :)

@romac it makes the code more pretty IMO, so I am all in for having it your way.


Fixed inverted QuadMesh bug

As reported in a HoloPlot issue the coordinates in a QuadMesh are not correctly ordered causing the plot to be inverted. This is a simple fix to use the ordered coordinates.

[x] Fixes https://github.com/pyviz/holoplot/issues/23

Ready to merge.

Looks good. Merging.


make test: example-service.py not started

Executing 'make test' some tests fail due to missing DBUS service 'net.lizenn.dbus.SampleService'
Either the README should state that the following Python script should be started before running 'make test' or the corresponding Makefile rule in file  erlang.mk  should start/stop the script, eg:
diff --git a/erlang.mk b/erlang.mk
index 98db78b..39ed906 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -890,7 +890,9 @@ ct:
 else
 ct: test-build
        @mkdir -p logs/
+       ./test/dbus_client_SUITE_data/example-service.py & echo $$! > /tmp/example-service.pid
        $(gen_verbose) $(CT_RUN) -suite $(addsuffix _SUITE,$(CT_SUITES)) $(CT_OPTS)
+       kill `cat /tmp/example-service.pid`
 endif

BTW: even if the example-service is available, I see the following error reports, but the test-report shows 0 failures.
=ERROR REPORT==== 13-Aug-2015::06:55:18 ===
Bad input fd in erts_poll()! fd=18, port=#Port<0.2238>, driver=inert_drv, name=inert_drv

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25711290-make-test-example-service-py-not-started?utm_campaign=plugin&utm_content=tracker%2F2587299&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2587299&utm_medium=issues&utm_source=github).

This issue has been fixed in e896beda81d731a2f596856d2f44056eca6afb74


Tags are set to PointValues.fields when query with time() function

Specifications

Client Version: com.influxdb:influxdb3-java:0.5.1
InfluxDB Version: [InfluxDB Cloud Serverless] Storage Engine Version 3
Platform: macOS 14.0

We have following schema:
Measurement: energy
Tags: component, site_id
Fields: amount

Steps to reproduce:

Build InfluxQL with time() function
Query using  influxDBClient.queryPoints(query, QueryOptions.INFLUX_QL)

Code sample to reproduce problem
String influxQL = "select time, first(amount) as amount, component, site_id from energy where site_id = 'test-251' group by time(15s)";

try (Stream<PointValues> points = influxDBClient.queryPoints(influxQL, QueryOptions.INFLUX_QL)) {
    return points;
}

Expected behavior
Measurement is set to PointValues.name
Tag: component, site_id are set to PointValues.tags
Fields: amount is set to PointValues.fields
time is set to PointValues.time
Actual behavior
Measurement is set to PointValues.name
Tags: component, site_id are set to PointValues.fields, tags are set to wrong place
Fields: amount is set to PointValues.fields
time is set to PointValues.time
Additional info
No response

Hello @bianbian,
Thank you for using our client and taking the time to report the issue you've encountered.
After a preliminary investigation, it appears that the issue stems from incorrect metadata reporting by the InfluxDB server. To help you continue your work without interruption, we suggest using a simplified query as a temporary solution. Here's an adjusted query that should work for your needs:
select time, amount as amount, component, site_id from energy where site_id = 'test-251'

This query modification sidesteps the problem by explicitly structuring the data selection, hopefully mitigating the issue at hand.
Rest assured, I will be contacting our server team to look into this matter and find a more permanent resolution. I aim to keep you updated with our progress and will reach out to you as soon as we have a clearer understanding or a fix for the issue.
Regards.

Hi Bednar,
Thanks for your investigation and prompt reply.
Actually, we are heavy on the time() function. So it's better have a solution on it.
Looking forward for your future result with your server team.
Best regards.

@bianbian @bednar I think with an update to influx cloud the tags are now being returned in the tags property instead of the fields property now. At least this is what we've observed while debugging an issue where our tags are suddenly missing 😭

Hi @brerenat, could you be a bit more specific about that tags are returned in the tag property?


Auto fix compilerOptions Lib

Search Terms
compilerOptions Lib, autofix Lib, auto Lib generation, Auto compilerOptions
Suggestion
Suggest adding the appropriate library to compilerOptions.lib if you are using a feature that requires it.
Use Cases

Help the developer code by preventing them from having to look up which compilerOptions.lib setting they need to use a particual feature of the standard library. As it is difficult to remember which version of ES introduced which additions.
In the future this could be used to auto generate the compilerOptions.Lib the developer needs by the JS features they are using. Which would remove some configuration. 🎉

Examples
Object.entities(object).map(([key, value]) => {
  ...
});

📎💬 “Looks like your using Object.entities, would you like to add 'es2017.object' to your compilerOptions.lib?”

if (array.includes(testValue)) {
  ...
}

📎💬 “Looks like your using Array.include, would you like to add 'es2016.array.include' to your compilerOptions.lib?”
Checklist
My suggestion meets these guidelines:

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[X] This feature would agree with the rest of TypeScript's Design Goals.

A simpler PR for this would probably look a lot like https://github.com/microsoft/TypeScript/pull/32281
It could be built in one of two ways:

There could be a known symbol map of most common mistakes like this, and what they would need to add to lib
A more comprehensive answer, but more complex, could be to look at the diagnostic for missing symbol and then search through all shipped lib.x.d.ts files to see if it's included and raise with the associated lib recommendation

This is nice but we should also make it clear to the user that this API is nominally not available in the version they say they are targeting, not just that TS wants them to say the magic words.


Refactor: message subscribe const char*

Refactor subscribe or publush to take e.g. const char* "humidity' and then have the caller append to a String.
Then maybe on incoming, if beginning of string matches, strip it down and just look for the char* in the receive table ?

Merged into #53


Dennis/debug tools

Integrated debug tools into Eatery under toolsEnabled flag in app delegate. For info on tools see Tools Repo

Resolve the same things I mentioned under IceFishing.

merged d9d8f4cdae704c1fa60565a2d8346c7043fc7329


"Permission denied" when editing other placeholder items

I can edit sidebar/other placeholder contents on the main page of the blog as expected. However, when I try to do the same from, for example, a post view, I get the following error:

Is there something odd with my setup or is this expected behaviour? If it's the latter, could the error message be amended? I suspect this will be quite confusing for our users.

@petrklus for placeholder outside the main blog content you must use static placeholders, as normal placeholders are not supported in apphooked page by django CMS

Could you please elaborate how this should be used? At the moment, I've got a sidebar placeholder on the main blog page - which I can edit through the main blog page and they work across board. The only issue I am having is that it's not obvious for editors that they need to go back to the main blog page to do the edits.
Is the above wrong setup? Should I be using static placeholders for the sidebar? If so, how do I ensure that they are there only for blog (I am using same sidebar placeholder on other content pages).

yes, just use static_placeholders for sidebar. it works on the main blog page because it happends to be a cms page too, but it won't work on the internal view because they are not cms pages see an example here https://gist.github.com/yakky/56a937a1c8d1d8c74f1b43c51c771008

thank you @yakky !

Closing this


Manager getters and options for read prefs and write concerns

https://jira.mongodb.org/browse/PHPC-196
https://jira.mongodb.org/browse/PHPC-353

@bjori: see my replies on https://github.com/jmikola/mongo-php-driver-prototype/commit/2b20d34dabcf852608feb96b0df7be7c8fbf3be6 and https://github.com/jmikola/mongo-php-driver-prototype/commit/80ef0e9390a7803d3404ee69617c1ee0f733a030 and let me know if anything remains.

lgtm
What happened to the coveralls reporting? Would be nice to see the test coverage for this


How to fix a bug with syncing?

When Syncing is turned on, and a small number of slides, for example 2. That navigation starts to work very strange. Slick when svaype on the main slide, scrolls those 2 slides in the navigation part. You can see the video on the link below.
Video example http://take.ms/Kto8O
An example of what is now is, only the script itself is not connected, only the markup and settings^
https://jsfiddle.net/drtvader/bcbfmfje/
More Details
Carousel Styles are not connected
Version: 1.8.0

Hmmm, plug version 1.5.6 and there is no such bug. But active slides do not switch in navigation

https://jsfiddle.net/drtvader/bcbfmfje/1/
Has connected a new version, everything works well.
I'm on the layout .slick-list add style="height: 120px;"
slick-track opacity: 1; height: 120px; transform: translate3d(0px, -60px, 0px);
The example works differently.


Fuzzer update

Update fuzzer to generate the new syntax and prevent it from generating null accesses

Adds null checks to generator


⚠ Bofrost.lu has degraded performance

In 0a0a2fe, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 6265 ms

Resolved: Bofrost.lu performance has improved in 0ed48f3.


Server Logging

Description
In order to add the ability for debugging and analyzing profiler issues remotely, this PR  adds a server logging feature - send log records to a remote server (the same server as the profiler results server).
The server logging is enabled by default and can be disabled with a command-line argument/environment variable.
Motivation and Context
Debugging and remote issues analysis.
How Has This Been Tested?
This feature was tested manually end-to-end with Granulate Performance Studio servers.
Moreover validated that the current logging behavior remains the same.
Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have updated the relevant documentation.
[ ] I have added tests for new logic.

2 last comments, and fix CI (well, the comments are related to the failing CI)

Add version bump?


stuck when Routine Load task used url_decode

ERROR 1064 (HY000): Expr evaluate meet error: decode string contains illegal hex chars: 2
When using the urlencode function in a routine load task, if data anomalies cause function parsing to fail, the routine load task will be stuck until the offset expires.
StarRocks version
3.1.7-7e897e2

@jaogoy PTAL.

@egogao123 Can you give the whole Rouitne Load job info?
In my opinion, if url_decode failed to process a string, the row should be recoganized as an Error row if strict_mode = true, or a normal row with a NULL field if strict_mode = false.

@egogao123您能提供整个 Rouitne Load 作业的信息吗？ 在我看来，如果url_decode无法处理字符串，则如果 ，则该行应被识别为错误行，如果，则该行应被识别为带有字段strict_mode = true的正常行。NULL``strict_mode = false

CREATE ROUTINE LOAD xxx ON xxx
COLUMNS TERMINATED BY "\t",
COLUMNS(t_a,t_b,t_c,a=url_decode(t_a),b=url_decode(t_b),c=url_decode(t_c))
PROPERTIES
(
"desired_concurrent_number" = "1",
"max_error_number" = "500",
"max_batch_interval" = "30",
"max_batch_rows" = "500000",
"max_batch_size" = "104857600",
"strict_mode" = "false"
)
FROM KAFKA
(
"kafka_broker_list" = "xxx:9092",
"kafka_topic" = "xxx",
"property.group.id" = "xxx",
"property.client.id" = "xxx"
);

@egogao123 Can you give the whole Rouitne Load job info? In my opinion, if url_decode failed to process a string, the row should be recoganized as an Error row if strict_mode = true, or a normal row with a NULL field if strict_mode = false.

CREATE ROUTINE LOAD xxx ON xxx
COLUMNS TERMINATED BY "\t",
COLUMNS(t_a,t_b,t_c,a=url_decode(t_a),b=url_decode(t_b),c=url_decode(t_c))
PROPERTIES
(
"desired_concurrent_number" = "1",
"max_error_number" = "500",
"max_batch_interval" = "30",
"max_batch_rows" = "500000",
"max_batch_size" = "104857600",
"strict_mode" = "false"
)
FROM KAFKA
(
"kafka_broker_list" = "xxx:9092",
"kafka_topic" = "xxx",
"property.group.id" = "xxx",
"property.client.id" = "xxx"
);


Error Code: ERROR_PROXY_GATEWAY

We get this error several times per day across different app services and release tasks. We can click redeploy and everything just works. It is becoming a pain to have to do this all the time. It defeats the purpose of continuous deployments if someone has to watch the deployment tasks.
HOSTED VS2017 Agent: 3.3.36
2018-02-09T23:06:11.7237456Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:IisApp='D:\a\r1\a\temp_web_package_999482232789199' -dest:iisApp='',ComputerName='https://**************.scm.azurewebsites.net:443/msdeploy.axd?site=',UserName='',Password='',AuthType='Basic' -enableRule:AppOffline -enableRule:DoNotDeleteRule -userAgent:VSTS_132c19c3-f443-44e4-b406-92f2e0426e18_release_6_402_1416_1
2018-02-09T23:06:16.7799110Z ##[error]Failed to deploy web package to App Service.
2018-02-09T23:06:16.7801465Z ##[error]Error Code: ERROR_PROXY_GATEWAY
More Information: Could not connect to the remote computer ("**********************") using the specified process ("Web Management Service"). This can happen if a proxy server is interrupting communication with the destination server. Disable the proxy server and try again.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_PROXY_GATEWAY.
Error: The remote server returned an error: (502) Bad Gateway.
Error count: 1.
2018-02-09T23:06:16.7803191Z ##[error]Error: C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code:<PHONE_NUMBER>

@youngcm2 , thanks for reporting the issue.
We have added retry mechanism for MSDeploy and for all REST API, that should take care of this intermittent failures.
This fix will be available in upcoming deployment.

Do you know when the release will be live?

The Deployment is completed. Is the issue happening again?

I apologize I assumed since it was open that it had not been deployed. We are getting a new issue on builds. I will open up a new ticket. Last failure was on 2/20/18 2:35 PM CST

Closing the issue as the fix is deployed.
Feel free to re-open / start a new thread, if the issue still persisting.

I am facing this issue now

@harikumar2017 have you upgraded your task to latest non-preview?

nope
From: Mardoxx<EMAIL_ADDRESS>Sent: Thursday, September 27, 2018 6:16 PM
To: Microsoft/vsts-tasks
Cc: Hari Kalyan; Mention
Subject: Re: [Microsoft/vsts-tasks] Error Code: ERROR_PROXY_GATEWAY (#6399)
@harikumar2017https://github.com/harikumar2017 have you upgraded your task to latest non-preview?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vsts-tasks/issues/6399#issuecomment-425077029, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Acry2tUUekuG6hNum2MbctzCIKQQfqrXks5ufMiYgaJpZM4SAqVx.
[Aspire Systems]
This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.


[Exporter Refactor] Quantizable Conv Integer

Adds:

convert_quantizable_conv_integer transform

GemmToMatMulInteger (i.e. _convert_quantizable_gemm_no_activations) also uses the
_add_quantized_conv_matmul_add_ops function. so should be easy to add after this is merged

on it


Common programming concepts

TODO:

[ ] Primitive Data Types, Variables and Mutability
[ ] (more) Advanced Data Types
[ ] Control Flow and Comments

This seems old can we close please @lerno


Connector warns on concurrent PC/SC calls

Add warning logs into Smart Card Connector whenever a client application emits illegal concurrent PC/SC requests: an SCARDCONTEXT must only be used from a single thread (with the only exception of SCardCancel that can be called concurrently).
This is preparation for disallowing concurrent PC/SC calls in the future as planned in #136. Concurrent calls are not allowed by the PC/SC API specification, and the PC/SC-Lite's implementation breaks in subtle ways when this is violated.

LGTM - intuitively it feels wrong to copy a vector of strings just to concatenate them later, but I couldn't see a better way either (especially since the vector is supposed to be empty in general)

Fair point. It was indeed pretty wasteful, because we needed to copy it and because of a costly std::ostringstream.
I've changed the code to directly concatenate into a single string.

LGTM - intuitively it feels wrong to copy a vector of strings just to concatenate them later, but I couldn't see a better way either (especially since the vector is supposed to be empty in general)

Fair point. It was indeed pretty wasteful, because we needed to copy it and because of a costly std::ostringstream.
I've changed the code to directly concatenate into a single string.

Oops - I realized that a single ClientRequestProcessor can be used with multiple SCARDCONTEXTs, and that's fine. We should only complain about concurrent calls that share the same SCARDCONTEXT. This resulted in having to redo a big chunk of the implementation.


Verify usage of some methods to be before starting

enableCaseSensitiveUrls did not check the usage although the
documentation indicated otherwise
Some methods did check the usage but did not indicate it in the
documentation

Thanks @Playacem, much appreciated!


scripts/EXP-LongForecasting/Stat_Long.sh is not executable

Firstly, line 5 of run_stat.py is
from exp.exp_naive import Exp_Main

which may be
from exp.exp_stat import Exp_Main

Even I use exp_stat, there is still errors about input argument, like
timeenc = 0 if args.embed != 'timeF' else 1

AttributeError: 'Namespace' object has no attribute 'embed'

It is fixed now. (I don't carefully check the implementation in stats_model. It is not used in our paper except "repeat)


[SPARK-46699][PS][TESTS] Split ArithmeticTests

What changes were proposed in this pull request?
Split ArithmeticTests
Why are the changes needed?
its parity test is slow
Does this PR introduce any user-facing change?
no, test-only
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.


Machine Workers Not Joining Kubernetes Cluster

When trying to deploy KubeOne workers via machine-controller I get the following errors.
I0915 19:50:56.891999       1 status.go:57] Unable to get node for machine us-west-1b-5c4df9f844-qnpw5, machine has no node ref
I0915 19:50:56.893277       1 status.go:57] Unable to get node for machine us-west-1b-5c4df9f844-24vd5, machine has no node ref
I0915 19:50:56.893322       1 status.go:57] Unable to get node for machine us-west-1b-5c4df9f844-lc6f4, machine has no node ref
I0915 19:50:56.893343       1 status.go:57] Unable to get node for machine us-west-1b-5c4df9f844-wmnm8, machine has no node ref

However, when I list machine objects these machines exist, and when I further go on to describe a machine it shows that the node was successfully created. I can even see that the CSRs are approved, however, when I list Kubernetes nodes no workers appear.
MachineSet Objects below:
NAME                   REPLICAS   AVAILABLE-REPLICAS   PROVIDER   OS        MACHINEDEPLOYMENT   KUBELET   AGE
us-west-1a-cf6b868cc   4                               aws        flatcar   us-west-1a          1.22.0    13m
us-west-1b-67cbcd777   4                               aws        flatcar   us-west-1b          1.22.0    13m

No events reported when describe a MachineSet:
[..]
Status:
  Fully Labeled Replicas:  4
  Observed Generation:     1
  Replicas:                4
Events:                    <none>

Machine objects below:
kubectl get machine -n kube-system
NAME                          PROVIDER   OS       NODE   KUBELET   ADDRESS      AGE
us-west-1a-6bcd96cdfb-ds65f   aws        ubuntu          1.22.0    <IP_ADDRESS>    10m
us-west-1a-6bcd96cdfb-jhplg   aws        ubuntu          1.22.0    <IP_ADDRESS>    10m
us-west-1a-6bcd96cdfb-nbfll   aws        ubuntu          1.22.0    <IP_ADDRESS>    10m
us-west-1a-6bcd96cdfb-twdh6   aws        ubuntu          1.22.0    <IP_ADDRESS>   10m
us-west-1b-5c4df9f844-24vd5   aws        ubuntu          1.22.0    <IP_ADDRESS>   10m
us-west-1b-5c4df9f844-lc6f4   aws        ubuntu          1.22.0    <IP_ADDRESS>   10m
us-west-1b-5c4df9f844-qnpw5   aws        ubuntu          1.22.0    <IP_ADDRESS>   10m
us-west-1b-5c4df9f844-wmnm8   aws        ubuntu          1.22.0    <IP_ADDRESS>   10m

us-west-1a-6bcd96cdfb-ds65f events showing a node was successfully created:
Events:
  Type    Reason         Age                From                Message
  ----    ------         ----               ----                -------
  Normal  Created        13m                machine_controller  Successfully created instance
  Normal  InstanceFound  9s (x21 over 13m)  machine_controller  Found instance at cloud provider, addresses: map[<IP_ADDRESS>:InternalIP ip-10-0-0-31.us-west-1.compute.internal:InternalDNS]

Approved CSRs example:
csr-4b28w   10m   kubernetes.io/kube-apiserver-client-kubelet   system:bootstrap:zzwxl8   <none>              Approved,Issued

KubeOne version: 1.13.0-rc0
machine-controller version: 1.35.2
Kubernetes version: 1.22.0

Please ssh to the instance and check kubelet logs.

Ok, I've resolved this issue. For anyone who discovers this when Googling, I was using the wrong os type "ubuntu" on the flatcar instances. This was causing the userdata to miss some required steps in bootstrapping kubelet.
Thanks for the help.