text:
plainToClass conversion throwing TypeError: newValue_1.push is not a function

I am using Angular2 and while converting my jSon to object facing the error
Uncaught TypeError: newValue_1.push is not a function
at http://localhost:4200/vendor.bundle.js:105285:36
at Array.forEach (native)
at TransformOperationExecutor.transform (http://localhost:4200/vendor.bundle.js:105277:19)
at _loop_1 (http://localhost:4200/vendor.bundle.js:105400:45)
at TransformOperationExecutor.transform (http://localhost:4200/vendor.bundle.js:105423:17)
at http://localhost:4200/vendor.bundle.js:105280:41
The JSON I am using is :
[{
"name": "LegalStructure",
"id": 1,
"values": [{
"id": 2,
"name": "Besloten Vennootschap"
}, {
"id": 3,
"name": "Naamloze Vennootschap"
}]
}, {
"name": "AddressType",
"id": 9,
"values": [{
"id": 10,
"name": "Registered Address"
}, {
"id": 11,
"name": "Office Address"
}, {
"id": 12,
"name": "Home Address"
}]
}]
and the class to which I am converting is
import {Type} from 'class-transformer';
/**

Model for dropdown name and corresponding array of values of ApplicationValue type.

@author pankaj.khurana@vernuso.com (Pankaj Khurana)
*/
export class ApplicationType {
id: number;
name: string;
@Type(() => ApplicationValue)
values: Array;
}

/**

This signifies the value populated in the dropdown and its corresponding id.
As this class cannot stand alone, thereby making it a part of ApplicationType only.

@author pankaj.khurana@vernuso.com (Pankaj Khurana)
*/
export class ApplicationValue {
id: number;
value: string;
}

Please suggest if I am missing something.

Try this
export class ApplicationType {
   id: number;
  name: string;
  @Type(() => ApplicationValue)
  values: ApplicationValue[];
}

Thanks, it worked with this way!
But dont we have array support in this API yet?
On Fri, Feb 24, 2017 at 11:35 PM, Anatoly Shirokov <notifications@github.com

wrote:

Try this
export class ApplicationType {
id: number;
name: string;
@Type(() => ApplicationValue)
values: ApplicationValue[];
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pleerock/class-transformer/issues/49#issuecomment-282360957,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOWM31Sln9RR5exKzZMvVrrdCdSh93b4ks5rfxvegaJpZM4MLeh0
.

Generics are not reflected by TypeScript yet, it resolves just to Array, no information about ApplicationValue.

Hi all!
I am closing this as answered/solved, please feel free to continue the discussion if it's not the case.

repo: pleerock/class-transformer


text:
create a site

this project needs separate site with good documentation and navigation over it

Hi. I can help. Can we discuss it somewhere. VK, Telegram?

Hey, do you have a skype? If yes send your login to my email

If you dont use skype I think we can create a slack for typeorm

okay I I have created both slack team and a gitter room, you can join there / or chat me a private message. But best if you have a skype, I'am always available there

source: gharchive/issue

authors: infloop pleerock

repo: pleerock/typeorm

license: MIT

license_type: permissive

license_source: github-api


text:
Remove jQuery dependency

I am integrating this plugin in an angular app. I need to create a wrapper to make this work without changing the original code, but it turns out that we need a lot of workarounds.
Below is an example of a supposed "simple" application-specific wrapper:
module.directive( "maskMoneyEnabled", function( $parse ) {
	return {
		require: "ngModel",
		restrict: "A",
		link: function( scope, element, attrs, ngModelController ) {
			var options = {
				prefix: "R$ ",
				precision: 2,
				thousands: ".",
				decimal: ","
			};

			var mask;

			attrs.$observe( "maskMoneyEnabled", function initialize( enabledAttribute ) {
				var enabled = $parse( enabledAttribute )( scope );
				if ( !enabled ) {
					return;
				}
				mask = element.maskMoney( options );

				// github.com/plentz/jquery-maskmoney/issues/171#issuecomment-104038258
				mask.maskMoney( "mask" );
			});

			// github.com/angular-ui/ui-utils/commit/36cd714ba14196163c04eda8fc40666f140df324
			var modelViewValue = false;
			attrs.$observe( "modelViewValue", function( val ) {
				modelViewValue = val === "true";
			});
			scope.$watch( attrs.ngModel, function( val ) {
				if ( modelViewValue && val ) {
					var value = ngModelController.$viewValue;

					value = value.split( options.prefix ).join( "" );

					ngModelController.$setViewValue( value );
				}

				if ( mask ) {
					// 1. github.com/plentz/jquery-maskmoney/issues/176
					// 2. Need to trigger inside the model watch in order to prevent a race-condition that removes the input value
					mask.triggerHandler( "blur.maskMoney" );
				}
			});
		}
	};
});

Used as:
<input mask-money-enabled="true" ng-model="model.value">

If the jQuery dependency is removed and the algorithm for controlling the input is decoupled from the DOM manipulation, it would be easier to adapt such routine not just in angular, but in any other app. Also, it would reduce the overhead of one more dependency to be worried about.
Something similar has been done for jquery cookie a few weeks ago for the very same reason. In that case it was not necessary to decouple some responsibilities, but just the jQuery dependency removal made it easy to integrate with anything in a per-application basis.
Integration and separation of concerns might be something to think about in order to increase reusability.

@FagnerMartinsBrack I really like the idea, but right now I can't do it. It also could help to improve the code, since it was originally written by another guy and I've improved it little by little over time. I think that a major rethinking could be very helpful and almost necessary.

authors: FagnerMartinsBrack plentz

repo: plentz/jquery-maskmoney

license: mit

license_source: bigquery


text:
Allow 'upsert' in updateOne options

AFAIK, the mongodb client supports updateOne upsert.
However, at the moment upsert is explicitly excluded from updateOne options.  I am not sure why this is.
It would be useful if it were allowed, since it is the only upsert method returns whether or not the record was updated or inserted.

Papr has a separate upsert method.

Unfortunately the separate upsert method doesn't have the return type I am looking for (upserted / updated count).  It just returns a before or after doc

authors: avaly tom-thorne

repo: plexinc/papr


text:
Compiling for linux aarch64: can't load BiBTeX.so

I'm trying to make an aarch64 docker image containing Biber. Since no binary is provided, I tried to compile it myself. But I got the following error message while running Build test.
Can't load '/usr/local/lib/aarch64-linux-gnu/perl/5.34.0/auto/Text/BibTeX/BibTeX.so' for module Text::BibTeX: libbtparse.so: cannot open shared object file: No such file or directory at /usr/lib/aarch64-linux-gnu/perl-base/DynaLoader.pm line 187.
But the file /usr/local/lib/aarch64-linux-gnu/perl/5.34.0/auto/Text/BibTeX/BibTeX.so is there already. I'm not familiar with how Perl handle things.
Not completely related, but is it possible to provide a binary for linux aarch64?
Thank you!

Alright, the problem was resolved by installing libbtparse-dev via apt.

repo: plk/biber


text:
Trigger cannot convert bigint

id is a bigint.
In trigger function :
local id = 1
row.id = id
Error : raw datum expected ... got number
bigint case is not handled in https://github.com/pllua/pllua/blob/cc66c7da8b7adc2b279327c7193a14f785347c77/plluaapi.c#L998

now should work

authors: eugwne golgote

repo: pllua/pllua


text:
Git related ploomber placeholders not respected

Since only the python package is copied in the Docker image, any placeholder that relies on .git folder trigger an error.
For example the following will fail at runtime when executed on AWS Batch
    name: products
    product:
        nb: 'products/{{now}}_{{git_hash}}/

* {{git_hash}}: Ensure git is installed and git repository exists

One suggestion would be to pass those as build variables to the Docker image and expose them as env vars even in the absence of a repo, since they tend to be quite commonly used to track experiments and partition products based on.

thanks for your feedback! I agree this is important.
I think we could have soopervisor extract the git_hash value (and other placeholder values) and put them in a special file (e.g. .ploomber_placeholders.json), then have ploomber look them up from there. this way {{git_hash}} will work the same when running in ploomber and in soopervisor. thoughts?
this would imply changes to soopervisor and ploomber. I cannot promise a date since we are a small team, so let me know if you'd be interested in helping with this. happy to guide you through the contribution process.

That is one possibility @edublancas but do you think we could override those with env vars instead. So if no env var called "git_hash" exists then do the parsing logic, if it exists use the env var, that way we can just change the Docker build process and have it injected at that time, also allowing people to have custom logic, I'm actually taking this path as a temp fix for what we're currently doing

Ok, I thought a bit more about this. I think there are two problems here.
The first one is regarding environment variables, I'd rather have an explicit expression for reading environment variables. For example:
# pipeline.yaml
name: products
product:
    nb: 'products/{{now}}_{{env["git_hash"]}}'

Then, calling env[something] would read from os.environ; this would be a Ploomber feature.
Now, regarding soopervisor. There's an option in soopervisor.yaml that allows you to include/exclude specific files or directories from the Docker file. Currently, the .git directory is hardcoded to be excluded, hence, {{git_hash}} breaks.
However, we could easily fix this (without introducing any new parameters with something like this:
# soopervisor.yaml
include: [.git]

This would explicitly tell soopervisor to copy the .git directory, hence, {{git_hash}} will work.
thoughts?

I agree with both of those.
Just to clarify on the second comment, the include currently doesn't work as the hardcoded exclusion seems to happen after it right? I think any after hardcoded exclusions both for the .git folder as well as things to respect .gitignore should happen before the explicit includes, so then those can be overriden like the way you suggested.

authors: edublancas feribg

repo: ploomber/soopervisor


text:
🛑 Dick Pluim.com is down

In e9cd544, Dick Pluim.com (https://dickpluim.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in 14d4a72 after 10 minutes.


text:
🛑 Dick Pluim.com is down

In bb2a38b, Dick Pluim.com (https://dickpluim.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in f734a70 after 10 minutes.


text:
🛑 KCG is down

In 84991a4, KCG (https://kunstrijclubgroningen.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KCG is back up in 27d2509 after 15 minutes.


text:
🛑 KCG is down

In ee0013a, KCG (https://kunstrijclubgroningen.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KCG is back up in 13963a7 after 9 minutes.


text:
🛑 KCG is down

In 177cb30, KCG (https://kunstrijclubgroningen.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KCG is back up in e8ff4da after 9 minutes.


text:
🛑 My Grafana dashboard is down

In c361d93, My Grafana dashboard (https://$UPPTIME_GRAFANA) was down:

HTTP code: 502
Response time: 452 ms

Resolved: My Grafana dashboard is back up in b30a28b.


text:
'Resizer' only refers to a type, but is being used as a value here.ts(2693)

Description of the bug
it seems there is a problem with Resizer function
To Reproduce
create an empty react project using this command:
yarn create react-app --template typescript
and then import the "Resizer" function
Expected behavior
it should work
Screenshots

Library versions used
"@react-three/postprocessing": "^2.14.12",
"three": "^0.153.0",

Desktop

OS: window 10

Resizer was renamed to Resolution a long time ago. Resizer shouldn't be used anymore.

authors: amir-khoshbakht vanruesc

repo: pmndrs/postprocessing

license: Zlib


text:
Microsoft Graph v1.0: teams user app list

The teams user app list command uses a beta endpoint that is now in v1.0.
https://github.com/pnp/cli-microsoft365/blob/266fd8d68e2a71a9c3d8d58d5c133916193f99b9/src/m365/teams/commands/user/user-app-list.ts#L42
List apps installed for user: https://docs.microsoft.com/en-us/graph/api/userteamwork-list-installedapps?view=graph-rest-1.0&tabs=http#example-1-list-apps-installed-for-the-specified-user

I would like to take this.
Could you please assign to me?

Appreciate your help @dips365 👏

authors: dips365 garrytrinder waldekmastykarz


text:
PnP Provision Template Site title missing??? HELP

Converting this to an issue as seems to be a problem between versions of PnP.PowerShell
Discussed in https://github.com/pnp/powershell/discussions/2121

Originally posted by cstaylor80 July  9, 2022
Hi I'm going out of brain at the moment. I have installed the latest version from pnp to powershell which i wanted to clone a team's site (group and non group enabled) which works fine. I then go to apply this template to another site with all the settings and while it does do it.. the destination site title in the header is missing?????. I have tried everything and exhausted google and have come up with nothing to make this work. The title is there in the site information however its NOT displayed on the home page of the site? why?
As mentioned I have uninstalled via PowerShell PnP and installed the current release and still the same problem?. is there something I am missing here?
any help would be great as I need to find a way to display the current site name which has disappeared.

@LeonArmston - Can you please open an issue using the template so we keep things clean. I'm converting this back to a discussion and you can add your (new) issue as a reference for the wider audience. Thanks

authors: LeonArmston veronicageek

repo: pnp/powershell


text:
[BUG] Incorrect Example in Get-PnPFolderItem docs

Reporting an Issue or Missing Feature
One of the examples in the Get-PnPFolderItem documentation uses an incorrect parameter.
Get-PnPFolder -Identity "Shared Documents" | Get-PnPFolderItem -ItemType File
Expected behavior
The example should include the correct and allowed parameters for the Get-PnPFolder command.
Actual behavior
The example fails with the following error:

Steps to reproduce behavior
Refer to the Get-PnPFolderItem documentation and review example 6:
https://pnp.github.io/powershell/cmdlets/Get-PnPFolderItem.html#example-6
What is the version of the Cmdlet module you are running?
2.10.0
Which operating system/environment are you running PnP PowerShell on?

[X] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Thanks @Saurabh7019 for raising this. Have fixed the example, should be updated in few mins !


text:
[BUG] Invoke-PnPSiteTemplate: Could not load file or assembly 'OfficeDevPnP.Core, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Trying to run Invoke-PnPSiteTemplate, am getting the above error.
Expected behavior
Template to be applied to the connected site
Actual behavior
Returns the error:
Could not load file or assembly 'OfficeDevPnP.Core, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Steps to reproduce behavior
Running Invoke-PnPSiteTemplate with a valid XML template
What is the version of the Cmdlet module you are running?
0.3.8
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

There seems to be some interesting mixup of assemblies ongoing here. The cmdlets in 0.3.8 do not use OfficeDevPnP.Core but use the PnP.Framework.k OfficeDevPnP.Core is an assembly used in the legacy version. Do you by any change have the legacy version of PnP PowerShell still installed? (SharePointPnPPowerShellOnline). If so, please uninstall that one first and then try again?
Uninstall-Module -Name SharePointPnPPowerShellOnline -AllVersions -Force

If after uninstall/cleaning up PowerShell the issue still occurs, can you share your template here?

Hi @erwinvanhunen - I think I've found the common denominator - it's only throwing this error when trying to apply a .pnp OpenXML template. The same template but in the original XML structure works fine.
The Convert-PnPSiteTemplateToMarkdown cmdlet throws the same error against .pnp files.

Also, I forgot to answer your Q @erwinvanhunen:
I had indeed run Uninstall-Module, however only after I installed pnp.powershell with AllowClobber, at first I got errors about the same cmdlets already existing, even though I couldn't locate them, and even subsequent runs of Uninstall-Module said the module couldn't be found.
I eventually manually removed the old modules from my filesystem manually after finding them hanging around in Program Files.
This scenario has probably left my system in a weird state that might not resolve itself until a reboot or something.

interesting! I can actually reproduce it using a .pnp file. Going to work on a fix.

authors: erwinvanhunen jimmywim


text:
ListView: Export to Excel/CSV

Category
[X] Enhancement
[ ] Bug
[X] Question
Version
Please specify what version of the library you are using: [2.0]
Question
Is there still a need for this functionality? #224

Thanks!

I think that make more sense create a abstract control from icontextualMenuitem that get items context from ListView control and there you can throw the JS handler  output "data:text/csv;charset=utf-8,"+ items and not button, in my opinion not very "modern".

I agree that we could have some abstraction of "CommandBar", similarly to CommandBar component.
And we also could provide some default actions in this command bar, like export to Excel (maybe, using xlsx).
But I would definitely discuss the implementation first.

authors: AJIXuMuK Abderahman88 aaclage

repo: pnp/sp-dev-fx-controls-react


text:
Updates the Personal Calendar web part to use MGT React. Closes partially #452

Updates the Personal Calendar web part to use MGT React. Closes partially #452
Category

[ ] Bug Fix
[ ] New Feature
Related issues: partially #452

What's in this Pull Request?
Updates the Personal Calendar web part to use Microsoft Graph Toolkit React

@waldekmastykarz generally the PR looks excellent. Seeing the code simplify is what we want.
Would you please try adding a page that includes both the updated personal tasks and this PR. When I have one page with both new webparts, I am seeing an error:
Original error: Failed to execute 'define' on 'CustomElementRegistry': the name "mgt-flyout" has already been used with this registry
My guess is how this has to be registered in the code, the toolkit is doing something off?
In the meantime I will be submitting a commit that includes updated documentation for how to build this webpart with the library.

@eoverfield that's odd. I've tested the updated web part with hosted workbench and haven't seen this issue. Let me have another look to see if I can reproduce it.

@waldekmastykarz I went ahead and merged this into master as I also included updated documentation for building the webpart with considerations for the library component. If you are able to duplicate the bug with having multiple mgr driven webparts on the same page, and provide a fix, would you please submit a new PR? Thanks for the outstanding work.

Will do. Thank you! Looking back at your comment, I missed that the issue occurs with both web parts on the page. Thank you for clarifying it. I'll have a look at it and will definitely submit a PR if when I find out what's wrong.

Hey @eoverfield, I can repro the issue and I suspect it's coming from Microsoft Graph Toolkit. I'll create an issue there and hopefully we'll be able to get it fixed clearly. I'll post an update here as soon as I know more.

Sitrep: we've identified the problem and are working on integrating the solution with MGT. Once the work is complete, we'll update the docs and will submit a PR here to patch the packages.

Just checking in to see if there's been any progress on this @waldekmastykarz ?

Just checking in to see if there's been any progress on this @waldekmastykarz ?

Yes, together with the MGT team we're working on a solution. We should have it available shortly.

Yes, together with the MGT team we're working on a solution. We should have it available shortly.

This is great news! I have some shelved changesets with MGT components already... and I can try and find some time to update and test the solution.

source: gharchive/pull-request

authors: bcameron1231 eoverfield waldekmastykarz

repo: pnp/sp-starter-kit


text:
Add supports local path to main.go

Now, only supports remote repository file...

does this solve?
https://github.com/moby/buildkit/blob/master/client/llb/source.go#L247


text:
(Bug) Unable to start deployment with low gas prise

Steps for reproduce:

Open Wizard https://wizard.poa.network/
Click button "New crowdsale"
Click button "Continue"
4.Fill out "Name", "Ticker", "Decimals"(I used decimals=12)  with correct data
Click button "Continue"
Fill out ""Rate", "Supply" with correct data (others fields by default)
Set checkbox GasPrice=Safe and Cheap (2 GWei). Click button "Continue"

Expected result : deployment should start or any warning should be present
Actual result: nothing happens, button "Continue" just non-clickable
The same results if gasprice less than 19.
If you are reporting a problem with Token Wizard, please include the following information:
Which network did you use? (Mainnet, Kovan, Rinkeby, etc.)
Kovan, Sokol, Rinkeby
If you were able to create it, what is the URL of your crowdsale?
n/a
Do you have screenshots showing the problem?
https://drive.google.com/open?id=17aU7s6V4Y48YnHQ442BiABBhn4Q0eeRp
Do you see errors in the dev console? If yes, please include a screenshot
To open the dev console in Google Chrome, press F12, or go to View -> Developer -> Developer Tools, and open the Console tab
If you see errors, please right click on them and "Save as..". Zip saved file and attach it to the Issue.
No

This is a regression bug, I'll fix it ASAP.

repo: poanetwork/token-wizard


text:
ハイライト

ほしい

ここ1時間以上空いてるよねみたいなやつ

two way filter氏ーーーー働いてくだされーーーー

時刻をうまく扱えるように表示する内容を考えたい

repo: pocke/ryotei


text:
does it work in react native?

I have a project in react native and I would like to test it

The JavaScript SDK is implemented on top of axios, so it should work in browser and node environments (including react native).
Unfortunately, @linktohack has reported an issue with node.js environments in #3 but I still haven't got the time to investigate it more thoroughly.

The node.js issue is fixed in v0.1.2 release. See the Installation section for more details how to load the SDK.

authors: Brunowilliang ganigeorgiev

repo: pocketbase/js-sdk


text:
Feature Request: Telegram Auth Provider

https://core.telegram.org/widgets/login

PocketBase supports only OAuth2 (with the PKCE flow when possible) for external auth providers.
Unfortunetelly Telegram doesn't seem to support OAuth2 at all or at least I can't find anything about it in the API documentation (only the legacy OAuth is mentioned).

authors: ganigeorgiev safazi

repo: pocketbase/pocketbase


text:
[Epic] Financial expenses for organizators and admins

Is your feature request related to a problem? Please describe.
Currently organizators of campaigns have no way of adding and getting reports approved in any way. Everything is done manually. We need a way for organizers to create and admins then approve a certain expense, which then will be shown to the user on the campaign page.
Describe the solution you'd like
We should have a:

Organizer panel/page where they can create and see all the added expenses and in the future other functionality regarding the campaigns they organize.
View for the admin to be able to approve the submitted by the organizer financial reports.
A way to show to the regular users the currently approved expenses and how the campaign's resources have been used to achieve the goal

Linked issues

[x] https://github.com/podkrepi-bg/frontend/issues/1362
[x] https://github.com/podkrepi-bg/frontend/issues/1363
[x] https://github.com/podkrepi-bg/frontend/issues/1364
[x] https://github.com/podkrepi-bg/api/issues/446

Additional context

The listed tickets are closed now. So we can close this project.
There are enhancements and bugs in other tickets, but we can close this.

repo: podkrepi-bg/frontend


text:
feat(afit): replace async-trait with AFIT

An attempt to migrate poem to AFIT.
The current obstacle is there are some type errors come from trait object of Future and I don't know how to resolve it at present.
@sunli829 encouraged me to create this draft PR.

About the macro trait-make: it's a fork of trait-variant which can convert async fn in trait to fn -> impl Future + Send in place.

released in poem 3.0.0

repo: poem-web/poem


text:
question about AUSE metric.

Hi,
In the code, in line the errors are not normalized (commented out). I was wondering why this is and if the metrics reported in the paper were reported without normalization.
Thank you!

Hi,
We know that AUSE computes the correlation between the uncertainty estimates and the predictive errors. The AUSE results shown in the tables of the paper were reported without normalization. The reason beyond this is that we believe that AUSE without normalization can not only measure the quality of uncertainty estimation, but also reveal the prediction quality of the reconstructed images. And we believe the latter is equally important and could make the comparison more comprehensive and reasonable.
Actually, as their exact AUSE values are too small, for better illustration, we simply divide them by the same max predictive error of the errors from these methods. This is exactly what we show in Table 2 and Table 3 of the paper.
In addition, in the Supplementary Materials, we also show the comparing results for AUSE with normalization in Fig.6
Best,
S.

@lilygoli Hi，Can you reproduce the results on Table 2 ?

Yeah I think I was able to get close AUSE RMSE for LF dataset as reported on disparity. However you might need to retrain a few times.

@lilygoli Hi! I'm trying to reproduce the results on Table 2. I can't reproduce even the Quality Metric PSNR on Africa scene (reported as 23.84db). I tried to retrain a few times but I get always the same results. Can you share the model that reproduces the results? Exactly how did you obtained it?

authors: RPFey lilygoli mezzelfo poetrywanderer

repo: poetrywanderer/CF-NeRF


text:
Effect is not correctly cancelled when calling a child action from the parent reducer

Description
When embedding child reducers in a parent reducer using forEach, and calling a child action from the parent reducer by invoking the child reducer directly (without using the send effect), the test case for the parent reducer fails because the effect in the child reducer is still running.
Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
We expect the test case in the following reproducing project to pass.
Actual behavior
The following error occurs, and the test does not pass.

failed - An effect returned for this action is still running. It must complete before the end of the test.

Reproducing project
The implementation and test code for reproduction are as follows:
@Reducer
struct Parent {
    struct State: Equatable {
        var childs: IdentifiedArrayOf<Child.State>

        init() {
            self.childs = .init(uniqueElements: [.init()])
        }
    }

    enum Action {
        case onAppear
        case childs(IdentifiedActionOf<Child>)
    }

    var body: some ReducerOf<Self> {
        Reduce { state, action in
            switch action {
            case .onAppear:
                return Child().reduce(into: &state.childs[0], action: .refresh)
                    .map { [id = state.childs[0].id] in
                        Action.childs(.element(id: id, action: $0))
                    }

            case .childs:
                return .none
            }
        }
        .forEach(\.childs, action: \.childs) {
            Child()
        }
    }
}

@Reducer
struct Child {
    struct State: Equatable, Identifiable {
        var id = UUID()
    }

    enum Action {
        case refresh
        case cancel
    }

    private enum CancelID: Hashable {
        case send(State.ID)
        case sleep(State.ID)
    }

    var body: some ReducerOf<Self> {
        Reduce { state, action in
            switch action {
            case .refresh:
                return .merge(
                    .run { send in
                        try await Task.sleep(for: .seconds(10))
                    }.cancellable(id: CancelID.sleep(state.id), cancelInFlight: true),
                    .run { send in
                        await send(.cancel)
                    }.cancellable(id: CancelID.send(state.id), cancelInFlight: true)
                )

            case .cancel:
                return .merge(
                    .cancel(id: CancelID.sleep(state.id)),
                    .cancel(id: CancelID.send(state.id))
                )
            }
        }
    }
}

@MainActor
func test() async {
    let store = TestStore(initialState: Parent.State()) {
        Parent()
    }

    await store.send(.onAppear)
    await store.receive(\.childs.element)
}

If the method of calling a child action is changed from invoking the child reducer directly to using the send effect, the effect in the child reducer is correctly canceled in the test case.
switch action {
case .onAppear:
+    return .send(.childs(.element(id: state.childs[0].id, action: .refresh)))
-    return Child().reduce(into: &state.childs[0], action: .refresh)
-        .map { [id = state.childs[0].id] in
-            Action.childs(.element(id: id, action: $0))
-        }

The Composable Architecture version information
1.14.0
Destination operating system
iOS 17.5
Xcode version information
Xcode 15.4
Swift Compiler version information
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0

Hi @b1ackturtle, this is actually working as expected, though admittedly it's not ideal. The operators that handle all the effect cancellation logic is ifLet/forEach, and here you are completely bypassing that:
return Child().reduce(into: &state.childs[0], action: .refresh)
  .map { [id = state.childs[0].id] in
    Action.childs(.element(id: id, action: $0))
  }

So it shouldn't be surprising that effect cancellation isn't working correctly.
Instead you could do something like this, though it is a bit ugly:
return EmptyReducer()
  .forEach(\.childs, action: \.childs) {
    Child()
  }
  .reduce(into: &state.childs, action: .childs(.element(id: …, action: .refresh)

Although we do largely recommend from sending actions via Effect.send as a means for sharing logic, this may be a case that it works well for you. Though, is there a reason you don't execute this refresh logic in the onAppear of the child feature?
Also, we do have some planned updates to how reducers work that will improve these kinds of things, but what the final shape will look like is not yet known.
Since this isn't an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there!


text:
Don't use CasePath in .binding

Deprecating the .binding helper that takes a CasePath directly and adding a new one that only takes an extraction.

Getting rid of the deprecated version gets 11.7 building. We could also leave it in with a #if compiler(>=5.3) check. I think it's highly unlikely that there are many cases in the wild of non-literal case paths being passed to Reducer.binding, but hopefully this covers whatever instances are out there.

authors: mbrandonw stephencelis


text:
How to take snapshot test after animation

Hey guys,
I need do some snapshot test after my UIView animation finished, and these tests should run into several devices automatically.
I noticed there is a Async<UIImage> in source code, and I tried to extension Snapshotting and implemented my image methond:
extension Snapshotting where Value == UIViewController, Format == UIImage {

  public static func image(on config: SnapshotTesting.ViewImageConfig, precision: Float = 1, size: CGSize? = nil, traits: UITraitCollection = .init(), isAsync: Bool) -> Snapshotting {
      return Snapshotting(pathExtension: "png", diffing: .image, asyncSnapshot: { vc in
          Async<UIImage> {callback in
            DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
               UIGraphicsBeginImageContextWithOptions(vc.view.bounds.size, false, UIScreen.main.scale)

                   // Draw view in that context
                   vc.view.drawHierarchy(in: vc.view.bounds, afterScreenUpdates: true)

                   // And finally, get image
                   let image = UIGraphicsGetImageFromCurrentImageContext()
                   UIGraphicsEndImageContext()
                callback(image!)
            }
          }
        })
  }
}

In this code, I can't re-use the traits config ,so I always saved the snapshots from specific running simulator.
Any Ideas?
I think you can define this as a public method:
snapshotView(
          config: .init(safeArea: .zero, size: size ?? view.frame.size, traits: .init()),
          drawHierarchyInKeyWindow: drawHierarchyInKeyWindow,
          traits: traits,
          view: view,
          viewController: .init()
        )

@Irelylnny not sure if it fits your specific needs but there's a .wait strategy which will delay the snapshot, letting your view controller perform the animations:
https://github.com/pointfreeco/swift-snapshot-testing/commit/69d029ca721fed87c8a655377716c69ebe985e4f
Also, there's a related conversation on #173.

Closing this as a dupe of #173. We'd like to make the VC strategy a bit more flexible in the future, but haven't had time to expose such hooks, sorry!

authors: Wanjing-Li marcosgriselli stephencelis

repo: pointfreeco/swift-snapshot-testing


text:
Support socket activation

To make go-nbd easier to use from libnbd or systemd, you should probably add support for systemd socket activation.  This doesn't require or involve libnbd or systemd, it just means you parse a few environment variables in a standardized way.  Many, many servers of all kinds support this protocol, eg. Apache.
In its simplest form:

the parent process will set LISTEN_PID to your PID.  Check that getpid() matches this, otherwise ignore the systemd socket activation
the parent process will set LISTEN_FDS to some number, usually 1.  Inherited file descriptors 3, 4, ... (up to the number of LISTEN_FDS) are listening sockets that you should accept on.

If this was enabled, then you'd be able to start up go-nbd either from a systemd unit or (more interesting to me) from this libnbd call: https://libguestfs.org/nbd_connect_systemd_socket_activation.3.html
Example of code that does this in nbdkit:
https://gitlab.com/nbdkit/nbdkit/-/blob/master/server/socket-activation.c?ref_type=heads

(Adding @ebblake)

Similarly to https://github.com/pojntfx/go-nbd/issues/11#issuecomment-2259370646 this isn't really something that would be part of the scope of this library. We don't create the listener in this library, that is up to the consumer.

authors: pojntfx rwmjones

repo: pojntfx/go-nbd


text:
error TS7016: Could not find a declaration file for module 'minimatch'

MINGW64 /c/command-server_fork (main)
$ pnpm install
 WARN  deprecated vscode-test@1.6.1: This package has been renamed to @vscode/test-electron, please update to the new name
Downloading registry.npmjs.org/typescript/4.9.5: 11.62 MB/11.62 MB, done
Packages: +231
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 232, reused 169, downloaded 62, added 231, done

dependencies:
+ minimatch 3.1.2 (9.0.3 is available)
+ rimraf 3.0.2 (5.0.5 is available)

devDependencies:
+ @types/glob 7.2.0 (8.1.0 is available)
+ @types/mocha 8.2.3 (10.0.6 is available)
+ @types/node 15.14.9 (20.11.25 is available)
+ @types/rimraf 3.0.2 (4.0.5 is available)
+ @types/vscode 1.87.0
+ @typescript-eslint/eslint-plugin 4.33.0 (7.1.1 is available)
+ @typescript-eslint/parser 4.33.0 (7.1.1 is available)
+ eslint 7.32.0 (8.57.0 is available)
+ glob 7.2.3 (10.3.10 is available)
+ mocha 8.4.0 (10.3.0 is available)
+ typescript 4.9.5 (5.4.2 is available)
+ vscode-test 1.6.1 deprecated

MINGW64 /c/command-server_fork (main)
$ pnpm compile

> command-server@0.9.1 compile C:\command-server_fork
> tsc -p ./

src/commandRunner.ts:1:27 - error TS7016: Could not find a declaration file for module 'minimatch'. 'C:/command-server_fork/node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js' implicitly has an 'any' type.
  If the 'minimatch' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimatch'

1 import { Minimatch } from "minimatch";
                            ~~~~~~~~~~~

Found 1 error in src/commandRunner.ts:1

 ELIFECYCLE  Command failed with exit code 2.

this is building from Windows.

NOTE: this is not blocking me because I don't need the code using minimatch.

this repo uses yarn, not pnpm. Try doing the install using yarn and see if you still have the same issue; seems fine on my machine

authors: pokey saidelike

repo: pokey/command-server


text:
🛑 Pokko - auth service is down

In d30eacf, Pokko - auth service (https://id.pokko.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pokko - auth service is back up in 47622ac after 11 minutes.

repo: pokkocms/pokko-status


text:
GitHub action supposed to upload vsix does not work anymore

Just noted that the action is deprecated, too: https://github.com/marvinpinto/action-automatic-releases

repo: polarity-lang/vscode


text:
Test flake

=== RUN   TestOrderedAggregate/MultiGroupCol
    ordered_aggregate_test.go:130:
        	Error Trace:	ordered_aggregate_test.go:130
        	            				physicalplan.go:68
        	            				ordered_aggregate.go:272
        	            				ordered_aggregate.go:226
        	            				ordered_aggregate_test.go:188
        	Error:      	Not equal:
        	            	expected: "a"
        	            	actual  : "b"

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-a
        	            	+b
        	Test:       	TestOrderedAggregate/MultiGroupCol

@asubiotto

Thanks for reporting. I'm skipping the test in #288 since there will probably be some big changes to the aggregator. Will be sure to fix and stress it in the next PR.

authors: asubiotto thorfour

repo: polarsignals/frostdb


text:
Maintainer dashboard: always show issues that need confirmation

Fixes #1333

🎉💪🏼

Me seeing the ratio of deleted code vs. added & that the historical "magic filters" are removed

authors: birkjernstrom zegl

repo: polarsource/polar


text:
[RTM] RF: Assume phase-encoding direction is A-P unless specified L-R

As discussed in #714, the simplest way to build in a prior of A-P phase-encoding is to always use A-P unless otherwise specified. When this produces a discernible error, the correct response would be to update the dataset metadata.
With this change, we can eliminate the cost function machinery from the BBR workflows, which should simplify #694, if this goes in first.
Closes #714.

The first three commits are some basic refactoring common to #694 and #733.

One more thing: the sdc-syn method is one method to estimate the fieldmap. Could we move the code to its proper module under the fieldmap/ folder?

Yeah, I can do that. Can do that here or in a separate PR. Up to you.

Actually I'll go ahead an say: Let's do that in a separate PR. We can move a lot of logic that's currently in bold.py into a fieldmap/, which could take a little work and we want to get this in ASAP, unless I'm mistaken.

authors: effigies oesteban

repo: poldracklab/fmriprep


text:
sty: pep8 complaints

some pep8 fixes - reformatted similar to black.

Hello @mgxd! Thanks for opening this PR.

In the file nitransforms/base.py:

Line 92:17: W503 line break before binary operator

In the file nitransforms/linear.py:

Line 244:17: W503 line break before binary operator
Line 257:17: W503 line break before binary operator
Line 258:17: W503 line break before binary operator

Do see the Hitchhiker's guide to code style

repo: poldracklab/nitransforms


text:
T. Población base de datos

Se indicaran las sentencias para realizar la población de la base de datos.

Se realizó commit


text:
Would be great to make it so that the UI can be embedded into a custom Dialog Box

Being able to configure the text within the Faui UI so titles and the text within each section can be configured would also be great. To embed into a dialog box it could be made so the current title and contents could be extracted for use in an external widget hierarchy.

Awesome work, thanks for implementing the custom view mechanism!

repo: polina-c/flutter-auth-ui


text:
QR code scanning doesn't work

I'm testing V0.6.0 on a Samsung Galaxy Marshmallow.
When I scan a QR code (either from menu or from "transfer"), The code gets scanned but the app falls back to the "Transfer KSM" screen with grey background. No further information about what happened.

Try v0.6.2

no difference. same issue with 0.6.2

It seems that the camera scan runs well, but image scan throws an error. Maybe we will find another plugin to do the scan, or fix it in a customized package later.

authors: RomeroYang brenzi

repo: polkawallet-io/polkawallet-flutter


text:
Little files cleanup

Description of the Change

Move pull request template into .github dir
Add vscode related lines in .gitignore
Rename changelog in uppercase to align with other files and community
standard

Possible Drawbacks
None.

@simheo Please have a look at this PR :)

repo: pollen-robotics/reachy-sdk


text:
Analysis considers only file with name foo.eo

Suppose i have several files in src directory: foo.eo, base.eo, derived.eo. However, when running the analysis, only foo.eo is being processed. How do i specify different file to analyse?

@silverCase can you please check and fix.

@mximp Okay.
@APotyomkin please, when creating a ticket, always provide the steps to replicate the issue: commands, versions of application (built branch), logs/input/output, etc.

@mximp I came up with a simple solution, it works, but I need the test cases and expected output to be sure that analysis is behaving as expected.
Could you provide me this info?

@silverCase I believe you can take the description of the task as expected behaviour: given 3 .eo files within sources folder, all three has to included into analysis.

authors: APotyomkin mximp silverCase

repo: polystat/polystat


text:
Some promoters missing from Chado

While implementing:

pombase/website#2161

I noticed that some promoters aren't being stored.
For example the exogenous promoter nmt81 from ed9652a888c24c94 is not in Chado:
https://curation.pombase.org/pombe/curs/ed9652a888c24c94/feature/genotype/view/2/ro
See also: pombase/pombase-chado#1087
Edit: it might be PomBase::Chado::GenotypeCache that's going wrong.

I think I've fixed this.
I'm doing a test load on my desktop now and I'll also check the results of the nightly load before closing.

Seems OK now.
https://www.pombase.org/genotype/mad1%2B(wild_type)-expression-overexpression

repo: pombase/pombase-chado


text:
update track description  for consensus promoters

genome sequence and features -> promoters
Consensus promoters (computationally matched) -> consensus transcription factor DNA binding motifs
Alleles  WT -> N/A
(so this won't be a Genome sequence and feature track, it will be a separate data type, because it isn't part of the core annotation)
Also, where is that page with the  consensus promoter sequence?
I think it should be listed
here under "other pombase pages"
Other PomBase Pages
and I  also couldn't find a link to it from the FAQ? (I looked through everything "transcription/factor" and "promoter"
I also couldn't find it by Googling....

Also for this track   it  isn't

also  mating type and ploidy  for consensus promoters h- -> not applicable

I guess it was easier to find when we had a browse tab.
I think we need somewhere more prominent for these lists (like the drug targets).
But not sure where!
I guess for the FAQ:
"What are the known  transcription factor DNA-binding motifs ?"

done
this page is referenced in the track metadata
https://www.pombase.org/browse-curation/dna-binding-sites

authors: Antonialock ValWood

repo: pombase/website


text:
xxHash Checksum Verification

Hello,
I am comparing your xxHash checksum verification with the xxHash checksum tool created by the xxHash developers.  The following is my output:
[OTASHI] sources\>_ ./repo/xxHash/xxhsum
Wrong parameters

xxhsum 0.8.1 by Yann Collet
Print or verify checksums using fast non-cryptographic algorithm xxHash

Usage: xxhsum [options] [files]

When no filename provided or when '-' is provided, uses stdin as input.
Options:
  -H#         algorithm selection: 0,1,2 or 32,64,128 (default: 1)
  -c, --check read xxHash checksum from [files] and check them
  -h, --help  display a long help page about advanced options
[OTASHI] sources\>_ ./repo/xxHash/xxhsum -H32 test.txt
d68e05bd  test.txt
[OTASHI] sources\>_ ./repo/xxHash/xxhsum -H64 test.txt
c8255a431a0f4393  test.txt
[OTASHI] sources\>_ ./repo/xxHash/xxhsum -H128 test.txt
2fef1828b95c3ffc57ddf3d57d095a29  test.txt
[OTASHI] sources\>_ ./mhl hash -vv -f test.txt -h xxHash d68e05bd
Arguments error: Incorrect length of xxHash HASH value

Usage:
mhl hash [-v | -vv]  -f FILE -h [md5|sha1] HASH
mhl hash [-v | -vv]  [-m] [-#] [-t] [md5|sha1] FILEPATTERNS...

[OTASHI] sources\>_ ./mhl hash -vv -f test.txt -h xxHash c8255a431a0f4393
Arguments error: Incorrect length of xxHash HASH value

Usage:
mhl hash [-v | -vv]  -f FILE -h [md5|sha1] HASH
mhl hash [-v | -vv]  [-m] [-#] [-t] [md5|sha1] FILEPATTERNS...

[OTASHI] sources\>_ ./mhl hash -vv -f test.txt -h xxHash 2fef1828b95c3ffc57ddf3d57d095a29
Arguments error: Incorrect length of xxHash HASH value

Usage:
mhl hash [-v | -vv]  -f FILE -h [md5|sha1] HASH
mhl hash [-v | -vv]  [-m] [-#] [-t] [md5|sha1] FILEPATTERNS...

[OTASHI] sources\>_ ./mhl hash -vv -f test.txt -h xxHash64 c8255a431a0f4393
----------------------
Started checking XX64 hash for the file 'test.txt'
   with the size of 0 MB (12 bytes)
----------------------
Check XX64 hash for file 'test.txt' failed.
Passed hash sum does not match to calculated hash: 93430f1a435a25c8
----------------------
Finished checking XX64 hash for the file 'test.txt'
   with the size of 0 MB (12 bytes)
----------------------
Summary: FAILED

The contents of the test.txt file is:
[OTASHI] sources\>_ cat test.txt
Hello World

I do realize that your help does not expose the xxHash|xxHash64 options:
[OTASHI] sources\>_ ./mhl hash
Arguments error: Incorrect number of arguments.

Usage:
mhl hash [-v | -vv]  -f FILE -h [md5|sha1] HASH
mhl hash [-v | -vv]  [-m] [-#] [-t] [md5|sha1] FILEPATTERNS...

[OTASHI] sources\>_ ./mhl hash -vv -f test.txt -h xxHash6 # Purposely passing typo
Arguments error: Hash value doesn't has the length of MD5, SHA1, xxHash or xxHash64

Usage:
mhl hash [-v | -vv]  -f FILE -h [md5|sha1] HASH
mhl hash [-v | -vv]  [-m] [-#] [-t] [md5|sha1] FILEPATTERNS...

[OTASHI] sources\>_

I don't know if this was as designed or a bug.
Please let me know if you have any questions
Best,
Brando

Yes I noticed this too.
I looked at the code and It seems mhl writes the hash string out in little endian, whereas xxh64sum uses big endian.
So you can either tell mhl to use big endian by specifying the hash as (the undocumented) xxhash64be or tell xxh64sum to use little endian via its --little-endian flag.
I hope that saves anyone else wasting time figuring out why they're different 😊
Mike

Hi.
There has been a historical confusion with little- and big-endian xxhash64 hash modes in mhl, which is also the reason why both modes are undocumented.
As @Mike-Woolley said, use xxhash64be to get the (intended) big-endian hash.

authors: BrandonMFong Mike-Woolley kos-pomfort

repo: pomfort/mhl-tool


text:
general: fix module + more

First of all, apologies for the messy pull request and commit messages. I initially intended to organize everything in a new branch after figuring some things out, but the way everything is intertwined makes it extremely difficult to recreate meaningful commits afterwards. As a result, I ended up adding them all in one big sweep from this "work-in-progress" branch. For examination, I suggest you to just look for the differences on the Files changed tab.
The main objective of this pull request was to fix the Nixobolus module, as we plan to use it in our other repository, ponkila/homestaking-infra. This is implemented there in pull request #18.
Here is a list of key points that should be achieved with this pull request:

Fixed Nixobolus as a module.
Added a homestakeros host for our WebUI.
Removed nixos-generators, same as  #21.
Added flake-parts and mission-control, same as #37.
Removed SOPS, we need to consider how to handle secrets or whether they are even necessary here.
Various tweaks and improvements from our other repository, such as #32 and #39.

As you can see, this project is very closely related to our personal infrastructure and will continue to be so. It is likely that there are still a few bugs to be resolved before this ready to be merged. However, the Nix flake check and build are successful, even when imported as a module. Stuff also seems to evaluate correctly.

Version overlays for Lighthouse and Erigon are not working at the moment, newer versions has some breaking changes for the current configuration. Converting to draft.

I think that a good way to continue could be that we generate the Nix configuration trees of all devices on homestaking-infra side, check them to git, and then on the homestaking-infra repo, diff changesets against the ones produced when using this as the upstream configuration provider. It could help us see if we missed some derivations, and if so, where those derivations are. I think it could be a manageable way to see if and how the systemd mount are working.
We could start with a single x86 host, say some of the dinar machines.

authors: jhvst tupakkatapa

repo: ponkila/nixobolus


text:
IconData を Icons の定義済み定数に置き換え

IconData 自体は同じもの。

これは便利、しらんかった

authors: b-wind ponkotuy

repo: ponkotuy/PhotographicViewer


text:
FlutterToast 被软键盘遮挡

Android 手机上，toast 被软件盘遮挡。ios正常

+1  huawei

经过多次测试，发现只有安全键盘会遮挡

+1 华为安全键盘有问题

authors: LoveBabyForeve SunShRui biglin

repo: ponnamkarthik/FlutterToast


text:
[Exception on v8.2.8] No Directionality widget found.

When I run my existing project with fluttertoast 8.2.8, an exception is occurred below. (Flutter 3.19.0 / Dart 3.3.0)
Could you please check this issue?
======== Exception caught by widgets library =======================================================
The following assertion was thrown building Overlay(state: OverlayState#b3362(entries: [OverlayEntry#b593b(opaque: false; maintainState: false)])):
No Directionality widget found.
_Theater widgets require a Directionality widget ancestor.
The specific widget that could not find a Directionality ancestor was: _Theater
skipCount: 0
dirty
Typically, the Directionality widget is introduced by the MaterialApp or WidgetsApp widget at the top of your application widget tree. It determines the ambient reading direction and is used, for example, to determine how to lay out text, how to interpret "start" and "end" values, and to resolve EdgeInsetsDirectional, AlignmentDirectional, and other *Directional objects.
The relevant error-causing widget was:
Overlay Overlay:file:///Users/tyler.jeong/.pub-cache/hosted/pub.dev/fluttertoast-8.2.8/lib/fluttertoast.dart:325:12

Could you please provide a sample example to check this? I believe the issue might be that the key you're passing is above the MaterialApp in the widget tree.

I have fixed it by changing MaterialApp() and FToastBuilder() order.
[Error]
FToastBuilder() -> MaterialApp()
[Solved]
MaterialApp() -> FToastBuilder()
Thanks!

authors: ponnamkarthik sf-tyler-jeong


text:
faq update: windows LNK1112 error

Quick update of FAQ: Compiling section with error I encountered myself when compiling ponyc.

Awesome, thanks @plprofetes

authors: kulibali plprofetes

repo: ponylang/ponylang-website


text:
created autocomment-pr-merge.yml

This feature aims to solve the problem of inconsistent and delayed communication following the merging of PRs. By automating the commenting process, it ensures that contributors receive timely feedback and acknowledgments. It also reduces the administrative burden on maintainers, allowing them to focus more on code reviews and other critical tasks.
Fixes #120
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Refactor Code
[ ] A documentation update
[ ] Others(mentioned in the issue number)

Screenshort

Checklist:
give a X on it which is applicable

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] 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

@pooranjoyb please review my PR and merge it if it is good to go

@pooranjoyb done with the changes as requested by you

Bruh the key should remain the same as  GITHUB_TOKEN
I said only the values to USER_TOKEN
@Asymtode712

@pooranjoyb you have assign your PAT to USER_TOKEN right?

@pooranjoyb If yes then it wouldn't affect the code

Its already set. Just make it GITHUB_TOKEN : USER_TOKEN
@Asymtode712

@pooranjoyb ok as you say but it won't make any difference as the key is just a mere variable so it can be named anything the thing whcih matters is the value

@pooranjoyb done the changes, please review and merge it

Nice work @Asymtode712 :rocket:

repo: pooranjoyb/popShop


text:
Move hashbrown behind no_std feature

Follow-up to #160 to gate hashbrown behind no_std by default
cc @notgull please let me know if this is problematic for some reason

Looks like this breaks no-default-features, I'll try to workaround that

Unfortunately I don't think we have a great way to do this with the current features, because no_std and std features would ideally be mutually exclusive but both features could be enabled or disabled at the same time. Maybe we could revisit if we ever change how these features are setup.

Thinking about this some more, building with no default features doesn't make sense because either no_std or std must be used. We should replace this with a CI step to check no_std. I'll update this PR to add a compile-time error if neither is specified.

Having both an std and a no_std feature isn't ideal. It should be possible to use #cfg(not(feature = "std")), but enabling dependencies and features of dependencies when a feature is disabled won't really work...
So I guess requiring either std or no_std makes sense, though hopefully cargo can get some better solution to this sort of thing some day.

@ids1024 agreed, it would be great if we didn't need to have both. In case it isn't clear, both features already exist in cosmic-text, so this PR is just attempting to move hashbrown behind the no_std feature.

repo: pop-os/cosmic-text


text:
Added monochrome option and updated dependencies

I added a monochrome option because I wanted JSON without ANSI escapes.

Nice feature, thanks @QazCetelic! 👍🏻

authors: QazCetelic popovicn

repo: popovicn/grepgithub


text:
Conda pkg: fix for hailctl

Added a flag into the Makefile to skip uploading artefacts to a bucket when building Hail, and instead point to the official release ones. This fixes hailctl dataproc commands.
If we ever get to change files like init_notebook.py in our fork, we could probably create our own public bucket. Or perhaps create it now?

Thanks a lot for fixing this!

If we ever get to change files like init_notebook.py in our fork, we could probably create our own public bucket. Or perhaps create it now?

With Hail Batch coming, that's probably not too important for now.

authors: lgruen vladsaveliev

repo: populationgenomics/hail


text:
Fixes

Update pip version to pip3.10
Fix interactive install for python3.10
Update python3-dev to python3.10 dev.

Can we actually update driver-base to use python 3.10?

Another option would be to change the base to FROM python:3.10

authors: vivbak vladsaveliev

repo: populationgenomics/images


text:
🛑 Agencias TFM - Gestion de loterias is down

In 1dabaa1, Agencias TFM - Gestion de loterias (https://agenciastfm.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Agencias TFM - Gestion de loterias is back up in f9c973f after 10 minutes.

repo: porrale/status


text:
NPM version way out of date

Is wright not being published to npm currently? NPM version is at 0.1.0 but this repo's package.json says 0.6.1, curious as to why it isn't getting updated.
I ran into this while trying to use wright for the first time and having it all explode spectacularly :(

No, not yet, I just took the name back then and wanted to wait with publishing until I felt wright was stable (or the api was stable at least).
I should probably not have written npm install examples in the README :P
I hope to get it published soon though.

So, there's still some things I'm not satisfied with, but not publishing to npm just because of that started to become silly..
It's now published as 0.7.0, and I'll just need to update the different readme's with instructions etc.

authors: porsager tivac

repo: porsager/wright

license: WTFPL


text:
Can't edit the enviroment variables after deploying a stack

Bug description
After deploying a stack with portainer it is impossible to change the enviroment variables of the stack which have been set before deployment.
Expected behavior
To see a list off the enviroment variables in which they can be edited just like before the deployment.
Steps to reproduce the issue:

Create a stack with enviroment variables
deploy the stack
view the stack

Technical details:

Portainer version: 1.23.0
Docker version: 19.03.5
Platform: Ubuntu 18.04
Command used to start Portainer :
docker create
--name=portainer
--restart=unless-stopped
-p 9000:9000
-v /var/run/docker.sock:/var/run/docker.sock
-v portainer_data:/data
portainer/portainer:latest
Browser: Firefox 70.0.1

Additional context
Stack file I used to create the stack:
https://github.com/ebrithiljonas/PortainerTemplates/blob/master/stacks/download_server.yaml

Hi there @ebrithiljonas, it is possible to modify env variables set via the UI after deployment via the editor tab; just make your changes then click update. If you are specifying them via your YML definition, you can also change them directly in the YML definition in the editor tab and click update.
Hope that helps you :+1:

I don't think we mean the same env variables.
This is how it looks when I create a new stack:

I have a nice Table with all the variables I want
And this is how it looks after deployment:

Now that Table is just gone and I'm not able to edit them any more.
And defining them directly in the yaml file is also not the best way, because I also use my yaml files with the portainer templates to set them up.

The issue here is that you are not specifying a value for your environment variables, so they are not being persisted. I don't think this is a bug, as for as long as I can remember we have not supported empty env vars on stacks.
@deviantony or @xAt0mZ  is it possible to change this behaviour or is a limitation of what we are using to deploy stacks?

@itsconquest atm we are effectively removing all "invalid" env variables (invalid means empty key or empty value).
I think we can keep the empty values (frontend it's not a prob), idk for backend tho.

The thing with the empty variables was an error on my side, I can't even edit them when I assing them values. In the second Image, I've assigned them values before deploying.

@ebrithiljonas After more investigation on this I can say you are correct, we are not persisting environment variables for stacks deployed against docker standalone. This was present in 1.20.0 when I tested, so either this is an old bug or an undocumented limitation of the library we use to deploy stacks on standalone (libcompose).
@xAt0mZ can you spot anything obvious in the front end code?

@itsconquest we are saving env var (sending them), and they are actually saved in backend.
Atm we only allow users to edit env variables when using a swarm stack, and not when they are using a compose stack.
Swarm stack is only created when endpoint is in swarm mode + when connected node is a manager of the swarm.
This behaviour is present since PR #1963 .

@xAt0mZ was this due to a limitation of libcompose, a bug, or a design decision?

@itsconquest no idea, it's something that has been done more than 2 years ago and I wasn't there at this time, need to ask @deviantony

@itsconquest no idea, it's something that has been done before I joined the project, need to ask @deviantony

@hirenshah if you have reproduce-able steps, could you please open a separate issue here?

Reproduced this behaviour on 1.23.2.

@deviantony is this a libcompose issue, a bug that has regressed or was simply just never implemented?

I believe this was simply not implemented in the stack edition view.

Hi,
I have this problem too. I am running portainer with several VMs connected via Edge Client (most convinient without using swarm ... isn't it?). The 'edit' tab does not show the 'environment' section.
However, I created the stacks on this machine while it was a swarm manager (only one node), deleted the endpoint, recreated it as an Edge endpoint and changed the endpoint in the database by hand. The Environment variables, I formerly declared are still working and I also can change them and the changes apply.
So it seems to be just a UI limitaiton, which can be removed.

Interesting, @deviantony any idea whats going on in the above use case?

Probably the fact that the user changed the endpoint type from standalone to swarm. This is something that I would not recommend though as the stack deploy method is totally different and that might lead to unwanted behaviors.

However, I created the stacks on this machine while it was a swarm manager (only one node), deleted the endpoint, recreated it as an Edge endpoint

@deviantony Seems this is on swarm env though, so would not expect the issue?

any update on this? Thanks.

Just tested it with version 2.1.1 and there is still no way to edit the Environmental Variables after deploying the stack.

It is actually disabled for stacks created with Docker-Compose.
https://github.com/portainer/portainer/blob/5c1888bfc60e3bbf6c8aa0aeb13d8d7b2a991057/app/portainer/views/stacks/edit/stack.html#L119
Is there a reason for that? I tested changing the env vars using the API (PUT /api/stacks/<id>) and it worked fine.

@tobiasholler I believe this was us working around a limitation with libcompose, with the recent introduction of docker-compose (https://github.com/portainer/portainer/issues/3750) to replace libcompose I think we can get rid of this limitation.

@tobiasholler I believe this was us working around a limitation with libcompose, with the recent introduction of docker-compose (#3750) to replace libcompose I think we can get rid of this limitation.

@deviantony Will this fix be in the next release along with the env file updates?

@icegunner it is in our review backlog and we're gonna have a look at the items in that backlog next week. We'll see if we can make it happen in the next version of Portainer as it looks like something quite easy to fix.
We'd also accept a contribution for it if you really want it to be there.

@deviantony Was this reviewed and assigned to next version of Portainer, I cannot see where this is assigned - it would be great to get a fix. Would love to do so myself, but I'm not a developer and wouldn't know where to start :-(

@SingingDwarf this was reviewed and is now tracked internally but it's not in our pipeline for the next release, no ETA yet.

Would be nice for this issue to be resolved. The initial report MAY have been created in 2019, however, its May 2021, and I found this issue after having the same issue.

I am also here after deploying a stack with many env variables and not able to change it after... quite strange.
+1 to update portainer with the capability to change env variable from an already deployed stack (=edit variable which is the principle of the env file)

Hello, same problem here. I m not able to update my env variables after deploying a stack

Thanks @tobiasholler !

I notice this same problem in v2.6.2 as commented  by @darrepac, after deploying stack when not using docker swarm mode, should this issue still be open?, or at least modify the issue title to refer only to be fixed for docker swarm mode not for docker standalone?
Cheers,
Jacq

I am also here after deploying a stack with many env variables and not able to change it after... quite strange.
+1 to update portainer with the capability to change env variable from an already deployed stack (=edit variable which is the principle of the env file)

This fix will be in the CE-2.9.0 release and solves it for standalone.
(in 2.6.2 it works for Swarm, but not standalone)

This fix will be in the CE-2.9.0 release and solves it for standalone.
(in 2.6.2 it works for Swarm, but not standalone)

2.9.0? Isn't that in a couple of years? We are currently at 2.6.2.

@huib-portainer and when will the version 2.9 be released?

Somewhere around late this month or early next month.

@huib-portainer okay, thanks for the fast answer 👍

You can give it a try by using the image portainerci/portainer:develop.
Please let us know how that's working for you.
Note that this is a development build and should not be used in a production environment.

Oh thanks, zest I will try it today

It works fine.
But one question, before I must use
"${variableName}"
to use the variable in the env now I must use
${variableName}
correct?
If I use the variable as before I get the " things in the application.
Or I am getting something wrong?

Any double quotes that you use will be part of the actual value yes.

That's ok, but on the previous version, this was not the case, or?

I'm having the same issue on Portainer Business Edition 2.16.2. On an existing stack (that is using Automatic Updates from a GitHub repo), I try to add an environmental variable using the steps in the screenshot, but both action buttons are disabled, not allowing me to save the environmental variables.

Looks like there was a regression.
Have been able to edit environment variables fine as part of our workflow but after updating, having the same symptom as @andromidasj reported. (Save settings button greyed out after editing env vars on existing stack)
Also Portainer Business Edition 2.16.2

Same as @andromidasj and @billycao
On both Business Edition 2.16.2 and 2.17.0 after we deploy a stack (via automatic updates from GitHub repo) it prevents us from changing the env variables.
Community Edition 2.16.2 worked fine (it was the last thing I personally did prior of upgrading to BE).

Working on 2.18.3 I encountered the issue that others also reported on over the years: environment variable cant be removed after you composed an image with that variable present.
By using the container app from synology I could remove the environment variable.

If you have this problem on Unraid, here is why: The Portainer in the Community Apps is pegged to version 2.1 which was released Feb 2, 2021 🙈 just open the container config and change "Repository" to something more recent like "portainerci/portainer:2.19" 👍
I raised a PR the template https://github.com/frakman1/docker-templates/pull/7

I have the same Problem on 2.19.4
If I go to a Container -> Duplicate /Edit
and then change a env and hit Deploy the container after that the env changes are not saved.

authors: ErikDeRoos Hummel37 Jacq Mannshoch Quentinvarquet Sandros94 SingingDwarf SpiGAndromeda XtremeOwnageDotCom andromidasj billycao darrepac deviantony ebrithiljonas huib-portainer icegunner itsconquest ohare93 siddjellali tobiasholler xAt0mZ

repo: portainer/portainer


text:
As a system, I want to be able to access and use a reverse proxy for API calls to be relayed to POKT as RPCs.

core functionality API keys useless otherwise

[x] porters-xyz/product#14
[x] porters-xyz/gateway-demo#121
[ ] https://github.com/porters-xyz/gateway-demo/issues/94
[x] https://github.com/porters-xyz/gateway-demo/issues/152
[x] https://github.com/porters-xyz/gateway-demo/issues/150

Currently proxying to free gateway for demo and testing. We need an app stake to be able to be paired with actual RPC nodes.

need to formalize POKT node for the Gateway (strike a deal with Nodies)

authors: benedictvscriticus boucherbox plor

repo: porters-xyz/gateway-demo


text:
Include posit files in new deployments

This is a rough draft of how we could include the posit files when creating new deployments.
Intent
Resolves #2370
Type of Change

[ ] Bug Fix

[x] New Feature

[ ] Breaking Change

[ ] Documentation

[ ] Refactor

[ ] Tooling

Approach
While exploring how we could do this I implemented a really simple version of this.
When creating a new deployment we first create a Configuration, passing the name we would like it to have, then create a Deployment, also with a name passed.
The configuration is passed from the inspection API which doesn't include the .posit files sense they aren't created at that point.
We could insert the configuration file into the files array before sending it up to be created, but the deployment still hasn't been made.
To avoid changing the APIs I did the simplest thing, included two more API calls to include the files after they are created.
We may not want to go with this method, and instead move some of this logic into the API endpoints.
Additionally this PR does not mess with the "Select Active Configuration for Deployment" feature which ideally would include the new deployment in the configuration file. It is unclear how that should behave if a Configuration by multiple Deployments.

I noticed this failed on the config check in the ui tests.  I have a fix locally, let me know if you want me to push it up to your branch.

I noticed this failed on the config check in the ui tests. I have a fix locally, let me know if you want me to push it up to your branch.

No that is alright. This is very much a draft to prompt discussion right now. If we decide to go down this path we can update the tests.

authors: dotNomad kgartland-rstudio

repo: posit-dev/publisher


text:
Update CircleCI 2.0

Circle CI 1.0 is slow and deprecated, so there's no reason to keep using it.
Updated your Circle CI jobs with 2.0 function but still work as the same.

I updated to circle-ci v2. Sorry that I missed this PR when I worked. Thanks to your contribution.


text:
Python CLI

Add Python CLI.
The CLI has just one command: connect, which creates a Postgres FDW connection from a PostgresML db to another PostgreSQL database.

Why not Rust? Binary distributable would make life easier.

Why not Rust? Binary distributable would make life easier.

Thought about it. The easiest way to distribute a CLI in the Rust world is with cargo install, which requires people to have the Rust toolchain installed. Conversely, if we use our SDK as the distribution vehicle, our CLI is now available to everyone who's using our SDK already in whatever language they choose.

Right, but we'd have to implement it in each language to accomplish what you're stating with this Python first approach. This method excludes Rust & JS, whereas we could follow the same Rust first method, and get Python/JS distribution for relatively free with the same behavior on all runtimes.

i.e. all SDKs should have a CLI, and the logic for the CLI should be implemented in the core Rust version.

Take a look at the PR, the pieces are all there. The only reason I scoped this to Python is because I know how to make the module callable. In JS, I need to do some research.

authors: levkk montanalow

repo: postgresml/postgresml


text:
API Specifications Weekly - March 14th, 2022

This is a weekly public meeting to discuss the top API specifications, including, but not limited to OpenAPI, AsyncAPI, JSON Schema, GraphQL, gRPC, and Websockets. Discuss ideas on how we can better cross-pollinate information across the communities, develop common extensions, as well as tooling, collections, and other resources that benefit the community.
Agenda:

Updates - Doc provides the updates across specs from the week.

Automating Community Count - Automated the pulling of weekly Twitter and Github numbers, will be doing Stack Overflow.

OpenAPI - Review the projects currently occurring as part of OAI operations, the future of the marketing meeting, and any other relevant items.

Marketing (Repo)
Tooling (Repo) (Kanban)
Readme.io OpenAPI compatibility chart
Compliance Checklist - How can we move this forward as part of tooling work?

AsyncAPI - Talk about how we can better showcase what they are doing, follow their lead, and energize other areas based upon what is happening.

VirtualEDA - New part of the AsyncAPI community.

JSON Schema - Understand how we invest more in JSON Schema, but also vocabularies for AsyncAPI and OpenAPI, but also forms and others.

Hiring - Community, developer, and wider.

API Spec Toolbox - Keep this in the conversation so we can make sure and use it as the central gathering for this work and discussion.
Workshops - Produce 101 series curriculum for trainings and workshops.

OpenAPI, AsyncAPI, JSON Schema, GraphQL, gRPC

Please add any agenda items you’d like to discuss below, and we will meet weekly, and push forward projects, stories, collections, and tools to support our work.
Meeting:

March 14th, 2022 - 8:00 AM PST
Zoom

Twitter Spaces - Controlled experiment around asking questions - using What is OpenAPI, What is JSON Schema, to begin with.

ASC Conference - Program.

Other specs, sponsorship, people, presence.

New members - writing, storytelling assistance.


text:
Giving input file in Clingo C API

I am working with Clingo C API. I write a C program (viz, test.c) with including clingo.h header file. I build the C program using the command g++ test.c  -o test -lclingo.
I run the binary file (test) by command ./test test.lp (test.lp contains an ASP program) and get the following error. Parameter test.lp is given to clingo_control_new function as argument.
In context '<libclingo>': unknown option: 'Positional Option'

How to give input file when using Clingo C API.
N.b. I cloned the master branch.

You can load files using clingo_control_load or, alternatively, load a program from a string with clingo_control_add. Also check the examples linked below the documentation of the functions.

repo: potassco/clingo


text:
Dark/Darker mode

Fixa till en släcka lampan funktion
💡
Växlar från grått till kolsvart

Ett exempel på mörkare webbsida (utifrån Web developer tillägget)


text:
add documentation of adding a certificate to the store for https communications

ref https://stackoverflow.com/questions/12961570/sslpeerunverifiedexception-peer-not-authenticated

get the certificate
$ openssl s_client -connect $ADDRESS:443
copy the portion between -BEGIN CERTIFICATE- and -END CERTIFICATE- into a file.crt
once we have the certificate file
$ ../cabolabs-ehrserver-groovy>keytool -importcert -alias "server001" -file certificate_file.crt -keystore store.jks -storepass test1234

http://nerd-ability.blogspot.com.uy/2013/01/tech-how-to-fix-sslpeerunverifiedexcept.html

Done, documented in the README.

repo: ppazos/cabolabs-ehrserver-groovy


text:
Update golang/master build

This is an automated PR via build-bot

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ltccci
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Support of betweet operator

Were added support for between operator that was mentioned in the #77 issue.
Were used similar approach as with $in operator where we pass arguments separating them by a comma.
So operator btw(between) takes two arguments separated by a comma and can be used in the next way: filter.age=$btw:4,6

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: burdinbogdan ppetzold

repo: ppetzold/nestjs-paginate


text:
Fix samples not reloading if loaded too early

Fixes https://github.com/ppy/osu/issues/13266
If samples are loaded before Bass.Init(), SampleLoad fails with Bass.Init. In this case, and only this case, I want to reload the sample when a device is received afterwards.
I've added some safeguards in the hopes that it won't, but if the test fails intermittently then I can't see a good way to test this other than to ignore the test.

Code itself looks fine, not sure about the test (see CI).

authors: peppy smoogipoo

repo: ppy/osu-framework


text:
Single Image "filepond--item" preview for multiple files.

First of all, amazing work pqina and Rik Schennink for this amazing plugin. Love it!
Is there a way to remove the little preview ("filepond--item") for multiple images in FilePond please? If not can this be implemented within the plugin please?
Something similar to the following example (but without the .txt obvs xD) :

Say for example I need to upload a folder which has 150 attachments. Currently that would create 150 "filepond--item" which would create a lot of clutter on the page. Like so:

Once again I thank you for your work!

Do you mean grouping them under one item?

Yes and like for example have: 15 Attachments Uploaded. Instead of one for each item.

authors: elaidaomar rikschennink

repo: pqina/filepond


text:
Conferência de Abertura “Iniciação à docência nas monitorias de ensino - 05/10/2022 - 15h30min

Informações da Transmissão Ao Vivo
Titulo: Monitoria de ensino: como auxiliar, estimular e acompanhar os processos de ensino e aprendizagem?
Data e Hora: 05/10/2022 - 15h30min
Evento Geral (se houver): II Jornada de formação inicial e continuada de monitores de ensino 2022/2023
Solicitante: JANAITA DA ROCHA GOLIN
Realizador(es):
Palestrante Principal: Profa. Dra. Mariane Inês Ohlweiler (UFFS)
Solicitação no Mural: https://practice.uffs.edu.br/mural/servico/87
Link Transmissão: https://youtu.be/H5uiSBtN5GE

[x] #1307

Com os dados e roteiro em mãos, o responsável pela Live deve seguir os padrões do PRACTICE e estabelecer contato com o solicitante, enviando inicialmente o Protocolo de Execução de Lives.
Planilha de Lives
Protocolo de Execução de Lives
TeleCurso 2000
CC: @con-midia / lives

Criei as pastas dessa issue no Google Drive:

 Pasta da issue
🔽 Entrada
🔼 Saída

Passando para avisar que a live foi realizada. A planilha de transmissões ao vivo já foi preenchida!

repo: practice-uffs/programa


text:
Live - Palestra de abertura “Enfrentando o individualismo: perspectivas éticas e a alteridade” - (22/11 - 19h)

Informações Transmissão Ao Vivo
Titulo: Palestra de abertura “Enfrentando o individualismo: perspectivas éticas e a alteridade” - prof. Valdemir Miotello (UFSCar)
Data e Hora: 22/11 - 19h
Evento Geral (se houver): V Simpósio Discurso e fronteiras" do PPGEL/UFFS Chapecó
Solicitante: MARIA JOSE LAINO
Realizador(es): PPGEL
Palestrante Principal:  Prof. Valdemir Miotello (UFSCar)
Solicitação no Mural: https://mural.practice.uffs.cc/servico/1496
Link Transmissão: https://youtu.be/W3Q8mTWk0Hg
Com os dados e roteiro em mãos, o responsável pela Live deve seguir os padrões do PRACTICE e estabelecer contato com o solicitante, enviando inicialmente o Protocolo de Execução de Lives.
Planilha de Lives
Protocolo de Execução de Lives
Padronização de Lives
TeleCurso 2000
CC: @con-midia / lives

Criei as pastas dessa issue no Google Drive:

 Pasta da issue
🔽 Entrada
🔼 Saída

Issue aberta para fins de organização. Assim que a solicitante encaminhar os documentos, favor adiocionar. @MariaLuizaReviliau

Link da transmissão https://youtu.be/W3Q8mTWk0Hg
é necessária a confecção da capa do evento e arte de divulagação nas redes socias
A divulagação é feita pela @morgana-mo
Documentos já adicionados na pasta de entrada.

Link da transmissão https://youtu.be/W3Q8mTWk0Hg
é necessária a confecção da capa do evento e arte de divulagação nas redes socias
A divulagação é feita pela @morgana-mo
Documentos já adicionados na pasta de entrada.

Antes de confeccionar a capa do evento entre em contato com a solicitante via whatsapp do programa, como comentei na issue #793, nas outras lives do evento eles não pedem capa (não está fazendo muito sentido).

Ela informou que desejam capa apenas do evento de abertura, que refere-se a esta issue.
A arte de divulgação está sendo fabricada pela solicitante - está fazendo no canva : (
assim que estiver pronta irei adicionar na pasta de entrada para a @morgana-mo divulgar

o @pedroamaximowski ficou de responsável pela confecção da capa

A solicitante enviou o material para divulgção, está na pasta de entrada @morgana-mo

Como está a confecção dessa capa, @pedroamaximowski?

adicionei na pasta de entrada duas versões da capa da live, se for necessário peço que enviem ao solicitante, alterações grandes não iremos realizar

Enviado para escolha do solicitante.

adicionei na pasta de entrada duas versões da capa da live, se for necessário peço que enviem ao solicitante, alterações grandes não iremos realizar

Enviado para escolha do solicitante.

Resposta do solicitante:
Olá, essa foi a escolhida

@MariaLuizaReviliau atualize no youtube pfvr.

Prontinho!

ATENÇÃO!
OS LINKS DAS REUNIÕES DO WEBEX DESSE EVENTO FORAM TODOS ATUALIZADOS:
dia 22/11: https://uffs.webex.com/meet/aline.daga
dia 24/11: https://uffs.webex.com/meet/angelastube
dia 29/11: https://uffs.webex.com/meet/marialaino
dia 01/12: https://uffs.webex.com/meet/angelastube

Live concluída e dados inseridos na planilha

authors: MariaLuizaReviliau MilenaPaz2020 PracticeUFFSBot luizatonial


text:
Store message rates for MO messages

We need to track the message rates for MO messages. This will be done in the message forwarding worker.

Relies on #60

@hodgestar Ready for review.

Left one question, but otherwise looks good.

@hodgestar Default metric window changed to 10 seconds. Ready for another review.

:+1:

authors: hodgestar rudigiesler

repo: praekelt/junebug


text:
Adding psycopg2 as dependency

Let's put it in the .deploy.yaml file as it's not a requirement for local dev but is for deploys.

@praekelt/milton ready for review

:+1:

repo: praekelt/molo


text:
[GSSoc'23] Added Game-of-thrones-personality-matcher #4088

Game-of-thrones-personality-matcher and ISSUENo. #4088

Added  Game-of-thrones-personality-matcher, this project aims to find Similar Game of Thrones Character using Machine Learning and Visualizing High Dimensional Data.
Close #4088

Screenshot of model:-

Checklist:

[Yes] I have mentioned the issue number in my Pull Request.
[Yes] I have commented my code, particularly in hard-to-understand areas
[Yes] I have created a helpful and easy to understand README.md

Please review this pr @MohitGupta121 @TusharKesarwani

repo: pranjay-poddar/Dev-Geeks


text:
Extremely slow downloads

@prateek-chaubey This is an amazing app you have created.
But download is extremely slow even on 4G, 5G.  (Like 80 kbps or something.)
Any chance faster downloads are supported.
Thank you.

This uses DownloadManager for downloading the files , i will check if it's the issue with download manager or something to better up the speed of downloading

It seems to be a command line tool, also i think a native implementation would be better rather than relying on a lib

authors: adithyaamara prateek-chaubey

repo: prateek-chaubey/YTPro


text:
ES6 module support sans build step

Is it possible to use preact-material-components directly in the browser via ES6 modules without a build step?
For example the following works in Chrome:
import {h, render} from './node_modules/preact/dist/preact.esm.js';
render(h('div', {}, 'oi'), document.body);

I would like to be able to do this:
import {h, render} from './node_modules/preact/dist/preact.esm.js';
import TextField from './node_modules/preact-material-components/TextField/index.js';
render(h(TextField), document.body);

If this isn't supported - then consider this a feature request.
Cheers!

https://unpkg.com/preact-material-components@1.3.1/index.js
is served as an esm
please let us know if you were looking for anything else.

Thank you!  I must be blind ;)

authors: prateekbh xxgreg

repo: prateekbh/preact-material-components


text:
Setup travis builds for the flink-connectors project

Problem description
We need to enable travis automated builds for this repository.
Problem location
Travis
Suggestions for an improvement
Setup travis to automate builds on this project.

This is resolved.

authors: fpj skrishnappa

repo: pravega/flink-connectors


text:
RE2 and RE3 request quick map binding

Hi there not a bug has such but a request to have the quick map action made available to select the map without going into the menu. Like how you added swap ammo type.
I can then bind it to double tap Y
Thanks for all your hard work :)

It’s been added.

repo: praydog/REFramework


text:
Getting error while trying to run the project

I am getting the below error while running it. Could you figure out why? Thank you.
pkg_resources.DistributionNotFound: The 'nflpool' distribution was not found and is required by the application

What steps did you do to install the project?
Off the top of my head:

git clone the project

Install the requirements via pip (in a virtual environment!):  pip install -e requirements.txt

Run setup.py:  python3 setup.py develop

That last step should fix the error as it installs nflpool as a module
Then you can start the Pyramid server using pserve as normal.
Let me know if you have any more questions or issues.
--Paul

Any luck?  Did it work?

After I did the 3rd step (which fixed the initial problem) then I got this following error while trying to run pserve development.ini;
    import nflpool.data.secret as secret ModuleNotFoundError: No module named 'nflpool.data.secret'

Did you take a look at the docs(https://nflpool.readthedocs.io/en/latest/admin-docs/install.html) and create the secret.py file in the data directory?
If you did do that, let me know, and I'll try and re-create the issue.  Sorry for the problems, would like to get them fixed for anyone else who might ever want to use it.  Really appreciate you opening the issue.
--Paul

I found the file 'secret.py' but there is another issue that we need to fill in that file. I need an account information and API key.. Is there any test account that we can use? or should I just create one by myself?

You have to have an account with MySportsFeeds - it's by far the least expensive option anywhere to get sports statistics - their competitors charge hundreds to thousands of dollars per month for similar services.
I believe if you create an account at https://www.mysportsfeeds.com/register access to past seasons data is free (which would work for testing), but if you are going to run this in real time, you'll need to contribute $1 per month for NFLPool to work.

Closing this as running python setup.py develop worked.  If you run into any other issues, please open a new issue, happy to help.

authors: efebuyuk prcutler

repo: prcutler/nflpool


text:
page does not refresh when press browser back button, if hash history is being used

what happed
1, create a default project by using preact-cli.
2, then following the preact-router document to add createHashHistory
3, then build the project, but a error will occur, just like mentioned below:
#377
4, after adding those build parameters --no-sw --no-ssr --no-esm --no-inline-css --no-prerender, the build can be done.
5, then run npm run serve to start dev server
6, open localhost:8080, then click Me, then click John
7, click the back button of browser several times.
8, the wrong page will be seen.
preact-router@3.2.1
history@5.0.0
preact@10.4.8
preact-cli@3.0.1

I had the same issue. I changed https://github.com/preactjs/preact-router/blob/master/src/index.js#L188 from:
this$1.routeTo(("" + (location.pathname || '') + (location.search || '')));
to:
this$1.routeTo(("" + (location.location.pathname || '') + (location.location.search || '')));
This might break other things but works for me.

Same issue here...
Browser back+forth doesn't work with hash history using history@5.0.0 with preact@10.5.7 and preact-router@3.2.1.
It works fine with history@4.10.1... 🤷♂

can confirm that using history@4.10.1 fixes it for me

authors: kufii midahp simbo xiaodid

repo: preactjs/preact-router


text:
Install project in editable mode when using a pyproject.toml manifest automatically

Problem description
With #1044 merged, I propose to automatically add current project as a dependency in editable mode when using a pyproject.toml manifest.
I do not see any reason not to, but maybe I am missing something?

Hi @garymm you are correct in the PR that closes this issue it was decided against an automatic install. Mainly because you can have multiple environments where you might not want an editable in all cases.
'pixi unit' does add it automatically to the .toml. If you find this behavior undesirable, feel free to make an issue where we can weigh the pro's and cons :)

authors: olivier-lacroix tdejager

repo: prefix-dev/pixi


text:
What are the differences between Pixi and Rye?

As far as I know, Pixi and Rye are quite similar?

He @linhduongtuan,
Pixi is build on top of the conda ecosystem, with plans to soon also support pypi. Which means you go a level deeper in to the isolation of the system then you can with only the python world. Because pixi/conda is a binary package manager we use packages build specifically for your platform and architecture.
This gives the possibility to not just install python packages or python itself as what Rye does but you can also install your non python tools like: Protobuf, CMake, Cudatoolkit, Postgress etc.
Personally coming from the robotics world we used conda packages for every single dependency of the applications, for all languages we used: Rust, C++ and Python.
I hope this clarifies it some more.

There are some other things to note:

Currently rye is a wrapper around piptools. In pixi we implement everything from the ground up in Rust, including download packages, extracting packages, solving for the right versions, ...
We use conda-forge to get you the Python version you want, while rye uses a build from indygreg (Github Release). We like to depend on a large community of dedicated package people :)
We are working towards also being able to solve & install PyPI packages using the same solver we use for conda packages. Once we have that, we will be able to properly integrate with the PyPI index as well. This could potentially be shared with rye, for example.

Thank @ruben-arts and @wolfv for your time and explanations

Glad to help! Hope you give it a try :smile: Closing this issue!

authors: linhduongtuan ruben-arts wolfv


text:
fix: extend path comparison in lockfile satisfiablity

This was an issue when using path dependencies in pyproject.toml

This line is where the error on windows in coming from: https://github.com/astral-sh/uv/blob/93559d5c2a949b0d3204401288866c61861bffc0/crates/pep508-rs/src/lib.rs#L1061-L1068


text:
support label prop

This patch makes the button text customizable.

Released in v0.2.0

authors: kmsheng prescottprue

repo: prescottprue/react-google-button


text:
Getting started question

This plug in is exactly what I need to trigger a build across multiple platforms.
I'm testing it out and struggling to get the build to run.
The build type I selected a build that takes in the configured parameters.

What do you see when you click RUN?
NOTE: this plugin was developer several years ago, so it can be incompatible with your version of TeamCity

Thanks for your reply. I just see the build kick off and 5 seconds later it's finished.
I actually don't know what to expect exactly.
Looks completely normal, no child builds triggered.
No matrix build tab.
I'm running TeamCity Professional 2022.04.1 (build 108575)

Could you please provide logs of this build?

authors: CraigRichards presidentio


text:
Support Confluent Schema Registry in Kafka Connector

The following support will be added:

Automatic schema resolution from schema registry
Inclusion of schema id in kafka internal columns
Specify key and message avro deserializers in table name, no need for topic description file but will be backwards compatible
Filter pushdown for partition id and offset
Limit pushdown

Fixes #2105

depends on: #2361
How do I make this pull request dependent on #2361 ?

@elonazoulay could you elaborate a bit more on why storing topic description on the table name or a kafka-topic will be a better alternative than description files?
I see to cumbersome for users to create a view per kafka-based table, and even storing table config in a kafka-topic will bring maintaining a new kafka-topic and have a "special" way to deal with this back-end (unless others use a similar approach---please correct me if I'm wrong).

Hi @jeqo, apologies for the delayed reply.

@elonazoulay The https://github.com/prestosql/presto/pull/2361 is merged. Can you please rebase so we could continue working on this?

@elonazoulay The #2361 is merged. Can you please rebase so we could continue working on this?

Sure, will do! Also changed the code to work with the updates to the kafka connector.

Update: if subject name strategy is the default then schemas are auto resolved.
If a different subject naming strategy is used, the custom subjects can be specified as follows:
Simple schemas for keys can be parsed by the reader so a producer can produce KafkaAvroSerialized keys and messages now.

Will remove the TopicInfoDecoder class shortly.

I find that changes are divided into commits in an arbitrary way. Like commit that introduces a simple thing that is not used. How about squashing them together? I guess it will be much easier for you to apply remarks that way. WDYT?

Makes sense! Yes it is easier:) I squashed the commits into larger groups that are related. Hopefully it will also be easier to review as well.

Superseded with https://github.com/prestosql/presto/pull/6137

authors: elonazoulay kokosing

repo: prestosql/presto


text:
FormField: Changed import statements so that they don't always try an…

…d pull from the src folder
I was incorrectly importing modules from the /src folder.

Codecov Report

Merging #132 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #132   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          29     29
  Lines         244    244
=====================================
  Hits          244    244

Impacted Files
Coverage Δ

src/InputField.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: byrekt codecov-io

repo: pricelinelabs/design-system


text:
color_syncnet_train.py报错

运行：
python color_syncnet_train.py --data_root ./data/preprocessed_root/original_data --checkpoint_dir ./lipsync_expert
报错：
C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\Loss.cu:103: block: [0,0,0], thread: [36,0,0] Assertion input_val >= zero && input_val <= one failed.
0it [00:07, ?it/s]
Traceback (most recent call last):
File "E:\AI\wav2lip_288x288\color_syncnet_train.py", line 276, in
train(device, model, train_data_loader, test_data_loader, optimizer,
File "E:\AI\wav2lip_288x288\color_syncnet_train.py", line 162, in train
loss.backward()
File "C:\AIr\anaconda3\envs\wav2lip_288\lib\site-packages\torch_tensor.py", line 487, in backward
torch.autograd.backward(
File "C:\AIr\anaconda3\envs\wav2lip_288\lib\site-packages\torch\autograd_init_.py", line 200, in backward
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

改为relu

@Canyao45 请问改如何修改呢

@Canyao45 请问改如何修改呢

you may try here: https://github.com/primepake/wav2lip_288x288/blob/b351d584523707c055225444b4883d40409071a4/models/conv2.py#L12

@cookabc It works！！！Thank you so much.

authors: A-ka-duo-jiu-o Canyao45 cookabc ltbjwzttzz shengzewen


text:
Document LMs Supported for MRC

aferritto created the following on Apr 29:
See MRC tests parameterization for list of model names which are validated.  Note this includes english only models whereas tydi is multilingual.
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/168

I think this is done. @bhavani105 please confirm if we can close this.

MRC tests currently only test the english models. There is no test for xlm-roberta.  Given the constraints of Github Actions resources, it would be difficult to add  expand the list of models.

repo: primeqa/primeqa


text:
Add height-fit helper similar to width-fit

For things on mobile, it can be helpful to cap the max-height of certain elements at 100% so the element does not overflow the page.
For example, height-fit would be useful for a box overlay of indeterminate height that you don't want to overflow the bottom of the viewport but instead want the inside of the box to scroll.

Included in 10.4.0

authors: jonrohan kevinsawicki

repo: primer/primer