Integration of the azure-function into the web page

After the function is deployed, we will need to integrate it into the svelte-site.

[ ] airtable.ts: Send request to function
[ ] airtable.ts: Fetch response from function
[ ] pupil / student-signup: display message from response (maybe already integrated)

@janosh @kleinicke Is it possible to rewrite the airtable.ts json structure (keys) for the data transfer to the azure function without breaking everything? In order to implement the correct transfer I'ld move the conversion-part into the function itself. If its not possible I would just need to write another converter inside the function, which would be managable but I think this would be the nicer way :D

@dominikgeissler Sure go ahead. Everything is allowed to change as long as it works before we put it in production. 😄

TODO:

Birthdate, Discovery in common


docs: revert docs link removal

Motivation
Make sure all relevant files are available in docs. Also improve collapsed section.

Noticed there are plenty of links in our repo itself which lead to a "Page Not Found"
e.g. https://github.com/ChainSafe/lodestar/blob/14855ea72fa7c46c984ed13078aac1c21858b993/packages/beacon-node/README.md?plain=1#L21
need to make sure to update those if we restructure docs

Approving everything up to my commit. Fixed some minor details and ready to go unless someone has strong opposition to this current structure.

I just minor thing I just noticed

subsections need some better titles
also "Lodestar Eth Consensus Lightclient Prover" is a ridiculous name :joy:

I'll be fixing up specific and outdated content in a new PR. Will rename that readme title there 😅

:tada: This PR is included in v1.20.0 :tada:


[plex] add hostNetwork option

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [radarr])

Closes #264

Thanks for adding this, @onedr0p!  Do you mind bumping the chart version to 1.4.0 (instead of 1.3.3)?

Done


Removing two dead links

Hello @Scrum
just removing two dead links from the list.
Have a good start in the new week!
Cheers,
Peter
General

✏ Mark the necessary items without changing the structure of the PR template.

[x] Pull request template structure not broken

Type

ℹ  What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Fix
[ ] Feature

Checklist

ℹ  Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉  Put an x in the boxes that apply.

[ ] Title as described
[ ] Make sure you put things in the right category!
[ ] Always add your items to the end of a list

Open Source

[ ] Link description does not contain a link to an author / third-party resource
[ ] The documentation (README) contains a description of the project, illustration of the project with a demo or screenshots and a CONTRIBUTING section
[ ] The documentation is in English.
[ ] The project is active and maintained.
[ ] The project accepts contributions.
[ ] Not a commercial product

Apps/Websites

[ ] The website is available without errors or ssl certificate problems, and load in a reasonable amount of time.
[ ] The website is using vuejs intensively. It should detect vue with vue-devtools.

If you cannot detect vue with vue-devtools due to work at non public pages (e.g. for enterprise website), you can send Pull Request with screenshot that detected it.

[ ] The website is original and not too simple. For that reason, blogs and simple landing pages are rejected.
[ ] A commercial product using Vue, provided that guests could reasonably check out how Vue was used A commercial product using Vue, provided that guests could reasonably check out how Vue was used (i.e. A headless CMS which uses Vue for the Admin/editor Area and offers a free tier).

Hello @Scrum
just removing two dead links from the list.
Have a good start in the new week!

Thank you, mutually productive week

Thank you!


Fixup for infraID and legacy retrofit

Which issue this PR addresses:
Fixes put or patch for new clusters
Retrofit for old clusters
What this PR does / why we need it:
First we fixup broken put or patch by adding missing infra ID override (commit 1)
We add missing infraID into database so we can remove override across the code.
Test plan for issue:
No
Is there any documentation that needs to be updated for this PR?
No

LGTM


Handle Client Updates Gracefully - (Offline Mode)

At the minute the client application is *almost* a PWA with some offline abilites, thanks to out-of-the-box implementations that come with Gatsby.
We also have implementation that notifies users when the API goes offline. It even attempts to post progress updates to the API when back online.
This feature is not quite polished.
We could implement and make use of some of the tools and modern web features available:

Bring back the SW integration which we removed in the past, to fetch new client build and ask user to reload the page.
Talk to the API with a SW instead of using the main thread.
Cache next challenges proactively (Gatsby does this for us automatically, but we could help it help us).
Enable ability to install /learn as an app. This is already enabled on the forum via PWA.
Drop the hosted sign-in and use async UX with Auth0.
The client-side error handling is bit of a mess.
... other things I will add here with pointers to code.

Oooh... this is really interesting and I'd love to give a hand! I have prior experience with writing SW from scratch. I might need some help here and there but I'd like to give it a go.

I would go with multiple PRs if the features are independent.  Otherwise it's fine to have a large PR as long as we organise the commits before merging.

Hi folks, just getting caught up on my notifications.
I should have mentioned that there are several diligent validations need to be done before we jump to any implementation. There are a few reasons that we had chosen to left it midway.
One of them being issues with the gatsby-offline-plugin being notorious for some reason I do not remember of the top of my head.
Feel free to experiment, but it would be a while before we are able to put all the analysis in this thread and a plan for the implementation. For now this is marked on the roadmap.

I found some info about SW related issue here #35259. Just saying it here to keep all of it in one place.


Document pseudo methods in the API documentation

Namely, the following "methods" are missing in the API docs:

Object#is_a?
Object#as
Object#as?
Object#responds_to
Object#nil?

They appear to be methods and not syntax, so people expect and should be able to find them documented in the API docs.
Just adding stub definitions to src/object.cr doesn't work, because redefinition is disallowed. So we either have to

Add a special case in the documentation generator, detecting that it's generating for Crystal itself and injecting the definitions.
Allow redefinitions of them in Object only. Subclasses would still get the error message, when somebody reopens Object to redefine them, just nothing happens.
Allow redefinitions of them in the documentation generator only. That would allow to add a special file with stub definitions like we do for macro methods and types.

I like this idea. I think the easiest thing to do is to add these methods in the doc generator, only for the standard library (the code already has a check to detect this). I don't think the docs for these methods will change often (or never?) so they can be hardcoded in the docs. I'd rather not modify the language to allow parsing these methods in some cases. Right now the check for the disallowed names is at the parser level so it's kind of hard to allow it for Object (the parser would have to gain semantic understanding)


All images are not loaded

All images in application are not loaded.

Seems like image url can not be accessed.
I tried different proxy, no luck.
Video downloading and searching are fine though.

It's been 2 weeks since there was any update or response to the issues, it could be that the project was abandoned, that would be a shame.

Well. Just 2 weeks is not enough to say abandoned. This looks like a single person project. Maybe the developer is just taking a break from it.

@Elwador
It looks like image fetching not go through proxy, which is the case.
I have fixed this on my end with modified code.

Fixed in <IP_ADDRESS>


NUMBER_OUTSIDE_VALID_RANGE: Maximum SOQL offset allowed for apiName ApexClass is 2000

What: When accessing the Apex tab is shown the bellow errors and the Apex classes analyses isn't executed.

Steps to Reproduce: App Launcher -> choose app "Org Check" -> tab "Home" -> access internal tab "Apex".

Errors:

TAB apex-classes NUMBER_OUTSIDE_VALID_RANGE: Maximum SOQL offset allowed for apiName ApexClass is 2000
NUMBER_OUTSIDE_VALID_RANGE: Maximum SOQL offset allowed for apiName ApexClass is 2000
at r.getError (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:72641)
at eval (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:71009)
at eval (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:229493)
at eval (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:229521)
at o (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:104504)
at MutationObserver. (https://static.lightning.force.com/bra4s.sfdc-xwy4ub/auraFW/javascript/eGx3MHlRT1lEMUpQaWVxbGRUM1h0Z2hZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC40LTYuNC41/aura_prod.js:92:91749)
at e. (https://static.lightning.force.com/bra4s.sfdc-xwy4ub/auraFW/javascript/eGx3MHlRT1lEMUpQaWVxbGRUM1h0Z2hZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC40LTYuNC41/aura_prod.js:46:4694)
RECIPE apex-classes Error in dataset!
DATASET apex-classes NUMBER_OUTSIDE_VALID_RANGE: Maximum SOQL offset allowed for apiName ApexClass is 2000
NUMBER_OUTSIDE_VALID_RANGE: Maximum SOQL offset allowed for apiName ApexClass is 2000
at r.getError (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:72641)
at eval (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:71009)
at eval (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:229493)
at eval (https://sandboxurl--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:229521)
at o (https://sandboxurl

--orgcheck.sandbox.vf.force.com/resource/1727095983000/orgcheck__OrgCheck_SR/js/jsforce.js:1:104504)
at MutationObserver. (https://static.lightning.force.com/bra4s.sfdc-xwy4ub/auraFW/javascript/eGx3MHlRT1lEMUpQaWVxbGRUM1h0Z2hZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC40LTYuNC41/aura_prod.js:92:91749)
at e. (https://static.lightning.force.com/bra4s.sfdc-xwy4ub/auraFW/javascript/eGx3MHlRT1lEMUpQaWVxbGRUM1h0Z2hZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC40LTYuNC41/aura_prod.js:46:4694)

Thank you for this tcket.
I can reproduce it when doing the following in an org that has a lot of apex classes:
SELECT count(Id) FROM apexclass
gives me 3501 --> ok
SELECT Id FROM apexclass limit 2000 offset 0
gives me 2000 records --> good!
SELECT Id FROM apexclass limit 2000 offset 2000
gives me 1501 records -->  good!
2000 + 1501 = 3501 --> logical and good!
BUT
if i do (and it does not make any sense i know)
SELECT Id FROM apexclass limit 2000 offset 4000
gives me the same error as you.
Now I need to understand why the app is trying to gather more records than it should in your org.
as a start, could you @JainySilva perform the query SELECT count(Id) FROM apexclass and put the result here please?

do you have by any chance exactly 4000 apexclasses ????

Hi,
In the sandbox we tested we have 11828 classes.
Best regards.

Hello
How the same count query with the additional statement:
WHERE ManageableState IN ('installedEditable', 'unmanaged')
Le ven. 27 sept. 2024 à 21:48, JainySilva @.***> a
écrit :

Hi,
In the sandbox we tested we have 11828 classes.
Best regards.
—
Reply to this email directly, view it on GitHub
https://github.com/SalesforceLabs/OrgCheck/issues/448#issuecomment-2379950734,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA47R26EYWVE7DKPYLQMD5DZYWZCHAVCNFSM6AAAAABO5GQW46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZHE2TANZTGQ
.
You are receiving this because you were assigned.Message ID:
@.***>

I meant this query
SELECT COUNT(Id)
FROM ApexClass
WHERE ManageableState IN ('installedEditable', 'unmanaged')
Le ven. 27 sept. 2024 à 22:54, Vincent FINET @.***> a écrit :

Hello
How the same count query with the additional statement:
WHERE ManageableState IN ('installedEditable', 'unmanaged')
Le ven. 27 sept. 2024 à 21:48, JainySilva @.***> a
écrit :

Hi,
In the sandbox we tested we have 11828 classes.
Best regards.
—
Reply to this email directly, view it on GitHub
https://github.com/SalesforceLabs/OrgCheck/issues/448#issuecomment-2379950734,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA47R26EYWVE7DKPYLQMD5DZYWZCHAVCNFSM6AAAAABO5GQW46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZHE2TANZTGQ
.
You are receiving this because you were assigned.Message ID:
@.***>

Hi,
Follow:

Ok I successfully reproduce the issue.
It happens if you have more than 2000 classes.
I will have to implement a different “query more alternative algorithm” not using Limit and Offset

Today the algorithm is adding a limit and offset statement with a 200 record-window
Tomorrow I will do the same window (200 records at a time) with an additional statement Id > ‘Xxx0000000yyy’ ORDER BY Id LIMIT 200

dear @JainySilva
I fixed the issue in the code (branch Main direct! oh my god!) just today
I will build the package and make that fix available asap for you.
thank you for your patience.

pushed in your org!


Redundancy in track description in Tracks Fragment

Actual Behaviour
The title and subtitle are same in Tracks Activity
Expected Behaviour
The tracks description from the adapter should be removed
Screenshots of the issue

Would you like to work on the issue?
Yes, I would like to work on it.

Don't remove it, rather set the track short description over there.
That's what should've been there in the first place imo.
On Tuesday, February 21, 2017, Rohan Agarwal<EMAIL_ADDRESS>wrote:

Actual Behaviour
The title and subtitle are same in Tracks Activity
Expected Behaviour
The tracks description from the adapter should be removed
Screenshots of the issue
[image: screenshot_2017-02-21-02-58-46-053_org fossasia openevent]
https://cloud.githubusercontent.com/assets/13241256/23142670/2d202574-f7e3-11e6-9721-6e8cc8fde0e9.png
Would you like to work on the issue?
Yes, I would like to work on it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-android/issues/1146, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AGQtlsenHoQ7pzmvSE3NEEZmcwmtGaSWks5reghQgaJpZM4MGpLR
.

--
Best,
Harshit Dwivedi

@the-dagger on it.

@rohanagarwal94 @the-dagger
In the tracks json files the description and name of the track are the same.

holder.trackTitle.setText(currentTrack.getName());
holder.trackDescription.setText(currentTrack.getDescription());
Both the textviews are showing the correct data (data in the file).

@the-dagger instead of showing the track description what can be done is show the tracks start date and end date. I think that will be more appropriate.

Why do we need to change the track description?
I think it's fine.
When the organisers will generate the app it's there responsibility to enter a meaningful track description.

I was talking about now.
Yeah you are right at that point its there duty to enter something meaningful which makes sense as a tracks description.


map doesn't appear because of fresh partial fetch

reproduce
open the start page, click Map then click Home then click Map
the map now doesn't appear
cause:
Its because I'm using fresh partials probably incorrectly
TODO: figure out how to fix this

Its because drawMap gets called only the first time when partial is used.

fixed by https://github.com/sigmaSd/radio/commit/1de8dbaacc6f1b60ef52662367c3bef8e0880980


⚠ DSO-API has degraded performance

In 82d149c, DSO-API ($SITE_URL_DSOAPI) experienced degraded performance:

HTTP code: 200
Response time: 15977 ms

Resolved: DSO-API performance has improved in a0a143c after 3 minutes.


ERROR:root:Error running query

es版本:6.0.1
INFO:elastalert:Starting up
WARNING:elasticsearch:GET http://<IP_ADDRESS>:9200/logstash-nginx-chitupay-/_search?_source_include=%40timestamp%2C%2A&ignore_unavailable=true&scroll=30s&size=10000 [status:400 request:0.003s]
ERROR:root:Error running query: TransportError(400, u'parsing_exception', u'no [query] registered for [message]')
INFO:elastalert:Ran Example frequency rule from 2017-12-13 14:12 CST to 2017-12-13 14:27 CST: 0 query hits (0 already seen), 0 matches, 0 alerts sent
INFO:elastalert:Sleeping for 59.711397 seconds
WARNING:elasticsearch:GET http://<IP_ADDRESS>:9200/logstash-nginx-chitupay-/_search?_source_include=%40timestamp%2C%2A&ignore_unavailable=true&scroll=30s&size=10000 [status:400 request:0.003s]
ERROR:root:Error running query: TransportError(400, u'parsing_exception', u'no [query] registered for [message]')
INFO:elastalert:Ran Example frequency rule from 2017-12-13 14:13 CST to 2017-12-13 14:28 CST: 0 query hits (0 already seen), 0 matches, 0 alerts sent
INFO:elastalert:Sleeping for 59.846974 seconds
^CINFO:elastalert:SIGINT received, stopping ElastAlert...

Elasticsearch 6 is not officially supported yet. See https://github.com/Yelp/elastalert/pull/1426 for some discussion on how to get this working now. I plan on merging this by the end of the year.


Adds new Status condition "Resolved" and related status field "resolvedBundleResource" to Operator CR

Description
This PR extends the status conditions of the Operator CR and adds a new status field.

New condition "Resolved" exposes the current status of resolving the desired operator image.
New status field "resolvedBundleResource" contains the resolved operator image in case it was successful.

Fixes https://github.com/operator-framework/operator-controller/issues/202
Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[ ] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

Still looks good to me. Merging since it's kinda-sorta blocking #201


Upgrade jquery to 3.5.1

Upgrade jquery to 3.5.1 to address the following security concerns:
CVE-2019-11358
CVE-2020-11022
CVE-2020-11023

Bumping in hope of garnering some traction. In response to https://github.com/flask-admin/flask-admin/issues/1983

Thank you @mrjoes!
Do you have a sense of when the next release would hit PyPI?


[BugFix] Make the first parameter of date_trunc case-insensitive

Signed-off-by: Astralidea<EMAIL_ADDRESS>What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #17424
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 6 / 6 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/FunctionAnalyzer.java
4
4
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_be_unittest

@Mergifyio backport branch-2.5


Invalidate or delete annotation when target changed

Let's assume annotations are only used to annotate mappings that live inside the same jskos-server instance.
If the target mapping of an annotation changes in certain ways, i.e. its members or its type is changed, an annotation with motivation assessing (with bodyValue either +1 or -1) should be marked as invalidated or potentially even deleted because it's not relevant anymore.
I personally would not delete an annotation automatically since it belongs to a different user and also the creator of the mapping could simply change a mapping, then change it back, abusing the system. I think the best way would be to simply save a mapping's urn:jskos:mapping:content: and/or urn:jskos:mapping:members: identifiers which can then be compared to the current mapping's identifier to see whether the annotation refers to an old version of that mapping. If we do it this way, then jskos-server doesn't even need to be aware of this mechanism at all. (Except when we implement https://github.com/gbv/cocoda/issues/605 which consists of calculating the total "rating" of a mapping.)
The Web Annotation Data Model is pretty flexible, so I think it would be possible to add additional data to an annotation. Also we could via npm run upgrade add the information to all existing annotations (assuming that the associated mappings have not changed since the annotation was created).
What do you think, @nichtich?
(This came up in https://github.com/gbv/cocoda/issues/667.)

I would compare annotations to comments and edit suggestions in collaborative software such as Google Docs. If other people comment my text, I can close the comment and the comment disappears when I delete the commented section of text. Trying to prevent "abuse" should not be a technical goal anyway.
On the other hand urn:jskos:mapping:content: is all we need, so adding this identifier to all mappings is probably the way to go.
Additional thought: Annotating a mapping might imply same judgement of other "duplicate" mappings with same  urn:jskos:mapping:content:. But that's another issue.

The thing is: I would add the urn:jskos:mapping:content: identifier on top of the URI because the URI is the only way we can correctly identify a specific mapping. The question is how we can save this identifier while keeping backwards compatibility and adhering to the Web Annotation Data Model. Maybe we could misuse the canonical field and save it there? It has a somewhat similar meaning. Otherwise we could also just add a custom field like we do with JSKOS all the time. 🙈

canonical looks good but unforunately it's intended for the canonical URI of the annotation while we need a URI of the mapping. Changing target to urn:jskos:mapping:content: identifier would make sense to me but likely requires several changes in Cocoda as well, no?

canonical looks good but unforunately it's intended for the canonical URI of the annotation while we need a URI of the mapping. Changing target to urn:jskos:mapping:content: identifier ~would make sense to me but~ likely requires several changes in Cocoda as well, no?

Yeah, it would require changes in Cocoda, changes in jskos-server, breaks backwards compatibility, and does not make sense in my opinion. I mentioned canonical not because it is the right place for something like this, I know it's not intended to be used for that, that's why I wrote "misuse". Maybe it would be better to just add a custom property...

Reading the Web Annotation Data Model I found how this feature (making sure the identity of annotated target has not been changed) is intended to be solved:
change
{
  "target": "https://coli-conc.gbv.de/api/mappings/f8eff4e2-a6df-4d2c-8382-523072c59af7",
}

to
{
  "target": {
    "id": "https://coli-conc.gbv.de/api/mappings/981a003d-ae64-46b9-9571-04cbbe78c7fd",
    "state": {
      "id": "urn:jskos:mapping:content:3df6513d6c645eefafc93e62f6e2f221c6624e1b"
    }
  }
}

but as you said, the change might not be worth the trouble, we could just do
{
  "target": "https://coli-conc.gbv.de/api/mappings/981a003d-ae64-46b9-9571-04cbbe78c7fd",
  "_state": "urn:jskos:mapping:content:3df6513d6c645eefafc93e62f6e2f221c6624e1b"
}

Oh, I missed this! Well, I wouldn't mind either option, but actually doing it how the spec is intended sounds right to me. Changing the format of target doesn't break backwards compatibility for Cocoda at least as long as the API requests still work the same way.
One more question: Should Cocoda be responsible for adding that information or should jskos-server do it? I'm actually not sure about this, but so far, jskos-server doesn't actually mess at all with the annotations besides adding a URI in field id and dealing with created and modified.

This is now part of v1.4.5 and can be taken into account when implementing https://github.com/gbv/cocoda/issues/605 and https://github.com/gbv/cocoda/issues/667.


Take screenshot of specific element for visual_matcher

Here is the robotframework code for the same feature: https://github.com/datakurre/robotframework-selenium2screenshots/blob/master/src/Selenium2Screenshots/keywords.robot#L599

http://startingwithseleniumwebdriver.blogspot.com.br/2014/10/taking-screen-shot-of-particular.html

http://stackoverflow.com/questions/10848900/how-to-take-partial-screenshot-frame-with-selenium-webdriver


Unable to save Macro while in Dungeon Instance Classic or party.

Sometimes when I get disconnected my macros will reset and if i am in a party it will not allow me to save the macro even if i am out of combat. It will say "macro saved" but then it will just close the window, and when I open again via /gs it will not show the macro as saved in the list.

Were you in combat and did the OOC queue finish

You can check the queue by looking here.  Where it says combat queue is running - if there is anything in the queue it will list here and I have been saving macros both in groups and instances all day.

It said 20 in Queue and this persisted even when leaving the party leaving the instance, being out of combat, and restarting the game. I had to delete the WTF folder and all of my macros to fix it.

no - you needed to wait for the queue to resolve.  once that was done it would have been back to normal.  Alternatively - you could click on the entries to manually remove the leading ones that blocked your actions


Use OS specific classpath separator

Windows uses ; semi-colons to separate Java classpaths and Linux/MacOS uses : colons.
(See http://stackoverflow.com/questions/4528438/classpath-does-not-work-under-linux)

Thanks @alvations


Cannot install from npm: "Refusing to install electron-packager as a dependency of itself"

npm-debug.txt
I'm trying to install but give me this errors
Arch Linux x86_64
Kernel 4.4

According to this line:

43 verbose cwd /home/zoio/Downloads/electron-packager

You're trying to run npm install electron-packager inside of this cloned git repository, which NPM does not want you to do. If you're trying to install electron-packager from the repository you cloned onto your local machine, look at the npm install docs, specifically the details around npm install <folder>.


chore: fix error message to be less misleading

Hi 👋
I'm a downstream user of this crate and I stumbled across the error message when no valid browser is found. (I only have librewolf installed and it's not caught by the defaults).
The error message is talking about setting the BROWSERS variable while the code is using the BROWSER variable.
This PR corrects the error message to be more useful.

Ah, good find. Thanks.

Given the nature of the fix, I'm not doing a release immediately for this. Will wait a bit (2-3 weeks) to see if any other changes come through. Let me know if you feel differently.

Thanks for the quick reaction! ✨
Yeah, no worries. I found an easy temporary workaround which should do the trick until you do the next release. Take your time! ☕

FYI, this is now released as v0.8.12. Thanks for your contribution to this.


Separate xattrs from general preserve attributes (only intended as an example)

This is a quick mockup for separating xattrs from normal preserve, in rsync preserving xattrs is off by default and only enabled if explicitly requested. dsync should behave the same (and should preferably behave as rsync regarding ACLs too)
I know the short 'X' option clashes with dcp option daos-prefix, but I left it as 'X' since that is what rsync uses for this.

I realize this is a mockup, but I left comments anyway, in case this becomes real

@akesandgren check out this commit which might do what you need:

96a9fe7 dsync and dcp: allow user to control copying of xattrs

@akesandgren check out this commit which might do what you need:

96a9fe7 dsync and dcp: allow user to control copying of xattrs

Yeah, that looks good, will try when I need it again.

Closing this since 0.11.1 seem to do what I had in mind


[ntf-core] new port

[x] Changes comply with the maintainer guide
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

@hallfox Please sign the CLA.
https://github.com/microsoft/vcpkg/pull/32738#issuecomment-1648978528

Hi, thanks for the review. Sorry for the long delay, I'm waiting on my company to complete a review before I can sign on. I will likely have to reopen this PR from a different fork as well, but I will take the comments from here and reapply them on the new one.

Closed in favor of #32855


Update .gitmodules to use https on all repos

Quality of life improvement: update submodules urls to https to avoid git errors
Motivation
After cloning the repo and attempting to update the modules you get "The authenticity of host 'github.com (---)' can't be established" which stems from the 3 submodules that were not using https.
Solution
Updated those submodules urls to include https. '''git module update''' runs smoothly now

thanks!

thanks!

My pleasure, it's a great repo!


[Question] What's the purpose of Stream Analytics?

We have successfully deployed the connector, but I still haven't figured out the Stream Analytics role. I saw #68, and I was wondering the implications of directly invoking the FHIR conversion function from the normalized data Event Hub, as #68 seems to be doing.
Do you have any plan to merge that pull request? Can we safely get rid of the SA? Does it have anything to do with Output Error Policies for failed jobs? Or is it only meant to efficently support SampledData measurement type?
Sorry for all those questions but I'm trying to clarify my ideas 😅

Hello @giacomodeliberali,
Stream Analytics is used to group and buffer data prior to converting to FHIR.  The main reason is for efficiently supporting the SampledData type and the different grouping strategies like hourly observations of data or correlation id assosication.
If you don't plan on using SampledData to render time series data you could technically remove SA though you would need to replace the HttpTrigger Azure function with an EventHubTrigger from the Normalized Event Hub directly.  One down side to removing SA, even if you don't need to generate SampledData is if you have a device that sends duplicate data it will result in multiple updates on the FHIR server
The PR your referenced, #68, we don't plan on completing as is.  This was a prototype work stream the team was investigating. The team is working on a more full featured version that is currently in PR #78.  You are welcome to use once complete.


Experimental results of single -DGOD on FPN

Could you share the experimental results of single-DGOD on FPN structure?
README only provides experimental results of other 5 methods

And I can't access the pretrained model without your permission


Merge upstream changes from forked repo

Simply merges the latest upstream changes, must be done via a PR as master is protected. Master should now be aligned with the forked repo.
Fixes: https://github.com/Expensify/Expensify/issues/186596

@Dal-Papa Please merge it and I can submit my PR. Thanks.

@parasharrajat : We can't merge as there are some unsigned commits. @Julesssss is taking care of this.

Alright, it was pretty simple to resign a single commit. Ready for another review @Dal-Papa


Protein support in ffxml format

Summary
This PR contains the port of AMBER10 constant-pH forcefield parameters to an openmm and  protons compatible format.
Translation procedure
The original translation of Amber files to ffxml was performed using parmed. The source files, and processing scripts are included for reproducibility and potential future extensibility. These can be found in protons/forcefields/Amber input files.
Manifest Details
A series of parameter and topology files are added as part of this PR

Residue templates and parameters are included in protons.xml for amino acid and other residues

These include <Protons /> blocks with titration states where available, taken from parmed.
Ion parameters are included separately so that the appropriate parameters can be loaded depending on the solvent model.

Hydrogen definitions for app.Modeller are added in hydrogens-protons.xml

Bond definitions for app.Topology are added in bonds-protons.xml, which will be necessary when reading in pdb/pdbx files. If not used, you may run into errors when creating a system, due to lack of bond specifications, for example:

ValueError: No template found for residue 1 (ACE).  The set of atoms matches ACE, but the bonds are different.  Perhaps the chain is missing a terminal group?

A tripeptide test system has been added to validate and maintain compatibility with both OpenMM and protons.
The module  protons.ff has been added, which provides the user with shortcuts to the locations of the force field files, so they can be easily obtained. For instance, the protons forcefield is loaded into OpenMM as follows:
forcefield = app.ForceField(ff.protonsff)

This module is tested in the test_ff module under protons/tests. The test module also validates the files and tests for maintaining compatibility with openmm by including a tripeptide test system. The peptide ACE-GL4-ALA-HIP-NME is used as test case.

With the introduction of parmed, it’s probably about time to list the package dependences on the front page README.

Good suggestion, I will add these.

Your tests nicely test whether your forcefield parameter files run as expected. Is it possible to add tests for the generation of ffxml files, e.g by running 1-compile+ffxml.py?

Fair point. Should be easy to add some tests of the behavior for those scripts to make sure they run without errors and produce the expected output files.

I'm having trouble loading travis log files, so I'm not sure what is still broken.

Codecov Report

Merging #72 into master will increase coverage by 0.67%.
The diff coverage is 78.37%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   67.71%   68.38%   +0.67%
==========================================
  Files          14       16       +2
  Lines        2196     2306     +110
==========================================
+ Hits         1487     1577      +90
- Misses        709      729      +20

Impacted Files
Coverage Δ

protons/driver.py
87.35% <ø> (+0.65%)
:white_check_mark:

protons/ff.py
100% <100%> (ø)

protons/tests/test_ff.py
76.23% <76.23%> (ø)

protons/integrators.py
100% <0%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

Thanks!


Make service compatible with WebdriverIO v5

Hola 👋
WebdriverIO released v5 around Christmas, see also this blogpost. To make this service usable with the new version there are some small adjustments necessary. There are some minor changes that need to be made. You can find a general overview here. Most important ones to point out are:

set "@wdio/cli": "^5.0.0" as peerDependency
if you have launcher and a service you should create an index.js and expose both classes as follows:import Launcher from './launcher'
import Service from './service'

export default Service
export const launcher = Launcher

Feel free to drop by the webdriverio support channel in case you need support.
Thanks so much for contributing to the WebdriverIO community. We really appreciate it 🙏 !

Hello
I just pushed some changes to be compatible with wdio v5.
Thank you for letting us know.

Thank you!


Replace remaining C atomic intrinsics with native Rust atomics

Each commit in this PR replaces the atomic field(s) in an individual struct.
Closes #638.

We can't remove the warning allowance, the warning is still valid. I'd have to remove the assignment, and I couldn't figure out why the original code even bothers with the assignment so I didn't.

We can't remove the warning allowance, the warning is still valid. I'd have to remove the assignment, and I couldn't figure out why the original code even bothers with the assignment so I didn't.

Oh, okay, I didn't realize.  Then leaving it as is is all good.


Error

Error: 'provided

'

This error message is not very informative. But most likely you need to edit default.cfg and type in you api keys.

No, it's not the api keys, I've been using the bot for a while and get it too
sometimes. It's not a major problem though. I thought it was because I had two
instances of the bot running on different computers and they clashed once in a
while. That or a simple connectivity issue.
On Mon, Mar 7, 2016 at 3:46 AM, Mikadily<EMAIL_ADDRESS>wrote:
This error message is not very informative. But most likely you need to edit
default.cfg and type in you api keys.
—
Reply to this email directly or view it on GitHub
[https://github.com/Mikadily/poloniexlendingbot/issues/25#issuecomment-192972761] .[https://github.com/notifications/beacon/ANOSPiHLtlslCDNa2TecPUiX66TWcgOkks5pqy8HgaJpZM4HqHfF.gif]

I am also unable to use the bot as it hangs at "provided" see the error below:
$ python lendingbot.py
2016-03-08 21:14:24 Welcome to Poloniex Lending Bot
2016-03-08 21:14:24 ERROR: 'provided'
2016-03-08 21:15:25 ERROR: 'provided'
2016-03-08 21:16:25 ERROR: 'provided'
My configuration looks as so (and I believe my API key & secret are correct):
`[BOT]
#sleep between iterations, time in seconds
sleeptime = 60
#minimum daily lend rate in percent
mindailyrate = 0.1
#max rate. 2% is good choice because it's default at margin trader interface. 5% is max to be accepted by the exchange
maxdailyrate = 4.9
#The number of offers to split the available balance uniformly across the [gaptop, gapbottom] range.
spreadlend = 3
#The depth of lendbook (in percent of lendable balance) to move through before placing the first (gapbottom) and last (gaptop) offer.
#if gapbottom is set to 0, the first offer will be at the lowest possible rate. However some low value is recommended (say 10%) to skip dust offers
gapbottom = 15
gaptop = 100
#Daily lend rate threshold after which we offer lends for 60 days as opposed to 2. If set to 0 all offers will be placed for a 2 day period
sixtydaythreshold = 0.2
AutoRenew - if set to 1 the bot will toggle the AutoRenew flag for the loans when you stop it (Ctrl+C) and clear the AutoRenew flag when started
autorenew = 0
#custom config per coin, useful when closing positions etc.
#syntax: [COIN:mindailyrate:maxactiveamount, ... COIN:mindailyrate:maxactiveamount]
#if maxactive amount is 0 - stop lending this coin. in the future you'll be able to limit amount to be lent.
#coinconfig = ["BTC:0.18:1","CLAM:0.6:1"]
`
I've played with different configuration settings for autorenew and the min/max dailyrate variables, but nothing manages to get the bot running. And yes, there is a balance in the BTC Lending wallet.

Also, my API access page says that the key I've associated with the bot has never been accessed, so the bot is failing at the API authentication step. And if I run the command with the --setAutoRenew or --clearAutoRenew options, the output looks as such:
`$ python lendingbot.py --setAutoRenew'
'2016-03-08 22:05:30 Welcome to Poloniex Lending Bot'
'2016-03-08 22:05:30 Setting AutoRenew...(Please Wait)'
'Traceback (most recent call last):'
'  File "lendingbot.py", line 241, in '
'    setAutoRenew(1);'
'  File "lendingbot.py", line 223, in setAutoRenew'
'    loansCount = len(cryptoLended["provided"])'
'KeyError: 'provided''

Just create new pair of API keys and use them

ERROR: 'provided'
Same error, new api key  just generated
chmod needed ? (ubuntu)

I worked around my problem by creating a key without IP restrictions enabled. So then I reviewed what the API key list was actually saying, and at the bottom of the key, it says:
Trusted IPs:  Your current IP is <IP_ADDRESS>5
However, that does not mean that your current IP -is- a trusted IP. That just shows your current IP. I added the IP of the server I am running the script from, and when I get home I will ssh into it and change out the keys to see if that resolves the problem, but I feel it will.
I think the issue is that the "IP Access Restriction" API Keys come by default in an unusable state, due to not being configured against any IP address. The error response from the script is not useful, but the problem appears to be with an unconfigured API key, not the script or the API key itself. @keepthefaya try adding your IP address to the API key and restart the script.

This can be caused by using the same API key for more than one bot or more than one program. Generate a new API key just for the lending bot.


Remove master from code-freeze and fix release branch regex

Fixes https://github.com/adoptium/temurin-build/issues/3703
As per PMC discussion, "master" branch removed from freeze
And corrected (confirmed this works on temurin-build repo) the release branch freezing

/merge


Since vue 3.4.15 named slots not render with component same name like html tags

Vue version
3.4.19
Link to minimal reproduction
https://github.com/nestle49/minimalReproduction
Steps to reproduce

Clone repo
npm i
npm run dev
Change TextArea.vue slot content, he's don't render. Change the name of the component, slot will be rendered

What is expected?
Names slots are visible or warn
What is actually happening?
Named slots don't render
System Info
System:
    OS: macOS 14.3.1
    CPU: (8) arm64 Apple M1
    Memory: 383.45 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.5.1 - ~/.nvm/versions/node/v20.5.1/bin/node
    npm: 9.8.0 - ~/.nvm/versions/node/v20.5.1/bin/npm
  Browsers:
    Chrome: 121.0.6167.184
    Safari: 17.3.1
  npmPackages:
    vue: 3.4.19 => 3.4.19

Any additional comments?
We used named slots and the name of the TextArea.vue component was the same as the textarea html tag. Before version 3.4.15 this worked, after updating to version 3.4.15 the named slots stopped rendering, and we did not receive any console warnings or any errors in the logs at all, as if everything was fine
I understand that this is not a very good practice, but the problem is that we learned about this after receiving broken sites. Could you print a warning to the console that components are using a reserved word? In this case, the html tag
Or at least about slots not being rendered, if possible

It was introduced in 3.4.0, handling TextArea as a textarea
https://github.com/vuejs/core/blob/bfe6b459d3a0ce6168611ee1ac7e6e789709df9d/packages/compiler-core/src/tokenizer.ts#L553-L562


⚠ ClamAV has degraded performance

In 356fcaa, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 483 ms

Resolved: ClamAV performance has improved in 2f87d17.


uncork max message size

see paul's kcp PR for possible fix.
-> we use the configured window sizes anyway
-> the limit on max message size is artificial
-> some people do like to send larger messages

https://github.com/skywind3000/kcp/pull/291

fixed on master!


Not connecting in HomeKit App

I can see all the devices in hoobs. But when adding to the homekit app, I am unable to add devices.
The Home app gives an error, "Accessory Not Found, Make sure your accessory is powered on and connected to your router with an Ethernet cable, then try again." I have 107 devices.

same issue

You'd have to send me your logs.  Follow the instructions here.  Make sure you email them directly to me and not post them here.  Don't just reply to the email...
Instructions for Producing a Detailed Log.pdf

ok sent to you

I don't see any errors.  The plugin is pushing the devices to homebridge's cache and getting update from them.  No errors.  Not sure why you don't see the devices.
Try removing and then re-adding the plugin.  Make sure you are using the latest version (1.4.23).

I also sent the log to you.

I found the issue. I have two Wi-Fi SSID’s one for general use and another for IOT devices. Once I switched my iPhone to the SSID used for IOT devices, I was able to add the bridge to HomeKit app

I have a similar problem, but with 2 TV's.  Homebridge is working ok on a new Pi, I just installed v1.5 of  the SmartThings plugin, one TV connected ok, second gave an error message saying device not responding, even though the smartthings App can still see and control both.
Is the a TV compatibility list somewhere? or a helpful hints list somewhere?
Sorry if I'm a bit vague, I new at this, only got the RPi yesterday afternoon and it the first time I tried anything like this............
Thanks.

Is the a TV compatibility list somewhere? or a helpful hints list somewhere?

Couple of points.
This plugin surfaces devices that work correctly in SmartThings.
If you have your TV in Smart Things - first test if it is working correctly in Smart Things App.
If it's not working there, it won't work in the bridge - as this bridge only passes the commands from the UI to SmartThings.
TVs generally don't need a bridge.  Most TVs already have "HomeKit" built-in, especially if using something like a Roku or Apple TV.  In this case, I would configure this bridge to "ignore" the SmartThings TV(s) and simply perform the Apple HomeKit connection directly on the TV.  In this way, you are using this plugin for light switches and other Z-Wave/Zigbee devices - but using Apple Homekit directly for those devices that are compatible - another example Ecobee Themostats.

The plugin doesn't offer any specific value for TVs other than on and off at the moment.  If enough people want the TV integration, I'll see what can be done.

Thanks for you time and the information. I’m happy to support with a donation, what amount do you consider reasonable.  I’m retired, so have to watch my budget, so please don’t be offended by my response. Speaking of changes, how about a sleep mode to my air purifier,  that mode is good at night to keep the noise down, but currently can’t be automated. Thanks he’s for your help and great software. Regards,On 4 Feb 2023, at 12:57 am, iklein99 @.***> wrote:
The plugin doesn't offer any specific value for TVs other than on and off at the moment.  If enough people want the TV integration, I'll see what can be done.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

My TV’s are both Samsung one about 2 yrs the other older.  They both work in SmartThings ok, the older one is ok except for waking up, but both respond to channels, volumes etc. SmartThings, which I assume run in the newer TV, also relays the data to Google Home, that also works.I was trying to get rid of GHome but couldn’t figure out how to go straight from the TV to HomeKit, but Samsung aren’t particularly helpful.  Thanks for your help and time in responding to my questions. Regards,On 4 Feb 2023, at 12:52 am, coryabooth @.***> wrote:
Is the a TV compatibility list somewhere? or a helpful hints list somewhere?
Couple of points.
This plugin surfaces devices that work correctly in SmartThings.
If you have your TV in Smart Things - first test if it is working correctly in Smart Things App.
If it's not working there, it won't work in the bridge - as this bridge only passes the commands from the UI to SmartThings.
TVs generally don't need a bridge.  Most TVs already have "HomeKit" built-in, especially if using something like a Roku or Apple TV.  In this case, I would configure this bridge to "ignore" the SmartThings TV(s) and simply perform the Apple HomeKit connection directly on the TV.  In this way, you are using this plugin for light switches and other Z-Wave/Zigbee devices - but using Apple Homekit directly for those devices that are compatible - another example Ecobee Themostats.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>


⚠ Bofrost.es has degraded performance

In 89ad0cd, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1324 ms

Resolved: Bofrost.es performance has improved in 5d15713 after 14 minutes.


Enscape 3D <IP_ADDRESS> Crack + License Key Download Latest

Enscape 3D 2.8 Free Download Overview
Enscape3D, a powerful plugin name for use with AUTODESK REVIT, SketchUp, Rhino and Archicad. In fact, this plugin is a render at the moment. You can use the plugin in the software to polish your graphics. You will also be able to enhance your project images at any angle using the rendering technology at the moment of this plugin. You can also download
Download Latest Version Now 👈🎯✔
Enscape 3D <IP_ADDRESS>071 Features
Below are some noticeable features which you will experience after Enscape 3D <IP_ADDRESS>071 Free Download
Also Reliable and professional real-time rendering plugin which provides the architects with a quicker way to create rich real-time 3D visualization renderings.
Fourthermore Comes loaded with a variety of smart tools that bring your visual exploration directly into your modeling tools so you can focus on creating, designing, and building.
Moreover, Efficient application which allows you to visualize your architectural projects with a single click.
Besides Facilitates faster design iterations with less preparation time.
Also Easy to install and even easier to use.
Fourthermore Comes seamlessly integrated with advanced plugins such as AUTODESK REVIT, SketchUp, Rhinoceros, and Archicad which incredibly improve graphics.
Moreover Gives you the easiest and fastest way to turn your models into immersive 3D experiences.
Besides Eliminates the inconveniences of production shorten the feedback loop and give you more time to design.

▶▶DOWNLOAD Enscape 3D🢃
▶▶Free Enscape 3D Crack📥


Doesn't work with RN 0.63.x

I have gone through these following points

[x] Check latest documentation: https://docs.nativebase.io/
[x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
The library doesn't work with the latest version of RN.

node, npm, react-native, react and native-base version, expo version if used, xcode version
node -v
v12.13.0
npm -v
6.12.0
react-native
0.63.2
react
16.13.1
native-base
2.13.14
expo
38.0.9
Expected behaviour
Should work
Actual behaviour
Throw errors
Steps to reproduce
Use a native-base component with the RN > 0.63
index.js
import { registerRootComponent } from 'expo';

import { AppRegistry, YellowBox } from 'react-native';
import { name as appName } from './app.json';
import App from './src/App';

YellowBox.ignoreWarnings(['Remote debugger']);

AppRegistry.registerComponent(appName, () => App);
registerRootComponent(App);

App.js
import React from 'react';
import { Container, Content } from "native-base";

export default function App() {
  return (
    <Container>
      <Content/>
    </Container>
  );
}

See the errors in console

Is the bug present in both iOS and Android or in any one of them?
Checked on an Android emulator and device
Any other additional info which would help us debug the issue quicker.
Works fine with RN ~0.62
Important
Broken after migration RN ~0.62 to 0.63.2

Hi @itryapitsin2 , closing for now due to inactivity. Let us know if the issue still persists.


chore: migrate java-bigqueryconnection to the Java microgenerator

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/fa81ff2b-8674-46fc-af73-4260f2ed0fa7/targets

[ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 345311086
Source-Link: https://github.com/googleapis/googleapis/commit/2408f741393e0781a59a21a9b6da49bc06ed0576

closing due to issue observed with isNull()


godoc not displaying package documentation due to unrecognized LICENSE

Hi team!
Thank you for this package, looks like just what I was looking for.
The godoc site for the package says:
Documentation not displayed due to license restrictions.
See our license policy.
Looks like this is because the license has non-standard wording, and godoc now has a policy to only display docs for allowed licenses. Usually I would love to submit a pull request to fix, but licensing is up to the releasing authors/org. Do you think it would be possible to perhaps switch to one of the standard BSD N-clause licenses (perhaps with the government contract attribution in the README)?

Looks like this is because the license has non-standard wording, and godoc now has a policy to only display docs for allowed licenses. Usually I would love to submit a pull request to fix, but licensing is up to the releasing authors/org. Do you think it would be possible to perhaps switch to one of the standard BSD N-clause licenses (perhaps with the government contract attribution in the README)?

That's exactly right: The wording is just different enough from BSD-3 that pkg.go.dev doesn't recognize it as such.  Unfortunately, LANL requires their specific wording of the license.  When you first opened this issue I asked<EMAIL_ADDRESS>if there's some mechanism by which I can add a line to the LICENSE file that says, "I promise I'm BSD-3 so please don't bother checking."  Although in the past that address has led to quick responses, they haven't yet written back this time.  I suppose I should open a GitHub issue in case the email address is no longer being monitored.

With permission from my institution, I made LICENSE.md a "pure" BSD 3-clause license and moved the problematic US Government rights paragraph into README.md.
See also the discussion at golang/go#52554.


Re-add experimental flags

Description
Re-adding Experimental flags on ModelBatchDeployment and PipelineBatchComponentDeployment in order to unblock the release per this icm and repair item
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


Update live test

Updated live tests

API change check
API changes are not detected in this pull request.

Looks good to me.


Programm doesnt start

Prerequisites

Replace [ ] to [x] to check

[ x] The controller is recognized without issues in the official software
[ x] I made sure no official software or any other software that can communicate with the controllers (e.g. Aida64) was running when the issue with the service occurred

Describe the issue
A clear and concise description of what the issue is.

The programm wont start and it shows the error in the picture.
English translation:
Unhandled exception: System.InvalidOperationException: The Service TTController cannot start on the computer ---> System.ComponentModel.Win32Exception: The Service doesnt answer in time to start- or control-request.
--- End of intern exception stack monitoring ---
at System.ServiceProcess.ServiceController.Start<String[] args>
at TTController.Service.Program.g__StartService:3_1<>
at TTController.Service.Program.<>cb__3_2<>
at TTController.Service.Program.ManageService<>
at TTController.Service.Program.Main<String[] args>
OS: Windows 7 64-bit
I hope there is a solution for this. I would definitely choose your program over the shitty one from TT.

Please edit the TTController.Service.exe.Config file and change:
<logger name="*" minLevel="Debug" writeTo="console" enabled="true" />
to
<logger name="*" minLevel="Trace" writeTo="console" enabled="true" />
then in the Main Menu select run in console and post the log output.

It seems to initialize and finalize correctly and it is not hanging for a long time anywhere.
Did you maybe move the exe after installing? If so you have to uninstall and install again.

I didnt move the .exe after installing. I also tried uninstalling and installing again but that doesnt help :/

Could you try starting the service from services.msc? If it also wont start you could try changing the service account by right clicking on the service and going to "Log On" in properties. There you can set a custom account to run the service as instead of Local System, make sure the account has admin rights.

Also check if "allow service to interact with desktop" was checked in the service properties.

Starting trough services.msc with or without letting it run on a custom account fails with the error message "Error 1053: The Service doesnt anwer in time to start- or control-request" (translated).
"Allow service to interact with desktop" was checked.

Are there logs created in Logs folder? Post the newest one when you try to start it.
This is a really weird issue. Seems like its something wrong with windows.

current.log
That is the latest log file after trying to start trough services.msc .

I tried it again because why not and for some reason it started without an error message right now.
Log file after successful start:
current.log

Oh... Well it fails to start because the config is empty or invalid. Interesting that it works fine when you run it in console.
Did you try to configure the service? What is your current config? If you dont know how to configure it I can make one for you.

I didnt configure the service yet. Current config.json:
{
"Profiles": [],
"ComputerStateProfiles": [],
"PortConfigs": [],
"SensorConfigs": []
}
I will try to configure it following the examples given in the readme.

Ok, if you need help with the config just make a "configuration help" issue.
I will close this one once I fix that the service fails to start with empty config.

Thanks for your help :)

Unfortunately, im unable to reproduce this bug with empty config. So you had to somehow have an invalid config for this to happen. The exception you got only happens when there is no plugin with a name specified in the config. I'll add some log messages for that.
Anyways, you have it working so im closing this issue.


Add basic ansible playbook to setup/secure a ubuntu instance

This is done when:

[ ] there is common role that upgrade/update instance, setup fail2ban, utf encoding, server time, setup www-data roles, etc.
[ ] Travis CI server configuration is added with proper private keys and environment variable
[ ] there is a vargrant setup to run that ansible script.
[ ] README.md update with all the things need to run the setup locally and instructions on how the deployment works via travis.

Read: http://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers

I would like to work on the vagrant setup with ansible.

there is common role that upgrade/update instance, setup fail2ban, utf encoding, server time, setup www-data roles, etc.

there is a vargrant setup to run that ansible script.

I work on these first.

@ajoyoommen sure,
@GeetikaBatra please update ur #2 pull request with documentation so that other's can followup with development.


nbformat not in environment.yml or requirements.txt, but needed for plotly?

    nbformat not in environment.yml or requirements.txt, but needed for plotly?

Originally posted by @mrghg in https://github.com/openghg/openghg/issues/395#issuecomment-1233019245

Has now been added to files.


linux bootstrap: remove assertion failure from dev, fixes 'nix eval'

As in:
$ nix eval -f . bash
Also remove the glibc propagation inherit that made these necessary,
stages handle propagating libc themselves (apparently) and
AFAICT no hashes are changed as a result of this.

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

This doesn't seem to change hashes or break anything,
testing less-common confgurations appreciated.

Yay! Now stdenv.glibc is used elsewhere and I forget where it comes from, but that should go anyways. Definitely want to ofborg this, but then let it rip!

This actually doesn't remove stdenv.glibc, haha.  I'm not sure what it ever was good for--comment says keeping system include path but


Question: Anything holding back diff from release?

I was pretty excited to see the diff option in the README, but it looks like it only actually dropped after the latest release so it can't be installed with a sensible semver restriction through NPM - Is there anything holding back tagging a new release?
Thanks

The diff feature is not yet ready, primarily because of an issue with array diffing. Unfortunately, there's no ETA right now on when it's going to be fixed.
You can find the corresponding discussion here.


Crashing when images in subfolder

Program is crashing when tagging archives that have images in a folder inside archive. This was not the case on previous build. Opening cbr files previously tagged with comictagger and attempting to update metadata is causing crash.

I can't reproduce this.
What OS are you running ComicTagger on?
Are you using the binary from the release page?
You indicate that you are using cbr files, have you verified that has the correct paths setup for the rar executable and can open other rar files?

WinServer2019
I am using [ComicTagger-1.3.1-win-AMD64.exe.zip]
Yes, other rar files are working fine. I have not updated winrar in a few years. I will try that later and report back if it resolves the issue.
I am extracting and recompressing them with a batch now. I only have 100 or so files left to tag. I will hold one problem file back for testing.

Hello, I just published a new alpha release could you try using it? It will probably still fail but it will generate a log file at %APPDATA%\ComicTagger\logs\ComicTagger.log that I would like you to upload.
Note: the log file gets rotated on startup so you may end up uploading %APPDATA%\ComicTagger\logs\ComicTagger.log.1 or another file

I found out where the issue happened. Unfortunately any comic archives that crash can only be fixed by manually editing or removing the ComicInfo.xml. The latest alpha release 1.3.2-alpha.4 has this fix merged

Technical details
I explicitly set the encoding to utf-8 and enabled generating the xml_declaration
ET.tostring(tree.getroot(), encoding="utf-8", xml_declaration=True)

This normally should not have posed any issues as this function returns a byte-string, then the byte-string is immediately decoded into a standard unicode-string which again does not normally pose any issues. The issue occurs when we open a temporary file for text writing, when we do that Python automatically decides the encoding to use and will convert the unicode-string to the encoding that it decides. On windows the default encoding is cp1252 which is an extension of ASCII that is in-compatible with Unicode.
The error happens when the file is read back into ComicTagger, ComicTagger gets a byte-string which is given to the xml processor the xml processor starts reading and assumes ASCII and/or cp1252 (the default encoding on windows) until it finds the xml declaration which explicitly states utf-8 and then reads any further data as utf-8
<?xml version='1.0' encoding='utf-8'?>

This issue did not occur with zip files as instead of opening a temporary file as the writestr method is used which explicitly encodes the given string as unicode.
To fix files that are encoded incorrectly either remove the entire ComicInfo.xml or change the encoding on the xml files to cp1252
<?xml version='1.0' encoding='cp1252'?>


Docs - Add Remote Browsing Page

Need examples for how to initialize Browser class to run tests on Grids and Sauce

wrong repo


PSMDB-991 Release notes 5.0.6-5

modified:   source/conf.py
new file:   source/release_notes/5.0.6-5.rst
modified:   source/release_notes/index.rst

Closing this one to reopen a new one with deploy previews


Run instrumentation tests on Firebase.

0.47s$ echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a
Error: Target id is not valid. Use 'android list targets' to get the target ids.
The command "echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a" failed and exited with 1 during .

I'm tired of Travis flakiness and now android sdk update broke the repo.

How do i run instrumentation tests on firebase?

https://firebase.google.com/docs/test-lab/
Not sure what do you ask here, you mean how to set Firebase Test Lab for this particular project or just in general?

yeah sorry to be not specific. I am a newbie in github and i want to understand how to solve issues of a particular repository. For instance) In this particular issue should i test the app using Firebase test labs? If yes then what else should i do to make a significant contribution to this repository?

You can start with something simple, like updating dependencies, then just pick an issue and comment with possible solution so we could agree on implementation before the PR :)

How can i update dependencies?...Is there any link or documentation that can help me to do that?

Well, you probably need to start with Gradle Dependency Management Basics documentation

Do you need help? I've done this before for a small app, but using CircleCI. I think there are a few differences in the configuration file for Travis, but it shouldn't be that hard.

Yep, I've done it but help would be appreciated 👍  (i don't have much time to do it)
The only problem is API key, we can set it up so it would work only on my PRs without leaking key but I'm not sure it adds value then…


Bug with array_merge_recursive

I'm trying to do something like this:
$config1 = [
    'factories`=> [
        // factories
    ],
    'lazy_services' => [
        'class_map' => [
            'Foo' => 'Foo',
        ],
    ],
];

$config2 = [
    'factories`=> [
        // factories
    ],
    'lazy_services' => [
        'class_map' => [
            'Foo' => 'Foo',
        ],
    ],
];

$container = new ServiceManager($config1);
$container->configure($config2);

This will result on internal lazy_services property the following:
$this->lazy_services = [
    'class_map' => [
        'Foo' => [
            'Foo',
            'Foo',
        ],
    ].
];

The problem is the use of array_merge_recursive() function in this line.
Same problem with delegators property.
I found this issue using zend-mvc and an already configured container, then Zend\ModuleManager\Listener\ServiceListener reconfigure it adding configuration from ModuleManager features.

This repository has been closed and moved to laminas/laminas-servicemanager; a new issue has been opened at https://github.com/laminas/laminas-servicemanager/issues/4.


H3Hexagon: add support for coverage.

For #3209

Background

Forward coverage prop to ColumnLayer
Scale polygon vertices when using PolygonLayer.

Change List

H3Hexagon: add support for coverage.

Coverage decreased (-0.09%) to 62.871% when pulling 87ff300e7fb4fa2442a308e8bf3e4356ac811fb1 on H3HexagonCoverage into 8519fb1099157a4c526a1c3b40b85d725509b9b9 on master.

@Pessimistress , addressed comments.
deck.gl 7.0 supported the coverage for non highPrecision mode (we were forwarding the prop), any concerns cherry-picking this into 7.1-release branch ?


Could not grant token

Looking at my tables for the first time in a while and realized I'm getting "Could not grant token" since 2019-02-14. I've done everything I know to do including completely removing and recreating the apps at ecobee.com and re-running setup. When I try to run setup and put the new PIN in, I'll get a "Success" and it'll act like it's syncing but it just hangs after cycling through a couple of date ranges.

You might have just gotten really unlucky. Ecobee was performing maintenance this morning until 6am this morning. Not sure exactly when you tried, but that could factor in.
If you try re-running setup again now does it work?

Nope. Just tried it again. Same symptoms.

Ecobee is also not showing up on home assistant, I think it relies on this as well.

Well, it just decided to start working fine when I tried it again this morning. Closing.


Question regarding car-audio-1MB-trunc.mp4

car-audio-1MB-trunc.mp4 is 1048576 bytes.
The last mdat @ 955849 claims it's size is 157253, but theres only 92727 bytes left to read.
I'm assuming this is intentional due to the file name being trunc but whats the expected behavior of the browser? That part seems unclear.

Hi, where or which test specifically are you referring to?

It wasn't really specific to a test, it looks like the content is used in a number of places.

It's used in multiple places, so the expected behavior would depend on the test.

Reverse engineering it... it looks like it's supposed to take the trun box, and determine how many full samples it has based on the mdat size and then modify the duration of the segment accordingly. Could you confirm that?

The primary reason to truncate this audio file is to have it be ~1MB, so I don't think much work was done or considered besides truncating the file, but it's true that we could have modify the duration accordingly.

Ah ok, interesting point about the ~1mb. In general is supporting truncated content like this part of any YouTube certification? Like if network drops prior to a segment completing the download, will the YouTube player append to the buffer whatever it has obtained?

There's no specific requirement regarding supporting truncated content, but there are requirements on network stack, please check our technical requirement for more details. The YouTube player should append to the buffer whatever it has obtained.

Thank you for your help @jiaqzhao


Get rid of manually specifying the VERSION byte in transactions and blocks

The enum that contains a transaction version should handle this. However, this needs some thought because of how we wanna implement the Idable trait the internal versioned Transaction. Ideally, we never have to write the version byte manually, but it should come with from the enum. This is a low priority issue for now, but its time should come sooner or later.

The version byte is now handled by the inner versioned struct. As far as I know, there are no longer any duplicate manual version numbers. Could this be considered addressed by #223 @TheQuantumPhysicist?

Yep. This is resolved.


x/tools/internal/diff: suboptimal line edits for a common prefix

Noticed in https://go.dev/cl/539656. The x/tools/internal/diff package produces suboptimal line diffs, in that it generates edits inside of common prefixes.
Here is a minimal example: https://go.dev/play/p/kS7ykVOJzbm
diff.Strings("\n\n", "\n\na\n") // [{Start:0,End:0,New:"\n"} {Start:1,End:1,New:"a"}]

While the edits are valid, I think it's a bug that an edit is inserted inside a common prefix. Pragmatically, it causes the unified diff to be rather confusing. It may also cause non-nonsensical movement of the cursor in gopls, but I've yet to demonstrate this in practice.
At the very least, I think this warrants investigation.
CC @pjweinb @adonovan

@pjweinb, since the problem is in the core of the diff algorithm, on which you are the expert (and not in the ToUnified  presentation logic), could you take a look at it? Thanks.

This is a case where a longest common subsequence doesn't include the
common prefix, and unfortunately the algorithm finds it. I think that it's
not hard to fix.
On Thu, Nov 9, 2023 at 11:27 AM Alan Donovan @.***>
wrote:

Assigned #64023 https://github.com/golang/go/issues/64023 to @pjweinb
https://github.com/pjweinb.
—
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/64023#event-10915421998, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJIAI4PVQ3U5TAGKKNCYYDYDT75PAVCNFSM6AAAAAA7DV2PRKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHEYTKNBSGE4TSOA
.
You are receiving this because you were assigned.Message ID:
@.***>

This is a case where a longest common subsequence doesn't include the
common prefix, and unfortunately the algorithm finds it.

Understood. I think this is why many diff algorithms do a line-based diff first before narrowing to sub-line diffs: when "a\n" is considered as a single unit, the trailing '\n' can't be considered part of a sequence.
Perhaps the simplest fix is to do the same: start by diffing lines, and then do a second sub-line pass on each hunk. This may also lead to better performance.

This is perhaps unfortunate, but it is not a bug. The same visibly unfortunate thing can happen without a common prefix: diff(xyAA, yyAABA) has the same problem of not returning a minimal diff and being small enough to be dissatisfying to a human observer.


SSH Remote Kernel - Repeated line jump on console

Problem Description
Hi everyone,
I'm facing an issue since I'm using remote kernel.
Everytime on console, there is a new line that appear every 2 seconds and I don't know how to avoid it (see attach picture).

Is there a way to fix that? I don't think it's linked to GUI, both spyder 3 and 4 beta are reproducing the issue.
Best regards
What steps reproduce the problem?

Using this tutorial to create a remote server https://medium.com/@halmubarak/connecting-spyder-ide-to-a-remote-ipython-kernel-25a322f2b2be

Spyder version: 3.2/4.0.0b5
Python version: 3.7
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Linux(Kernel) / Windows 10(GUI)

Are you connecting from Windows to Linux?

Are you connecting from Windows to Linux?

Yes exactly!
spyder-kernels was install on Linux server, and I'm running from windows the GUI part of spyder.

I'm wondering that perhaps it's more due to global properties of ourLInux server (and SSH properties) than Spyder itself....
I will look on my side and I will tell you if I find something.

Ok, thanks! That could be the case indeed.

Ok, some returns - I got an paramiko error:
"UserWarning: Unknown ssh-ed25519 host key for .....'
  key.get_name(), hostname, hexlify(key.get_fingerprint())
Secsh channel 0 open FAILED: Connection refused: Connect failed
Secsh channel 1 open FAILED: Connection refused: Connect failed
etc ....

Seems linked with Windows OS. I'm investigated

I think the connection is flickering at times and that's what generates the new prompt every now and then..

For my previous error log, it's seems it was just a warning.
Attempting a connection through cmd, using ssh command and accepting host removes these errors.
For the flickering assumptions I also think about it, but seems weird as we are on wired gigabit network. But that's perhaps what's happening.
I will try checking for this next days!
Have a great day ccordoba12!

Ok so here I go again.
This morning, I made another try with somebody that knows better about SSH.
I juste give a try, the same as yesterday and... it works like a charm. I don't understand what's going on during my previous try. Perhaps due to some jobs that causing some kind of latence on the server or flickering on connection.
Thanks again for your interest!

Perhaps due to some jobs that causing some kind of latence on the server or flickering on connection

I also think that was the problem. Probably the connection had to be reestablished from time to time and that generated the multiple prompts you were seeing.

I'm getting this issue too, but mine hasn't resolved itself. It happens whether I connect via ssh in Spyder or forward all the require ports via command line (i.e. unchecking the remote option in the connection dialog). Like you said, it's probably something with the remote server. I don't think it's a connection issue, though, probably some way SSH or a firewall is configured. Do you know if there are any parameters that can be changed that would help this behavior, like something that decreases the frequency at which Spyder checks for a valid connection?

I got this issue today.  does anyone have a solution?

Don't know about the issue above, but here is what solved my issue for anyone reading: instead of running python -m spyder_kernels.console and connecting to the kernel, quit the kernel after running it. Then restart the kernel with python -m spyder_kernels.console -f kernel-xxxxx.json, specifying the file that was just created in the runtime directory, and connect to it. This fixed my problem for some reason.

@scott-8 that is a magic. it works well for me. Thank you~

Don't know about the issue above, but here is what solved my issue for anyone reading: instead of running python -m spyder_kernels.console and connecting to the kernel, quit the kernel after running it. Then restart the kernel with python -m spyder_kernels.console -f kernel-xxxxx.json, specifying the file that was just created in the runtime directory, and connect to it. This fixed my problem for some reason.

Unfortunately, this solution does not work for me. I have exactly the same issue as described in the original question. Is there any solution yet?

@PatBalz
I finally worked out by killing the extra kernel process, because I found several spyder kernel process running on my linux server after tons of restart.
Try to use scott-8's solution and make sure only one spyder kernel server running.

@woodywei
Thank you for your comment.
Unfortunately I have to say, that I am still facing this issue.
The mentioned solutions are just not working in my setup. I also followed the advice given in this issue "connecting spyder to remote server via ssh #13133".
This also does not help. So even if I start a kernel on the server, then quit this kernel, restart it via python -m spyder_kernels.console -f kernel-xxx.json and reconnect to it from the client (windows), I still face this repeated line jumps! It is really frustrating.

Now it finally worked.
I think the issue was, that I always missed some python processes in the background (I originally used top | grep python & to find the processes). So the procedure that works for me goes as follows (explanation on my on newbie level of understanding):

Start the kernel on the server (I am using putty for this) and copy the name of the json-file (for example: kernel-15253.json):
python -m spyder_kernels.console &

Search for the just started process and kill it:
ps -ef | grep python (Second Column of the output gives you the ProcessID, for example "1111")
kill -9 1111

Restart the kernel, using the retrieved filename from step 1 (for example "kernel-15253.json"):
python -m spyder_kernels.console -f kernel-15253.json &

Now copy the information from the json file to your local machine. The file can be found in the jupyter-runtime path. This path can be found via:
jupyter --path

Now you can start spyder on your desktop and follow the instructions starting at step 5 on this spyder-documentation using the above generated json-file

But I have to add to this that on the server-site I still reciece error-messages of the following form every time I execute a python command in the kernel:
[IPKERNELAPP] ERROR | No such comm target registered: spyder_api
[IPKERNELAPP] ERROR | No such comm: df083836e89d11ea98ae1ad486ebe
Can anyone explain this to me?
I hope this configuration is "stable" despite this error messages.
Thanks to all of you for your answers and helpful comments so far!


Added --downstream option to  #271

@ameyanator hey, Ameya! do you need more information or some help to get it done?

Merging as is, but it requires more work, will keep the ticket open.


Simba accelerator architecture.

Hi, the Simba accelerator architecture in the 'simba.yaml' of your source code is inconsistent with that in Table V. of your paper?
Could you please explain this？Thanks!!!

Hi Fuyu, sorry for the late reply.  We have simba configurations of different sizes. I just pushed the simba_large.yaml we used for the paper at https://github.com/ucb-bar/cosa/blob/main/src/cosa/configs/arch/simba_large.yaml.


Docker container crashes unexpectedly

Hello!
I'm using docker image on the latest version and sometimes the container randomly crashes and exports wrong data or no data at all to Prometheus. sometimes it happens with logs that I attached below and sometimes with no logs at all. I don't know if it's for the bad configuration or what. I just pass the Redis broker URI to the container with no other configuration.
$ docker logs -f celery_exporter

Socket error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/waitress/channel.py", line 121, in handle_write
flush()
File "/usr/local/lib/python3.9/site-packages/waitress/channel.py", line 259, in _flush_some
num_sent = self.send(chunk)
File "/usr/local/lib/python3.9/site-packages/waitress/wasyncore.py", line 431, in send
result = self.socket.send(data)
TimeoutError: [Errno 110] Connection timed out
total open connections reached the connection limit, no longer accepting new connections

@amirali did you find any solution to this?


Improve nightly test visibility on failures

This commit adds a few things that aim to improve debugging nightly test failures:

New artifacts to show relevant cluster state
Fixed issue with artifacts not properly being uploaded
Uninstall only happens on new tests or on success

Checklist

[X] The title of this PR would make a good line in Acorn's Release Note's Changelog
[X] The title of this PR ends with a link to the main issue being address in paranthesis, like: This is a title (#1216). Here's an example
[X] All relevant issues are referenced in the PR description. NOTE: don't use GitHub keyworkds that auto-close issues
[X] Commits follow contributing guidance
[X] Automated tests added to cover the changes. If tests couldn't be added, an explanation is provided in the Verification and Testing section
[X] Changes to user-facing functionality, API, CLI, and upgrade impacts are clearly called out in PR description
[X] PR has at least two approvals before merging (or a reasonable exception, like it's just a docs change)

@thedadams I addressed your comments. Mind giving it another look when you get the chance?


Add endpoint response data to Swagger API endpoint

Description
Currently all API endpoints in the Swagger doc show what endpoints exist, but not much apart from that. To find out what the endpoints return we have to go visit them and make assumptions if we wish to use them. This creates a bad situation as some variables can be null but is set most of the time -- that happened for me over on the dashboard side as I didn't know url could be null https://github.com/packit/dashboard/issues/254
There is a marshal feature within Flask RESTx that might be usable, but I have not checked myself it this is doable or if it will generate the API response data types for us, though I assume it will
https://flask-restx.readthedocs.io/en/latest/api.html#flask_restx.marshal_with
Benefit
This will help us develop the service and dashboard more separately as the API will be better documented, and also help with newcomers who want to improve something to the dashboard or make use of something from Packit service itself
Importance
Not super important, but would be a very nice to have for the DevConf workshop
What is the impacted category (job)?
General
Workaround

[ ] There is an existing workaround that can be used until this feature is implemented.

Participation

[ ] I am willing to submit a pull request for this issue. (Packit team is happy to help!)

Hi @SpyTec,
I am working on this card (you can give a look to PR #2089) but I am not sure my work will solve the problem you had with our API.
I am not able to specify, through flask_restx, that a field could be null/None or at least I did not find a way for it.
I can say whether the field is required or not, but this is something different I think, in our case most of the fields are always exported (that for me means they are required) even though they are null/None.
The only way I see to export this information is to drop the field in the response when it is None with the flask_restx option skip_none, in this way all the fields which can be None will automatically be not required anymore. But, in doing so, I will change our API.
I don't know if you have suggestions/opinions to give me and I don't know if I got the problem properly.
Thanks!
Maja

Weird 🤔
How does the Swagger look like with the changes when it comes to fields that could be null?
Otherwise, I found this -- which is weird given that the projects have existed for a while
https://stackoverflow.com/a/63500834

Hi, sorry for the delay!
I don't think I need to customize the class, the null values are already going through the marshaling, you can see them here.

But I don't have a good way to expose them in the examples, here for example you can see I set the branch_name to null and it appears like a string:

However I can write in all the examples if the string could be also null even though it will not appear that good.

It could be possible that the custom class allows the examples to show null as well

Finally I have tested this and I don't think the class above is doing much.
The web_url, ref and branch_name are NullableString but in the example you can't understand it.

If you inspect the model you can see that they can be both string and null but this is shown in a weird way and I think it is not so visible.

Another fear I have is that using this marshaling feature I am not only decorating responses with docs but I am also changing the way I serialize them. I had to remove json.dumps from our code and now is the flask_restx code that serialize the content I am decorating.  If I misspelled or forgot a field this will not show up in the response.
I think this is a nice tool if we want to make our API more consistent, we can use the renaming functionality in flask_restx to rename fields that should appear with the same name even though in our code base they have different ones. But still I don't like that we should replicate all the field names and our serialization is based on that.
@SpyTec what do you think?
Thanks!
Maja

We agreed with @SpyTec  to close this.


Build Android 11 AOSP on nixos

Describe the bug
Cannot build Android 11 AOSP on nixos without source modification
To Reproduce
As android is huge to download, the following could take a few hours to process, and you will need a solid machine to build android.
Steps to reproduce the behavior:

Start android fhs
Setup Android repository

mkdir AOSP_11 && cd AOSP_11
repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r17
repo sync  :warning: This take a lot of time, you are about to download 100GB

Setup build

source build/envsetup.sh
lunch  aosp_taimen-userdebug

Build it

make -j11 :warning: to complete the build this require a good CPU with 16GB Ram and some space disk

After some build process if fail for linking issue to shared library.

Expected behavior
Build success
Additional context
Since I am on nix I use this fhs to build android.
But it no longer work on AOSP 11.
This is the error that happen:
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real:
error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

This is caused by the android build system creating his own environment without LD_LIBRARY_PATH.
I didn't find any nix tips to have it working without modifying source, so I post this issue to indicate the fhs is no longer suffisant.
Here is the dirty workaround that seems to work. I do not have encounter any issues yet.
In following repo:  TOP/build/soong
diff --git a/ui/build/sandbox_linux.go b/ui/build/sandbox_linux.go
index 2de772b00..85be64946 100644
--- a/ui/build/sandbox_linux.go
+++ b/ui/build/sandbox_linux.go
@@ -175,5 +175,6 @@ func (c *Cmd) wrapSandbox() {
 	if _, hasUser := env.Get("USER"); hasUser {
 		env.Set("USER", "nobody")
 	}
+	env.Set("LD_LIBRARY_PATH", "/usr/lib:/usr/lib32")
 	c.Env = []string(env)
 }

Notify maintainers
I have no idea who did the original FHS nor who trigger on this
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.44, NixOS, 20.03.2102.e2bb73ce5f7 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.5`
 - channels(root): `"nixos-20.03.2102.e2bb73ce5f7, unstable-20.09pre228622.029a5de0839"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

The Android build system (as of Android 11) now ignores certain environment variables by default, including LD_LIBRARY_PATH.  You can run export ALLOW_NINJA_ENV=true before building to disable this behavior.
Also, in case you aren't aware of it, Robotnix can also be used to build AOSP using Nix.

I wasn't aware of this ninja option. Thanks ! It way cleaner than what i did.
I will put it my android FHS, but it could be something nice to add to th fhs on nixos Wiki.
I am aware of the Robotnix existence since i start searching for this issue, but i do not know how it work with local source tree, as I need to do heavy modification in multiple android repo(test it, build some debug code...).
Is there any possibility with Robotnix to do something like this nix-build ./default.nix --build_tree [PATH]?

Yeah, you're right that robotnix wouldn't help as much if you intend to do AOSP development (edit / test / debug cycles).  It's most useful when you have something that works and want to allow end-users to easily build it using nix.

I didn't see the commit that change it, but wiki has been update.
Thank you mysterious people :+1:
He/She also add some other lines needed in new android build, that's nice !
I close this issue


fix: forcing release for the previous fix

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Example code question.

Hi,
I am using SimpleDHT and it works fine.
My question is about this snippet in the examples:
 void loop() { ... if ((err = dht22.read2(&temperature, &humidity, NULL)) != SimpleDHTErrSuccess) {     Serial.print("Read DHT22 failed, err="); Serial.println(err);delay(2000);     return; ...   }
Why is there a return?
Doesn't this exit loop()? (And wouldn't that return to the somewhere in the boot process of the device?)
Thanks,
Mac

Hi,
The return statement allows to avoid the output of the results on the Serial. With the return, the loop() method starts again without going through the setup().
KR,
Olivier

Does that mean code in loop() following the return does not get executed?

Yes, it doesn’t


Undo/Redo

I'll need to re-introduce draw events for this. See the changes here when I removed that for emoji move/resize perf: https://github.com/SamsungInternet/snapwat/commit/3c9a896ebaf855a8a64b96bb9f93b6208cb99e60#diff-206edc1da012c10f9b4780e2bdadf80e


Add a config for a "minimum" time interval (and/or rounding)

Feature request
When I log my time, I always round to the nearest 15min increment. So my log looks something like this:
$ watson log
Monday 04 April 2016 (5h 15m 00s)
        e774dc5  10:00 to 11:45   1h 45m 00s  WEB-12472  [pr]
        752f528  12:45 to 13:00      15m 00s  WEB-12472  [pr]
        4fcedf9  13:00 to 13:45      45m 00s  WEB-13891  [crm, sync]
        84840f0  13:45 to 14:15      30m 00s  WEB-12472  [pr]
        04d318f  14:15 to 14:45      30m 00s  WEB-13814  [update]
        41307ff  14:45 to 15:45   1h 00m 00s  WEB-13872  [crm, rest]
        f683566  15:45 to 16:15      30m 00s  WEB-13638  [crm, rest]

Right now, I have to go back and edit all the frames one by one, which is a bit of a pain. So I'd like a config to define a minimum time interval, and another to choose a rounding strategy (floor, round, or ceil).
With increments of 15 minutes

floor(14h08) -> 14h
round(14h08) -> 14h15
ceil(14h08) -> 14h15

With increments of 30 minutes

floor(14h08) -> 14h
round(14h08) -> 14h
ceil(14h08) -> 14h30

Anyone else would benefit from this feature?

Hi @marcaube ! Thank you for your feedback. In fact it's already a work in progress by @firecat53 in #109

Still working on it! Just haven't had much time lately. The PR I submitted is functional and will give you a slightly different expanded report style + some rounding options.
Scott

Oh sweet! Searched through the issues for this but missed the PR. It seems that the rounding is done on the total time rather than the projects time though, am I right ?

The total hours for each tag are summed for the calendar day and then each
tag total is rounded up to x minutes. The total of those rounded sums is
presented as the project total for the time period. I'm explaining it
horribly... The given examples should make it more clear I hope. (Or the
source)
Scott

Hum, then I might just be using it wrong. If I used tags (instead of projects) for my Jira tasks, then I would get a per-task total. I'll have to play with it and change my workflow a bit.
@jmaupetit and @firecat53, thanks for the answers, I'm closing here since it's a duplicate of the PR #109


Restrict comments deletion

What is the change?
Restricted Comment deletion to author of the comment only previlage. This PR also contains some code from my previous PR, so, please merge previous PR before this one, or if this can't be merged (or will make some trouble , then please let me know)
Related issue?
close: #issue_number
How was it tested?
Locally
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelines while contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[] Did you lint your code before making the Pull Request?
[] Have you made corresponding changes to the documentation?
[x] Your submission doesn't break any existing feature.
[x] Have you tested the code before submission?

Screenshots or Video:
Add a screenshot or demo video if appropriate.
https://user-images.githubusercontent.com/68139755/115062349-e295fd00-9f07-11eb-9750-598a26ab8d60.mp4

I would suggest to get #697 merged first since this PR has got some code as same from the other PR so can't merge this untill the other one gets merged. Or you can make PR for this feature from a new branch

I have made a new branch for this, but idk why the code from that branch also got saved in this. I will wait till #697 gets merged.


Typo (or possibly deprecated?) about command-line message during 'flynn-host bootstrap'

I'm using Ubuntu 14.04 and followed the documentation. At the bottom of this, it says
$ sudo \
    CLUSTER_DOMAIN=demo.localflynn.com \
    flynn-host bootstrap --min-hosts=3 /etc/flynn/bootstrap-manifest.json

and this works fine. What made me confusing was the following message resulting from this command:
...
04:58:35.747329 deploy-app logaggregator
04:58:35.798840 deploy-app taffy
04:58:35.862996 deploy-app dashboard
04:58:35.943808 add-route dashboard-route
04:58:35.961670 wait blobstore-wait
04:58:35.997993 wait gitreceive-wait
04:58:36.000138 log log-complete
04:58:36.000430 log log-complete

Flynn bootstrapping complete. Install the flynn-cli (see https://cli.flynn.io for instructions) and paste the line below into a terminal window:

flynn cluster add -g a.test-docker.ha-mo.jp:2222 -p aRh2cNpHkItRClN1iXYGl395JqSWLDZbNyg61x/qQXA= default https://controller.a.test-docker.ha-mo.jp 6391e177112812331902c2e2989a40a4

The built-in dashboard can be accessed at http://dashboard.a.test-docker.ha-mo.jp/login?token=59ef1452acef3f9314c21f1831ef532a

According to the message I should Install the flynn-cli (see https://cli.flynn.io for instructions) but I can't find the website https://cli.flynn.io working.(So that I wasn't able to find out what flynn-cli is.)
I'm not sure if this message is still valid or not.(Or is the website just down and I was just no luck?)

Take a look at https://github.com/flynn/flynn/blob/master/cli/README.md (I'll fix the message today)

Thank you for quick follow-up! Understood.