Paket install crash with latest version

Description
Paket install command crashes when using "min" stategy
Repro steps

Use paket dependencies file :

source https://www.nuget.org/api/v2
strategy: min

nuget prometheus-net 2.1.0
nuget SSH.NET 2016.1.0

paket install

Expected behavior
Install success
Actual behavior
Paket throws exception :
Sharp.Core.FSharpFunc`2<Paket.ResolverStrategy, Microsoft.FSharp.Core.FSharpFunc`2<Paket.PackageResolver/GetPackageVersionsParameters, Microsoft.FSharp.Collections.FSharpList`1<System.Tuple`2<Paket.SemVerInfo, Microsoft.FSharp.Collections.FSharpList`1<Paket.PackageSources/PackageSource>>>>>,Microsoft.FSharp.Core.FSharpFunc`2<Paket.PackageResolver/GetPackageDetailsParameters, Microsoft.FSharp.Control.FSharpAsync`1<Paket.PackageResolver/PackageDetails>>,Microsoft.FSharp.Collections.FSharpSet`1<Paket.Domain/PackageName>,Paket.PackageResolver/ResolverRequestQueue,int,System.TimeSpan,System.Collections.Concurrent.ConcurrentDictionary`2<System.Tuple`3<Microsoft.FSharp.Collections.FSharpList`1<Paket.PackageSources/PackageSource>, Paket.Domain/PackageName, Paket.SemVerInfo>, Paket.PackageResolver/ResolverTaskMemory`1<Paket.PackageResolver/PackageDetails>>,Microsoft.FSharp.Core.FSharpFunc`2<Paket.PackageResolver/GetPackageDetailsParameters, Paket.PackageResolver/PackageDetails>,System.Collections.Concurrent.ConcurrentDictionary`2<System.Tuple`2<Microsoft.FSharp.Collections.FSharpList`1<Paket.PackageSources/PackageSource>, Paket.Domain/PackageName>, Paket.PackageResolver/ResolverTaskMemory`1<System.Collections.Generic.IEnumerable`1<System.Tuple`2<Paket.SemVerInfo, Microsoft.FSharp.Collections.FSharpList`1<Paket.PackageSources/PackageSource>>>>>,Microsoft.FSharp.Core.FSharpOption`1<Paket.Domain/PackageFilter>,System.Collections.Generic.IDictionary`2<Paket.Domain/PackageName, Paket.Requirements/PackageRequirement>,Microsoft.FSharp.Collections.FSharpSet`1<Paket.Domain/PackageName>,System.DateTime,Paket.PackageResolver/Stage,Paket.PackageResolver/StackPack,System.Collections.Generic.IEnumerable`1<Paket.PackageResolver/VersionCache>,Paket.PackageResolver/StepFlags) [0x004ac] in <4fc78e384d7f43a99722756d21071cbc>:0
...
  at<EMAIL_ADDRESS>(Paket.Domain/GroupName,b_REF) [0x000ff] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Microsoft.FSharp.Collections.MapTreeModule.mapiOpt<a_REF, b_REF, c_REF> (Microsoft.FSharp.Core.OptimizedClosures/FSharpFunc`3<a_REF, b_REF, c_REF>,Microsoft.FSharp.Collections.MapTree`2<a_REF, b_REF>) [0x00029] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Microsoft.FSharp.Collections.FSharpMap`2<TKey_REF, TValue_REF>.Map<b_REF> (Microsoft.FSharp.Core.FSharpFunc`2<TKey_REF, Microsoft.FSharp.Core.FSharpFunc`2<TValue_REF, b_REF>>) [0x00013] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Microsoft.FSharp.Collections.MapModule.Map<TKey_REF, T_REF, TResult_REF> (Microsoft.FSharp.Core.FSharpFunc`2<TKey_REF, Microsoft.FSharp.Core.FSharpFunc`2<T_REF, TResult_REF>>,Microsoft.FSharp.Collections.FSharpMap`2<TKey_REF, T_REF>) [0x00000] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.UpdateProcess.selectiveUpdate (bool,Microsoft.FSharp.Core.FSharpFunc`2<Paket.ModuleResolver/Origin, Microsoft.FSharp.Core.FSharpFunc`2<string, Microsoft.FSharp.Core.FSharpFunc`2<string, Microsoft.FSharp.Core.FSharpFunc`2<Paket.ModuleResolver/VersionRestriction, Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.FSharpOption`1<string>, string>>>>>,Microsoft.FSharp.Core.FSharpFunc`2<Paket.PackageResolver/GetPackageVersionsParameters, Microsoft.FSharp.Control.FSharpAsync`1<System.Collections.Generic.IEnumerable`1<System.Tuple`2<Paket.SemVerInfo, Microsoft.FSharp.Collections.FSharpList`1<Paket.PackageSources/PackageSource>>>>>,Microsoft.FSharp.Core.FSharpFunc`2<Paket.PackageResolver/GetPackageDetailsParameters, Microsoft.FSharp.Control.FSharpAsync`1<Paket.PackageResolver/PackageDetails>>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.FSharpOption`1<Paket.Utils/PackagesFolderGroupConfig>, Microsoft.FSharp.Core.FSharpFunc`2<Paket.Domain/GroupName, Microsoft.FSharp.Core.FSharpFunc`2<Paket.PackageResolver/ResolvedPackage, Microsoft.FSharp.Core.FSharpOption`1<Paket.RuntimeGraph>>>>,Paket.LockFile,Paket.DependenciesFile,Paket.PackageResolver/UpdateMode,Paket.SemVerUpdateMode) [0x00330] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.UpdateProcess.SelectiveUpdate (Paket.DependenciesFile,Microsoft.FSharp.Core.FSharpOption`1<string>,Paket.PackageResolver/UpdateMode,Paket.SemVerUpdateMode,bool) [0x000e6] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.UpdateProcess.SmartInstall (Paket.DependenciesFile,Paket.PackageResolver/UpdateMode,Paket.UpdaterOptions) [0x00001] in <4fc78e384d7f43a99722756d21071cbc>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit) [0x0002e] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.Utils.RunInLockedAccessMode<a_REF> (string,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, a_REF>) [0x0004f] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.Dependencies.Install (Paket.InstallerOptions) [0x0001d] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.Dependencies.Install (bool,bool,bool,bool,bool,Paket.SemVerUpdateMode,bool,bool,Microsoft.FSharp.Collections.FSharpList`1<string>,Microsoft.FSharp.Collections.FSharpList`1<string>,Microsoft.FSharp.Core.FSharpOption`1<string>) [0x0006e] in <4fc78e384d7f43a99722756d21071cbc>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit) [0x00021] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.Program.processWithValidationEx$cont@42<a_REF> (bool,Microsoft.FSharp.Core.FSharpFunc`2<a_REF, Microsoft.FSharp.Core.Unit>,a_REF,Microsoft.FSharp.Core.Unit) [0x00002] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.Program.processWithValidationEx<a_REF> (Microsoft.FSharp.Core.FSharpFunc`2<a_REF, Microsoft.FSharp.Core.Unit>,bool,Microsoft.FSharp.Core.FSharpFunc`2<a_REF, bool>,Microsoft.FSharp.Core.FSharpFunc`2<a_REF, Microsoft.FSharp.Core.Unit>,a_REF) [0x00067] in <4fc78e384d7f43a99722756d21071cbc>:0
  at Paket.Program.main () [0x000f0] in <4fc78e384d7f43a99722756d21071cbc>:0
  at <StartupCode$paket>.$Paket.Program.main@ () [0x00012] in <4fc78e384d7f43a99722756d21071cbc>:0
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0004c] in <04750267503a43e5929c1d1ba19daf3e>:0

Known workarounds
It would be great if someone can suggest one.

you wrote "with latest version". did this ever work with paket?
It looks like both package versions are incompatible

I don't know If it ever worked, It was to precise which version i'm using.
If they are incompatible then in MAX strategy this shouldn't work as well ?

ok looked at it. The problem is the gigantic search space here which arises because one lib needs the 4.1 system libs and the other one 4.3. Paket has a hard time to find that when it try with min strategy. Workaround is to reduce the search space manually:
source https://www.nuget.org/api/v2
strategy: min

nuget System.IO >= 4.3
nuget System.Globalization >= 4.3
nuget System.Linq >= 4.3
nuget System.Linq.Expressions >= 4.3
nuget System.Reflection.Extensions >= 4.3
nuget System.Text.RegularExpressions >= 4.3
nuget System.Xml.XmlDocument >= 4.3
nuget System.Diagnostics.Tools >= 4.3
nuget System.Net.Sockets >= 4.3
nuget System.Security.Cryptography.Algorithms >= 4.3
nuget System.Threading.Timer >= 4.3

nuget prometheus-net 2.1.0
nuget SSH.NET 2016.1.0

Ok, thank you for workaround and explanation !


remove "+" sign after comma

Fixes: Traceback (most recent call last):
File "/root/CleanroomInstallerScript/installer.py", line 143, in
seen on Python 3.9.18 in Rocky Linux release 9.4 (Blue Onyx)

Looks good, I use Python 3.10 (given by my distro) so the + syntax is reportedly fine on my end, didn't know it broke on 3.9 though.


Add rake task for granting content preview permission.

This rake task adds permissions to the "Content
Preview" aka authentication-proxy application for
all users who a) are not suspended and b) do not
already have it.
It also triggers a push to the application in
question to sync the permissions.
https://trello.com/c/LKNZT6qZ/185-content-preview-permissions-are-a-default-permission-in-signon

Is there already a mechanism in place to automatically add this to any users created after this point (similar to permissions for the support app)?

@alext There'll be discussions happening shortly between @bradleywright and 1st line support about that, but it's unsure at the moment whether that will happen, which is why I made it a rake task rather than a migration and made it only update users which don't have the permission already.
My plan was to delete the rake task if/when we add that functionality.


Move user sessions to Redis

This change additionally adds basic session viewing and deletion
to the admin dashboard by querying into the Redis session store.
This change depends on #264

Coverage increased (+0.3%) to 85.493% when pulling 774fbd62ba2cd8fb0e7b7b73631fce93605737d2 on feature/redis-cookies into 34a984df500fff3e041803c9c1143d086fd91417 on feature/sidekiq.


Grabbing cookies doesn't work.

I understand what the error means, but the thing is I cannot edit it or fix it since it takes no overloads. Could someone help me ?|

Just edit the project with your fix and rebuild the dll

what

The project is open source. Just change the file that does the trouble if you know how to fix it. Then rebuild the project. You will get a .dll file as build output.

try this
To fix this, you can add a check to make sure that the cookies exist before trying to look at them. That way, if there are no cookies, you won't get an error.
chrome = new ChromeGrabber();
var Cookies = chrome.GetCookies();

if (!string.IsNullOrEmpty(Cookies))
{
    foreach (var item in Cookies)
    {
        Console.Writeline(item);
    }
} else
{
    Console.WriteLine("No cookies found.");
}

try this
To fix this, you can add a check to make sure that the cookies exist before trying to look at them. That way, if there are no cookies, you won't get an error.
chrome = new ChromeGrabber();
var Cookies = chrome.GetCookies();

if (!string.IsNullOrEmpty(Cookies))
{
    foreach (var item in Cookies)
    {
        Console.Writeline(item);
    }
} else
{
    Console.WriteLine("No cookies found.");
}

The error seems to occur inside var cookies = chrome.GetCookies();, thus your suggestion would not work at all.


Add more ak verbs

Fixes #124
Fixes #128
add:

argcartesian
argcombinations
isclose
singletons
argsort (for axis > 0, from #130)
sort (for axis > 0)
appropriate error for copy
full_like (needs issue on awkward opened for meta calculation)
unflatten (currently simplistic implementation, needs work to be general since it requires repartitioning, but very important/necessary)
to_packed
ravel (with warnings about recordarrays)
run_lengths (with warning about axis=0)
from_regular
to_regular
broadcast_arrays (#128)

remove:

concatenate impl in structure.py

Codecov Report

Merging #146 (a91e1a0) into main (6004159) will decrease coverage by 0.12%.
The diff coverage is 97.61%.

@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
- Coverage   95.70%   95.57%   -0.13%
==========================================
  Files          19       19
  Lines        1791     1831      +40
==========================================
+ Hits         1714     1750      +36
- Misses         77       81       +4

Impacted Files
Coverage Δ

src/dask_awkward/lib/structure.py
96.28% <97.61%> (+0.21%)
:arrow_up:

src/dask_awkward/lib/core.py
92.91% <0.00%> (-0.48%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@douglasdavis Yeah - I ran into the same weird irreproducibility problem, and I haven't had time to dig into to it really. Just implementing so far. I can take a look by the end of the week.
For dak.unflatten I think we can get away with even this simplistic implementation so long as we can put some better checks on array compatibility. For instance, if we know that counts came from an earlier dak.num (this is actually a common pattern: flatten -> do stuff -> unflatten), which will have counts appropriate to the partitioning of the input array, we can easily allow that array through. I'm not sure if we can do that lazily with what we have here and now, but perhaps with a little analysis of the task graph we could verify things like that?
Otherwise the complete implementation requires the ability to repartition and shuffle dask-awkward arrays, which I think right now is step N+1 (much much lower priority than optimized reading and faster graph optimization).
I'd like to add yet a few more verbs so we can chew on this. I'd like to check with @nsmith- to make sure we've got all the mostly common ones. I think with the PR we have so far we're pretty good but would like to get regular-use coverage mostly done.

@agoose77 just FYI there are a number of TODO's in this PR that come from needing to .length_zero_array() a form to create an output form and then a typetracer from that. Instead of the operation on the typetracer completing successfully. I'm not sure if it's worth opening an awkward ticket for each one since it's pretty common.

@masonproffitt could you give this branch a try?

@douglasdavis pending a bit of user testing this is good to go now.

@lgray just want to confirm you have nothing else you'd like to add to this PR and I'll go ahead and merge!

@masonproffitt could you give this branch a try?

I tested this, and the only new problem that came up was #151


Integrating with facility API - showing useful data

Creating this as a tracker for what the acquisition web client might want to pull from a facility API. These are just initial ideas that could use more input from @stuartcampbell and @JunAishima. Initial ideas:

[ ] Obtain a data_session_id from the facility API for the current set of runs
[ ] Obtain related data to the session such as the proposal_id, saf_id, etc
[ ] Obtain and display useful beamline information in the interface such as name, location, contact details for relevant staff, emergency phone/email in case of issues, current status of ?

Ideally some of these things would be obtainable in prototype API that might be hardwired, along with the link to get it, i.e. the queueserver would certainly know a beamline identifier such as its FXI, HXN, etc, that would then be used to call facility API to get more information to display about the active beamline. The beamline and user identifiers might be enough to get the proposal identifier, etc.

what is the data_session_id for? do you mean experiment?
I will put in SAF info - not sure what should be in there, but will put in a shell for now
Will add instruments endpoint that you can use for getting basic info about the beamline. are those the two beamlines you would like to use for now?

I just picked two beamline names I knew, I guess one we should use id MAD, our pod-based made up beamline. The data_session_id is what we agreed to as a string that is a unique identifier that all light sources use to uniquely identify a data collection session, it doesn't need to be here yet, but it was a proposal along with other facility specific identifiers.


Doesn't track checkouts not made in session

Any checkouts that are made externally or before the editor was opened or before a reload window are not shown. Using the refresh checkouts button doesn't help. It used to work and pick up existing checkouts and those made during the editor session.
Name: Unofficial ClearCase SCM Commands
Id: openningia.vscode-clearcase
Description: Unofficial support for IBM Rational ClearCase most common commands
Version: 2.4.3
Publisher: OpenNingia
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=OpenNingia.vscode-clearcase
Version: 1.34.0 (user setup)
Commit: a622c65b2c713c890fcf4fbf07cf34049d5fe758
Date: 2019-05-15T21:59:37.030Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

What kind of view is this?
The checkedout list is refreshed always on editor window change. So you should see all checkedout files in the SMC view.
Could you please share the output of plugin. To do this open the internal terminal. In the upper left of this window, there is a menu entry called OUTPUT. After that you can select the output by selecting Clearcase SCM in the list.

@BillDenton you can personalize the find checkout command.
I, for example use: -me -cview -short -all and it works better in my views.
"vscode-clearcase.findCheckoutsCommandArgs": "-me -cview -short -all"


Question on TPMs and Wallets

Hello,
I am interested in researching how TPMs can be used as a pluggable storage together with an indy wallet. I observed that there is not a lot of material available on the internet so far, even in terms of research papers. I am aware of the API offered in indy, but besides this, it seems like no one tried it. Is anyone aware on a design/prototype that tries to accomplish this?
Thank you!
Best regards,
Teri.

A likely better place to add this is in the Aries Askar repo/context (https://github.com/hyperledger/aries-askar) and in the Hyperledger Discord Aries channel — https://discord.gg/hyperledger. Askar is the successor to the indy-wallet part of the indy-sdk. The use of the indy-sdk is being phased out in favour of newer implementations — Askar, AnonCreds (https://github.com/hyperledger/anoncreds-rs — a ledger agnostic version of AnonCreds for Indy and other ledgers) and Indy VDR (https://github.com/hyperledger/indy-vdr — a new client interface for writing/resolving objects on Indy).
I know there has been some discussion with Askar about its use in conjunction with TPMs and I know that some folks have considered it enough to think it is feasible, but it has not been done.  It’s a great topic.

Thank you @swcurran . Will continue with your links!
Teri.

Moving discussion to discord and closing question because it is not relevant for the project.


Authentication for APIs

Description

If we want a version of ETOS hosted online we need to make sure that there is support for authenticating against the APIs in ETOS.
Motivation

It would not be secure to have the APIs open to the Internet.
Exemplification

Eliminate random people trying to get in or hogging all resources.
Benefits

Yup
Possible Drawbacks

More difficult to test ETOS (and running it, if implemented poorly)

Moved to 1.6.0 due to lack of time for testing


Create a fully flexible splitter

The fully flexible splitter enables the definition of a very precise split of a dataset among partners. One can indicate for each partner the % of data samples of each class that the partner should receive.

Codecov Report

Merging #320 (91f915d) into master (2e28840) will decrease coverage by 0.99%.
The diff coverage is 17.07%.

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
- Coverage   82.63%   81.64%   -1.00%
==========================================
  Files          13       13
  Lines        2637     2669      +32
==========================================
  Hits         2179     2179
- Misses        458      490      +32

Impacted Files
Coverage Δ

mplc/splitter.py
81.53% <13.51%> (-14.76%)
:arrow_down:

mplc/scenario.py
82.60% <50.00%> (-0.48%)
:arrow_down:

mplc/dataset.py
85.83% <0.00%> (-0.21%)
:arrow_down:

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 2e28840...c08e5e2. Read the comment docs.

Codecov Report

Merging #320 (91f915d) into master (2e28840) will decrease coverage by 0.99%.
The diff coverage is 17.07%.

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
- Coverage   82.63%   81.64%   -1.00%
==========================================
  Files          13       13
  Lines        2637     2669      +32
==========================================
  Hits         2179     2179
- Misses        458      490      +32

Impacted Files
Coverage Δ

mplc/splitter.py
81.53% <13.51%> (-14.76%)
:arrow_down:

mplc/scenario.py
82.60% <50.00%> (-0.48%)
:arrow_down:

mplc/dataset.py
85.83% <0.00%> (-0.21%)
:arrow_down:

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 2e28840...c08e5e2. Read the comment docs.

What do you think of rewrite random and stratified on the top of this method ?

Agreed! But maybe not in this PR. It could be an enhancement (or refacto let's say) afterwards.

What do you think of rewrite random and stratified on the top of this method ?

Agreed! But maybe not in this PR. It could be an enhancement (or refacto let's say) afterwards.

@RomainGoussault could you check if your "requested changes" are now OK?


feat!: replace mlh-tsd with tsd-lite

Should unblock facebook/jest#11142 and facebook/jest#12198. Also this change would allow to uncomment few assertions of facebook/jest#11949. This is a lot! That is why I though it is time for tsd-lite.
The type testing logic is the same between tsd, mlh-tsd and tsd-lite.
The aim of tsd-lite was to remove logic unrelated with type testing. For instance, tsd and mlh-tsd are making few more checks like: if .d.ts file exist, if it is included in package.json files property, etc. These checks and rules are removed in tsd-lite.
Additionally tsd-lite is returning fileText for each failed assertion. TS compiler includes file contents with each diagnostic, so runner does not have to read files again.
Another feature I like – tsd-lite is using nearest tsconfig.json to read compiler options for each test file. This is close to how tsc works. User can have configuration for the whole project, or a group of test file, or just one test file. With "extends" option that’s incredibly flexible. For comparison, vanilla tsd is only using tsconfig.json from the root of the project, it also allows to add TS compiler options to package.json and has some defaults which cannot be overridden. Hm.. Might be good for a library written in JS, but sounds complicated and unnecessary for a TS project.
All differences are documented in tsd-lite repo – https://github.com/mrazauskas/tsd-lite
Test plan
I added test to cover both JS and TS projects.
Todo
Last but not least, I have to send another PR to update Readme file.

all of these features seems like things upstream tsd should support (turning off/skipping validation) or even straight up features (looking at closest tsconfig, which is the correct thing to do).
That said, happy to land them here now! Would you consider this a breaking change? I guess so due to the peer dep requirement (which is a good idea 👍 )

all of these features seems like things upstream tsd should support (turning off/skipping validation) or even straight up features (looking at closest tsconfig, which is the correct thing to do).

Indeed, can’t agree more.
The changes breaking. For instance, "stick": true must be set explicitly with tsd-lite. The vanilla tsd is the opposite – "stick": false must be set explicitly to disable strict checks. In a way, tsd-lite is switching defaults. That must be major release.
I will add a note on strictness to readme. Working on it.

Just fixed documentation. That’s obviously breaking change.
Also @type pragma is deprecated. It did not make sense to mention it in the readme, but perhaps it is worth to add a line to release notes.

Some more improvement. The vanilla tsd does not report if an error in tsconfig.json is encountered. Also any syntax errors found in the test files are returned together with test results. Hm.. I think in both of these case it is better to fail early. Otherwise the test result may be unpredictable.
tsd-lite now returns tsdErrors (alongside with tsdResults). So that the runner could throw Test suite failed to run if some syntax errors or issues with tsconfig.json are encountered.
Could not finish updating documentation without this improvement. Will move on with docs now.

@mrazauskas sorry, lost track of this. Do you think it's ready? 😀

In general it is ready. I have one more small change in tsd-lite. Will publish new version today and will bump it here.
At the same time, I was in doubt. The readme still sounds like this is a workaround. So I was fine to leave it to cool down a bit. And to ask again: does it look good? Hm.. Perhaps this is alright as a temporary solution?
Still working on what is mentioned in #32. Had to rewrite my parser completely, now only, skip and todo work as expected with describe and test. Also -t flag and watch mode (with run only failed). And much more.
I was trying to migrate some parts of Jest’s type tests to my new testing tool. Looked very promising. There are cases which do not work yet. Polishing it. Should be finished in few months. So this PR is somewhat temporary solution. At least that’s how I see it. Could be merged, but it can wait too.
Might be good idea to unblock the issues which I was mentioning in the first comment. How do you feel about it? (;

I'm hoping to have a burst of energy soonish to land a new major of Jest, at which point I wanna land an update of TS. So I think landing this now, while waiting for #32 makes sense - it's still an improvement over what we have today 🙂

@SimenB All should be fixed. Take a look, please.
Glad to hear you are think about a new major of Jest. Node 10 support also becomes more and more blocking. Time to move on?

Yep, dropping node 10 and 15 🙂

https://github.com/jest-community/jest-runner-tsd/releases/tag/v2.0.0

Can do a quick v3 dropping node 10?

Sure. Yes, I can do. Also Renovate will be happier.

Would you mind sending a PR to jest updating to v2?

Would you mind sending a PR to jest updating to v2? then we'll do v3 when I land facebook/jest#12220

Ok. Will do this.


Node: I2C readBytesReg commands are backwards

I have the following program:
'use strict';

var mraa = require('mraa');
console.log('mraa version: ' + mraa.getVersion());

var device = new mraa.I2c(1);
device.address(0x1D);

// Correct ordering
device.readWordReg(0x28 | 0x80);

// Incorrect ordering
device.readBytesReg(0x28 | 0x80, 6);

The readWordReg() function produces the following trace:

Notice the write, then the read.
The readBytesReg() function produces the following trace:

Notice the read, then the write.
The readBytesReg() function appears to put the read and write into the wrong order on the I2C bus.
I tested this with an LSM9DS0.
Environment: Edison using mraa v0.6.1-14-g0dd0395 under Node v0.10.36 on Ubilinux Debian 7 (wheezy).

Fixed


Expected logical operations to have two operands

thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
   left: `3`,
  right: `2`: expected logical operations to have two operands', compiler/codegen/src/builder/function.rs:1371:17

Affects the following files in OTP:

erts/preloaded/src/erts_code_purger.erl
erts/preloaded/src/erts_internal.erl
erts/preloaded/src/zlib.erl
lib/asn1/src/asn1ct_func.erl
lib/asn1/src/asn1rtt_real_common.erl
lib/common_test/src/ct_make.erl
lib/compiler/src/beam_block.erl
lib/debugger/src/int.erl
lib/diameter/src/base/diameter_gen.erl
lib/ftp/src/ftp_response.erl
lib/inets/src/http_lib/http_util.erl
lib/inets/src/http_server/mod_security_server.erl
lib/kernel/src/socket.erl
lib/mnesia/src/mnesia_event.erl
lib/mnesia/src/mnesia_sp.erl
lib/os_mon/src/os_sup.erl
lib/sasl/src/misc_supp.erl
lib/stdlib/src/binary.erl
lib/stdlib/src/erl_anno.erl
lib/stdlib/src/erl_bits.erl
lib/stdlib/src/erl_error.erl
lib/stdlib/src/filelib.erl
lib/stdlib/src/log_mf_h.erl
lib/stdlib/src/unicode.erl
lib/syntax_tools/src/erl_comment_scan.erl
lib/syntax_tools/src/erl_recomment.erl
lib/tools/src/make.erl
lib/tools/src/xref_reader.erl
lib/xmerl/src/xmerl_uri.erl
lib/xmerl/src/xmerl_xpath.erl

As confirmed by @hansihe on Slack:
The cause of this bug is because EIR groups chains of the same operator as a single operator with > 3 operands, so when the num_reads is 4 and the kind is And, then it's like from a and b and c and d as opposed to a and b where num_reads is 2.


WFLY-14072 SecurityException directly thrown

Directly throw unwrapped RuntimeException and SecurityException. Fixing WFLY-14072

@jimma It looks like this one is going to need a rebase but first are you happy with the approach?  Was there any reason the Exceptions thrown was limited?

@darranl @jimma The original purpose was to analyse the need for WFLY-14039. This has been done and solved. Will close this one and set "won't fix" in Jira.


Powerwall - Electricity Pathway Data

Is your feature request related to a problem? Please describe.
I'm trying to calculate savings made by using the battery and solar on my house, and for this I need to use information such as the number of KW's going from: Grid To Battery, Grid to House, Solar to Battery, Solar to House, Solar to Grid, Battery to House and Battery to Grid. Currently I need to create some somewhat clunky sensors that try to figure out that detail.
Describe the solution you'd like
I don't know if it would be possible from the API, but I was hoping there might be a way to create reliable sensors for the following:

Grid (Site) to Battery Now
Grid (Site) to House (Load) Now
Solar to Battery Now
Solar to House (Load) Now
Solar to Grid (Site) Now
Battery to House (Load) Now
Battery to Grid (Site) Now

Describe alternatives you've considered
As above, I have tried creating some template sensors for the above, using some calculations using the currently available "Now" sensors. Which work to a certain point, though are not 100% accurate

@BadgerLoaf I'd strongly recommend using the built-in HA integration for the Powerwall, which includes all these sensors. It talks to the Gateway on your local network, so will be much more reliable than going through the Tesla API. That integration is rock solid (as long as your Gateway has a good network connection).

Thanks @craigrouse.
That integration also doesn't have these sensors (unless I have missed something... quite possible! lol), but I will see if I can put a feature request in for that one too.
As you say, a direct connection is best where possible

@BadgerLoaf re-reading, I think you want some more granular ones than these? I.e., if the solar goes directly to the house and bypasses the battery, you want to know about that? I think you could probably derive those figures by calculating deltas between each of the sensors. The default integration has a huge number of sensors, plus a load that are disabled by default that you can optionally enable. Do you think these can do what you need?

Hi @craigrouse - You are correct, I would be looking a more granular detail.... showing where the power is actually going.... for example if solar is being produced, how much is going to the house, how much to the battery and how much to the grid.
Looking at the sensors on both integrations (this and the default), there are no sensors that do that.
Maybe I just need to work on my own template sensor calculations again, see if I can make them more reliable/accurate

The templates to correctly calculate this are actually quite complex.
But are documented here:
https://github.com/reptilex/tesla-style-solar-power-card#tesla-powerwall-usage


fix: allow GH priv key from env in helm chart

Allowing the ability to get the GH priv key from the env when using the helm chart.
Feature Code added in https://github.com/actions-runner-controller/actions-runner-controller/pull/383
I have tested switching between Env and file by toggling the new helm chart variable and this works without issue.
This feature increases the interop with secrets managers that inject to ENV at run time.

Is there anything else I need to do get this reviewed please?

I have the same issue - we are using vault and all secrets must be passed as ENV (not as file /etc/actions-runner-controller/github_app_private_key).
Is there any chance to review/merge this PR?
Thanks

We're going to review and merge this before our next controller minor release! Thanks for your patience.

@marchenkov Hey! How does this PR solve your issue?

we are using vault and all secrets must be passed as ENV

If you're using vault-k8s' injector you should get files instead of envvars.
How are you integrating vault with your setup?

We're going to review and merge this before our next controller minor release! Thanks for your patience.

Many thanks mainly commented to stop the stale bot 😀

@marchenkov Hey! How does this PR solve your issue?

we are using vault and all secrets must be passed as ENV

If you're using vault-k8s' injector you should get files instead of envvars. How are you integrating vault with actions-runner-controller in your setup?

I'm use vault-secrets-webhook and no way to inject to file.
https://banzaicloud.com/docs/bank-vaults/mutating-webhook/configuration/
So this PR can solve my problem, because I can read PEM from secret (now I receive error that file /etc/actions-runner-controller/github_app_private_key not contain PEM cert).

@marchenkov I was also wondering if this hard-coded env name and secretKeyRef values might affect your use-case
key: github_app_private_key
name: {{ include "actions-runner-controller.secretName" . }}

But after reading how bank-vaults mutating webhook works, perhaps that's also no issue.
Thanks for confirming!

I'm now wondering if authSecret.enabled=false added via #937 with the existing env helm value can be an alternative to your use-case @apr-1985 @marchenkov WDYT?


Reduce log verbosity on locations-api in prod/staging.

PostcodesCollectionWorker generates about 30k log entries an hour and they're not useful (mostly just messages like "start" containing no other info).

Aha it's RAILS_LOG_LEVEL on this one apparently.


NEI not working and crashing when looking up a smelting recipe with EnderIO mod added

Only by removing EnderIO from my modpack will NEI work normal and won't crash on smelting recipes, not 100% if it's EnderIO.
Crashlog: http://pastebin.com/YKiXrkZP

Try updating NEI and it's dependencies there are newer versions available that, for me at least, work.  I'm using ChickenCore <IP_ADDRESS> and NEI <IP_ADDRESS>


Startup: Load open pulls from the DB

So we don't start out blank.
There's a possibility that we'll load pulls that have been
closed in the meantime, but it's probably better that we
know about them anyway.
Closes #60

This looks good to me. CR :fire:

Made more commits after actually testing this. Might want to re-CR since I can't be trusted :-)

Cool! CR :fire:


Feature/ecs fargate datadog container definition

Hi, I've created a generic module for creating sidecar containers for DataDog, and I'd like to promote it.

For ECS Fargate
Output container definition instead of task definition

It's a simple module called
Please check it out.

It's too simple, so I don't understand the usefulness of this module.

It's hard to combine versatility and functionality.
If I can make a useful module, I will create a PR again. I'll close this one.


[New Feature] Get number of watches for a repository in Github

Is your feature request related to a problem? Please describe.
I think the number of people watching the repository in Github is still undone.
Describe the solution you'd like
I will add the function to get the same. I am already a contributor at this repository so I am completely aware of the guidelines. Kindly assign me the issue under GSSoC 2023.

Add this method @Sar-thak-3


Locale Selector:  develop a service that determines the users locale based on ipcinfo or Geo-ip

hahnrob created the following on Oct 07:

User Story

As a [user role below]:
As a developer of the Digital Design System Locale Selector

I need to:
develop a service that uses the stored ipcinfo or the stored geo-ip info plus browser language preference

so that I can:
enable the Locale Selector in the footer to accurately navigate global users to the correct local web pages

Additional information

This issue is dependent on the design and the package architecture https://github.com/carbon-design-system/ibm-dotcom-library/issues/515
final design and specs
- Includes:  Functional labels, Visual redlines, Behavior and interaction specs, Desktop and mobile
Box link to Mary O'Donnell's functional specs
This issue is related to issue 1815 and Issue 1816
This service will first fetch the ipcinfo cookie, if it exists, if not it will fetch the location and language based on geoip and browser language.  The output is an object containing cc-lc.
US-EN country list
France-French country list

Acceptance criteria

[ ] Component has been tested using Netlify
[ ] The component development follows a modular component pattern
[ ] The component should be accessible via ES6 import
[ ] The component should be visible within the living documentation of the Dotcom components
[ ] Presented and approved Product Owner

Original issue: https://github.ibm.com/webstandards/digital-design/issues/1817

On Oct 10, Anna-Wen commented:
@Jeff-Chew @james-dow @Kenny-Lam Would this service also handle verification of cc-lc? Maybe we would want to create another util that would do that and include it in this service here.
AFTER DISCUSSION:
Will include the verification logic in this service, the geo-ip util will only be responsible for returning the cc

@annawen1 I created and cleaned up all of the JSON files, attached here. I tried uploading though and my username specifically doesn't have access, I didn't try the functional ID but I'm assuming it may be the same thing. Going to reach out to the webmaster team about it.
https://app.zenhub.com/files/193129061/315a5b69-5b05-4490-a50f-9f52e81e2328/download


Add log to inform skipped(non-empty) hypervisors

This PR depends on https://github.com/canonical/charmed-openstack-upgrader/pull/334. Please consider only the latest commit for review until the dependent PR is merged.
Add log to inform user about skipped hypervisors(those having VMs running) at plan stage.
fixes: https://github.com/canonical/charmed-openstack-upgrader/issues/326

@zxhdaze Can you rebase this on current main, I merged #334. Thanks


Avoid passing module as the first argument or make it optional

What about using parent-module or directly callsites to avoid the need of passing module as the first argument?

Currently to achieve this result I have to use a proxy module like that
var requireDirectory = require('require-directory');
var parentModule = require('parent-module');

module.exports = function(path, options) {
  return requireDirectory(require.cache[parentModule()], path, options);
}

It would be nice to have this feature supported directly.


[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid"

Ref issue posted first here: https://github.com/btcpayserver/btcpayserver/issues/1191
Background
Using BTCPay server to run lightning.
All commands to lnd gives this error:
bitcoin-lncli.sh walletbalance
[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid"
Despite this, sending and receiving payments with BTCPay server works fine.
Your environment

version of lnd

lnd:v0.7.1-beta

which operating system (uname -a on *Nix)

Linux BTCPayServerVM 4.15.0-1019-azure #19-Ubuntu SMP Thu Jul 26 19:54:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

version of btcd, bitcoind, or other backend

bitcoin:0.18.0

You may be running the server on another port, or your cert is expired. Double check your port/host for the main server. If it's expired, then you need to restart your lnd node, and the cert will be re-generated.


fix fix memtable memory limiter total mem usage

Proposed changes
Previously, mem_usage = write_mem + flush_mem, because active_mem is included in write_mem.
After #40912, write_mem becomes queue_mem, which no longer includes active_mem.
This PR fixes this problem, by setting mem_usage = active_mem + queue_mem + flush_mem

run buildall


docs: fix wrong code sample in docusaurus-core

Motivation
See the diff, the function in the example isn't returning anything
Have you read the Contributing Guidelines on pull requests?
Partially
Test Plan
Not adjusted code/tests, I don't think the code examples in the documentation are tested, or else this fix wouldn't be needed ;-)
Related PRs

The CLA bot is not working well these days ㄟ(▔,▔)ㄏ


Add pip examples

Picking up from https://github.com/actions/cache/pull/14
Resolves #3
Thanks @surgo for starting this work!

Another idea, similar to @shadowmoose's https://github.com/actions/cache/pull/14#issuecomment-552178396:

You can provide --cache-dir or set the PIP_CACHE_DIR environment variable to whatever path you like and it should be respected.

https://github.com/pypa/pip/pull/6391#issuecomment-552227976

@hugovk I saw that, thanks for following up with the pip team!
The only concern with setting the cache directory is that the user will have to determine where they want their cache, and requires setting the cache directory for every pip command they run (which could be easy to forget).

The env var might help with that, but I agree and definitely prefer to let pip do its thing with no changes.

Edit: Requested a pip cache dir command at pypa/pip#7350.

Now released in pip 20.1! https://github.com/actions/cache/pull/285


"Microsoft.AspNetCore.Mvc" dependency brings kitchen sink, and is unneccessary

I'm developing a pure web api, the SwaggerGen and SwaggerUi has kitchen sink dependency, and also something that is not intended:
    "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
    "Microsoft.AspNetCore.Mvc.Core": "1.0.0-rc2-final",

This makes no sense, Mvc includes the Core, and everything else, including Razor (views) etc.
To make this lean, the SwaggerGen and SwaggerUi should not add "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final" dependency, instead it should list Core and other smaller packages it actually uses in the Mvc.
E.g. for building a project.json without that big dependency, project.json in my example project, is built from smaller Mvc packages.

:+1: I'll add that Microsoft.AspNetCore.Mvc.ApiExplorer is factored out into it's own package so that packages like Ahoy can have a lean set of dependencies.
If you get a chance to look at this one let me know ASAP if you run into any blocking issues because we're locking for the real 1.0.0 soon.

Good catch. Resolved with this commit https://github.com/domaindrivendev/Ahoy/commit/a3b0875e435e13196dd0982ad329cd13d4be46e5


"Login with Google" link stopped working when updated to 7.1.224

I am experiencing the same issue. The application will do nothing when I click on Login with Google account.

same here... am trying the beta channel for fix

I've managed to reproduce this issue. Will look more into it.

Yup same here :( This is a major regression for a feature on the first window of the app, and unfortunately it completely prevents use of the Desktop app if you use google, in what is supposed to be a stable release :/ After the mail of the big boss yesterday, this is a disappointment, but times must be rough... Good luck with the bug chase.

As a workaround, you can reset your password using the google account you want to log in with and then log in normally with email/password. This doesn't disable login-with-google, just adds a password to your account.
Obviously the workaround is less than ideal, but at least I can get back to tracking my time. :) Good luck with the bug.

Thank you for your suggestion @johnpbloch. However, as far as I could see in the web UI, changing a toggle account password requires the current password, and of course, having created my account from google I don't have any.
There is still one obvious workaround : use the website...

@OlivierJaquemet Right, I mean't use the "Forgot Password" reset. Imprecise wording on my part. :)

Thank you @johnpbloch ! Setting a password through the "forgot password" allows for a working desktop app afterward.

The installer was missing dependent assemblies list, in file TogglDesktop.exe.config

I'm having this problem in both the desktop and web version trying to set up a new account ("login with google").
I already have an account but I'm trying to make one with a different email.


Failed to installed chaincode with new tag after migrating 2.2.2 to 2.5.4

Description
Hi ,
I am trying to install chaincode with new changes in chaincode but getting this error
Error: failed to endorse chaincode install: rpc error: code = Unknown desc = error validating proposal: access denied: channel [] creator org unknown, creator is malformed
peer log
2023-08-25T12:27:22.461148297Z 2023-08-25 12:27:22.460 UTC 00be WARN [endorser] Validate -> access denied channel= txID=fb26c4f1 error="the supplied identity is not valid: x509: certificate signed by unknown authority" errorVerbose="x509: certificate signed by unknown authority\nthe supplied identity is not valid" identity="(mspid=Org1MSP subject=CN=Admin@org1.example.com,OU=admin,L=San Francisco,ST=California,C=US issuer=CN=ca.org1.example.com,O=org1.example.com,L=San Francisco,ST=California,C=US serialnumber=303277647828874040466980859441972820331)"
2023-08-25T12:27:22.461192748Z 2023-08-25 12:27:22.460 UTC 00bf WARN [endorser] ProcessProposal -> Failed to preProcess proposal error="error validating proposal: access denied: channel [] creator org unknown, creator is malformed"

peer log message
the supplied identity is not valid: x509: certificate signed by unknown authority" errorVerbose="x509: certificate signed by unknown authority\nthe supplied identity is not valid" identity="(mspid=Org1MSP subject=CN=Admin@org1.example.com,OU=admin,L=San Francisco,ST=California,C=US issuer=CN=ca.org1.example.com,O=org1.example.com,L=San Francisco,ST=California,C=US serialnumber=303277647828874040466980859441972820331)
Steps to reproduce

start a fabric network with version 2.2.2. (peer: 2.2.2, orderer: 2.2.2, ca:1.5.2, couch:3.1.1)
asset-transfer-basic/chaincode-javascript chaincode deployed on this network
After chaincode deployement, Invoked a function and make some write operation.
Now upgrade fabric to 2.5.4 (peer: 2.5.4, orderer:2.5.4, ca:1.5.6, couch:3.3.2) and mounting the backup data and starting container
Make a change in chaincode and trying to re-deploy chaincode with new version. After packaging chaincode , trying to install chaincode on peer using following command

docker exec -e<EMAIL_ADDRESS>-e "CORE_PEER_TLS_ ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_ADDRESS=peer0.org1.example.com:7051" -e "CORE_PEER_TLS_ENABLED=true" peer0.org1.example.com peer lifecycle chaincode install asset-transfer-basic.tar.gz

Hi team, please provide update on this

The error means the client certificate is not recognized as being signed by the org's CA. It can be caused if the client and peer MSP directory are not in sync or got updated.


Can't get essentia out of a Synthesis Table

Description
There is currently no way to remove essentia from a Synthesis Table except for breaking and replacing it, which wastes the essentia entirely. This is annoying. For now, it is best to simply add essentia as needed, making careful use of single-essentia vessels.

Synthesis Tables are no longer output-only. May need to be revisited in the future when essentia transport is implemented.


Last Hidden Layers Embedding for Emotion Model

How one can get last hidden layer representation when you pass the audio file as input ? Is there any direct way one can get that embeddings ? If no what is the proper way to do that ? Also how this model work in real case scenario if I use this last embeddings and glove text representation to predict emotion ?

Hello, I guess your question is about how to extract speech representation given an audio file?
If so, please refer to our doc

import torch
from s3prl.nn import S3PRLUpstream
model = S3PRLUpstream("hubert")
model.eval()
with torch.no_grad():
wavs = torch.randn(2, 16000 * 2)
wavs_len = torch.LongTensor([16000 * 1, 16000 * 2])
all_hs, all_hs_len = model(wavs, wavs_len)
for hs, hs_len in zip(all_hs, all_hs_len):
assert isinstance(hs, torch.FloatTensor)
assert isinstance(hs_len, torch.LongTensor)
batch_size, max_seq_len, hidden_size = hs.shape
assert hs_len.dim() == 1

This is the code to get representation ? right

Yes, the all_hs is the representation you want.

Also the tensors we are getting are of all same size or different here ? I am actually building emotion classifier using https://github.com/KrishnaDN/Emotion-Recognition-Using-MSCNN-SPU ; so I want representation which I can directly append to mfcc features.

So far, all the tensor have the same shape. However, this is not guaranteed since the API the designed to be able to cope with future advanced models with different shapes in internal layers. Hence, you can know each layers' property according to here. You can get the information for each layer, including hidden_size and stride (downsample rate from 16000 Hz)

Also how your model performs for cross corpus setting ?

I believe this is also a research topic for SSL models transferability to unseen language / corpus... etc.
So far, it is shown in SUPERB they have quite good transferability on many different corpora & tasks including IEMOCAP (audio-only). However, I believe there are still other corpora they can not deal with, especially for the noisy ones, since they are usually pretrained on LibriSpeech, LibriLight with relatively clean speech.

https://huggingface.co/superb/wav2vec2-base-superb-er Where I can get last layer hidden representation for this model ?

Hi @leo19941227  which model have you used to train after getting wave2vec embeddings , also can you share the code for same ?

Specified by:
https://github.com/s3prl/s3prl/blob/087b27bfb5d3eb265a6d9a17bc843a55416d98ab/s3prl/downstream/emotion/config.yaml#L38


AoT v0.5.1 Module node_modules/angular2-logger/core has no exported member LOG_LOGGER_PROVIDERS

AoT doesn't seem to like:
import { Logger, LOG_LOGGER_PROVIDERS } from 'angular2-logger/core';
Errors with:
Error at /Users/phil/Documents/Projects/aot/src/app/app.module.ngfactory.ts:281:39: Module '"/Users/phil/Documents/Projects/node_modules/angular2-logger/core"' has no exported member 'LOG_LOGGER_PROVIDERS'.
Error at /Users/phil/Documents/Projects/aot/src/app/app.module.ngfactory.ts:732:44: Module '"/Users/phil/Documents/Projects/node_modules/angular2-logger/core"' has no exported member 'LOG_LOGGER_PROVIDERS'.

Angular 2.3.1
Typescript 2.0.10

What is AoT?

@langley-agm https://angular.io/docs/ts/latest/cookbook/aot-compiler.html

Maybe see also<EMAIL_ADDRESS>

Gotcha, do you mind sharing an example with your issue reproduceable?

I've worked around it via:
import { Logger, Options, Level } from 'angular2-logger/core';
then inside my NgModule:
        Logger,
        { provide: Options, useValue: { level: Level.LOG } },

basically, manually doing what the LOG_LOGGER_PROVIDERS does

Looks like https://github.com/Stabzs/Angular2-Toaster just went 2.0.0 and is now fully AoT and UMD. Might be an idea to borrow how they have done things :)

I'm getting a related error trying to build an AoT optimized app:

build prod failed: Error encountered resolving symbol values statically. Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler (position 47:14 in the original .ts file), resolving symbol DEBUG_LOGGER_PROVIDERS in /node_modules/angular2-logger/core.d.ts

I'm new to AoT, but here are some AoT Do's and Don'ts:
https://github.com/rangle/angular-2-aot-sandbox#aot-dos-and-donts
Going to try what Phil did above for now.

@vkniazeu Thanks for the feedback, I'm working on this issue atm, trying to find a way for both configurations to work.


[5.1] IRGen: Reenable caching opaque type metadata accessors.

Explanation: Opaque type metadata accesses were not cached, in an attempt to allow for dynamic replacement, but dynamic replacement cannot safely change an already-instantiated opaque type's underlying type, and removing the caching causes pathological performance regressions.
Scope: Bug fix.
Issue: rdar://problem/53213600
Risk: Low, the behavior it changes was not supportable to begin with.
Reviewed by: @DougGregor, @nate-chandler

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 35679508e45da93abbe2e7b150763b014b0c47a3

Build failed
Swift Test OS X Platform
Git Sha - 35679508e45da93abbe2e7b150763b014b0c47a3

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 35679508e45da93abbe2e7b150763b014b0c47a3

@swift-ci Please test OS X


Examples and docs are down

looks like its missing some core files

Looks like I had forgotten to set the .gitignore to allow for the website build files to show up on the repo, corrected it.
In the meantime:
http://codepen.io/collection/nrkjgo/


Flutter stripe implementation application crash

I am trying to implement stripe payment plugin for flutter and add the plugin in pubspec.yaml same as flutter stripe payment example but it gives me below error... I am using in the new fresh application.
Performing hot restart...
Syncing files to device Android SDK built for x86...
Restarted application in 2,713ms.
E/flutter ( 4683): [ERROR:flutter/shell/common/shell.cc(181)] Dart Error: Unhandled exception:
E/flutter ( 4683): MissingPluginException(No implementation found for method setPublishableKey on channel stripe_payment)
E/flutter ( 4683): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
E/flutter ( 4683): <asynchronous suspension>
E/flutter ( 4683): #1      StripeSource.setPublishableKey (package:stripe_payment/stripe_payment.dart:21:14)
E/flutter ( 4683): #2      _MyAppState.initState (file:///E:/workstation/stripe_app/lib/main.dart:20:18)
E/flutter ( 4683): #3      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3763:58)
E/flutter ( 4683): #4      ComponentElement.mount (package:flutter/src/widgets/framework.dart:3629:5)
E/flutter ( 4683): #5      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2919:14)
E/flutter ( 4683): #6      Element.updateChild (package:flutter/src/widgets/framework.dart:2722:12)
E/flutter ( 4683): #7      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:881:16)
E/flutter ( 4683): #8      RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:852:5)
E/flutter ( 4683): #9      RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:798:17)
E/flutter ( 4683): #10     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2235:19)
E/flutter ( 4683): #11     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:797:13)
E/flutter ( 4683): #12     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:689:7)
E/flutter ( 4683): #13     runApp (package:flutter/src/widgets/binding.dart:728:7)
E/flutter ( 4683): #14     main (file:///E:/workstation/stripe_app/lib/main.dart:6:3)
E/flutter ( 4683): #15     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:289:19)
E/flutter ( 4683): #16     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
E/flutter ( 4683): [ERROR:flutter/shell/common/shell.cc(181)] Dart Error: Unhandled exception:
E/flutter ( 4683): MissingPluginException(No implementation found for method addSource on channel stripe_payment)
E/flutter ( 4683): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
E/flutter ( 4683): <asynchronous suspension>
E/flutter ( 4683): #1      StripeSource.addSource (package:stripe_payment/stripe_payment.dart:12:41)
E/flutter ( 4683): <asynchronous suspension>
E/flutter ( 4683): #2      _MyAppState.initState (file:///E:/workstation/stripe_app/lib/main.dart:21:18)
E/flutter ( 4683): #3      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3763:58)
E/flutter ( 4683): #4      ComponentElement.mount (package:flutter/src/widgets/framework.dart:3629:5)
E/flutter ( 4683): #5      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2919:14)
E/flutter ( 4683): #6      Element.updateChild (package:flutter/src/widgets/framework.dart:2722:12)
E/flutter ( 4683): #7      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:881:16)
E/flutter ( 4683): #8      RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:852:5)
E/flutter ( 4683): #9      RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:798:17)
E/flutter ( 4683): #10     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2235:19)
E/flutter ( 4683): #11     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:797:13)
E/flutter ( 4683): #12     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:689:7)
E/flutter ( 4683): #13     runApp (package:flutter/src/widgets/binding.dart:728:7)
E/flutter ( 4683): #14     main (file:///E:/workstation/stripe_app/lib/main.dart:6:3)
E/flutter ( 4683): #15     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:289:19)
E/flutter ( 4683): #16     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

The plugin might need an update.
It's last release is from May.
I think it's better to file an issue in https://github.com/jonasbark/flutter_stripe_payment

Ok Thanks

open only the Android project in a new window on AS:
Add in the MainActivity the FlutterFragmentActivity(): like this:
class MainActivity(): FlutterFragmentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
}
}
Customize imports
Upgrade the kotlin version in build.gradle file of your app:
ext.kotlin_version = '1.2.71'
and thats it! 👍


Manual exceptions

Is there a way to to manually override the checks? For instance at Cilium https://clomonitor.io/projects/cilium/cilium
We have a a USERS.md rather than ADOPTERS.md https://github.com/cilium/cilium/blob/master/USERS.md
and our governance file is in the documentation folder which wasn't part of the scan https://github.com/cilium/cilium/blob/master/Documentation/contributing/governance/commit_access.rst

and we also have the changelog with each release notes https://github.com/cilium/cilium/releases/tag/v1.11.2

Hi @xmulligan 👋
There isn't any way to override locations for checks yet, but it's something we are considering. We recently introduced the .clomonitor.yml metadata file that we could extend for this purpose.
In addition to detecting the the  ADOPTERS.md file, we also check if an Adopters header is present in the README.md. If adding a minimal section to your readme file pointing users to the USERS.md file sounds like a good option, it should do the trick 🙂 The Kubernetes project has handled it this way, for example. This works for some more checks, including Governance.

Regarding the changelog check, we are actually checking the notes of the last release looking for this pattern (?i)changelog. Maybe we could also check for an additional pattern with changes in a header title 🤔 The trick mentioned above would work for the changelog check as well though.

for the ADOPTERS.md check, I think we should check for ADOPTERS.md or USERS.md @tegioz and just build that into the check

for the ADOPTERS.md check, I think we should check for ADOPTERS.md or USERS.md @tegioz and just build that into the check

Done 👍

Thanks for the help! We are going to do something similar to Kubernetes see https://github.com/cilium/cilium/pull/19037

I've just realized that your README file uses reStructured text, not markdown. At the moment we only support detecting those headers in markdown files @xmulligan.

The regular expressions we are using for headers look for the hash symbols used in markdown headers (IIRC headers in reStructured text are different). But I think maybe we could also accept those words (Governance, etc) when they appear at the beginning of a line and it's the only word on it. That should make it work for this case and it's generic enough to be ok.
I'm finishing something but as soon as I'm done I'll take a look at this, will keep you posted 👍

It's done @xmulligan, we should be able to detect those headers in README files using reStructured text 🙂
Will deploy it within the next hour 🚀

Thanks @tegioz ❤ really appreciate all the help 💯

No worries! 😊👋

ok, sorry same question about the slack now 😅 We have been approved to keep the Cilium + eBPF slack separate from the CNCF or K8s slack. What can we do to meet the requirement?

Hi @xmulligan
We have a few options to handle this:

You could wait until support for checks exemptions is ready (#154), which would allow you to skip this one.

We could relax a bit the Slack check and accept other workspaces as well as headers in the README file. Not sure if this is an option though. What do you think @jeefy? (check requested in #129)

I'd like to not encourage other Slacks outside of k8s/CNCF so let's just
wait for exemptions atm
On Fri, Mar 18, 2022 at 9:20 AM Sergio C. Arteaga @.***>
wrote:

Hi @xmulligan https://github.com/xmulligan
We have a few options to handle this:

You could wait until support for checks exemptions is ready (#154
https://github.com/cncf/clomonitor/issues/154), which would allow
you to skip this one.
We could relax a bit the Slack check and accept other workspaces as
well as headers in the README file. Not sure if this is an option though.
What do you think @jeefy https://github.com/jeefy? (check requested
in #129 https://github.com/cncf/clomonitor/issues/129)
—
Reply to this email directly, view it on GitHub
https://github.com/cncf/clomonitor/issues/120#issuecomment-1072457523,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPSIITNLI4DWIH5VXOOUDVASGL3ANCNFSM5P2HVIPA
.
You are receiving this because you commented.Message ID:
@.***>

--
Cheers,
Chris Aniszczyk
https://aniszczyk.org

Ok, cool 👍
Will close this issue in favor of #154 @xmulligan. You'll be able to add an exemption for this check as soon as #154 is ready.

Support for exemptions is ready @xmulligan. Please see the checks document for more details.

Thanks for the help, I've opened https://github.com/cilium/cilium/pull/19235 to cover this 💯


Failed email raises error

Originally created by Tom Smyth at 2015-09-12 13:03, migrated from redmine-#3082

Status changed from New to Closed

By Tom Smyth at 2015-09-23 05:33


Add MIT license field to package.json

License unchanged, simply add to package metadata.
This allows license-checker (GitHub) to properly read the license in this repo, instead of returning "UNKNOWN". I tested that this fixes that issue in my node_modules directory.

Coverage remained the same at 79.231% when pulling fc1a68b7162a347a2190d25af10a6c94f5a00e22 on jeffvandyke:patch-1 into cfcdf08a71671adc8de7c0734c615ea3640ab3d9 on stackworx:master.


Suggestion: Filter check boxes.

Primarily looking for "Can be buffed with Grease" and "Can use other Ashes of War."
This is the last little bit for the site to be perfect imo, sometimes I want the versatility of various ashes of war, and sometimes I want the strongest weapon that can also be buffed by grease on top for variable buffed damage. But it's kind of hard to memorize which weapons prevent that or browsing the weapons if that particular affinity blocks buffs.

I think additionally, checkboxes for each column would be nice, where checking it removes any rows with null data.
For example, checking the box in the poison status column would only show you weapons that can cause poison buildup.


Adding examples/experience/anecdotes from real communities to our collected features.

Based on the BioJS eLife article, and the content collected during the Open Space session at BOSC2015, I've started adding more flesh to the features document.
I'm trying that, so we can get a feeling of how is a good way to add/introduce examples/anecdotes from many different example OSBCs. Hopefully, when others see how we've added such content, it'll be clearer to them how to do the same.
As I don't actually contribute any code, or use any of these myself at the moment (as a project manager I hardly ever write any code any more), would be great if some of you could have a go at adding this kind of thing based on your much more current experiences of this kind of thing!
I may need, once several of us have added something, discuss how to most usefully do this, but we won't know that until we start looking at what different people put in.

Thanks a lot Aidan. IMO the discussion chain like this can help us think clearly about what to write/add.
Just a heads up, Many people (living in Europe) seem to be on holidays right now, so hopefully we can expect higher contributions after August.

Thanks for that, Malvika - aye, you're right about the holidays - it's funny, at the moment, as you say, many are away, but the flip side of that is that I (now I'm back from my own holidays!) have actually got some time free to devote to pushing this along!! :)

Closing this issue, to consolidate discussion of which communities to include/reach out to for the manuscript into one issue i.e. #38


Initial gradle setup

This PR enables running Gradle as part of the Maven build as explained at http://andresalmiray.com/running-gradle-inside-maven/
The Gradle build is bound to the package phase. This can be changed to another lifecycle phase if needed.
The default Gradle task is build however a different goal may be supplied on the command line, for example
mvn -am -pl refactor-first-gradle-plugin -Dgradle.tasks=publish package

Thanks @aalmiray!  I've been able to find and also added the needed dependencies and repo for developing the Gradle plugin.  I'm not sure how deployments will work - I know that with Maven Central folks are only allowed to upload their artifacts if all dependencies live in Maven Central.  I may need a bit of help working around that and/or pushing to repo.gradle.org
Thanks!
Jim

Thanks @aalmiray!  I've been able to find and also added the needed dependencies and repo for developing the Gradle plugin.  I'm not sure how deployments will work - I know that with Maven Central folks are only allowed to upload their artifacts if all dependencies live in Maven Central.  I may need a bit of help working around that and/or pushing to repo.gradle.org
Thanks!
Jim

Hmmm - it looks like the build fails when I include the two dependencies and the repo.  I'll need to investigate. :-)

Hmmm - it looks like the build fails when I include the two dependencies and the repo.  I'll need to investigate. :-)

Hi Jim, unfortunately you may need to declare dependencies twice, on the pom.xml and on build.gradle IF those dependencies are modules of the RefactorFirst project. If they are external dependencies then you may define them only on the build.gradle file.
Why is this? Because Gradle is run as a separate process from the Maven reactor and thus is unaware of the project dependencies contained within.

Hi Jim, unfortunately you may need to declare dependencies twice, on the pom.xml and on build.gradle IF those dependencies are modules of the RefactorFirst project. If they are external dependencies then you may define them only on the build.gradle file.
Why is this? Because Gradle is run as a separate process from the Maven reactor and thus is unaware of the project dependencies contained within.

Thanks for the explanation 😊. I realized I need probably need to import the Gradle plugin module as a Gradle project in order to get imports and intellisense working in IntelliJ.  I'll try that and see if it works (I think it should).
Thanks for being willing to help with publishing the plugin too!

Thanks for the explanation 😊. I realized I need probably need to import the Gradle plugin module as a Gradle project in order to get imports and intellisense working in IntelliJ.  I'll try that and see if it works (I think it should).
Thanks for being willing to help with publishing the plugin too!

Good news @aalmiray - I have been able to import the Gradle plugin in IntelliJ as a Gradle project and intellisense works. :-)

Good news @aalmiray - I have been able to import the Gradle plugin in IntelliJ as a Gradle project and intellisense works. :-)


Dose anyone run the code successfully?

Prepare data:
1.Preprocess data: I don't know what operation my CT data needs, what the data format should be and what the final result is.
2.Compute bounding-boxes: This step requires two folders ‘Lungs' and 'Images'. Is this the result from the previous step? What is stored in them?
3.Prepare data: This step requires three folders, and a new folder called ’Airway' has been added. What are about these?
Dose anyone know about this?

I have browsed all the steps of data preprocessing. What do in_roimask_dir, in_2ndmask_dir, reference_dir,crop_boundboxes_file, rescale_factors_file and in_conreg_dim mean? Where did you get it?

I want to train the model with my own data. What I have is  CT images, lung masks, and sketched airway masks. I have no idea what the calculation process is for your code.


Properly handle less privileged users inside Console features

Is your suggestion related to an experience ? Please describe.
Graceful navigation had been implemented for Console features with https://github.com/wso2/identity-apps/pull/1373. But some features rely on each other and the access should be handled properly for those.
Ex: Users features requires proper permissions for Groups, Roles & User Sessions to access the relevant APIs.
Describe the improvement
Do the proper access validation from inside the features and hide the relevant views based on the permission levels.

Currently the fine grain permission checking is not yet implemented. As suggested by @IsuraD @ayshsandu we will need to implement in-depth permission/scope checking for each action/UI feature individually.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Fix issue that prevents rake db:schema:load from working

A check was added in ec2cbdb to only serialize Activity#parameters as Hash if this column is not json, jsonb or hstore.
Since this is executed on the class level, it provokes an error on environment load if for some reason the database or the table isn't created (e.g. when running any rake task that loads the environment, like rake db:schema:load). I added a check for table_exists?, which prevents the error in those scenarios.

This is now merged with https://github.com/chaps-io/public_activity/pull/317, thanks @mateusg !


My vscode can't work that flutter analyze crash all the time with error:Dart_NewStringFromUTF8 expects argument 'str' to be valid UTF-8.

flutter analyze
exception
String: analysis server exited: 255

error
#0      AnalyzeOnce.analyze (package:flutter_tools/src/commands/analyze_once.dart:113:5)
<asynchronous suspension>
#1      AnalyzeCommand.runCommand (package:flutter_tools/src/commands/analyze.dart:102:9)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:407:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:397:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:402:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
<asynchronous suspension>
#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _runZoned (dart:async/zone.dart:1516:10)
#28     runZoned (dart:async/zone.dart:1500:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#31     _rootRun (dart:async/zone.dart:1124:13)
#32     _CustomZone.run (dart:async/zone.dart:1021:19)
#33     _runZoned (dart:async/zone.dart:1516:10)
#34     runZoned (dart:async/zone.dart:1463:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#36     runInContext (package:flutter_tools/src/context_runner.dart:59:24)
<asynchronous suspension>
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
<asynchronous suspension>
#39     main (file:///Users/admin/Desktop/Application/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

flutter doctor
[✓] Flutter (Channel v1.9.1-hotfixes, v1.9.1+hotfix.6-pre.1, on Mac OS X 10.14.4 18E226, locale zh-Hans-CN)
    • Flutter version 1.9.1+hotfix.6-pre.1 at /Users/admin/Desktop/Application/flutter
    • Framework revision eb6877bf92 (7 weeks ago), 2019-10-23 15:17:08 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /usr/local/Caskroom/android-sdk/4333796
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods. For more info, see https://github.com/flutter/flutter/issues/14293.
      To re-install CocoaPods, run:
        sudo gem install cocoapods

[!] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.40.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Hi @xuzhongpeng
could you please run
 flutter channel stable
 flutter upgrade
If the issue persist please provide your updated
flutter doctor -v and flutter run --verbose.
thank you

I  clone the project in another place then problem solded.


add multi-draw functions to wrapper

I was missing these in a project I was working on so I added them to the wrapper.

this adds DrawPoints, DrawLines, DrawRects, FillRects and their floating point equivalents to the wrapper

I also added their use to the example tho that can be reverted if you're unhappy with it.


Upgrade go.mod files to Go 1.20

Summary
Addresses https://github.com/sigstore/sigstore/issues/1063:

Since PR https://github.com/sigstore/sigstore/pull/962, CI runs as Go 1.20:
https://github.com/sigstore/sigstore/blob/589100556a55096e80e6b3c0ca6028da6fb9adbb/.github/workflows/e2e_test.yml#L25
It may make sense to upgrade the go directive in go.mod files to match:
https://github.com/sigstore/sigstore/blob/589100556a55096e80e6b3c0ca6028da6fb9adbb/go.mod#L3

Go 1.18 was released ~a year ago; this PR brings Sigstore onto the latest stable version of Go.
I tested this PR against make targets. E2E tests, linting, etc. succeed.

Release Note
Upgraded module go directives to Go 1.20.

Documentation
I linked the wrong repo below; I haven't identified any documentation changes needed.
~I think this only requires one update:~
~- https://docs.sigstore.dev/cosign/installation/#with-go-119 should read With Go 1.20~
~I checked by searching "1.17", "1.18", "1.19", and "1.20" in the sigstore/docs repo.~

@haydentherapper fair enough, thanks.

I reverted the top-level go.mod file to Go 1.18 per @cpanato's feedback.

sgtm to me as well @haydentherapper
@clfs can you sync all in the same? thanks!

All go.mod files now sit on Go 1.18. Sorry for not checking beforehand; I could have made this smoother :)


Block runtime argument not retaining local variables (assumption)

Hello, guys! I found a problem.
I want to make a factory method with Typhoon. My TyphoonAssembly is OK - I checked it.
The problem is though that I get "exc_bad_access" crash when using the client's code below.
MyClass localVariable = [MyClass new];
[concreteAssembly factoryMethodWithBlockRuntimeArgument:^(id data, NSError *error) {
    if (localVariable) {
        //
    }
}];

I found that this crash happens when localVariable is released (e.g. in the end of the method). I thought that it has to be retained by the block. The crash will not appear if I make the localVariable static, for example.
If I don't use some kind of local variables inside block - my code works fine. Do you have any ideas on this problem?
Thanks!

Hello @novixon! Can you give some more details about your implementation a factory method?

Hi @spbvasilenko! Here it is. It not an exact production code, but it is pretty pretty identical. As I said before there is no crash and the code works fine If I don't use localVariable inside a runtime-injected block.
typedef void(^ResultBlock)(id data, NSError *error);
- (void)configureWithResultBlock:(ResultBlock)resultBlock;

- (id)factoryMethodWithBlockRuntimeArgument:(ResultBlock)resultBlock {

    return [TyphoonDefinition withClass:[SomeClass class]
                          configuration:^(TyphoonDefinition *definition) {

                              [definition useInitializer:@selector(defaultInitializer)];

                              SEL configSel = @selector(configureWithResultBlock:);
                              [definition injectMethod:configSel
                                            parameters:^(TyphoonMethod *method) {

                                                [method injectParameterWith:resultBlock];
                                            }];
                          }];
}

@novixon hmm..it is strange behaviour.
I'm written test code like your example and make some tests, this work fine with local variables. Local variable is retained into block scope.

@spbvasilenko Check it with iPhone 4/4s/5 simulator (32-bit architecture). We've found that problem is hidden there.

@novixon Yep, Im reproduce this issue on 32-bit architecture. However , I have noticed interested behaviour...if result block is NSMallocBlock, code work fine without crashes. If block is NSStackBlock, we have a crash.
NSObject *object = [NSObject new];
 __weak typeof(object) weakObject = object;
void (^block)(id data, NSError *error) = ^(id data, NSError *error) {
      __weak typeof(object) strongObject = weakObject;
        if (strongObject) {
            NSLog(@"");
        }
};
[_assembly factoryMethodWithBlockRuntimeArgument:[block copy]];

NSLog(@"%@", object);

This slice example code work without crash.

@spbvasilenko Yep, I got the same result - no crash when defining the result block before passing it as a parameter.

@novixon, I'm want to fix this issue and make the MR

@spbvasilenko It's great, thanks! I will research this a little bit on weekends if needed.

Reviewed. Looks cool! Thanks, guys!


Edge and mini-edge agents downloads

Where I can download Edge and mini-edge agents?
Where is doc for Edgeflux?
Edgeflux is hardware agnostic and it can be used with any gateway. Where I can find crosscompile instructions for Edgeflux agents?
Thanks!

Edgeflux is a codename, we should yet decide how will be called really :). Most probably Edge Agent.
It is not yet opensourced, but this should happen in a week or two. It is a small Go app, completely portable to any IoT gateway.
@4refr0nt I can see you are playing with Mainflux, and would be interested to understand what are you building and what are the requirements. If you can share this with us, ping us at<EMAIL_ADDRESS>


New version: SMPlayer.SMPlayer version 23.6.0

Pull request has been created with Komac v1.9.1 :rocket:

Resolve #113039

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/113054&drop=dogfoodAlpha

Oh no

It appear #111634 again


Add heat sink scenario

This PR adds a heat sink scenario, simulated with OpenFOAM. The scenario is described in the docstring of the new class.
I am uploading here an animation produced with simulation results rendered with Paraview for reference. In the future, we will be adding some sort of visualization capabilities to the scenario too.
https://github.com/inductiva/inductiva/assets/11545632/93761e77-e979-471e-8f07-ff85876ae622

I would also like to know your ideas about the parallel case at this point, since we still need to some refactoring on the backend to fit it in. We could just had a mpi_commands.json and choose between files when we are reading from it. Later on, we think of this adequate and complies with the low-level.

Agreed. I would add a list of OpenFOAM commands that can be run in parallel to the backend. We would then prepend those with mpirun -np X. I'll work on these changes (and those to include a whitelist of OpenFOAM commands) next on the backend side.

I would also like to know your ideas about the parallel case at this point, since we still need to some refactoring on the backend to fit it in. We could just had a mpi_commands.json and choose between files when we are reading from it. Later on, we think of this adequate and complies with the low-level.

Agreed. I would add a list of OpenFOAM commands that can be run in parallel to the backend. We would then prepend those with mpirun -np X. WDYT?
I can work on these changes (and those to include a whitelist of OpenFOAM commands) next on the backend side.

My only concern is that when you do some mpirun commands in OpenFOAM you require other commands to treat the mesh.

I would also like to know your ideas about the parallel case at this point, since we still need to some refactoring on the backend to fit it in. We could just had a mpi_commands.json and choose between files when we are reading from it. Later on, we think of this adequate and complies with the low-level.

Agreed. I would add a list of OpenFOAM commands that can be run in parallel to the backend. We would then prepend those with mpirun -np X. WDYT?
I can work on these changes (and those to include a whitelist of OpenFOAM commands) next on the backend side.

My only concern is that when you do some mpirun commands in OpenFOAM you require other commands to treat the mesh.

I see. Let's move this discussion to an issue on the backend side.

Thank you @IvanPombo for the feedback on this. Merging this now.


Revert #28614: Add UseDataStreamForBatch option to Flink runner

Fixes #29902
Please add a meaningful description for your change here

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

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

CC: @noster-dev this is a branch that reverted the change in #28614. Could checkout it and build locally for testing.
In any case, I am thinking about can we write a test that could have capture this regression

Hi @noster-dev have you been able to confirm this would fix the problem?


'RuntimeException' is not defined

Expected behavior
Execute a model, and show the resulting data.
Actual behavior
If I execute the model the following error is given:

Steps To Reproduce
Running the model works but when executing the model the error pops up. (this was done in a new development environment, so there aren't many hints to why this is going wrong now)
Log output/Screenshots
{
"code": -1,
"message": "name 'RuntimeException' is not defined",
"data": ""Error: Traceback (most recent call last):\n  File \"/Users/florisvanleeuwen/.vscode/extensions/innoverio.vscode-dbt-power-user-0.11.2/dist/dbt_integration.py\", line 436, in compile_sql\n    node = self.compile_node(self.get_server_node(raw_sql, temp_node_id))\n  File \"/Users/florisvanleeuwen/.vscode/extensions/innoverio.vscode-dbt-power-user-0.11.2/dist/dbt_integration.py\", line 370, in get_server_node\n    sql_node = self.sql_parser.parse_remote(sql, node_name)\n  File \"/Users/florisvanleeuwen/.vscode/extensions/innoverio.vscode-dbt-power-user-0.11.2/dist/dbt_integration.py\", line 275, in sql_parser\n    self._sql_parser = SqlBlockParser(self.config, self.dbt, self.config)\n  File \"/Users/florisvanleeuwen/.local/share/virtualenvs/dbt-aZlMfyd7/lib/python3.10/site-packages/dbt/parser/base.py\", line 105, in init\n    self._update_node_database = RelationUpdate(\n  File \"/Users/florisvanleeuwen/.local/share/virtualenvs/dbt-aZlMfyd7/lib/python3.10/site-packages/dbt/parser/base.py\", line 74, in init\n    macro = manifest.find_generate_macro_by_name(\nAttributeError: 'NoneType' object has no attribute 'find_generate_macro_by_name'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/Users/florisvanleeuwen/.vscode/extensions/innoverio.vscode-dbt-power-user-0.11.2/dist/node_python_bridge.py\", line 104, in \n    value = eval(_compile(data['code'], '', 'eval'), _locals)\n  File \"\", line 1, in \n  File \"/Users/florisvanleeuwen/.vscode/extensions/innoverio.vscode-dbt-power-user-0.11.2/dist/dbt_integration.py\", line 405, in execute_sql\n    compilation_result = self.compile_sql(raw_sql)\n  File \"/Users/florisvanleeuwen/.vscode/extensions/innoverio.vscode-dbt-power-user-0.11.2/dist/dbt_integration.py\", line 440, in compile_sql\n    raise RuntimeException(str(e))\nNameError: name 'RuntimeException' is not defined\n\n\tat ChildProcess.onMessage (/Users/florisvanleeuwen/.vscode/extensions/innoverio.vscode-dbt-power-user-0.11.2/dist/extension.js:5540:184)\n\tat Object.onceWrapper (node:events:646:26)\n\tat ChildProcess.emit (node:events:526:28)\n\tat ChildProcess.emit (node:domain:475:12)\n\tat emit (node:internal/child_process:938:14)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:84:21)""
}
Operating System
macOS
dbt version
1.4.1
dbt Adapter
Snowflake
dbt Power User version
v0.11.2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

It is already fixed in master. will be released shortly.

The plugin from master works! Thanks

Hey, also experiencing this issue, when is a release expected? thanks!

Fixed in 0.11.3


Code coverage page not showing icons

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Code coverage page not showing icons
Environment

Server - Azure Pipelines or TFS on-premises? Azire Pipelines

Agent - Hosted or Private:  Hosted

Issue Description
Code coverage page is not able to load the icons.
Here is the task to create code coverage
  - task: Maven@3
        displayName: Maven Build
        inputs:
          mavenPomFile: '$(System.DefaultWorkingDirectory)/$(SourceDirectory)/pom.xml'
          goals: 'package'
          testResultsFiles: '**/surefire-reports/TEST-*.xml'
          publishJUnitResults: true
          codeCoverageToolOption: JaCoCo
          codeCoverageClassFilesDirectories: $(SourceDirectory)/target/classes,$(SourceDirectory)/target/test-classes
          codeCoverageSourceDirectories: $(SourceDirectory)/src/main/java,$(SourceDirectory)/src/test

Error logs
Attached is the screenshot of error.

The html will be stripped of any css and js when published. This is done due to security reasons since we host this report in our site.
Use this task https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=azure-devops to publish the code coverage results. The task internally uses report generator to make the conversion which adds inline style which the server does not remove.

Hi @anandchugh, we hope the above suggestion was helpful. We are closing the issue now.

@ShreyasRmsft : This issue still exists after following your recommendation. This needs a resolution.

Yes this issue still exists report has image reference jacoco-resources/redbar.gif, i think simple solution during publish just replace all images into base64....

@nishantms @anshii03 please take a look.

Look like it can be done in here https://github.com/microsoft/azure-pipelines-task-lib/blob/ea7cfd92c86568620a761ab092d0bcc4816ed074/node/task.ts#L1831

@ShreyasRmsft  Any updates on this?

@vovikdrg we'll get back to you in a few days.
cc: @phanikmmsft @ganesp

@ShreyasRmsft Any updates on that?

@nishantms can you please prioritize and take a look if this is something we can do?

@vovikdrg : we are working on some priority issues. From next quarter onwards , will look for contributions.

@nishantms I am fine to contribute but have a look on my previous comments what I suggested to do. If its fine i will try to find time to fix that

@adityasirohi Can you please share the repro and screenshots where you are using publish code coverage results task and seeing this rendering issue?
@ankit-arora12

@nishantms any updates on this?

Any updates on this ?

@vovikdrg / @hhovhann
We have not seen any issue with rendering if publish code coverage results task is used:
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=azure-devops
If the report is being published from Maven task then I think it is not generating HTML using report generator.
Publish code coverage results has logic to generate the HTML report using report generator, please refer:
https://github.com/microsoft/azure-pipelines-tasks/blob/4d8624d6486cdb6aa1b1f49370d99bf38a534968/Tasks/PublishCodeCoverageResultsV1/publishcodecoverageresults.ts#L159
So, this explains the difference.
For contribution to the Maven task to fix this issue -- I believe you need to work with: @anatolybolshakov (I am not sure though)

Hi everyone, currently we are working on more prioritized issues, but planning to pick it up.

Bump :)

Ping :)

Hi @vovikdrg, @hhovhann! The fix was merged. Related changes will be included in the next release. We will update this ticket once deployment would be complete.

looking forward to the release 🚀

Is there any update on this issue?
I used the Maven task to generate the report and publish code coverage but pictures are not coming yet.

@Kozlov-Igor Just wanted to check was this fixed after the deployments?

@Kozlov-Igor Any update?

any update ?


[Artwork Dump] Not all artwork is downloaded

Having used this for a couple of tv shows already, I noticed that not all artwork is downloaded after the scraping process. But if I then run the add-on again from the add-on list, the remaining artwork is downloaded.
Fargo S4 - https://www.themoviedb.org/tv/60622-fargo/season/4/images/posters
fanart.tv - https://fanart.tv/series/269613/fargo/
In this instance, Season artwork was not downloaded.
Log... https://paste.kodi.tv/adiyewifow.kodi
Line 3580 is start of artwork.dump process
Line 3737 is end of artwork.dump process
Line 3946 downloading Season poster, but this was not downloaded by artwork.dump
If I then run the add-on again, the season poster is downloaded also.
I noticed this with movies also, especially the movie set artwork, which required re-running the add-on.
Maybe artwork,dump is running too quickly after the scrape?
You stated in the artwork beef thread that this add-on changes the artwork paths. I ran an Export to nfo files and I see  no changes in artwork paths. They all still point to TheMovieDB and fanart.tv... https://paste.kodi.tv/uyemecuxej or are you referring to something else?
Also, would it be better to start a new thread on the forum for this add-on? It has a different name and supported only in v19.

Thanks, I think I found it. Updating an individual item goes through a different process that missed the seasons of a new TV show.

I ran an Export to nfo files and I see no changes in artwork paths.

It changes the paths to assigned artwork (the artwork skins can actually display), it cannot change the other available-but-not-assigned artwork. No JSON-RPC interface is available to modify those.

Also, would it be better to start a new thread on the forum for this add-on? It has a different name and supported only in v19.

Eventually.

Thanks @rmrector
One more question...

It changes the paths to assigned artwork (the artwork skins can actually display), it cannot change the other available-but-not-assigned artwork. No JSON-RPC interface is available to modify those.

Is this the reason why now when I run an Export to Separate Files and include exporting artwork, no artwork is exported?
Artwork dump saves the files with the short artwork names.
Kodi Export saves exported artwork with long artwork names. These are no longer exported for those movies that Artwork Dump has downloaded artwork for.

Is this the reason why now when I run an Export to Separate Files and include exporting artwork, no artwork is exported?

As far as I know Kodi exports everything in its texture cache. Are the images cached? That log for Fargo noted that AD wasn't able to cache the images due to Kodi settings, so unless you did something else to cache the new image Kodi doesn't have anything to export.

[script.artwork.dump] Artwork caching requires Kodi setting 'Allow remote control via HTTP' enabled

That log for Fargo noted that AD wasn't able to cache the images due to Kodi settings

Doesn't Kodi automatically cache the images after scraping? It always has in the past and it has never been an issue until AD was installed.
I have never needed to enable "Allow remote control via HTTP" in the past.
How is Kodi being prevented from caching as it would normally?

AD changes things. That is the point of the tool.
Kodi identifies cached artwork by its path. Kodi doesn't automatically download every image to cache when they are changed after the scrape, AD has to do it.

Got it. Thanks.

0.1.2 should fix this.
And I've pushed it to a new GH repo https://github.com/rmrector/script.artwork.dump


fix: Add NFT SN on cart buy success modal

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9826

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Copilot Summary
copilot:summary
copilot:poem

nice, ty!

pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 9.38 USD/DOT ~ 3.198 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0xabe2c34301d5148e7b972c6c7e501a9520c291e117346ce39a8996261f80d325
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Problem in passing drop_rule to scipy.sparse.linalg.spilu

While trying to use scipy.sparse.linalg.spilu we've discovered a problem when trying to pass a drop_rule. It seems to reject both a bytes and a str object with a TypeError.
Demo code
Currently our only solution is to not pass drop_rule at all. Tested on python 3.5.2 and both scipy 0.18.1 and current master.

Should be fixed in gh-7009


Easy way to see table metadata in the UI without running .getMeta() manually

It would be great if you could see a table's metadata (.getMeta()/.meta_table`) just by clicking around in the UI, e.g. from right-clicking on the column headers or from the "Table Options" menu on the right side. It'd be helpful for quickly understanding the available columns in a wide table.

Needs spec an JS API support.