laurinec-CoronaDash contribution

Thanks for contributing your submission to the e-Rum2020 CovidR contest.
For CovidR contributors:

[x] The title of this PR reflects your contribution
[x] The pull request only includes one new .yml file under contest/contributions
[x] Make sure "Allow edits from maintainers" is checked
[x] Send an email to<EMAIL_ADDRESS>(for further direct communication down the road)

Subject: "Submission to CovidR: PR #00", where #00 is the number of this Pull Request
Content: A full link to this Pull Request
Optionally include your social media profiles (Twitter, LinkedIn, Facebook): we will use them to @mention you while sharing the contribution through our channels.

For CovidR maintainers:

[x] Label the PR as "submission"
[x] Check the validity of the submission
[x] Assess completeness of metadata and possibly adjust the .yml file-name
[x] Check the integration of the new page in the website gallery (via Actions' artifact or locally)
[x] Make sure the email to<EMAIL_ADDRESS>was received
[x] Add a field with the current date and approx. merge time (e.g. 2020-04-01-16:30 for April 1st, 4:30 PM)
[x] Squash-merge the pull request (commit headline will be OK, consider cleaning-up the details)
[x] The initial comment should be automatically created, otherwise comment manually with the raw content of vote-comment.md and an initial like
[x] Provide here the link to the contribution as published to the gallery: https://milano-r.github.io/erum2020-covidr-contest/laurinec-CoronaDash.html
[ ] Instruct contributors on how to include their badge from the gallery page, share on social media, and get a free ticket.
[x] Consolidate e-mailed information.

@PetoLau, your submission is now accepted and visible at https://milano-r.github.io/erum2020-covidr-contest/laurinec-CoronaDash.html :tada:
You can click on the eRum2020::Covidr badge in the page to obtain the badge code you can embed in your repository.
Furthermore, feel free to spread your contribution on social media with the link above, using hashtags #erum2020 #covidr, and invite the community to like the contribution using the corresponding button.
Last but not least: You can get your free ticket for the pre-conference event at https://www.eventbrite.it/e/covidr-erum-2020-pre-conference-event-tickets-104133026686


[Question] How to controll transaction without using withTranscation

Hi
When I try the RX example,
it suggests using Mutiny.SessionFactory or Stage.SessionFactory and withTransaction method
but this method will commit or rollback after exit withTransaction method.
But usually, we need to proceed a transaction within different threads.
eg: begin tx -> query -> call rest API -> insert table 1 -> query cache  -> insert table2 -> commit
then how can I do it by withTransaction?
Can we have beginTransaction which return Transaction object to let the user
control and pass transaction objects manually?
Thanks.
Angus

Hi, I don't really understand what you're asking for here:

what are the session boundaries in what you've written above?
what precisely do you mean be a "thread" in the context of reactive?

Have you seen that there is also a withTransaction() on Session, as well as SessionFactory?

I think he is confused by how to use the withTransaction method and execute several queries within the transaction that is all.
Which queries are using that transaction and when the transaction is commited is unclear.
The doc example is:
session.withTransaction( tx -> session.persist(book) )

Maybe we could get a simple example of how to do it with several inserts/reads chained together ?

Ah, OK, well there are a couple of examples in the example program:
		factory.withTransaction(
				// retrieve a Book and delete it
				(session, tx) -> session.find(Book.class, book2.id)
						.thenCompose( book -> session.remove(book) )
		)
				.toCompletableFuture().join();

		factory.withTransaction(
				// delete all the Books in a transaction
				(session, tx) -> session.createQuery("delete Book").executeUpdate()
				factory.withTransaction(
				// retrieve a Book and delete it
				(session, tx) -> session.find(Book.class, book2.id)
						.thenCompose( book -> session.remove(book) )
		)

And:
		factory.withTransaction(
				// delete all the Books in a transaction
				(session, tx) -> session.createQuery("delete Book").executeUpdate()
						// delete all the Authors
						.thenCompose( $ -> session.createQuery("delete Author").executeUpdate() )
		)
				// delete all the Authors
						.thenCompose( $ -> session.createQuery("delete Author").executeUpdate() )
		)

But sure, I can add an example like that to the docs.

Hi,
I check the source code  of Transaction
Uni<T> execute(Function<Mutiny.Transaction, Uni<T>> work) {
			return begin()
					.flatMap( v -> work.apply( this ) )
					// only flush() if the work completed with no exception
					.flatMap( result -> flush().map( v -> result ) )
					// have to capture the error here and pass it along,
					// since we can't just return a CompletionStage that
					// rolls back the transaction from the handle() function

then I think I know the answer.
I will try to write simple example tomorrow.
thanks

I guess we can close this

thanks.
we could close this ticket.
but just share what we do recently.
because we plan to integrate with Spring Webflux.
and it's mainly using reactor (Mono and Flux)
because currently only supports Stage and Mutiny
so I just wrap Stage into Mono/Flux interface. (include Query, Factory, and Session)
then I don't need to convert Uni -> Mono, and Mono -> Uni everywhere even it's simple
because we need to use Context in Mono, so using Uni isn't that convenient in our project.


Load _sidebar.md only if file exists.

Could it be a better option, to load _sidebar.md only if file(_sidebar.md) exists?
Case:
|-root
|-_sidebar.md (here is navigation from _sidebar.md)
|--/API folder/
  |- API.md
  |-{ no _sidebar.md } (here docsify handles sidebar navigation from markdown)

No way to automatically judge, but you can configure alias
window.$docsify = {
  alias: {
    '/.*/_sidebar.md': '_sidebar.md'
  }
}

Example: https://github.com/ElemeFE/vue-amap/blob/dev/src/docs/index.html#L24


Deploy Microsoft Store page version update

Learn Build status updates of commit b059c61:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/microsoft-store.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


AWS Ingress Actions functions are not found

What happened?
All three Actions Functions of the AWS Ingress Asset display a "Function not found" error when viewing them.
https://github.com/systeminit/si/assets/4064722/71a8c680-81c5-46cf-8cd9-3b94a859a6d0
How can we reproduce this?
Open the AWS Ingress Asset in the Customize view, and then view any of the Asset Functions.
Operating system
Linux
Architecture
x86_64 / amd64
What browsers are you seeing the problem on?
Firefox
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Additional context
No response

Hey @Octogonapus
Unfortunately we are not able to reproduce this - is this continually reproducible for you?
Paul

I can't reproduce this after updating to the latest release.

Thanks for letting me know


Possible DuckDB implementation?

I would like to try out Rover with DuckDB. Any starters that I should keep in mind?

Hey @Ashvith, I've done a little prototyping with this and think it's probably easiest to start a new gem for it since most of the internals will change.

@ankane someone is already working on a Ruby implementation (using the C++ library) - ruby-duckdb. What do you think?

That's what I used for my prototype (you'll likely want to build on top of it).


[7.x] [elasticsearch] use bash for readiness script (#1458)

Backports the following commits to 7.x:

[elasticsearch] use bash for readiness script (#1458)

Tests are still failing because we can't download the goss binary from GitHub inside the Ubuntu based Elasticsearch Docker image:
elasticsearch@elasticsearch-master-0:~$ curl -L "https://github.com/aelsabbahy/goss/releases/download/v0.3.6/goss-linux-amd64" -o goss
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (77) error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs

It seems that's because the ca-certificates package is missing in the Docker image. cc @elastic/infra-release @elastic/es-delivery

We don't install ca-certificates for Elasticsearch, though we do copy in a file from ca-certificates-java. You can use apt-get to install ca-certificates though, e.g.
RUN set -eux ; \
    export DEBIAN_FRONTEND=noninteractive ; \
    apt-get update ; \
    apt-get install -y ca-certificates ; \
    apt-get clean ; \
    rm -rf /var/lib/apt/lists/*

We don't install ca-certificates for Elasticsearch, though we do copy in a file from ca-certificates-java. You can use apt-get to install ca-certificates though, e.g.
RUN set -eux ; \
    export DEBIAN_FRONTEND=noninteractive ; \
    apt-get update ; \
    apt-get install -y ca-certificates ; \
    apt-get clean ; \
    rm -rf /var/lib/apt/lists/*

Unfortunately that's not possible for Elasticsearch chart tests as we need to run tests in an already running container from the unmodified Elasticsearch image which means we also can't exec as root in the running pod to install the package.

PR for workaround => #1460

Well...we could add the package in, but 7.16.0 has already been cut so that's not going to help you. It could be added for 7.16.1 I guess.

Well...we could add the package in, but 7.16.0 has already been cut so that's not going to help you. It could be added for 7.16.1 I guess.

https://github.com/elastic/helm-charts/pull/1460 should do the trick for helm-charts tests, I don't know if there is other use cases outside of helm-charts tests that could require having to run curl with HTTPS inside the containers. I may roll back #1460 later id you're adding back the ca-certificate package in 7.16.1 but can live with it if you don't think that's worth adding it back.

Merging like this for now as tests are already failing anyway and it will need #1460 backport in addition of this PR to fix them.


cljfmt: init at 0.11.1

Description of changes
A tool for formatting Clojure code. This closes #242986.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse.  The build works and it seems runs fine.


after update from version  2.0.0-preview013.3 to  2.0.0-preview017.2 there is a query error

all DateTime Type query using graphql return as null and also come with error
"errors": [
    {
      "message": "Expected a value of type \"DateTime\" but received: {}",
      "locations": [
        {
          "line": 4,
          "column": 5
        }
      ],
      "path": [
        "events",
        2,
        "eventDate"
      ]
    },
    {

I don't know why I got this error , i think the data is already correct and in the DateTime format.
{
"message": "Expected a value of type "DateTime" but received: "2019-11-28T13:28:46.054Z"",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"events",
16,
"createDate"
]
},
{
"message": "Expected a value of type "DateTime" but received: "2019-11-29T09:52:50.342Z"",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"events",
17,
"createDate"
]
},
{
"message": "Expected a value of type "DateTime" but received: "2019-11-29T12:34:19.191Z"",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"events",
18,
"createDate"
]
},
{
"message": "Expected a value of type "DateTime" but received: "2019-11-29T12:39:45.160Z"",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"events",
19,
"createDate"
]
},
{
"message": "Expected a value of type "DateTime" but received: "2019-11-29T15:04:36.427Z"",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"events",
20,
"createDate"
]
}
]
}

Is there a problem with nexus, or nexus-prisma ?

We had a breaking change in preview015 where we started mapping dates to the javascript date type: https://github.com/prisma/prisma2/releases/tag/2.0.0-preview015
So you need to pass a Date object instead of a string now.

@pantharshit00 Thanks for your answer, Do you have the detail about which parts of code I need to change in order to get it work ? both insert and read.   Now the already add info's date keep inside postgres can not be query at all

Can you please share code that you have for this resolver?
You will need to pass a javascript date object wherever you will update the dates.

here is the one
@pantharshit00
export const Event = objectType({
name: "Event",
definition(t) {
t.id("eventId")
t.string("eventNameTH", { nullable: true })
t.model.eventNameEN()
t.field("createDate", {
type: DateTime,
nullable: true,
})
t.field("eventDate", {
type: DateTime,
nullable: true,
})
t.field("bookableDateStart", {
type: DateTime,
nullable: true,
})
t.model.bookableDateEnd()
t.int("priceStart", { nullable: true })
t.int("priceEnd", { nullable: true })
t.string("organizer", { nullable: true })
t.float("latitude", { nullable: true })
t.float("longtitude", { nullable: true })
t.string("location", { nullable: true })
t.string("keyword", { nullable: true })
t.model.locationTextShowEn()
t.model.locationTextShowTH()
t.field("eventAdminCreator", {
type: Admin,
list: [false],
resolve: (parent, args, ctx) => {
return ctx.photon.admins.findMany({
where: {
event: {
some: {
eventId: parent.eventId
}
}
}
})
},
})
t.string("raceType", { nullable: true })
t.string("linkUrl", { nullable: true })
t.string("coverPhotoUrl", { nullable: true })
t.model.coverPhotoUrl_resize()
t.string("youtubeUrl", { nullable: true })
t.field("eventGroup", {
type: EventGroup,
nullable: true,
})
t.string("descriptionTH", { nullable: true })
t.model.descriptionEN()
t.field("comment", {
type: Comment,
list: [false],
nullable: true,
})
t.field("lastUpdateTime", {
type: DateTime,
nullable: true,
})
t.field("lastUpdateAdmin", {
type: Admin,
list: [false],
resolve: (parent, args, ctx) => {
return ctx.photon.admins.findMany({
where: {
event: {
some: {
eventId: parent.eventId
}
}
}
})
},
})
t.field("followBy", {
type: User,
list: [true],
nullable: true,
})
//t.model.followBy()
t.float("eventScore", { nullable: true })
t.field("distance", {
type: DistanceType,
list: [false],
resolve: (parent, args, ctx) => {
return ctx.photon.distanceTypes.findMany({
where: {
event: { eventId: parent.eventId }
}
})
},
})
}

})

Can you please share code for the DateTime type that you are using? Also, I will recommend you to use t.model syntax in place of t. to define your fields as they come with root resolvers and are adhered to your schema.

@pantharshit00
u mean this one ?
export const DateTime = scalarType({
name: "DateTime",
});

Yes, so how can you please try changing this to :
export const DateTime = scalarType({
name: "DateTime",
serialize: t => new Date(t)
});

Closing this one because of lack of activity. @justicejoe In case your issue still exists, please feel free to add a comment here and tag me. I would be happy to reopen this one.


⚠ deces.matchid.io search API has degraded performance

In 7c91185, deces.matchid.io search API (https://deces.matchid.io/deces/api/v1/search?q=pompidou) experienced degraded performance:

HTTP code: 200
Response time: 3064 ms

Resolved: deces.matchid.io search API performance has improved in 59a3299 after 14 minutes.


More text and change hyphenated word to fix demo

now
Even at minimum width, the Chrome (95, desktop) window is too wide to trigger the text to break and demo the hyphens:

https://googlechrome.github.io/samples/css-hyphens/index.html
PR
Double the text to allow it to break, and also move the soft hyphen into "ipsum" so it may break too:

https://hugovk.github.io/samples/css-hyphens/
(Just so happens this now demonstrates a Chromium tofu bug, reported here: https://bugs.chromium.org/p/chromium/issues/detail?id=1270110)

Closing this year old PR but happy to re-open if there's interest.


Tape no longer works in chrome apps

Hi @ljharb
This patch
https://github.com/substack/tape/commit/88d567cdd9fcc0f7016029b8aa97e8439edb85c4
Means that tape no longer works in chrome apps.
The problem is that dynamic function binding is not allowed in the chrome app sandbox due to security restrictions.
Does the patch fix a known issue or is it just housekeeping?
If it's the latter then any chance it can be reverted?
Hope you can help!

wait, what? So this would be invalid:
var regexpTest = bind.call(Function.call, RegExp.prototype.test)

?
Maybe it was added b/c of the following: From the function-bind readme:

PhantomJS does not have Function.prototype.bind

Yeah @yoshuawuyts and to be specific it is function-bind that is failing here
https://github.com/Raynos/function-bind/blob/master/index.js#L38
I can probably provide my own 'function-bind' that returns the RegExp.prototype.test if the revert isn't possible but thought I would ask here first.

If by "dynamic function binding is not allowed", you mean that use of Function is not allowed in Chrome due to CSP restrictions, you're correct. Sadly there's no way to shim bind without it, and ES3 browsers don't have Function#bind.
One possibility (without any forking) would be to use a browserify shim that replaces function-bind with Function.prototype.bind, since you know it's available in a Chrome extension?

Also - can you explain a bit about how you're using tape inside a Chrome app?

Hi @ljharb
Thanks for clarifying the reason for the change.
When I said

I can probably provide my own function-bind

I meant provide a shim.
That seems to be the most sensible option as there are probably more phantom folks than there are chrome app users.
FYI most of the libraries I write for chrome app uses tape.
There is an example here https://github.com/No9/chrome-fs
It's the normal browserify approach.
https://github.com/No9/chrome-fs/blob/master/test/dat-test/write.js
But I write a little harness app to run it.
https://github.com/No9/chrome-fs/blob/master/test/chrome-app/

Shimming and closing

Thanks for pointing it out!


Zero-copy mode

Hello
I'm wondering if it was possible to support some kind of zero-copy mode of decoding and encoding (#31 looks slightly related, but not exactly). AFAIK if the protobuf encodes a string or bytes, they are in the buffer vanilla ‒ so they could just be referenced instead of copied out. I haven't done much deep digging, but I think something like this could work:

Make the Message trait somehow lifetime aware (is that even needed? If both the buffer passed to decode and the Self contain a lifetime, won't the usual lifetime elision rules apply?).
Add option to the prost_build::Config that prefers using &str over String and &[u8] over Vec<u8> (or Cow of these).
Implement Message for these types.

Does that make sense? Would that work? Are there any problems I don't see?

Huh, I've just discovered #35 too 😇.
Anyway, if it turned out that the lifetime elision actually works, would it be a viable strategy?

I think adding lifetime params and borrowed values would be extremely complex, and not useful  in async contexts, which is an important usecase for prost.  #31 outlines an alternate way which doesn't require lifetimes, and remains compatible with the Buf trait (Buf does not guarantee that buffers are contiguous).  If you want lifetimes, I'd point you towards quick-protobuf.

I don't really insist on lifetimes, they are just probably the most obvious tool to get the job done. I'll try to to look at #31 if it fits the needs, but unlike lifetimes, I don't know if I know how to make that work ‒ but maybe when reading through things, it'll become obvious.

I'm going to close this one out, since zero-copy decoding is available for bytes fields, and #392 is tracking support for string fields.


Error: 4 DEADLINE_EXCEEDED: Deadline Exceeded

After few transaction while detecting intent using dialogflow APi's, DEADLINE_EXCEEDED: Deadline Exceeded error is coming and after that always need to restart the service, then again it starts working for a while. Not getting  any relevant answers even after trying lots of blogs.
Using node package: dialogflow
and dialogflow standard edition(Free Version)
//Piece of code
 Error: 4 DEADLINE_EXCEEDED: Deadline Exceeded
     at Object.exports.createStatusError (/srv/node_modules/grpc/src/common.js:87:15)
     at Object.onReceiveStatus (/srv/node_modules/grpc/src/client_interceptors.js:1188:28)
     at InterceptingListener._callNext (/srv/node_modules/grpc/src/client_interceptors.js:564:42)
     at InterceptingListener.onReceiveStatus (/srv/node_modules/grpc/src/client_interceptors.js:614:8)
     at callback (/srv/node_modules/grpc/src/client_interceptors.js:841:24)
   code: 4,
   metadata: Metadata { _internal_repr: {} },
   details: 'Deadline Exceeded' }

While using dialogflow node package, and here using
const sessionClient = new dialogflow.SessionsClient();
to detect intent
not getting the result as detected intent after hitting query for phrase.

@archit150290 what version of the module are you installing? we haven't released the library since yesterday, so I was wondering if you're installing directly off of GitHub.

@archit150290 would you be able to provide us with a minimal amount of code that we can use to reproduce your issue?

@bcoe using version 0.8.0
And I have installed it directly via npm

Also seeing this same issue. Ours is related to a inefficient and non-scalable SDK method listDocuments.
using v2Beta1 : https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect.v2beta1.js
Referencing listDocuments method as an example. This is the function we used to debug:
https://github.com/googleapis/nodejs-dialogflow/blob/dead90b276f73f651fb6eba883b8bd2a3622299d/samples/detect.v2beta1.js#L175
Issue Example:
We have ~6500 documents in 1 Knowledgebase. When we use this method it makes 650 API calls in synchronous (Waiting for each to respond with next page hash). This puts it into the long running operations. According to our Google API stats, each request is taking 2-14 seconds to return. If we go with 2 seconds, that is 21 minutes to return 1 listDocuments method.. Not to mention this 1 listDocuments method often crushes our max operations per minute quota and we have to stop all API calls to google while completing this task or else we risk getting a Quota exceeded error.
Issue Example 2:
The web console is failing with the same error DEADLINE EXCEEDED. When we open the knowledgebase base it says "add your first document" even though there are around 6500 documents in there. After about 10 minutes, in the bottom right corner, a red dialog comes up with DEADLINE EXCEEDED. This verifies its not a code issue on our side, but a scalability, API design, architecture issue on the API server side.
We have 2 hacks around this to prevent our entire infrastructure from being crippled:

We used the pageSize param to increase to the max of 100 without getting an error response. However at 100 per call, the API response is around 14seconds to respond. Putting us at a total of 15 minutes of wait time for 1 listDocuments method.
We began caching and maintaining manifests of document lists and knowledge base data so that we didn't need the API as much. (Redis).

Als we did the following:

We requested higher quotas. However at this time the engineering team does not have the resources to complete the requests. We have been waiting for about 8 days now.
Opened a ticket with Dialogflow support. They have verified the issue and are assigning engineers to the ticket.

If you wish to classify this as an addition ticket, please do so. However we are getting the same error.

@JayVanderlyn if you wanted to discuss more, I would suggest opening a new issue for it, but typically we offer a streaming version of list rpcs (in this case listDocumentsStream). I think this would better fit your needs given the large number of documents in your knowledgebase. If at anytime you want to stop fetching results you would just need to call stream.end()

@developerarcgate could you please try the 1.0.0 version of the library, we recently changed the underlying library being used to interact with the upstream API.
If you are continuing to run into issues, could you please provide a code sample that demonstrates the issue?

Haven't seen any activity here, so I'm going to close this out under the assumption that it has since been resolved. Please let us know if you continue to experience this issue and we'll be happy to re-open and investigate.

@callmehiphop, I am getting the same issue  code": 4, "message": "Webhook call failed. Error: DEADLINE_EXCEEDED while working with  Google.Cloud.Dialogflow.V2 C# library.
Although the webhook call gets executed successfully and returns the expected result.
Any help would be appreciated.
Thanks.

@HilalRather I would suggest making an issue in the C# repo, I'm largely unfamiliar with that code base unfortunately.

@callmehiphop already did that.

I am having exactly the same issue right now, don't know if there is a solution to this. Could you help me? @callmehiphop I rose another issue here

Also getting Webhook call failed. Error: DEADLINE_EXCEEDED  time to time  and can't get what are conditions to reproduce (using fulfillment in NODEJS and FACEBOOK integration)

I'm also getting what it seems like random DEADLINE_EXCEEDED errors, with no clear reproduction steps.
It happens randomly on different intents on different occasion.
Any update?

Having the same issue. It usually happens, but not always and not exclusively, the first time an intent with active fulfillment is called. Any update?

I am preparing json response myself and I also get this error from time to time.

This error happens randomly for me too, even though there is no API call or some heavy background task going on in the webhook when it does and I have the paid plan, so that should not be a limitation issue.

Hello everyone, we are also facing similar issue. any solution for this?

@callmehiphop This issue still is on, it happens in one of my agents but in the side of the webhook calls from dialogflow, have any advance?

Hi, same issue for me. Half of my calls end with this error :(

Any update on this? I can't figure out how these threads are opened since 2 or 3 years ago and no one at the Google Team brings a solution or even an explanation at least. My team and I've spent so much time since weeks but nothing seems to work, literally. We thought about even migrate and leave definitively Firebase since this is a critical error to us.

Same here. Still, now I'm getting this error.

The problem is in the firebase-admin version, the fulfillment is created with version 5.13.1, this for a reason that I do not understand, it randomly failed when it goes to generate the token, my solution was to edit the cloud function from the google console and edit the package.json to change the version 5.13.1 to 9.11.0 and lauch the new cloud function.
This is mi new package.json
   "dependencies": {     "actions-on-google": "^2.2.0",     "firebase-admin": "^9.11.0",     "firebase-functions": "^2.0.2",     "dialogflow": "^0.6.0",     "dialogflow-fulfillment": "^0.5.0"   }


[Rancher CLI] - FATA[0004] Failed to get rancher catalog client http://dev.rancher.test.net/v1/projects/1a3213 Bad response statusCode [404]. Status [404 Not Found]

Rancher versions:
rancher/server: 1.6.17 and 1.6.15
Rancher CLI versions:
v0.6.4 (testing and working)
v0.6.8 (not working)
v0.6.9 (not working)
Steps to Reproduce:

Create a Rancher Environment
Create an Environment API Key
Configure Rancher CLI to use the Environment API End points along with the corresponding key:pair
run  either command
rancher catalog ls or rancher stacks ls  (this commands fails for all its options)

Results:
FATA[0005] Failed to get rancher catalog client http://dev.rancher.test.net/v1/projects/1a3213 Bad response statusCode [404]. Status [404 Not Found]. Body: [404 page not found
] from [http://dev.rancher.test.net/v1-catalog/projects/1a3213]

Expected Behavior
Depending on the options used the commands should either return a list, deploy catalog or interact with a stack
Work Around
Change the Rancher URL from the Environment API endpoint to an Account API endpoint
and then runt he following command like this
rancher catalog install library:route53:v0.6.0-rancher1 --name route53
NOTE
That the syntax located here
will not work with my work around

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Use Direction to determine the to and from addresses in TransactionContract

TransactionContract currently isn't smart about the to and from addresses when it knows the "direction" of a transaction.
@gomesalexandre: "Currently the "To" for deposit is my own ENS which is kind of weird" - fix this by dynamically selecting to and from.

@reallybeard should have a fix for this soon as part of some UI work in flight.

Closed by https://github.com/shapeshift/web/pull/1307


feat: add 8424-4 Swedbank

It is present in http://www.wikiwand.com/sv/Lista_över_clearingnummer_till_svenska_banker

Awesome, thank you! 🥇

:tada: This PR is included in version 0.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Strangeness when moving a file

I moved a template from one directory to another, and updated the reference to it in a coffeescript file that was using it. When I did so, I got this error:
compiled /Users/ysimonson/Desktop/dailymuse/themuse/static/scripts/admin/task.js
Cannot find module '../../components/admin/progress_bar.js' from '/Users/ysimonson/Desktop/dailymuse/themuse/static/templates/apps/admin'

task.js is empty, so it didn't compile. The error on the second line should probably provide more context, because it wasn't clear that the error was actually coming from something else that was referencing the template - another template.
When I updated that template, I got this this:
Compiled `assets/templates/apps/admin/task.html` to `static/templates/apps/admin/task.js`

And looking at the source code of the template, it looks like it compiled fine. Cool. But my task.js is still empty. I tried re-saving the associated coffeescript file to see if it just missed the update, but I'm still getting an error:
compiled /Users/ysimonson/Desktop/dailymuse/themuse/static/scripts/admin/task.js
Cannot find module 'progress_bar.js' from '/Users/ysimonson/Desktop/dailymuse/themuse/static/templates/apps/admin'

This is strange because there is indeed a progress_bar.js at that path:
$ ls /Users/ysimonson/Desktop/dailymuse/themuse/static/templates/apps/admin/progress_bar.js
/Users/ysimonson/Desktop/dailymuse/themuse/static/templates/apps/admin/progress_bar.js

So it appears the errors are two-fold:

mithril-coat erroneously reporting that it successfully compiled a file, when it didn't.
Some sort of bug in the dependency resolvers, such that the templates can compile successfully, but any coffeescript files referencing those successfully compiling templates fail to compile themselves.

Update: the fix was to change the reference progress_bar.js in the template to ./progress_bar.js. But interestingly enough, it didn't work until mithril-coat's template watcher was restarted. The need to restart is a bug, but I'd argue that it's also a bug to not consider progress_bar.js to be the same thing as ./progress_bar.js.

Thanks for the update.
I agree that it's a bug that to not consider progress_bar.js the same thing as ./progress_bar.js. Will push out a fix soon.
This bug also sounds like error reporting needs to be a bit more refined for template errors.


Add darkmode on the offical npm website

I personally prefer to keep all my working environments in dark mode and whenever I go to a site without a dark mode feature. I just can't take it, it bothers me a lot.
I would like us to that feature on the official npm website, because personally it's my go to, for looking up documentations fast for packages I need.
I'm not alone though😅

Hi @KevinRebakure! While I understand the dark mode might bring convenience, it's a feature that requires a non-minor lift such as a major review - and potential rewrite - on the whole website structure without compromising accessibility. At the same time, you may try workarounds such as using reader mode on your browser.
Because of that, this feature is not yet making the cut for our roadmap.
Given that, this issue tracker is not the most adequate for such feature request. I suggest you use the Community discussions as there is a thread for this. Adding requests here won't help.


order humann normalize and join

If you first join the tables and then normalise the joined tables this will safe a lot of norm jobs

Nice, didn't know the normalize function works on joined tables too!


update api versions in snippets

Fixes #1357

Override:
"Windows VM Custom Script": [
    // Blocked by https://github.com/Azure/azure-resource-manager-schemas/issues/995
    "Missing required property \"commandToExecute\"",
]

https://github.com/Azure/azure-resource-manager-schemas/issues/995 marked as fixed.


If I call the same with path where file is not empty, it works fine and when I call it with wrong path, I get an error.

I think this might be an issue in hyperdrive. I'd suggest opening an issue there and wrapping your calls to readFile with a timeout in the meantime.

Thank @RangerMauve ! Done!


Disallow css selector tied to page layout doesn't work with template strings

//this doesn't work -  linter doesn't define the  error
private get _test(): WebdriverIO.Element {
return $(`.abc #def > ["data-test"="test"]`);
}
//this works well - linter defines the error
private get _test2(): WebdriverIO.Element {
return $('.abc #def > ["data-test"="test"]');
}

Added support for template string in version 0.3.0


Change Abstract Object term to Object types in Module API docs

Description:

https://dev.ballerina.io/swan-lake/learn/api-docs/ballerina/http/index.html#absobjects
Affected Product Version:
slp4

This is fixed with: https://github.com/ballerina-platform/ballerina-lang/pull/28757


Compile with RelWithDebInfo

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

This will compile with "-O2 -g" instead of "-O3".
The binary will be about 9.2M instead of 681K, so that's not a big issue.
Having the debug info can be very useful in case of crash.
Update 20230111: Moved the debug symbols to a new package: hdbpp-es-dbg

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


Display image inline block

Hi,
I have a question.
I don't succeed to display image in inline-block with mj-image tag.
Can I have some help please ?

Hello @mdrick
What do you want to achieve ? Looks like you want to do a 2 column layout. Such as :
<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
         <mj-column>
           <mj-image ... />
         </mj-column>
         <mj-column>
            <mj-text ... />
         </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

I think that @mdrick means something like that:

I'm also interested in knowing how please

You can try this
<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
         <mj-column>
           <mj-text>
              Hello
           </mj-text>
         </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

It's not perfect, but it's a start solution

@lohek Thanks, got it. I thought that HTML elements were forbidden in the MJML markup :)
Next I have to play with vertical-align, not sure that it's well supported in email clients.
There's also this solution:

Use padding-top, and padding-bottom with a negative value.
source: http://stackoverflow.com/questions/16926941/valign-not-working-in-outlook-html-emails

And this ?
<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
         <mj-column>
           <mj-table>

                 Hello

           </mj-table>
         </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

Mobile

Desktop

<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
        <mj-column>
          <mj-text>

              Best email ever

          </mj-text>
          <mj-image src="http://191n.mj.am/img/191n/3s/xxr.png" />
        </mj-column>
      </mj-section>
      <mj-section>
         <mj-column>
            <mj-table>

                  Hello 1

                  Hello 2

            </mj-table>
            <mj-text>
              You've got a mail
            </mj-text>
         </mj-column>
      </mj-section>
      <mj-section>
        <mj-column>
          <mj-divider />
          <mj-text>
            Such w0w
          </mj-text>
        </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

Maybe you can use pixel width for column (but beware for responsive)

@lohek Yes it's vertical-aligned now!, my only concern is that I didn't manage to align right the second TD. I'd like to achieve this:

OKay I succeded by doing this:

      <mj-section padding-bottom="0">
        <mj-column>
           <mj-image padding-left="0" width="120" align="left" src="http://www.mylogo.com/" />
        </mj-column>

        <mj-column>
      <mj-table padding-top="25px" align="right" padding="0">

                 Allo: 04 67 XX XX XX

           </mj-table>
        </mj-column>
      </mj-section>

A little more tricky... but :
<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
        <mj-column>
          <mj-text>

              Best email ever

          </mj-text>
          <mj-image src="http://191n.mj.am/img/191n/3s/xxr.png" />
        </mj-column>
      </mj-section>
      <mj-section>
         <mj-column>
            <mj-table>

                        Hello 1

                        Hello 2

            </mj-table>
            <mj-text>
              You've got a mail
            </mj-text>
         </mj-column>
      </mj-section>
      <mj-section>
        <mj-column>
          <mj-divider />
          <mj-text>
            Such w0w
          </mj-text>
        </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

this seems like a a good candidate for a new component, will try to PR

Thanks @younes0 for your contribution! Until you open a PR, I'm closing this issue which looks solved to me. Feel free to reopen if something is still missing to you.

I ended up using mj-social since the above solutions were not as we expected on some devices/clients. A mj-social icon-url instead of base-url parameter would be a nice addition

i need to do the same thing, basically show a text and an icon right next to it.
what's the current recommended way of achieving this?
using mj-social feels really hacky, also i need the icon to be on the right of the text not the left.
thanks!

Hey @talarari, can you explain more in details your need? A mockup/design would help.
Also, feel free to create your own issue for assistance as this one is >1 year old.

If you want to take advantage of the functionality of mjml and save code, try this.

(01)500 0000

      <mj-social-element color="#fff" src="assets/whatsapp.png">
        977 822 185
      </mj-social-element>
    </mj-social>

Hye there,
I red in the documentation that it's possible to make the mj-social not clickable by not adding an href attribute, but the html generated still contain  element that display pointer on hover and have redirection. Any idea how to make mj-social element not clickable ?

I can't really reproduce https://mjml.io/try-it-live/rkoVuzqRL ?

Indeed, when I paste your code inside my local code, it becomes clickable and in reverse, when I paste my code inside this codepen, it becomes not clickable ...

Maybe you have an old mjml version ?

I'm using the vscode extension and you're right, it uses mjml 4.2.0 and in the releases, I've seen that the feature i'm seeking was released with the version 4.5.0.
Thanks a lot for your help !

You might want to switch to our fork then

Guys, I would want to use an image in the MJML email template that I am creating. I am using the image as a Link that is hosted on AWS. But the image does not seem to be working and it does not show the image. Could anyone help me with this?

No so much we can do without code here. MJML rely on standard html  img tag
so most likely an issue not related with mjml
On Tue, Mar 30, 2021 at 12:47 PM Shanjai Raj @.***>
wrote:

Guys, I would want to use an image in the MJML email template that I am
creating. I am using the image as a Link that is hosted on AWS. But the
image does not seem to be working and it does not show the image. Could
anyone help me with this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/issues/223#issuecomment-810119904, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTNOOLBEF53W2XZEAYTTGGT3VANCNFSM4CC35CKA
.

It is related to the way MJML handles multiple images next to each other (using MJML version 4.8.1 in the macos app v3.0.3). I'm experiencing the same when adding multiple images and adding a css-class which has only display:"inline-block".
When adding a  block, all is transformed into one table. But when adding several images in one column, all images are placed in one big table and for each image, a row and within that row the image placed in a separate table. This of course blocks you from using the inline-block.

@SPChristopher your solution is truly genious! So clean and customizable! Saved a lot of time for me, thanks! =)


Merging svelte rendering to main, TESTING BEFORE MERGE please

Description
Some amount of people should test the renderer-svelte branch out, before we merge.

Closing with Tolga's approval


[BEAM-2969] Handle negative AVRO timestamps

from BigQuery batch loads.
Also simplifies the code a bit. Microsecond part will have trailing
zeroes.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Lots of GCS 503s. Retrying tests one-by-one.

Run Java PreCommit

Run Java_Examples_Dataflow PreCommit

Run JavaPortabilityApi PreCommit

run java postcommit

Woah this is pretty tricky. I was wondering yesterday what happens with leap years, leap seconds, and daylight savings with these things...
It looks good to me. I'll take another look, and wait for the tests to pass.

What happens if we need 64 bits to represent a positive time? Maybe that's too far in the future?

This LGTM. Just hoping for an answer to my previous question, and I'll merge after tests pass. Thanks!

The timestamp we get from BQ is a signed 64-bit integer.
>>> (2**63-1) / 1000000. / 86400 / 365
292471.208677536

We have about 290,000 years left. :)

Thanks Udi


Added OMetaTag mixin

Describe your changes :
This implement the Tag Mixin for the OMeta API class (#1526)
Type of change :

[ ] Bug fix
[ ] Improvement
[x] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have performed a self-review of my own.
[x] I have tagged my reviewers below.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
Ingestion: @harshach @ayush-shah @pmbrull

For py-test failures #2634

Thanks @TeddyCr for amazing work!!


Error when launching a scene with a PhantomCamera from a build export

Issue description
When I'm launching my game on Android, and go into a scene that has PhantomCamera nodes, I get an error output.
The issue is caused from line 27 in the viewfinder.gd script:
Parser Error: Could not find type "EditorInterface" in the current scope.
Steps to reproduce

Create a 3D project with a camera and PhantomCamera nodes
Set up Android phone & export
Connect Android via USB and run it there through the Remote Debug button in Godot
Issue should appear. Keep the phone connected to the host editor to see the Debugger show the error

(Optional) Minimal reproduction project
No response

Also referenced in #164.
Do you experience a crash, or is it just the error log?

It does halt the game, but it's just an error in the log -- I can resume the execution of the game through the pause/play running project button.
It resumes naturally when I am not using the debugger / if I have my Android unplugged.

Nice, then it does seem to be a general export issue, rather than Android specific. As I also saw this the other day when doing a Linux and Mac build.
Not a high priority, but needs to be addressed still.

Getting this issue too, it resolves itself after about 30 seconds, but levels halts level loading till it clears

Exported a build and tried running the 2DLimitExampleScene.tscn on an Android. Didn't see anything unusual, so doesn't seem to only affect a build directly, only when running it in debug mode when connected to the computer.

Getting this issue too, it resolves itself after about 30 seconds, but halts level loading till it clears.

Is this when you're running a debug build using the steps @vgwyn lists above, or when running the project without the Godot debugger — i.e. on the phone independently?

Having this plugin installed also seems to break android apps when closed and reopened. Removing nodes doesn't fix, only removing nodes and plugin fixes the issue

Not entirely sure what that is about. When you say “break android apps when closed and reopened”, do you mean it crashes other opened apps?

Exported a build and tried running the 2DLimitExampleScene.tscn on an Android. Didn't see anything unusual, so doesn't seem to only affect a build directly, only when running it in debug mode when connected to the computer.

Getting this issue too, it resolves itself after about 30 seconds, but halts level loading till it clears.

Is this when you're running a debug build using the steps @vgwyn lists above, or when running the project without the Godot debugger — i.e. on the phone independently?

After a little more testing the slow down was not related to Phantom Camera but something else, when not running with remote debug the error isn't a problem.

Having this plugin installed also seems to break android apps when closed and reopened. Removing nodes doesn't fix, only removing nodes and plugin fixes the issue

Not entirely sure what that is about. When you say “break android apps when closed and reopened”, do you mean it crashes other opened apps?

Deploying via remote debug works fine until the app is closed. It then fails to reopen. The application can be paused and it will resume but if it closes it will not be able to reopen. The only way to get the app to run again is to redeploy. Clearing app cache or force stopping it does not fix the issue. I tried removing various things but only removing the whole PhantomCamera plugin fixed the issue. I don't have any detailed logging from the app unfortunately, I will attempt to replicate this in a sample project when I have the chace.

Deploying via remote debug works fine until the app is closed. It then fails to reopen. The application can be paused and it will resume but if it closes it will not be able to reopen. The only way to get the app to run again is to redeploy. Clearing app cache or force stopping it does not fix the issue. I tried removing various things but only removing the whole PhantomCamera plugin fixed the issue. I don't have any detailed logging from the app unfortunately, I will attempt to replicate this in a sample project when I have the chace.

That sounds super weird! I'll have a tinker with the removing the error that's been mentioned a few times soon. That might solve the issue altogether. If it doesn't then we can see if there's a way to debug it further.

I am getting this issue as well but it's breaking the limiter functionality. I'm referencing a tilemap to limit the camera and it works in the editor but after exporting it breaks and gives me this exact same error in the debugger.

I am getting this issue as well but it's breaking the limiter functionality. I'm referencing a tilemap to limit the camera and it works in the editor but after exporting it breaks and gives me this exact same error in the debugger.

Limit export issue is also reported in #164. The error you see isn't related to the viewfinder.gd error though, but rather a problem with the property itself. Still have no idea what's causing it, but it appears to be solved in the 0.7 branch in all my export tests so far.

I am getting this issue as well but it's breaking the limiter functionality. I'm referencing a tilemap to limit the camera and it works in the editor but after exporting it breaks and gives me this exact same error in the debugger.

Limit export issue is also reported in #164. The error you see isn't related to the viewfinder.gd error though, but rather a problem with the property itself. Still have no idea what's causing it, but it appears to be solved in the 0.7 branch in all my export tests so far.

Thank you, when is that branch going to be finished btw?

Thank you, when is that branch going to be finished btw?

Sometime shortly after Godot 4.3 releases — it's just to ensure that it's compatible out of the gate.

Deploying via remote debug works fine until the app is closed. It then fails to reopen. The application can be paused and it will resume but if it closes it will not be able to reopen. The only way to get the app to run again is to redeploy. Clearing app cache or force stopping it does not fix the issue. I tried removing various things but only removing the whole PhantomCamera plugin fixed the issue. I don't have any detailed logging from the app unfortunately, I will attempt to replicate this in a sample project when I have the chace.

That sounds super weird! I'll have a tinker with the removing the error that's been mentioned a few times soon. That might solve the issue altogether. If it doesn't then we can see if there's a way to debug it further.

So I got the chance to hunt this down at last, it was actually related to remote deploy, when deployed via android studio everything works fine.

This should be resolved in the latest release, but feel free to reopen if not.


Fix osx_profile coverage failure and update spec

Bad test lead to a provider coverage failure for brand new machines with no profiles installed. This fixes the test and ensures profiles will actually install on machines that currently have no profiles.
@jaymzh must do the merge as he is our designated CLA person. Thanks Phil!

:+1:

CC @chef/client-core @chef/client-os-x

:+1:

Who knows about Appveyor? Should we consider a windows test breakage a blocker for mac-only code?

:+1: I think appveyor is hitting a maximum test time threshold because of integration tests invoking some new functionality in ohai that is slow. That is being addressed now, and I think we can safely ignore it.

Also, I think appveyor should be at least stabilized now, a rebase may fix it.

I need to test one more case I realized. I'll test that quick, rebase and update this diff.

Confirmed we are good on the edge case and rebased.

Sorry about the amend, I fixed the readability on lines 60-63

K, I'll merge once travis passes.

Also, if this could get tagged for the 12.7 release, I'd be thrilled ;)

just get it merged, we haven't branched off master yet.

Well now travis fails, and I can't merge with travis failing...

@jaymzh It looks like a ruby gem dependency error?
I ran the full spec test locally without issue.
I'll try rebasing again.....

@danielsdeleo  did someone break travis tests?

It looks like the rebase might've updated 'chefstyle' and now you're failing the style/lint stuff:

heh the exact opposite way we do strings internally. Fair enough. Sorry missed that... in the output somehow

OK travis passes. Merging.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@natewalck

Please sign the CLA here.


[Feature] Equivalent Resistance Calculator

Description
Equivalent Resistance Calculator for series and parallel resistance
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[X] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Please assign me

please assign me this issue under iwoc as i can made the equivalent resistence calculator with improved ui @Smritigit1202

Go ahead @Smritigit1202

@Smritigit1202 Status of your PR pls

Working on it
On Fri, Jan 19, 2024 at 5:22 AM Rakesh Roshan @.***>
wrote:

@Smritigit1202 https://github.com/Smritigit1202 Status of your PR pls
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/CalcDiverse/issues/327#issuecomment-1899400513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A32YP4D6QQ4QZKVU2EE762LYPGYTNAVCNFSM6AAAAABB5CCEC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGQYDANJRGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @Smritigit1202 You have just created PR in your own repo and merged yourself!!

Check this and work accordingly @Smritigit1202

Ok thanks
On Fri, Jan 19, 2024 at 8:00 PM Rakesh Roshan @.***>
wrote:

Check this
https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/
and work accordingly @Smritigit1202 https://github.com/Smritigit1202
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/CalcDiverse/issues/327#issuecomment-1900521833,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A32YP4A2WB42I5UKSVDOBDLYPJ7RPAVCNFSM6AAAAABB5CCEC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBQGUZDCOBTGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

I have created a pull request , Please tell If I have done correct so far?

Can you please assign me this issue under JWOC?

Go ahead @Jenis07

@Rakesh9100 , I had already made PR for this issue

I have already left the comment on your PR to fix an error 3 days back but no response so you are unassigned @Smritigit1202

I have created a pull request , Please tell If I have done correct so far?

I fixed the PR, by adding the project to main , and then commented this .. , I received no reply afterwards

Check your PR again by scrolling down @Smritigit1202

@Rakesh9100 , It shows merged and closed

I have created a new pull request

You are already unassigned, no acceptance @Smritigit1202
Take care from the next time!!

Sir please assign. Me this issue under iwoc

Status of your PR @Jenis07

@Sakshamjain98 Do you want to work

Yes sir

Proceed @Sakshamjain98

Sir Done

Seperate the css codes to style.cssand js codes to script.js for quality code and clear understanding @Sakshamjain98


Building fmhs Fails Due to Missing Dependencies

Description
Building fmhs fails due to missing dependencies in the Formality.cabal file.
To Reproduce
Execute the commands:
git clone https://github.com/Kindelia/Kind
cd Kind/bin/hs
cabal build
cabal install

The output:
Build profile: -w ghc-8.10.7 -O1
In order, the following will be built (use -v for more details):
 - Formality-<IP_ADDRESS> (lib) (first run)
 - Formality-<IP_ADDRESS> (exe:fmhs) (first run)
Preprocessing executable 'fmhs' for Formality-<IP_ADDRESS>..
Preprocessing library for Formality-<IP_ADDRESS>..
Building executable 'fmhs' for Formality-<IP_ADDRESS>..
Building library for Formality-<IP_ADDRESS>..

<no location info>: warning: [-Wmissing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules:
        FormalityInternal
[1 of 2] Compiling FormalityInternal ( src/FormalityInternal.hs, /home/thedward/tmp/Kind/bin/hs/dist-newstyle/build/x86_64-linux/ghc-8.10.7/Formality-<IP_ADDRESS>/x/fmhs/build/fmhs/fmhs-tmp/FormalityInternal.o )
[1 of 2] Compiling FormalityInternal ( src/FormalityInternal.hs, /home/thedward/tmp/Kind/bin/hs/dist-newstyle/build/x86_64-linux/ghc-8.10.7/Formality-<IP_ADDRESS>/build/FormalityInternal.o, /home/thedward/tmp/Kind/bin/hs/dist-newstyle/build/x86_64-linux/ghc-8.10.7/Formality-<IP_ADDRESS>/build/FormalityInternal.dyn_o )

src/FormalityInternal.hs:8:1: error:
    Could not load module ‘System.Directory’
    It is a member of the hidden package ‘directory-<IP_ADDRESS>’.
    Perhaps you need to add ‘directory’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
8 | import System.Directory
  | ^^^^^^^^^^^^^^^^^^^^^^^

src/FormalityInternal.hs:9:1: error:
    Could not load module ‘System.FilePath.Posix’
    It is a member of the hidden package ‘filepath-<IP_ADDRESS>’.
    Perhaps you need to add ‘filepath’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
9 | import System.FilePath.Posix (takeDirectory)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/FormalityInternal.hs:8:1: error:
    Could not load module ‘System.Directory’
    It is a member of the hidden package ‘directory-<IP_ADDRESS>’.
    Perhaps you need to add ‘directory’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
8 | import System.Directory
  | ^^^^^^^^^^^^^^^^^^^^^^^

src/FormalityInternal.hs:9:1: error:
    Could not load module ‘System.FilePath.Posix’
    It is a member of the hidden package ‘filepath-<IP_ADDRESS>’.
    Perhaps you need to add ‘filepath’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
9 | import System.FilePath.Posix (takeDirectory)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build Formality-<IP_ADDRESS>.
Failed to build exe:fmhs from Formality-<IP_ADDRESS>.

Adding filepath and  directory to the dependencies in the cabal file allows it to compile without errors.
Expected behavior
I would expect it to compile without errors.
Environment

OS
Debian GNU/Linux 11

Kind Version
1.0.112 (master)

GHC Version
8.10.7

Cabal Version
<IP_ADDRESS>

Additional context
Add any other context about the problem here.

Unfortunately we are only mantaining the javascript release, so haskell won't work. But you can use the javascript version to try Kind.


Issues with proxy configuration in settings.json

We're attempting to add letsencrypt to an IIS installation that doesn't have direct internet access. We're attempting to use the AWS Router 53 verification method. So, we're mostly using a "standard" setup with the exception of having to use DNS configuration verification because the machine is using a private IP address.
If I add http://xx.xx.xx.xx:3128 to the settings.json proxy section, things go pretty well up until the final steps (see verbose log below). If I put the same proxy information in the Windows proxy setup, wacs works fine, which seems to rule out the issue being the proxy server. We don't want this machine to have access to the internet which is why we're not wanting to proxy the entire box, we only want to proxy the wacs process.
I think that either:

The proxy setting hasn't been correctly entered in settings.json (I'm not clear on the formatting, we're just using a standard squid proxy).
The proxy is NOT being used for part of the process. Maybe the AWS Route 53 plugin does respect the proxy listed in settings.json?

Thanks for any information you can offer and let us know if you need more logs.
[DBUG] Scanning IIS site bindings for hosts
[VERB] 2 named bindings found in IIS
[VERB] No site filter applied
[VERB] No host filter applied
[VERB] 2 matching bindings found
[VERB] Checking [IIS] (any site), (any host)
[WARN] Cached order available but not used with the --force switch.
[VERB] Creating order for hosts: ["devsr.clcohio.org", "devleap.clcohio.org"]
[VERB] Loading ACME account signer...
[DBUG] Loading signer from C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Signer_v2
[VERB] Constructing ACME protocol client...
[DBUG] Send GET request to https://acme-v02.api.letsencrypt.org/directory
[VERB] Request completed with status OK
[DBUG] Send HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-nonce
[VERB] Request completed with status OK
[DBUG] Loading account information from C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Registration_v2
[DBUG] Send POST request to https://acme-v02.api.letsencrypt.org/acme/new-order
[VERB] Request completed with status Created
[VERB] Order https://acme-v02.api.letsencrypt.org/acme/order/82883656/2936309772 created
[VERB] Handle authorization 1/3
[DBUG] Send POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/3843522364
[VERB] Request completed with status OK
[INFO] Authorize identifier devleap.clcohio.org
[VERB] Initial authorization status: pending
[VERB] Challenge types available: ["http-01", "dns-01", "tls-alpn-01"]
[VERB] Initial challenge status: pending
[INFO] Authorizing devleap.clcohio.org using dns-01 validation (Route53)
[VERB] Querying server <IP_ADDRESS> about org
[DBUG] Querying name servers for org
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying server <IP_ADDRESS> about clcohio.org
[DBUG] Querying name servers for clcohio.org
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying server <IP_ADDRESS> about devleap.clcohio.org
[DBUG] Querying name servers for devleap.clcohio.org
[VERB] Querying server <IP_ADDRESS> about _acme-challenge.devleap.clcohio.org
[DBUG] Querying name servers for _acme-challenge.devleap.clcohio.org
[EROR] Error preparing for challenge answer
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)    at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)    at Amazon.Runtime.Internal.HttpHandler1.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.MetricsHandler.InvokeAsync[T](IExecutionContext executionContext)
at PKISharp.WACS.Plugins.ValidationPlugins.Dns.Route53.GetHostedZoneId(String recordName)
at PKISharp.WACS.Plugins.ValidationPlugins.Dns.Route53.CreateRecord(String recordName, String token)
at PKISharp.WACS.Plugins.ValidationPlugins.DnsValidation1.PrepareChallenge()    at PKISharp.WACS.Plugins.ValidationPlugins.Validation1.PrepareChallenge(IChallengeValidationDetails challenge)
at PKISharp.WACS.RenewalExecutor.Authorize(ILifetimeScope execute, RunLevel runLevel, ValidationPluginOptions options, TargetPart targetPart, Authorization authorization)
[VERB] Starting post-validation cleanup
[WARN] An error occured during post-validation cleanup: No connection could be made because the target machine actively refused it.

You were spot on, the Route53 plugin ignored the proxy settings. This should be fixed in this build: https://ci.appveyor.com/project/WouterTinus/win-acme-s8t9q/builds/32084966/artifacts


Use-VSCode

Much like in ugit, Use-VSCode should wrap the code executable and expose itself as an alias.
It should also be a point of extensibility (aka, someone should be able to add their own -Parameter to code)

This doesn't quite feel like the right direction, as not all commands will resolve to a call in code.  May revisit later.


[http_check] Does not work well with auto discovery (docker)

There doesn't seem to be a way to have multiple instances of http_check that target a specific set of containers/images in the auto discovery template.
Ideally I would want to be able to do something like:
conf.d/auto_conf/http_check_XXXX.yaml
ad_identifiers:
    - XXXX

init_config:

instances:
    - name: XXXX-health
      url: https://%%host%%:8443/XXXX/health

conf.d/auto_conf/http_check_YYYY.yaml
ad_identifiers:
    - YYYY

init_config:

instances:
    - name: YYYY-health
      url: https://%%host%%:8443/YYYY/health

Hi @aaronjwhiteside ,
You seem to be encountering typical agent setup issues, I recommend you directly contact<EMAIL_ADDRESS>as these trackers are meant for bugs and not configuration questions.
As for this issue, the best way to address your need is to use autodiscovery templates embedded as docker labels or k8s pod annotations.
Agent6 also supports several templates per check via the new conf.d/check_name.d/freeform_name.yaml path convention.

Thanks @xvello
I took another look and found no mention of conf.d/<check_name>.d/foreform_name.yaml in the documentation available at https://docs.datadoghq.com/agent/autodiscovery/.
This seems like a shortcoming of the documentation.


Design improvments for markets (Savitar)

@vpetrusenko Pls read my comment again from previous PR.

@yivo but in this PR i didn't touch peatio code and just prepare a css file, what's wrong?

@yivo Sorry, misunderstanding from me


Restore the cache without recalculating the tree

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

LGTM


Correction of incorrect data points (as with the statistics tool)

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I encounter occasional errors in my modbus-derived data. This leads to big spikes e.g. when calculating the annual performance factor for our heat pump. It is usually around 4.5, but jumped above a million before adding a filter to the input data. It would be great if I could correct values like these to get correct data from MeasureIt, but I did not find an option in the statistics tab of the HA developer tools.

Describe the solution you'd like
An easy to use option from the end-user perspective would be to be able to use said statistics tool for corrections.
Describe alternatives you've considered
I have added a filter to the input-data of variables that I know might get false data. A solution for older data points and unexpected errors would be helptful.
Additional context
If I misunderstood the way MeasureIt works and corrections in the input data are picked up in the MeasureIt entities after some time, please let me know.

MeasureIt is indeed keeping its own state and not looking back at the corrected values of source sensors.
However, there is calibrate service which you could use to correct the state of Measureit.


Build MVP for a data labeling TT articles to move them from postgres to neo4j graph database.

MVP must have:

A table that displays all of the article nodes in the database with specific tags. It should indicate if this node has already been labelled with a lat/lon field or not.
When a node is selected then a map pop ups showing either the existing point or just Trinidad and Tobago that allows you to select a point on the map.
You can then update or create a lat/lon point entry in the Neo4j Graph database

Implemented the Dash application that allows me to add spatial points for Loop TT Article nodes


Chinese words problem

Please add multilanguage support - maybe just english-; because blackPanther OS users does not understand the chinese words and can't using now.

@blackPantherOS Sorry for that. Multi-language support will come at 2.x versions. Maybe a month later. You can modify my code for now.

@blackPantherOS Now, the texts for message recall and mention user are in English. The sharing menu is still in Chinese. The whole i18n thing will be done in 2.x. But I believe the current version will not block your reading.
BTW, is there any English speakers using this app?


--client-config-path option does not work

I am trying out the changes introduced in https://github.com/GoogleCloudPlatform/metacontroller/pull/113/commits/db0ecdf660505fdea3ef549970aa70c6472a9ed3 for the issue https://github.com/GoogleCloudPlatform/metacontroller/issues/111
Suppose you have 2 clusters - "metacluster" and "usercluster". Below are the steps I am following :

I am installing metacontroller using the steps mentioned in https://metacontroller.app/guide/install/ in the metacluster
Next, I upload the kubeconfig of usercluster as a configmap in the metacluster.
Then, I attach the configmap as a volume to the statefulset of metacontroller and also update the metacontroller container command to add --client-config-path and pass the kubeconfig path to it in metacluster.
Next, I create a CRD "hello-world" in usercluster
I create a compositecontroller for this CRD in metacluster and deploy the webhook in metacluster
With this setup ready, I now try to create a k8s object of type "hello-world" in usercluster

Expectation: Child resources of "hello-world" CRD should spin up in usercluster
Observation: No child resources spin up. I see the below errors in metacontoller pod in metacluster :
 metacontroller.app/client/generated/informer/externalversions/factory.go:117: Failed to list *v1alpha1.ControllerRevision: the server could not find the requested resource (get controllerrevisions.metacontroller.k8s.io) metacontroller.app/client/generated/informer/externalversions/factory.go:117: Failed to list *v1alpha1.DecoratorController: the server could not find the requested resource (get decoratorcontrollers.metacontroller.k8s.io) metacontroller.app/client/generated/informer/externalversions/factory.go:117: Failed to list *v1alpha1.CompositeController: the server could not find the requested resource (get compositecontrollers.metacontroller.k8s.io)
I can see from the logs that the metacontroller pod in metacluster is looking for controllerrevision, decoratorcontroller and compositecontroller in the usercluster instead of the metacluster. From my understanding, it should be looking for it in the metacluster instead.
Can anyone explain how to get this scenario to work? Is my understanding of the change correct?

I think I found my mistake. The composite controller CRD and hello-world composite controller need to deployed to the usercluster for this to work.


na traces acquired before end of acquisition lead to failures

must use smart scheme for missing data (i.e. dont include them)

It looks to me like it is solved. Do you confirm ?

I just tried it and get no more error. However, the missing points for an incomplete acquisition are automatically set to zero. I would advocate to simply not insert missing datapoints into a curve. Another option would be inserting nan's, which usually leads to other problems sooner or later.
Do you agree with not saving missing points?

Done, I hope that didn't introduce extra bugs in particular with the pyinstruments interface. I also corrected the way the trace_avg number was incremented (now starts at 0 instead of 1)

the fix 858c704 causes a lot of failures in nosetests. im trying to fix that right now, unless you have a better idea..

======================================================================
ERROR: pyrpl.test.test_hardware_modules.test_pid_na_iq.TestPidNaIq.test_iq_na
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\nose\case.py", line 1
98, in runTest
    self.test(*self.arg)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\test\test_hardware_modules\test_pid_na_iq
.py", line 347, in test_iq_na
    c = CurveDB.create(f, data, name='test_iq_na-failed-data')
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\curvedb.py", line 88, in create
    ser = pandas.Series(y, index=x)
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\pandas\core\series.py
", line 245, in __init__
    data = SingleBlockManager(data, index, fastpath=True)
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\pandas\core\internals
.py", line 4070, in __init__
    fastpath=True)
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\pandas\core\internals
.py", line 2685, in make_block
    return klass(values, ndim=ndim, fastpath=fastpath, placement=placement)
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\pandas\core\internals
.py", line 109, in __init__
    len(self.mgr_locs)))
ValueError: Wrong number of items passed 51, placement implies 1

======================================================================
ERROR: pyrpl.test.test_hardware_modules.test_pid_na_iq.TestPidNaIq.test_na
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\nose\case.py", line 1
98, in runTest
    self.test(*self.arg)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\test\test_hardware_modules\test_pid_na_iq
.py", line 36, in test_na
    acbandwidth=1000, logscale=True)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\modules.py", line 142, in setup
    setattr(self, key, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 97, in __set__
    value = self.validate_and_normalize(obj, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in validate_and
_normalize
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in <listcomp>
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\software_modules\network_analyzer.py", li
ne 58, in valid_frequencies
    return [freq for freq in obj.iq.bandwidth_options if freq > 0]
AttributeError: 'Iq' object has no attribute 'bandwidth_options'

======================================================================
ERROR: pyrpl.test.test_hardware_modules.test_pid_na_iq.TestPidNaIq.test_pid_na1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\nose\case.py", line 1
98, in runTest
    self.test(*self.arg)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\test\test_hardware_modules\test_pid_na_iq
.py", line 143, in test_pid_na1
    logscale=True)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\modules.py", line 142, in setup
    setattr(self, key, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 97, in __set__
    value = self.validate_and_normalize(obj, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in validate_and
_normalize
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in <listcomp>
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\software_modules\network_analyzer.py", li
ne 58, in valid_frequencies
    return [freq for freq in obj.iq.bandwidth_options if freq > 0]
AttributeError: 'Iq' object has no attribute 'bandwidth_options'

======================================================================
ERROR: pyrpl.test.test_hardware_modules.test_pid_na_iq.TestPidNaIq.test_pid_na2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\nose\case.py", line 1
98, in runTest
    self.test(*self.arg)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\test\test_hardware_modules\test_pid_na_iq
.py", line 193, in test_pid_na2
    acbandwidth=0, logscale=True)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\modules.py", line 142, in setup
    setattr(self, key, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 97, in __set__
    value = self.validate_and_normalize(obj, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in validate_and
_normalize
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in <listcomp>
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\software_modules\network_analyzer.py", li
ne 58, in valid_frequencies
    return [freq for freq in obj.iq.bandwidth_options if freq > 0]
AttributeError: 'Iq' object has no attribute 'bandwidth_options'

======================================================================
ERROR: pyrpl.test.test_hardware_modules.test_pid_na_iq.TestPidNaIq.test_pid_na3
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\nose\case.py", line 1
98, in runTest
    self.test(*self.arg)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\test\test_hardware_modules\test_pid_na_iq
.py", line 253, in test_pid_na3
    acbandwidth=0, logscale=True)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\modules.py", line 142, in setup
    setattr(self, key, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 97, in __set__
    value = self.validate_and_normalize(obj, value)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in validate_and
_normalize
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\attributes.py", line 709, in <listcomp>
    key=lambda x: abs(x - val)) for val in value]
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\software_modules\network_analyzer.py", li
ne 58, in valid_frequencies
    return [freq for freq in obj.iq.bandwidth_options if freq > 0]
AttributeError: 'Iq' object has no attribute 'bandwidth_options'

======================================================================
ERROR: pyrpl.test.test_na.TestNA.test_na_running_states
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Leo\Anaconda3\envs\py34\lib\site-packages\nose\case.py", line 1
98, in runTest
    self.test(*self.arg)
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\test\test_na.py", line 39, in test_na_run
ning_states
    assert data_changing()
  File "C:\lneuhaus\gitHub\pyrpl\pyrpl\test\test_na.py", line 29, in data_changi
ng
    return (data != self.na.data_avg).any()
AttributeError: 'bool' object has no attribute 'any'

the commit just before (83e0092e9adefe6d871ed104d32c62b2933aaf99) only has 1 error, 1 failure (all tests done in python 3.4)

weird, it should have been tested... I am running the tests here to compare

those commits still contain some other failures due to IIR that have been fixed in more recent commits - just ignore those...

OK, I get plenty of errors as well, I am also looking

OK, I see the first problem...
We access the curve and data_x via 2 different attributes. It was fine as long as the length of these tables was not constantly changing, but now, if you don't call data_x exactly at the right time, you end up with a different number of points in x and y.

some things are pretty clearly wrong (at first look, for example the confusion between _data_x and data_x

Yes, data_x is the "variable-length" version of _data_x, but you are right I should change the name to data_x_valid
... what complicates even more the problem is that curve() and run_single() are 2 different ways of getting the curves, but for the moment, curve() will leave data_x unchange, while run_single will make the length of data_x change

I foresee that if we keep variable-length array + curve + run_single this is going to be very messy.

sounds not very good. I'm not all into your logic right now, but as an "external", I don't see why you force yourself to stick to a fixed-length version of the data array. I can see that you want to easily insert a point when it is acquired, but in that case I smell a typical use-case for a pandas series - which has been a very stable and reliable package since continuumm analytics takes care of it.

If we choose to fetch independently x and y values (which is the case right now), it is dangerous to have variable length arrays.
What you suggest is to use a pandas Series to fetch both at the same time. I personally find it adds a dependency that is really heavy for a hardware package...

we had that pandas discussion somewhere else if you remember. right now we do have pandas as a dependency, even though we dont (or hardly) use it. ever since anaconda, i find that the pandas dependency is totally negligible to the pyqt dependency.

and i believe that the transition from '_data' to 'data' is somewhat the same thing as pandas does

but do as you please, im never properly read the acquisition_module code

Not to mention that fetching the x-data for every curve, eventhough they might not change between successive acquistions, is an overhead...

i dont understand what you mean by 'fetching'. the logic i have in mind is this

for a na-trace, the full x-axis is essentially fixed with the setup parameters, for a scope and so on as well
for an incomplete (or full) acquisition, there can be random pairs of x and y values
but those pairs of values must by all means remain associated together in order to not shuffle x and y data

Another option to avoid variable-length arrays is filling the full-length y-array with nan's and ensuring that the plotting logic simply ignores nans

In the Virgo dataDisplay, I remember the invalid points are replaced by the values of the last valid point. That's probably to avoid the problems with log-scale and autoscaling of graphs, and to avoid at the same time playing with variable lenth arrays

im strongly against that, rather in favor of nans which are simply not plotted...

OK I take care of it then

for example, if we have the full arrays x, y where y contains a few nan's, we can do this:
index = np.isfinite(y)
x_plot = x[index]
y_plot = y[index]

In fact from what I see, Matplotlib is clever enough to properly deal with nan
x = linspace(0,6*pi, 10000)
y = np.sin(x)
y[1000:].fill(nan)
plot(x, y)

the question is whether pyqtgraph is smart enough, no?

If you are concerned about the na widget, it is anyways never trying to plot the full curve at once.
btw, I have pushed the commit... ALL 354 tests are passing in 254 s here (python 3.6)

same here: all 354 tests passing in 375 s (python 3.4). Let's see what travis says but already close the issue..


Generic train pipeline

Summary:
factored so that train_pipeline is only responsible for the overlap, user will define anything else, this lets you do any optimizer.steps(), optimizer.forward, and you don't have to restrict model output to be (losses, output) anymore you can make it just output and do the loss separately
This lets you have the following training code:

        pipeline = TrainPipelineSparseDist(distributed_model, self.device, dataloader)

        for forward_ctx_gen in pipeline:
            with forward_ctx_gen() as forward_ctx:
                with record_function("## zero_grad ##"):
                    optimizer_distributed.zero_grad()

                def forward() -> None:
                    # TODO, can be called forward_ctx.batch
                    return distributed_model(forward_ctx._batch_i)

                (_losses, preds) = forward_ctx.run(forward)
                losses = torch.nn.functional.binary_cross_entropy_with_logits(
                    preds, forward_ctx._batch_i.label
                )
                print("preds", preds)
                print("losses", losses)

                all_loss.append(losses)
                with record_function("## backward ##"):
                    torch.sum(losses, dim=0).backward()
                with record_function("## optimizer ##"):
                    optimizer_distributed.step()

Differential Revision: D42623963

Great observation! We currently have to re-write TrainPipeline when we compute multiple losses, etc.
We indeed zero grad before any other ops in TrainPipeline and backward/opt.step after all ops.
I actually would keep it a bit simpler. Just do the following in TrainPipeline:
...
ret =  self._model(batch_i)
# Data Distribution
return ret

then the code becomes (we probably should call it a different name - DataPipeline as it no longer does any training):
pipeline = DataPipeline(model, data_iter)
opt = torch.optim.SGD(...)
for batch in pipeline:
  opt.zero_grad()
  loss, output = pipeline(batch)
  loss.backwad()
  opt.step()
  ...

Let's create a separate class. We can keep current TrainPipeline as is (it's a special case, but it's very common and saves some boilerplate training code - think Lightninig :) ). Then we make TrainPipeline use DataPipeline.

Great observation! We currently have to re-write TrainPipeline when we compute multiple losses, etc. We indeed zero grad before any other ops in TrainPipeline and backward/opt.step after all ops. I actually would keep it a bit simpler. Just do the following in TrainPipeline:
...
ret =  self._model(batch_i)
# Data Distribution
return ret

then the code becomes (we probably should call it a different name - DataPipeline as it no longer does any training):
pipeline = DataPipeline(model, data_iter)
opt = torch.optim.SGD(...)
for batch in pipeline:
  opt.zero_grad()
  loss, output = pipeline(batch)
  loss.backwad()
  opt.step()
  ...

Let's create a separate class. We can keep current TrainPipeline as is (it's a special case, but it's very common and saves some boilerplate training code - think Lightninig :) ). Then we make TrainPipeline use DataPipeline.

oh yeah - a lot of the ugliness comes from the custom model(batch) call, but I doubt this will be a common use case :)
I like the idea of splitting this out into separate class first


fix: no need for App::new() as it's same as App::default()

This PR remove the unused App::new method

Perfect, thank you for your contribution


follow-up refinements to m365/api

some renaming, mostly refactoring the configuration (select and header declaration for each query) by combining the consts.go and query_param.go file into config.go, and making a more composable set of funcs and consts.

Does this PR need a docs update or release note?

[x] :no_entry: No

Type of change

[x] :broom: Tech Debt/Cleanup

Issue(s)

#1996

Test Plan

[x] :zap: Unit test
[x] :green_heart: E2E

@ashmrtn ready for re-review


Error Class 'Illuminate\Routing\RouteParameterBinder' not found after update from 2.2.2 to 2.4.1

Hello,
just as information, the package generate a error after updating from 2.2.2 to 2.4.1 on Laravel 5.1.
Error is Class 'Illuminate\Routing\RouteParameterBinder' not found.
Switching back to 2.2.2 fix the issue.

Are you still experiencing this issue?

Experienced this issue when upgrading the package from 2.2.2 to the latest version in our meta.be app.

That class was added in 5.4.22 via laravel/framework@c906ed933713df22e4356cf4ea274f19b15d1ab7 and first used in this package as of 486e63578ed4cfb8c54c5c5ad47e001bfbf131b3 but there is neither a fallback for previous versions of Laravel nor a production version requirement for the illuminate/routing package in composer.json.

I have the same issue
ErrorException in PaginateRoute.php line 300: Class 'Illuminate\Routing\RouteParameterBinder' not found

Probably won't get to this myself soon, but we'd accept a PR with a fix anytime!


Allow to check result of last soft assertion. Fix #653

Check List:

Fixes #653
Unit tests : YES
Javadoc with a code example (API only) : YES

That was a tricky one, thanks !
I just have refactored and added more comments as the code is not obvious.


Encountering Size Mismatch Error in Updated Code

While running the updated code, I encountered an issue as follows:

I would greatly appreciate any guidance or assistance you can provide to help resolve this issue.

Thank you so much for your reply. May I ask if you have encountered the following error message??  Because when I add squeeze to self.gamma and self.beta, it reports an error:

Additionally, does training with the latest version of the code still generate gibberish messages like in issue #23?

Encountered the same problem


TIME_PARSE() works for constants, fails for columns

Affected Version
Version: 0.21.1
Description
SQL Druid provides the TIME_PARSE() function.
Let's try it against the segments table. First, verify the data, on a system with only the sample Wikipedia data:
SELECT
  "start"
FROM sys.segments
LIMIT 1

Result:
2015-09-12T00:00:00.000Z

Now, use TIME_PARSE() with the returned value. (OK, the query is kind of lame, but bear with me):
SELECT
  TIME_PARSE('2015-09-12T00:00:00.000Z')
FROM sys.segments
LIMIT 1

Result:
2015-09-12T00:00:00.000Z

Now, put the two together: we know the start column has a perfectly fine timestamp string. Try to parse it:
SELECT
  TIME_PARSE("start")
FROM sys.segments
LIMIT 1

This fails:
Error: Unknown exception
cannot translate call TIME_PARSE($t2)
java.lang.RuntimeException

Expected that a SQL function would work just as well for columns as for constants.
Note: I was trying to use TIME_PARSE() to work around another issue that prevents using MAX() on a string.

This might be a bug

In document sql, you can see this:
Note: "sys" tables do not currently support Druid-specific functions like TIME_PARSE and APPROX_QUANTILE_DS. Only standard SQL functions can be used.

Is there a workaround for using any sort of date functions on the sys tables?

I just discovered the following syntax that works for converting varchar to timestamps for sys tables.
select cast(REPLACE(created_time,'T',' ') as TIMESTAMP) from sys.tasks limit 10

THE LEGEND! Was looking for this today in the morning and couldn't find anything and then in the afternoon found this answer. Totally worked! Thanks!

CAST no longer works as of Druid 29.0.1
Also not working: LEFT, RIGHT, SUBSTR, SUBSTRING


Update Content for Week Three

Need to finish the session guide content as well as the stretch goals.

Completed content for week 3. Also cleaned up a little of the week 2 content.


Fix JWT validation, improve performance

And change arguments in use-cases.

This is an auto-generated message summarizing this pull request.
:pencil: — Rules

:speech_balloon: Title validation: valid! :heavy_check_mark:

Rule: None

:twisted_rightwards_arrows: Merge strategy: merge

:speech_balloon: — Status comment

:construction: WIP? Yes :x:
:checkered_flag: Checks: running... :clock2:
:mag: Code reviews: waiting... (0 given / 2 required) :clock2:
:test_tube: QA: skipped. :heavy_check_mark:
:lock: Locked?: No :heavy_check_mark:
:twisted_rightwards_arrows: Mergeable?: Yes :heavy_check_mark:

:gear: — Configuration

:twisted_rightwards_arrows: Automerge: :x:

:scroll: — Current status

Failure: PR is still in WIP

See checks output by clicking this link :triangular_flag_on_post:
Beep boop, i'm a bot! :robot: (github-scbot 0.23.0)

bot admin-set-needed-reviewers 0

bot admin-set-needed-reviewers 0

Needed reviewers count set to 0 for this pull request.
Beep boop, i'm a bot! :robot: (github-scbot 0.23.0)

bot automerge+

bot automerge+

Automerge enabled by Srynetix.


Remove unused flags

Ci is red.

@mbasmanova : That was unrelated to this change. I've rebased the code and the build is passing now.

Turns out these flags are used internally. I'll need some time to figure out how to update these call sites.


Add function get_ipv6_link_local

We have duplicate functions which get the IPv6 link local address in both libnetwork and in libcalico. This PR moves functionality for getting the IPv6 link local into a common utils function in pycalico. Follow up PR# switches libnetwork to use this new libcalico function

ping @djosborne what's happening with this PR? You need to rebase or close it.

@robbrockbank applied your suggestion to degrade the exception raise to a log message (which I realized is what it did before). Good to merge?

LGTM


per target rustflags

"backport" of rust-lang/cargo#3157

:pushpin: Commit 0b9d54c has been approved by japaric

@homunkulus r+

:hourglass: Testing commit 0b9d54c with merge 0b9d54c...


Archlinux User Repository: zlib-ng-git package orphaned

Hello.
I saw this package is orphaned. Any volunteer? I'm these days struggingwith hardware problems.
https://aur.archlinux.org/packages/zlib-ng-git/
Kind regards.

Seems they have deleted the package completely. Probably because it conflicts with zlib, this will improve once we merge the renamelib branch. :)