Error on update azurefunction subscription on eventgrid

If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)
eventgrid
Description of issue (in as much detail as possible)
when executed the command bellow to update an azurefunction subscription
az eventgrid event-subscription update --name $name --source-resource-id $topic --endpoint-type azurefunction --endpoint $endPoint --included-event-types $events
i received the following error
2020-02-12T12:44:54.6327192Z ERROR: 'AzureFunctionEventSubscriptionDestination' object has no attribute 'azure_active_directory_tenant_id'
2020-02-12T12:44:54.6327868Z Traceback (most recent call last):
2020-02-12T12:44:54.6328798Z   File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke
2020-02-12T12:44:54.6329172Z     cmd_result = self.invocation.execute(args)
2020-02-12T12:44:54.6330049Z   File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in execute
2020-02-12T12:44:54.6330371Z     raise ex
2020-02-12T12:44:54.6331245Z   File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 386, in _run_jobs_serially
2020-02-12T12:44:54.6332351Z     results.append(self._run_job(expanded_arg, cmd_copy))
2020-02-12T12:44:54.6333741Z   File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 379, in _run_job
2020-02-12T12:44:54.6334123Z     six.reraise(*sys.exc_info())
2020-02-12T12:44:54.6334928Z   File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
2020-02-12T12:44:54.6335275Z     raise value
2020-02-12T12:44:54.6336123Z   File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 356, in _run_job
2020-02-12T12:44:54.6336441Z     result = cmd_copy(params)
2020-02-12T12:44:54.6337925Z   File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line ***7***, in __call__
2020-02-12T12:44:54.6338381Z     return self.handler(*args, **kwargs)
2020-02-12T12:44:54.6339295Z   File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 477, in handler
2020-02-12T12:44:54.6339732Z     instance = custom_function(instance=instance, **custom_func_args)
2020-02-12T12:44:54.6340290Z   File "/vsts/agent/_work/_temp/.azclitask/cliextensions/eventgrid/azext_eventgrid/custom.py", line 6***3, in update_event_subscription
2020-02-12T12:44:54.6340700Z     event_subscription_destination.azure_active_directory_tenant_id,
2020-02-12T12:44:54.6342127Z AttributeError: 'AzureFunctionEventSubscriptionDestination' object has no attribute 'azure_active_directory_tenant_id'
-----

@phmzum , thanks for reporting, we are looking at it.

Thanks @phmzum for reporting this issue. We would need additional information to understand this issue:

What is the extension version you are using?

Please provide the output of this command:
Azure:~$ az extension list
If version is not 0.4.4, please make sure to delete any installed extension and install new one.
The output should look like this.
[
{
"extensionType": "whl",
"name": "eventgrid",
"version": "0.4.4"
}
]

What is the exact repro steps here?
Was the original event subscription of azure function type? if not, what was the previous type? if yes, what were you trying to change.

complete list of commands will be helpful

Is this 100% repo?

thanks

the output was exatly this look. (version 0.4.4)

the previous type is azure function (when the original event subscription is webhook works ok)
i trying change the param --included-event-types

this is the only command that i'm running, previous code is only to set variables values.
bellow sample of the variables contents (subscriptions guid replaced by empty guid and specific names replaced by ***)
$name => Proposta-Cidade
$topic => /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.EventGrid/domains//topics/***
$endPoint => /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Web/sites//functions/***
$events => cidade-insert cidade-update

not sure the meanigs of this question but i think yes, the same result when changing the variables values

Thanks @phmzum for the additional info. I am able to repro the issue and identify the root cause. We will working on a fix now and will be available soon.
If you are blocked, you can either delete the event subscription and re-create it again or try to call create again with same values..
please let me know if you have any other issues.

thanks @ahamad-MS, i'm already using this workaround for now, but please let me know when the fix is published.
no other issues detected!

This issue is resolved now with latest event grid extension. Please uninstall any existing extension and install latest one (Version: version 0.4.6).


Wrong credentials to gorm.Open is not returning any error

I have been passing wrong credentials to gorm.Open function but it is not returning any error,
err != nil check is always bypassed.
Any specific reason for that ?

That should be documented, expecially for noobs like me! Luckily I found this issue...


gives false postive

the tool gives false postive in xss and sql per now i will try the other advantage as well

fixing soon..


Can we make a  docker image ?  then everyone can be run project in docker

What would you like to be added:
Why is this needed:
To a large extent, this will ensure a simple and clean environment. For many newcomers, just clone the repo, complete the changes, and then use docker to make the project run quickly

I'm not sure I understand you correctly. Is there any example?

@SAMZONG Something like this?

#382


Onclick selection of elements

Clicking an element results in the selection of the element.

refer to #64


do not complaint about db file

Now v2 snapshot does not understand db file and complaints about it
2016-04-01 16:32:27.050616 W | snap: skipped unexpected non snapshot file db

@ajityagaty Do you want to look into this a little bit? This is checked in snapshot.go checkSuffix in snap pkg. We need to make db a valid filename with no suffix.

@xiang90 Sure, I'll give it a try. Thanks !


feat: return clear messaging if container fails to starts

This PR addresses the issue oof returning clear error logs from the docker container if the Container fails to start.
If merged, this PR closes #83

@mmabrouk this PR is ready for review.

Thanks @devgenix ! I made a minor change for the case that the container dies directly after starting and merged

Thanks @devgenix ! I made a minor change for the case that the container dies directly after starting and merged

Oh, thank you.
Let me check it out.

Thanks @devgenix ! I made a minor change for the case that the container dies directly after starting and merged

@mmabrouk
I couldn't find the change, could you point me to it?

https://github.com/Agenta-AI/agenta/pull/397/files


add servicediscovery check to CODEOWNERS file

What does this PR do?

Updates the CODEOWNERS file with the new Service Discovery check (being added in https://github.com/DataDog/datadog-agent/pull/24861) that will be owned by the @DataDog/apm-onboarding team.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


artifactory requires net-tools, which is missing on ubuntu 20.04. Please install it.

Which installer: Ansible
Which product and version: ansible 2.11.2 jfrog-platform collection 7.21.12
Which operating system and version : ubuntu - 20.04
What happened: I tried to install on a clean Ubuntu VM using the artifactory role. Artifactory would fail to start.
What you expected to happen: Artifactory to start
How to reproduce it (as minimally and precisely as possible): try molecule and tests?
Anything else we need to know: After hours of troubleshooting, I pinpointed the issue: Ubuntu 20.04 doesn't ship with net-tools by default. I reverted the VM, installed net-tools and it all worked.

@rockdreamer Thanks for reporting this , will fix it in next release


Update tutorial to use GKE autopilot

Autopilot does not seem to work with Istio/Knative Serving in my testing

@meteatamel Hi!
Do you deep dive into the problem? I faced the same behavior and thought it could be a VPA issue.

@aatarasoff No, I didn't deep dive. Any ideas what could be missing?

@meteatamel I think that it could be related to the Vertical Pod Autoscaler because Autopilot changes CPU and Memory requests and limits according to its policies, and it could blow Knative mind up. It's like a race condition between two autoscalers (Knative, as I know, has one). I tried to turn of VPA (see code below) but it did not help.
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
  name: hello-world-turn-off-vpa
spec:
  targetRef:
    apiVersion: "apps/v1"
    kind:       Deployment
    name:       hello-world-deployment
  updatePolicy:
    updateMode: "Off"```

I'll reopen this, in case I or someone else might look into this again.


Unexcepted Cursor behavior after Virtual Document update(TextDocumentContentProvider)

Type: Bug

Install GitHub Copilot.
Type something until you see the suggestion text.
Press control + enter to open up copilot side panel.
Place cursor at end of first line before all 10 suggestions are loaded.
Once all suggestions are loaded notice the cursor is at the very bottom of the document.

Expected that the cursor would stay on the same character position as it was before, since that is how it behaves on every position except the last one.
Note: It is not an insertion issue since the entire document is getting recreated.
Noticed in the copilot extension, but may also be happening with other extensions that use TextDocumentContentProvider API to replace content.
Before second render:

After everything has rendered:

VS Code version: Code 1.83.1 (Universal) (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:46:55.789Z)
OS version: Darwin x64 23.0.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 3, 3

Memory (System)
64.00GB (13.39GB free)

Process Argv
--crash-reporter-id 31ba4554-0de0-459c-9e3a-c00ff1d30d7b

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30856253
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
f6dab269:30613381
2i9eh265:30646982
showlangstatbar:30737416
03d35959:30757346
7ij38806:30736111
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
copilotsettingt:30859503
asynctok:30821568
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30821571
dsvsc015:30845448
pythonregdiagcf:30859692

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


add function to copy pimcore's default .htaccess file

dunno if there was a reason this was left out - was just trying out and missed the .htaccess :-)

I'll have to test this out some time, so I'll get back to you on it. I'm thinking that this will be optional anyway, you won't have to add it on projects that aren't using Apache (or... locally for that matter...).

I am actually very tempted to say that this, like the others, should overwrite every time regardless of if the destination file exists. The default Pimcore setup should work fine, and this is optional, so if a specific project needed something else it'd be possible to make a modified version. This package is really just there to so you can always have the defaults Pimcore provides - the main reason being it keeps it super easy to upgrade Pimcore.

Hmm, I know it's normally left as-is, but in some projects we've made changes to it...
I suppose if it were the case that we needed to make changes, we could always track it in the repository and then remove the post-install/update from composer.json?

Indeed, that is what I'm thinking.


Sample code fails for large N

When trying the sample code https://github.com/chokkan/liblbfgs/blob/master/sample/sample.cpp, the code will crash when using N = 80601.
Please let me know if you are able to reproduce.

What is the exact repro? I've tried with the following change and I was unable to reproduce. Do you have a stack trace?
-#define N 100
+#define N 80601


Some Static Content Appears w/o Titles in Search

hmm, I thought maybe there wasn't a US translation of this, but that's just not true. @blisteringherb mind taking a look at this?

As a quick fix for these, resaving the node and reindexing fixes the issue. It's clearly not ideal. I'm wondering if some of the static content field work may have impacted these nodes. Any thoughts @sergii-tkachenko?

Could be. I'll take a look at this later, working on higher priority now/

@blisteringherb Yes, I was related to #5575. The content needed to be reindexed. This was a one one-time thing related to change in the title field representation.
@namimody Good to close this?

:+1:  Thanks @sergii-tkachenko

@sergii-tkachenko @angaither @blisteringherb sorry, to clarify -- reindexing the content fixes the bug. however, is it expected that we would still see this on thor? thanks!

@namimody I'm not sure if the content has been reindexed on thor. Let do that.

Reindex didn't help. Lets wait for Thor to be updated with latest dev changes (#5663) and revisit this issue.

Ok, latest global build fixed the issue:

Thanks team! :D Closing.


Assertion violation: _pInstance == 0 in file "base/poco/Util/src/Application.cpp"

Please make sure that the version you're using is still supported (you can find the list here).

You have to provide the following information whenever possible.

while using chdb, at random times (non deterministic behavior) i get this error in the logs, with the query failing because of this assertion.

A clear and concise description of what works not as it is supposed to.

I expect to not have this issue since i'm always reusing the same connection, and there isn't documentation about creating a new connection each time.
Poco::Exception. Code: 1000, e.code() = 0, Assertion violation: _pInstance == 0 in file \"base/poco/Util/src/Application.cpp\", line 92, Stack trace (when copying this message, always include the lines below):\n\n0. Poco::Exception::Exception(String const&, int) @ 0x000000001b7e2cf9 in /usr/lib/libchdb.so\n1. Poco::AssertionViolationException::AssertionViolationException(String const&, int) @ 0x000000001b7e3b09 in /usr/lib/libchdb.so\n2. Poco::Bugcheck::assertion(char const*, char const*, int, char const*) @ 0x000000001b7d5b56 in /usr/lib/libchdb.so\n3. Poco::Util::Application::setup() @ 0x000000001b6c9ef6 in /usr/lib/libchdb.so\n4. Poco::Util::Application::Application() @ 0x000000001b6c9d9b in /usr/lib/libchdb.so\n5. DB::ClientBase::ClientBase() @ 0x00000000191f81b6 in /usr/lib/libchdb.so\n6. pyEntryClickHouseLocal(int, char**) @ 0x0000000012d0fd60 in /usr/lib/libchdb.so\n7. query_stable_v2 @ 0x0000000012d10377 in /usr/lib/libchdb.so\n8. _cgo_80e001a3e5d3_Cfunc_query_stable_v2 @ 0x00000000027dfe7c in /main\n (version <IP_ADDRESS>)
This is the full exception i get in the logs.

Actually yes, i'm using the go bindings for libchdb, and the query can run in multiple goroutines.
As i said, i can't provide a reproduce scripts since it doesn't happen all the times, just randomly once in a while.
I guess just a while loop with 2 thread reading and writing to a table could replicate the problem. Let me try to create and i'll paste it here.

Thank you!
When the fix will be avaiable in the release section?
Also i saw the code and it will be interesting to have an exposed interface to configure this settings so we can customize the LocalServer settings without code changes.


Suppress LGTM alerts

Not sure if this will actually suppress the alerts, so I'll try to merge and see.


How to setup Bitdefender AV which marks Process Hacker as potentially unwanted or dangerous application

Hi all,
As I can see in other threads and in all my PCs, they did it again. So here is how to prevent BD to kill PH (supposing you have full control over the BD=Bitdefender):

If you plan to do new installation of the PH, add AV exception for a folder where PH will be downloaded: Protection->Antivirus
->Settings->Manage Exception. Add exception, select the folder you wisely created before for this purpose only (!), check Antivirus, Save.

Repeat for the program folder, usually DRIVELETTER:\Program Files\Process Hacker 2. The folder must be created manually, PH installation reuses it. Other - more painfull - way is to install PH even if BD breaks the installation, program folder will be created by setup.

Install PH. If Bitdefender would confiscate some part (well shouldnt with the exception, but I've seen it already), just turn it off for five minutes. For those who are afraid to do it and don't understand the details: Process Hacker is open source software so anybody can check sources; malware wouldn't be exposed this way, because the community would never allow such modifications. For the same reason, download PH only from Sourceforge to be sure you have the original version. AV companies tends to mark PH as dangerous because of its potential power as they're suspicious (which is their job in fact).

Switch to BD again, add exception for "DRIVELETTER:\Program Files\Process Hacker 2\ProcessHacker.exe". Be sure to check both "Antivirus" and "Advanced Thread Defence" this time.

You've done for basic usage. If you need to use kernel driver (if you're not sure, you don't need it probably), repeat step 4 with file "kprocesshacker.sys". It uses plugin extensions from subfolder "plugins", if BD tends to quarantine them, repeat step 2 with full path to this folder. If BD is still making problems, report it to the Bitdefender.
Actually, report it to the Bitdefender anyway. More reports = better chance they wake up again.
Bitdefender has one of best antivirus softwares around IMO, but this drives me crazy every time they do it again :-|
Mike

So here is how to prevent BD to kill PH (supposing you have full control over the BD=Bitdefender)

Another ways is to uninstall BitDefender (supposing you have full control over the BD=Bitdefender).
BTW, it seems that you are using older ProcessHacker version. Use the latest one from here https://processhacker.sourceforge.io/nightly.php

Another ways is to uninstall BitDefender (supposing you have full control over the BD=Bitdefender).

This is not going to advice ordinary users (who came here by blind searching) what to do. They've learned that if a cracked app setup instruction tell them "ignore AV warning and disable AV", it's not good idea to follow. In their eyes you're assigning yourself in the same line with those "ugly hackers". Correct advice is: uninstall BitDefender (which I still think IS one of best solutions regardless of this issue) and install another AV which doesn't evaluate PH as harmful.

it seems that you are using older ProcessHacker version

Thnx 4 notice.

The problem is they almost all do, because a combination of reliance on machine learning and just plain stigma has caused most to treat it as a PUP at best and malware at most

For my purposes, the portable version of Process Hacker is sufficient, and it's easier to install on a Bitdefender-protected machine.

this drives me crazy every time they do it again

The solution is uninstalling Bitdefender.

Correct advice is: uninstall BitDefender (one of best solutions regardless of this issue) and install another AV

Their software has gone rouge overriding your preferences and doing whatever they feel like. There are 100 other security vendors and products who respect their customers, do the right thing and and are more deserving of your business.
Uninstall BitDefender and find something better 👍


可以增加ed2k链接的支持吗

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

https://github.com/agalwood/Motrix/issues/163


openDocument crashes on iOS simulator in M1 Mac

Summary
ios.openDocument crashes on iOS simulator  in M1 Mac. Intel Mac and devices are fine.
After digging into the log, I found that it attempts to insert nil object and causes the error:
terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]'
CoreSimulator 776.3 - Device: iPhone 12 (49387E45-4995-4855-AD6E-759014AEC92F) - Runtime: iOS 15.0 (19A339) - DeviceType: iPhone 12

_LSContextInitReturningError() failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0xc23586de 989aecf6 5ff8a488 dbce0d00 ... aafa3d0b e8264735 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x11a75a6a a465e974 78717d01 63b2e7ac ... 5a568f54 1b7dc131 }}

Info:
version： v0.13.16
System:
    OS: macOS 11.5.2
    CPU: (8) arm64 Apple M1
    Memory: 95.31 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.8.0 - ~/.nodenv/versions/16.8.0/bin/node
    Yarn: 1.22.11 - ~/.nodenv/versions/16.8.0/bin/yarn
    npm: 7.21.0 - ~/.nodenv/versions/16.8.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: Not Found
  SDKs:
    iOS SDK:
      Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
    Android SDK:
      API Levels: 29, 30
      Build Tools: 30.0.2, 30.0.3
      System Images: android-29 | Intel x86 Atom, android-30 | Google APIs ARM 64 v8a, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-31 | Google APIs ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: Arctic Fox 2020.3.1 Patch 3 Arctic Fox 2020.3.1 Patch 3
    Xcode: 13.0/13A233 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_282 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.66.0 => 0.66.0
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

ios.previewDocument seems to be crashing as well. I'm using M1 Mac, didn't tried on Intel Mac

'ios.previewDocument' appears to be crash as well. I'm using M1 Mac, didn't try on Intel Mac.

Same issue.
Works fine on Intel Mac.
@manakuro did you find any workaround for it

@kashif-sk
No. I'm using the device instead. If no fix would be made, I'm considering replacing the openDocument with another library such as react-native-file-viewer.

The problem is, I don't have a M1 Mac, so I can't fix / test it myself - I would require some help here
So if anyone can come up with a fix, please create a PR

Just want to add some comment on this old issue, based on my experience using M1 mac with latest iOS dev environment is not stable yet, especially if using react native.
So, what i'm suggesting is using older env (this is also what i'm using right now):

macOS: Big Sur 11.6.3
CPU: Apple M1
Simulator: iOS 13.7
Xcode: 12.5.1

All iOS API for this library (previewDocument & openDocument) works fine on my simulator.

Any progress on the matter?

I am facing the same issue? Any update on this?

No unless we get help form the community, since I don't have a M1 to test it
So it would be great if someone could help out here

Upgrading to RN v0.67.3 fixed the issue for me

Upgrading to RN v0.67.3 fixed the issue for me

upgrading to 0.67.4 did not work

is there any update on this? we're facing the same issue.


Request: Twitter lists shortcuts in profiles UI

Add users to Twitter lists as simple click in UI - so that adding a user to a list only needs one click! :)
This worked with the old interface:
https://greasyfork.org/en/scripts/39220-twitter-lists-sidebar
I think in CWS it was called Twitter Lists Redux

https://github.com/tomitm/lists
@tomitm

I don't want to add and maintain any more completely new functionality to Twitter in this extension when it could be done as a separate extension


WebSocketApiHttpClientSingleton and WebSocketStreamHttpClientSingleton do not have proxy configurations similar to HttpClientSingleton

Hello, I found that the HttpClientSingleton used in SpotClient can support manual proxy settings and cancellations. However, WebSocketApiHttpClientSingleton and WebSocketStreamHttpClientSingleton do not provide proxy configurations similar to HttpClientSingleton. What should I do if I want to configure proxies for these two WebSockets

Hi, this is due to limitations in the underlying library 'OkHttp.' Based on past research, when using WebSocket, there's an incompatibility between how the library's connection is sent (over the SSL layer) and what most proxies accept (over the HTTP layer). We might look for an alternative library in the future; however, including a proxy in WebSockets is not in the short-term plan.

Okay, it turns out that Okhttp's inventory is restricted. Thank you


Add token count to return of FactCheck().check_response

It would be nice to be able to track tokens used by a fact check call using the python api, e.g. something like:
from factcheck import FactCheck
results = FactCheck().check_response("The sky is green")
print(results["token_count"])

which would contain prompt and completion token info, like
{'num_raw_tokens': 4, 'num_checkworthy_tokens': 5, 'total_prompt_tokens': 1748, 'total_completion_tokens': 231}

Hacky example implementation for openai client only here: https://github.com/Libr-AI/OpenFactVerification/pull/11

Thank you and welcome to submit a pr, this will be a good feature for transparency.

This feature has been added in v0.0.3


Next and previous buttons are not appearing

Next and previous buttons are not showing anymore when using: https://learngitbranching.js.org/

oh I bet its due to the icon upgrade, justasecond!

hehe yeah I figured that was it. Thanks!!

pushing the fix now :)

A hard refresh (clear cache on the domain) fixes it!

Works like a charm now. Thanks so much. Best GIT tutorial ever! :)


Get UUID Bytes

With the string version of uuid can i do reverse and get the bytes? i'm looking for it so i can store then in my database as bytes for faster searching and indexing.

https://www.npmjs.com/package/uuid-parse


Removed deprecated calls to JSON

Removed deprecated calls to JSON.decode and JSON.encode

jsonDecode and jsonEncode are not found. Are they from another library?
@kevmoo?

It's in dart:convert

Ahh ok. I see. This will have to wait until we have the latest SDK available in all of our environments.

Ok, I get messages in dart analysis to replace this.

@dineshbhosale – yup. It's still there, just deprecated.
We're going to clean these up internally later in one big update.
Thanks for your help!


git-node land: author does not have correct git config?

not sure what's wrong with this one:
$ git node land 22754
✔  Done loading data for nodejs/node/pull/22754
----------------------------------- PR info ------------------------------------
Title      deps: update V8 to 7.0 (#22754)
Author     Michaël Zasso<EMAIL_ADDRESS>(@targos)
Branch     targos:v8-7.0 -> nodejs:master
Labels     V8 Engine, author ready, semver-major
Commits    8
 - deps: update V8 to 7.0.276.20
 - deps: update v8.gyp
 - src: use HeapStatistics to get external memory
 - deps: cherry-pick 2363cdf from upstream V8
 - test: update postmortem metadata test for V8 7.0
 - src: update postmortem constants
 - build: reset embedder string to "-node.0"
 - src: update NODE_MODULE_VERSION to 67
Committers 1
 - Michaël Zasso<EMAIL_ADDRESS>------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/22754
Fixes: https://github.com/nodejs/node-v8/issues/77
Reviewed-By: Matteo Collina<EMAIL_ADDRESS>Reviewed-By: James M Snell<EMAIL_ADDRESS>Reviewed-By: Refael Ackermann<EMAIL_ADDRESS>Reviewed-By: Ali Ijaz Sheikh<EMAIL_ADDRESS>Reviewed-By: Colin Ihrig<EMAIL_ADDRESS>--------------------------------------------------------------------------------
✔  Requested Changes: 0
✔  Approvals: 5, 4 from TSC (mcollina, jasnell, ofrobots, cjihrig)
ℹ  Last Full PR CI on 2018-09-22T12:47:56Z: https://ci.nodejs.org/job/node-test-pull-request/17370/
ℹ  Last V8 CI on 2018-09-22T12:47:56Z: https://ci.nodejs.org/job/node-test-commit-v8-linux/1710/
✖  Author does not have correct git config!
--------------------------------------------------------------------------------

It's due to the https://github.com/nodejs/node/pull/22754/commits/58a2932064f752ad36185c392cf4ae698d1991ab commit; the author didn't configure their name and email using git config.
(I think we should come up with good descriptive title for this!)

This seems more like warning, not an error to me..


Use addAfter in Http2Codec.handlerAdded(....) to ensure we not end up…

… with incorrect handler order
Motivation:
When pipeline.replace(...) is used with the Http2Codec we will end up with an incorrect pipeline view for the handler that was replaced because the Http2Codec will add handler in front of itselv but the handler that will be replaced thinks that the Http2Codec is the handler that will be "next" in the pipeline.
Modifications:

Use addAfter(...) in Http2Codec.handlerAdded(....) and so ensure correct ordering.
Port tests written by @chhsiao90 in [#6952] to verify the fix.

Result:
Fixes [#6881]
If there is no issue then describe the changes introduced by this PR.

@chhsiao90 @rschmitt PTAL

Also maybe @ejona86 :)

This is confusing to me a couple ways:

From what I can tell, the order in the pipeline is correct, even with the replace. The problem is that the ctx for old handlers isn't what it assumed it would be for inbound events.
The problem isn't the replace in my mind, but the inbound event. I feel like this change would break any outbound event.

This seems like a bug in CleartextHttp2ServerUpgradeHandler, in that it assumes the handler it wants to send to will share the current ctx after the replace. That's not safe, as demonstrated here, as the ctx is reused. Instead, it seems CleartextHttp2ServerUpgradeHandler should do an 'addAfter' followed by a remove() and then ctx.fireUserEventTriggered(). Normally this isn't a problem because you aren't trying to trigger any inbound or outbound events from the ctx, but the moment you do, the only safe thing in my mind is for the handler to avoid replace as then you have no "bookmark" of where you should trigger events.

@ejona86 so to be clear you think https://github.com/netty/netty/pull/6952 is more correct in terms of fixing it ?

@normanmaurer, yeah, #6952 looks to be exactly what I was thinking the fix should be (I hadn't looked at it earlier, only this PR and the issue). I feel that replace invalidates the ctx; you have no clue what the ctx represents after a replace. There is no way to use replace and have both ctx.write() and ctx.fireUserEventTriggered() function predictably.

@ejona86 ok fair enough... let me pull in #6952 for now then.


getLoginInProgress() return false when redirected back to the redirect_uri

I'm submitting a...

[x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[x] Chrome version 74
[ ] Firefox version XX
[ ] IE version XX
[ ] Edge version XX
[ ] Safari version XX

Library version
Library version: 1.0.1

I am migrating from version 0.2.4.
Current behavior

After user signed in, and redirected back to the redirect_uri with the id_token, calling getLoginInProgress returns false
Expected behavior

It should be same as the loginInProgress() method from version 0.2.4, in which it returns true.
I did some investigation, it return false since it failed to detect the 'msal.urlhash' from the cache storage, and actually that has been removed in the processCallBack function which is called before calling getLoginInProgress()

@pkanher617 Can you check this?

@bryanchen-d Thanks for reporting this issue and looking into it. I will take a look and resolve this ASAP.

@bryanchen-d this is working as expected. The loginInProgress method will not return true once the id_token has been returned to the application. This behavior has not changed since 0.2.4.
If you check line 322 of UserAgentApplication.ts in msal 0.2.4 you will see that we remove the hash in processCallback as well.
There is an acquireTokenInProgress method as well if you need a state variable for acquireToken calls.
Closing for now, please re-open if you have further questions.


no messages being sent

I"ve set up a thank-you mailer for a Google form. But when testing it with a real form submission, no messages have been received, neither on the submission address, nor on the CC-address provided

Please verify if it works without a CC-address and check your spam folder

I tried another tool that worked.


Only getting around 25 FPS with Acellerated Decoding in 0.3.0

I am only getting around 25 FPS, Max 28 FPS with FreshPlayerPlugin 0.3.0 and Flash <IP_ADDRESS>. The number of Dropped Frames in Youtube gradually increases persistently.

I've just added VDPAU code a few hours ago. Did you try that? You need to delete vdpau-va-driver or add enable_vaapi=0 to ~/.config/freshwrapper.conf to use VDPAU directly.

Hello? Is behavior still the same with current version?

It has been and changes to freshwrapper.conf make no difference. (the file doesn't even exist on most of my systems.)

Just to be sure. If you don't have a freshwrapper.conf, hardware accelerated decoding is disabled (as enable_hwdec defaults to 0).
I think I did already ask, but how much CPU consumed by plugin-wrapper process?
What perf top displays while playing video?
Are there any messages with [error] or [warning] tags in the output if you run browser from terminal?
Does CPU consumption goes up when you switch to full screen?

libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
NOT SANDBOXED
[fresh 12017] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
[fresh 12017] [PPB] {zilch} ppb_network_monitor_update_network_list
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 8
[fresh] [error] [NP] caught Xlib error 171
[fresh] [error] [NP] caught Xlib error 171
[fresh] [error] ppb_graphics3d_create, glXMakeCurrent failed
[fresh] [error] ppb_graphics3d_create, glXMakeCurrent failed

Could you check again with the recent version? A few hwdec fixes were added in bf84892e0eb753604b9a2f517966ca92fbc3329b and some previous commits.

The FPS now hovers between 29 and 31 FPS on Youtube. I do still notice slight Tearing at the top of the screen, but its no where near as severe as before.

Good to know. I guess vdpau-va-driver was introducing another delay frame.
Tearing is another big issue which I don't know how to handle yet.


RHEL-08-010291 Has Incorrect Regex

Describe the Issue
RHEL-08-010291 line gets written repeatedly due to incorrect regex
Expected Behavior
Line doesn't get added repeatedly
Actual Behavior
Line is only added once
Control(s) Affected
RHEL-08-010291
Environment (please complete the following information):

Ansible Version: 2.9.27
Host Python Version: 3.6.8
Ansible Server Python Version: 3.6.8

Additional Notes
Due to RHEL-08-040342 having the same starting line, the existing regex doesn't work
Possible Solution
Change regexp to "^CRYPTO_POLICY='{{ rhel8stig_ssh_server_crypto_settings }}'"

Closing since this has been merged in


SIM complete purchase response

Whenever other omnipay gateways return isSuccessful() = true they NEVER also return isRedirect() = true
See:
https://github.com/thephpleague/omnipay-multisafepay/issues/19
SIM complete purchase breaks that omnipay convention.
Not sure how we could fix this in any backwards compatible way?

I think isRedirect() needs to be made conditional, just like isSuccessful() is in the same class:
https://github.com/thephpleague/omnipay-authorizenet/blob/master/src/Message/SIMCompleteAuthorizeResponse.php#L60
That shouldn't break anything, because people shouldn't be redirecting when there is no reason to redirect anyway, so I'm assuming this change would not hit any working code.

We have gotten around this just by treating SIM differently. It just meant we couldn't treat it like all other gateways. Due to our changes SIM is now working for us, so I will leave it to you to decide to update omnipay.
Thanks @judgej


Inline applier blocks to work around rdar://20723086

Temporarily fixes autocompletion of applier blocks, see https://openradar.appspot.com/20723086
Should be revered when the above issue is resolved.

Coverage remained the same at 81.25% when pulling 24bf374a860d9b0efe4823504bdc0223b7f2e8f6 on inline-applier-blocks into df86ff7508bfbf752e7008d8946e7fd31bd3f385 on master.


luci-compat: CBI skip fields that do not satisfy depends

If depends is not satisfied, the fvalue will be nil.
@jow-

[x] This PR is not from my main or master branch :poop:, but a separate branch :white_check_mark:
[x] Each commit has a valid :black_nib: Signed-off-by<EMAIL_ADDRESS>row (via git commit --signoff)
[x] Each commit and PR title has a valid :memo: <package name>: title first line subject for packages
[x] Incremented :up: any PKG_VERSION in the Makefile
[x] Tested on: (aarch64, openwrt 22.03, chrome) :white_check_mark:
[x] ( Preferred ) Mention: @ the original code author for feedback
[ ] ( Preferred ) Screenshot or mp4 of changes:
[x] Description: (describe the changes proposed in this PR)

A simple test code (model/cbi/abc.lua):
local m, s, o

m = Map("floatip", translate("FloatingGateway"))

s=m:section(NamedSection, "main", translate("Global settings"))
s.anonymous=true

o = s:option(Flag, "enabled", translate("Enable"))
o.rmempty = false

o = s:option(ListValue, "role", translate("Node Role"))
o.rmempty = false
o.widget = "select"
o:value("main", translate("Preempt Node"))
o:value("fallback", translate("Fallback Node"))

o = s:option(Value, "set_ip", translate("Floating Gateway IP"))
o.rmempty = false
o.datatype = "or(ip4addr,cidr4)"

o = s:option(Value, "check_ip", translate("Preempt Node IP"))
o.rmempty = false
o.datatype = "ip4addr"
o:depends("role", "fallback")

return m

Without this patch, when "role" changes from "fallback" to "main", save will failed with 'missing' error (One or more required fields have no value!).

there is a bug when commit empty list
o = s:option(StaticList, "interfaces", translate("Interfaces"))
o:value('lan', 'lan')
o:value('wan', 'wan')

Please do not introduce new options into the legacy Lua cbi library.

Please do not introduce new options into the legacy Lua cbi library.

It's not an option, 'nilasempty' just a flag for internal usage, frontend pass nil when list empty.
If we don't do this, how can we fix the luci bug?
luci-app-dockerman is also affected by this bug. First switch "Remote Endpoint" to true, set "Remote Host" to "<IP_ADDRESS>", set "Remote Port" to "2375", save and apply; then switch "Remote Endpoint" to false. At this time, no matter how you set parameters, it will not be saved.

The key point is that you should not check 'rmempty = false' when depends is not satisfied.

Dockerman issue: https://github.com/openwrt/luci/issues/7508


xfstests: 2018-04-11 -> 2019-09-08

Motivation for this change
Build would fail before because it couldn't find some header.
This is fixed in the new revision - sadly there hasn't been a new release in 8 years.
#68361
Things done
Ran a simple test and that runs the tests. I don't know how to interpret the output, but it looks like the program is working.
> sudo mkfs.ext4 /dev/sda
> sudo mount /dev/sda /mnt
> sudo env TEST_DIR=/mnt TEST_DEV=/dev/sda ./result/bin/xfstests-check -g quick
......... lots of tests ........
Failed 3 of 478 tests

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @dezgeg

backported in 3dc028716a1386dd3576e2731dee8bfcdd36e77b


Added further info for Ansible on Default.aspx page

Updated the docs around the win_chocolatey and win_chocolatey_source module used in Ansible. Because the win_chocolatey_source module was only just added, the URL https://docs.ansible.com/ansible/latest/modules/win_chocolatey_source_module.html won't be valid until 2.7 is released (approx end of Sept). I decided to keep the URL as is as I'm not sure when the next release will occur and wanted to keep things pointing to the "latest" pages of Ansible.
It can still be accessed when navigating through the devel docs at https://docs.ansible.com/ansible/devel/modules/win_chocolatey_source_module.html.

@jborean93 thanks for your contribution, and for keeping this page up to date.  We really appreciate your help around the Ansible integrations for Chocolatey!


Improve RS256 documentation

Hey, thanks for this great lib!
I had a bit of trouble switching from HS256 to RS256, as the documentation only states to include < RSA private key > in the options. I think it would be worthwhile to reformat this into e.g. the following:
# sign with RSA SHA256 algorithm
private_key = JsonWebToken.Algorithm.RsaUtil.private_key("path/to/", "key.pem")
opts = %{
  alg: "RS256",
  key: private_key
}

closed with v0.2.5, bc73974


Allow setItemVisibility to accept only expressId & modelId parameters

Setting element visibility could be improved by not requiring to pass geometry as an argument. Instead only passing expressId & modelId. This makes it easier to use when with UI integrations.

where did this method go?
I need to set item visibility passing only expressID.
Also need to get face indexes passing only expressID, do you know which function should I use now?
Thanks

You can create geometric subsets (ergo changing the appearance of items) with this. Documentation is on the way; in the meantime, you can look how we do it in the example. We are also refactoring that example to make it more clear.
Thanks for your patience!

thank you very much @agviegas :)


[WIP]Use NullUUID from uuid package instead of id package

Fixes https://github.com/fabric8-services/fabric8-wit/issues/2102

@baijum @DhritiShikhar The TestUsers suite is failing with error uuid: cannot convert uuid.UUID to UUID. Do you have any idea?

Closed because https://github.com/fabric8-services/fabric8-wit/issues/2102#issuecomment-402024450


Sync #491 with Indonesian

umm... what should i review @roj1512 ?

@fadzikri Nothing here, it was already reviewed.


Jinja whitespace control ignored

Looks like whitespace control in Jinja templates is ignored.
[olielli@master ~]$ sudo salt nornirproxy nr.cfg_gen "{% for i in ['1', '2', '3'] -%}\n{{ i }}\n{% endfor -%}"
nornirproxy:
    ----------
    switch1:
        ----------
        salt_cfg_gen:

            1

            2

            3

These interim newlines shouldn’t be there, thats what the -%} statement should address.
Preferrably there should be a way to include Jinja config like lstrip_blocks=true and trim_blocks=true which is already configured on the master.

Thank you for raising this issue.
Was testing this one and came up with solution to honour lstrip_blocks=true and trim_blocks=true config in master config file or in proxy minion pillar file, will include fix in next release.

Should be addressed in 0.15.0 release

Confirmed that the master jinja config is now honoured, nice!


Fixed steam socket interop issue with netImgui socket creation

We should use the platform socket subsystem to create sockets for NetImgui. Otherwise if the game that is connecting uses SteamSockets, for example, socket creation fails.

For this change (and the sleep) I am going to apply them directly to NetImgui depot and credit you in the comment. Or, if you prefer, you can create a pull request in the NetImgui depot instead.

Please go ahead and apply directly to NetImgui. Thank you!


[Docs]: Hello world tutorial revamp

Update Hello world tutorial, move it from GitHub to the docs

Looks good but we need to get it updated to the latest on main. Which means we need to adjust sidebarsApi.js and move this page to api/zkvm/tutorials/hello-world.md

Also a copy should go into api_versioned_docs/version-0.19.


awk: write failure (Broken pipe)

Dear, developers! I have the following problem.I used assembled contigs for virMine,command line was
nohup python2.7 /virMine.py -A /MyData/Megahit_cross_assemble/final.contigs_over10k.fa -t 40 -b blastp -m 1000 -v /MyData/Viral_reference/all_viral_faa.fasta -nv /MyData/Viral_reference/no_phage_bact.fasta -o ./Test_over10k_outputFolder &> ./Test_over10k.log &
,it showed the problem of "awk: write failure (Broken pipe)",so why and how fix it?Thanks.
The log segment:

Analyzing Sequence #10838
Start Find_Orfs
Start Score_Orfs
Start Process_Events
Start Trace_Back
Analyzing Sequence #10839
Start Find_Orfs
Start Score_Orfs
Start Process_Events
Start Trace_Back
Analyzing Sequence #10840
Start Find_Orfs
Start Score_Orfs
Start Process_Events
Start Trace_Back
Step 5 of 8:  Getting training coordinates
Step 6 of 8:  Making PWM from upstream regions
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
Segmentation fault (core dumped)
Error parsing file './Test_over10k_outputFolder/temp/orfs.upstream'. Not a Fasta file?
Failed to create PWM

Dear, neptuneyt
I ran the script with the contigs, I ended the process without problems.
python2.7 virMine.py -A inputFiles/contigs.fasta -t 4 -b blastp -m 1000 -v inputFiles/all_viral_faa.fasta -nv inputFiles/no_phage_bact.fasta -o OutputFolder &> /log.txt
I used a home computer (4 cores, 16 GB of RAM).
Check the file with contigs or try to do on several sequences (for example, 10 sequences).


[ALBA] Costești is a village in Albac commune from Alba county - Fail

Environment : Production
SOLR http://zimbor.go.ro/solr/#/romania/query
Browser: Chrome
Steps to reproduce
Open SOLR in browser
Type Costești in q field
Click on execute query
Expected results:
In the documents "Costești" village written with diacritics is found in Albac commune from Alba county
Actual results:
"Costești" village written with diacritics is not  found in database in Albac commune from Alba county

https://orase.testquality.com defect D13.

Este comuna Albac cu satul Costesti.


Remove version: Tencent.COSBrowser version 2.9.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://cos5.cloud.tencent.com/cosbrowser/cosbrowser-setup-2.9.1.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)

URL: https://cos5.cloud.tencent.com/cosbrowser/cosbrowser-setup-2.9.1.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)


Update Getting Started to add Discord.JS

Description of the PR
Added Discord.JS to the npm install command on the Getting Started page
Changes Proposed in this Pull Request (List new items in CHANGELOG.MD)
N/A
Semver Classification

[X] This PR only includes documentation or non-code changes.
[ ] This PR fixes a bug and does not change the (intended) framework interface.
[ ] This PR adds methods or properties to the framework interface.
[ ] This PR removes or renames methods or properties in the framework interface.

"About:
Klasa is an OOP discord.js bot framework which aims to be the most feature complete, while feeling like a consistant extension of discord.js.
Originally based on Komada, Klasa has become a ship of Theseus and so much more. You can only vaguely see similarities between the two frameworks anymore..."

It was already discussed in the Discord server that master Discord.js should be used

So it seems. From the package.json, it appears that stable uses master d.js.
My apologise.
My point still stands, however, you should KNOW that you need to install d.js. Should we tell people they need to install node too? And have a system to run it on? All of these things you should know, if not, you probably shouldn't be developing a bot.

Yes, you SHOULD know that Discord.JS is needed, but nothing ever said that master Discord.JS is needed.

"My point still stands, however, you should KNOW that you need to install d.js."
Not necessarily. It's a peer dep, but if it was a normal dep, it would be installed automatically.


sqlite: do not recommend usage of shared cache

Summary
This reverts parts of #20467.
SQLite Shared Cache Mode should not be used, as explained here by the devs themselves.
Enabling shared cache together with WAL leads to worse performance and locking issues. Having Cache=Shared in the default connection string is a massive footgun for anyone just copy-pasting it.

Internal previews

📄 File
🔗 Preview link

docs/standard/data/sqlite/async.md
Async limitations

docs/standard/data/sqlite/connection-strings.md
Connection strings

@dotnet-policy-service agree

They don't really list any reasons...
Our testing has shown that the combination of WAL and a shared cache gives the best throughput on server apps.
Having a shared cache is also the only way to get a ReadUncommitted isolation level in transactions which can further improve throughput in certain senarios.

This is what it looked like in my (not very scientific) testing with an ASP.NET Core app for a simple game leaderboard (WAL mode enabled)
With Cache=Shared:

Without:

With Cache=Shared I also frequently ran into database table is locked errors during long-running queries.

👍 Confirmed on our internal TechEmpower-like Fortunes benchmark.

Journal mode
Cache
Requests/sec

delete
private
25,397

delete
shared
66,610

wal
shared
69,995

wal
private
195,393


[Community][Discussion] Add code names to our releases.

Semantic versioning has a lot of technical benefits for developers and users.

Adding version code names speeds up discussions around version numbers and makes working more efficient.
People remember names better than they do numbers. The releases also become more memorable, and people are able to recall them quicker.

There are huge releases of software that already implement version code names (e.g. Android, Ubuntu). We can also add some interesting version code names to make our releases more memorable.

I think we can name our release version in alphabetical order (1.0 A***, 2.0 B***, etc.). For example, combined with constellation situation, the following names are availabie as candidates:

Andromeda
Antlia
Apus
Aquarius
Aquila
Ara
Aries
Auriga

More information can be found: https://en.wikipedia.org/wiki/Lists_of_stars_by_constellation
Any other suggestions ?

Great. Thanks @will-ww !
/start-vote Andromeda,Antlia,Apus,Aquarius,Aquila,Ara,Aries,Auriga anyone 6d

We use hypertrons Vote component to count the vote. You can join the vote by /vote your-choice.
You can also refer to https://www.hypertrons.io/#/component/vote to see more information about the Vote.

/vote Andromeda
/vote Auriga

/vote Andromeda

/vote Andromeda

/vote Auriga
There is an operation system called Andromeda which combines Android and ChromeOS. And I think we should use names with up to 3 vowels for pronunciation convenience. And also the meaning should be considered too.

/vote Aquila

/vote Aquarius

/vote Ara

/vote Auriga

Vote Summary

Andromeda: tyn1998,
Antlia:
Apus:
Aquarius: mb0ma,
Aquila: LiuChangFreeman,
Ara: zhuxiangning,
Aries:
Auriga: heming6666, frank-zsy, wengzhenjie,

📢 📢 📢
According to the voting results, we would select Auriga as our code name for the first version!

Done.


[BUG] Token Mold is not able to be installed

Describe the bug
I try to install the Module in the newest stable V11 FVTT and i get the following message:
Error: Unable to load valid module manifest data from "https://raw.githubusercontent.com/Moerill/token-mold/v2.15.1/module.json"
Module validation errors:
packs:
0:
type: may not be undefined
at Module.installPackage (file:///C:/Program%20Files/Foundry%20Virtual%20Tabletop/resources/app/dist/packages/views.mjs:1:1634)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SetupView.handlePost (file:///C:/Program%20Files/Foundry%20Virtual%20Tabletop/resources/app/dist/server/views/setup.mjs:1:2076)
fetch @ foundry.js:67697
To Reproduce
Steps to reproduce the behavior:

Go to Add-on modules in the FVTT intro page
Click on Install module
Search for token Mold
Click on Install
See error described above

Expected behavior
Expected to install the Module
Module incompatibilities
I am jsut rying to install it, so i dont think Module imcompatibilities could be an issue, But if you say so i can start uninstalling
Screenshots/GIFs/Videos
If applicable, add screenshots to help explain your problem.

A picture is worth a thousand words.

Desktop (please complete the following information):

OS: [Windows 10 Pro/22H2]
Browser [Chrome]
FVTT Version [V11 Build 302]
Module version [2.15.1]

Additional context
Add any other context about the problem here.

I'm seeing this as well

v2.15.4 is not compatible with v11, thus can't be installed.  v2.5.0 is being worked on as an intermediate release to correct this :)
Duplicate of #167


Configuring the Database Connection

As a developer, I need to configure the PostgreSQL connection using Entity Framework Core

Completed Configuring DB connection.


Custom icons for tabIcon

Short description of the problem:
For now I can use the default icon set from ionic, which is great, but I have some custom svg to display as tab icon. So can I display them directly as svg or I have to change them to a font ?
What behavior are you expecting?
I want to change some tab's icon with my own one
I can get there by a little bit hacky way like this:
.ion-ios-pulse:before {
    content: url('../images/icon-projects.svg') !important;
}

.ion-ios-pulse-outline:before {
    content: url('../images/icon-projects.svg') !important;
}

.ion-md-pulse:before {
    content: url('../images/icon-projects.svg') !important;
}

.ion-md-pulse-outline:before {
    content: url('../images/icon-projects.svg') !important;
}

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Which Ionic Version? 2.x
Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9
ios-deploy version: 1.8.5
ios-sim version: 5.0.3
OS: Mac OS X El Capitan
Node Version: v4.2.1
Xcode version: Xcode 7.2 Build version 7C68

https://forum.ionicframework.com/t/anyway-to-custom-the-tabbars-icon-with-my-own-svg-file/46131

Hello! Thanks for opening an issue with us! Since this looks like it was taken care of on the forum i will be closing this issue for now. Thanks again!

http://www.jianshu.com/p/f6488850b6a2


Remove version: Drumstick.dmidiplayer version 1.7.3

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Removal appears to be automated and in error;


PatternLs2request example crashing on browser

Enact-DCO-1.0-Signed-off-by: Nazir DOĞAN<EMAIL_ADDRESS>

Hi!  Thanks for making another PR.  Something seems to have happened with this one while targeting develop.  I can probably rebase the commits to fix this up, but I still need the Enact DCO signoff before I can merge this.  Please add the DCO to the pull request.  For quick reference, your DCO should look something like:

Enact-DCO-1.0-Signed-off-by: Nazır Doğan<EMAIL_ADDRESS>

Enact-DCO-1.0-Signed-off-by: Nazir DOĞAN<EMAIL_ADDRESS>

@webOS101

Thank you, I think this will work but I will copy it into the PR description to be sure.

 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.


Could you guys build a instalattion wizard or execution wizard

I installed PSMoveService a long time ago and it worked ok, but these days i tried to do the setup again and end it up with three workaround videos opened and another issues pages open too. I tried for 1 hour and a half and could not configure everything. Most of the problems were related to multicam problems, when I set the configuration of one camera the other 3 lost their color config.
So my question is would be too difficult to create a instalation/execution wizard for psmoveservice? That could create a sequence of events to setup the system.

I've wanted to do this for a while. @zelmon64 did a bit of work in this regard by doing the auto color/camera cycling tool in the color configuration panel. About a month ago I started work on a task tray app and installation tool for PSMoveSteamVRBridge, but that stalled out in favor of virtual HMD/virtual controller work. At some point I'd like to get back to that.


Package org.apache.datasketches.filters.quotientfilter does not exist

I clone the project, and run the command mvn clean test
It returns the error
datasketches-characterization/src/main/java/org/apache/datasketches/characterization/filters/QuotientFilterExpansionProfile.java:[5,54]
package org.apache.datasketches.filters.quotientfilter does not exist

Although we are pleased to see that this repo gets attention, and that someone tries to reproduce some measurements or, perhaps, characterize something novel, we never promised to keep this up-to-date. The readme even states this explicitly: "At any point in time this code is not necessarily up-to-date with the latest releases and thus may require some tweaking to get it to compile".
As to this particular problem, as I understand, someone checked in some code to characterize our new Quotient Filter, which is still under development, and is not a part of any release yet, and does not even exist in the master branch of the datasketches-java repo. So if you want to characterize something else, I would suggest removing classes referencing the Quotient Filter.

Thanks, after removing the Quotient* files I could run the tests.
In the web site we have this nice table with lgConfigK vs Sketch size: https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
I wonder if we have anything similar to lgConfigK vs Number of Distinct Values vs Relative Error.
The reason I'm running the tests in this repo, more specifically the HllMergeAccuracyProfile, is to find what sketch size I need to support 100B distinct values.

Relative error should saturate at the value in the table. And because it's relative error the number of distinct items won't matter.

Hi @jmalkin, just confirming, you are referring to the table at https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html?
Could you help me interpret it? For example, for lgK=12 it means we have 99.7% confidence that the max relative error is 4.697%?
In the same way, for lgK=4 we have 99.7% confidence that max relative error is 52.651%
TIA


Jewish calendar sensor update based on schedule not every 30 seconds

Description:
Since the sensor values only change on a predictable schedule it does not
make sense to recalculate every 30 seconds.
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

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

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hello @zalke,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

a7df14953c4befb55a991682ed505546610d57e6 - This commit has something that looks like an email address (zalke@outlook.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hi @zalke,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Remove all your change (sorry but look like "I don't known what I does, so I do everthing") and add a SCAN_INTERVAL=timedelta(minutes=30) on top of your file

@pvizeli There's merit to what @zalke is trying to do. The sensors calculate times that are part of the Jewish calendar. There's no point in calculating every 30 seconds as the sensors only update values a few times a day. Please see my review.
Changing to a scan interval of 30 minutes won't help as we might miss the exact time we want the sensors to be updated.

@zalke if you have no plans on modifying you're code, I suggest this PR be closed.
I'll try to implement your excellent suggestions in the future, but it's definitely not a priority for me.
Thank you very much for your insights.


regenerate libtrust key when loding error.

Now the docker daemon will abort initializing if It loads the libtrust
key uncorrectly, which may make touble.
So with this patch, the daemon will regenerate a new key on this
situation. And it also logs this event.
Signed-off-by: Liu Hua<EMAIL_ADDRESS>

Hi @liusdu! Drone is reporting that the api/common.go file you patched was not properly formatted: can you please run gofmt -s -w on it and amend your commit?
Ping @dmcgowan regarding the patch itself.

The daemon should never overwrite the key file.  If there is problem loading the key file, the problem with the file should be corrected or removed manually.  The daemon will not generate a file it cannot reload later. If you are seeing the mismatched key error, this was the result of a using an old development build and it is best to remove the key file.

Thanks for your advice  @icecrime!

@liusdu No problem! However @dmcgowan is really the expert on libtrust related patches, so I'm afraid if he disagrees on this we won't be merging it.

Hi @dmcgowan .  If I run a daemon on my test PC, It does not matter. But we want to manage many VMs with docker service (using docker machine or other tools).  It will be terrible after an unlucky update.   So should we do something to solve this automatically. Or the community already did something？

A corrupted libtrust key should not be treated any differently than a corrupted SSl key.  If it cannot be loaded the daemon will throw an error.  Since this key is used to identity the daemon, simply overwriting cannot be the correct behavior. If the file is corrupted it, it should be replaced or removed to be regenerated by the daemon.  Is your concern that an update to Docker will fail to the load the key or an update to the file will be bad?

I concern docker update. On my PC,  the daemon failed to load the key after an update. I only see it once. I think It maybe a trouble for clouds with many docker daemons.  Am I at the point?

I would need to see what the error is. The only change to the file that would fail a load was done in dev before we finalized the format for release. I would not expect you would run development builds on your cloud, so you shouldn't have that problem. We appreciate you testing dev builds and RCs and whenever you see such an error I am happy to take a look.

I am on a business trip，so maybe I can not provide it quite soon.  Thank you for your explanation！what I can remember is that The key is stored in user' home path.

@dmcgowan  I close this request!


unexpected 'dim_ordering'

Could you provide suggestions for diagnosing this error: TypeError:  __init__() got an unexpected keyword argument 'dim_ordering'?
This file SimGAN-dim_ordering.txt lists software versions and the run log.
Thanks
Gene Miller
<EMAIL_ADDRESS>

The the call to image.ImageDataGenerator in the Kaggle notebook uses data_format='channels_last' instead of dim_ordering='tf'
I will try this fix. Meanwhile, I'm closing this issue for now.

You most likely are using an outdated version of keras. Update to keras v2 (pip install -U keras). If not possible for you to update revert to a commit before I updated code for keras v2

I met this error while using the Keras v2.0.

It works when I commented remove the dim_ordering='tf'
datagen = image.ImageDataGenerator(
preprocessing_function=applications.xception.preprocess_input)


Fix wrong naming in multiple files

The instructions are wrong as there's a collition with another gem
called as this gem is not using that name.
Renaming to loveos-rack-session-redis

I have to love you @alcesleo, like to any grandmother.


Minor changes

disable assets
use Integer instead of Fixnum
upgrade newrelic_rpm, redis, rabl, sidekiq and sidekiq-scheduler

 [TARIFF17] Ruby on Rails 5.1 upgrade (and related gems) / Ruby 2.4.1


added reverse order download and download n options

E.g.:
antfs-cli -r -n 3 Would download the three most recent activities then stop.

Closed due to error.


cfbridge connected but cannot roslaunch mavros

Hi , I want to put px4 software on the crazyflie 2.0
and I follow this instruction
https://docs.px4.io/en/flight_controller/crazyflie2.html#quick-summary
I have done to the step that
cfbridge can make run and the console show connected
and now I have some problems:

I cannot roslaunch mavros px4.launch fcu_url:="udp://:14550@<IP_ADDRESS>:14555" in ROS
It show error like this
ncrl@ncrl-VirtualBox:~/cfbridge$ roslaunch mavros px4.launch fcu_url:="udp://:14550@<IP_ADDRESS>:14555"
... logging to /home/ncrl/.ros/log/f845a84c-b55b-11e7-829b-0800273f37ab/roslaunch-ncrl-VirtualBox-17411.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ncrl-VirtualBox:41977/

SUMMARY
========

CLEAR PARAMETERS
 * /mavros/

PARAMETERS
 * /mavros/cmd/use_comp_id_system_control: False
 * /mavros/conn/heartbeat_rate: 1.0
 * /mavros/conn/system_time_rate: 1.0
 * /mavros/conn/timeout: 10.0
 * /mavros/conn/timesync_rate: 10.0
 * /mavros/distance_sensor/hrlv_ez4_pub/field_of_view: 0.0
 * /mavros/distance_sensor/hrlv_ez4_pub/frame_id: hrlv_ez4_sonar
 * /mavros/distance_sensor/hrlv_ez4_pub/id: 0
 * /mavros/distance_sensor/hrlv_ez4_pub/orientation: ROLL_180
 * /mavros/distance_sensor/hrlv_ez4_pub/send_tf: True
 * /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/x: 0.0
 * /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/y: 0.0
 * /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/z: -0.1
 * /mavros/distance_sensor/laser_1_sub/id: 3
 * /mavros/distance_sensor/laser_1_sub/orientation: ROLL_180
 * /mavros/distance_sensor/laser_1_sub/subscriber: True
 * /mavros/distance_sensor/lidarlite_pub/field_of_view: 0.0
 * /mavros/distance_sensor/lidarlite_pub/frame_id: lidarlite_laser
 * /mavros/distance_sensor/lidarlite_pub/id: 1
 * /mavros/distance_sensor/lidarlite_pub/orientation: ROLL_180
 * /mavros/distance_sensor/lidarlite_pub/send_tf: True
 * /mavros/distance_sensor/lidarlite_pub/sensor_position/x: 0.0
 * /mavros/distance_sensor/lidarlite_pub/sensor_position/y: 0.0
 * /mavros/distance_sensor/lidarlite_pub/sensor_position/z: -0.1
 * /mavros/distance_sensor/sonar_1_sub/id: 2
 * /mavros/distance_sensor/sonar_1_sub/orientation: ROLL_180
 * /mavros/distance_sensor/sonar_1_sub/subscriber: True
 * /mavros/fake_gps/eph: 2.0
 * /mavros/fake_gps/epv: 2.0
 * /mavros/fake_gps/fix_type: 3
 * /mavros/fake_gps/geo_origin/alt: 408.0
 * /mavros/fake_gps/geo_origin/lat: 47.3667
 * /mavros/fake_gps/geo_origin/lon: 8.55
 * /mavros/fake_gps/gps_rate: 5.0
 * /mavros/fake_gps/mocap_transform: True
 * /mavros/fake_gps/satellites_visible: 5
 * /mavros/fake_gps/tf/child_frame_id: fix
 * /mavros/fake_gps/tf/frame_id: map
 * /mavros/fake_gps/tf/listen: False
 * /mavros/fake_gps/tf/rate_limit: 10.0
 * /mavros/fake_gps/tf/send: False
 * /mavros/fake_gps/use_mocap: True
 * /mavros/fake_gps/use_vision: False
 * /mavros/fcu_url<EMAIL_ADDRESS> * /mavros/gcs_url:
 * /mavros/global_position/frame_id: map
 * /mavros/global_position/rot_covariance: 99999.0
 * /mavros/global_position/tf/child_frame_id: base_link
 * /mavros/global_position/tf/frame_id: map
 * /mavros/global_position/tf/global_frame_id: earth
 * /mavros/global_position/tf/send: False
 * /mavros/global_position/use_relative_alt: True
 * /mavros/image/frame_id: px4flow
 * /mavros/imu/angular_velocity_stdev: 0.000349065850399
 * /mavros/imu/frame_id: base_link
 * /mavros/imu/linear_acceleration_stdev: 0.0003
 * /mavros/imu/magnetic_stdev: 0.0
 * /mavros/imu/orientation_stdev: 1.0
 * /mavros/local_position/frame_id: map
 * /mavros/local_position/tf/child_frame_id: base_link
 * /mavros/local_position/tf/frame_id: map
 * /mavros/local_position/tf/send: False
 * /mavros/local_position/tf/send_fcu: False
 * /mavros/mission/pull_after_gcs: True
 * /mavros/mocap/use_pose: True
 * /mavros/mocap/use_tf: False
 * /mavros/odometry/estimator_type: 3
 * /mavros/odometry/frame_tf/desired_frame: ned
 * /mavros/plugin_blacklist: ['safety_area', '...
 * /mavros/plugin_whitelist: []
 * /mavros/px4flow/frame_id: px4flow
 * /mavros/px4flow/ranger_fov: 0.118682389136
 * /mavros/px4flow/ranger_max_range: 5.0
 * /mavros/px4flow/ranger_min_range: 0.3
 * /mavros/safety_area/p1/x: 1.0
 * /mavros/safety_area/p1/y: 1.0
 * /mavros/safety_area/p1/z: 1.0
 * /mavros/safety_area/p2/x: -1.0
 * /mavros/safety_area/p2/y: -1.0
 * /mavros/safety_area/p2/z: -1.0
 * /mavros/setpoint_accel/send_force: False
 * /mavros/setpoint_attitude/reverse_thrust: False
 * /mavros/setpoint_attitude/tf/child_frame_id: target_attitude
 * /mavros/setpoint_attitude/tf/frame_id: map
 * /mavros/setpoint_attitude/tf/listen: False
 * /mavros/setpoint_attitude/tf/rate_limit: 50.0
 * /mavros/setpoint_attitude/use_quaternion: False
 * /mavros/setpoint_position/tf/child_frame_id: target_position
 * /mavros/setpoint_position/tf/frame_id: map
 * /mavros/setpoint_position/tf/listen: False
 * /mavros/setpoint_position/tf/rate_limit: 50.0
 * /mavros/startup_px4_usb_quirk: True
 * /mavros/sys/disable_diag: False
 * /mavros/sys/min_voltage: 10.0
 * /mavros/target_component_id: 1
 * /mavros/target_system_id: 1
 * /mavros/tdr_radio/low_rssi: 40
 * /mavros/time/time_ref_source: fcu
 * /mavros/time/timesync_avg_alpha: 0.6
 * /mavros/time/timesync_mode: MAVLINK
 * /mavros/vibration/frame_id: base_link
 * /mavros/vision_pose/tf/child_frame_id: vision_estimate
 * /mavros/vision_pose/tf/frame_id: map
 * /mavros/vision_pose/tf/listen: False
 * /mavros/vision_pose/tf/rate_limit: 10.0
 * /mavros/vision_speed/listen_twist: False
 * /rosdistro: kinetic
 * /rosversion: 1.12.7

NODES
  /
    mavros (mavros/mavros_node)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[mavros-1]: started with pid [17430]
[FATAL] [1508479805.283950117]: UAS: GeographicLib exception: File not readable /usr/share/GeographicLib/geoids/egm96-5.pgm | Run install_geographiclib_dataset.sh script in order to install Geoid Model dataset!
================================================================================REQUIRED process [mavros-1] has died!
process has finished cleanly
log file: /home/ncrl/.ros/log/f845a84c-b55b-11e7-829b-0800273f37ab/mavros-1*.log
Initiating shutdown!
================================================================================
[mavros-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

the firmware version is
https://github.com/dennisss/Firmware branch：cf2-rc
Is this version correct?

when cfbridge connected successfully , I cannot see my cf2 in QGC , am I really connect successfully?
Thank you for your replying

[FATAL] [1508479805.283950117]: UAS: GeographicLib exception: File not readable /usr/share/GeographicLib/geoids/egm96-5.pgm | Run install_geographiclib_dataset.sh script in order to install Geoid Model dataset!

Did you follow the instructions on how to install mavros? You have the answer on the error: Run install_geographiclib_dataset.sh script in order to install Geoid Model dataset!

@TSC21 It works!thank you!!

So is this issue completely solved to you?

another problem：
when I rostopic echo /mavros/imu/data
it echos very slow,how can I solve this

It simply means you are missing some bandwidth. You might blacklist the unused plugins.
https://github.com/mavlink/mavros/blob/master/mavros/launch/px4_pluginlists.yaml

I blacklist these unused plugins,but imu still echo very slow ,any other solutions?
plugin_blacklist:
# common
- rangefinder
- safety_area
- px4flow
- 3dr_radio
- distance_sensor
- 'vision_*'
- vibration
- fake_gps
- global_position
- setpoint_raw
- waypoint
- hil
- home_position
- vfr_hud
- adsb
- rc_io
# extras
- image_pub
- vibration
- distance_sensor
- rangefinder

plugin_whitelist: []
#- 'sys_*'

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)


(GH-115) Prepare for 0.19.0 release

This commit prepares the module for  a 0.19.0 release

Self merging after conversation with @jpogran


Command errors should print actual command rather than template

When a command errors, the configuration is printed:
https://github.com/TakeScoop/kubectl-exec-forward/blob/981d22655715dddc1953b4957dc7f99be3903e3c/internal/command/command.go#L101-L103
What the user wants is to see the actual command that ran and failed, not the command template defined by the administrator.

Yep, noticed this today when testing


Building Plone runs out of memory

see https://discourse.nixos.org/t/mach-nix-create-python-environments-quick-and-easy/6858/73?u=davhau

Hi @DavHau, I should have opened an issue in the first place ;-)
So I've run the following command with the 2.4.1 version:
mach-nix  env -p 3.8 -r requirements-buildout.txt plone-env

and where requirements-buildout.txt contains the following data:
AccessControl==4.2
Acquisition==4.6
AuthEncoding==4.1
BTrees==4.7.2
Chameleon==3.8.1
DateTime==4.3
DocumentTemplate==3.3
ExtensionClass==4.4
Markdown==3.2.2
Missing==4.1
MultiMapping==4.1
Paste==3.4.1
PasteDeploy==2.1.0
Persistence==3.0
Pillow==6.2.2
Plone==5.2.2
Products.BTreeFolder2==4.2
Products.CMFCore==2.4.8
Products.CMFDiffTool==3.3.1
Products.CMFDynamicViewFTI==6.0.3
Products.CMFEditions==3.3.4
Products.CMFFormController==4.1.2
Products.CMFPlacefulWorkflow==2.0.2
Products.CMFPlone==5.2.2
Products.CMFQuickInstallerTool==4.0.3
Products.CMFUid==3.0.2
Products.DCWorkflow==2.4.1
Products.DateRecurringIndex==3.0.1
Products.ExtendedPathIndex==4.0.0
Products.ExternalMethod==4.4
Products.GenericSetup==2.0.2
Products.MailHost==4.9
Products.MimetypesRegistry==2.1.7
Products.PlonePAS==6.0.6
Products.PluggableAuthService==2.4
Products.PluginRegistry==1.8
Products.PortalTransforms==3.1.8
Products.PythonScripts==4.12
Products.Sessions==4.6
Products.SiteErrorLog==5.4
Products.StandardCacheManagers==4.0.3
Products.TemporaryFolder==5.3
Products.ZCatalog==5.1
Products.ZopeVersionControl==2.0.0
Products.isurlinportal==1.1.0
Products.statusmessages==5.0.5
PyJWT==1.7.1
Record==3.5
RestrictedPython==5.0
Unidecode==0.4.1
WSGIProxy2==0.4.6
WebOb==1.8.6
WebTest==2.0.35
ZConfig==3.5.0
ZEO==5.2.2
ZODB==5.6.0
ZODB3==3.11.0
Zope==4.5.1
Zope2==4.0
attrs==19.3.0
beautifulsoup4==4.9.1
borg.localrole==3.1.8
calmjs.parse==1.2.4
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
collective.monkeypatcher==1.2.1
cssselect==1.1.0
decorator==4.4.2
diazo==1.4.0
docutils==0.16
feedparser==5.2.1
five.customerize==2.0.1
five.intid==1.2.6
five.localsitemanager==3.2.2
future==0.18.2
icalendar==4.0.6
idna==2.10
jsonschema==3.2.0
lxml[cssselect]==4.5.1
mockup==3.2.2
persistent==4.6.4
piexif==1.1.3
plone.alterego==1.1.5
plone.api==1.10.2
plone.app.caching==2.0.6
plone.app.content==3.8.6
plone.app.contentlisting==2.0.2
plone.app.contentmenu==2.3.2
plone.app.contentrules==4.1.4
plone.app.contenttypes==2.1.10
plone.app.customerize==1.3.11
plone.app.dexterity[relations]==2.6.5
plone.app.discussion==3.4.2
plone.app.event==3.2.7
plone.app.i18n==3.0.6
plone.app.intid==1.1.4
plone.app.iterate==3.3.14
plone.app.layout==3.4.4
plone.app.linkintegrity==3.3.13
plone.app.locales==5.1.24
plone.app.lockingbehavior==1.0.7
plone.app.multilingual==5.6.1
plone.app.portlets==4.4.5
plone.app.querystring==1.4.14
plone.app.redirector==2.2.1
plone.app.registry==1.7.6
plone.app.relationfield==2.0.2
plone.app.textfield==1.3.4
plone.app.theming==4.1.4
plone.app.upgrade==2.0.34
plone.app.users==2.6.5
plone.app.uuid==2.0.2
plone.app.versioningbehavior==1.4.1
plone.app.viewletmanager==3.1.1
plone.app.vocabularies==4.2.0
plone.app.widgets==3.0.4
plone.app.workflow==4.0.2
plone.app.z3cform==3.2.1
plone.autoform==1.9.0
plone.batching==1.1.6
plone.behavior==1.3.2
plone.browserlayer==2.2.3
plone.cachepurging==2.0.2
plone.caching==1.2.2
plone.contentrules==2.0.10
plone.dexterity==2.9.7
plone.event==1.4.1
plone.folder==3.0.3
plone.formwidget.namedfile==2.1.0
plone.formwidget.recurrence[z3cform]==2.1.4
plone.i18n==4.0.6
plone.indexer==1.0.7
plone.intelligenttext==3.1.0
plone.keyring==3.1.2
plone.locking==2.2.4
plone.memoize==2.1.0
plone.namedfile[blobs,scales]==5.4.0
plone.outputfilters==4.0.1
plone.portlet.collection==3.3.3
plone.portlet.static==3.1.4
plone.portlets==2.3.2
plone.protect==4.1.5
plone.recipe.zope2instance==6.7.5
plone.registry==1.1.6
plone.resource==2.1.2
plone.resourceeditor==3.0.2
plone.rest==1.6.1
plone.restapi==6.13.7
plone.rfc822==2.0.2
plone.scale[storage]==3.1.1
plone.schema==1.2.1
plone.schemaeditor==3.0.1
plone.session==3.7.5
plone.staticresources==1.3.2
plone.stringinterp==1.3.2
plone.subrequest==1.9.2
plone.supermodel==1.6.2
plone.synchronize==1.0.4
plone.theme==3.0.7
plone.transformchain==2.0.2
plone.uuid==1.0.6
plone.z3cform==1.1.3
plonetheme.barceloneta==2.1.9
ply==3.11
pyScss==1.3.7
pycparser==2.20
pyrsistent==0.15.7
python-dateutil==2.8.1
python-gettext==4.0
pytz==2020.1
repoze.xmliter==0.6
requests==2.24.0
roman==3.2
simplejson==3.17.0
six==1.15.0
soupsieve==1.9.6
tempstorage==5.1
transaction==3.0.0
urllib3==1.25.9
waitress==1.4.4
z3c.autoinclude==0.4.0
z3c.caching[zcml]==2.2
z3c.form==3.7.0
z3c.formwidget.query==0.17
z3c.objpath==1.2
z3c.pt==3.3.0
z3c.relationfield==0.9.0
z3c.zcmlhook==1.0b1
zExceptions==4.1
zc.lockfile==2.0
zc.recipe.egg==2.0.7
zc.relation==1.1.post2
zdaemon==4.3
zodbpickle==2.0.0
zope.annotation==4.7.0
zope.app.locales==4.1
zope.browser==2.3
zope.browsermenu==4.4
zope.browserpage==4.4.0
zope.browserresource==4.4
zope.cachedescriptors==4.3.1
zope.component[zcml]==4.6.2
zope.componentvocabulary==2.2.0
zope.configuration==4.4.0
zope.container==4.4.0
zope.contentprovider==4.2.1
zope.contenttype==4.5.0
zope.copy==4.2
zope.deferredimport==4.3.1
zope.deprecation==4.4.0
zope.dottedname==4.3
zope.event==4.4
zope.exceptions==4.3
zope.filerepresentation==5.0.0
zope.globalrequest==1.5
zope.hookable==5.0.1
zope.i18n[zcml]==4.7.0
zope.i18nmessageid==5.0.1
zope.interface==5.0.2
zope.intid==4.3.0
zope.keyreference==4.2.0
zope.lifecycleevent==4.3
zope.location==4.2
zope.pagetemplate==4.5.0
zope.processlifetime==2.3.0
zope.proxy==4.3.5
zope.ptresource==4.2.0
zope.publisher==5.2.1
zope.ramcache==2.3
zope.schema==6.0.0
zope.security==5.1.1
zope.sendmail==5.1
zope.sequencesort==4.1.2
zope.site==4.3.0
zope.size==4.3
zope.structuredtext==4.3
zope.tal==4.4
zope.tales==5.1
zope.testbrowser==5.5.1
zope.testing==4.7
zope.traversing==4.4.1
zope.viewlet==4.2.1

setuptools

trying with 3.0.0 exits almost immediately with the following:
The Package 'python-gettext' is not available from any of the selected providers {'nixpkgs', 'sdist', 'wheel'}
 for the selected python version
If the package's initial release date predates the release date of mach-nix, either upgrade mach-nix itself or manually specify 'pypi_deps_db_commit' and
'pypi_deps_db_sha256 for a newer commit of https://github.com/DavHau/pypi-deps-db/commits/master
If it still doesn't work, there was probably a problem while crawling pypi.
Please open an issue at: https://github.com/DavHau/mach-nix/issues/new

builder for '/nix/store/5b4in4sih79vcrabxa1c0vz5y9c5mr9y-mach_nix_file.drv' failed with exit code 1
error: build of '/nix/store/5b4in4sih79vcrabxa1c0vz5y9c5mr9y-mach_nix_file.drv' failed

But about the error message, I don't understand what manually specify 'pypi_deps_db_commit' and 'pypi_deps_db_sha256 for a newer commit means... where should I specify it?

Hey I debugged it a little today and it seems like the problem is with my cycle detection algo.
It might be to inefficient or caught in an endless loop. Will try to fix it asap

I thought it as well, but I haven't debugged it. The strange thing is the memory consumption tho... there should be something that leaks or that fills data into a global object at every cycle.

The problem should be fixed on master. Could you try again and let me know?

The main problem is that for printing the dependencies on the cmdline, I transform a DAG into a tree. Many nodes or sub-trees would have to be printed many times due to this conversion. If the DAG is too complex, then the tree representation becomes infinitely large.
I now made an optimization, so that the printed dependency tree will be shortened with a ... whenever the particular sub tree has been printed already

The master now completes the task quickly, thanks! Unfortunately activating the built environment exits with an error:
[nix-shell:~/plone-nix/plone-env]$ nix-shell --show-trace
error: while evaluating the attribute 'nativeBuildInputs' of the derivation 'interactive-python3-3.7.9-environment' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/wrapper.nix:54:9:
while evaluating the attribute 'passAsFile' of the derivation 'python3-3.7.9-env' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/wrapper.nix:15:13:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:649:17:
while evaluating anonymous function at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:152:16, called from undefined position:
while evaluating the attribute 'out.outPath' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/customisation.nix:156:13:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'python3.7-zope.tales-5.1' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:110:5:
while evaluating 'chooseDevOutputs' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/attrsets.nix:475:22, called from undefined position:
while evaluating 'optionals' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:270:5, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:122:10:
while evaluating 'hasSuffix' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/strings.nix:212:5, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:122:25:
while evaluating the attribute 'src.name' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/build-support/fetchurl/default.nix:122:3:
\u characters in JSON strings are currently not supported

Another issue seems that it has created  a py3.7 environment even if  -p 3.8 had been specified

That \u characters in JSON strings are currently not supported error can be prevented by using nixFlakes.
nix-shell -p nixFLakes
I'll check why the python versions don't match.
In the meantime you can use a nix expression instead of the cmdline tool. Setting the python version there should definately work.

I could not verify that -p doesn't work.
Could you provide me with some more detail? Which command did you execute?

Hi,
Il 21 ottobre 2020 09:46:34 CEST, DavHau<EMAIL_ADDRESS>ha scritto:

I could not verify that -p doesn't work.
Could you provide me with some more detail? Which command did you
execute?

You can find it in one of initial comments on this issue
--
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

The json problem is fixed via https://github.com/DavHau/mach-nix/commit/967b21f331ebd9cb410211c581ce2b9e54b4522e
The version mismatch problem is fixed via https://github.com/DavHau/mach-nix/commit/ddddcaa7741b1db360733701b1fda8bfc7f9dd18

thanks


Update stdlib, inifile, concat, archive dependencies

Pull Request (PR) description
Updates splunk module against current dependencies
This Pull Request (PR) fixes the following issues

Needs a modulesync, see #322.

@gcoxmoz , can you rebase this? Modulesync PR was merged, so this should pass now


Removed coverage.yml

🚀 Description
📱 Checklist

[ ] Tested on all supported devices and OS versions
[ ] UI/UX conforms to project design guidelines
[ ] Unit/integration tests added
[ ] Relevant documentation updated (e.g., README, Wiki, etc.)
[ ] Checked linter on local.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


chore(infrastructure): remove all .npmignores

fixes https://github.com/material-components/material-components-web-react/issues/466

Codecov Report

Merging #468 into rc0.7.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           rc0.7.x     #468   +/-   ##
========================================
  Coverage    96.67%   96.67%
========================================
  Files           59       59
  Lines         1984     1984
  Branches       234      234
========================================
  Hits          1918     1918
  Misses          66       66

Continue to review full report at Codecov.

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


I need to remove tooltip i.e title for entire graph. How can it be done

I can think of two possible approaches:

Modify the SVG to remove the <title> elements.
Specify something in nodeAttributes and related options.

If you can do this by specifying command-line options for the regular Graphviz dot command and the -N option, you should be able to do this with the second approach. However, I don't know what attribute you'd use.

I think you can set tooltip=" " on the graph.

That does replace the default graph tooltip, but there will still be a title element with a single space. Does that work for your use case @GTharunesh?
Starting with this graph:
digraph "my graph" {
  a -> b
}

Graphviz generates SVG with <title>my graph</title>, etc.
If I specify tooltip=" ", like this:
digraph "my graph" {
  tooltip=" "
  a -> b
}

That's equivalent to the command-line option -Gtooltip=" " or something like this with the Viz.js API:
viz.renderSVGElement("digraph { ... }", { graphAttributes: { tooltip: " " } })

An anchor with a title is added to the graph: <a xlink:title=" ">.
I still see a tooltip, at least in Safari: (this is a screenshot, but the cursor didn't show up)

Setting a blank string seems to be considered "not set" and the default tooltip is used.

Closing because I view this as a question about Graphviz rather than Viz.js specifically.
I have some vague ideas about further customizing the SVG output from Viz.js that could address this but no concrete plan right now.


Use record min/max values for raster bands

This is part of content_info in the MCF spec:
dimensions:
    type: array
    items:
        type: object
        properties:
            name:
                type: string
                description: name of dimension
            units:
                type: string
                description: units in which sensor wavelengths are expressed
            min:
                type: number
                description: shortest wavelength that the sensor is capable of collecting within a designated band
            max:
                type: number
                description: longest wavelength that the sensor is capable of collecting within a designated band
        required:
            - name
            - units
            - min
            - max

Given these descriptions, it's not clear that this is relevant info for most rasters that we work with. But @empavia suggested that min/max could hold the min & max pixel values, and that does seem like useful metadata. Although those stats would pertain to each band, so maybe there is actually a different place for them in the attributes section of content_info:
values:
    type: object
    oneOf:
        - properties:
              enum:
                  type: array
                  description: enumerated list of values
                  minItems: 1
                  items:
                      $ref: '#/definitions/any_type'
        - properties:
              range:
                  type: array
                  description: range of values (min/max)
                  minItems: 2
                  maxItems: 2
                  items:
                      $ref: '#/definitions/any_type'
        - properties:
              codelist:
                  type: array
                  description: values from a codelist
                  minItems: 1
                  items:
                      type: object
                      properties:
                          name:
                              type: string
                              description: value name
                          title:
                              $ref: '#/definitions/i18n_string'
                              description: human readable title of value
                          abstract:
                              $ref: '#/definitions/i18n_string'
                              description: description of value
                          url:
                              $ref: '#/definitions/i18n_string'
                              description: URL with more information about the value
                      required:
                              - name

If we think this is useful for raster bands, should we also be supporting it for vector fields?

As of #24 we no longer need to figure out where in the MCF schema this should go, but we certainly consider adding it to the BandSchema.
Finding min/max values could be expensive for large datasets.

As of #24 we no longer need to figure out where in the MCF schema this should go, but we certainly consider adding it to the BandSchema.
Finding min/max values could be expensive for large datasets.

As time goes on, and as I curate more data, the less this may be relevant for the YAML. It may still be useful for people in some cases, however an aux.xml file may contain the relevant info and that may be included instead. Otherwise, a quick use of gdal info could get people the information they would need.

Given @empavia suggested alternatives, and the fact that our support of remote datasets means we want to avoid reading an entire dataset in order to generate metadata, I suggest we do not implement this one for now.