DaaS WebJob

Can this page include some information on the DaaS WebJob that seems to be linked to this feature? It starts running at least when you prepare to take a memory dump, but more info about what it does and when it shows up would be useful.

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

ID: fd8426b2-dbe5-9a46-4045-55cc26806641
Version Independent ID: 99eef6e6-7978-1008-4d6f-a5ae566a6305
Content: Azure App Service diagnostics overview
Content Source: articles/app-service/overview-diagnostics.md
Service: app-service
GitHub Login: @Jen7714
Microsoft Alias: jennile

Hi @dcbrown16 - Thank you for your feedback! We will review and update as appropriate.

@dcbrown16 Thanks again for the feedback! You may refer to this blog https://azure.microsoft.com/en-in/blog/daas/  I have shared your feedback with the content owner for further review.

Thanks @SnehaAgrawal-MSFT, I did see that blog but while the WebJob is still around, the experience described there is out of date. I'd like to see the document specifically mention when the DaaS WebJob is started and generally what it does.

I agree with @dcbrown16. It would be nice to have updated information regarding DaaS Webjob which might include when does it starts running, how much resources it might use and is it safe to stop it when we don't need any diagnostic analysis (to reduce usage of our app service resources).

https://github.com/Azure/DaaS/wiki

Internal item created: https://dev.azure.com/msft-skilling/Content/_workitems/edit/288719
#please-close


Move TLS connection data out from net_context

As an interim solution, TLS connection data has been initially stored in the net_context structure. This is not ideal as there can be a mixed set of TLS and non-TLS connection. Move out TLS data into a separately handled memory area.

Done in #7118, invalid in #8814.


feat(tutorial): complete step 2 (boe)

@ZrianinaMariia, here is my pull req for the step2 of the tutorial. Sorry for submitting this so late.
See you tomorow morning !
Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

@daniel-m-s Looks spectacular 🥇! I've recorded your completion of step 2.
See you at the next hands-on session 👋


Wrong boolean value in RobotsTxtValidator.php?

In https://github.com/bopoda/robots-txt-parser/blob/master/src/RobotsTxtParser/RobotsTxtValidator.php, there's a chunk of code at line 47:
        $hasAllowDirectives = true;
        foreach ($orderedDirectives as $directiveRow) {
            if ($directiveRow['directive'] == 'allow') {
                $hasAllowDirectives = true;
                break;
            }
        }

Shouldn't that be:
        $hasAllowDirectives = **false**;
        foreach ($orderedDirectives as $directiveRow) {
            if ($directiveRow['directive'] == 'allow') {
                $hasAllowDirectives = true;
                break;
            }
        }

Yes, you are right @scott8035 . The initial intention was as in code you provided.
In general it should work, but extra condition does not give profit.
Will have a look at this class later to improve.


missing corrections and new functionality of 12.5 from codeplex project

It seems that a lot of improvements from codeplex project are not in that version.
Why?

Because I used the last release for the transfer rather than everything that had been checked in so far.

It's a pity. There were a lot of bug fixes and good enhancements in the last years. It would be good not to loose them.

I've just updated the 12.6 code line with the missing changes.  Working on the 2017 code line now.

2017 has been updated as well.  I didn't create new releases though.

Thank you.
I miss some objects under source control: f_removeduplicate, s_classoverview_attrib, pfc_w_debugjson, w_debugjson. (Objects are in PBLs but not under source control)

Good catch.  I just corrected that.


mockbuild: use mock to build source rpm

Running make srpm on the host can have different results from building
the SRPM in mock.
Stop using the Makefile altogether for this, which is meant for
developer convenience only. The interface is clear: a tarball generated
from git archive and defining the commit variable. Less stuff to
install on the host, too.
Also includes a commit simplifying the way we make rpm.

Update to make spellcheck happy.


updated federated id steps

@edewit and @gastaldi do you mind looking over the updates?

merged: ecb4b2943753e4c6043914b52c2accee5333929b


bug: Use DeepL for translations toggle isn't disabled in Settings > Languages

Describe the bug
A very minor thing, but the Use DeepL for translations toggle in Settings > Languages acts a bit weirdly if you don't have an active Pro subscription
To reproduce
Open Settings > Languages when you don't have an active Pro subscription and observe the funky behaviour of the Use DeepL for translations toggle. It's not disabled, but if you try to toggle it on it quickly toggles off again.
https://github.com/mozzius/graysky/assets/149612116/c7f4a960-2bd6-4eec-bbb6-6c21c625792c
Additional information
No response

Fixed in the version after next

Thanks!


Add API that supports basic authentication

Is there possibility add API that supports basic authentication?

@linuxchata I have something similar that have USER/PASS (keep in mind all the data is publicly exposed) auth http://www.losnomadas.co/lorem


Initial improvements to the Client-Server API section

This PR was originally aimed at doing basic proof reading of the spec, hence the branch name. This turned primarily into work on the CS API section which is woefully bad compared to other parts of the spec (e.g. Modules). This PR tries to improve the big gaping holes (e.g. mentioning dir=b) and also overall improve this section.
First, this PR swaggerifies CS endpoints like:

/createRoom
/rooms/{roomId}/messages

It also inserts existing swagger documentation where there wasn't any (e.g. /initialSync). Finally, it attempts to re-shuffle subsections into more sane groupings and orderings, but this will need much more work.
There's a lot I'm not happy about with this section which will be done in subsequent PRs. This includes:

Registration/Login:

Given the r0/r1 discussion recently, we should not be constantly referring to "version 2" in this section.
What is a "User-Interactive Authentication API"? Registration? Login? Is there a "Non-User Interactive Authentication API"?
We need to give better examples of a complete registration flow. Ditto login flow. This is particularly bad for these two APIs which varies depending on the homeserver (unlike every other API which has constant inputs and outputs).
We need to check for lies, specifically the "Fallback" API which AFAIK v2 registration does not support.
We need to swaggerify registration APIs, changing password API, 3PID API.

Pagination

The documentation on pagination is wrong. I've made it tell more of the truth but really we need to re-write it when we have more than 1 paginatable API. It was originally envisaged that there would be multiple APIs which would be paginatable and that they would have a common interface for doing this. This is less true now since only the /messages endpoint paginates, so things like dir=f and start= make no sense.

Directory API

Needs swagger

Membership APIs

Needs swagger for /leave, /ban, /kick etc.

Sync APIs

/initialSync and /events are intricately linked together and this should be made a lot clearer in the spec (especially since v2 combines these concepts). At the moment there is far too much fluff around how it's a "stream" and the fact you can navigate it, and less about how to get the data you want from the server.

General

Should be broken up into smaller documents so we can actually use targets.yaml to construct the sections. Even with the swagger work I've done in this PR, 1-client_server_api.rst is still over 1k lines.

This is all in addition to other minor tweaks which need to be done in various SPEC issues.

LGTM after two comments


Added some i2p related address

You can find the description of how i2p address works here https://geti2p.net/en/docs/naming.
Bob, samX must be over udp or tcp address.
I think it can be used like that :
First listen on a i2p gateway :
/ip((4/<gateway ip, usually <IP_ADDRESS>>)|(6/<gateway ip, usually ::1>))/((tcp)|(udp))/<port>/((bob)|(sam[1-3]))/<upstream hops 0-7>,<downstream hops 0-7>,<upstream tunnels 1-6>,<downstream tunnels 1-6>,<Upstream alterator -1 to 2>,<Downstream alterator -1 to 2>,([bds]|(both)|(datagrams)|(streaming))

There is 2 protocol, bob and sam, sam3 is the best of all (it have a lot of good idea of bob but multiplexed), bob is for more edge case and older version of sam are here if your node doesn't support newer one.
Upstream and Downstream hops is the number of relay to the rendez-vous (0 is a good choice if you are also serving on non anonymized network (0 disable anonymity but greatly improve speed, useful for providing an i2p to internet node), else 3 is a standard but this choice is yours) range is 0-7 (in i2p but maybe raise in future).
Tunnels count range is 1-6, limited by i2p can maybe be raised (with cpu performance at cost but higher multiple bandwidth), need test to about possible raising.
Upstream and Downstream alterator is of how many hops the tunnel must be randomly altered. All positive number are number of more hops added. So for 3 hops and 2 alteration the number of hops will be randomly between 3-5 (included) hops. For negative one that 2 directional, so 3 hops and -1 alterator the random will choose one between 2-4 (included) hops. This one is very limited is extremely dangerous if you do an error (but still proposed by i2p), also these kind of Multiaddrs will be encoded (and reprinted) as 2 hops and 2 alterator (which is totally the same).
Datagrams and Streaming are i2p version of udp and tcp, and that simply indicate if the bridge should listen on them (both or b for both, datagrams or b for udp like, streaming or s for tcp like).
The encoded version could looks like this :

varuint
varuint
varuint
varuint
3 bits
3 bits
1 bits
1 bits

Upstream hops
Downstream hops
Upstream tunnel count
Downstream tunnel count
Upstream alterator
Downstream alterator
Datagrams Flag
Streaming Flag

Alterator are 3 bits uint and need to be converted if -1 is putted.
And connection could be done for garlic* address reusing an instancied sam or bob transport (maybe with an integrated nodes in the future).
PS: I've discover after that alterator is a word not existing in english sorry. So here I use as the word alterateur in french (wich doesn't have an "official" validation but works in real life), this means the one that alter.

Some thoughts/questions about this:

Is -1 only allowed negative number for the up/down alternator? Could there ever be another one or is that implausible due to protocol constraints?
For all the positive numbers you mentioned: Is there any chance of these values requiring more bits in the future (you already hinted at that with the tunnel count)?

Some thoughts/questions about this:

Alerators are 2 bits uint (-1 must be converted).

Is -1 only allowed negative number for the up/down alternator? Could there ever be another negative/special value or is that implausible due to protocol constraints?
May any of the positive-only values add negative special-cases like this in the future?

Upstream and Downstream hops is the number of relay to the rendez-vous (0 is a good choice if you are also serving on non anonymized network (0 disable anonymity but greatly improve speed, useful for providing an i2p to internet node), else 3 is a standard but this choice is yours) range is 0-84.
Tunnels count range is 1-6, limited by i2p can maybe be raised (with cpu performance at cost but higher multiple bandwidth), need test.

For all the positive numbers you mentioned: Is there any chance of these values requiring more bits in the future (you already hinted at that with the tunnel count)? If “yes”, is there a strict upper bound on the number of bits they may require or could they potentially become arbitrarily large in the future?

If the answer to both of these question is anything other then “definitely not” for any of these values, then I'd strongly plead for for making the given values uvarints in the binary representation.

Are any of the numbers optional?

There is 2 protocol, bob and sam, sam3 is the best of all (it have a lot of good idea of bob but multiplexed), bob is for more edge case and older version of sam are here if your node doesn't support newer one.

Let me see if I can summarize this correctly:

bob and sam are two different and mutually incompatible protocols.
sam1, sam2 & sam3 are also different and mutually incompatible protocols.
All of these protocols use the same set of parameters.
When a node connects using, say, “sam3” to a node only supporting “sam2” the connection will fail and it will have to reconnect using another protocol such as “bob” or “sam2”. (The same being true between the “bob” and “sam” protocols.)

What I'm getting a here is that: There is no automatic version negotiation when two I2P nodes connect. One must already know which protocol the other node supports or the connection simply fail. (TLS for instance would automatically downgrade to an older version in this case if that is acceptable to both sides.)
If that is no the case we could simply have /i2p (or whatever) and leave figuring out the exact protocol used to the application.

Bikeshed question: Are you proposing to separate these numbers by vertical bars in text representation? (I'd personally prefer something that is not a special character in shell scripts. How about using , instead?)

(Also there should be coma after the protocol name in the CSV for consistency.)

Is -1 only allowed negative number for the up/down alternator? Could there ever be another negative/special value or is that implausible due to protocol constraints?

Yes, -1 alterator is the only negative value possible, other or count of things and building -1 hops tunnel means nothing ? (except than not sending the message (but what about -2 so ?)), alterator is about how many the hops tunnel length can be randomly altered (so if you have an 3 hops long tunnel with -1 alterator you may end up with a 2, 3 or 4 tunnel long).

For all the positive numbers you mentioned: Is there any chance of these values requiring more bits in the future (you already hinted at that with the tunnel count)? If “yes”, is there a strict upper bound on the number of bits they may require or could they potentially become arbitrarily large in the future?

Yes I havn't even thinked to that (thx), so hops and tunnel count should be varuint.

All of these protocols use the same set of parameters.

Yes but in fact these parameters are not about the protocol but about what is next, in fact these protocols allows you to get a connection to i2p and the params are about this connection to i2p (number of hops, tunnel, ...), these protocols just need ip (or a resolved dns) and tcp or udp (udp is only for sam3 (and maybe sam 1 and 2, idk)).

What I'm getting a here is that: There is no automatic version negotiation when two I2P nodes connect.

Yes, bob and sam doesn't use the same port so this isn't possible to do auto negotiation but for sam you can simply try 3 if that doesn't works try 2 and if that doesn't works try 1.
The problem is the invert part, newer node of i2p not support latest version of sam so if a newer version of sam came out it wont be certain to be supported by default.

If that is no the case we could simply have /i2p (or whatever) and leave figuring out the exact protocol used to the application.

Good idea but not for bob and sam since they don't share the same port (and there is no bob over udp (if that was not implemented since the doc on it was made)) and I don't think /i2p is clear, I think people will mess it with /garlic because i2p use .i2p in url while multiaddr call it garlic32. But a sam could maybe do it.
BUT the problem is here for transport devlopers, there is a few library for sam 1 and 2 (or they wern't updated since a while so they will not works anymore), also there isn't any implementation that support all sam version (I'm sure of that for golang and js) so its even if that seems logic that isn't, because what if a sam4 or bob2 it would require to update your transport, so having them with an other name could be good for understanding why its not working any more ?

Bikeshed question: Are you proposing to separate these numbers by vertical bars in text representation? (I'd personally prefer something that is not a special character in shell scripts. How about using , instead?)

I pick that totaly randomly because it looks close to / but , could do it well.

While implementing I wondered that steaming or datagrams isn't specified in the garlic, so we need to specify them in an other way.
That doesn't change a lot of things.

garlic should be enough


Add UI logic to support launch with 1 service only

It is possible that we launch with only one service connected to Omahelsinki.
This means that we need to refactor some components to know if there is only 1 service or several services connected to Omahelsinki.  A lot of changes can be done in text, but there are some components that need work in code.
If only 1 service, this includes:
Landing page

front page -> hide "See all services"  or something similar
services -> change "We have 4 services" to something else in text (not plural), or do this in some better way in code.

Mydata

if there is only 1 service and it is connected -> hide "Not yet connected services".

There might be other changes needed.
These are just suggestions, if you come up with better solutions, would be appreciated!

Shouldn't we hide the "See all services" button on the landing page if there aren't more services available than what are listed on the landing page?
For example if we show 2 services and there are only 2 services then don't show the button?

What is "to something else in text (not plural)"? :)

What is "to something else in text (not plural)"? :)

The current text "We have X services" is a bit silly in any case :) Something like "Oma.helsinki currently works with" would be better.


Code refactor

separated from preview

yo @derekrushforth let me know if we want to keep this one or remove it.
Will move the code from the branch if we decide to ditch it

Sorry @ibalosh, I started reviewing this a while back but got sidetracked. Let's keep it around. There's a lot going on in the PR that I'm unfamiliar with so I need a little more time to understand it.

no worries hombre, let me know how it goes (some stuff I need to simplify, like render tables).
the https://github.com/wildbit/postmark-cli/issues/14 should be very easy to do though in this branch


Reworked Getting started guide

Our getting started guide previously mostly showed a template but didn't explain too much what's happening. I tried to improve that using code annotations.
Happy for any feedback, especially from people who do not have too much experience with nix & dream2nix yet as you are the target audience :)
I am also working on a Python & Pip guide, hope to push that one soonish.

Merging this for now, going to remove the deps example later on. Think it's useful to show the rendered annotations, as that caused confusion earlier in the thread here.


Optimize inproc to avoid copying message

Originally: https://bitbucket.org/gdamore/mangos/issue/11
The protocols that handle the header (req/rep in particular) should learn to grok a message that is passed up with the header "pre-processed". This would prevent a requirement to copy / split the headers in the inproc transport.
However:
Its unclear that this is worthwhile. We're already getting rather good performance as it stands. Tweaking this further would allow us to actually outperform nanomsg, but to what end? Inproc isn't really a real-world deployment -- especially in a Go environment where its more natural to use channels.

Hello,
In certain realtime systems, there might be a real use for low-latency, in-process messaging patterns.  I was just thinking about implementing a realtime transport that would forego channels in favor of something like gringo, so color me very interested.
tl;dr:  inproc is (sometimes) a real-world deployment scenario and I think this is worthwhile.

FWIW, I am using inproc and adding a TCP option in case I need to scale.  That way the same implementation is useful whether on a single node or multiple nodes.
Additionally, a channel implementation requires sharing between goroutines, while the inproc option obscures the fact that there is sharing, and requires no sharing if / when I scale.

@lthibault -- awesome!  I was pondering doing a performant IPC/inproc option using mmap'd files as in http://www.boost.org/doc/libs/1_47_0/doc/html/interprocess/sharedmemorybetweenprocesses.html#interprocess.sharedmemorybetweenprocesses.sharedmemory but it's a wishlist item at the moment.

@binary132 Would you be open to collaborating on this issue?  I've been looking for an excuse to dig into the entrails of this project, and I'd be interested in learning about shared memory.  Where do you suggest we start?

In nng (the nanomsg rewrite), the buffers have a notion of "headroom" -- meaning I preallocate space at the head of the array so that I can insert header material without having to do a reallocate or copy.
Unfortunately, go arrays have no way to do this.

Spending a little more time looking at this... there are some problems with not copying the data, which really relate to the fact that the receiving side might want to modify or reuse the array.  In an ideal scenario we could have some sort of copy on write, but we don't get that because we let the user get directly at the slice containing the message payload.
Perhaps we could have a deferred copy with an explicit "read-only slice" routine, but at the end of the day I think the extra complexity this puts on applications is unlikely to be worth the performance increase.  (Applications that really need fast message transports should look at doing something different here.)

I think its unlikely that this will ever be done in mangos.  The idea of a shared memory transport or RDMA is orthogonal.  Closing this particular issue.


ERROR TypeError: WEBPACK_IMPORTED_MODULE_8_save_svg_as_png is not a function

I followed guidelines..
I'm trying to save svg to png
code:
var svg = document.getElementById(id).getElementsByTagName("svg")[0]
saveSvgAsPng(svg, "di.png", {scale: 0.5, backgroundColor: "#fff"});
i installed plugin :npm install save-svg-as-png
and included saveSvgAsPng.js file

You may need to import the NPM module and refer to a namespaced name, such as
var svgLib = require('save-svg-as-png');
svgLib.saveSvgAsPng(...)

Adding to this a little. If you are using import instead of require you can use a named import like so:
import { saveSvgAsPng } from 'save-svg-as-png';
I can confirm this way is working in React.


[stable/concourse] web container is ignoring POSTGRES_HOST env variable

Is this a request for help?:
No
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug Report

Version of Helm and Kubernetes:
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Kubernetes v1.11.2 on AKS
Which chart:
stable/concourse
What happened:
The web container tries to connect to the PostgreSQL database using the host <IP_ADDRESS> even though I've set concourse.web.postgres.host to another name.
The POSTGRES_HOST env variable is set correctly in the container but the logs show that it is trying to connect to <IP_ADDRESS>:5432 regardless.
What you expected to happen:
Database connection is made to the configured host.
How to reproduce it (as minimally and precisely as possible):
helm install stable/concourse --set concourse.web.postgres.host=concourse-release-postgresql --name concourse-release --namespace concourse
Anything else we need to know:
If I do an install using all default values then it uses the clusterIP of the postgresql service

Hi, I ran into the same issue today. I think it has something to do with the fact that Concourse accidentally removed support for the CONCOURSE_POSTGRES_DATA_SOURCE environment variable in 4.1.0.
To fix it, I ran helm repo update (and pegged the chart version to the latest version I found on https://kubernetes-charts.storage.googleapis.com/, which was 2.0.2).
With that new version, the new environment variables CONCOURSE_POSTGRES_* are set instead of that deprecated variable. Now everything seems to work for us. Hope this helps!

Thank you mbraku, running helm repo update and then deploying seems to have done the trick.


fix untransltIdentify Untranslated Text and Include it in locales/en/…

fix untransltIdentify Untranslated Text and Include it in locales/en/…

done, please review again

@belkhoujaons I tested one email template, but I'm getting this error:
Cannot read properties of null (reading 'useContext')

Can you please test all email templates and make sure they work?

@belkhoujaons Tested with main branch, couldn't reproduce this issue so this happens with your branch. This could be because of useTranslation within the email template. Please check react.email support this hook/translation.

@belkhoujaons Tested with main branch, couldn't reproduce this issue so this happens with your branch. This could be because of useTranslation within the email template. Please check react.email support this hook/translation.

it should be fixed now

@belkhoujaons One more small task, you'll need to run npm run format and check in the formatting changes so ci/cd passes.

@belkhoujaons The issue is not resolved. I'm still getting the same error. I would appreciate it if you could test it locally from your side.

@belkhoujaons The issue is not resolved. I'm still getting the same error. I would appreciate it if you could test it locally from your side.

weirdly enough, when I deleted .next folder and run "npm run dev" the issue vanished, can you please try it and see what happens ?

@devkiran & @deepakprabhakara we can"t for now use the useTranslation hook inside email templates since they're not being wrapped by the i18n provider, so I'll close this PR and submit another one where the changes are in normal React components
but it was nice building the project with docker and exploring the prisma ! nice work I like it


[BUG] go module v5.6.2 verifying module: checksum mismatch

What did you do
go env -w GOPROXY=direct
go get github.com/k3d-io/k3d/v5

What did you expect to happen
get the package
Screenshots or terminal output
go: downloading github.com/k3d-io/k3d/v5 v5.6.2
go<EMAIL_ADDRESS>verifying module: checksum mismatch
	downloaded: h1:AxWGxRqxgsNGGtcOpNZWQiZ22ezoALZXBBOUfWCVMfg=
	sum.golang.org: h1:nuMLn3j4QmF3AVCOGI7iSVpQdI82QKnYDrN0LqzMgmo=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

go version go1.22.2 linux/amd64

manually adding hash to go.sum helped:
github.com/k3d-io/k3d/v5 v5.6.2 h1:AxWGxRqxgsNGGtcOpNZWQiZ22ezoALZXBBOUfWCVMfg=
any chance the tag was overwritten?

That's probably because v5.6.2 Tag was moved to a new commit, because of some pipeline error.
I'll tag a new one to get this fixed.

confirmed fix in 5.6.3. thanks!


Holding non-layer data from plugins in the viewer (or some other store)

🚀 Feature
Sometimes plugins need to store things that aren't represented by layers, such as dataframes, floats, networkx graphs, or really any random object. Currently their only option is to create a heavyweight object that contains all the variables they need. It would be nice if napari provided a namespace for plugins to store non-layer data.
Pitch
One implementation idea would be a simple nested dictionary keyed by plugin import name, then variable names. The same thing could also be implemented as nested namespaces, e.g. viewer.vars.zarpaint.padded_data.
Alternatives

plugins can keep managing their own objects. The downside is that you can't have any cross-plugin talk.
A global namespace (external even to the viewer) for all variables. The downside could be name clashes. And global things come with their own problems, e.g. do we really want separate viewers to share these variables...
something else...?

I really like this idea - if it's a choice between the nested dictionary and the nested namespaces I think I prefer the nested namespaces.
If we wanted to really encourage plugin crosstalk we could expose this 'non-layer' data as an EventedModel
We could imagine allowing plugin devs to provide a simple dict and create the model dynamically for them... possible new 'provide data' hook spec?

Would there be a need to also "protect" some of these fields?
In Python anything can be accessed but would some of these fields need some extra "protection" to avoid accidental tampering from other plugins?

good point! If we did want to use the EventedModel there is some support for faux immutability


How do I read consul configuration from property source

I get this on spring bootstrap
2016-03-09 14:31:30.808  INFO 15942 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource [name='consul', propertySources=[ConsulPropertySource@1266007936 [name='configuration/SampleApp/', properties=com.ecwid.consul.v1.ConsulClient@11857203], ConsulPropertySource@2006592145 [name='configuration/apps/', properties=com.ecwid.consul.v1.ConsulClient@11857203]]]

Now I would like to read the values of key with name configuration/SampleApp/ , I would like to bind this the key using  @Value such that I can get the value directly into a variable, can I achieve this?

Normal boot external configuration. Read the doc here.
If you're using actuator look at /env to see all available values.
configuration/SampleApp/ is one of the the roots of your consul config, you'll never reference it directly. If there was a key named configuration/SampleApp/foo with value of bar, this is how you'd reference it.
@Value("${foo}")
String foo; // will have value bar

thank you Spencer, however I am unable to get this to work
I have the consul KV as configuration/SampleApp/foo, but when I use actuator I am unable to see the values for it, here is  what I see at /env
{"profiles":[],"server.ports":{"local.server.port":8080},"consul:configuration/SampleApp/":{},"consul:configuration/apps/":{},

What does bootstrap.yml look like?

spring:
cloud:
consul:
host: localhost
port: 8500
enabled: true
config:
enabled: true
format: YAML
prefix: configuration
defaultContext: apps
profileSeparator: '::'
application:
name: SampleApp

spring:
cloud:
consul:
host: localhost
port: 8500
enabled: true
config:
enabled: true
format: YAML
prefix: configuration
defaultContext: apps
profileSeparator: '::'
application:
name: SampleApp

Please edit my comment above to get the correct indentation

@spencergibb ,
I could get this working, here is what I did

I removed format: YAML from bootstrap.yml and with the following code I am able to read the consul key
@EnableDiscoveryClient
@Controller
@EnableConfigurationProperties(PropertySourceBootstrapProperties.class)
public class abc {
@Value("${foo}")
private String foo;

I am also able to see the info in /env
{"profiles":[],"server.ports":{"local.server.port":8080},"consul:configuration/SampleApp/":{"foo":"dfdg"},"consul:configuration/apps/":{}

I have a new issue, which is that the configuration stays as in the bootstrap mode, even if it is changed in consul the new value is not getting picked up.
Example if "foo" is set to "bar" before the spring boot app comes up, after the springboot app comes up it reads it as "bar" , but while the app is up, if we change the value of "foo" to "sdfjhdsjhf", the springboot app still reads it as "bar"

I tried to refresh as per documentation https://github.com/spring-cloud/spring-cloud-consul/blob/master/docs/src/main/asciidoc/spring-cloud-consul.adoc
curl -i -X POST http://localhost:8080/refresh
curl: (52) Empty reply from server

I could get the refresh working with @RefreshScope in my controller class. Many Thanks!!!


Fix terraform blockname regex

The regex for blockname does not allow empty provider blocks.
For example as mentioned by @lorengordon in #1353 the code snippet he provided had an empty provider block which is valid teraform. @Anteru also pointed out the issue with the first "}", at the time thought to be unrelated, however that is the reason why the snippet provided by @lorengordon was receiving the error.
The following valid terraform does not process correctly.
provider "aws" {}
I have updated the blockname regex to allow {}|{  this fixes the issue and passes all tests.  I have added a test to the snippets and ran the golden updates command on it.
python -m pytest --update-goldens tests/snippets/terraform/test_types.txt
I then ran make test and all tests passed.
Admittedly, this is an oversimplified fix and I am working on stronger regex to deal with blocknames that are not allowed to be empty.  But to get the ball rolling and ensure the tests are correct and heading down the right path I wanted to get this PR started.
If there is any reason to put more complex or fuller terraform tests under examples, for this I just followed the instructions under contributing and added a snippets test, but am wondering terraform is at the point of needing fuller more complex test case.
Please let me know if you want me to create a separate issue or use #1353 as the issue this PR addresses.

Strange, I don't understand how the lexer leaves the blockname state without producing an error...

Strange, I don't understand how the lexer leaves the blockname state without producing an error...

Can you elaborate?  Are you saying with the fix in the regex, or before the fix in the regex?

For both cases, the blockname state has no "exit" condition.
I now re-read the code, and the lexer has an implicit "return to root state" if at line end and no rules in a state matched.  This is not quite clean though, and I wonder if it should be removed.
In any case, please add a default('#pop') tot he state.

For both cases, the blockname state has no "exit" condition.
I now re-read the code, and the lexer has an implicit "return to root state" if at line end and no rules in a state matched. This is not quite clean though, and I wonder if it should be removed.
In any case, please add a default('#pop') tot he state.

Ok, I didn't look at whether the lexer was correct, once I noticed the regex I adjusted that and then ran the tests.  I will look at it closer and add the default('#pop')  and test again.

@birkenfeld Anything else needed here?

Unfortunately, this PR still has merge conflicts with the master branch.

Unfortunately, this PR still has merge conflicts with the master branch.

I assumed we would deal with merge issue with master once everything was reviewed and agreed it is good.
I will address now.

I assumed we would deal with merge issue with master once everything was reviewed and agreed it is good.

Well, it happens that updates to the merge target completely change the game as to the way a change should be done. Plus, for such a small change, it shouldn't be a burden to rebase.

I was surprised to see a fresh and unused state in the diff -- apparently the same issue has already been fixed by #2097 in the meantime?

I am glad theirs got merged, this one has been open since December and never was addressed until recently, such is the life of open source projects.  We will test the latest build and see if it fixes the issues we were addressed with the other fix.

@Jean-Abou-Samra Any idea when the 2.12 release will be, so we can see if #2097 does indeed fix this issue?

@lorengordon You'd have to ask @Anteru. However, there is no need to wait on the release. Just do
pip install --user https://github.com/pygments/pygments/archive/master.zip

and (provided I've got the command right) that should give you an installation with current master. For your information, this is the token output I get for the example from https://github.com/pygments/pygments/issues/1353#issuecomment-862414618:
Token.Keyword.Reserved	'provider'
Token.Text.Whitespace	' '
Token.Name.Variable	'"aws"'
Token.Text.Whitespace	' '
Token.Punctuation	'{'
Token.Punctuation	'}'
Token.Text.Whitespace	'\n'
Token.Text.Whitespace	'\n'
Token.Keyword.Reserved	'module'
Token.Text.Whitespace	' '
Token.Name.Variable	'"test-lx-instance"'
Token.Text.Whitespace	' '
Token.Punctuation	'{'
Token.Text.Whitespace	'\n'
Token.Text.Whitespace	'  '
Token.Name.Attribute	'source'
Token.Text.Whitespace	' '
Token.Operator	'='
Token.Text.Whitespace	' '
Token.Literal.String.Double	'"git::https://github.com/plus3it/terraform-aws-watchmaker//modules/lx-instance/"'
Token.Text.Whitespace	'\n'
Token.Text.Whitespace	'\n'
Token.Text.Whitespace	'  '
Token.Name.Attribute	'Name'
Token.Text.Whitespace	'      '
Token.Operator	'='
Token.Text.Whitespace	' '
Token.Literal.String.Double	'"tf-watchmaker-lx-autoscale"'
Token.Text.Whitespace	'\n'
Token.Text.Whitespace	'  '
Token.Name.Attribute	'AmiId'
Token.Text.Whitespace	'     '
Token.Operator	'='
Token.Text.Whitespace	' '
Token.Literal.String.Double	'"__AMIID__"'
Token.Text.Whitespace	'\n'
Token.Text.Whitespace	'  '
Token.Name.Attribute	'AmiDistro'
Token.Text.Whitespace	' '
Token.Operator	'='
Token.Text.Whitespace	' '
Token.Literal.String.Double	'"__AMIDISTRO__"'
Token.Text.Whitespace	'\n'
Token.Punctuation	'}'
Token.Text.Whitespace	'\n'

Appreciate that, thank you!

You're welcome. Do you confirm that the bug went away?


[Pluggable components] Add secrets and config support

Description
Adding secrets and config support for v1.10 in pluggable components
Issue reference
Related PR: dapr/dapr#5513

@philliphoff - FYI

@hhunter-ms  for 1.10 we're just adding .NET SDKs for state store, pub sub and bindings pluggable components. We aren't going to be supporting secret stores or config stores for this release, that'll probably be in 1.11.

@nyemade-uversky ok sounds good. I misunderstood what was needed for docs... Can you clarify this docs need mentioned in the issue?

Docs exists for the new Secret/Config API functionality (update overview page)

@hhunter-ms  Sure thing! We removed a few things that wouldn't make it into the release for 1.10 (secret store/config) and I forgot to update it on this issue. For now the only docs needed are those for the .NET SDKs for pluggable components and those SDKs will live in the dapr-sandbox repo. The docs for those SDKs will live there too with the code so there's nothing for you to work on - @philliphoff can work on those docs.

@nyemade-uversky Sounds good! I'll close this then, thank for the clarification!


update documentation on adding a job

a PUT should be used, not a POST. notify_when should be included in the subscriptions

Thanks for the PR!


Gradle DSL method not found: hugo()

Hi,
I am trying to follow your instructions for disabling hugo in Gradle.  I put this in my app's build.gradle file:
hugo {         enabled false     }
However, Android Studio is throwing a build error:

Error:(32, 0) Gradle DSL method not found: 'hugo()'

Please advise how I can correct this.
Igor

It's not released yet. It will be in the next version when I get around to
making the final release.
On Wed, Nov 4, 2015, 4:42 PM Igor Ganapolsky<EMAIL_ADDRESS>wrote:

Hi,
I am trying to follow your instructions for disabling hugo in Gradle. I
put this in my app's build.gradle file:
hugo {
enabled false
}
However, Android Studio is throwing a build error:
Error:(32, 0) Gradle DSL method not found: 'hugo()'
Please advise how I can correct this.
Igor
—
Reply to this email directly or view it on GitHub
https://github.com/JakeWharton/hugo/issues/104.

:eyes:

Hey @JakeWharton, this is not yet released. Any plans on the next release?
This wonderful library becomes less useful if I can't turn off logging in production.

@JakeWharton kindly release it, thank you

No plans to make another release.
On Mon, Mar 20, 2017 at 12:20 AM Sebastian Roth<EMAIL_ADDRESS>wrote:

@JakeWharton https://github.com/JakeWharton kindly release it, thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/hugo/issues/104#issuecomment-287676493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEbN2KGwQslVPYk6oBhstWa4Y0xurks5rnf6bgaJpZM4Gb1vo
.

Oh! In that case, I think @DebugLog annotation would be a nice addition to Timber. @JakeWharton Any such plans / work in progress?


Mapping prisma int id to graphql int scalar instead of ID scalar

Perceived Problem
Currently, prisma ids (even integers) are mapped to graphql ID scalar which are mapped to typescript strings
This goes in conflict with prisma itself which maps ids into their corresponding type (int or string)
For example, If I am to return the result of a prisma query in a resolver, I will receive a type error because of that confilct which is what I am facing right now.
export const User = objectType({
  name: _User.$name,
  definition(t) {
    t.field(_User.id.name, User.id);
  },
});

export const UserQuery = queryField((t) => {
  t.nonNull.field("me", {
    type: "User",
    async resolve(_, __, { prisma, auth }) {
      const me = await prisma.user.findUnique({
        where: {
          id: auth!.userId,
        },
      });

      if (!me) {
        throw new AuthenticationError("You id does not exist in the database");
      }

      return me;
    },
  });
});

I receive this error
Types of property 'id' are incompatible.                     Type 'number' is not assignable to type 'MaybePromise<string>'
As a workaround, I manually changed the type
export const User = objectType({
  name: _User.$name,
  definition(t) {
    t.field(_User.id.name, { type: "Int" });
  },
});

Ideas / Proposed Solution(s)
To go along with prisma typing, int ids should be mapped to graphql int scalar instead of the ID scalar

@lvauvillier @jasonkuhrt I still get ID scalars.
Im using nexus-prisma v0.30.0 and prisma v2.29.1.

@P4sca1 have you tried https://github.com/prisma/nexus-prisma#reference-1

Opps, I forgot I set it to 'ID'. My bad. Thanks for the quick help! :)


how to recovery when xa transaction manager crashed after commit some resou

Question
how to recovery when xa transaction manager crashed after commit some resource?
For English only, other languages will not accept.
Before asking a question, make sure you have:

Googled your question.
Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.

@cherrylzhao why not store transaction log in database, so that:

another instance can recover when instance crash.
in paas environment, instance may drift.

we just integrated XA transaction manager of third-party, local filesystem is the recovery way for atomikos. also we consider about extending the log persistence for cloud native environment in future.

any other questions? we'd like to close issue if no response more than 7 days.


Wait for socat to be ready before running full test.

The -D option tells it to print something just before starting the transfer phase, which should be enough to ensure that all the file links are available without having to guess a suitable timeout.

:+1:


Centre of Mass Calculator

It will calculate centre of mass of different systems:
Rectangle,triangle,ring,disc,solid hemisphere etc
After selecting the system it will take the input as radius in case of ring
and in the case of triangle it will take the input as base and height and similarly for the others as well
I will implement these in single calculator. Please assign this issue to me under JWOC

@S-ishita go for it.

Please increase the difficulty level of this ..


Bump version to v0.1.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Implemented new overlay to show skyscraper panorama level #360

This looks like a useful addition, but I like to do some (performance) testing first.
From the top of my head things like nested iterations and regular expressions could be expensive in terms of performance/memory.
Also I like to find a way to avoid much of the logic, because this code runs on every render and if you have a big city layout without skyscrapers, a lot of CPU is waisted.
I will update this PR with my findings (profiling results etc.).

I made some tweaks and improved the rendering performance.

the layout I used is pretty big and I added some skyscrapers at the center
rendering of panorama text is enabled

my test

Click to expand!

before

Click to expand!

after

Click to expand!

To add more numbers ..

the layout I used is pretty big and has no skyscrapers
rendering of panorama text is enabled

my test

Click to expand!

before

Click to expand!

after

Click to expand!


Add enter event for "input" component

I've alway use input component for any search bar and it's not support the "Enter" event and a lot of user use that event to submit search, So i've added the support for enter event to "Input" component.

https://jsfiddle.net/wk9c4fhm/


Make ordinals.com beautiful

Not sure how much we should prioritize this. Making inscriptions desirable might be secondary to making sure that there's a market.
Some different NFT markets for visual reference:

https://superrare.com/
https://foundation.app/
https://knownorigin.io/
https://deca.art/
https://gallery.so/
https://objkt.com/
https://www.dns.xyz/

I think this is important. non-ideological users who are looking for the best technology to build their NFTs will be comparing fit-and-finish across marketplaces/explorers. Having an explorer that looks more expert-friendly might scare away creators or collectors who would otherwise be super happy with ordinals

@rot13maxi Agreed on all points.
How would you prioritize the following:

Making ordinals.com beautiful
Launching on mainnet
Helping the first market form

That's probably the right order. reasonable people could disagree about 1 & 2, but I think being able to announce "mainnet is live!" and having people go to a really slick ordinals-explorer is a better plan than launching on mainnet, and then later announcing "now ordinals.com is slick!"

That's probably the right order. reasonable people could disagree about 1 & 2, but I think being able to announce "mainnet is live!" and having people go to a really slick ordinals-explorer is a better plan than launching on mainnet, and then later announcing "now ordinals.com is slick!"

Good point, I definitely agree.

Definitely could still use some work, but I think this is mostly done.


Bindings for Additional FL Event Handling Functions

Hello again,
I was wondering if some of the following FL event handling functions might be added into fltk-rs:

FL::event_clipboard()
Fl::event_clipboard_type()
FL::event_dispatch() //<-- is this the same as fltk::app::add_handler?

I've added the following methods:

app::event_clipboard() and event_clipboard_type() (can be handled in Event::Paste).
app::handle_main_(event), handle_(event, window) and event_dispatch(fn(event, window) -> bool)

I still have a lot more testing to do to see if the implementation is safe and if everything is working correctly.

So handle_ was renamed to handle_raw, and both handle_raw and event_dispatch were marked unsafe. The reason is that plugging into FLTK's event dispatch expects a window pointer and there's no data carrying via void * which means we can't execute Rust code in C++ land. Also Fl::handle_ is supposed to be called from event_dispatch, making it unergonomic to require constructing a valid widget, so it just accepts the pointer from event_dispatch:
fn main() {
    use fltk::{prelude::*, *};
    const CHANGE_FRAME: i32 = 100;
    let app = app::App::default();
    let mut wind = window::Window::default().with_size(400, 300).with_label("Hello");
    let mut but = button::Button::default().with_size(80, 40);
    let mut frame = frame::Frame::default().with_size(400, 300);
    wind.end();
    wind.show();
    but.set_callback(move |_| {
        let _ = app::handle_main(CHANGE_FRAME).unwrap();
    });

    frame.handle(move |f, ev| {
        if ev == CHANGE_FRAME.into() {
            f.set_label("Hello world");
            true
        } else {
            false
        }
    });
    unsafe {
        app::event_dispatch(|ev, winptr| {
            if ev == CHANGE_FRAME.into() {
                false // ignore CHANGE_FRAME event
            } else {
                app::handle_raw(ev, winptr)
            }
        });
    }
    app.run().unwrap();
}


Can't import torchaudio?

🐛 Describe the bug
I downloaded torchaudio on the M1 mac using pip, but when I try to import it in Python, I'm greeted with this error:
Traceback (most recent call last):
File "", line 1, in
File "/Users/mliu/asdf/lib/python3.8/site-packages/torchaudio/init.py", line 1, in
from . import extension  # noqa: F401
File "/Users/mliu/asdf/lib/python3.8/site-packages/torchaudio/extension/init.py", line 5, in
_init_extension()
File "/Users/mliu/asdf/lib/python3.8/site-packages/torchaudio/extension/extension.py", line 11, in _init_extension
_init_script_module(ext)
File "/Users/mliu/asdf/lib/python3.8/site-packages/torchaudio/extension/extension.py", line 19, in _init_script_module
torch.classes.load_library(path)
File "/Users/mliu/asdf/lib/python3.8/site-packages/torch/_classes.py", line 48, in load_library
torch.ops.load_library(path)
File "/Users/mliu/asdf/lib/python3.8/site-packages/torch/_ops.py", line 110, in load_library
ctypes.CDLL(path)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/mliu/asdf/lib/python3.8/site-packages/torchaudio/_torchaudio.so, 6): Symbol not found: __Z16THPVariable_WrapN2at6TensorE
Referenced from: /Users/mliu/asdf/lib/python3.8/site-packages/torchaudio/_torchaudio.so
Expected in: /Users/mliu/asdf/lib/python3.8/site-packages/torch/lib/libtorch_python.dylib
in /Users/mliu/asdf/lib/python3.8/site-packages/torchaudio/_torchaudio.so
The code I ran was just import torchaudio
Is there a way to fix this?
Versions
Collecting environment information...
PyTorch version: 1.10.0
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: macOS 11.3.1 (arm64)
GCC version: Could not collect
Clang version: 13.0.0 (clang-13<IP_ADDRESS>)
CMake version: Could not collect
Libc version: N/A
Python version: 3.8.9 (default, Aug  3 2021, 19:21:54)  [Clang 13.0.0 (clang-13<IP_ADDRESS>)] (64-bit runtime)
Python platform: macOS-11.3.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.21.4
[pip3] torch==1.10.0
[pip3] torchvision==0.10.0
[conda] Could not collect

Hi @FireWizard312
Looking at the log, something about the Python environment seems to be mixed up. There are Python ends from /Users and /Applications.
Could you tell how you installed it?

Never mind, I was simply using the wrong Python version on Visual Studio Code. After installing it through conda and changing my version of Python, it ran fine.


High severity dependency vulnerability<EMAIL_ADDRESS>

The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.
Finepack depends on jsonlint, which depends on nomnom, which depends on<EMAIL_ADDRESS>See https://nvd.nist.gov/vuln/detail/CVE-2021-23358 for vulnerability details.

Thanks for reporting, looks like was previously reported at https://github.com/zaach/jsonlint/issues/133


Cant build PX4 filmware on snapdragon

while running the command " make eagle_default " i faced these errors
anuj.gupta@CPU-291U:~/src/Firmware$ make eagle_default
PX4 CONFIG: /home/anuj.gupta/src/Firmware/build_posix_eagle_default
[ 1%] [ 1%] Built target git_gencpp
Built target git_genmsg
[ 4%] Built target df_driver_framework
[ 4%] Built target prebuild_targets
[ 4%] [ 5%] [ 6%] Built target git_mavlink
Built target git_uavcan
Built target git_matrix
[ 6%] Built target generate_px4muorb_stubs
[ 7%] [ 7%] Built target git_ecl
Built target git_jmavsim
[ 7%] Built target git_gazebo
[ 7%] Built target mixer_gen
[ 8%] Built target xml_gen
[ 38%] Built target msg_gen
[ 39%] Built target generate_topic_listener
[ 39%] Built target platforms__common
[ 39%] [ 39%] Built target drivers__rgbled
Built target drivers__pwm_out_sim
[ 40%] [ 40%] Built target drivers__boards__sitl
Built target drivers__blinkm
[ 42%] Built target drivers__device
[ 43%] Built target drivers__qshell__posix
[ 44%] [ 45%] Built target drivers__led
[ 45%] Built target systemcmds__param
Built target systemcmds__mixer
[ 46%] Built target systemcmds__ver
[ 46%] Built target systemcmds__topic_listener
[ 46%] Built target modules__attitude_estimator_q
[ 47%] Built target modules__position_estimator_inav
[ 52%] Built target modules__mavlink
[ 53%] [ 53%] Built target modules__mc_pos_control
Built target modules__ekf2
[ 54%] Built target modules__mc_att_control
[ 57%] Built target modules__local_position_estimator
[ 57%] Built target modules__param
[ 59%] [ 60%] Built target modules__sensors
Built target modules__systemlib__mixer
[ 63%] Built target modules__uORB
[ 64%] Built target modules__sdlog2
[ 64%] Built target modules__dataman
[ 65%] Built target modules__muorb__krait
[ 69%] Built target modules__commander
[ 70%] [ 75%] Built target modules__simulator
Built target modules__navigator
[ 76%] Built target lib__controllib
[ 77%] Built target lib__mathlib
[ 77%] [ 77%] [ 77%] Built target lib__mathlib__math__filter
Built target lib__conversion
Built target lib__geo
[ 77%] [ 78%] Built target lib__geo_lookup
Built target lib__runway_takeoff
[ 78%] Built target lib__terrain_estimation
[ 78%] [ 85%] Built target lib__tailsitter_recovery
Built target lib__ecl
[ 88%] Built target platforms__posix__px4_layer
[ 88%] Built target lib__DriverFramework__framework
[ 88%] Built target modules__logger
[ 94%] Built target modules__systemlib
[ 98%] Built target platforms__posix__work_queue
Linking CXX executable px4
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find crt1.o: No such file or directory
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lpthread
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lrt
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lpthread
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lrt
collect2: error: ld returned 1 exit status
make[3]: *** [src/firmware/posix/px4] Error 1
make[2]: *** [src/firmware/posix/CMakeFiles/px4.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [posix_eagle_default] Error 2
thanks

Hi @mahesha-path
What distribution are you using, and what version? Ubuntu?
Which instructions did you use? The ones in dev.px4.io?

I am using ubuntu 14.04
Yes i followed the dev.px4.io for installing the toolchain for linux and followed all steps  and after that when i tried to build the code i faced this errors

@mahesha-path Thanks for the info. I'm assuming that's on a 64bit system?
I'll try to reproduce this in a 14.04 VM.

Yes its a 64 bit system.......i tried to find the lpthread and lrt in path /home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/lib/gcc/arm-linux-gnueabihf/4.9.3/ but the lib file was missing
Thanks

What is your $HEXAGON_ARM_SYSROOT?

What is your $HEXAGON_ARM_SYSROOT?

Actually it builds without this, so disregard it.

Yes

Actually the lib file are not present in the standard path . I tried to debug the 1 error and found libpthread.so was in /home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/libc/usr/lib/libpthread.a
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/libc/usr/lib/libpthread.so
so i copied these lib file and paste it in /home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/lib/gcc/arm-linux-gnueabihf/4.9.3/    and now its not showing that error but some other error
Linking CXX executable px4
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find crt1.o: No such file or directory
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find /lib/libpthread.so.0
/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find /usr/lib/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
So may be the standard path is different , so is there any possibility to change the standard path where it is searching the lib files

I tried to reproduce your issue and setup a fresh Ubuntu 14.04 64 bit in a VirtualBox.
I followed the steps in the Devguide and make eagle_default works as expected.
I can only suggest to try to pull the latest updates in Firmware and cross_toolchain and run the Qualcomm install scripts again:
./installv3.sh
./qrlinux_sysroot.sh

Actually i did the same but this time build posix eagle default works fine but build qurt eagle default giving error.
the log is
Linking CXX executable px4
[100%] Built target px4
-- qurt-eagle-default
-- CMAKE_INSTALL_PREFIX:
-- cmake module path: /home/anuj.gupta/src/Firmware/cmake
DF Drivers: mpu9250;bmp280;hmc5883;trone;isl29501
-- CMAKE_C_FLAGS:   -D__CUSTOM_FILE_IO__ -O0 -mv5 -G0
-- CMAKE_CXX_FLAGS:   -DCONFIG_WCHAR_BUILTIN -D__CUSTOM_FILE_IO__ -O0 -mv5 -G0
-- CMAKE_C_FLAGS:   -D__CUSTOM_FILE_IO__ -O0 -mv5 -G0
-- CMAKE_CXX_FLAGS:   -DCONFIG_WCHAR_BUILTIN -D__CUSTOM_FILE_IO__ -O0 -mv5 -G0
-- The CXX compiler identification is Clang 3.5.0
-- The C compiler identification is Clang 3.5.0
-- The ASM compiler identification is Clang
-- Found assembler: /home/anuj.gupta/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-clang
-- Check for working CXX compiler: /home/anuj.gupta/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-clang++
-- Check for working CXX compiler: /home/anuj.gupta/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - failed
-- Check for working C compiler: /home/anuj.gupta/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-clang
-- Check for working C compiler: /home/anuj.gupta/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- catkin DISABLED
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.6", minimum required is "2.7")
Adding DF driver: mpu9250
Adding DF driver: bmp280
Adding DF driver: hmc5883
Adding DF driver: trone
Adding DF driver: isl29501
Generated generate_px4muorb_stubs target
module_libraries = drivers__device;modules__sensors;platforms__posix__drivers__df_mpu9250_wrapper;platforms__posix__drivers__df_bmp280_wrapper;platforms__posix__drivers__df_hmc5883_wrapper;platforms__posix__drivers__df_trone_wrapper;platforms__posix__drivers__df_isl29501_wrapper;systemcmds__param;modules__attitude_estimator_q;modules__position_estimator_inav;modules__local_position_estimator;modules__ekf2;modules__mc_att_control;modules__mc_pos_control;modules__param;modules__systemlib;modules__systemlib__mixer;modules__uORB;modules__commander;modules__land_detector;drivers__gps;drivers__pwm_out_rc_in;drivers__qshell__qurt;lib__controllib;lib__mathlib;lib__mathlib__math__filter;lib__geo;lib__ecl;lib__geo_lookup;lib__conversion;lib__terrain_estimation;lib__runway_takeoff;lib__tailsitter_recovery;lib__DriverFramework__framework;platforms__common;platforms__qurt__px4_layer;platforms__posix__work_queue;modules__muorb__adsp
target_libraries =
df_driver_libs = df_mpu9250;df_bmp280;df_hmc5883;df_trone;df_isl29501
module_external_libraries =
QURT_LIB_INCS =
QURT_LIB_LINK_LIBS = drivers__device;modules__sensors;platforms__posix__drivers__df_mpu9250_wrapper;platforms__posix__drivers__df_bmp280_wrapper;platforms__posix__drivers__df_hmc5883_wrapper;platforms__posix__drivers__df_trone_wrapper;platforms__posix__drivers__df_isl29501_wrapper;systemcmds__param;modules__attitude_estimator_q;modules__position_estimator_inav;modules__local_position_estimator;modules__ekf2;modules__mc_att_control;modules__mc_pos_control;modules__param;modules__systemlib;modules__systemlib__mixer;modules__uORB;modules__commander;modules__land_detector;drivers__gps;drivers__pwm_out_rc_in;drivers__qshell__qurt;lib__controllib;lib__mathlib;lib__mathlib__math__filter;lib__geo;lib__ecl;lib__geo_lookup;lib__conversion;lib__terrain_estimation;lib__runway_takeoff;lib__tailsitter_recovery;lib__DriverFramework__framework;platforms__common;platforms__qurt__px4_layer;platforms__posix__work_queue;modules__muorb__adsp;df_mpu9250;df_bmp280;df_hmc5883;df_trone;df_isl29501;m
-- GIT_TAG = v1.5.0-202-g1eca977
-- Configuring done
-- Generating done
-- Build files have been written to: /home/anuj.gupta/src/Firmware/build_qurt_eagle_default
PX4 CONFIG: /home/anuj.gupta/src/Firmware/build_qurt_eagle_default
Scanning dependencies of target git_driverframework
Scanning dependencies of target df_mpu9250
[  0%] Scanning dependencies of target git_gencpp
Scanning dependencies of target git_genmsg
[  0%] Generating git_init_src_lib_DriverFramework.stamp
[  0%] [  0%] Generating git_init_Tools_gencpp.stamp
Generating git_init_Tools_genmsg.stamp
Building CXX object src/lib/DriverFramework/drivers/mpu9250/CMakeFiles/df_mpu9250.dir/MPU9250.cpp.o
[  0%] Built target git_driverframework
[  0%] [  0%] Built target git_genmsg
Built target git_gencpp
Scanning dependencies of target df_bmp280
[  0%] Scanning dependencies of target df_hmc5883
Building CXX object src/lib/DriverFramework/drivers/mpu9250/CMakeFiles/df_mpu9250.dir/MPU9250_mag.cpp.o
[  0%] [  0%] Building CXX object src/lib/DriverFramework/drivers/bmp280/CMakeFiles/df_bmp280.dir/BMP280.cpp.o
Building CXX object src/lib/DriverFramework/drivers/hmc5883/CMakeFiles/df_hmc5883.dir/HMC5883.cpp.o
Linking CXX static library libdf_hmc5883.a
Linking CXX static library libdf_bmp280.a
Scanning dependencies of target df_trone
hexagon-ar: fatal: hexagon-ar: fatal: Numeric user ID too large
Numeric user ID too large
[  1%] make[3]: *** [src/lib/DriverFramework/drivers/bmp280/libdf_bmp280.a] Error 1
make[3]: *** [src/lib/DriverFramework/drivers/hmc5883/libdf_hmc5883.a] Error 1
make[2]: *** [src/lib/DriverFramework/drivers/bmp280/CMakeFiles/df_bmp280.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/lib/DriverFramework/drivers/hmc5883/CMakeFiles/df_hmc5883.dir/all] Error 2
Building CXX object src/lib/DriverFramework/drivers/trone/CMakeFiles/df_trone.dir/TROne.cpp.o
Linking CXX static library libdf_mpu9250.a
hexagon-ar: fatal: Numeric user ID too large
make[3]: *** [src/lib/DriverFramework/drivers/mpu9250/libdf_mpu9250.a] Error 1
make[2]: *** [src/lib/DriverFramework/drivers/mpu9250/CMakeFiles/df_mpu9250.dir/all] Error 2
Linking CXX static library libdf_trone.a
hexagon-ar: fatal: Numeric user ID too large
make[3]: *** [src/lib/DriverFramework/drivers/trone/libdf_trone.a] Error 1
make[2]: *** [src/lib/DriverFramework/drivers/trone/CMakeFiles/df_trone.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [qurt_eagle_default] Error 2
i just want to know what is these two error
Detecting CXX compile features
-- Detecting CXX compile features - failed
hexagon-ar: fatal: Numeric user ID too large
Thanks

I see this:
hexagon-ar: fatal: hexagon-ar: fatal: Numeric user ID too large
Numeric user ID too large

So how to solve this??

I have never seen this problem before I'm afraid. Can you try on another machine or with a different user maybe?
What's the output of id -u or echo $UID?

809502539

Well, usually for local users that number is around 100x. Can you try with a local user? Or can you try on another machine?

Thanks
I am trying in some other machine while running the installv3.sh it throws error
Hexagon SDK not installed /home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/tools/qaic/Ubuntu14/qaic
complete error log
anuj.gupta@GPTest-LaptopU:~/cross_toolchain$ ./installv3.sh
HEXAGON_INSTALL_HOME [/home/anuj.gupta]
Using the following for installation:
HEXAGON_SDK_ROOT=/home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0
HEXAGON_TOOLS_ROOT=/home/anuj.gupta/Qualcomm/HEXAGON_Tools/7.2.12/Tools
Hexagon SDK not installed /home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/tools/qaic/Ubuntu14/qaic
Installing HEXAGON_SDK to /home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0
This will take a long time.
Verifying required tools were installed...
Running 'make' in /home/anuj.gupta/Qualcomm/Hexagon_SDK/3.0/tools/qaic...
~/cross_toolchain ~/cross_toolchain
Qaic's Another IDL Compiler: version <IP_ADDRESS>9545
Copyright (c) 2012 QUALCOMM Inc. All rights reserved.
~/cross_toolchain
Verifying setup is complete...
The Hexagon Tools 7.2.12 version was not installed.
Re-install the Hexagon SDK and select the Hexagon Tools install option
sh ./downloads/https://developer.qualcomm.com/download/hexagon/qualcomm_hexagon_sdk_lnx_3_0_eval.bin -i swing

Thanks and dont think about last comment , that was solved , now i am trying to build that make file in different machine

Hi i tried the sam thing on different machine but got same error "hexagon-ar:fatal: Numeric user ID too large"
again i tried to run makefile for6-7 times and got this error
Built target lib__runway_takeoff
[ 83%] Built target lib__tailsitter_recovery
[ 83%] Built target lib__DriverFramework__framework
[ 86%] Built target platforms__qurt__px4_layer
[ 91%] Built target platforms__posix__work_queue
[ 92%] Built target modules__muorb__adsp
[ 98%] Built target modules__systemlib
Linking CXX shared library libpx4.so
Fatal: cannot recognize the format of file `../../drivers/device/libdrivers__device.a'. object format or given target machine (hexagon-unknown-elf) is incompatible.
make[3]: *** [src/firmware/qurt/libpx4.so] Error 1
make[2]: *** [src/firmware/qurt/CMakeFiles/px4.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [qurt_eagle_default] Error 2
i tried to fine libpx4.so in my pc using locate libpx4.so command but there is no such shared library.
Thanks

What is the user ID on the different machin? Of course, it would have to be one where the user ID is just the usual 100x.

Thanks @julianoes , that problem is silved using a virtual machine .
I buld the makefile and upload it in the Snapdragon FC but after that when i am trying it connect with QGC , QGC is not detecting it.
Do you have any idea....
Thanks

Thanks for the feedback. I'm closing this issue, please file a new one for the QGC connection issue.
Alse, there please provide the stdout and mini-dm output and some info about how the network is setup.

Hi,dev,
I compiled the latest PX4 version encountered some problems in Snapdragon flight, my git tag is EAGLE_DRONE_1.2_ES2_0. My VM is ubuntu 14.04 64-bit. I have build HelloWorld successfully.When i run make_eagle_leagcy_default the following problems:
mhhk@ubuntu:~/develop/Firmware$ make eagle_legacy_default
-- posix-eagle-legacy
-- The ASM compiler identification is GNU
-- Found assembler: /home/mhhk/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/arm-linux-gnueabihf-gcc
-- Found PythonInterp: /usr/bin/python (found version "2.7.6")
Generated generate_px4muorb_stubs target
-- GIT_TAG = EAGLE_DRONE_1.2_ES2_0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mhhk/develop/Firmware/build_posix_eagle_legacy_driver_default
PX4 CONFIG: posix_eagle_legacy_driver_default
Scanning dependencies of target git_genmsg
Scanning dependencies of target prebuild_targets
Scanning dependencies of target git_gencpp
[  0%] Generating git_init_Tools_genmsg.stamp
Scanning dependencies of target df_driver_framework
[  0%] Built target prebuild_targets
[  0%] Generating git_init_Tools_gencpp.stamp
Scanning dependencies of target generate_px4muorb_stubs
[  0%] Built target git_genmsg
[  0%] Generating px4muorb.h, px4muorb_skel.c, px4muorb_stub.c
Scanning dependencies of target git_uavcan
[  0%] Built target git_gencpp
[  0%] Building CXX object src/lib/DriverFramework/framework/src/CMakeFiles/df_driver_framework.dir/DriverFramework.cpp.obj
[  0%] Generating git_init_src_modules_uavcan_libuavcan.stamp
Scanning dependencies of target git_mavlink
[  0%] Built target git_uavcan
[  0%] Generating git_init_mavlink_include_mavlink_v1.0.stamp
Scanning dependencies of target git_matrix
[  0%] Built target git_mavlink
[  0%] Generating git_init_src_lib_matrix.stamp
Scanning dependencies of target xml_gen
[  0%] Built target git_matrix
[  0%] Generating parameters.xml
Scanning dependencies of target mixer_gen
[  1%] Generating mixer_multirotor.generated.h
……
……
[ 97%] Building C object src/modules/systemlib/CMakeFiles/modules__systemlib.dir/hx_stream.c.obj
[ 98%] Linking CXX static library libmodules__systemlib.a
[ 98%] Built target modules__systemlib
Scanning dependencies of target mainapp
[100%] Building C object src/firmware/posix/CMakeFiles/mainapp.dir/px4muorb_stub.c.obj
[100%] Building CXX object src/firmware/posix/CMakeFiles/mainapp.dir///platforms/posix/main.cpp.obj
make[3]: *** No rule to make target /home/mhhk/Qualcomm/Hexagon_SDK/3.0/libs/common/rpcmem/UbuntuARM_Debug/rpcmem.a', needed by src/firmware/posix/mainapp'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [src/firmware/posix/CMakeFiles/mainapp.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [posix_eagle_legacy_driver_default] Error 2
I have follow the step as url:https://github.com/ATLFlight/ATLFlightDocs/blob/master/PX4.md.  but it still can not be solve.what should i do , hope for your reply!
thank you very much!


offsets must enforced from right for rtl version

add offset 1-11 with change margin-left to margin-right

some changes are belong to reformatting codes with phpstorm

thanks a lot


Add configuration settings for ldap integration

Please add ldap section to the template (see http://docs.grafana.org/installation/configuration/#authldap).

Closed via #18


fix: improve import of sql dump

I had some issues and improvements during my 50 GB migration of database dump and I thought others may profit from this as well :)

Nice!

Nice!


External plugins guidance and ecosystem

Mistune users are able to write there own plugins, and when they do this locally, it is easy enough for them to import and use there plugin code, so it's available when they use Mistune. Is there a preferred way or best practice for how users should publish their plugin? What is the best way one could find community-made plugins? If there are such things, I propose adding them to the docs.
Taking some inspiration from Lektor, projects could be published to pypi with a mistune- prefix so they are discoverable via pypi's search bar, or you could maintain a docs page linking to them. Perhaps PyPA would allow a new trove classifier to list Mistune as a framework, as well (makes sense to me).
I thought of this coming from the idea that Lektor could more easily pull in arbitrary Mistune plugins. https://github.com/lektor/lektor/issues/1076

I've added a community file for mistune v3 plugins: https://github.com/lepture/mistune/blob/v3/docs/community.rst
Developers can send PRs to add their plugins here.


Bug with doi field when using .get_timeseries

When using get_timeseries to expand properties into a dictionary for each column, there is a duplicate 'doi' for publication. One is called pub1_doi and seems to contain the actual doi. The other is called  pub1_DOI and seems the be stuck at "hello".
To reproduce:
from pylipd.lipd import LiPD
url1 = 'https://lipdverse.org/data/iso2k100_CO04LIRA/1_0_2//CO04LIRA.lpd'
url2 = 'https://lipdverse.org/data/ch2kTA18TAS01/1_0_2//TA18TAS01.lpd'

data_url = [url1,url2]

D1 = LiPD()
D1.load(data_url)

ts = D1.get_timeseries(D1.get_all_dataset_names())

I don't see the example Deborah

Re-vist get_timeseries.

@varunratnakar Bug is still present. Using the example above, you get the following:

Should be fixed with: https://github.com/LinkedEarth/pylipd/commit/5644ed517194f8367baf68220fc2b1284f22423d


adding kibana_server role specification and explanation #4094

Description
Adding specification of kibana_server role with explanation of the permissions assigned and mapping needed
Issues Resolved
Closes https://github.com/opensearch-project/documentation-website/issues/4094
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks, @AntonEliatra!

Thanks, @scrawfor99!

@natebower Thanks for feedback, I've updated to :
You can view the full list of permissions assigned to this role by sending a GET request to the _plugins/_security/api/roles/kibana_server API (include the admin certificate, key, and certificate authority file in the GET request).

@natebower Thanks for feedback, I've updated to : You can view the full list of permissions assigned to this role by sending a GET request to the _plugins/_security/api/roles/kibana_server API (include the admin certificate, key, and certificate authority file in the GET request).

Works for me, thanks!


[Bug report] Error: Invalid route component

✅ Checklist

[X] I am using the latest version

🔎 Description
I'm not sure this's a bug.
Concise Description
  "devDependencies": {
    "vuepress": "^2.0.0-beta.46",
    "vuepress-theme-gungnir": "^2.0.0-alpha.24"
  }

I can show the docs markdown files when I just use VuePress（2.0.0-beta.46） package.
After I installed vuepress-theme-gungnir and  I got this error whether I import vuepress-theme-gungnir in config.js or not.
Screenshots or Screen Recording (if possible)
Error:

I'm not good at Vue and it's nice that someone can help me.
Thank you.
📄 Environment info (npx vuepress info)
System:
    OS: Windows 10 10.0.19043
    CPU: (4) x64 Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
    Memory: 4.72 GB / 15.89 GB
  Binaries:
    Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
  Utilities:
    Git: 2.33.0.
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (102.0.1245.39)
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.48
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.48
    @vuepress/client:  2.0.0-beta.48
    @vuepress/core:  2.0.0-beta.48
    @vuepress/markdown:  2.0.0-beta.48
    @vuepress/plugin-active-header-links:  2.0.0-beta.48
    @vuepress/plugin-back-to-top:  2.0.0-beta.48
    @vuepress/plugin-container:  2.0.0-beta.48
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.48
    @vuepress/plugin-git:  2.0.0-beta.48
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.48
    @vuepress/plugin-nprogress:  2.0.0-beta.48
    @vuepress/plugin-palette:  2.0.0-beta.48
    @vuepress/plugin-prismjs:  2.0.0-beta.48
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.48
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.48
    @vuepress/theme-default:  2.0.0-beta.48
    @vuepress/utils:  2.0.0-beta.48
    vue:  3.2.37
    vue-loader: Not Found
    vue-router:  4.0.16
    vuepress: ^2.0.0-beta.46 => 2.0.0-beta.48
    vuepress-vite:  2.0.0-beta.48
    vuepress-webpack: Not Found

🔗 Reproduction link / repo:
No response

It's successed when I install it in Mac os. I don't know what's wrong in my Windows.
@Renovamen


image copy fails to create snapshot

Extension name (the extension in question)
image-copy-extension
Description of issue (in as much detail as possible)
The image copy extension fails as its not able to locate the os disk when creating the snapshot.
Creating source snapshot
command failed: ['/opt/az/bin/python3', '-m', 'azure.cli', 'snapshot', 'create', '--name', 'xxxx-yyyy-image-westus_os_disk_snapshot', '--resource-group', 'Operations', '--source', '/subscriptions/xxxxxxxx/resourceGroups/image-copy-rg/providers/Microsoft.Compute/snapshots/xxxx-yyyy-image_os_disk_snapshot-westus', '--output', 'json', '--tags', 'created_by=image-copy-extension']
output: ERROR: Resource xxxx-yyyy-image_os_disk_snapshot-westus is not found.

The snapshot creation succeeds on --location flag which at the moment seems to be missing with the extension

The resource group happens to be in a different location.This is a non issue.

There should be an option to use the existing resource group, it will be more beneficial. Not everyone will have create resource group permissions.

@viveks84 you can have the extension use a resource group you named and if it already exists nothing will happen... check the help text.

Yeah cli had existing resource group but didnt see the cli use that instead
it tried to create a new one
On Mon, Jun 10, 2019, 09:09 Tamir Kamara<EMAIL_ADDRESS>wrote:

@viveks84 https://github.com/viveks84 you can have the extension use a
resource group you named and if it already exists nothing will happen...
check the help text.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli-extensions/issues/248?email_source=notifications&email_token=AMIYDMPMQYPKJN7BTVKHQTDPZXEFTA5CNFSM4FLXSZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXI3BGY#issuecomment-500281499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIYDMNRGNH3GJREJF5KRZ3PZXEFTANCNFSM4FLXSZVQ
.


Feature: name+percent and name+value labels for piechart

As per https://github.com/apache/incubator-superset/issues/3048
Adds to Chart Options for Pie Chart two label types: Category and Percent and Category and Value which displays the percentages and values next to the category names on the chart:

Coverage remained the same at 70.161% when pulling b28cc655cbc403911d7fe34b4ea99060a9847479 on Mogball:mogball/feature/piechart_labels into bc3ad6461953427c5d74d5c83d1d536c720f8ace on apache:master.

awesome, thanks @Mogball!


Not able to authorize

################################################################################################
#       To authorize, browse to: 'https://amazon.com/us/code' and enter the code: {XXXX}       #
################################################################################################

After entering the code only a message is displayed, that a problem occured and they are working on it.
But the problem exists now for more than 12 h ...

Hi @khassel,
Usually, this issue caused by a wrong productID in the json file.
(If you installed the SDK with the installation script, you entered the productId to config.txt before running the script)
Please open ${_BUILD_PATH_}/Integration/AlexaClientSDKConfig.json and make sure deviceInfo details are correct:
{
    "deviceInfo" : {
        "productId" : "<YOUR PRODUCT ID WHICH MAY BE WRONG>",
        "clientId : "<YOUR CBL CLIENT ID>",
        "deviceSerialNumber": "<YOUR DEVICE SERIAL NUMBER>"
    },
    [... other values]
}

Please let me know, if that solves your issue.
Thanks,
Benny

Hi Benny,
that solved my issue, on that device the clientId was an old one ... but maybe you could provide a better error message in such cases ...
Thanks,
Karsten.


save-target fails - build.yml: no such file

I'm not able to save a target to ~/.flyrc:
vagrant@vagrant-ubuntu-trusty-64:~/concourse$ fly save-target --api http://<IP_ADDRESS>:8080 test
2015/05/07 14:44:23 could not open config file: open /home/vagrant/concourse/build.yml: no such file or directory

Why does it need a build.yml to save my target to .flyrc?
I've used the command just as described on https://concourse.ci/fly-cli.html, 4.2.

Make sure you've updated fly to the same version from your 0.47 deployment
via fly sync.
On May 7, 2015 8:24 AM, "Fabio Berchtold"<EMAIL_ADDRESS>wrote:

I'm not able to save a target to ~/.flyrc:
vagrant@vagrant-ubuntu-trusty-64:~/concourse$ fly save-target --api http://<IP_ADDRESS>:8080 test
2015/05/07 14:44:23 could not open config file: open /home/vagrant/concourse/build.yml: no such file or directory
Why does it need a build.yml to save my target to .flyrc?
I used the command just as described on https://concourse.ci/fly-cli.html,
4.2.
—
Reply to this email directly or view it on GitHub
https://github.com/concourse/fly/issues/12.

I did run fly sync.
versionsaid it was 0.0.1.
I was running the vagrant box via vagrant init concourse/lite; vagrant up.
Maybe I had an old concourse/lite image or something? How can I check?

Unfortunately the version number fly reports is meaningless at the moment; will be getting to that soon.
It's possible/probable that your box is still out-of-date. You could try running vagrant box update concourse/lite (I think), and then vagrant destroy && vagrant up?

Thanks!
I still had concourse/lite v0.45.0. The update fixed it.


Extract JSON data load into a method

I noticed that there are three duplicated code for JSON.parse,
so I extracted them into a method.
Here we use JSON.load_file instead of JSON.parse, since
they are essentially the same.
See https://docs.ruby-lang.org/en/3.0/JSON.html#method-i-load_file

Thanks for Pull Request! LGTM!!👍

Here we use JSON.load_file instead of JSON.parse, since they are essentially the same.

I didn't know that! Thank you for the information🙏


Can't integrate with alpine js

Bug Report
Describe the bug
I was testing the library following the hello world example, but I have some random errors for example after click in a button and update the view, several dropdowns opens, this behavior happens using,  Stimulus Dropdown and alpine js.
Any updates?
To Reproduce
Just create the hello world example and add the alpinejs  cnd
Expected behavior
A few things I'd like:

Integration with alpine js
Integration with other stimulus libraries

Screenshots or reproduction
In this case when I click the increment button, my dropdown opens

Versions
StimulusReflex

Gem: [3.4]
Node package: [3.4.1]

External tools

Ruby: [2.6.4]
Rails: [6.0.0]
Node: [12.4.0]

Browser

Browser [chrome, safari]
Version [22]

Hello, Fernando. Happy to help, although technically this is a support question, not an issue. We offer free, 24/7 support via Discord on our server: https://discord.gg/stimulus-reflex
In the meantime, you can configure support for Alpine by following these instructions: https://cableready.stimulusreflex.com/customization#shouldmorph-callbacks
Specifically, you want to check out the 2nd use case which should resolve Alpine issues.
Please join us on Discord and we can answer any other questions you might have.

I ran into similar issues and figured out a solution that worked for us, which I shared in the Discord linked above. I’ll cross-post it here as this issue might also be a good place for it:
There were two issues:

The shouldMorph callback example in the SR docs (https://cableready.stimulusreflex.com/customization#shouldmorph-callbacks) is not compatible with AlpineJS v3.x (which does not use .__x anymore, but the equally confusing ._x_dataStack). Here’s a snippet that works:

const enableAlpine = (options, fromEl, toEl) => {
  if (fromEl._x_dataStack) {
    window.Alpine.clone(fromEl, toEl);
  }
  return true;
};

Now came the real head-scratcher. With the above, I had a teeny tiny repro on Codepen that made Morphdom + Alpine work like a charm, but throwing SR into the mix caused issues. It turned out that SR didn’t properly parse the nonstandard @-attributes (like @click) used in Alpine, and so the DOM post-morph had “broken” Alpine attributes. Stumbled upon an SR issue (https://github.com/stimulusreflex/stimulus_reflex/issues/435) that clearly explained the reason for that, and the fix: changing all of those into x-on:click did the trick!


Next update version: 1.0.0.BUILD-SNAPSHOT

Resolves #170

@sobychacko it looks like the parent version also needs to be changed in each example from 1.0.0.M1 to 1.0.0.BUILD-SNAPSHOT.
Thanks!

@sobychacko sorry for the haste, but do you think we could merge this PR today?
Would be nice to leave the code freeze as soon as we can! Thanks

@joaoandremartins updated the PR. Feel free to merge it. Code freeze can be lifted then.


Configure Cognito to not send the temporary password

Is it possible to configure Cognito so that it send a confirmation link to the user's email address?

This was caused by this particular line in the registration code:
.withTemporaryPassword(registration.getPassword())
Removing this line has AWS Cognito generate a temporary password automatically on the user's behalf. This means that the password fields aren't required during registration either because the user has to set her actual persistent password with AWS Cognito anyway.


Pretrained OCP20 Graphormer3D model

Hi,
I am interested in the pretrained Graphormer3D model for OCP20.
However, the checkpoint is currently not available. Is it possible that I can get the access to it?

I am also interested in the pre-trained model for OC20, and wondering if you have any plan to expand the graph over to OC22?


[BUG]

Context:

Extra: Docker version 20.10.10, build b485636

Code Snippet
FROM ubuntu:focal

# === INSTALL JDK and Maven ===

RUN apt-get update && apt-get install -y --no-install-recommends \
    openjdk-11-jdk maven

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64

# Install utilities required for downloading driver
RUN apt-get update && apt-get install -y --no-install-recommends \
    curl unzip

# === INSTALL playwright maven modules & browsers ===

# Browsers will remain downloaded in `/ms-playwright`.
# Note: make sure to set 777 to the registry so that any user can access
# registry.
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright

RUN mkdir /ms-playwright && chmod -R 777 $PLAYWRIGHT_BROWSERS_PATH

RUN mkdir /tmp/pw-java
COPY . /tmp/pw-java
RUN cd /tmp/pw-java && \
    ./scripts/download_driver_for_all_platforms.sh && \
    mvn install -D skipTests --no-transfer-progress && \
    DEBIAN_FRONTEND=noninteractive mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI \
                     -D exec.args="install-deps" -f playwright/pom.xml --no-transfer-progress && \
    mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI \
                     -D exec.args="install" -f playwright/pom.xml --no-transfer-progress && \
    rm -rf /tmp/pw-java```

**Describe the bug**

I'm running the following docker script without any changes with `docker build` and receive the following error:

[+] Building 6.8s (11/11) FINISHED
=> [internal] load build definition from Dockerfile                                                                                0.1s
=> => transferring dockerfile: 1.25kB                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/library/ubuntu:focal                                                                                0.9s
=> [1/7] FROM docker.io/library/ubuntu:focal@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322                                                                                0.0s
=> [internal] load build context                                                                                0.4s
=> => transferring context: 280.18kB                                                                                0.4s
=> CACHED [2/7] RUN apt-get update && apt-get install -y --no-install-recommends     openjdk-11-jdk maven                                                                                0.0s
=> CACHED [3/7] RUN apt-get update && apt-get install -y --no-install-recommends     curl unzip                                                                                0.0s
=> CACHED [4/7] RUN mkdir /ms-playwright && chmod -R 777 /ms-playwright                                                                                0.0s
=> CACHED [5/7] RUN mkdir /tmp/pw-java                                                                                0.0s
=> [6/7] COPY . /tmp/pw-java                                                                                4.7s
=> ERROR [7/7] RUN cd /tmp/pw-java &&     ./scripts/download_driver_for_all_platforms.sh &&     mvn install -D skipTests --no-transfer-progress &&     DEBIAN_FRONTEND=noninteractive mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI                      -D exec.args="install-deps" -f playwr  0.5s

[7/7] RUN cd /tmp/pw-java &&     ./scripts/download_driver_for_all_platforms.sh &&     mvn install -D skipTests --no-transfer-progress &&     DEBIAN_FRONTEND=noninteractive mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI                      -D exec.args="install-deps" -f playwright/pom.xml --no-transfer-progress &&     mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI                      -D exec.args="install" -f playwright/pom.xml --no-transfer-progress &&     rm -rf /tmp/pw-java:
#11 0.476 /bin/sh: 1: ./scripts/download_driver_for_all_platforms.sh: not found

executor failed running [/bin/sh -c cd /tmp/pw-java &&     ./scripts/download_driver_for_all_platforms.sh &&     mvn install -D skipTests --no-transfer-progress &&     DEBIAN_FRONTEND=noninteractive mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI                      -D exec.args="install-deps" -f playwright/pom.xml --no-transfer-progress &&     mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI                      -D exec.args="install" -f playwright/pom.xml --no-transfer-progress &&     rm -rf /tmp/pw-java]: exit code: 127

Duplicate of https://github.com/microsoft/playwright-java/issues/715


Preregistration

This branch contains a different take on doing and describing the preregistration.
I have removed the tutorial style and instead explain an example of a PAC.
closes #160
Zenodo is mentioned in the discussion, no longer part of the tutorial.
closes #152
the three functions planned_analysis(), report_analysis() and simulate_data() are explained extensively
closes #155
the whole PAC example is typeset in monospace with light grey background
closes #163
synthetic data is mentioned as an alternative
closes #153
I hope it is more clear how these function need to be compatible to each other
closes #83
the results of the pac are no longer included in the main manuscript, the example PAC is more or less stand-alone

Please take a look at preregistration.Rmd

closes #149


Add Customer-service section

Is your feature request related to a problem? Please describe.
Create the customer service section. Remember the project uses Material UI
Describe the solution you'd like
Code out the customer service section and make it responsive for the desktop, laptop and mobile devices.
Deskop view

mobile view

Describe alternatives you've considered
n/a
Additional context
n/a

@westerandr You can work on it.

Thank you @muchirijane, btw trying to find the laptop svg in the website assets but only found one huge svg with all the screens on them. Is there a way I can get the laptop as a single svg please?


Remove duplicate readdirp from the yarn lockfile.

yarn-deduplicated didn't remove this entry.

I just checked, its even more restringent https://github.com/npm/node-semver#tilde-ranges-123-12-1 ... so definitly no overlapping versions there :)

I just checked, its even more restringent https://github.com/npm/node-semver#tilde-ranges-123-12-1 ... so definitly no overlapping versions there :)

In this particular case the issue is that yarn-deduplicate removed all the reachable references to<EMAIL_ADDRESS>but it left both<EMAIL_ADDRESS>and<EMAIL_ADDRESS>in the lockfile. So running yarn on a fresh build resulted in a modified yarn.lock file. So assuming that we want to keep using yarn deduplicate the workflow will be to run again yarn after yarn deduplicate to prune the lock file.


deployment to Volta

Hello, I'm having problems with deploying origin to Volta
when I run the command
yarn run:origin:web3
it doesn't recognize it

can you provide details of terminal output, please. (what mean "it doesn't recognize it" ?)


add locked info

polkadot js has this. very helpful

didn't know. neat. What's the reason for this issue though?

Ok sure. A nice to have.


vectorbase tools map menu: if only one study do not show grouping

omar requested ta standup Aug 31 2023

Isn't this a temporary situation? Or are we only going to release one study for b65?

I think for b65 the only study will be the megastudy, but I'm personally happy to future-proof it and make our dear user click one more time ;-)

I did this in #474


Projection does not work across list of subdocuments

When attempting to project a subset of fields from a list of subdocuments, MongoMock fails to properly emulate MongoDB behaviour, when occurring both in the find and aggregate use cases.
Take this test document as an example:
{'a': 1, 'b': [{'c': 3, 'd': 4}, {'c': 5, 'd': 6}]}
When performing a find operation in MongoDB, and projecting only one of the fields from the subdocument, for instance, field 'b.c', MongoDB returns field 'c' across all subdocuments in the list:
find_one({'a': 1}, {'b.c': 1}):
{'_id': ObjectId('587795f7b0c3993ebd9219fb'), 'b': [{'c': 3}, {'c': 5}]}
The same behaviour applies when projecting in an aggregation:
aggregate([{'$match': {'a': 1}}, {'$project': {'b.c': 1}}]):
{'_id': ObjectId('587795f7b0c3993ebd9219fb'), 'b': [{'c': 3}, {'c': 5}]}
However, this breaks in MongoMock.
When performed during the find operation, an empty dict is returned instead of a list of projected subdocuments:
{'b': {}, '_id': ObjectId('5877922eb0c3993dcebdf17d')}
When the same projection is applied in the aggregation, the aggregation operation fails with an exception:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "mongomock/collection.py", line 1586, in aggregate
    out_collection = _extend_collection(out_collection, field, value)
  File "mongomock/collection.py", line 1464, in _extend_collection
    doc[field] = _parse_expression(expression.copy(), doc)
AttributeError: 'int' object has no attribute 'copy'

I have a fix for this, however it does not match MongoDB behaviour exactly when projections are requests that do not match the documents structure.
However, it appears to behave more closely to MongoDB than before, as it now supports list of subdocuments properly.


[REVIEW]

GitHub Profile Link
http://aditya-deshmukh.me/Mark-up-Portfolio/

Check out my portfolio website created with just markup language

Check out my portfolio website created with just markup language

It's markdown website?

@FayasNoushad s Yes

Great website, @Aditya664! It looks very good. 😄👍
Some stuff I recommend to do, though:

Add spaces after : here.

Remove the profile views count as it's inaccurate.
Implement some of the changes I've done here.


Map lowercase HTML attrs to camelCase React ones

First up thanks for making this!
Right now when converting elements, all attributes except class and style have their name and value copied over from the HTML element to the React one - however, this means that valid lowercase HTML attributes like colspan aren't converted to their React equivalent (colSpan) and as a result don't work.
What this does is take the attributes specified in https://facebook.github.io/react/docs/tags-and-attributes.html, finds all the ones that aren't lowercase and puts them into a map from the HTML version to the React one. When copying attributes the new code checks if the attribute name is in this map, and if it does it substitutes the react version of the name for the HTML one.

Coverage remained the same at 100.0% when pulling 435812842c0f0b17b0eadafa8f7fc4cc99389374 on AlexGilleran:attribute-mapping into f9f4ccaadc24867aca76a1575099abdfd10ac702 on mikenikles:master.

LGTM! 👍

Superseded by #45.


⚠ Website has degraded performance

In 67c5340, Website (https://rheinklang.events) experienced degraded performance:

HTTP code: 200
Response time: 10719 ms

Resolved: Website performance has improved in b3526c8 after 14 minutes.