fix #243: reproducible builds take 2

edit internal/version/version.go:

change GitCommit "poison" default value to the empty string

change SourceDate to CommitDate and change its "poison" default value to
the empty string

@ankitpokhrel this is a work in progress insofar as I have yet to add the BuildDate pursuant to our conversation in #243 .

Okay, @ankitpokhrel , this seems weird to me, but here you go:
https://github.com/ankitpokhrel/jira-cli/pull/245/commits/efde6f42294b9fe01d5e8602d13a8eb7e6d8df47


Unify scope handling

This continues a discussion that began in #1054.
Currently, jshint (as of dea5f5963213e9609b1f1da966ee31e288fc7cfd) relies on two different scope systems, one for function scope, and one for block scope.
Three possible solutions were presented:

continue with two systems, and fix corner cases.
convert everything to use the current block scope system.
convert everything to use the current function scope system.

Continuing with the first solution is going to make it harder to properly fix a lot of outstanding scope bugs, so the main question is really whether to do strategy 2 or 3. Though there is the insanity of strategy 4 — convert everything to use an entirely new scope system.

I am working on this, going for (2) by moving function scoping into the block scope manager


MH-13531 - upgrade spring-security and jasig cas library to fix issue…

… with https and reverse proxies
See https://opencast.jira.com/browse/MH-13531 for more explanation.

If no one else wants's to take the review, I'll test it as best as I can until tomorrow without having an actual CAS server.

Seems to work as far as I can tell → merged


NTR: Nebulizer treatment duration

For new term requests, please provide the following information:
Term Label [required] Nebulizer treatment duration
Synonyms [optional]
Definition [required except for organism name]
The definition should be understandable even for non-specialists. Include a PubMed ID or DOI to refer to any relevant article that provides additional information about the suggested term.
How long the participant used their nebulizer (generally measured in days)
Suggested Parent Term [required]
Please look in the ontology hierarchy in a browser such as OLS or choose one from following list:

[ ] Material (independent of other entities and can be maintained through time, such as person, cell, sample)
[ ] Process (has temporal proper parts and for some time depends on some material entity, such as life cycle, cell division, heart beating, sleeping)
[ ] Information (generically dependent on some artifact and stands in relation of aboutness to some entity, such as data, identifier, document)
[ ] Characteristic/Quality (inheres in or is borne by other entities, such as height, color, disease)

Information
Examples [optional]
Contributor [optional]
If you would like to be a contributor of the term or anyone you think that contributes to the term, such as label, definition, please provide the name and ORCID ID.
Requester [optional]
Please indicate which resource/database/project/ request the term.
ClinEpiDB

Reserved ID: EUPATH_0060145

@SheenaTomko This is ready for review.

Thanks @johnwjudkins, looks good

Looks good.


Enable local rendering of the asciidoc diagrams (such as a2s)

Type of change
Select the type of your PR

Enhancement / new feature
Documentation

Description
As a author of documentation for Kroxylicioius, I can use
mvn org.asciidoctor:asciidoctor-maven-plugin:process-asciidoc@convert-to-html

to render my Asciidoc changes to in order to conveniently view them in a browser.  However the asciiart diagrams
include in the asciidocs currently go unrendered.
I'd like the rendering to be done.
Additional Context
Why are you making this pull request?
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

With the change, this is what I see:


Better documentation

Sorry, I am not a profession programmer and have some trouble.
I installed it first without the -g option and it did work, then with the -g option
C:\Users\Administrator\Desktop>npm list
C:\Users\Administrator
`-- (empty)

C:\Users\Administrator\Desktop>npm list -g
C:\Users\Administrator\AppData\Roaming\npm
`--<EMAIL_ADDRESS>

C:\Users\Administrator\Desktop>node example.mjs
node:internal/modules/esm/resolve:853
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'blaubergventojs' imported from C:\Users\Administrator\Desktop\example.mjs
    at packageResolve (node:internal/modules/esm/resolve:853:9)
    at moduleResolve (node:internal/modules/esm/resolve:910:20)
    at defaultResolve (node:internal/modules/esm/resolve:1130:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v20.11.0

Content of
import 'blaubergventojs';

console.log('Hello World!');

Also Tried it with
import { BlaubergVentoClient, FunctionType, Parameter, DataEntry } from 'blaugbergventojs'
and also with the path before blauberg vento.
When I use .js file I end up with
C:\Users\Administrator\Desktop>node example.js
(node:4576) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
C:\Users\Administrator\Desktop\example.js:2
import 'blaubergventojs';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:77:18)
    at wrapSafe (node:internal/modules/cjs/loader:1288:20)
    at Module._compile (node:internal/modules/cjs/loader:1340:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49

Node.js v20.11.0

Could you improve the docs. I also like to integrated it in Openhab, which is also Java. I would assume the error I get there ist the same.

Hi @andypmuc.
The docs you request are out of scope for this project. It s basic NPM packaging that is troubling you here.
You cannot use this on its own. You can install it and use it in your own Javascript application.
You need to install the package into an existing npm based project. The following should get you going, but please take a look at npm docs for more details about managing a Javascript project.
(The following is an example on a Linux/Unix machine, but should be translatable to Windows)
mkdir my-project
cd my-project
npm init my-project
npm install blaubergventojs

You will now have a package.json in your folder with a reference to blaubergventojs.
Afterwards create a javascript file called fx. example.mjs and add the highlevel example from the README in this project.
import { BlaubergVentoResource, FunctionType, Parameter, DataEntry } from 'blaugbergventojs'

const resource = new BlaubergVentoResource();

// Find all devices on the local network
const devices = await resource.findAll();

// Change a device and save it
let device = devices.contents[0];
device.speed = 1;
device = await resource.save(device);

Run it: node example.mjs.
Because the folder has a package.json, node will use the dependencies from there and import should work.
This should give you the general idea.

OK, thanks anyway. I run it on Windows, and maybe that is the reason, why it is a little bit different.
I had to use
npm init
Then import did work, I used VS Code and it helped me there a little bit
import pkg from 'blaubergventojs';

const resource = new pkg.BlaubergVentoResource();

// Find all devices on the local network
const devices = await resource.findAll();

// Change a device and save it
let device = devices.content[0];

console.log (device.on);
console.log (device.mode);
console.log (device.manualSpeed);

It told me, that this is a common JS module, which cannot be imported like it is in your documentation.
Then contents is without s -> let device = devices.content[0];
At least I discovered that error in your documentation ;-)
Now it is working and maybe I propose some changes that I can use weekly schedule as high level command. Tried it yesterday as low level and it did work. I also need to find out, how I integrate it in OpenHAB.

Maybe you put it something like this as well. I struggled a little bit with the data entries.
const pkt3 = new pkg.Packet(addresses[0].id, '1111', pkg.FunctionType.WRITEREAD, [pkg.DataEntry.of(pkg.Parameter.WEEKLY_SCHEDULE, 0)])
const rsp3 = await client.send(pkt3, addresses[0].ip);
console.log (rsp3.packet.dataEntries[0].value[0]);


User searches for a magazine by name S62

Self-reviewed tests making sure they pass and cover my written lines completely.

@MohammedAnsary In the user controller the new documentation should be added on the new methods not under the last documentation


Create cherry-pick-to-support.yml

Allow to cherry pick pick selected commits to support branches.

I fixed the workflow a little. The remaining issues are:

The Action is already deprecated and will seize to function in "Spring 2024"
Cherry pick into support/v5.12
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20<EMAIL_ADDRESS>For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

The Action fails when getting a cherry-pick conflict. I will be easy to overlook and fix those.

 The action re-labels the cherry-pick PRs with the original labels, so all cherry-pick PRs are marked for cherry-picking again.

Another issue I have found is when using Rebase-merges:

The action only cherry-picks the last commit of a rebase merge and loses everything else. The following cherr-pick PR was created from 2 rebased commits that added "Commit 13" and "Commit 14" to a readme file, but only "Commit 14" is present in the cherry-pick PR

The action sometimes cherry-picks lines that were not changed by the PR. I don't know how that happens, but see for yourself:
The original PR had 2 rebase-merged commits that added the lines "Commit 8" and "Commit 9"

However, the cherry-pick PR added other ascending lines as well, that were changed on master but don't exist on the support branch, yet.

I will close this PR. We do have the documentation and can take a look again at a later time.


chore: update region tag - listModelEvaluationSliceSample - aiplatform

Description
b/281693388 : Update region tag to match other languages.

Doc inclusions have been identified: cl/532993056

Should we update the references for this region tag somewhere?


Change all tutorialClass to tutorialId

closes #126

Good to see the refactoring. Now we have less confusion between tutorialClass and tutorial. Well done!


1310/partners section 8 update

Issue Overview
This PR addresses #1310

[ ] This change addresses the issue in full
[x] This change addresses only certain aspects of the issue
[ ] This change is a dependency for another issue
[ ] This change has a dependency from another issue

The migration component of #1310 will be completed as part of a different ticket.
Description
This PR allows for a housing partner to indicate whether their listing accepts Section 8 vouchers or not in a new optional form field. Consequently, section8Acceptance has been added to the listing model and is represented in the detailed view of a listing if selected (defaulted to unselected). Additionally, this ticket removed the rental assistance form field and its representation in the detail view on the partners side.
How Can This Be Tested/Reviewed?
This can be tested on the Detroit Partners site by editing a listing, scrolling down to see the new Section 8 question and no rental assistance field. Also, testing if your selection is saved and represented on the detail view of the listing after clicking Save & Exit.
Checklist:

[x] My code follows the style guidelines of this project
[ ] I have added QA notes to the issue with applicable URLs
[ ] I have performed a self-review of my own code
[x] I have reviewed the changes in a desktop view
[ ] I have reviewed the changes in a mobile view
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have assigned reviewers
[ ] I have run yarn generate:client and/or created a migration if I made backend changes that require them
[ ] I have exported any new pieces added to ui-components
[ ] My commit message(s) is/are polished, and any breaking changes are indicated in the message and are well-described
[ ] Commits made across packages purposefully have the same commit message/version change, else are separated into different commits

Reviewer Notes:
Steps to review a PR:

Read and understand the issue, and ensure the author has added QA notes
Review the code itself from a style point of view
Pull the changes down locally and test that the acceptance criteria is met
Also review the acceptance criteria on the Netlify deploy preview (noting that these do not yet include any backend changes made in the PR)
Either explicitly ask a clarifying question, request changes, or approve the PR if there are small remaining changes but the PR is otherwise good to go

On Merge:
If you have one commit and message, squash. If you need each message to be applied, rebase and merge.

@slowbot I will update the design to the new layout! As for the data inaccuracies, did they occur when using the netlify partners preview? I can't seem to recreate it locally after I run reseed and think it could be due to the fact that this PR includes backend changes+migrations that the netlify preview may not implement. I can double check that assumption tomorrow morning though.


Style breadcrumbs on library pages

We currently have the breadcrumbs as an image to match what @vinniefalco likes.  Implement this with CSS via Tailwind.

lovely, suppositories

We have decided to remove the breadcrumbs for now.


Please revise your instructions in this document

In the section: Create Qlik Sense Enterprise test user : -- The role of Qlik Support is to work issues, helping clients add users is consulting enablement. That or they must follow https://help.qlik.com/en-US/sense/June2019/Subsystems/ManagementConsole/Content/Sense_QMC/create-user-directory-connector.htm so they may create LDAP connections to import users. Clients are now calling in for assistance that is not provided from support. Can you please revise your instructions.

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

ID: 725a7b74-1b0f-1ba6-8d23-661dc31e0e38
Version Independent ID: 8f34c027-02af-98ef-ad1b-401883d727b0
Content: Tutorial: Azure Active Directory integration with Qlik Sense Enterprise
Content Source: articles/active-directory/saas-apps/qliksense-enterprise-tutorial.md
Service: active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@elechuga We will be closing this thread as duplicate of GitHub Thread - https://github.com/MicrosoftDocs/azure-docs/issues/41252


Refactoring of benchmarks analysis scripts

Currently, the analysis files for a1, a2, a3 and a5 is duplicated.
The objective is to create a benchmark_utilities package that is imported and used by every analysis script, avoiding the current situation.

Currently being addressed in #25


Should not hardcode CmdCommandAborted

But instead do a self abortExceptionClass....

And why?

Because like that we can change its name in one place.

If we want to log exception or whatever this is super cheap to have only one place to change.


Modify some redundant phrases on README.

Hi, I modified some redundant phrases on README placed on the root directory.
I'm wondering if you could check and merge it 🚀
Thanks!

@kentny
Thanks!


wondering

are you guys done with this project?
or want to add new features to it?

Yeah, I would say we don't want to stop it. We thought after submitting the project we'll make this OpenSource project so people will learn something from it or they can practice their coding/OpenSource skills.
Thank you.


🐛 Bug Report: todo plugin - file url does not contain branch

📜 Description
I set up todo plugin and add annotation to component about source-location.
todo plugin perfectly find todo object in source code, but the file link is not correct.
my source-location is dev branch, but file link is not dev.
👍 Expected behavior
https://github.com/<org>/<repo>/tree/dev/<file>#L28
👎 Actual Behavior with Screenshots

👟 Reproduction steps
add annotation source-location like this.
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: demo
  annotations:
    backstage.io/kubernetes-label-selector: 'app=backstage'
    backstage.io/techdocs-ref: dir:.
    argocd/app-name: backstage
    github.com/project-slug: test/ttt
    backstage.io/source-location: url:https://github.com/test/ttt/tree/dev
spec:
  type: service # required
  lifecycle: experimental
  owner: test
  system: examples
  providesApis: [example-grpc-api]

📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hm. Could you try with a slash at the end of the URL in backstage.io/source-location? Maybe it concatenates the paths wrong.

Adding a slash at the end worked for me. Thanks @freben.


ResourceIdentifier::fromArray returning null not being handled gracefully

If you need to fetch a relationship from a request, you would normally do it like this:
$resource = $jsonApi->getRequest()->getResourceToOneRelationship('spaceship');

This returns a ToOneRelationShip-object, if the relationship is found, or null if it is not.
The getResourceToOneRelationship method in the Request class looks like this
public function getResourceToOneRelationship($relationship)
    {
        $data = $this->getResource();
        if (isset($data["relationships"][$relationship]["data"]) === false) {
            return null;
        }
        return new ToOneRelationship(ResourceIdentifier::fromArray($data["relationships"][$relationship]["data"]));
    }

The last line calls the fromArray method. The problem is that the fromArray method does this check:
if (isset($array["type"]) === false || isset($array["id"]) === false) {
            return null;
        }

So an invalid relationship returns null, but the ToOneRelationship object gets created anyway. I think it would be clearer if getResourceToOneRelationship returned null in this case.
To catch the case where the input is malformed, you would have to write code like this with the current code:
 $resource = $jsonApi->getRequest()->getResourceToOneRelationship('spaceship');
        if (isset($resource)) {
           $resourceIdentifier = $resource->getResourceIdentifier();
            if ( isset($resourceIdentifier) ) {
                //get the id from the resourceIdentifier
            }
       }

If you don't, you will very likely get an Fatal Error in php.
I would propose that getResourceToOneRelationship was changed to make sure that ResourceIdentifier:fromArray considers the data valid, something like this:
public function getResourceToOneRelationship($relationship)
    {
        $data = $this->getResource();

        if (isset($data["relationships"][$relationship]["data"]) === false) {
            return null;
        }

        $resourceIdentifier = ResourceIdentifier::fromArray($data["relationships"][$relationship]["data"]);

        if (isset($resourceIdentifier) === false) {
            return null;
        }

        return new ToOneRelationship($resourceIdentifier);
    }

With this in place, getResourceToOneRelationship would return null if the relationship didn't exist, or one of the fields type or id was missing.
The getResourceToManyRelationship would need to be fixed too. I'm not 100% sure on how though. Skip non valid relationships? Return null from the method if one of the identifiers are invalid? Rise some kind of exception? Exceptions could perhaps be used in the getResourceToOneRelationship case too? Some kind of malformed input exception.
I didn't consider this fully thought through, so i didn't create a PR. What do you think about all this?

This functionality is required when you send null as the data for a relationship. In that case, you want to clear the relationship completely. I'm working on a few things related to that. I will create a PR soon.

Thank you very much for your work! I will come back from holiday on Sunday, so I can only deal with the issues early next week :)

I am closing this issue as I think I resolved it in this commit (https://github.com/woohoolabs/yin/commit/78c316db9d39cdb0bf9a4333c58339fb8e51dea6), but feel free to reopen it and tell me if you think otherwise!


refactor(AlgebraicTopology): using the cofan API for SplitSimplicialObject

This PR changes the definition of a splitting of simplicial objects. The new definition makes a better use of the cofan API. As a result, it is no longer necessary to assume that the category has finite coproducts.

[x] depends on: #8562

!bench

!bench

Thanks :tada:
bors merge


STEAD Data filtering

Thank you for your efforts to build the STEAD dataset. I also tried to use it for my analysis.
Regarding the STEAD dataset, I would like to ask whether this data is filtered or not?  From your following papers titled “A machine‐learning approach for earthquake magnitude estimation” and “Earthquake transformer—an attentive deep-learning model for simultaneous earthquake detection and phase picking”, the STEAD data is filtered by a band-pass filter using different frequency ranges of 1-40Hz and 1 - 45Hz. I would like to know why they use different frequency ranges?
Thanks

Hi, No, the dataset has been filtered between 1-45hz as you can see in the
STEAD paper.
There should be a mistake or typo in other papers otherwise the bandpass
filtering is the same.
Mostafa
On Tue, Apr 12, 2022 at 8:11 AM Wren @.***> wrote:

Thank you for your efforts to build the STEAD dataset. I also tried to use
it for my analysis.
Regarding the STEAD dataset, I would like to ask whether this data is
filtered or not? From your following papers titled “A machine‐learning
approach for earthquake magnitude estimation” and “Earthquake
transformer—an attentive deep-learning model for simultaneous earthquake
detection and phase picking”, the STEAD data is filtered by a band-pass
filter using different frequency ranges of 1-40Hz and 1 - 45Hz. We would
like to know why they use different frequency ranges?
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/smousavi05/STEAD/issues/12, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHWAPEIWGWW33TIJSOOELTVEWHDLANCNFSM5THUW5BQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Middleware

Description of the change
Adds middleware for all collectors. Two middlewares are added:

Metrics middleware -- collects metrics related to the scrape itself (specifically latency & request count).
Recovery middleware -- after #138, I added some recovery specifically in the client, which I think is still valuable, so that we can log json blobs which fail to unmarshal. But for the sake of reliability, we should really add a catch-all recover middleware. With this middleware, rather than panics cause a crash, they'll instead log, and return a 500 to prometheus.

Since I had to add a writer wrapper to collect the status code for requests, I went ahead and added it to the logger middleware we already had, too, as a QoL change.
Benefits

Prevents panic-crashes
Exports metrics about scrapes.

Possible drawbacks

Applicable issues

fixes #

Additional information

This is ready to go, but draft until #141 lands, so this is easier to review.


add and modify bg-BG

Hi, there is a problem with the branch, I think you don't make a pull before made the changes.


Preview of what typescript would feel like

Quick and dirty preview. Probably Handler<ReactNode> is not the best thing to do but the the idea is to showcase what writing in Typescript would feel like.

This looks pretty good @owais but honestly I don't have time enough to get familiar with TS, migrating components and keep up with all other stuff listed in the Roadmap. :( What we do need is someone officially responsible from maintaining the typings files. Thanks for the approach, again, it looks great but it's not the moment on my side :(


add run recent and go to cwd to command decoration menu

fix #170979

I think we decided to go with this change, correct @Tyriar ? I think you mentioned removing the category, but IMO it feels more organized to keep the related ones grouped.


Adding Member Age to Profile

FEATURE OVERVIEW
User Story
There are many occasions where a campaign lead needs a member's age for a wrap report, sponsor updates, the gala, conference, or social post. It would be great if member age could be part of their admin-facing profile.
Additional Information (optional)
This age will need to always consider the current date so it is not static.
Why This Matters
Will save campaign leads time.

Go to someplace like this: http://www.myagecalculator.com/

How feasible is this @angaither?

trés fanc, v ok.

YAY @angaither! Is this a small / medium / large? Maybe we try for next sprint?

@namimody @angaither when testing this, I found that the address validation seems to be triggered even though address isn't required. Wanted to flag for another bug/issue:

Issue created: #6317


Restore binary compatibility of ->>

Conjecture: none of these should be vals.

What's the purpose of this indirection, by the way?

That is an outstanding question.  The original DSL was lifted from Finagle, sometime early in the Mesozoic Era.  I can't remember whether this indirection was part of that.  It also might have been a binary compatibility trick from the days of 2.9.  Maybe we're exploiting it to get a singleton type on Root, but I can't think of a reason for the rest.

Well, Scala 2 apparently sees some virtue in it.

I think it has to be a val to be used as an extractor in Scala 2, but I haven't figured out how to make a val binary compatible yet.

Oh, is Http4sDsl2 a bincompat trait? Do we need another one?

We can pull ->> into org.http4s.dsl._ and it compiles and works, but then it won't be inherited from import org.http4s.dsl.io._.  The way we bundle request extractors and response generators has bitten us here.

Http4sDsl2 has two type parameters, in order to support http4s-directives.  @hamnis would have the most context on that.  I don't think it had anything to do with bincompat.

Seems I also left these out of RequestDsl - that one leaves all of the extractors abstract so definitely wouldn't be binary compatible.

Yeah, I just remembered that exists as I was fighting this.  We'll want to polish that up in main.  I'm still trying to figure out how we can salvage the feature for 0.22.

This seems to make mima happy:
trait RequestDslBinCompat extends RequestDsl {
  val ->> : impl.->>.type = impl.->>
}

object request extends RequestDslBinCompat {
  ...
}

trait Http4sDslBinCompat[F[_]] extends Http4sDsl[F] with RequestDslBinCompat

object io extends Http4sDslBinCompat[F[_]] {
  ...
}

object Http4sDsl {
  def apply[F[_]]: Http4sDsl[F] with RequestDslBinCompat = new Http4sDslBinCompat[F] {}
  ...
}

That last one breaks if you narrow Http4sDsl[F] with RequestDslBinCompat to Http4sDslBincompat[F[_]] - I don't have the slightest clue why one is ok and the other isn't, but mima isn't complaining.


Add SpringCloud Sleuth and Zipkin.

Motivation and Context
Add SpringCloud Sleuth and Zipkin

Add Call time metrics into Splunk for Python Services (3d)
https://github.com/ONSdigital/ras-collection-instrument/pull/126
https://github.com/ONSdigital/ras-party/pull/151
https://github.com/ONSdigital/ras-secure-message/pull/227
https://github.com/ONSdigital/response-operations-ui/pull/219
https://github.com/ONSdigital/ras-frontstage/pull/383
https://github.com/ONSdigital/rm-collection-exercise-service/pull/114
https://github.com/ONSdigital/rm-case-service/pull/71
https://github.com/ONSdigital/rm-actionexporter-service/pull/46
https://github.com/ONSdigital/iac-service/pull/20
https://github.com/ONSdigital/rm-sample-service/pull/74
https://github.com/ONSdigital/rm-notify-gateway/pull/44
https://github.com/ONSdigital/rm-sdx-gateway/pull/20
https://github.com/ONSdigital/ras-party/pull/155
https://github.com/ONSdigital/ras-rm-docker-dev/pull/80

 Add Call time metrics into Splunk for Java Services (1d)


x=r.size() and y=r.size() undefinded

Resolve this issue by replacing size() function to length in "jquery.jcarousellite.min.js". .size() is deprecated as of jQuery 1.8 and removed in jQuery 3.0 in favor of the .length property.

thanks


New package: HPGuppiDaq v0.1.0

Registering package: HPGuppiDaq
Repository: https://github.com/dkhimey/HPGuppiDaq
Created by: @dkhimey
Version: v0.1.0
Commit: 9747c9b25221406322a12fff01256c07120205f1
Git reference: master

@dkhimey please see the message above.  Once you fix the automerge issues you can register again the new revision without changing the version number and this pull request will be automatically updated.
[noblock]


PyBuilder modules use names import for modules which could be reloaded

So project.depends_on("pip", ">=7.1") into build.py always call pip update command. As a result we have runtime reload for pip modules: pip_common and pip_utils.
/src/main/python/pybuilder/plugins/python/install_dependencies_plugin.py
def __reload_pip(logger):
    logger.debug("Reloading PIP-related modules")
    modules_to_unload = []
    for module_name in sys.modules:
        if module_name.startswith("pip.") or module_name == "pip":
            modules_to_unload.append(module_name)

    for module_name in modules_to_unload:
        del sys.modules[module_name]

    from pybuilder import pip_utils, pip_common
    imp.reload(pip_common)
    imp.reload(pip_utils)

But into other modules we use name import from these modules. Which are not affected by reload command. For example for core.py we need to use:
# we cannot use "from ... import ..." statement for modules which could be reloaded
# see install_dependencies_plugin.__reload_pip
from pybuilder import pip_common

instead of basic
from pybuilder.pip_common import Version, InvalidVersion, SpecifierSet, InvalidSpecifier

In this case core will be affected by pip modules reload command.
I started new branch for this changes and if we will not have any objection will do corresponding changes.

https://github.com/AlexeySanko/pybuilder/tree/feature/pip_modules_reload_shoud_affect_others

@AlexeySanko this piece of code is actually tested every time there is a build and since builds don't fail it is known to work.
There are only a few code paths that are affected and the scenario this covers is when you have PIP version 6.x under 2.6.9 and as pybuilder builds itself it installs pip>=7.1 and has to refresh PIP's vendored pkg_resources post-install.

The core SHOULD be affected by PIP modules reload command. This is by design. reload reloads the module object in-place.
https://docs.python.org/3/library/importlib.html#importlib.reload

from https://docs.python.org/3/library/importlib.html#importlib.reload

If a module imports objects from another module using from ... import ..., calling reload() for the other module does not redefine the objects imported from it — one way around this is to re-execute the from statement, another is to use import and qualified names (module.name) instead.

So I have Python 2.7.3 and pip 9.0.1.
PyB always call pip update, reload it and try to call Version object from basic import (and fails with NoneException).

Ok, I misread what you said, sorry (if you could next time use links to code lines to reference the existing code). In your case it shouldn't matter at all. If you have Python 2.7.3 AND pip 9 then PIP wouldn't be updated at all, so module reload will be a NOOP, effectively.

@arcivanov
Hm... Into build.py we have project.depends_on("pip", ">=7.1")
And into https://github.com/pybuilder/pybuilder/issues/444 we discussed that this version will always call update (what I see into build). And as result - pip reload (because we do not compare versions and alwasy call reload if pip into dependencies update list).

So I have Python 2.7.3 and pip 9.0.1.

If you already have pip 9.0.1 it's the latest version. It'll reload exactly the same modules every time after running an update.

Yes. But memory links into existing object will be incorrect.

Existing objects will still be there, they are not "incorrect". Can you post your traceback please?

Tracebackof exception is very simple:
[ERROR] Test has error: pip_utils_tests.PipVersionTests.test_pip_dependency_version
Traceback (most recent call last):
  File "/media/sf_Ubuntu-01/AlexeySanko/pybuilder/src/unittest/python/pip_utils_tests.py", line 29, in test_pip_dependency_version
    self.assertEquals(pip_utils.build_dependency_version_string(core.Dependency("test", "1.2.3")), ">=1.2.3")
  File "src/main/python/pybuilder/core.py", line 236, in __init__
    version = ">=" + str(Version(version))
  File "/home/alexeysanko/venv_pybuilder/lib/python2.7/site-packages/pip/_vendor/packaging/version.py", line 210, in __init__
    match.group("pre_n"),
TypeError: 'NoneType' object is not callable

But if I add to watch "_parse_letter_version" method of Version class, I see that it's None (because we reload module).
For pip_common.Version class details sequently:
into core.py into init step:
Version = {type} <class 'pip._vendor.packaging.version.Version'>
 _regex = {SRE_Pattern} <_sre.SRE_Pattern object at 0x2473b10>
 base_version = {property} <property object at 0x243e0a8>
 is_postrelease = {property} <property object at 0x243e1b0>
 is_prerelease = {property} <property object at 0x243e158>
 local = {property} <property object at 0x243e100>
 public = {property} <property object at 0x243e050>

Into reload method before reload:
pip_common.Version = {type} <class 'pip._vendor.packaging.version.Version'>
 _regex = {SRE_Pattern} <_sre.SRE_Pattern object at 0x2473b10>
 base_version = {property} <property object at 0x243e0a8>
 is_postrelease = {property} <property object at 0x243e1b0>
 is_prerelease = {property} <property object at 0x243e158>
 local = {property} <property object at 0x243e100>
 public = {property} <property object at 0x243e050>

Into reload methos after reload:
pip_common.Version = {type} <class 'pip._vendor.packaging.version.Version'>
 _regex = {SRE_Pattern} <_sre.SRE_Pattern object at 0x2f18e80>
 base_version = {property} <property object at 0x2f5b628>
 is_postrelease = {property} <property object at 0x2f5b730>
 is_prerelease = {property} <property object at 0x2f5b6d8>
 local = {property} <property object at 0x2f5b680>
 public = {property} <property object at 0x2f5b5d0>

Into core when test called:
Version = {type} <class 'pip._vendor.packaging.version.Version'>
 _regex = {SRE_Pattern} <_sre.SRE_Pattern object at 0x2473b10>
 base_version = {property} <property object at 0x243e0a8>
 is_postrelease = {property} <property object at 0x243e1b0>
 is_prerelease = {property} <property object at 0x243e158>
 local = {property} <property object at 0x243e100>
 public = {property} <property object at 0x243e050>

As You can see properties of class has obsolete links.

Corresponding stackoverflow topic: http://stackoverflow.com/questions/1739924/python-reload-component-y-imported-with-from-x-import-y

The biggest problem - I see a lot of guides and books where named import was recommended (from ... import ...). But now I understand problems which this way can produce.

I understand the issue. :)
It comes back to my original question - do you already have PIP 9.0.1 or you're upgrading to PIP 9.0.1 from PIP 7.x?
This error does not occur in Travis.
How are you building PyBuilder?

So pip is 9.0.1 originally (I installed new virtualox week ago and installed pip 9.0.1 as basic.
Because into our cluster we use 2.7.3. And I didn't found any information that into Python 2.7 was fixed so big issue between 2.7.3 and 2.7.12 :(
(venv_pybuilder)alexeysanko@alexeysanko-VirtualBox:~/venv_pybuilder$ pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
alabaster (0.7.9)
Babel (2.3.4)
configparser (3.5.0)
coverage (4.2)
cram (0.7)
docutils (0.13.1)
enum34 (1.1.6)
flake8 (3.2.1)
funcsigs (1.0.2)
imagesize (0.7.1)
Jinja2 (2.8)
Mako (1.0.6)
Markdown (2.4.1)
MarkupSafe (0.23)
mccabe (0.5.3)
mock (2.0.0)
pbr (1.10.0)
pdoc (0.3.2)
pip (9.0.1)
py (1.4.32)
pyassert (0.4.2)
pycodestyle (2.2.0)
pyfix (0.2.3)
pyflakes (1.3.0)
Pygments (2.1.3)
pypandoc (1.3.3)
pytddmon (1.0.8)
pytest (3.0.5)
pytz (2016.10)
requests (2.12.4)
setuptools (32.2.0)
six (1.10.0)
snakefood (1.4)
snowballstemmer (1.2.1)
Sphinx (1.5.1)
tblib (1.3.0)
unittest-xml-reporting (2.1.0)
wheel (0.29.0)

I have no problem fixing it, please submit a PR. Thanks!

FYI: https://travis-ci.org/pybuilder/pybuilder/jobs/176628966


Prevent same file from being open in more than one editor (toggle)

There is a question about this on StackOverflow, but no answer given.

VSCode Version: 1.10.0-insider
OS Version: macOS 10.12.3

Steps to Reproduce:

Use any means to open a file, say Ctrl/Cmd+P, while the focus is in one of the editor groups
The file opens in that editor group
Move to any other editor group
Open same file, it is opened again, this time in the current editor group

While this behavior is not incorrect in any sense, it leads to proliferation of (same) files open which wastes memory, if not other resources. Honestly, I don't care about memory consumption, but mentally I am arranging files open (sometimes) to the left/right and would like the "stability" of the same file always being open in the same editor-group (I make sure that I open the file in question in the "appropriate" editor-group, I don't expect any kind of automatic placement).
It would be really nice if we'd have a toggle (boolean setting) which would toggle from current behavior (would be the default) and the one where however I open the file, if it's already open in an editor-group, it's simply focused there.
It might be naive, but I assume that this is a rather simple thing to implement.

https://github.com/Microsoft/vscode/issues/7049

@bpasero Sorry for the duplicate but the language in the previous issue did not match what I looked for at all 😄


Wrong PHP version?

Describe the Bug
https://www.bookstackapp.com/docs/admin/updates/#updating-to-v2302-or-higher & https://github.com/BookStackApp/BookStack/releases/tag/v23.02  mention PHP 8.0.2. Shouldn't that be PHP 8.2?
Steps to Reproduce

Go to https://github.com/BookStackApp/BookStack/releases/tag/v23.02
Read

Expected Behaviour
Mention of PHP 8.2
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
n/a
PHP Version
No response
Hosting Environment
n/a

never mind. my mistake. I didn't read the text well enough 🤓😎


Hide withdrawn auction NFTs in pcli view balance

Is your feature request related to a problem? Please describe.
pcli view balance currently filters out withdrawn liquidity positions by default; however, completed/withdrawn auction NFTs are not filtered out and considerably clutter the output.
Describe the solution you'd like
Similarly to LPs, completed/withdrawn auction NFTs should be hidden by default.

Closed #4826


[Improvement] Figma Alignment

This issue is to track alignment between the design system documentation and the design files in Figma.
At the time of this issue, the following categories needed to be addressed:

Figma missing designs, but present in Sage Docs
Figma and Sage Docs not aligning on naming
Sage Docs missing components, but present in Figma

Figma missing designs, but present in Sage Docs

[ ] - Billboard
[ ] - Chart legend
[ ] - Chart summary
[ ] - Copy text
[ ] - Description
[ ] - Dynamic select -> Menu/Dropdown ?
[ ] - Indicator
[ ] - Link
[ ] - Lists
[ ] - Meter
[ ] - Progress bar
[ ] - Property
[ ] - Search (Is this the same as "Assistant?")
[ ] - Card
[ ] - Data card
[ ] - Form section
[ ] - Icon list
[ ] - Input group
[ ] - Input helper
[ ] - Nav
[ ] - Panel figure
[ ] - Sortable
[ ] - Transaction card
[ ] - Typeahead

Figma and Sage Docs not aligning on naming (Figma -> Sage Docs)

[ ] - Card reveal -> Expandable card
[ ] - File upload -> upload card
[ ] - Form hint -> hint
[ ] - List heading -> panel controls
[ ] - Menu -> dropdown
[ ] - Beta feature switch - feature toggle

Sage Docs missing components, but present in Figma

[ ] - Collection item
[ ] - Content list
[ ] - Color picker
[ ] - Control list
[ ] - Date picker
[ ] - Pendo templates
[ ] - Upsells
[ ] - Icon card (nothing loads for this; no designs either)
[ ] - Status icon (nothing loads for this; no designs either)

@monicawheeler I added EPIC tag to this one as it might benefit from its own milestone.

From @samcroswell 's similar issue recently closed as a dupe:
https://github.com/Kajabi/sage-lib/issues/628#issue-944882549


handled term resize adapatively

This pull request is focused on dynamic ui.
I added a script to fetch the size of the terminal, and modified how should curses respond to the change.  This is a rough solution for now, but it beats a totally static term I think.
I'm not sure if this would work properly on a Mac OS X, as I only tested it with terminator on a 64bit trusty machine.
If you need pull request done in Chinese, I'll translate.

Umm it appears my change of README.md is also being merged, which is I don't intend. I'm fairly new to github, so bear with me if you can. How do I undo this? Thanks.

to undo, just commit a new commit to branch 20015jjw:master with reverted changes
You also better write sth like revert change to README.md in your commit log

@chaserhkj Thanks. It's done.

Just to point out, you attached vim .swp files in the commit, I don't think these're wanted files in a source repository.
Also, while modifying the readme back to original, are you sure you still want that gif demo image which is not referenced at all in any files in your commit?

@chaserhjk Let me clean it up. I can add these to gitignore, right? Thanks.

I noticed there's an update during this pull request? Do I need to do something?

@20015jjw Github reports that this pull request contains merge conflicts.
So you'd better merge the upstream updated codes and solve the conflicts, cleanup things yourself before we can merge this PR for you.

@chaserhkj Okay. So I should pull the updates and merge them myself, right? Thanks.

Okay now it can be merged. Here's what it looks like.

In Darwin , change the size of the program will Crash

@darknessomi Forgot to push xD. Now it's fixed.

Please keep right a little

if change the size too small will Crash

Thanks!

@darknessomi  which screen were you at before the crash? the song list seems fine.

@darknessomi okay. Mine only crashes in the help menu. Yours crash whenever the screen is too small? or just with the menu?

@20015jjw whenever the screen is too small ,all the menu will crash

Fixed.
Personally, I prefer to have the start of the menu at 1/10 of the term width. Now it is set to 1/5 as you asked. We can probably let the user to pick where they want to align the header of the player?

Thank Fixed. I think most people like to show UI in the centered

@darknessomi
If you think this works now, you can merge it. Having it always centered can be a bit tricky, so it may take some time.ok just open another PR when its dkne.

Anyway, dynamic ui is a big step,merged.
Thanks a lot ! 😃

Oh you might want to update the screenshot in README.md.
Thanks you for merging! It's my first PR on github!


[unsolved] Unpackerr is not finding any files

So I have configured the API keys for Lidarr etc. and mounted the downloads folder. Unpackerr is successfully connecting to Lidarr, but doesn't get any information about any downloads, nor does it detect the zip files and unpack them.
I am also not able to attach to the container with docker exec -it unpackerr /bin/bash for some reason. I also tried /bin/ash, but no luck either. It is not finding the path of the shell, which is weird.
File permissions are also correct.
Here is my compose file:
version: "3.7"
services:

  unpackerr:
    image: golift/unpackerr
    container_name: unpackerr
    volumes:
      - /data/downloads:/downloads
    restart: always
    user: 1000:1000
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin

      # General config
      - UN_DEBUG=false
      - UN_LOG_FILE=
      - UN_LOG_FILES=10
      - UN_LOG_FILE_MB=10
      - UN_INTERVAL=2m
      - UN_START_DELAY=1m
      - UN_RETRY_DELAY=5m
      - UN_MAX_RETRIES=3
      - UN_PARALLEL=1
      - UN_FILE_MODE=0644
      - UN_DIR_MODE=0755
      # Sonarr Config
      - UN_SONARR_0_URL=http://localhost:8989
      - UN_SONARR_0_API_KEY=somekey
      - UN_SONARR_0_PATHS_0=/downloads
      - UN_SONARR_0_PROTOCOLS=torrent
      - UN_SONARR_0_TIMEOUT=10s
      - UN_SONARR_0_DELETE_ORIG=false
      - UN_SONARR_0_DELETE_DELAY=5m
      # Radarr Config
      - UN_RADARR_0_URL=http://localhost:7878
      - UN_RADARR_0_API_KEY=somekey
      - UN_RADARR_0_PATHS_0=/downloads
      - UN_RADARR_0_PROTOCOLS=torrent
      - UN_RADARR_0_TIMEOUT=10s
      - UN_RADARR_0_DELETE_ORIG=false
      - UN_RADARR_0_DELETE_DELAY=5m
      # Lidarr Config
      - UN_LIDARR_0_URL=http://localhost:8686
      - UN_LIDARR_0_API_KEY=somekey
      - UN_LIDARR_0_PATHS_0=/downloads
      - UN_LIDARR_0_PROTOCOLS=torrent
      - UN_LIDARR_0_TIMEOUT=10s
      - UN_LIDARR_0_DELETE_ORIG=false
      - UN_LIDARR_0_DELETE_DELAY=5m
      # Folder Config
      - UN_FOLDER_0_PATH=/downloads
      - UN_FOLDER_0_EXTRACT_PATH=/downloads
      - UN_FOLDER_0_DELETE_AFTER=10m
      - UN_FOLDER_0_DELETE_ORIGINAL=false
      - UN_FOLDER_0_DELETE_FILES=false
      - UN_FOLDER_0_MOVE_BACK=false

    security_opt:
      - no-new-privileges:true

and the logs
2023/05/20 07:30:48 Unpackerr v0.11.2 Starting! PID: 1, UID: 1000, GID: 1000, Now: 2023-05-20 07:30:49 +0200 CEST
2023/05/20 07:30:48 ==> GoLift Discord: https://golift.io/discord <==
2023/05/20 07:30:48 ==> Startup Settings <==
2023/05/20 07:30:48  => Sonarr Config: 1 server: http://localhost:8989, apikey:true, timeout:10s, verify ssl:false, protos:torrent, syncthing: false, delete_orig: false, delete_delay: 5m0s, paths:["/downloads"]
2023/05/20 07:30:48  => Radarr Config: 1 server: http://localhost:7878, apikey:true, timeout:10s, verify ssl:false, protos:torrent, syncthing: false, delete_orig: false, delete_delay: 5m0s, paths:["/downloads"]
2023/05/20 07:30:48  => Lidarr Config: 1 server: http://localhost:8686, apikey:true, timeout:10s, verify ssl:false, protos:torrent, syncthing: false, delete_orig: false, delete_delay: 5m0s, paths:["/downloads"]
2023/05/20 07:30:48  => Readarr Config: 0 servers
2023/05/20 07:30:48  => Folder Config: 0 paths, event buffer: 20000
2023/05/20 07:30:48  => Using env variables only. Config file not found.
2023/05/20 07:30:48  => Parallel: 1
2023/05/20 07:30:48  => Passwords: 0 (rar/7z)
2023/05/20 07:30:48  => Interval: 2m
2023/05/20 07:30:48  => Start Delay: 1m
2023/05/20 07:30:48  => Retry Delay: 5m, max: 3
2023/05/20 07:30:48  => Debug / Quiet: false / false
2023/05/20 07:30:48  => Activity / Queues: false / 1m
2023/05/20 07:30:48  => Directory & File Modes: 0755 & 0644
2023/05/20 07:30:48  => Webhook Configs: 0 URLs
2023/05/20 07:30:48  => Command Hook Configs: 0 cmds
2023/05/20 07:30:48 [Lidarr] Updated (http://localhost:8686): 0 Items Queued, 0 Retrieved
2023/05/20 07:30:48 [Radarr] Updated (http://localhost:7878): 0 Items Queued, 0 Retrieved
2023/05/20 07:30:48 [Sonarr] Updated (http://localhost:8989): 0 Items Queued, 0 Retrieved
2023/05/20 07:31:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:31:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
2023/05/20 07:32:48 [Lidarr] Updated (http://localhost:8686): 0 Items Queued, 0 Retrieved
2023/05/20 07:32:48 [Radarr] Updated (http://localhost:7878): 0 Items Queued, 0 Retrieved
2023/05/20 07:32:48 [Sonarr] Updated (http://localhost:8989): 0 Items Queued, 0 Retrieved
2023/05/20 07:32:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:32:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
2023/05/20 07:33:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:33:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
2023/05/20 07:34:48 [Lidarr] Updated (http://localhost:8686): 0 Items Queued, 0 Retrieved
2023/05/20 07:34:48 [Radarr] Updated (http://localhost:7878): 0 Items Queued, 0 Retrieved
2023/05/20 07:34:48 [Sonarr] Updated (http://localhost:8989): 0 Items Queued, 0 Retrieved
2023/05/20 07:34:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:34:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
2023/05/20 07:35:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:35:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
2023/05/20 07:36:48 [Lidarr] Updated (http://localhost:8686): 0 Items Queued, 0 Retrieved
2023/05/20 07:36:48 [Radarr] Updated (http://localhost:7878): 0 Items Queued, 0 Retrieved
2023/05/20 07:36:48 [Sonarr] Updated (http://localhost:8989): 0 Items Queued, 0 Retrieved
2023/05/20 07:36:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:36:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
2023/05/20 07:37:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:37:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
2023/05/20 07:38:48 [Lidarr] Updated (http://localhost:8686): 0 Items Queued, 0 Retrieved
2023/05/20 07:38:48 [Radarr] Updated (http://localhost:7878): 0 Items Queued, 0 Retrieved
2023/05/20 07:38:48 [Sonarr] Updated (http://localhost:8989): 0 Items Queued, 0 Retrieved
2023/05/20 07:38:48 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
2023/05/20 07:38:48 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]

Seems to be working. What are you expecting to happen/show up?

Also, wait a minute, how does localhost work in a Docker container? hm, that URL isn't right..

Well, I was hoping that it would find and unpack the zip files in the download directory, so they can be grabbed by Lidarr. The localhost is just a placeholder. I actually have the real host name in its place.
Maybe I am understanding this service wrong.

I was hoping that it would find and unpack the zip files in the download directory,

It picks up things in the Starr app queues. According to the output, there's nothing in the Lidarr queue. Do you see something in the queue in the GUI?

Yeah, there are things in the download queue if you mean that. After the download the zip files are lying in the folder and are not being grabbed. Unpackerr doesn’t recognize any of that though.

Well, I was hoping that it would find and unpack the zip files in the download directory, so they can be grabbed by Lidarr. The localhost is just a placeholder. I actually have the real host name in its place. Maybe I am understanding this service wrong.

If you are not using the *arr applications, you don't need to have them in the config.
Also, I think I understand your problem, since I am facing it as well:
There are archives in the watch folder. The archives are not added to the queue and as a consequence are not unpacked.

HI @Mladia thanks for helping out. In your case, Unpackerr only sees "new" items in the watch folder. TO make old things new, simply rename them. The easiest way is to make a new folder (after you start unpackerr) in the watch folder, and them move everything you want extracted into that folder. Once unpackerr is done, move the extracted items back, or to wherever you want them. If you till need assistance, please crack open a new issue, or join me on Discord.
@jclsn I feel like we're miscommunication. Can you go into Lidarr, click on Activity and then Queue. The things in this list are what Unpackerr will attempt to extract. According to the logs, the Lidarr that is being checked has nothing in that queue. Can you share a screenshot?

Hi @davidnewhall. Thanks for your reply! I understand now and it worked.
My initial understanding was that all archives in the watch folder will be unpacked. It turns out, that unpackerr looks for new folders in the watch folder with zips in them. I find this unintuitive, but I still understand that probably the most common use-case fits exactly into this scenario.

Sorry, I lost interest for a while. No idea what I am doing wrong. Lidarr is downloading the files and they are immediately removed from the queue, although they have never been unpacked or grabbed. I really don't understand how this works.

Well, I thought to grab means to move the files from the download folder to my music root folder. This never happens. The zip files just remain in the download folder and nothing is ever imported. Unpackerr also doesn't see anything in the queue.

Yeah, all the files land in the history immediately and then never get imported. So I guess the first point is the case. I don't see any settings on what to tell Lidarr to import. Seems like it can't import zip files. I thought unpackerr would come into play here.

Yeah, all the files land in the history immediately and then never get imported.

Screenshot. This doesn't make sense and if a release is showing in Lidarr history as imported then Lidarr is matching and importing music files in the folder.

First entries are the tracks getting imported. Everything after that is only zip files, which never get moved anywhere.

Nothing in that screenshot indicates Lidarris importing anything - all of those cloud icons are grabs.
That means one of the following must be true:

your download client is removing the downloads from queue which is not compatible with Lidarr nor Unpackerr using Starr

you or a third party app are changing the category of the download in the client so it is no longer in lidarr's download client category

Okay, it may have something to do with that I am not using torrents directly. I am sending them to a service which then downloads them via aria2 to the download folder. Then the starr apps monitor that folder and usually import well. Here it doesn't work for some reason. I wouldn't know how the download client would remove the files from the queue though.

I feel like we're poorly communicating. Can you go into Lidarr, click on Activity and then Queue. The things in this list are what Unpackerr will attempt to extract. According to the logs, the Lidarr that is being checked has nothing in that queue. Can you share a screenshot?

Again as captains aid originally - if nothing is in Starr's queue then unpackerr will never have anything to unpack.
If you're using a blackhole client then they should still show in Starr Queue.
I'd suggest visiting Lidarr's Discord for further support with nothing is ever showing in Lidarr's queue even with show unknown enabled.

I would be happy if unpackerr would just blindly unzip everything in the folder. That shouldn't be related to Lidarr at all

Extracting everything wouldn't solve the problem because by the time Unpackerr finishes extracting, Lidarr has already decided it's done caring about the thing.

Actually it does solve the problem, as I mentioned above: After extracting the files land in the queue again and get imported.

Your Lidarr works very differently than mine. Not sure what to make of it.

Your Lidarr works very differently than mine. Not sure what to make of it.

it's 100% related to the blackhole client.....but the fact the blackhole client isn't detecting anything at all is the oddity to solve.  it may not be looking for archived files to be honest.
but given Arira2 is natively supported in lidarr, hopefully jclsn can remove the blackhole client - which isn't recommended anyway :/ - from the equation

Ah, well best of luck with everything then.
Debrid is unfortunately rather toxic to the torrent community as it is 100% leeching....Usenet would be better route for Debrid users who cannot for whatever reason seed.

I guess that is up to the Debrid service providers.
Anyway, how can I get unpackerr to blindly extract things?

I guess that is up to the Debrid service providers.
Anyway, how can I get unpackerr to blindly extract things? This is my current configuration and it doesn't work.
### Unpackerr docker-compose.yml Example
### See this URL for variable descriptions and options:
### https://github.com/Unpackerr/unpackerr#docker-env-variables
##################################################################
version: "3.7"
services:

  unpackerr:
    image: golift/unpackerr
    container_name: unpackerr
    volumes:
      - /data/aria2/downloads:/downloads
    restart: always
    user: 1000:1000
    environment:
      - TZ=Europe/Berlin

      # General config
      - UN_DEBUG=false
      - UN_LOG_FILE=
      - UN_LOG_FILES=10
      - UN_LOG_FILE_MB=10
      - UN_INTERVAL=2m
      - UN_START_DELAY=1m
      - UN_RETRY_DELAY=5m
      - UN_MAX_RETRIES=3
      - UN_PARALLEL=1
      - UN_FILE_MODE=0644
      - UN_DIR_MODE=0755

      # Folder Config
      - UN_FOLDER_0_PATH=/downloads
      - UN_FOLDER_0_DELETE_AFTER=10m
      - UN_FOLDER_0_DELETE_ORIGINAL=false
      - UN_FOLDER_0_DELETE_FILES=false
      - UN_FOLDER_0_MOVE_BACK=false

    security_opt:
      - no-new-privileges:true

Does it not support zip files?

maybe because it's because of no-new-privileges:true https://unpackerr.zip/docs/install/compose/#more-notes ?


Error -11, -9

Hi,
I have trouble to decompress my protobuf data within a netcore v2 project. I haven't tested if this problem is related to protobuf encoded data only but when I use the same stream in combination with deflate, everything works fine.
I have tested the default quality (which is 11 as far as I know, and 3). By using the quality level 11 I get a -11 error and with a quality level of 3 I get a -9 error.
Compressing the data seems to work well.
Decompress:
//using (var decomressor = new BrotliStream(source, CompressionMode.Decompress)) using (var decomressor = new DeflateStream(source, CompressionMode.Decompress)) {     return Serializer.Deserialize<T>(decomressor); }
Compress:
//using (var compressor= new BrotliStream(destination, CompressionMode.Compress)) using (var compressor = new DeflateStream(destination, CompressionMode.Compress)) {    //compressor.SetQuality(3);    Serializer.Serialize(compressor, data); }
Sorry for the bad format of the code.
I have attached the 2 brotli compressed files with quality level 3 and 11.
files.zip

Thanks for those sample files, the bug has now been fixed.


Revise netlify.toml example

This is extremely minor, but the initial netlify.toml example confused me a bit because I didn't realize that it was using a netlify variable; I thought I needed to replace something with a variable from my own configuration.  I made a very minor edit to the docs to clarify.

Thanks


Server for issuing credentials

Implement a frontend and backend servers for issuers to provide VCs to holders based upon credible process process and demonstration.
Aim to use the following crates:

actix-web: for backend handling http requests
yew: for frontend

Proposed structure within trustchain as:
[workspace]
members = [
    "trustchain-core",
    "trustchain-ion",
    #...
    "trustchain-issuer-backend",
    "trustchain-issuer-frontend",
    #...
]

Consider using simple static frontend over yew such as with this example.

Next steps.

Next steps for initial http server:

[ ] Split handlers module into three separate modules for HTTP, issuing and verifying
[ ] Confirm the three traits for defining initial API: TrustchainHTTP, TrustchainIssuerHTTP, TrustchainVerifierHTTP
[ ] Make structs that can implement the traits and can be used in place of handlers: TrustchainHTTPHandler, TrustchainIssuerHTTPHandler, TrustchainVerifierHTTPHandler
[ ] Move free functions and methods to these structs/traits
[ ] Use structs in main server binary
[ ] Implement missing functionality for DID and DID chain resolution so any DID can be passed
[ ] Implement tests throughout crate

Additional areas considered today (@lukehare):

[x] Implement query params with root event time included in the GET request for the chain endpoint (77a0ac3068817bfb2442cf31c5540b75c64ded2a)
[ ] Move fn serve() from integration test to lib
[ ] Add middleware to validate requests before handling

[x] DID length
[ ] DID format

[ ] Implement resolve_bundle() and corresponding handler

Updated next steps:

Resolver (LH):

Add doc comments for resolver module
Add failing resolver tests
Add verifier bundle fetch_bundle method test with the test server address available, retrieve graceful version

Consider trait implementation for Router to provide more flexible app route construction (SG)
Issuer (SG):

To merge 55-issuer-backend-traits-issuer-todo into 55-issuer-backend-traits once tests finished

Verifier (discuss Friday):
Merge in latest from 55-issuer-backend-traits
Implementation endpoint and trait
Add unit tests


Unexpected behaviour: @dragStart fires for unrelated groups

I've been chasing down a bug for the last few weeks, and have just located it to Smooth DnD.
I have two sets of draggable groups, each with different group-name properties. Each component has its own @dragStart (and @dragEnd) handlers. I had logically expected that each handler would only be fired for the group it's in, but have just discovered that they fire for ANY drag in ALL groups.
This is undesirable, as it means all groups' handlers fire, even if not connected with the group! In my case, this is setting values in the store, etc, etc.
I've built a demo here:

https://codesandbox.io/s/zwz23y4l6m

Is this a bug, or by design?

Looking into this a bit more, I wondered if maybe isSource is meant to help here?
I updated the demo to provide some more styling.
I'm not sure if this would help here, and even if it did, there would probably need to be some acrobatics to get the group names to do any comparison.
Unless this is a design decision, I'm guessing that changing the behaviour now could be construed as "breaking changes". Though we are at a < 1.0 version, so this could be OK?
Another option would be to pass a groupName parameter through as well, then the user could decide what to do.
I guess this hinges on whether this is "as-designed" or a bug.

So it turns out the solution is to use the willAcceptDrop property of the event:
    onDragStart({ isSource, willAcceptDrop }) {
      if (willAcceptDrop) {
        this.isSource = isSource;
        this.isDragging = true;
      }
    },

Demo here:

https://codesandbox.io/s/n9o6xl9p50

Thanks @kutlugsahin !


Remove some bits about user authentication from the admin manual

This whole admin manual belongs to a museum I think. What if we just deleted the whole thing?

Thanks for the quick reviews! I'll roll a release today.

I don't know, I'm not necessarily against deleting this. But you read it through now: any good information not yet elswhere? Maybe those should be moved to a new location then. Where? Normal manual? Website? Or not useful information left here?

The kiterc section is necessary and fairly clear. But some parts are somewhat confusing ("As a rule of thumb it is recommended to plan at least with 10 times of the storage capacity of the original data. So if you have 100 GB data to analyse in LynxKite have at least 500 GB set aside for permanent storage." [1]) or clearly outdated ("LynxKite runs on any modern Linux distributions. We recommend using Ubuntu Server 14.04 LTS or CentOS/Redhat 6.7, because LynxKite has been tested on those systems." [2]).
On one hand it's nice that we have a section on cluster sizing that we can point people to if they need it. On the other hand I would really hope nobody reads these sections. 😸  I think these were mostly written with an internal audience in mind. For the open-source version we could just delete them. If someone needs to size a cluster, it depends on so many factors anyway. It's best if they just ask us.
I'll make another PR with a lot of deletions and we can discuss what to keep there.


Images broken in (1.2) spec

Images aren't displaying on the 1.2-DRAFT introduction page https://www.researchobject.org/ro-crate-2024/specification/1.2-DRAFT/introduction.html.

It seems either the links are not properly built or the resources are not properly placed, because the built link points to https://www.researchobject.org/ro-crate-2024/specification/assets/img/crate1-folders.svg instead of https://www.researchobject.org/ro-crate-2024/assets/img/crate1-folders.svg


Error in definition of GO:0004356 (glutamate-ammonia ligase activity)

Current definition is:
Glutamate-ammonia ligases catalyze the reaction: L-glutamate + ATP + NH(4)(+) = L-glutamine + ADP + 2 H(+) + phosphate
[Xref is to EC:<IP_ADDRESS>]
I think "NH(4)" should be "NH(3)"?

Indeed the EC definition is catalysis of the reaction ATP + L-glutamate + NH(3) <=> ADP + phosphate + L-glutamine (https://enzyme.expasy.org/EC/<IP_ADDRESS>) but at pH7.3 ammonia is protonated. NH(4)+. (This issue of conforming either to EC or to reality must have come up and been resolved in the past.)

But @ukemi points out that these ionization state issues are resolved computationally in GO so fixing the definition isn't needed.

I can change the textual definition, but behind the scenes, the ionization states are ignored in the ontology. At some point this could be revisited, but @deustp01 points out the issue in this ticket. The literature and usage is often not accurate, so we opted to gloss it over.

OK, whatever you think best - not a big issue.  Just noticed the discrepancy between the GO def and the EC reaction and thought I'd report it.

I will change this to make it consistent with EC. Eventually it would be nice if we could use the Rhea reactions as the definitive definitions. We will discuss this strategy in May.

But Rhea reactions are meticulously constructed to show charge states at pH 7.3, so there's not a good fit with GO's charge-agnostic view (with hidden workaround to compensate for lack of charge-agnostic parent terms in ChEBI). That's not an objection, and the difference can probably be sorted out with some kind of mapping - just one more chore.


install_ansible_roles.sh not present in the repository

I cannot deploy the machine because that file is not in the repository

Hi @darwinrc ,
I just updated the README.md file. You only have to execute:
ansible-galaxy install -f -p ./roles -r roles.yml

Let me know if it works ok.

Good day @jeqo It worked well. Thanks for your quick response! I'm proceeding to close the issue.


[Release v1.14.0-alpha.0] Update cmd/cmctl's go.mod to v1.14.0-alpha.0

This PR cmd/cmctl's go.mod to v1.14.0-alpha.0 as part of the release process.
To the reviewer: the version changes in go.mod must be reviewed.
NONE

/lgtm
Dependencies in go.mod are bumped or removed.

/approve


add GPU-aware SoA implementation

based of https://github.com/JuliaArrays/StructsOfArrays.jl

I typically avoid checking in the Manifest (and that is part of the reason why StructArrays is not a package in itself).
I have a cut down Manifest in-place for the test-env that are used by CI, which mostly avoids the churn of having to update them regularly.

No problem. For some reason I thought it was needed, I'll remove that commit.

Besides the GPU support, what are the advantages/disadvantages of the StructsOfArrays approach compared with the StructArrays.jl package?

Besides GPU support the big difference is that this implementation supports automatic recursive unpacking and currently handle's singleton types. (eg. structs with no fields).
StructArrays uses a function to determine to which level you are unpacking and also provides getfield overloading to access the underlying arrays with the fieldnames of a struct.


[es] Add index rollover mode that can choose day and hour

Which problem is this PR solving?

Resolves #2933
Replace https://github.com/jaegertracing/jaeger/pull/2935

Short description of the changes

Add a parameter index-rollover-frequency, default is day mode, will not affect existing usage
Minimize changes to ensure compatibility with previous code

Parameter config of collector ingester query  (SPAN_STORAGE_TYPE=elasticsearch)
--es-archive.index-rollover-frequency string                     Rotates Jaeger indices over the given period. For example "day" creates "jaeger-span-yyyy-HH-dd" every day after UTC 12AM. Valid options: [hour, day]. Jaeger also support Elasticsearch ILM to manage indices, reference(https://www.jaegertracing.io/docs/deployment/#elasticsearch-ilm-support) (default "day")
--es.index-rollover-frequency string                             Rotates Jaeger indices over the given period. For example "day" creates "jaeger-span-yyyy-HH-dd" every day after UTC 12AM. Valid options: [hour, day]. Jaeger also support Elasticsearch ILM to manage indices, reference(https://www.jaegertracing.io/docs/deployment/#elasticsearch-ilm-support) (default "day")

Hi @albertteoh
Sorry for the trouble with you. I have recreated a new PR that repair the signoff issue (here), let us discuss on here

please do not create PRs from master branch of your fork (this is the reason CI is failing). Always use a named branch.

please do not create PRs from master branch of your fork (this is the reason CI is failing). Always use a named branch.

ok, I see, thank you!
I recreate a new PR for replacement this, let us switch to that.


feat: Add query-tables method

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?

Adds method to query tables with LINQ filter

Why should this Pull Request be merged?

Queries are useful 😄

What testing has been done?

Added integration test that exercises all parameters

It could be nice to have tests for integer and boolean filter substitutions too. Such as supportsAppend == @0 and rowCount < @1

Added more filters to the test


textNoResults prop is not working

I'm trying to pass custom textNoResults property to GooglePlacesSuggest component, but no results placeholder remains unchanged.  Also, I can't find textNoResult usages in src/components/List/index.js.

Thanks for reporting this. I will resolve this soon

@bogdaniy Did you try textNoResults instead of textNoResult ?

@bogdaniy I just release a v3.1.0 that fix the problem


animated bids logo

Hey! I had teaching myself how to animate SVGs on my bucket list, and got around to do it today. I practiced with the BIDS logo. Since this repo here contains the logos, I thought to leave a note - if you want to have an animated version of the logo, feel free to take it. Its not spectacular, but it exists :smile:
https://github.com/adswa/animated-bids-logo/blob/master/bids-animated.webm

Thanks @adswa!! It looks beautiful!!

Love it!!
Should we add a link to this in logo README: https://github.com/bids-standard/bids-specification/tree/master/BIDS_logo ?

Nice! Thanks a lot :)

@adswa do you want to make a PR to add the animated version to https://github.com/bids-standard/bids-specification/tree/master/BIDS_logo, including an update to the README? :-)

Sure, I would be happy to!


Window and dialog focus issues

M1 Mac mini running latest Big Sur.
Two focus issues:

When the app is started, most of the time it does not bring its window to the front. It's hidden behind other windows. And it is so fast (!!) that I don't see the app icon bounce in the dock and wonder if it really started.
when I select check for updates, the dialog appears, but, again, is not in front of other windows, including NewNewsWire itself. I have to go looking for it.

How are you launching NNW? From the dock or some other way? Do you have any window management software installed that we might need to take into consideration?

Fascinating. the problem appears related to the fact that I am of the habit of using a Keyboard Maestro macro to activate the Keyboard Maestro Application Switcher to launch NNW. I assign the macro to a hotkey (F8) and then invoke the hotkey by mapping it to a button on my Logitech MX Anywhere mouse using LogiOptions software. When I launch NNW in this manner, the window does not always appear at the front, although sometimes it does. The same problem occurs if I just use the hotkey directly instead of the mouse mapping, however.
I also launch other applications using this method, and I have not noticed this problem, but I could have missed it. I'll pay attention, now. NNW probably gets launched more frequently, because I tend to close it when I am done with it, while with other applications I tend to leave them open for days.
In the Keyboard Maestro macro, I do invoke the Application Switcher, select "Display in icon grid"; and "Place switcher under mouse". The Keyboard Maestro Application Switcher can launch programs as well, if you include them in the "Always include these applications:" list.
If I instead invoke NNW using Alfred, it does appear at the front.

I'm not sure what we can do to help you. We launch just like every other Mac application. If you find some way that we can accommodate your workflow, please reopen this issue.


Updated AoeChecker to Core, also updated OGCDdowntime for 50 kenki spender

see title.
short and sweet PR. now I just hope meditate won't break in 5.2

Alright, so updated on this PR. the shoha rework has been rolled in due to my mess up with branch checkouts from today's early issue with graphs.


KAFKA-18026: KIP-1112, document new config and update the Streams upgrade guide

This PR covers all the docs for KIP-1112, including the new config and a note about the new APIs in the 4.0 section of the upgrade guide.
This also fixes/updates some unrelated parts of the upgrade guide that were out-of-date, such as the broker compatibility matrix

@ableegoldman Could you please take a look at the screenshot above? It seems we are missing some cells in the table.

@ableegoldman, I merged an update to the compatibility matrix with the missing 3.8.x and 3.9.x entries.
https://github.com/apache/kafka/pull/17937

dammit Bruno 😠
(@cadonna just kidding, no worries)

@ableegoldman Could you please take a look at the screenshot above? It seems we are missing some cells in the table.

@chia7712 do you mean that some cells are literally non-existent, or are you referring to the ones that are just empty? I'll assume it's the latter, because I was confused about the empty cells at first too when I was working on this, but I realized they are intentional. If it doesn't explicitly say "compatible" (ie is empty), then it's not compatible.
Personally I think just writing "incompatible" for these cells would convey the information much better. I can include that in this PR if others agree /cc @cadonna @mjsax

Personally I think just writing "incompatible" for these cells would convey the information much better.

yes, I prefer to write them down explicitly :)

@chia7712 filed a ticket for the incompatible cells cleanup: https://issues.apache.org/jira/browse/KAFKA-18195

@chia7712 filed a ticket for the incompatible cells cleanup: https://issues.apache.org/jira/browse/KAFKA-18195

Create a PR for it: https://github.com/apache/kafka/pull/18258


Be able to control the rendering order of UI screens on the same layer

At the moment, there doesn't seem to be a way of controlling the order of rendering of multiple UI screens. Typical usecases are things like popup windows that would overlay over the standard HUD.
Currently the workaround is to use a separate layer or have the notion of sub screens (that are image groups) on a single UI screen in the scene.

@jpauloruschel @yaustar A very quick solution is to determine render order of UI on the same layer with their order on the hierarchy panel. So the one on the top of the hierarchy will be rendered on top.
eg. hud 2d will always be overlaying world 3d screen and within hud 2d, time bar will be rendered over score

It doesn't quite work like that for the UI.
By default, the UI elements for a UI screen are rendered in the 'downward' order of the elements in the hierarchy. So on HUD - 2D Screen where it's a UI screen, Time Bar is rendered first for the screen, then it's children and last would be Score.
This works okay for the most part as elements should be contained by the screen.
However, for screens, developers may have them in different places in the hierarchy for organisation or because they are created/loaded dynamically so ordering them is a fiddly at runtime.
What we could do is to use what the cameras do and add a priority property so they render in that order instead

Another idea after discussing with Jasper, we could have a ScreenGroup component where all the child screens are rendered in the order of the hierarchy depth in the graph (similar to child elements under a screen component)

At the moment, the order of rendering seems to be in the order that the screens were created (last one is on top) which means dynamically created screens (eg from Templates) would always be on top

Another idea after discussing with Jasper, we could have a ScreenGroup component where all the child screens are rendered in the order of the hierarchy depth in the graph (similar to child elements under a screen component)

I think this particular wouldn't be ideal because it would still mean users would not be able to organize their scenes as they want (as you mentioned in your previous comment).

At the moment, the order of rendering seems to be in the order that the screens were created (last one is on top) which means dynamically created screens (eg from Templates) would always be on top

Interesting finding! I'll look into this.
I do like the idea of a priority attribute which is used to sort the screens before rendering.

I do like the idea of a priority attribute which is used to sort the screens before rendering.

The downside of this is that it's hard to see the order of rendering in the Editor because this is only shown on each Entity.
However, this could be mitigated by having screen space rendering UI done correctly on the Camera Preview or a separate view for Screen space UI at Editor time.

Priority attribute on Screen is now merged, and will be available for use in the next Editor release. Closing ticket.


WIP - Remove deprecated ScrollBehavior.buildViewportChrome

This removes ScrollBehavior.buildViewportChrome
This deprecated class has reached end of life after the release of Flutter 3.3

The replacement is to use ScrollBehavior.buildOverscrollIndicator instead.
✅  Migration via dart fix supported
🕐 This API was deprecated in

https://github.com/flutter/flutter/pull/78588, tagged v2.1

Part of https://github.com/flutter/flutter/issues/111708
For the full list of deprecations being removed in this batch, see flutter.dev/go/deprecations-removed-after-3-3
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Running internal testing to validate this is ready.

Customers are migrated and ready


why SystemWebViewEngine.goback() can't not fire when backbutton click

why SystemWebViewEngine.goback() can't not fire when backbutton click

it's working fine for me, might be a problem with your router or the way you handle the navigation, hard to tell as you didn't provide any information.


The usage examples don't work.

Running just this:
`import { render } from 'datocms-structured-text-to-html-string';
render({
schema: 'dast',
document: {
type: 'root',
children: [
{
type: 'paragraph',
children: [
{
type: 'span',
value: 'Hello world!',
},
],
},
],
},
}); `
Results in this error: RenderError: Don't know how to render a node with type "undefined". Please specify a custom renderRule for it!

Docs are wrong. It expects the document object, not the value returned by Dato.
This works:

render({
    type: 'root',
    children: [
      {
        type: 'paragraph',
        children: [
          {
            type: 'span',
            value: 'Hello world!',
          },
        ],
      },
    ]
});```

Thanks for noticing! The latest package version fixes this issue!

Hey, just ran into this.
data is the object I care about returned in my graphql query.
This does NOT work:
render(data)
But this DOES:
render(data.about.value.document)
Can I avoid this traversing, or must the render function only be applied to the document key?

Hi, can you please paste the value contained in the data variable? thanks!


Publish more examples of API usage/HTML widgets

In order to promote the flexibility of the API, encourage users to add more examples. Should some additional made-up pretty examples be created, to get the ball rolling?

Perhaps there are some widget creators who could adapt current widgets to use Meddelare as their backend?

Closing due to Meddelare project shutdown (https://github.com/meddelare/meddelare-superproject/issues/8).


display at iphone 5/SE 10.3.1 with new cart widget inline=true

Describe the bug
I know it's kinda retro model, just letting you know that the cart model does not fit to 320px width screen

Have a good day!
Andrzej Helio
To Reproduce
I used the latest version from 17/6/2024
System
iphone 5/SE 10.3.1

Thanks @helua! This has been fixed.


Add multi-plugin testing

Using scenario files' initializePlugin action it would be possible to load multiple plugins and test them together (allowing testing the inter-plugin calls).
However, it should still be possible to use the Checker in the classic single-plugin way, using the -p parameter.

Note: The simulator currently has a single sandbox for the plugin; this will need extending, so that separate plugins don't overwrite each other's globals.

Can't we create a new Simulator for each plugin? Also, we could even make it so cPluginManager:CallPlugin works :)

The Simulator contains everything - hook registrations, command handlers, worlds, players etc., so it'd be easier to have multiple sandboxes in a single Simulator. And yes, making cPluginManager:CallPlugin() work is the main intent of this issue.
I see it as low priority, though. First we want to be able to test plugins as best as we can.


python2 code in python3 install

Hi, I've installed 2016.03.4-np110py35_1 using "conda install -c https://conda.anaconda.org/rdkit rdkit" for Ubuntu. When i run this within python 3:
from rdkit import Chem from rdkit.Chem import Draw m = Chem.MolFromSmiles('Cn1cnc2c1c(=O)n(c(=O)n2C)C') Draw.MolToFile(m, '/home/brian/eurotiomycetes_jgi/smi_test.svg')
I get:
`AttributeError                            Traceback (most recent call last)
 in ()
2 from rdkit.Chem import Draw
3 m = Chem.MolFromSmiles('Cn1cnc2c1c(=O)n(c(=O)n2C)C')
----> 4 Draw.MolToFile(m, '/home/brian/eurotiomycetes_jgi/smi_test.svg')
/home/brian/anaconda3/lib/python3.5/site-packages/rdkit/Chem/Draw/init.py in MolToFile(mol, fileName, size, kekulize, wedgeBonds, imageType, fitImage, options, **kwargs)
165     options.radicalSymbol = '.' #<- the sping canvas doesn't support unicode well
166     canvas = Canvas(size=size,name=fileName,imageType=imageType)
--> 167   drawer = MolDrawing(canvas=canvas,drawingOptions=options)
168   if kekulize:
169     from rdkit import Chem
/home/brian/anaconda3/lib/python3.5/site-packages/rdkit/Chem/Draw/MolDrawing.py in init(self, canvas, drawingOptions)
97                                     (0,canvas.size[1])),
98                                    color=self.drawingOptions.bgColor,
---> 99                                    fill=True,stroke=False)
100
101
/home/brian/anaconda3/lib/python3.5/site-packages/rdkit/Chem/Draw/spingCanvas.py in addCanvasPolygon(self, ps, color, fill, stroke, **kwargs)
90     else:
91       fillColor = color
---> 92     self.canvas.drawPolygon(ps,edgeColor=edgeColor,edgeWidth=int(edgeWidth),fillColor=fillColor,closed=1)
93
94   def addCanvasDashedWedge(self,p1,p2,p3,dash=(2,2),color=(0,0,0),
/home/brian/anaconda3/lib/python3.5/site-packages/rdkit/sping/SVG/pidSVG.py in drawPolygon(self, pointlist, edgeColor, edgeWidth, fillColor, closed, dash, **kwargs)
346     # draw it
347     outStr = '<svg:polygon %s %s points="%s">'%(fillStr,edgeStr,pointStr)
--> 348     if kwargs.has_key('bodyText'):
349       outStr+=kwargs['bodyText']
350     outStr += '/svg:polygon\n'
AttributeError: 'dict' object has no attribute 'has_key'`
It seems that pidSVG.py has python 2 code in it.

Though this is certainly a bug, I'd recommend that you use the new drawing code to generate SVGs.
The docs are unfortunately out of date on this one, but you can see examples of how to use it here:
http://rdkit.blogspot.ch/2016/04/changes-in-201603-release-improvements.html
Search for "prepareMol"

Submitted a pull requests for this: #1132 Replace has_key use in Python (#issue1042)

This issue can be closed now.


24 hour

Hi there.
Is there a way to get a 24h time format instead of am/pm ?
Thanks

Yes this is possible. Either by setting locale to a country-code which uses typacally the 24h time format e.g. 'de' or by setting timeFomat to a string respectively the desired format: HH:mm:ss

yeap worked.
thanks
;)


DAG tooltips can appear over footer

Describe the bug
When reviewing DAG behavior for a CWL workflow I noted that the tooltips appeared to be showing up on the bottom of screen over the footer.
To Reproduce
Steps to reproduce the behavior:

Go to https://dockstore.org/workflows/github.com/ICGC-TCGA-PanCancer/OxoG-Dockstore-Tools/pcawg-oxog-full-workflow:master?tab=dag
Mouseover nodes in the DAG
Scroll down to footer
See tooltip items covering footer

Expected behavior
The tooltips should be visible near the mouse pointer and should go away onmouseout.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: xubuntu 22.04.2
Browser firefox
Version 111.0.1 (64-bit)

Additional context
Affects both current prod and QA
[Domain] - https://qa.dockstore.org
Webservice - fb9ebdf
UI - 2.10.1-107-ga76609e6
Compose Setup - 6f68328
Deploy - 1.13.2-31-g140c057
cwlParsingLambdaVersion: n/a
wdlParsingLambdaVersion: n/a
nextflowParsingLambdaVersion: n/a
galaxyParsingLambdaVersion: 0.0.6
checkUrlLambdaVersion: n/a
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.14.x
┆Issue Number: DOCK-2365
┆Sprint: 112 - Jialing
┆Issue Type: Story

Hmmmm, doesn't seem to be occurring anymore in Firefox 113.0.1 either way.
Well, re-open if there is a regression


Inertia matrix

How can I insert values of inertia matrix of a MAV for minimum snap trajectory generation ? And what are the default values of the inertia matrix which it is taking for calculation of minimum snap trajectory ?

@Pravin854 The inertia matrix is not used when calculating the minimum snap trajectory


libx264 bad codec?

I have this command in one of my script:
wf-recorder -c libx264 -g "$REGION" -f "$OUTPUT" &

When I record and send the file on socials (e.g. telegram), some friends say they can't read the video. And on X/Twitter it is even worse, it tells something like "error uploading".
Do you have the same issue with this codec which usually works fine everywhere? Could it be an issue with wf-recorder ?

Ok I think I understand the problem, If I run wf-recorder in a terminal and use CTRL-c it works but what I'm trying to accomplish here is writing a "toggle" script, if wf-recorder runs in the background I kill it or else I execute it.
The killing part must be too brutal (using pkill -SIGTERM -x "wf-recorder"), Not sure how I could simulate ctrl-c on a thread, anyone knows?

SIGINT is what you are looking for.

yes, libx264 is in fact, a bad codec :trollface:

But it should handle SIGTERM and SIGHUP as well. See this line. However this is a scripting issue, not a wf-recorder issue, so closing.

I don't understand it still doesn't work, here's my screen:
#!/bin/bash

# Check if wf-recorder is already running
if pgrep -x "wf-recorder" >/dev/null; then
  # Gracefully stop the currently running recording using SIGINT
  pkill -SIGINT -x "wf-recorder"
else
  OUTPUT="$HOME/Videos/screencast_$(date +%Y-%m-%d_%H-%M-%S).mp4"
  REGION=$(slurp)

  # Check if slurp was canceled or failed (exit status 1)
  if [ $? -ne 0 ]; then
    exit 1
  fi

  wf-recorder --audio=alsa_output.pci-0000_08_00.6.analog-stereo.monitor -c libx264 -g "$REGION" -f "$OUTPUT"
fi

What's wrong?

Something I forgot to mention is that I execute the script using a keymap registered in wayfire.ini:
binding_4 = <ctrl> <alt> KEY_L
command_4 = ~/bin/cycle-layout.sh

Not sure if that's what cause the issue or not.

@soreau Are you 100% sure it is not a problem with wf-recorder sending SIGINT to wf-recorder will kill the process and I have a video file which appears to work in some places like YouTube but not x.com, however using ctrl-c on wf-recorder will work. Could it be a problem with the way wf-recorder handles signals and forward them to ffmpeg ?

@soreau Are you 100% sure it is not a problem with wf-recorder ? Sending SIGINT to wf-recorder will kill the process and I have a video file which appears to work in some places like YouTube but not x.com, however using ctrl-c on wf-recorder will work. Could it be a problem with the way wf-recorder handles signals and forward them to ffmpeg ?

C^c sends the same signal. if you send SIGINT via pkill, the same behavior should occur when using C^c

@kernaltrap8 ok thanks, I think my problem is with the --audio (I could swear I had no problem with it in the past), so I'll have to figure out which codec to use with this parameter.
Thanks for your help

@vdegenne Codec support can be spotty. Many people report that videos sometimes do not play depending on browser, app, etc. It is not a bug in wf-recorder but just poor support in the ecosystem. See for example #222 #198 #202

I'm running into the same issue with my libx264 videos playing fine on my linux desktop but not on my iPhone or iPad (in the browser). It appears that this is based on the metdata setting "major_brand" which is set to isom by default. I can't figure out a way to pass a new brand through wl-recorder so I use ffmpeg directly on the file after it is created like so... ffmpeg -i in.mp4 -brand mp42 out.mp4

@tannerellen Yes in my case I kept having issues uploading to X. So what I ended up doing was to convert the file produced by wf-recorder using this ffmpeg command:
ffmpeg -i "$FILE" -c:v libx264 -crf 20 -preset slow -vf format=yuv420p -c:a aac -movflags
 +faststart "$OUTPUT"

(source: https://stackoverflow.com/questions/59056863/i-cant-upload-this-video-file-mp4-to-twitter)
I wish I didn't have to use this extra step, but I couldn't find any other way.

If I remove -vf format=yuv420p in the above command it fails again. @ammen99 Is there any way to pass that argument to wf-recorder directly?

@soreau I use 0.4.0 and the default produces a choppy video file I don't know why, that's why I am using libx264

I recommend you try latest from git with default options.

@soreau Awesome! It works like a charm now :smiley:  Thanks for the help every time.
(By the way I am on Fedora here, I don't know who's responsible for updating the packages, but wayfire and associated packages are always at an older version.)


How MikroORM Detects Changes

Imagine there are two instances (A & B) of the same application running Mikro-ORM and connected to the same database. How would Mikro-ORM detect changes for a mapped entity on instance A when an update to an entity with the same ID is flushed on instance B?

Identity map is request based, there is no need to detect changes like that. We use transactions to ensure integrity.

Be sure to check out this page:
https://mikro-orm.io/docs/transactions#optimistic-locking

Thanks. I found the following article about Identity Map and Request Context to be pretty helpful as well in this regards.
https://mikro-orm.io/docs/identity-map/


v5 extension detection

#4303
#4302  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


Give more infos in case the VAT nr. is not registered in VIES database

Could be nice to extend the message to give more info and a link to custoemr to verify in the VIES database why their VAT number are not accepted

Questions
Answers

Description?
Extend VAT not found message

Type?
improvement

BC breaks?
no

Deprecations?
no

Ping @Julievrz , what did you think of this wording improvement ?

Ping @Julievrz , what did you think of this wording improvement ?

I think this wording improvement is a good idea because the customer will understand better how to solve the issue. Do you confirm? @LouiseBonnard

I agree with you, @Julievrz! But is the VIES system an international database or does it only apply to European countries?

Seems to be for EU only https://ec.europa.eu/taxation_customs/vies/help.html?locale=en

Yep, and it might affect the localization of this message... so I suggest 1/ not mentioning it or 2/ adding that it applies to European registrations only.

Yep, and it might affect the localization of this message... so I suggest 1/ not mentioning it or 2/ adding that it applies to European registrations only.

I like the second option 👍

Yep, and it might affect the localization of this message... so I suggest 1/ not mentioning it or 2/ adding that it applies to European registrations only.

based on my past FIX (https://github.com/PrestaShop/vatnumber/pull/14) that the VIES check works only for European addresses, the message will not appear to an american customer.


CCDB GE/012 - Section <IP_ADDRESS>.3

Para 85
Comment:
"… key confirmation have been implemented correctly":  Subsequently tests are proposed. However, beyond test there seem to be no demands. What about source-code or design analysis? Many aspects cannot be addressed merely through test-vectors, not even with extensive testing.
Proposal:
Priority:

CC EAL4 and above requires source code review through the ADV_IMP (i.e. implementation of TOE development assurance). NIAP's PP compliance approach only requires the assurance level 1, and it heavily relies on black-box testing and not the white-box analysis. Para 85 aligns with the NIST test method for key confirmation. I think we can close this comment without any change.

I would agree, since this does not include that SAR.

Closed based on not having an EAL that requires source code review.


Using $this in route clousure?

I notice that we cannot $this like in Slim 3 in the current version of Expressive
$app->route('/hello/{name}', function ($request, $response, $next) {
    $container = $this->getContainer();
    $name = $request->getAttribute('name');
    $response->getBody()->write('Hello, ' . $name);
    return $response;
});

I will get an an error for that above. I have to pass in $app via use which is not as neat as Slim:
$app->route('/hello/{name}', function ($request, $response, $next)  use ($app) {
    $container = $app->getContainer();
    $name = $request->getAttribute('name');
    $response->getBody()->write('Hello, ' . $name);
    return $response;
});

Would you make that possible in the future versions?

What error did you receive? Are you using PHP 5.5+?

I get this error:
Fatal error: Using $this when not in object context in C:...\public\index.php on line..
And I am on PHP5.6

It looks like Slim binds the closure to the $app instance and this is not happening in Expressive at the moment.

I would do that $callable = $callable->bindTo($this->container); if I were ...

Thx @xtreamwayz
TBH I don't like the Slim way. It's too magic for me guess what $this means. Also remember me all the nightmares this has on JavaScript.

Well, this is PHP.
It's too magic for me guess what $this means
Only Python does it right! ;)

Same here. When you add use (app) you know exactly where it comes from. Besides that, for Slim it's more useful than for Expressive since Slim has a lot of proxy methods in it $app class for the router and container.

This is not a feature I want to enable.
One goal for Expressive is to also encourage best practices. This means using dependency injection, not pulling dependencies from the container within your middleware. If you will be using closures, then you should be passing the app, container, or the actual dependency explicitly; this makes understanding where the instances came from traceable.
As @xtreamwayz notes, the Application class in Expressive has very little utility beyond registering middleware or retrieving the container; it makes more sense to pass the container explicitly to a closure.