Tool Not Licensed

I have a 10.3.1 Desktop Basic installation with Network Analyst.
After extracting, install.bat, opening Arcmap and then accesing the tools from the toolbox;
I get a Tool Not Licensed error box.
Unable to execute the selected tool.
You no not have the necessary license to execute the selected tool.
What  licenses, extensions are required to actually use this toolbox?

Hi @MacGuruTx,
Can you provide more details as to how you're encountering the error?  Details such as:

Which of the four tools is causing the error?
What data product (NAVSTREETS or MultiNet) are you using, and which vintage/version number are you using this with?
What region of the world is this data for?

Any other details you can provide will definitely help!  Thanks!

I wasn't able to find any functions used in the tools that require higher than a Basic license.  Can you also provide me with the messages returned by the failing tool so I can see which function is throwing the licensing error?  Thanks again!

Sure.
ArcGIS 10.3.1 for Desktop – Version <IP_ADDRESS>59
Basic license
Network Analyst License
StreetDataProcessingToolsv<IP_ADDRESS> downloaded today.
Process I’ve used
Street Data processing tools are in a sub folder of my documents (C:\Users<username>\Documents\GIS\StreetDataProcessingTools_v<IP_ADDRESS>\StreetDataProcessingTools)
R/Click GPProcesVendorDataFunctions.dll
General/ Unblock
Run Installtools.bat
Open Arcmap
Go to ArcToolbox
r-click on Arctoolbox and select Add Toolbox
go through browser to C:\Users<username>\Documents\GIS\StreetDataProcessingTools_v<IP_ADDRESS>\StreetDataProcessingTools
select Street Data Processing Tools.tbx and then Open
Select one of the tools
Ie Tomtom
Process Multinet Street data or Process NAVSTREETS Street data
I get the Tool not Licensed error
I just tried the Time Zone Data tools and these both work for HERe or TomTom
Greg Middleton
Principal Product Manager – CAD, Mobile, and GIS
TriTech Software Systems | www.tritech.comhttp://www.tritech.com/
Direct:<PHONE_NUMBER> | Mobile<PHONE_NUMBER>
Support: 1-800-987-0911  (choose option #1)
Need to schedule a mtg and don’t work for TriTech; See my public calendar on the internet here:
Greg's<EMAIL_ADDRESS>From: Alan Hatakeyama<EMAIL_ADDRESS>Sent: Tuesday, October 18, 2016 3:28 PM
To: Esri/street-data-processing-tools<EMAIL_ADDRESS>Cc: Greg Middleton<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Esri/street-data-processing-tools] Tool Not Licensed (#5)
Hi @MacGuruTxhttps://github.com/MacGuruTx,
Can you provide more details as to how you're encountering the error? Details such as:
·         Which of the four tools is causing the error?
·         What data product (NAVSTREETS or MultiNet) are you using, and which vintage/version number are you using this with?
·         What region of the world is this data for?
Any other details you can provide will definitely help! Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Esri/street-data-processing-tools/issues/5#issuecomment-254657843, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV3F3IyxP458KhDAVitRdXkKDPkb-clvks5q1UfdgaJpZM4KaVkw.

And to be clear, I’m getting this error message when I doubleclick to start the Process Street data tools. I never get to a dialog box to set input out put workspaces. I get the Tool not licensed error immediately before being presented with a menu.
From: Alan Hatakeyama<EMAIL_ADDRESS>Sent: Tuesday, October 18, 2016 3:37 PM
To: Esri/street-data-processing-tools<EMAIL_ADDRESS>Cc: Greg Middleton<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Esri/street-data-processing-tools] Tool Not Licensed (#5)
I wasn't able to find any functions used in the tools that require higher than a Basic license. Can you also provide me with the messages returned by the failing tool so I can see which function is throwing the licensing error? Thanks again!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Esri/street-data-processing-tools/issues/5#issuecomment-254659679, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV3F3DzBHNCmU9MqZIS_KzGaMOkcXPbAks5q1Un8gaJpZM4KaVkw.

You mentioned that you installed Network Analyst alongside ArcGIS, but do you have the Network Analyst extension actually turned on inside of ArcMap (click Customize > Extensions, and then click the checkbox(es))?

DOH!..
That is indeed the issue.  Thank you !
From: Alan Hatakeyama<EMAIL_ADDRESS>Sent: Tuesday, October 18, 2016 4:21 PM
To: Esri/street-data-processing-tools<EMAIL_ADDRESS>Cc: Greg Middleton<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Esri/street-data-processing-tools] Tool Not Licensed (#5)
You mentioned that you installed Network Analyst alongside ArcGIS, but do you have the Network Analyst extension actually turned on inside of ArcMap (click Customize > Extensions, and then click the checkbox(es))?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Esri/street-data-processing-tools/issues/5#issuecomment-254667387, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV3F3LbDsvV_PIadKaaV9VdPhgwFlUC3ks5q1VRwgaJpZM4KaVkw.


bug: regular expressions don't work for me for nested tags

I have ^#work$ specified, which moves into the specified folder notes with #work but not with #work/film.
Moreover, even I specify #work/film separately in addition to ^#work$, the note with #work/film does not move.
It moves only if I specify #work and #work/film (remove regexp entirely). Please help!

This is because ^ indicates the beginning of a line and $ indicates the end of a line, so ^#work$ will only match #work.
To match all nested tags for #work, use ^#work.

Duh. I need to learn regex. Many thanks!

thanks, I did the same error

Is this in the "Tag" or "Title by Regex" columns? I can't seem to get it to work in either.

I've tried several things and no luck getting a regex to work with a nested tag. My head hurts.
How does this even work? The tag column accepts nested tags with unescaped /s. So how does one specify a tag via regex with a nasted tag?
I could read through the code but the yak shaving hurts ussss preciousssss.

I'm on mobile FWIW. Shouldn't matter but...


Repo cleanup - May

Contributes to #29115

@BillWagner Is this a good spot for the warning waves doc? https://review.docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/warning-waves?branch=pr-en-us-29498
Also, the AnalysisLevel property seems to be shared between C# compiler messages and Roslyn code analysis. I'll log an issue to make note of this in the docs.


TransformerEngine integration

Implements padding support directly in the model.
Adds a version of the model fully integrated with TransformerEngine
Adds a guide for training with TransformerEngine

oof, what's the reason for closing this?

The current state of the PR is stale. I need to redo the version with all layers replaced.
Also, I won't add support for automatic padding again since it's only relevant for inference, and inference with TE wasn't worth it from my experiments.


fund a project to package Gov4Git as GitHub Marketplace App

Motivation
Packaging Gov4Git as GitHub Marketplace App will enable users to use it entirely from within GitHub, without having to install the Gov4Git desktop app.
Technical spec
The technical details of this project are given here: https://github.com/gov4git/gov4git/issues/201
Sourcing developers
Some potential places where developers can be sourced for this project:

https://quira.sh/
https://weworkremotely.com/
https://stackoverflow.jobs/
https://opencollective.com/
https://www.fossjobs.net/
https://www.toptal.com/
https://gun.io/

Thank you Petar for putting this proposal together. @newmediagallery is to thank for starting this conversation. I am sure they will put some votes towards it.

As part of this proposal, I would like to ask that we discuss what it would take to show comments in the app/desktop version. So as you are deciding to vote you can expand the window to see comments if you want.

 Gov4Git notices
On Tuesday, 01-Oct-24 20:43:51 UTC by Gov4Git dev
Notice nki5to
Started managing this issue, using the Open-Source Management Protocol (Waimea), as Gov4Git concern 411 with initial priority score of 0.000000.
This project is managed by Gov4Git, a decentralized governance system for collaborative git projects.
To participate in governance, install the Gov4Git desktop app.
Notice thbo45
This issue's priority score is now 0.000000.
The cost of priority is 0.000000.
The projected bounty is now 0.000000.
Notice nh7ak2
The set of eligible proposals claiming this issue is empty.

 Gov4Git notices
On Tuesday, 01-Oct-24 23:11:18 UTC by Gov4Git dev
Notice pwnra7
This issue's priority score is now 2.000000.
The cost of priority is 4.000000.
The projected bounty is now 4.000000.
Notice fsrttm
The set of eligible proposals claiming this issue is empty.

 Gov4Git notices
On Tuesday, 08-Oct-24 23:58:11 UTC by Gov4Git dev
Notice 4lbm2v
This issue's priority score is now 6.000000.
The cost of priority is 20.000000.
The projected bounty is now 12.000000.
Notice 6zrlgh
The set of eligible proposals claiming this issue is empty.


buggy files?

I have tried downloading the following two files in multiple ways from the CEDA servers, but somehow the files appear to be corrupted when I try to read them on my servers.
ua/ECMWF/ua_6hrPt_IFS_free_s20190829-r26i1p1f1_gr_201908290000-201910140000.nc
ua/NCAR/ua_6hrPt_CESM2-CAM6_nudged_s20191001-r12i1p1f1_gn_20191001-20191115.nc
Both of them appear to have the following issue:
"NetCDF: HDF error
Location: file ; line 478"

We managed to get these files to work. Closing the issue


Use new-style maven central URLs

Resolves #157 . We could use the new URL or we could block the redirect. The old URL will eventually be deprecated, so we may as well start using the new URL.

I've adjusted the link checker test to be less concurrent and retry more, and that's sorted out many of the 503s we were seeing. The one remaining error is a permanent 500, so I've raised https://issues.sonatype.org/browse/MVNCENTRAL-7917. However, that version of the extension isn't the one we should be showing; it got moved from platform to quarkiverse and never got added to the extension catalog. This should be fixed by https://github.com/quarkusio/quarkus-extension-catalog/commit/3e372bf161bf117da48cf0572bd2ec3431205d18.

It seems central.sonatype is less stable, so we get more 503s and spurious reports of URLs not existing, so I have removed the static-generation link checking and left it to the integration test.
In the integration test, we need to be less concurrent and retry more often in links test, to work around tendency of central.sonatype to return 503s.


Updating vm size for jobs. Placing e2e tests on deployed clusters.

Updating instance sizes for the CI jobs.  Also reusing the cluster builds to run e2e tests on the desired clusters.

This will relies on https://github.com/openshift/openshift-ansible/pull/8917

2 minor changes then can merge


Layout changes and added plot2

After painful-wrangling and eye-bleeding:

Made layout changes
Added artist-widget for tab1
Added plot2

Hey Michelle, the deployment doesn't seem to work for your PR . Can you check the logs on heroku and get it up ?

@christopheralex ok it was file reading error - now fixed! please check.

Looks good but I guess this code removes @jennifer-hoang 's plot .
Hey @jennifer-hoang, can you work on this branch or give any insights on this PR if this affects your plot in the layout ?

Hi @michelle-wms, @christopheralex,
I've added my plot back into the layout on this branch, feel free to go ahead with the merging.


Use buildkite docker-login plugin instead of scripting docker login

The Problem/Issue/Bug:
While working on my PR https://github.com/drud/ddev/pull/3039 there was a login issue with Docker so I was looking for a solution and found the docker-login plugin.
How this PR Solves The Problem:
So far this looks to perform nice and no login issue occured.
Manual Testing Instructions:
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

Looks like an improvement to me. Would have to be in the WSL and macOS environments as well though. I guess this is https://github.com/buildkite-plugins/docker-login-buildkite-plugin - I didn't even really know that buildkite had plugins!

Yeah, saw the failure in my other PR and then found this plugin. Already fixed the other workflows, did see it to late. Will push once the buildkite/ddev-windows-dockerforwindows-nfs step is done.

I've opened an issue for WSL2 see https://github.com/buildkite/agent/issues/1449

I chowned /etc/buildkite-agent on the WSL2 test runners to testbot, should solve this problem.

I've opened an issue for WSL2 see https://github.com/buildkite/agent/issues/1449

I chowned /etc/buildkite-agent on the WSL2 test runners to testbot, should solve this problem.

Do we have self hosted runners here, I have no idea.

I chowned /etc/buildkite-agent on the WSL2 test runners to testbot, should solve this problem.

Restarted the job and looks plugin installation works now.

Login succeeded https://buildkite.com/drud/ddev-wsl2/builds/491#b5f3f9a4-850f-4f93-8bea-78f99922b4e3 line 98

Login succeeded https://buildkite.com/drud/ddev-wsl2/builds/491#b5f3f9a4-850f-4f93-8bea-78f99922b4e3 line 98

Yep, already close the upstream issue.

Do you have an idea why the Windows test still fails? The login is now fine which was the problem in my other patch but still a failing test afterwards. https://buildkite.com/drud/ddev-windows-dockerforwindows-nfs/builds/3437#ac51b25e-b59e-499a-87d7-3b9d0bc057e6

I think I may have resolved that in https://github.com/drud/ddev/pull/3043, it seems to be related to a flaw in time synchronization in Windows Docker Desktop, I've been battling it for a while. Not related to your work.

I chowned /etc/buildkite-agent on the WSL2 test runners to testbot, should solve this problem.

Did you see the comment https://github.com/buildkite/agent/issues/1449#issuecomment-856804708

Of course. Doesn't work very well for WSL2, where you don't have services started as other users. Not systemd.

This is fine, thanks! I'd be interested to know what problem you encountered with docker login.
I'm delaying pulling this because there's an Apple notarization issue in upstream/master that I have to get resolved.

Here is one of the login failures https://buildkite.com/drud/ddev-windows-dockerforwindows-nfs/builds/3435#380d31b6-40bc-4e4f-80bf-7d48cc0d7462

Thanks for looking that up.

dial tcp: lookup auth.docker.io on <IP_ADDRESS>:53: no such host

It's actually a docker DNS failure that haunts especially Windows docker. It's been going on as long as I can remember, with many different name lookups. I've been experimenting with a number of things to try to mitigate it, latest attempt is https://github.com/drud/ddev/commit/25d51f452b0e7b01f1680576c268c5556314580d#diff-ca87371f081edf1d7a27bf5a39af5218c3d99e4c274e7c0fc1f007dbe3774d63R39-R43


time error while input

when input time (no use arrow-control), time-value return "00:00".
Is it a bug?

can you explain more on how it happens ?

if you pick time (not use arrow-control), time value will return "00:00". Looking forward to your help!


Added UNISAL Lorena

Added UNISAL Lorena's Campus to the list: lo.unisal.br

@giovaneribeiro Pull request merged! Thank you!


Caluclation error in gpytorch

Hello!
I tried to run the model-based genetic baseline by following your sample command.
python scripts/black_box_opt.py optimizer=mb_genetic optimizer/algorithm=soga optimizer.encoder_obj=mll task=regex tokenizer=protein surrogate=multi_task_exact_gp acquisition=nehvi
However, it caused the following error.
[2022-05-10 21:34:54,070][root][ERROR] - Input is not a valid correlation matrix
Traceback (most recent call last):
  File "scripts/black_box_opt.py", line 55, in main
    metrics = optimizer.optimize(
  File "/home/keisuke-yamada/lambo/lambo/optimizers/pymoo.py", line 189, in optimize
    problem = self._create_inner_task(
  File "/home/keisuke-yamada/lambo/lambo/optimizers/pymoo.py", line 389, in _create_inner_task
    records = self.surrogate_model.fit(
  File "/home/keisuke-yamada/lambo/lambo/models/gp_models.py", line 321, in fit
    return fit_gp_surrogate(**fit_kwargs)
  File "/home/keisuke-yamada/lambo/lambo/models/gp_utils.py", line 238, in fit_gp_surrogate
    enc_sup_loss = fit_encoder_only(
  File "/home/keisuke-yamada/lambo/lambo/models/gp_utils.py", line 106, in fit_encoder_only
    loss = gp_train_step(surrogate, optimizer, inputs, targets, mll)
  File "/home/keisuke-yamada/lambo/lambo/models/gp_utils.py", line 91, in gp_train_step
    loss = -mll(output, targets).mean()
  File "/home/keisuke-yamada/lambo/.venv/src/gpytorch/gpytorch/module.py", line 30, in __call__
    outputs = self.forward(*inputs, **kwargs)
  File "/home/keisuke-yamada/lambo/.venv/src/gpytorch/gpytorch/mlls/exact_marginal_log_likelihood.py", line 63, in forward
    res = self._add_other_terms(res, params)
  File "/home/keisuke-yamada/lambo/.venv/src/gpytorch/gpytorch/mlls/exact_marginal_log_likelihood.py", line 43, in _add_other_terms
    res.add_(prior.log_prob(closure(module)).sum())
  File "/home/keisuke-yamada/lambo/.venv/src/gpytorch/gpytorch/priors/lkj_prior.py", line 134, in log_prob
    log_prob_corr = self.correlation_prior.log_prob(correlations)
  File "/home/keisuke-yamada/lambo/.venv/src/gpytorch/gpytorch/priors/lkj_prior.py", line 60, in log_prob
    raise ValueError("Input is not a valid correlation matrix")
ValueError: Input is not a valid correlation matrix

It seems like the code fails to calculate an appropriate correlation matrix in gpytorch.priors.lkj_prior.LKJCovariancePrior.log_prob. Do you have any ideas why it happens?
Thanks!

When I checked the calculation process, it seems like torch.matmul has poor precision.
I manually changed the source code of gpytorch.priors.lkj_prior.LKJCovariancePrior.log_prob as follows.
    def log_prob(self, X):
        print("\n\nLKJCovariancePrior.log_prob, input:\n", X)
        marginal_var = torch.diagonal(X, dim1=-2, dim2=-1)
        print("\nLKJCovariancePrior.log_prob, marginal_var:\n", marginal_var)
        if not torch.all(marginal_var >= 0):
            raise ValueError("Variance(s) cannot be negative")
        marginal_sd = marginal_var.sqrt()
        print("\nLKJCovariancePrior.log_prob, marginal_sd:\n", marginal_sd)
        sd_diag_mat = _batch_form_diag(1 / marginal_sd)
        print("\nLKJCovariancePrior.log_prob, sd_diag_mat:\n", sd_diag_mat)
        correlations = torch.matmul(torch.matmul(sd_diag_mat, X), sd_diag_mat)
        print("\nLKJCovariancePrior.log_prob, corrs:\n", correlations, "\n")
        log_prob_corr = self.correlation_prior.log_prob(correlations)
        log_prob_sd = self.sd_prior.log_prob(marginal_sd)
        return log_prob_corr + log_prob_sd

and the output is the following.
LKJCovariancePrior.log_prob, input:
 tensor([[ 2.7795,  0.3485,  0.0401],
        [ 0.3485,  2.1543, -2.6390],
        [ 0.0401, -2.6390,  5.3450]], device='cuda:0')

LKJCovariancePrior.log_prob, marginal_var:
 tensor([2.7795, 2.1543, 5.3450], device='cuda:0')

LKJCovariancePrior.log_prob, marginal_sd:
 tensor([1.6672, 1.4677, 2.3119], device='cuda:0')

LKJCovariancePrior.log_prob, sd_diag_mat:
 tensor([[0.5998, 0.0000, 0.0000],
        [0.0000, 0.6813, 0.0000],
        [0.0000, 0.0000, 0.4325]], device='cuda:0')

LKJCovariancePrior.log_prob, corrs:
 tensor([[ 0.9990,  0.1424,  0.0104],
        [ 0.1424,  0.9998, -0.7774],
        [ 0.0104, -0.7776,  1.0004]], device='cuda:0')

[2022-05-10 21:36:44,990][root][ERROR] - Input is not a valid correlation matrix

where its precise result must be
LKJCovariancePrior.log_prob, corrs:
 tensor([[ 1.0000,  0.1424,  0.0104],
        [ 0.1424,  1.0000, -0.7777],
        [ 0.0104, -0.7777,  1.0000]])

sorry for the delayed response
you're correct this is a numerical precision issue, though I'm surprised you're having problems, I've run this code many times and never seen this specific error. If you're sure this run wasn't a fluke you have a couple options

switch from single to double precision (if running on a GPU)
tweak GPyTorch settings (https://docs.gpytorch.ai/en/stable/settings.html)
dig into the source of numerical instability (if it happens in the middle of model training the learning rate may be a bit too aggressive)

Thank you for the response!
Changing the datatype of inputs for the GP heads from torch.float to torch.double solved the error!

glad to hear it! closing the issue.

@kkyamada Hello! May I ask what specific modifications you have made to the code to solve the numerical issues? I tried a bunch of ways to change the input of GP heads from torch.float to torch.double (e.g. in the gp_train_step function of gp_utils.py), but changing the tensor type would result in further errors in the gpytorch package (the message is "RuntimeError: expected scalar type Float but found Double"). How did you avoid this kind of type inconsistency? Thanks a lot in advance!

I just pushed a commit that should make it much easier to change dtypes
In short, just change this line to torch.double
Hopefully this resolves your issue.

Thank you for your response! It's so great of you to modify the code and that really helps! Changing torch.float to torch.double solved my issue :)

That's great!


When side-by-side installation is enabled, pre-pending ports/locations happen again on redeploy.

Howdy.

I've experienced this issue when redeploying the BizTalk application from the menu, when side-by-side installation is enabled AND UseMasterBindings = false.

ProjectName: BizTalkTest
ProjectVersion: 1.5

On first deploy, port and location names are correctly prepended with 'BizTalkTest_1.5_'.
On redeploy, port and location names are incorrectly prepended with 'BizTalkTest_1.5_BizTalkTest_1.5_'.

Maybe it was an idea to write the updated PortBindings.xml to a different file?

Thanks for a great product.

/Jakob Borg
This work item was migrated from CodePlex
CodePlex work item ID: '7077'
Assigned to: 'tfabraham'
Vote count: '1'

[tfabraham@10/20/2010]
Are you using a master bindings file or just PortBindings.xml directly?  I was trying to reproduce this without luck on my first attempt.

[jaffse@10/21/2010]
I was using the PortBindings.xml file directly. After the first deployment, the PortBindings.xml file is rewritten before being applied to the application with the prepended port names e.g. from

to

When redeploying the application, it is rewritten again, going from the previous prepended version to

Hope it makes sense.
/Jakob Borg

[tfabraham@10/21/2010]
Thanks, I suspected it had to be that scenario.  I tried with master bindings enabled, but I added some code to skip the prepend operation if the target name already begins with the prefix.  I'll try it again and make sure that the new code fixes the issue.

[UnknownUser@10/25/2010]

[UnknownUser@10/25/2010]

[UnknownUser@10/25/2010]
Resolved with changeset 51206.

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]


ci(screenshotter): use macos runner for Safari

What is the previous behavior before this PR?
Safari screenshots were tested using Browserstack which:

relied on an external service
was slow due to remote connection
has limited number of simultaneous tests
was flaky and failed often
external contribtuors don't have access to
uses Actions secrets, which required pull_request_target event and elevated permission
the semantic release step was run even if failed

What is the new behavior after this PR?
This PR uses GitHub Actions macOS runner for Safari screenshots. It's free for public repositories and even faster than ubuntu runner as it uses a real machine.

It now uses pull_request event and included in the ci.yml. The release step will only run if both test and screenshotter pass.
As it runs on macOS, it also serves as a build test on Mac.
One caveat would be we cannot lock the Safari version, so I've setup a bot to notify if the Safari is updated in the image.
There are subpixel changes as the Safari version has changed and diffs are available in https://github.com/KaTeX/KaTeX/actions/runs/1178042047.

@ylemkimon This is a great idea!  Any idea why the CI Safari screenshotter is timing out, though? (Just tried running it twice.) Is there a time limit or something? Or a race condition when using Safari?
It also looks like the screenshots need updating again, but hard to do with the CI process crashing. I'm a bit concerned that the difference from Browserstack (in the current PR anyway) seems to include a big vertical shift. With the current setup, I am able to generate Safari screenshots locally (by adding my Browserstack credentials to the environment), but relying on CI would prevent this (unless I got a Mac Mini I guess).  It'd be nice if they generated the same screenshots, but maybe it's impossible.

The failing Screenshotter / screenshotter (safari) is the old screenshotter (Browserstack) and the CI / screenshotter (safari) is the new screenshotter (macOS runner).

With the current setup, I am able to generate Safari screenshots locally (by adding my Browserstack credentials to the environment), but relying on CI would prevent this (unless I got a Mac Mini I guess).

I think the GitHub Actions would be more accessible, as it's free for personal/open-source usage.


Reconsider options.dev / process.env.NODE_ENV

In the current implementation, I see two problems:

Ream constructor writes to process.env.NODE_ENV. Architecture wise it's not a good thing as it may give side effects when used in a complex application (when not running ream cli in a standalone app but rather creating the app manually via API).
When constructing Ream object manually via API, the user is forced to copy-paste dev: process.env.NODE_ENV !== 'production'

I think it should be the other way around:

options.dev should be allowed not to be provided; and in that case it should be inferred from process.env.NODE_ENV. However if options.dev is provided, it should be used and process.env.NODE_ENV should be ignored.
Ream should not write to process.env.NODE_ENV.
Ream should not use process.env.NODE_ENV other than in the app constructor (e.g. in webpack config, in handleError, in pwa plugin etc.) but rather always rely on options.dev.

I would come up with a PR, just let me know if you're still alive ;)

Interesting idea @IlyaSemenov 👍

I noticed that some tools will add optimizations when process.env.NODE_ENV === 'production' by default:

Maybe it's fine to set a default value when it's not defined by user?

I think the CLI command ream dev/build/generate could set it indeed, but not the class API that could potentially be used in unpredictably fragile user environment.


[cr] hide diff of examples dir on PR

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Do you know if this permanently hides the changes or just collapses them? I'd like the PR to show that the files changed, but not expand them all by default, if that makes sense.

Just collapse with the "show diff".


[DOC] Auto deploy model when predict request comes

What do you want to do?

[x] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
We will support auto deploy model when predict request comes for remote model in 2.13.
https://github.com/opensearch-project/ml-commons/issues/1148
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Hi @ylwu-amzn , please create a doc PR ASAP if this is going to be merged in 2.13. Thanks.


Determine compress algorithm by checking magic bytes

This allows us to change the format of crcbundle to what we want.

Did you consider using a dedicated go module for this content sniffing? https://stackoverflow.com/questions/29838185/how-to-detect-additional-mime-type-in-golang (not saying this should be done, merely asking :)

Very good point! I was too happy to write it myself. It's better now :)


ASP.Net hosted blazor client default project uses the old WebHostBuilder rather than the generic HostBuilder

Is your feature request related to a problem? Please describe.
ASP.Net documentation states that the preferred host is the GenericHost
Describe the solution you'd like
I believe the generated Blazor project should follow the 'best practices' outlined in the documentation.
Describe alternatives you've considered
n/a
Additional context
The generated program.cs should be:
`using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace WebApplication1.Server
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
    public static IHostBuilder CreateHostBuilder(string[] args) =>
        Host.CreateDefaultBuilder(args)
            .ConfigureWebHostDefaults(webBuilder =>
            {
                webBuilder.UseStartup<Startup>();
            });
}

}`

Dup of https://github.com/aspnet/AspNetCore/issues/9225.

Closing as dupe


Suggestion:  make % change bigger. To me this is the most important reference but is hard to read.

Thanks @shayne for this plugin, is nice to be able to track key stocks without logging into a service in the morning.
Some points I think could improve this is to make key info stand out more:

Ticker is nice and clear but this is static info so perhaps dominates the key display a little too much?
Price is good, but of equal or perhaps more importance when looking at a panel of stocks is daily change % (see point 3)
Daily change is the most relevant info here but is too small, I have to look closely to see what it is.

Personally I think % change is the only really useful change value on a small ticker display.  For example a 10p/cents price change can mean something completely different for two different companies, for a small cap stock it may mean a 30% drop/gain, but for a large cap it could only be a 0.4% drop/gain.  Whereas % change is equivalent across all stocks.
Ok if actual price change accompanies a % change, but % change alone is probably all that is needed on a ticker panel/button.
If I setup a panel of stocks and one day they're all down, but, say only one of them is down by 20% would be nice if that was clear to see.

Thanks for the feedback! Next time I spend time on this plugin I'll take a look at implementing some/all of these changes.

@shayne any updates?... Some requested features don't take much time, but they greatly improve usability.

I apologize, but I don't have free time to work on this right now. However, I would happily accept pull requests.


add a route to serve up the single page application

We rewrote the backend in go.
We need a way to serve up the react frontend.

Do I need to install docker-compose for running the project?

yes, that would be the best way probably.
install docker
install docker-compose
if you happen to be running on windows, it may be easier if you use wsl2

Well, you don't have to run in docker.
You would have to set up some dependencies.

install go (latest version should work)
get an instance of postgres running
make a db
seed the DB with hackpoints.sql

and npm for the frontend build (I haven't looked at the frontend in a while)
Let me know if you hit any snags that I might be able to help with


Unknown crash

Unable to reproduce myself, doesn't seem to happen under normal usage circumstances, but apparently after stress testing the mod a fair bit and attempting to watch a replay the user will crash with no log describing what went wrong

High chance this was fixed somewhere with all the changes.


[Improvement]: Code action for Auto generating record fields

Description
Currently, there is a suggestion for auto-filling the required fields of a record as shown below

but when we hover over the error there is no code action I feel it should be a code action rather than a suggestion maybe we can show that in suggestions as well as code actions?

Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Editor
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

This has been fixed with https://github.com/ballerina-platform/ballerina-lang/pull/38003


Scan for Characteristics returns characteristics that don't exist.

The following is a log dump from my application.

Got a V message: Connecting to MyDevice...
Got a D message: centralManager.connect(peripheral, options: nil)
Got a D message: [Callback] Central Manager did connect peripheral
Got a I message: Connected to  MyDevice
Got a V message: Discovering services...
Got a D message: peripheral.discoverServices(nil)
Got a I message: Services discovered
Got a V message: Starting Secure DFU...
Got a I message: Connected to  MyDevice
Got a I message: Services discovered
Got a V message: Secure DFU Service found
Got a V message: Discovering characteristics in DFU Service...
Got a D message: peripheral.discoverCharacteristics(nil, for: FE59)
Got a I message: DFU characteristics discovered
Got a I message: DFU characteristic <CBCharacteristic: 0x282fc9740, UUID = 8EC90003-F315-4F60-9FB8-838830DAEA50, properties = 0x28, value = (null), notifying = NO> 8EC90003-F315-4F60-9FB8-838830DAEA50
DFU Changed to state Starting
Got a V message: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50...
Got a D message: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)
Got a V message: Indications enabled for 8EC90003-F315-4F60-9FB8-838830DAEA50
Got a A message: Buttonless DFU indications enabled
Got a W message: Application with buttonless update found
DFU Changed to state Enabling DFU Mode
Got a V message: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...
Got a D message: peripheral.writeValue(0x01, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
Got a I message: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50
Got a I message: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200101
Got a A message: Response (Op Code = 1, Status = 1) received
Got a D message: [Callback] Central Manager did disconnect peripheral
Got a I message: Disconnected by the remote device
Got a V message: Scanning for the DFU Bootloader...
Got a I message: DFU Bootloader found with name MyBootloader
Got a V message: Connecting to MyDevice...
Got a D message: centralManager.connect(peripheral, options: nil)
Got a D message: [Callback] Central Manager did connect peripheral
Got a I message: Connected to MyDevice
Got a V message: Discovering services...
Got a D message: peripheral.discoverServices([FE59])
Got a I message: Services discovered
Got a V message: Secure DFU Service found
Got a V message: Discovering characteristics in DFU Service...
Got a D message: peripheral.discoverCharacteristics(nil, for: FE59)
Got a I message: DFU characteristics discovered
Got a I message: DFU characteristic <CBCharacteristic: 0x282fc7000, UUID = 8EC90003-F315-4F60-9FB8-838830DAEA50, properties = 0x28, value = <200101>, notifying = NO> 8EC90003-F315-4F60-9FB8-838830DAEA50
DFU Changed to state Starting
Got a V message: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50...
Got a D message: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)
Got a E message: Enabling indications failed
Got a E message: Error 1: The handle is invalid.
Got a V message: Disconnecting...
Got a D message: centralManager.cancelPeripheralConnection(peripheral)
Got a D message: [Callback] Central Manager did disconnect peripheral
Got a I message: Disconnected
DFU Error did occur: Enabling indications failed

When I use the nRF Connect iOS application to connect to the Bootloader, I see the Secure DFU Packet (8EC90002) and Secure DFU Control Point (8EC90001) characteristics, but as can be seen in the bolded log line, my own application only discovers the 8EC90003 char. Since that characteristic doesn't exist, the DFU fails.
I know that iOS does some significant caching of Bluetooth, so I suspect this might be the issue. Couple things to note:

Our Bootloader keeps the same MACAddress as when it is in normal operation, unlike the reference Nordic bootloader that increments the MAC by 1.
My application refers to the device by its old name ("MyDevice") even after it has switched to Bootloader, and is advertising with a different name ("MyBootloader")

Have you seen this issue before? Is there a flag I can set that will override this caching and/or set the DFU library to look for the correct characteristics explicitly?

As you're using the Buttonless service 0x0003

Got a I message: DFU characteristic <CBCharacteristic: 0x282fc9740, UUID = 8EC90003-F315-4F60-9FB8-838830DAEA50, properties = 0x28, value = (null), notifying = NO> 8EC90003-F315-4F60-9FB8-838830DAEA50

I assume your device does not use bonding. In that case, for the iOS not to cache your services you should make sure you have the Service Changed characteristic enabled (present) in the Generic Attribute service. Presence of this characteristic for devices without trusted relationship means that services should not be cashed, and as far as i know, on contrary to Android, iOS honors that correctly. Make sure you have this characteristic. You may use nRF Connect on Android (iOS hides this service so you'll not see it in nRF Connect on iOS).
The name in CBPeripheral is also cached and replaced with the name from Device Name characteristic after connection. Is doesn't refresh it, even is the SC char is there, as far as i know. It's better to get the device name from the adv packet during scanning.

If you enable SC on the firmware (in both app and bootloader!), dfu should work. In some Nordic SDKs SC wasn't enabled by default.
Also, if you flash different firmwares into your DK, and one of them didn't have SC enabled and you connected it to iOS device, it will cache those services so even if another fw with have SC enabled, iOS won't know, as it's will use cached ones.
In your case, i think, the app doesn't have SC enabled.

Hi, did you manage to solve your issue?

Hi, this did solve the problem thank you.


[FEATURE] User-customizable date formats for elfeed-search-format-date etc

elfeed-search-format-date is currently defined as follows:
(defun elfeed-search-format-date (date)
  "Format a date for printing in elfeed-search-mode."
  (let ((string (format-time-string "%Y-%m-%d" (seconds-to-time date))))
    (format "%-10.10s" string)))

What are your thoughts on making the string "%Y-%m-%d" a customizable variable, possibly named elfeed-date-format, that defaults in value to "%Y-%m-%d" but opens up the option to the user to customize it? With additional checks for valid formatting, of course.
Similar patches could be made for formatting the output of elfeed-search-insert-header etc.

Sorry, I forgot to address this issue for a few days.
 There's just
slightly more to it. The result of the output of format should have a
uniform width. Currently that's 10, as enforced by the second format
string. So it should be both a date format string and a width. I don't
care about validating the string itself (if a user breaks it with a bad
format string, they get to keep both pieces).

Just added elfeed-search-date-format.


fix(git): enfore lowercase commit.type

At the moment commit messages like "Fix(git) something" are grouped with 'Other Changes' instead of 'Bug Fixes'.
This PR makes sure caps in the commit.type are all grouped under their lowercase type.

Good fix @fvdm! Thanks for the contribution! I'll let you know whenever we publish a new version on npm.

v1.0.2 has been published! Thanks again!

Awesome! That was quick 👍


Do not crash when object's contents is an empty list

Description
It is related to this known issue.
The issue, however, is that this case clause, which was introduced to be able to debug the issue, is never executed because riak_object:is_head/1 called in the case statement crashes due to the object's content being an empty list.
[error] <0.10284.7>@riak_core_vnode:vnode_command:376 riak_kv_vnode command failed {function_clause,[{lists,nth,[1,[]],[{file,"lists.erl"},{line,170}]},{riak_object,is_head,1,[{file,"/root/riak/rel/pkg/out/BUILD/riak-3.0.10-OTP22.3/_build/default/lib/riak_kv/src/riak_object.erl"},{line,352}]},{riak_kv_vnode,enforce_allow_mult,3,[{file,"/root/riak/rel/pkg/out/BUILD/riak-3.0.10-OTP22.3/_build/default/lib/riak_kv/src/riak_kv_vnode.erl"},{line,3123}]},{riak_kv_vnode,prepare_put_existing_object,6,[{file,"/root/riak/rel/pkg/out/BUILD/riak-3.0.10-OTP22.3/_build/default/lib/riak_kv/src/riak_kv_vnode.erl"},{line,2875}]},{riak_kv_vnode,do_put,7,[{file,"/root/riak/rel/pkg/out/BUILD/riak-3.0.10-OTP22.3/_build/default/lib/riak_kv/src/riak_kv_vnode.erl"},{line,2716}]},{riak_kv_vnode,handle_request,4,[{file,"/root/riak/rel/pkg/out/BUILD/riak-3.0.10-OTP22.3/_build/default/lib/riak_kv/src/riak_kv_vnode.erl"},{line,1489}]},{riak_core_vnode,vnode_command,3,[{file,"/root/riak/rel/pkg/out/BUILD/riak-3.0.10-OTP22.3/_build/default/lib/riak_core/src/riak_core_vnode.erl"},{line,373}]},{gen_fsm,handle_msg,8,[{file,"gen_fsm.erl"},{line,497}]}]}

If we manage to get this deployed to our production cluster, we may be able to share some logs that may help with the #1707 investigation.

Good spot, and thank-you for the contribution.  I'm hoping to make a 3.0.12 release (including this fix) available in the next ten days.


Update WSL relnote for slow ring users

Adding info on the min build required on Windows Insider Preview Slow ring to run WSL 2 on Docker Desktop <IP_ADDRESS> and <IP_ADDRESS> Edge release.

Deploy preview for docsdocker ready!
Built with commit 231eb450b6643ab4ef618cb82632c9a9f6e1856e
https://deploy-preview-9941--docsdocker.netlify.com

LGTM


SSRF support

is ssrf supported?

@blackgold ModSecurity is just the engine. It allows you to inspect the request more easily via the SecRules. You may be looking for rules. You may want to look at the CRS project.


Can't install the package osrm in jupyter notebook

Does anyone know how to install the package osrm in jupyter notebook? Do I need to install other packages first to then be able to install osrm?
Thanks in advance!

@Mies2020 You should be able to simply follow the installations steps: https://github.com/ustroetz/python-osrm#installation, however that might depends on your notebook environment (conda?).

@Mies2020 You should be able to simply follow the installations steps: https://github.com/ustroetz/python-osrm#installation, however that might depends on your notebook environment (conda?).


Issue1754

Should have gone to stable. now it goes.

after Unarchiving the bold formatted PH1 gets cleared the styles

this needs a refactoring for next major too.
https://github.com/Open-MSS/MSS/blob/develop/mslib/mscolab/models.py#L136
This has to be done there because this will require a database migration too

I think that bug was there before and the other pull request #1761 might fix it. At least it solves some related issues...
As you can see from the changes, this PR does not do functional changes and I'd like to keep it this way.

this needs a refactoring for next major too. https://github.com/Open-MSS/MSS/blob/develop/mslib/mscolab/models.py#L136
This has to be done there because this will require a database migration too

internally, there is a lot of renaming needed, which I mostly defer here to keep the amount of changes to stable minimal.
I will work on fixes in develop as soon as this has been merged and brought into develop.

ok not readed all, can remove my addition, what do you think?

I think that bug was there before and the other pull request #1761 might fix it. At least it solves some related issues...
As you can see from the changes, this PR does not do functional changes and I'd like to keep it this way.

verfied that was before too

that seed function would be needed to add tests in stable which I also prefer for bug fixes


Make a release with zstd support

No big rush, especially if you're still on vacation :)

Done, see 3.1.0

Thanks!


Use SPM UserToolchain. …

Use SPM UserToolchain
Use proper toolchain to compile and manifest loading.

It looks like we don't need to copy UserToolchain any longer.

@swift-ci please test


Self singed SSL problem after upgrade

Question
Hello
Using docker compose with a self signed cert.
After I upgrade from V 2.0.3 to any newer version I can't connect to Dashy in Browser.
On version 2.0.3 logs I get  HTTPS server successfully started (port: 443 of container) , I don't see that message after upgrading.
Volumes are all OK I checked the location of certs inside container at /etc/ssl/certs/ they're there.
If the certs weren't there I think there would be error SSL Not Enabled: Public key not present1 , I don't get that error so I guess it read the certs.
I checked for ports running inside container and I don't see port 443 anymore.
tcp        0      0 <IP_ADDRESS>:37203        <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 :::80                   :::*                    LISTEN      63/node

What could I look into.

bad bot

Hiya @GogoFC
Sorry about that, it's helpful to know that it was 2.0.4 onwards that it stopped working, as that must have been caused by #528
All the SSL stuff happens in /services/ssl-server.js, which wasn't modified, so the only thing I can think could of caused it would be this line 🤔

Hi, sorry I encounter the same issue. What should be a work around? Thanks

2.1.0 fixed it. Thanks.


[Device Support Request] tuya curtain motor _TZE200_xu4a5rhj

Problem description
Related issue #1945
ts0601_cover.py needs a new quirk added to support this device properly.
Currently, it pairs with no entities attached.
When using the below quirk i get error Referenced entities cover.tze200_xu4a5rhj_ts0601_cover are missing or not currently available
It seems the device is handled in this https://github.com/Koenkk/zigbee2mqtt/issues/17506.
Solution description
Describe the solution you'd like
Be able to pair the device and control my curtains through HA.
Device signature
Device signature
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0202",
"input_clusters": [
"0x0000",
"0x0004",
"0x0005",
"0x0102",
"0xef00"
],
"output_clusters": [
"0x0019"
]
},
"242": {
"profile_id": "0xa1e0",
"device_type": "0x0061",
"input_clusters": [],
"output_clusters": [
"0x0021"
]
}
},
"manufacturer": "_TZE200_xu4a5rhj",
"model": "TS0601",
"class": "ts0601_cover_2.TuyaCover"
}

Diagnostic information
Diagnostic information
home-assistant_zha_2023-11-21T15-03-25.249Z.log

Logs
Logs
home-assistant_zha_2023-11-21T15-03-25.249Z.log

Custom quirk
Custom quirk
"""Tuya based cover and blinds."""
from zigpy.profiles import zha
from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Groups, Ota, Scenes, Time

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    MODELS_INFO,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)
from zhaquirks.tuya import (
    TuyaManufacturerWindowCover,
    TuyaManufCluster,
    TuyaWindowCover,
    TuyaWindowCoverControl,
)

class TuyaCover(TuyaWindowCover):
    """Tuya blind cover motor."""

    signature = {
        MODELS_INFO: [
            ("_TZE200_xu4a5rhj", "TS0601"),
        ],
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.SMART_PLUG,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaManufCluster.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }
    replacement = {
        ENDPOINTS: {
            1: {
                DEVICE_TYPE: zha.DeviceType.WINDOW_COVERING_DEVICE,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaManufacturerWindowCover,
                    TuyaWindowCoverControl,
                ],
                OUTPUT_CLUSTERS: [Ota.cluster_id],
            },
            242: {
                PROFILE_ID: 41440,
                DEVICE_TYPE: 97,
                INPUT_CLUSTERS: [],
                OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
            },
        },
    }

Same model and same issue.
I asked for support few months ago, but still unsolved.


Exports should only be in a single location

Currently Terminal is exported both as ratatui::Terminal and ratatui::terminal::Terminal. (There might be more cases like this, haven't checked yet)

would be breaking, but the public export should only exist in a single location. Either it's something global or it needs structuring in modules. Allowing for both seems strange. General thought here: reduce the stuff that is publicly accessible. One of the two places should be gone.

Originally posted by @EdJoPaTo in https://github.com/ratatui-org/ratatui/pull/1180#discussion_r1647468130

What would be the best action for this? I realized we are already hiding the exposed struct via #[doc(inline)] which makes it not show up in crate docs. We can probably do the same for other duplicate entries (if any) but I'm not sure if it is a big deal.

If it's hidden, then it can also be removed. There should be exactly one export, not multiple ones.

That would be a breaking change. There are projects which use ratatui::Terminal and ratatui::terminal::Terminal. Unfortunately it is not consistent.
I propose we make the following types only importable from ratatui directly instead of ratatui::terminal and document it as a breaking change.
pub use terminal::{CompletedFrame, Frame, Terminal, TerminalOptions, Viewport};

What do you think?

I'm fine with both on their own, as long as it's a consistent one and not duplicated in two locations. There are arguments for both, so I would be fine with both approaches.

It's a pretty common pattern for libraries to expose their main types in several locations. In particular you might see some_crate::error::Error as a good example of this. One thing this does give you is an ability to namespace your type refs easily by importing the module name (as e.g. terminal::Frame, terminal::Terminal), but perhaps this is fine as ratatui::Frame ratatui::Terminal?

It's a pretty common pattern for libraries to expose their main types in several locations.

Then I don't like their code quality :innocent:
Having exactly one way of doing something improves readability and is more clear. There is no need to question which way to choose from or where the differences might be. And when reading code there is no need to look in different positions for the same thing because people might have used different ways for the same thing.
And in case of functions it prevents fixing bugs in one place but not the other. (like https://github.com/ratatui-org/ratatui/pull/1249#discussion_r1698981102, partially addressed in #1259). But this issue is about the module exports, hopefully soon fixed by #1260 :sparkles:

ratatui::widgets::block::Block and ratatui::widgets::Block
ratatui::widgets::block::title::Title and ratatui::widgets::block::Title

Yeah, that one is on stalled because I haven't yet gotten back to reading it again.

Yeah, that one is on stalled because I haven't yet gotten back to reading it again.

Title but not Block itself?


On change events not firing

I have defined a date picker attached to an input box:
    <input cadpDatePicker [(ngModel)]="startDate" [minDate]="startDate"             (change)="onDateChange($event)" (dateClicked)="onDateChange($event)"             (command)="onDateChange($event)"/>
As seen, I have attempted to catch the following events:
(change)
(command)
(dateClicked)
In short, none of the event handlers are ever called - ever. I need to know when the date is changed either by entering a date in the input or selecting a date from the date picker.
What am I missing?

Hello. Thank you for your feedback. The cadpDatePicker directive does not expose @Output properties with names change, dateClicked or command. You may see @Output properties with those names in the source code, but they are defined on components that are used internally and are not exposed by the module.
If you want to get a method called when the date value changed, you use a setter to do the call.
For example
private _startDate: Date;
public set startDate(val: Date) {
  this._startDate = val;
  onDateChange(val);
}

I am also open to suggestions if you think some events need to be added, I can start working on adding them in a future version.

Thank you so much for your reply. Your code example works for me.
As far as adding events in future versions, I think that doing so would more closely match what is common in Angular. At this point, however, I'm happy with what I have working!


Q: How would you display an element other the one in fullscreen ?

Hi !
How would you display an element other the one in fullscreen ?
I tried various z-index, position absolute etc without success.
Thanks !

This would be better asked on Stack Overflow. Screenfull is just a convenience wrapper for the native Fullscreen API.

@X-Raym did you solve your problem?

@siarheipashkevich I dont remember. It was 4 years ago 👀


Support languages where the digit separator is not a comma

Does it fits?
https://thewebdev.info/2020/08/03/vue-i18n - formatting-text-and-numbers/

Hmm.. it used http://numeraljs.com/ and it should have the solution.

I find browser native api: https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat

Implemented

Thank you! It's a flawless solution
最高、ありがとうございました
メッリクリスマス :christmas_tree:


Restore Ordering for DependsOnGroups by using Priority on Configuration Methods alternative 1

Restore Ordering for DependsOnGroups by using Priority on Configuration Methods
Fixes # .
Did you remember to?

[ ] Add test case(s)
[ ] Update CHANGES.txt

We encourage pull requests that:

Add new features to TestNG (or)
Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

I close this PR since it was just a Proof of Concept, will continue in #2666


Allowing to pass transaction object between services.

Fix for - https://github.com/marklogic/node-client-api/issues/499

Thanks Erik.!
Merging the pull request after adding the suggestions.


Client side validation attributes for nested properties - AspNetCore

I am trying to use a nested model and still retain client side validation. I can only seem to get it to work if the Validator is not nested. I need it to be nested as I have conditional logic (.When()) between the models.
Here is a sample project.

Thanks, I’ll try and look at it this week but might not be until Friday or Saturday.

I had a look at the sample project - you don't have all the validators wired up with the container which is why you're not seeing the clientside validation.
MVC will only generate clientside validation attributes for models that it can locate a validator for, so you need to wire up all your validators in the app startup routine, not just the validator for the TestViewModel.
Once I added the other 2 registrations the clientside attributes were all generated correctly.
services.AddTransient<IValidator<TestViewModel>, TestViewModelValidator>();
services.AddTransient<IValidator<TestPersonViewModel>, TestPersonViewModelValidator>();
services.AddTransient<IValidator<TestAddressViewModel>, TestAddressViewModelValidator>();


Storage: add move method to File object

Just a simple move function for a File object. It uses the already available copy and delete.
I also added some unit tests.

I like the idea. And code looks great! Can you squash your commits to get rid of those messy merge commits :smiley: thanks!

I like these helpers, too. Thanks!

I fixed the mess I did with merges and made other corrections. Tests should now be better but please double-check them:)

Awesome, thank you!
Look how happy you made gcloud:

(Those are tears of joy)


Auto annotation using own data set

Hello, I am a little confused with serverless tutorial, not only me in this situation https://stackoverflow.com/questions/69720376/how-to-use-yolo-v4-tiny-trained-model-for-auto-annotation-in-cvat. Can you create a video instruction of steps, or here someone that have successful upload own dataset and used auto annotation. Can you share with your experience

Hello, I am a little confused with serverless tutorial, not only me in this situation https://stackoverflow.com/questions/69720376/how-to-use-yolo-v4-tiny-trained-model-for-auto-annotation-in-cvat. Can you create a video instruction of steps, or here someone that have successful upload own dataset and used auto annotation. Can you share with your experience

I deployed a few models and used auto annotation with them. What was confusing about the instructions? I can try to help you...

Hello  @AmitN1212  thank you for your kind help. I started with adding as said in tutorial with retinanet model and I think I added it, but What I have to do next to access my added model?
NAMESPACE |                      NAME                      | PROJECT | STATE | NODE PORT | REPLICAS
nuclio    | pth-foolwood-siammask                          | cvat    | ready |     49153 | 1/1
nuclio    | pth.facebookresearch.detectron2.retinanet_r101 | cvat    | ready |     49154 | 1/1

Okay I opened nuclio dashboard at localhost:8070 and now how can I use my model to auto annotation. What the next step
@AmitN1212

I come until here. What should do next
Thank you

Okay I opened nuclio dashboard at localhost:8070 and now how can I use my model to auto annotation. What the next step @AmitN1212

It seems that you have deployed the models successfully.
check this out. Don't hesitate to ask me again if you don't succeed to use it.

@AmitN1212 Thank you so much. Now I am not installed cvat, but using it by cvat.org. And after deploying the model I count not find model in the list of models. Maybe I am wrong, after deploying the model I have to find it in the list of models or some another place. Thank you for your time

@AmitN1212 Thank you so much. Now I am not installed cvat, but using it by cvat.org. And after deploying the model I count not find model in the list of models. Maybe I am wrong, after deploying the model I have to find it in the list of models or some another place. Thank you for your time

When you use CVAT.org, you connect to a remote host, that uses its own pre-installed models. I think you should setup cvat on your own, in your local host.

@AmitN1212  Thank you so much

You are welcome. You can ask me for help if you face some problems during the installation process.
Have a great day!

@AmitN1212 Thank you so much

You are welcome. You can ask me for help if you face some problems during the installation process.
Have a great day!

Thank you so much @AmitN1212 In this case I will not close this issue yet. Thank you I will back again, because I am very new in the using cvat. Thank you so much

Hello @AmitN1212. I started work with my own model including to cvat. Before I successfully included retinanet using tutorial. And now I have a problem, if I want to add my own model what should I write on above part of function.yml file. Thank you
directives:
preCopy:
- kind: ENV
value: DEBIAN_FRONTEND=noninteractive
- kind: RUN
value: apt-get update && apt-get -y install curl git python3 python3-pip
- kind: WORKDIR
value: /opt/nuclio
- kind: RUN
value: pip3 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
- kind: RUN
value: pip3 install<EMAIL_ADDRESS>- kind: RUN
value: curl -O https://dl.fbaipublicfiles.com/detectron2/COCO-Detection/retinanet_R_101_FPN_3x/190397697/model_final_971ab9.pkl
- kind: RUN
value: ln -s /usr/bin/pip3 /usr/local/bin/pip

what should I write on below part of function.yml file
In the directives, you should install the dependencies that your code (model) needs to run successfully.

For example,  one of retinanet's dependencies is pytorch, so here:

value: pip3 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html

Pytorch is being installed.
Just try to replace the commands here to commands that will install the dependencies of your model.

Thank you so much  @AmitN1212. Now I want to include yolact model, it is model for instance segmentation. For making main.py I have to change rectangle to polygon and try to get point list? Can you give me some advice for segmentation with main.py I have to take as example. Thank you for your time
for box, score, label in zip(pred_boxes, scores, pred_classes):
label = COCO_CATEGORIES[int(label)]["name"]
if score >= threshold:
results.append({
"confidence": str(float(score)),
"label": label,
"points": box.tolist(),
"type": "rectangle",
})

Sorry, I deployed my own models only for object detection with rectangles, so I don't know exactly how to do what you are asking for. However, I assume that you can do whatever you want as far as you send the data back to CVAT in the same
required format. First of all, I would suggest you to deploy the code with returning an empty list, just for making sure that all the dependencies have been installed well.

Okay Thank you so much  @AmitN1212. Thank you for your kind help

Hello, I am a little confused with serverless tutorial, not only me in this situation https://stackoverflow.com/questions/69720376/how-to-use-yolo-v4-tiny-trained-model-for-auto-annotation-in-cvat. Can you create a video instruction of steps, or here someone that have successful upload own dataset and used auto annotation. Can you share with your experience

I deployed a few models and used auto annotation with them. What was confusing about the instructions? I can try to help you...

can u share how to do it ? i dont really understand with the tutorial. I want use darknet to auto-annotation in CVAT.


Which version of llvm is required?

Hello, what is the required llvm version? Because during the installation process, it was found that the llvm version required by IR2Vec was 10.0.1, but I saw that 10.0.0 was written in our makefile. Now IR2Vec cannot be installed successfully when executing shell script. Is there any way to do it?

Hello, what is the required llvm version? Because during the installation process, it was found that the llvm version required by IR2Vec was 10.0.1, but I saw that 10.0.0 was written in our makefile. Now IR2Vec cannot be installed successfully when executing shell script. Is there any way to do it?

Hello Wuyoo,
I haven't utilized YaCoS since 2023. From what I recall, you simply need to update the CMake IR2Vec requirements to version 10.0.0. I apologize for the delay in my response.


AttributeError: 'NoneType' object has no attribute 'return_type' on connection fields

I have a couple top-level connection fields that, when queried, get this error:
Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/beta-spray-9TtSrW0h-py3.10/lib/python3.10/site-packages/graphql/execution/execute.py", line 521, in execute_field
    result = resolve_fn(source, info, **args)
  File "/root/.cache/pypoetry/virtualenvs/beta-spray-9TtSrW0h-py3.10/lib/python3.10/site-packages/strawberry_django_plus/optimizer.py", line 605, in resolve
    ret = _next(root, info, *args, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/beta-spray-9TtSrW0h-py3.10/lib/python3.10/site-packages/strawberry/schema/schema_converter.py", line 421, in _get_basic_result
    return field.get_result(_source, info=None, args=[], kwargs={})
  File "/root/.cache/pypoetry/virtualenvs/beta-spray-9TtSrW0h-py3.10/lib/python3.10/site-packages/strawberry_django_plus/relay.py", line 984, in get_result
    type_def = info.return_type._type_definition  # type:ignore
AttributeError: 'NoneType' object has no attribute 'return_type'

This is on version 1.28.3. After doing some digging, I believe it relates to this commit on strawberry. I added some debug logging, and the is_basic_field property added in that commit returns true for the top-level connection fields, as they have no base_resolver defined. Interestingly, the base_resolver is defined for a nested connection field, so that one works correctly. That's where I gave up on debugging -- I'm not sure what the base_resolver is or where it comes from.

Hey @LucasPickering ,
Are you using the latest version of this lib? Because it already has a fix for that change from strawberry: https://github.com/blb-ventures/strawberry-django-plus/commit/fd8ca293560d6c7f34b7236d41ac2ced065b6a85

Hey @LucasPickering ,
Are you using the latest version of this lib? Because it already has a fix for that change from strawberry: fd8ca29

Yep, I just double checked that I'm on 1.28.3. I also checked the source code for the library I have installed and confirmed that the changes from that commit are present locally for me. I noticed that ConnectionField extends RelayField, but that commit added is_basic_field just to NodeField. Is that a bug? If so I'm happy to make a PR to move it to RelayField so it will cover connections too.

@bellini666 I just made+tested the change I mentioned, and it fixed my issue, so I'm putting up a PR for it.
https://github.com/blb-ventures/strawberry-django-plus/pull/135

Thank you! Going to merge and release a new version :)


a document problem in CKB please fix it

https://docs.nervos.org/docs/labs/sudtbycapsule#install-capsule
↓↓
Note: The current user must have permission to manage Docker instances. (How to manage Docker as a non-root user)[https://docs.docker.com/engine/install/linux-postinstall/].
Now you can proceed to install capsule, It is recommended to download the binary ←←
the download linked to the old version 0.1.3 , and it causes me to wrong result .

Thanks for you feedback. But it is not the right place to report issue (PR). It's moved to: https://github.com/nervosnetwork/capsule/issues/51 closed.


ROOT6

I think we want to eventually start heading towards root 6 as they have made, or claim to be making, some very significant improvements to the interpreter they use (cling rather than CINT). One of the largest improvements that they claim is in IO speed as well as the ability to use templates. They have also started changing class hierarchies (TF1 is no longer a TFormula, and TH2 is not going to inherit from TH1 etc...), so this will mean we might have to stay a little on top of things as they change. Therefore, I would like to start a thread to document progress towards getting ROOT 6 to work whenever people have the time to make it happen.
I have had a couple of days of downtime, so I started doing this on my apple machine. I have also started a branch called root6. So far, I have been able to get the code to compile and run in interpretive mode. I did this by fixing some of the lines in our code that use ofstream and ifstreams and changing them to std::ofstreams and std::ifstreams. This is something I think we should do anyway, and I think this reenforces the fact that we have to keep away from using namespace std as much as possible.
I then went through all of the make files and edited the line where rootcint was called to have rootcling called instead. This generates .pcm files as well as dictionaries. However, for the linker to see the .pcm files during linking, they must be copied into the directory where the shared object libraries are being linked from. I have done this with a couple of the .pcm files to test.
I have two remaining issues, both of which seem solvable. The first issue is that the custom classes do not seem to be "loaded" automatically into Cling. One can use the custom classes, but you cannot tab complete them until you have used them once. This is also strange because as soon as you finish typing something like TSceptar it becomes blue and bold, so Cling clearly knows about it. There is porbably just a missing setting.
Cint used to interpret in a script-like fashion. It would read the code line-by-line, while Cling compiles on the fly. I believe this has lead to the final issue which is that headers are being included multiple times in the interpreter and certain classes cause the interpreter to die. This is probably easy to overcome with #ifdef ROOTCLING lines everywhere, it's just going to require some time as I believe that if we upgrade to ROOT 6 we have to take every precaution necessary to ensure backwards compatibility with ROOT 5.
All of this should get a little easier to do once ROOT 6 documentation exists somewhere, and I am not required to look at source code to find out what they are doing....

I've installed root v6.04.00 on a machine here in Guelph, and managed to get the code to compile with just a few modifications that should be compatible with older root version.
For one the newer versions of root6 have a rootcint (direct copy of rootcling), so we don't need to do anything on that front. I had to fix some of the errors you've mentioned with missing std::, but that should be done anyway. The main change is that I had to comment out two of the TGRSIFit constructors that take void* as arguments. I also put a line in the main makefile that looks at the end if it finds any .pcm files and copies them to libraries.
The issues start when I try to use the compiled grsisort. For one, running a program over analysis-root-files, generates tons of errors along the line that TClass::IgnoreObjectStreamer must be called before the creation of StreamerInfo. Also, when I try to open a root-file created with the new grsisort (the program runs despite the aforementioned errors), I get errors when I try to draw anything (or just create a new GCanvas) from GRootBrowser.h that it redefines TBrowserPlugin. So I've renamed everything to GBrowserPlugin (the filenames started with G and not T anyways), and added it to the RootLinkDef file. After this I am able to use grsisort to open histogram-files and plot the histograms. I haven't tested everything, but at least setting markers and fitting still works as usual. I do however now get a "double free or corruption" when I exit grsisort.
I've also re-sorted a run by now, that gives the same StreamerInfo errors when processing the FragmentTree. The resulting file looks okay to me, but I haven't really done a full comparison.

Commenting out all the IgnoreObjectStreamer statements in our classes removes the errors. The file size of the run I've tested this on (500 MB midas file) increased from 106 MB to 114 MB.
Also, I've noticed that sometimes grsisort crashes when starting it somewhere inside TPluginManager::AddHandler.
I'll try and see if I can figure out the correct way to achieve what IgnoreObjectStreamer does in root 6. Apart from commenting out those statements all the other changes I've made should be compatible with root 5, so maybe we can have code that runs with both root version.

What did you do about the tf1 in the constructor of the fits? We can get around this, but the fits are important. The t object streamer problem might be a dictionary issue. I think they have somewhat changed how they are handling these things. For example, try running interpretively, it was causing me headaches because of the way cling works.

On Jul 15, 2015, at 9:29 AM, Vinzenz Bildstein<EMAIL_ADDRESS>wrote:
Commenting out all the IgnoreObjectStreamer statements in our classes removes the errors. The file size of the run I've tested this on (500 MB midas file) increased from 106 MB to 114 MB.
Also, I've noticed that sometimes grsisort crashes when starting it somewhere inside TPluginManager::AddHandler.
I'll try and see if I can figure out the correct way to achieve what IgnoreObjectStreamer does in root 6. Apart from commenting out those statements all the other changes I've made should be compatible with root 5, so maybe we can have code that runs with both root version.
—
Reply to this email directly or view it on GitHub.

There were six different constructors in TGRSIFit (plus one commented out, using a function pointer). Of these I had to comment out two, using void*, to make things work.
This still leaves the standard constructor (no arguments), the constructor with a formula as string, one with just a name, and one using a ParamFunctor. I've tried using the interactive fit in a histogram and this still worked. No idea whether the two with void* are actually needed.
I just tried make util, and it worked on most utilities, the ones where it failed were missing std:: in some places. After fixing that, all utilities compile.

Awesome, the constructors were effectively all of the TF1 constructors. The real issue here is that ROOT changed their TF1 inheritance scheme. Another thing they have done is changed the TH1 ancestry as well but I’m unsure where/how/if that will actually affect us or if they wrote it in a backwards compatible way.

On Jul 15, 2015, at 11:15 AM, Vinzenz Bildstein<EMAIL_ADDRESS>wrote:
There were six different constructors in TGRSIFit (plus one commented out, using a function pointer). Of these I had to comment out two, using void, to make things work.
This still leaves the standard constructor (no arguments), the constructor with a formula as string, one with just a name, and one using a ParamFunctor. I've tried using the interactive fit in a histogram and this still worked. No idea whether the two with void are actually needed.
I just tried make util, and it worked on most utilities, the ones where it failed were missing std:: in some places. After fixing that, all utilities compile.
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/issues/300#issuecomment-121700784.

I've committed the necessary changes and created a pull request. Have a look at it, it shouldn't change anything when compiled with root 5 but also work when compiled with root 6.
It's still missing an alternative way to IgnoreTObjectStreamer when using root 6.

Done/duplicate now.


Error making subscription requests: ServerException(originalException: Connection closed while receiving data, parsedResponse: null)

I don't see any docs on creating a subscription request, but I followed the same pattern as query/mutations (which are both working, so it's not a server issue).
Here's my code:
link = HttpLink('http://<IP_ADDRESS>:4000/graphql');
client = Client(link: link);

final msgCreatedReq = GMessageCreatedReq(
        (b) => b..vars.chatId = "8a71cedc-03a0-410d-99d6-4ff6b82dc05b");
client.request(msgCreatedReq).listen((response) {
      print(response.linkException);
      print(response.graphqlErrors);
      print(response.data);
});

I can see in my server that it's sending the subscription data, but I see nothing in the console. About a minute or two later I see this:
I/flutter (16792): ServerException(originalException: Connection closed while receiving data, parsedResponse: null)
I/flutter (16792): null
I/flutter (16792): null

What am I doing wrong here?

To expand on my comment above, you need to use a Websocket Link for subscriptions. The standard HttpLink won't work.


2.3.3目前无法访问阿里云盘

问题描述
始终无法连接阿里云盘，更换最新token也不行。
重现步骤

更换token也不行。扫二维码获取最新token，也连接不了

版本
2.3.3
运行平台
OpenWRT
日志
2023-11-13T16:14:59.417393Z ERROR aliyundrive_webdav::vfs: list_files_and_cache failed path=/ error=Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
2023-11-13T16:15:02.328922Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 385.517418ms before the next attempt
2023-11-13T16:15:03.457465Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 308.979847ms before the next attempt
2023-11-13T16:15:07.483439Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 121.438721ms before the next attempt
2023-11-13T16:15:07.767860Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 349.896804ms before the next attempt
2023-11-13T16:15:08.820096Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 653.303743ms before the next attempt
2023-11-13T16:15:11.334812Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 206.647683ms before the next attempt
2023-11-13T16:15:12.656862Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 55.536171ms before the next attempt
2023-11-13T16:15:13.172307Z ERROR aliyundrive_webdav::vfs: list_files_and_cache failed path=/ error=Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
2023-11-13T16:15:14.526462Z ERROR aliyundrive_webdav::vfs: list_files_and_cache failed path=/ error=Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
2023-11-13T16:15:16.595098Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 317.502195ms before the next attempt
2023-11-13T16:15:17.766309Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 1.060782071s before the next attempt
2023-11-13T16:15:19.599136Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 195.03869ms before the next attempt
2023-11-13T16:15:21.964664Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 633.426924ms before the next attempt
2023-11-13T16:15:24.849903Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 79.3208ms before the next attempt
2023-11-13T16:15:28.942648Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 106.403624ms before the next attempt
2023-11-13T16:15:29.983155Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 336.193129ms before the next attempt
2023-11-13T16:15:32.721465Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 84.318924ms before the next attempt
2023-11-13T16:15:34.104988Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 238.735836ms before the next attempt
2023-11-13T16:15:37.860178Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 224.527562ms before the next attempt
2023-11-13T16:15:39.398899Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 1.044398402s before the next attempt
2023-11-13T16:15:40.497530Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 142.044024ms before the next attempt
2023-11-13T16:15:43.141590Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 430.542783ms before the next attempt
2023-11-13T16:15:45.498022Z ERROR aliyundrive_webdav::vfs: list_files_and_cache failed path=/ error=Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
2023-11-13T16:15:45.692844Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 125.910827ms before the next attempt
2023-11-13T16:15:48.636168Z ERROR aliyundrive_webdav::vfs: list_files_and_cache failed path=/ error=Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
2023-11-13T16:15:50.873105Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 702.80969ms before the next attempt
2023-11-13T16:15:53.564407Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 182.826ms before the next attempt
2023-11-13T16:15:53.712291Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 119.37379ms before the next attempt
2023-11-13T16:15:56.629124Z ERROR aliyundrive_webdav::vfs: list_files_and_cache failed path=/ error=Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
2023-11-13T16:15:58.799445Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 30.149859ms before the next attempt
2023-11-13T16:15:58.887294Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 476.532788ms before the next attempt
2023-11-13T16:16:01.726374Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 146.410279ms before the next attempt
2023-11-13T16:16:03.881577Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 1.194968383s before the next attempt
2023-11-13T16:16:04.416447Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 117.196621ms before the next attempt
2023-11-13T16:16:06.926929Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 42.672708ms before the next attempt
2023-11-13T16:16:12.023655Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 376.833772ms before the next attempt
2023-11-13T16:16:14.648325Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 191.38902ms before the next attempt
2023-11-13T16:16:15.193114Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 219.586502ms before the next attempt
2023-11-13T16:16:19.892624Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 280.805758ms before the next attempt
2023-11-13T16:16:20.506943Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 278.678709ms before the next attempt
2023-11-13T16:16:25.226251Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 202.552446ms before the next attempt
2023-11-13T16:16:25.838877Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 1.062671489s before the next attempt
2023-11-13T16:16:30.482041Z ERROR aliyundrive_webdav::vfs: list_files_and_cache failed path=/ error=Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
2023-11-13T16:16:51.150310Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 94.927758ms before the next attempt
2023-11-13T16:16:56.311906Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 117.315165ms before the next attempt
2023-11-13T16:17:01.494754Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 74.210503ms before the next attempt
2023-11-13T16:17:12.770869Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 87.730829ms before the next attempt
2023-11-13T16:17:17.911290Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 349.298235ms before the next attempt
2023-11-13T16:17:23.314865Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 1.037409235s before the next attempt
2023-11-13T16:17:29.437055Z ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
Error: get access_token failed
2023-11-13T16:19:10.035277Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 279.013059ms before the next attempt
2023-11-13T16:19:15.367316Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 228.973032ms before the next attempt
2023-11-13T16:19:20.649435Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 480.215573ms before the next attempt
2023-11-13T16:19:32.240492Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 228.807819ms before the next attempt
2023-11-13T16:19:37.522452Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 374.09818ms before the next attempt
2023-11-13T16:19:42.949746Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 808.278518ms before the next attempt
2023-11-13T16:19:48.810696Z ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
Error: get access_token failed
2023-11-13T23:08:52.440118Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 103.643736ms before the next attempt
2023-11-13T23:08:57.597160Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 382.815709ms before the next attempt
2023-11-13T23:09:03.032992Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 147.553466ms before the next attempt
2023-11-13T23:09:14.284984Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 110.204395ms before the next attempt
2023-11-13T23:09:19.450012Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 351.787637ms before the next attempt
2023-11-13T23:09:24.854418Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 176.836105ms before the next attempt
2023-11-13T23:09:30.086136Z ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
Error: get access_token failed
2023-11-13T23:13:11.785289Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 298.234499ms before the next attempt
2023-11-13T23:13:17.138216Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 237.855422ms before the next attempt
2023-11-13T23:13:22.429973Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 734.418435ms before the next attempt
2023-11-13T23:13:34.293341Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 129.978716ms before the next attempt
2023-11-13T23:13:39.477041Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 339.936302ms before the next attempt
2023-11-13T23:13:44.870353Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 187.901215ms before the next attempt
2023-11-13T23:13:50.110809Z ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
Error: get access_token failed
2023-11-26T02:15:44.342943Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 295.695576ms before the next attempt
2023-11-26T02:15:49.693010Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 124.780226ms before the next attempt
2023-11-26T02:15:54.870118Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 273.44647ms before the next attempt
2023-11-26T02:16:06.250934Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 125.192304ms before the next attempt
2023-11-26T02:16:11.430941Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 277.93551ms before the next attempt
2023-11-26T02:16:16.787296Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 812.044688ms before the next attempt
2023-11-26T02:16:22.654189Z ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
Error: get access_token failed
2023-11-26T02:16:36.500935Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 28.801273ms before the next attempt
2023-11-26T02:16:41.583055Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 121.167522ms before the next attempt
2023-11-26T02:16:46.757145Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 209.625382ms before the next attempt
2023-11-26T02:16:58.074160Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 89.680987ms before the next attempt
2023-11-26T02:17:03.267645Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 44.656858ms before the next attempt
2023-11-26T02:17:08.428919Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 140.908492ms before the next attempt
2023-11-26T02:17:13.801795Z ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
Error: get access_token failed
2023-12-01T23:26:44.807616Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 95.826453ms before the next attempt
2023-12-01T23:26:49.958713Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 337.762946ms before the next attempt
2023-12-01T23:26:55.352974Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 263.729598ms before the next attempt
2023-12-01T23:27:06.729940Z  WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 225.995348ms before the next attempt
2023-12-01T23:27:12.021731Z  WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 103.224234ms before the next attempt
2023-12-01T23:27:17.179728Z  WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 734.327714ms before the next attempt
2023-12-01T23:27:22.966953Z ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: Connection reset by peer (os error 104)
Error: get access_token failed

同无法访问了
Error: get drive id failed

Caused by:
    0: Request error: error sending request for url (https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo): error trying to connect: dns error: failed to lookup address information: Try again
    1: error sending request for url (https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo): error trying to connect: dns error: failed to lookup address information: Try again
    2: error trying to connect: dns error: failed to lookup address information: Try again
    3: dns error: failed to lookup address information: Try again
    4: failed to lookup address information: Try again

我这是dns的问题，在容器设置dns解决了


add previous

Support the get the latest previous activation time.

@robfig Hi, How do you think if add the previous in this MR?

Thanks for this MR. I would also appreciate this feature. See: #224

Hi @robfig. Seems like it was renamed by the creator. Care to review again? Would love to have this!

@robfig Hi, Is there some problem in this MR? If yes, would you like to share it to us?

I'm not sure.. This seems like a lot of code for little benefit. Schedule is an interface, so folks can customize it for their use case. You can have a PrevSchedule that implements this if you wish. I don't want to support this use case, though. Sorry!

Thanks @lvjing2 for the example implementation. This is extremely useful when identifying a backlog of missed runs.


Is Q1 in your design needed?

Thank you for this project showing how to connect to a Swedish AMS meter with RJ12 HAN interface.
One question: What is the purpose of the Q1 transistor?
My understanding is that the data output is Open collector, so a pullup to 3,3V should be sufficient.
Are you using Q1 just to invert the data signal?

The purpose is to lower the voltage to 3.3V and invert the signal. The P1 port outputs 5 V.
I found the design on some dutch forum so I just stole it 😃
It might be other ways to do it.

Thank you for the clarification, but this sounds like a misunderstanding of what an Open collector (OC) output is and how it is used. Such an output does not output a voltage at all, instead it pulls down an external pullup resistor to GND. This is the beauty of an OC output: You can easily connect it to a system with an alternative voltage as long as you respect the sink current specification. (Page 5 of https://www.skekraft.se/wp-content/uploads/2021/03/Aidon_Feature_Description_RJ12_HAN_Interface_EN.pdf says: "The output low voltage level is max. 1,0V with max. sinking current of 30 mA.").
In this design the 5V to Q1 comes from the pullup resistor R2 that is connected to 5V. When the OC output transistor is off, R2 pulls Q1 base up to 5V. When the OC output transistor is on, it pulls the Q1 base to GND. Then on the transistor output there is the same type of conversion to 3,3V by R1 being connected to 3,3V. In the process the signal is inverted.
If your software allows for inverting the input data signal, you could simplify this by removing R2 and Q1, keeping the R1 pullup to 3,3V and connect the data output directly to a GPIO (it looks like you use the UART0 Rx input).

Ok, I guess you're right. Haven't done much electronics so I figured copying an existing design was the easiest way.

If in doubt - copy something that works! ;-)

@tedenda: Yes, that's exactly what I mean:


Umbraco V7.7.1 FALM V<IP_ADDRESS> user delete fail

I selected a user and click "Delete selected users" button
then click ok for the prompt dialog

Successful message display, but the user have not deleted.

Can you install the new version and tell me if you have the same problem?
P.S. I close this issue because this is the v6 package issue page (there is a problem in my our.umbraco.org project page, I cannot change the old link). Please open a new one in the correct Project issue page:  https://github.com/FALM-Umbraco-Projects/FALM-Housekeeping-v7/issues


Add ability to specify detailed basis set within the schema

Description
Adds the ability to completely specify the basis set in the schema
The current basis key under model can be used to specify a common basis set by name and is not modified by this PR.
A new key basis_spec is added that allows for detailed specification of an element-wide basis (ie, all carbon atoms) via basis_set_elements, and also per-atom or per-center specifications via basis_set_atoms. ECPs are supported.
The keys of basis_set_elements is the atomic Z number, while the keys of basis_set_atoms is zero-based index of the center in the molecule.
Several fields (such as shell_function_type and shell_region) are optional.
Two tests have been added in the tests/basis directory.
This PR has been built on top of PR #40, and uses a very similar structure to that found in the new Basis Set Exchange, which would allow for easy interoperation.
Status

[ ] Ready to go

Going to pull this in soon unless there are further comments.

1-based index

Why don't we use 0-based indexing?

@langner I chose one-based since it was a bit more conceptual (for the BSE). I will switch to zero-based unless there is any objection

This is a good point, we state somewhere that we are zero-indexed. Ill add this to the FAQ later today for a more canonical place.

I think this is a good first pass. I will go ahead and pull this in unless there are objections.

There will eventually be support for plane-wave and hybrid plane-wave/GTO basis sets, correct?

Plane-wave was very high on the list of requirements from the workshop, so I would say absolutely yes. A few comments:

I would prefer to get the GTO spec somewhat worked out before moving on.
For pure plane-wave would it make more sense to use the Materials Project or NOMAD-COE Schema?
For mixed plane-wave/GTO I think we can accommodate this with relatively little overhead.

@mkhorton does Materials Project have a published data schema? I think a link to the primary MSON data class would be fine.

The MSONable base class is part of the monty package (developed by the pymatgen lead): http://guide.materialsvirtuallab.org/monty/_modules/monty/json.html
It really is more a way to serialize/de-serialize Python classes to JSON though, which serves MP's needs well, but it's not a formal schema. I imagine the NOMAD-COE schema might be more well thought out / more general with regards to specifying basis sets, but I'm not familiar with it myself.


different height

html	String	"<meta name="viewport" content="initial-scale=1.0 "width=device-width user-scalable=no "/>


extra install step

To get moab to work after (from readme)
mkdir build; cd build; cmake .. -DENABLE_PYMOAB=1 -DCMAKE_INSTALL_PREFIX=<path/to/venv/>; make; make install

I had to also run
cd pymoab; python setup.py install

I don't quite remember why this is necessary but it's also part of our install scripts. Perhaps it should be included in the readme instructions?

I think you're right. I will add that.

done _ closing