Apply #92 : restructure test folder

implements #92

everything seems ok, travis green, coverage generated. i'm going to merge this ;)

merged ;)
master : https://github.com/sitrunlab/LearnZF2/commit/57c478a25a619d763a616d1fb5818b3331d3c4e0
develop  : https://github.com/sitrunlab/LearnZF2/commit/2bb8529af1575c2e54c3a8e2206ed072dc798e15
changelog : https://github.com/sitrunlab/LearnZF2/commit/1bcfbb4a492cebc033b05d463294b6506360ebb2


Running dotnet new -i in step to returns 401 (unauthorized)

I just ran step #2 in my admin privileged console. I get the following output, followed by help on the new command, anad the template list below that. I am up to date on the SDK. Is there a step missing?
 Retrying 'FindPackagesByIdAsyncCore' for source 'https://microsoft.pkgs.visualstudio.com/DefaultCollection/_packaging/Universal.Store/nuget/v2/FindPackagesById()?id='Microsoft.AspNetCore.Blazor.Templates'&semVerLevel=2.0.0'.   Response status code does not indicate success: 401 (Unauthorized).   Retrying 'FindPackagesByIdAsyncCore' for source 'https://microsoft.pkgs.visualstudio.com/DefaultCollection/_packaging/Universal.Store/nuget/v2/FindPackagesById()?id='Microsoft.AspNetCore.Blazor.Templates'&semVerLevel=2.0.0'.   Response status code does not indicate success: 401 (Unauthorized).   Restore completed in 801.87 ms for C:\Users\v-brwoo\.templateengine\dotnetcli\v3.0.100-preview5-011568\scratch\restore.csproj.

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

ID: c07e57dc-526f-9479-4695-de7d8f06eb9a
Version Independent ID: 8226ed72-69b2-3c93-a931-218bd11cf9c8
Content: Get started with Blazor
Content Source: aspnetcore/blazor/get-started.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @itanex ... it's a product unit question. Open it over on the engineering repo for them to see: aspnet/AspNetCore issues.
Search first tho (open and closed issues) .... there might be an existing issue ... someone who hit the same thing.

@itanex It isn't something that I've seen to-date; but if you get a response that seems like something the doc should address, plz add a note back here on this issue. We might need to note a common failure scenario for installing the templates in the Get Started topic.

I posted here because I was following the documents instructions and my experience did not align with the document. I will check out aspnet.core resource.

Yes ... let me explain a bit more. We get doc issues from the This Page doc feedback button from time-to-time that are really bugs or strange behaviors that we need engineering help to resolve.
I haven't seen the error that you reported. I think the engineers who build the framework should see your error. They work on the aspnet/AspNetCore repo and don't monitor these doc issues very closely.
The best way to get them to look at a potential product problem is to open an issue over there. If they figure out that a common scenario that leads to an error should be covered by the docs, we re-open the issue over here and work it on the docs team.
Open an issue over there ...... but for sure ... plz do post back here what the cause of the problem was. I'll re-open this issue if it's something that devs are going to hit regularly.


MSID: 89459 Version: 3 DOI: 10.1101/2<IP_ADDRESS>3446

MSID: 89459
Version: 3
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>3446
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=89459
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>3446

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/89459v3
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>3446
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/89459/v3/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Hi @acollings, this v3 has valuable significance, but the v1 and v2 had important - just checking if this was deliberate?

Hi @fred-atherden thanks a lot. I suspect this is a mistake so I've asked the editors

Hi @acollings, any update on this one? Would it be worth chasing if not?

Hi @fred-atherden ah, sorry, forgot this was blocked. All good to proceed with "important" in the latest version so I've updated that just now. Cheers, Andy

No problem - thanks!


IOT devices wifi connected

Hello, I want to use your application as a server to connect my iot devices. I create a wifi network from your application. IOT devices connect to the application's IP address as a client. Then I want to send and receive data through the application. How can I do it? Which part do I need to intervene? I am new to Android.
Thank you in advance for your help.

Hi
There is an instruction page in the app and more on the Wiki here on Github.
You need to setup a proxy for your devices which should allow them simple HTTP based communication over TCP with the current TetherFi version

Thank you very much for the quick response. I connect 2 different devices and there is no problem. But I am trying to exchange data between the IOT device and my Android phone with tethered connection. I could not find any documentation about it.

Your IOT device needs to be able to support connection over an HTTP proxy. Since I don't know what your device is, I cannot provide more specifics, but if it can not proxy, then it sadly will not work.

Actually my device is an esp32. There is no problem in establishing a wifi connection. Actually I need a plugin that shows the data that comes after you open the network and establish a connection. I am trying to do that.


Question: About codesigning

My apologies for asking this in an issue:
Can you explain the purpose of --image-signing-identity what does codesigning an installer?  Does this allow you to use them offline? (without internet?)
Thank you!

No apology necessary!
If you specify the --image-signing-identity flag, it codesigns the generated Disk Image (.dmg), not the macOS Installer app bundle (.app)
It is considered best-practice to codesign generated disk images, especially if you are distributing them. You generally see these GateKeeper warnings when opening applications on non-code signed disk images (ie. that have been downloaded from the web):

Apple has documentation explaining Signing Disk Images

Ah! Thank you for the response!!  I've been trying to understand if it is possible to create offline macOS installers that work on machines with T2 processors and was hoping that this might be the "trick."

While it is possible to create a USB installer which pre-downloads and includes the T2 firmware rather than downloading it at install time (using createinstallmedia --downloadassets), it is not possible to do a fully offline installation for a T2 or Apple Silicon Mac because of a required "personalization" step which is basically a signed record from Apple over the internet approving the installation for the specific computer. This "personalization" step cannot be bypassed or skipped. Internet is just plain required to install macOS on T2 or Apple Silicon Macs.

Thank you!!


Diff tool load filter

The diff tool in the report will attempt to load every flow and then later apply the filters to only display a subset.
It'd be better if we applied the filter to the index data so that we only attempted to load those flows that pass the filter.

This is less urgent after #320 was fixed.


trigger new image rebuild

Signed-off-by: Jonathan Marcantonio<EMAIL_ADDRESS>Addresses:

https://github.com/stolostron/backlog/issues/25755

/approve
/lgtm


[VS Code] Normalize directories

### Summary of the changes

VS Code wouldn't apply some renames or Razor code actions (just in Windows - surprisingly worked in Mac) due to us not normalizing file path directories correctly. This PR resolves the issue.

It actually looks like there might be another bug here, but I have to run - will take another look later tonight, converting to draft mode for now.

Superseded by https://github.com/dotnet/razor/pull/8129


Production setup memory loss after 39hrs

Version
2.4.2
Reproduction link
https://gist.github.com/acidjazz/694133cdcd68f898661d2bab54365bc7
Steps to reproduce

run a nuxtjs production in production for 49hrs

What is expected?
it continues to run
What is actually happening?
memory loss crash

This is a production nuxt.js build but I am posting this issue here since the stack seems to point at vue.runtime.common.js on either lines 3362, 3296, or 4181.
Here are a couple dumps of the crash, it's pretty consistent, almost even with how long it runs for.
First one a couple days ago
<--- Last few GCs --->

[8202:0x2822f10] 148084153 ms: Mark-sweep 1399.9 (1494.4) -> 1399.9 (1494.4) MB, 2284.2 / 0.0 ms  allocation failure GC in old space requested
[8202:0x2822f10] 148086478 ms: Mark-sweep 1399.9 (1494.4) -> 1399.9 (1494.4) MB, 2323.0 / 0.0 ms  last resort
[8202:0x2822f10] 148088794 ms: Mark-sweep 1399.9 (1494.4) -> 1399.9 (1494.4) MB, 2315.4 / 0.0 ms  last resort

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x37a56a69cca1 <JSObject>
    1: initWatch(aka initWatch) [/home/ec2-user/api/web/node_modules/vue/dist/vue.runtime.common.js:~3296] [pc=0x16c066f78f0b](this=0x37a56a682241 <undefined>,vm=0x361f52ccf229 <Vue$3 map = 0x3a932c4ded49>,watch=0x1374913debb1 <Object map = 0x25ca00203649>)
    2: _init [/home/ec2-user/api/web/node_modules/vue/dist/vue.runtime.common.js:~4181] [pc=0x16c06696451c](this=0x361f52ccf229 <Vue$3 map =...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x136916c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewTransitionArray(int) [node]
 6: v8::internal::TransitionArray::Insert(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Map>, v8::internal::SimpleTransitionFlag) [node]
 7: v8::internal::Map::CopyReplaceDescriptors(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::DescriptorArray>, v8::internal::Handle<v8::internal::LayoutDescriptor>, v8::internal::TransitionFlag, v8::internal::MaybeHandle<v8::internal::Name>, char const*, v8::internal::SimpleTransitionFlag) [node]
 8: v8::internal::Map::CopyAddDescriptor(v8::internal::Handle<v8::internal::Map>, v8::internal::Descriptor*, v8::internal::TransitionFlag) [node]
 9: v8::internal::Map::CopyWithField(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::FieldType>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Representation, v8::internal::TransitionFlag) [node]
10: v8::internal::Map::TransitionToDataProperty(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Object::StoreFromKeyed) [node]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [node]
12: v8::internal::StoreIC::LookupForWrite(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node]
13: v8::internal::StoreIC::UpdateCaches(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node]
14: v8::internal::StoreIC::Store(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node]
15: v8::internal::Runtime_StoreIC_Miss(int, v8::internal::Object**, v8::internal::Isolate*) [node]
16: 0x16c0667840dd
Done in 148089.23s.

And again today
yarn start v0.27.5
$ HOST=<IP_ADDRESS> nuxt start

 OPEN  http://localhost:3000

<--- Last few GCs --->

[16624:0x2b58f10] 143724943 ms: Mark-sweep 1400.0 (1486.9) -> 1400.0 (1486.9) MB, 2268.4 / 0.0 ms  allocation failure GC in old space requested
[16624:0x2b58f10] 143726690 ms: Mark-sweep 1400.0 (1486.9) -> 1400.0 (1486.9) MB, 1746.2 / 0.0 ms  last resort
[16624:0x2b58f10] 143728669 ms: Mark-sweep 1400.0 (1486.9) -> 1400.0 (1486.9) MB, 1979.9 / 0.0 ms  last resort

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x10cc8381cca1 <JSObject>
    2: $watch [/home/ec2-user/api/web/node_modules/vue/dist/vue.runtime.common.js:3362] [bytecode=0xa9573cc5771 offset=58](this=0x3374d9153869 <Vue$3 map = 0x16794112bb81>,expOrFn=0x27709a2361b1 <String[8]: nuxt.err>,cb=0x3374d91549f9 <JSFunction boundFn (sfi = 0xa9573cc3f21)>,options=0x3374d9154ca9 <Object map = 0x13ee4d484829>)
    4: createWatcher(aka createWatcher) [/home/ec2-user/api/web/no...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x136916c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewTransitionArray(int) [node]
 6: v8::internal::TransitionArray::Insert(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Map>, v8::internal::SimpleTransitionFlag) [node]
 7: v8::internal::Map::CopyReplaceDescriptors(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::DescriptorArray>, v8::internal::Handle<v8::internal::LayoutDescriptor>, v8::internal::TransitionFlag, v8::internal::MaybeHandle<v8::internal::Name>, char const*, v8::internal::SimpleTransitionFlag) [node]
 8: v8::internal::Map::CopyAddDescriptor(v8::internal::Handle<v8::internal::Map>, v8::internal::Descriptor*, v8::internal::TransitionFlag) [node]
 9: v8::internal::Map::CopyWithField(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::FieldType>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Representation, v8::internal::TransitionFlag) [node]
10: v8::internal::Map::TransitionToDataProperty(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Object::StoreFromKeyed) [node]
11: v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [node]
12: v8::internal::StoreIC::LookupForWrite(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node]
13: v8::internal::StoreIC::UpdateCaches(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node]
14: v8::internal::StoreIC::Store(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::Object::StoreFromKeyed) [node]
15: v8::internal::Runtime_StoreIC_Miss(int, v8::internal::Object**, v8::internal::Isolate*) [node]
16: 0x2007965840dd
Done in 143729.38s.

This is better reported to Nuxt.js instead of Vue core
A GC log is far from enough to determine the cause of the leak, you need to provide the actual code that leads to the leak.

@yyx990803 where would I even start to provide this code? the stack solely shows vue.runtime.common.js and most every crash it's a different line, the only general significant clue is initWatch and then createWatch, like it seems to build up and collect memory after a while in a watcher, and then dies at about 40hrs.
I doubt nuxtjs wraps around the watch functionality of vue

I think too that this should be first discussed on Nuxt repo and then opening issue here if the bug is actually with SSR engine.
Just for reference, there is a small guide for memory leakage reports: nuxt/nuxt.js#805


Date coercion

I'd like to be able to use this library to coerce dates, but I don't think that's currently supported?

I just pushed version 1.2.0 to support this. Thanks for the request!
Closing the ticket.


3.1.1 returns ValueError

Hi Patricio, how are you. I have developed a new package, PyIRoGlass, for fitting baselines to FTIR spectra with MC3. I have created a corresponding Google Colab for running this code on the cloud. The Google Colab version appears to have stopped working as I am now getting this error:
ValueError: Cannot populate an initial sample set of parameters, try updating the parameters initial guess to avoid sampling beyond the parameter boundaries or where the model returns non-finite values.
Do you know what changes in 3.1.1 could be returning this new error? Nothing in my code has changed with the initial set of parameters. The local version of the code also remains functional, as I am running 3.0.13 and have not updated to 3.1.1 yet. I have used the 'trf' option in the mc3.sample function and all the least squares best-fitting parameters are further within my range of initials. Here is what is returned from least squares:
Least-squares best-fitting parameters:
[1.5850219, -0.0199404429, 0.711353268, -0.229082749,
-0.00998274823, 1428.13013, 30.0187476, 0.108494754,
 1517.87931, 34.8462181, 0.110622216, 0.673443334,
 0.0359489381, 0.0949624095, 0.000125732721, 1.25690699]

compared against what I provide as initials:
params = np.array([1.25, 2.00, 0.25, 0.01, 0.01, 1430, 25.0, 0.0100, 1510, 25.0, 0.0100, 0.10, 0.02, 0.01, 5e-4, 0.70])
pmin = np.array([0.00, -5.00, -1.00, -0.75, -0.75, 1415, 22.5, 0.0000, 1500, 22.5, 0.0000, 0.00, -0.50, -0.50, -5e-2, -1.00])
pmax = np.array([5.00, 8.00, 1.00, 0.75, 0.75, 1445, 40.0, 3.0000, 1535, 40.0, 3.0000, 3.00, 0.50, 0.50, 5e-2, 3.00])
pstep = np.array([0.30, 0.50, 0.20, 0.20, 0.20, 3.25, 2.25, 0.0005, 6.0, 2.25, 0.0005, 0.25, 0.75, 0.75, 0.002, 0.20])

Any insight you have into this would be immensely helpful!

Hi Sarah,
Thanks for the heads up! I think I know what's going on.
One of the changes implemented between 3.0.13 and 3.1.1 was how the code draws samples before the MCMC to have a starting population.  Before, the code was simply drawing random samples around your initial point (in this case the best-fit pars) and if any value was out of ranges, the value was clipped into the (pmin, pmax) boundaries.  This worked OK, but it's sub-optimal (particularly if the starting point is close to the edge of the parameter space).
In the new version, when the code tries these initial draws it checks if any of the values is out of bounds, and if so, it throws that away and tries a new draw, repeating until we have a enough samples.  The problem is that the code only makes a certain number of attempts at creating this starting sample, if not, it gives up and throws the error you are seeing.
There are two things that could help:

(if possible and if it makes sense for your case) one option is to reduce the pstep value for some of the parameters (as these values are the width of the Gaussian used to draw this starting sample).  For example, for a couple of parameters you have, the pstep is on the same order of magnitude of the [pmin-pmax] range, so it is expected that many draws will fall outside the wanted range.

On my end, I will increase the threshold of how many attempts the code makes to initialize this sample (the reason I don't have this in a while-True loop is because the code could end up hanging indefinitely, which happened a few times for the worst case scenarios when I was editing the code).  This should be simple, so, it'll be done by tomorrow.

I hope that helped and that is clear enough!

Hi Patricio,
Glad to hear about this update -- it sounds super useful. It definitely makes sense to drop my pstep value; this is a bit of an oversight on my end. I think I set these values up at some point and didn't modify them too much. I'll change my setup so stepping can be something like 5% of the absolute value of the total pmin-pmax range.
Best,
Sarah

It looks like reducing the pstep to 5% of absolute value of the total pmin-pmax range is still causing this ValueError. I released a testPyPi package without mc3 version specifications, so it automatically installs 3.1.1.

Ahh, OK, I think I found the issue:
when you make the mc3.sample() call in PyIRoGlass/__init__.py (around line 920), you missed the pstep argument.  When I changed to something like this below, the run does not break:
    mc3_output = mc3.sample(
        data=data, uncert=uncert, func=func,
        params=params, indparams=indparams,
        pstep=pstep, pmin=pmin, pmax=pmax,
        # No prior?
        priorlow=priorlow, priorup=priorup,
        pnames=pnames, texnames=texnames, sampler='snooker',
        nsamples=1e6, nchains=9, ncpu=3, burnin=5000, thinning=5,
        leastsq='trf', grtest=True, grbreak=1.01, grnmin=0.5,
        plots=False, log=log, savefile=savefile,
    )

In this case, mc3 is guessing the stepsizes to a tenth of the input param value (so the mu's and sigma parameter were throwing most of the trials outside the boundaries)

Note also that you are setting some Gaussian priors (nonzero priorlow and priorup), but you are not setting the mean of the Gaussian (prior), so, the code is ignoring these priors.

Hi Patricio, thank you so much for your response. I have this working on my end now with 3.1.1, but I'm finding that the algorithm appears to be quite a bit slower. Is this because I'm setting a smaller pstep than the former automated value? I've tested this both with and without specifying priors (as I lacked before), to see if this could have impacted things.
I am finding that the posteriors appear to capture some baselines that appear to be like outliers. I've tested this with essentially no priors and all uniform distributions (as you saw my code had before), but with the reduced pstep of 5% of the range between np.abs(pmin-pmax). This is my old chunk of code to plot some of the sampled baselines in the posteriors.
                posteriorerror = np.load(path_beg+savefilepath+files+'.npz')
                samplingerror = posteriorerror['posterior'][:, 0:5]
                samplingerror = samplingerror[0: np.shape(posteriorerror['posterior'][:, :])[0] :int(np.shape(posteriorerror['posterior'][:, :])[0] / 200), :]
                lineerror = posteriorerror['posterior'][:, -2:None]
                lineerror = lineerror[0:np.shape(posteriorerror['posterior'][:, :])[0]:int(np.shape(posteriorerror['posterior'][:, :])[0] / 200), :]
                Baseline_Array = np.array(samplingerror * PCAmatrix[:, :].T)
                Baseline_Array_Plot = Baseline_Array

                ax4 = plt.subplot2grid((2, 3), (0, 2), rowspan = 2)
                for i in range(np.shape(Baseline_Array)[0]):
                    Linearray = Linear(Wavenumber, lineerror[i, 0], lineerror[i, 1])
                    Baseline_Array_Plot[i, :] = Baseline_Array[i, :] + Linearray
                    plt.plot(Wavenumber, Baseline_Array_Plot[i, :], 'dimgray', linewidth = 0.25)

This would return something like this attached figure.
AC4_EUH102_030920_256s_15x20_a_old.pdf
With 3.1.1 and using the same MCMC function, I instead get this resulting figure.
AC4_EUH102_030920_256s_15x20_a_new.pdf
I have altered the code to remove the burn-in with zmask, to see if that was causing this.
posteriorerror = np.load(path_beg+savefilepath+'AC4_EUH102_030920_256s_15x20_a.npz')
posterior = posteriorerror['posterior']
mask = posteriorerror['zmask']
masked_posterior = posterior[mask]
samplingerror = posterior[mask][:, 0:5]
samplingerror = samplingerror[0: np.shape(masked_posterior[:, :])[0] :int(np.shape(masked_posterior[:, :])[0] / 200), :]
lineerror = posteriorerror['posterior'][:, -2:None]
lineerror = lineerror[0:np.shape(masked_posterior[:, :])[0]:int(np.shape(masked_posterior[:, :])[0] / 200), :]
Baseline_Array = np.array(samplingerror * PCAmatrix[:, :].T)
Baseline_Array_Plot = Baseline_Array

plt.figure(figsize = (12, 12))
for i in range(np.shape(Baseline_Array)[0]):
    Linearray = pig.Linear(Wavenumber, lineerror[i, 0], lineerror[i, 1])
    Baseline_Array_Plot[i, :] = Baseline_Array[i, :] + Linearray
    plt.plot(Wavenumber, Baseline_Array_Plot[i, :], 'dimgray', linewidth = 0.25)

Could the pstep be what is causing this change in behavior, or would you expect that this is more related to 3.1.1 updates?

Hi Sarah,
yes you have to remove the burn-in samples because you have to let the MCMC converge first.  How many samples to burn is a bit of a manual process because it differs for every different problem.  You can check this by looking at the trace plots (basically you want to see that the trace is not moving up/down over time, or that there are not too many outliers).
About the performance, what times are you seeing now? and before?
I ran your Google Colab example, and it took about a minute per MCMC.  This sounds reasonable to me.
If the run takes more than a few minutes, one way to quantify this is to compare the MCMC vs a forward-model run of your model. Say, for example, run your model in a loop for 100 times, and calculate how much time it takes per evaluation.  This should be about the same order of magnitude of an MCMC's runtime / (nsamples/ncpu)

Hi Patricio. I think I have resolved some of the slower behavior now by optimizing a few other things on my end.
Thank you for all of your hard work on the package. I am enjoying the new plotting with the stated parameters with the +/- values. I was wondering if it would be possible to add a fig.suptitle command into the mix for the histogram, pairwise, trace, and modelfit figures? I have done this in my local version of the old plotting code. In the case of spectral fitting where I'm working with hundreds of spectra, it would be helpful to have the ability to have the sample name as a title in the output figures.
I have also tested some of the pairwise plots -- is there a way to reduce the linewidth of the contourf lines? I am noticing that your example in the documentation here shows thinner lines, and this would be helpful for visualization. Not sure if this is purely a result of the size of this figure or the number of parameters.
AC4_EUH102_030920_256s_15x20_a_pairwise.pdf

Hi Sarah,
OK, good to hear things are working better now. I will close this issue then.

The problem with the linewidths is fixed when you update to 3.1.2.
About the subtitles, unfortunately the code does not do that, but you can re-create the plots and add a subtitle manually with these lines after you call the MCMC routines:

    ifree = mc3_output['ifree']
    posterior, zchain, zmask = mc3.utils.burn(mc3_output)
    post = mc3.plots.Posterior(
        posterior, pnames=mc3_output['texnames'][ifree],
        bestp=mc3_output['bestp'][ifree],
    )
    savefile_root = os.path.splitext(savefile)[0]

    # Pairwise posteriors:
    fig = post.plot()
    plt.suptitle('PLOT1 SUBTITLE')
    savefile = f'{savefile_root}_pairwise_posterior.png'
    plt.savefig(savefile, dpi=300)

    # Histograms:
    post.plot_histogram()
    plt.suptitle('PLOT2 SUBTITLE')
    savefile = f'{savefile_root}_marginal_posterior.png'
    plt.savefig(savefile, dpi=300)


Merge pull request #5 from SentientCyborg/main

Small file structure update.

I think the previous pull request went to the wrong branch.


Switched djangocms-text-ckeditor back to master

without this https://github.com/divio/djangocms-text-ckeditor/pull/327 django cms 3.4 would break :)

LGTM

Coverage remained the same at 97.143% when pulling c672e07766cc380d5aeeb3126007b929d84924ee on feature/switch-ckeditor-back-to-master into 794d727101e4083ee7f2ce03ec42349a838dc35d on master.


cannot authenticate via oAUTH

not sure it is appropriate to ask a question here, but I have been struggling with initiating oAUTH with this Library. When I get authenticated I plan on adding timeline create functionality. I just have no idea what I am doing wrong. I used a sample app so I know I am on the right track with my variables. Here is my code, I desperately need a bump in the right direction. Maybe we could do a screen share and willing to pay as I have been battling this for 2 days. Guessing it is something simple I am missing.
I keep getting BAD_AUTH_CODE, "missing or unknown auth code". I could get data via APIkey but the timeline calls require oAUTH. My email is<EMAIL_ADDRESS>const chai = require('chai')
const expect = chai.expect
const Hubspot = require('hubspot')
class hubspotapi {
authorize(params) {
return new Promise((resolve, reject) => {
let body = '';
if(params.client_id) {
const pams = {
code: 'codecodecode',
clientId: 'xxxxx',
clientSecret: 'yyyyyyy',
redirectUri: 'https://plainsmobile.com'
//
}
const hubspot = new Hubspot(pams)
return hubspot.oauth.getAccessToken({
pams // the code you received from the oauth flow
}).then(data => {
expect(res).to.have.a.property('access_token')
})
return hubspot.contacts.get().then(data => {
expect(data).to.be.a('object')
expect(data.contacts).to.be.a('array')
expect(data.contacts[0]).to.be.an('object')
})
//return hubspot.refreshAccessToken()
//  .then(results => {
//	console.log(results.access_token)
//	console.log(hubspot.accessToken) // this assigns the new accessToken to the client, so your client is ready to use
//	return hubspot.contacts.get()
//  })
			resolve(response);

		} else {
			resolve();
		}
	});
}

}
module.exports=hubspotapi;
hubspotapi.txt

Hi Jon,
For the code params, you're using the code passed back to you by the Hubspot callback?
Here's my code, hope that helps:
Step 1: redirect from my app to Hubspot:
const redirect_uri = `${get_redirect_uri(req)}?state=${state}`
const hubspot = new Hubspot({
  clientId: hubspot_app.clientId,
  redirectUri: redirect_uri
})
const authorization_url = hubspot.oauth.getAuthorizationUrl({ scope, optional_scope })
res.redirect(authorization_url)

Step 2: Process the callback from Hubspot:
const hubspot = new Hubspot({
    clientId: hubspot_app.clientId,
    clientSecret: hubspot_app.clientSecret,
    redirectUri: `${get_redirect_uri(req)}?state=${tenant}`
})

const code = req.query.code

try {
  const results = await hubspot.oauth.getAccessToken({ code })
} catch (e) {
  const { response = {} } = e
  const { body } = response
  const err = new Error(body.message)
  err.body = body
  err.status = results.status
  next(err)
}

thanks, could you send me your declarations (res)? I am having problems with res.redirect.
I think I can get this now,....

anyway I could get the files for the complete code for above? I really apologize I just can't put this all together, have been starting at this all week and can't get over the hump... I think I have the hubspot developer guides memorized but just can't piece this together for oAUTH... my apologies


v5.0.0

Changelog

added unit tests to MovingAveragePlus
fix back() method
fix resize() method
remove fill() method

WIP
#43
#42
#41

New updates will be released on the new repository https://github.com/AlexandreHiroyuki/DataTome


Last modified date is broken

The "last modified date" in the footer is broken:

I think the HTML in https://github.com/modernjuliaworkflows/modernjuliaworkflows.github.io/blob/89bd1c9c9b82868f9d99a8340f4bd280447f8f66/_layout/page_foot.html#L2 needs to use
Last modified: {{last_modification_date}}.{{end}}

according to https://github.com/tlienart/Xranklin.jl/issues/114#issuecomment-1059163239. I tried fixing it myself but Xranklin kept bugging on serve() so I can't test it.

Thanks! What was the serve bug?

julia> using Xranklin

julia> serve(debug=true)
  Activating project at `C:\Users\User\.julia\dev\modernjuliaworkflows.github.io`
┌ Warning: The active manifest file has dependencies that were resolved with a different julia version (1.9.3). Unexpected behavior may occur.
└ @ C:\Users\User\.julia\dev\modernjuliaworkflows.github.io\Manifest.toml:0
┌ Debug: Skipping mtime check for file C:\workdir\usr\share\julia\stdlib\v1.10\MbedTLS_jll\src\MbedTLS_jll.jl used by C:\Users\User\.julia\juliaup\julia-1.10.0-beta2+0.x64.w64.mingw32\share\julia\compiled\v1.10\MbedTLS_jll\u5NEn_BcAkB.ji, since it is a stdlib
└ @ Base loading.jl:3124
┌ Debug: Skipping mtime check for file C:\workdir\usr\share\julia\stdlib\v1.10\Zlib_jll\src\Zlib_jll.jl used by C:\Users\User\.julia\juliaup\julia-1.10.0-beta2+0.x64.w64.mingw32\share\julia\compiled\v1.10\Zlib_jll\xjq3Q_BcAkB.ji, since it is a stdlib
└ @ Base loading.jl:3124
┌ Debug: Skipping mtime check for file C:\workdir\usr\share\julia\stdlib\v1.10\Test\src\Test.jl used by C:\Users\User\.julia\juliaup\julia-1.10.0-beta2+0.x64.w64.mingw32\share\julia\compiled\v1.10\Test\JfdTE_BcAkB.ji, since it is a stdlib
└ @ Base loading.jl:3124
┌ Debug: Skipping mtime check for file C:\workdir\usr\share\julia\stdlib\v1.10\Test\src\logging.jl used by C:\Users\User\.julia\juliaup\julia-1.10.0-beta2+0.x64.w64.mingw32\share\julia\compiled\v1.10\Test\JfdTE_BcAkB.ji, since it is a stdlib
└ @ Base loading.jl:3124
┌ Debug: Skipping mtime check for file C:\workdir\usr\share\julia\stdlib\v1.10\LibSSH2_jll\src\LibSSH2_jll.jl used by C:\Users\User\.julia\juliaup\julia-1.10.0-beta2+0.x64.w64.mingw32\share\julia\compiled\v1.10\LibSSH2_jll\K6mup_BcAkB.ji, since it is a stdlib
└ @ Base loading.jl:3124
┌ Debug: Skipping mtime check for file C:\workdir\usr\share\julia\stdlib\v1.10\Test\src\precompile.jl used by C:\Users\User\.julia\juliaup\julia-1.10.0-beta2+0.x64.w64.mingw32\share\julia\compiled\v1.10\Test\JfdTE_BcAkB.ji, since it is a stdlib
└ @ Base loading.jl:3124
┌ Debug: clear: false / utils: false; reprocess config/utils
└ @ Xranklin C:\Users\User\.julia\packages\Xranklin\dhLuj\src\build\serve.jl:187
┌ Debug: 🚧 ... process_config
└ @ Xranklin C:\Users\User\.julia\packages\Xranklin\dhLuj\src\misc_utils.jl:123
[ Info: ⌛ processing config file
ERROR: MethodError: no method matching html_hk(::FranklinParser.Block, ::Xranklin.GlobalContext{Xranklin.LocalContext}, ::Symbol)

Closest candidates are:
  html_hk(::FranklinParser.Block, ::Xranklin.LocalContext, ::Symbol)
   @ Xranklin C:\Users\User\.julia\packages\Xranklin\dhLuj\src\convert\markdown\rules\heading.jl:21

Stacktrace:
 [1] html_h1(b::FranklinParser.Block, c::Xranklin.GlobalContext{Xranklin.LocalContext})
   @ Xranklin C:\Users\User\.julia\packages\Xranklin\dhLuj\src\convert\markdown\rules\heading.jl:1
 [2] top-level scope
   @ none:1

I didn't go much further then that for testing the bug.

I tried your fix and it worked on our website, so thanks! Not sure where your bug comes from though


[Accessibility] Reading is no longer possible when hovering the mouse over items in the tab and explorer areas of the editor.

Type: Bug
I use a screen reader. I often use the mouse cursor to read the text below it. However, when I upgraded to version 1.92, I encountered the title problem.
NVDA's mouse cursor reading function is used.
I hope it will be corrected.
 Could you pls provide exact steps and what happened before vs what's happening now (or not)?
cc @rperez030
Thank you

NVDA has a feature to read the object under the cursor. That is also part of magnification tools such as zoomtext. I understand they rely on the UIA_BoundingRectangle property to determine the object under the mouse, which I've heard is not very reliable in browsers. I'm personally not very familiar with it since it is not something i would use myself.

I use the Japanese version of NVDA, so I don't know exactly how to enable that feature in the English version, but it is probably almost the same.
To enable it, open the menu by pressing "NVDA Ki~ + N", select "Settings", and check "Mouse" under the category "Mouse" -> "Report text at mouse cursor position".
Then, in various applications and browsers, when you move the mouse over the text, it will be read out loud.
Because I have low vision, I work with the mouse cursor there and have the text read to me, while somehow perceiving the position of the text.
In one previous version of VS Code (1.92 or earlier), I was able to read out the text without any problem.
Is there some change in the structure of the DOM or is it a problem with the version of the Chrome Driver that is installed?
I have tried various DOM change operations on my end using VS Code's developer tools, but so far it seems to have no effect.
If that didn't help, you could listen for f-focus events on the JavaScript side, write the target text to the element with the "aria-live" attribute, and notify the NVDA side of the text.

There is one sure cause for not reading them.
We need to be sure that this is the case, but we would like to share our findings.
If you want NVDA to read text under the mouse cursor, the object must be directly touching the mouse cursor.
For example, as an example of how to make it unreadable, if you place a transparent DOM over the object for some purpose (using position:absolute, etc.) or create an object using CSS pseudo-classes (before, after, etc.), NVDA will not read NVDA will not read it.

@deepak1556 know of any change that could've caused this?

@ryusei-48 given this seems like a possible regression, it would help to know which change caused it. We maintain a node.js based CLI tool  vscode-bisect that automatically downloads and runs previous VS Code insiders and asks for each build if the issue reproduces. It takes up to 8 steps to find exactly the build that caused the regression.
Steps:

install node.js (if not yet done)
npx --yes @vscode/vscode-bisect@latest
follow the instructions until you found the offending build (its fine to leave the commit empty)
report back the commit range in this issue

Thanks!

The range of problematic commits is now as follows
git bisect start && git bisect bad 2fe05272052cf1f0ab2133f7f4874e9a748e8e74 && git bisect good b23e791eb5afbd95f05aa24da7693ce89344a079

Since the problem was with a release build, we ran the command as follows
npx --yes --releasedOnly @vscode/vscode-bisect@latest

The GitHub page summarizing the scope of the problematic commits is below.
https://github.com/microsoft/vscode/compare/b23e791eb5afbd95f05aa24da7693ce89344a079...2fe05272052cf1f0ab2133f7f4874e9a748e8e74

We first reported that the text in the Explorer area and editor tabs was no longer being read out loud, but after much verification, we found that the text under the mouse cursor was no longer being read out loud over a fairly wide area.
For example, the popup that appears in the lower right corner of the screen when there is some notification, the description popup that appears when the mouse cursor is over a TypeScript keyword or type, and all items on the settings page.
It seems to me that something is wrong with the entire VS Code screen.

I'm having the same issue.
I am using the https://github.com/hwf1324/objectViewer NVDA add-on I developed to view the layout of the NVDAObject.
Here is an example:

The Report Issues window for the latest preview version

Report issue window of an earlier preview version
The difference between them can be observed with a new NVDAObject.
Perhaps as mentioned above there is something blocking the mouse from finding the object below?

On a side note, could this be related to Electron? Because one of the apps I use had a similar problem after one of the recent updates. It uses Electron as well.
Of course I haven't investigated or tested it, just making a hypothesis.

Thanks @ryusei-48 for the bisect results, the commit does reference an Electron update we had in 1.92 it could be very well be a regression in Chromium.
I don't have the setup to confirm this issue yet, If anyone is interested in the meantime to investigate further please try the following next steps to bisect chromium builds,
python tools/bisect-builds.py -a win -g 122.0.6261.156 -b 124.0.6367.243 --use-local-cache --verify-range -- --no-first-run https://vscode.dev

Thank you for your research.
I just did a bisect of cromium.
As a result, it seems that there is a problem with cromium as you mentioned.
The problem is happening in the following commit ranges
f777d3b07c236181ee6f8899523171e871d7abe9 -> 28ea064cc7c474a6e850b53e35487ad6bdab58d0
CHANGELOG URL:
https://chromium.googlesource.com/chromium/src/+log/f777d3b07c236181ee6f8899523171e871d7abe9..28ea064cc7c474a6e850b53e35487ad6bdab58d0

Thanks for the quick turnaround, but looking at the commit history in that range only one commit is relevant to a11y but that is not bundled as part of our application. It could be that the bisect range is incorrect, can you try the chromium bisect again to confirm.

OK, I tried again.
The results were a little different.
python bisect-builds.py -a win -g 122.0.6261.156 -b 124.0.6367.243 --use-local-cache --verify-range -- --no-first-run https://vscode.dev
Downloading list of known revisions. If the range is large, this can take several minutes...

Loaded revisions 1625-1338356 from C:\Users\yamaz\Downloads\test\.bisect-builds-cache.json
Downloading revision 1250580...
Received 209320771 of 209320771 bytes, 100.00%
Trying revision 1250580...
Revision 1250580 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1274506...
Trying revision 1274506...
Revision 1274506 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: b
Downloading revision 1262540...
You have about 10 more steps left.
Bisecting range [1250580 (good), 1274506 (bad)].
Trying revision 1262540...
Revision 1262540 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1268390...
You have about 9 more steps left.
Bisecting range [1262540 (good), 1274506 (bad)].
Trying revision 1268390...
Revision 1268390 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1271471...
You have about 8 more steps left.
Bisecting range [1268390 (good), 1274506 (bad)].
Trying revision 1271471...
Revision 1271471 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: b
Downloading revision 1270530...
You have about 7 more steps left.
Bisecting range [1268390 (good), 1271471 (bad)].
Trying revision 1270530...
Revision 1270530 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1270722...
You have about 6 more steps left.
Bisecting range [1270530 (good), 1271471 (bad)].
Trying revision 1270722...
Revision 1270722 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1270902...
You have about 5 more steps left.
Bisecting range [1270722 (good), 1271471 (bad)].
Trying revision 1270902...
Revision 1270902 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1271272...
You have about 4 more steps left.
Bisecting range [1270902 (good), 1271471 (bad)].
Trying revision 1271272...
Revision 1271272 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1271386...
You have about 3 more steps left.
Bisecting range [1271272 (good), 1271471 (bad)].
Trying revision 1271386...
Revision 1271386 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1271438...
You have about 2 more steps left.
Bisecting range [1271386 (good), 1271471 (bad)].
Trying revision 1271438...
Revision 1271438 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 1271458...
You have about 1 more steps left.
Bisecting range [1271438 (good), 1271471 (bad)].
Trying revision 1271458...
Revision 1271458 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
You are probably looking for a change made after 1271458 (known good), but no later than 1271471 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/c84e8a928888a874d39e0f3ef70b13721b8bdbdf..ab56da8dd8d41d786caf4954fd8e9aea55beebb0

Hello.Was a fix for this issue included in this recovery release?
https://github.com/microsoft/vscode/releases/tag/1.92.1
If it looks like it will be a while yet, I will continue to use version 1.91 until the problem is resolved.

Related: https://github.com/electron/electron/issues/42945

I created an NVDA add-on to temporarily fix this.
https://github.com/hwf1324/mouseEnhancements


Components as visual list

Hi,
I wanted to have all the components handy for a project I'm planning so I listed all sections with their visual renderings.
You can find it here:
https://github.com/tart2000/Webslides-components/
Hi, I'm not sure if you want to use it or not, but I could make a PR if you think it's useful.
Cheers

Hey! This is great!
Thanks for the time you put into it. I've been thinking into adding this too but would likely need to be on the Wiki as we want to keep the README as simple a possible.
Unfortunately there isn't a way for you to contribute to the Wiki since it doesn't accept PR 😞
Would you mind if we copied that over to the wiki and add put you in the credits for such a great task?

@tart2000 Thanks so much, Arthur. It will be very helpful. I saw the screenshots and content isn't aligned properly. Which browser are you using?

@Belelros Yes, please do what you see fit with it.
@jlantunez I used Decktape for the export on Chrome, straight from the webpage. I guess it might have to do with this comment:

In base.css line 3147 change display: block !important; to display: flex: !important and run base.css through https://autoprefixer.github.io/ with filter safari >= 4.
But as I used the online presentation, I didn't have access to CSS.
One way to go around it would be to re-export the images from a local modified version.


Is there a way to get column index by clicking on a column?

There seems to be no way to achieve this with current API. Something like onColumnClick(), or onCellClick() that returns corresponding column index will be good for me.

Can you add onClick() to ?

You can add an onClick event handler to the column header, and have that store its columnKey prop.
If you want a more detailed answer, feel free to ask in our maintained fork: https://github.com/schrodinger/fixed-data-table

can you get row data from the onClick callback?

nevermind just provided second parameter and provides row index
handleClick(e,index){console.log(index)}


[simplify-cfg] The name for the pass does not have a - at the beginning.

I added a test that makes sure we can invoke this correctly. I found this when
trying to get the bug_reducer tests working again.

@swift-ci smoke test and merge


exception when canceling save

if you open the example. and go to File>Save
and then cancel the filebrowser dialog.
you get the following exception
Traceback (most recent call last):
  File "C:\Users\hanne\OneDrive\Documents\repos\python-node-editor\main.py", line 91, in save_project
    self.node_widget.save_project(file_path)
  File "C:\Users\hanne\OneDrive\Documents\repos\python-node-editor\node_editor\gui\node_widget.py", line 121, in save_project
    nodes = item.nodes()
  File "C:\Users\hanne\OneDrive\Documents\repos\python-node-editor\node_editor\connection.py", line 37, in nodes
    return (self.start_pin.node(), self.end_pin.node())
TypeError: 'Button_Node' object is not callable

Sorry, I've been away for a while. I'll check this out and fix it. in time


Planning for Zowe Face to Face for Aug 4, 2019

Need to discuss and close on face to face meeting agenda, topics and owners to lead sessions. Draft agenda here - https://ibm.box.com/s/mat95ff9hltulesxdcusue9q7j6lv2qn
Example issues to finalize is session start time (are attendees willing to travel Saturday for early Sunday start or assume Sunday morning travel with noon time start), how many topics to try to cover - current assumption is one main tent - the meeting space has some accommodations for breakouts.

So three things:

Let's move out of box and into wiki.zowe.org
Is that doc still accurate? I know the evening activity is still listed here and that's no longer applicable
Let's remove the mentions of SHARE since this isn't officially connected to that event.

@Tbr00ksy

Great event everyone!
link to assets: https://github.com/zowe/community/tree/master/Project Management/2019 Face to Face


CRYPTO-11: UserGuide for the site document.

This fix https://issues.apache.org/jira/browse/CRYPTO-11.

In this PR, we still use the configuration name in chimera. And we will change it to Apache name space after PR https://github.com/apache/commons-crypto/pull/11 is merged to upstream.

Thank @JkSelf for your update, I left some comments.

Hi @sundapeng , I have update the gh-pages branch. The link is http://jkself.github.io/commons-crypto/userguide.html

Thank @JkSelf .

Thanks @sundapeng comments. I have fixed.

Thanks @JkSelf for your update, I left some comments.

Thanks @sundapeng comments. I have fixed.

LGTM, thank @JkSelf

Committed to master, thank @JkSelf


Design: Entry for parameters

As a user
I need a way to enter my details
So I know when I can retire and the answers will be personalised for me.
Acceptance Criteria

When input value changes there's a loading screen presented.
Content description is finalised and is shown correctly

Moving Loading Screen into it's own story


Bump formatters to the latest major versions

Summary:

Prettier v3 has been released recently and has caused compatibility issues with eslint-plugin-prettier, which released v5 shortly afterwards to resolve the conflict. However, @react-native/eslint-config is still consuming<EMAIL_ADDRESS>so any project that has upgraded Prettier to v3 will see exceptions while linting.
In light of the fact that several formatters (Prettier, eslint-plugin-prettier, typescript-eslint) have recently made major-version releases, I recommend upgrading them to mitigate potential issues and leverage the latest updates of the formatters.
Changelog:
[GENERAL] [CHANGED] - Bump Prettier in template from 2.8.8 to 3.0.0 and upgrade dependencies of @react-native/eslint-config
Test Plan:

Everything builds and runs as expected

Just a small heads up as this PR has been un-reviewed for a while. Sadly we can't just bump prettier easily as we'll have to follow the versioning imposed by the internal monorepo. So once we bump prettier internally, React Native will also be bumped


Is the timeout in seconds or milliseconds?

The WebSocketClient class contains a "timeout" attribute, but it doesn't indicate if it's in seconds or milliseconds?

It's in milliseconds. I've tested it.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 473 ms

Resolved: ClamAV performance has improved in 8b87bcf.


Assign the resolved early

Why this change?

Are you sure that it will run faster? Assign command always is executed even !is_callable($toResolve) && is_string($toResolve)  is true. With old code, it isn't executed.

@oanhnn not sure if its that much faster but its doing the same as previous code minus using the else.


Rahul's changes

Per yesterday 11/3's meeting with @growly & @aviralpandey:

Gotta support VLSIR, it's our primary on-disk format. Not just GDSII.

A good test for these changes would be: run the command-line tools gds2proto and proto2gds back-to-back, and (at least "semantically") compare the round-tripped GDS files.

We've all pretty much admitted that as little as we like them, we probably need GDSII-style "layered" or "3D located" text labels.

Adding these to layout.raw.LayerShapes, and then adding the code to import and export them, would probably do it

We did not review the layer-manager changes, and should before merging.


Add entry at xmpp.org/software

Would it make sense to add this tool to https://xmpp.org/software/ ?
Feel free to make an PR https://github.com/xsf/xmpp.org/blob/master/data/software.json

I am currently working on adding it. I already have the commits ready (https://github.com/PapaTutuWawa/xmpp.org/tree/new-software/moxxy) but I then got side-tracked. I'll rebase my branch and then submit the PR :smile:


Feature: Allow aria-hide multiple body childs.

Hi,
I saw that through setAppElement I can pass the id or directly the HTML reference of the element I want to aria hide.
In a CRA we usually have a #root element which contains all the HTML structure the user interact with.
But in other react  HTML structures you might not have a parent, such as #root, to simply hide. Instead, you might have multiple HTML elements directly child of the body.
Given that.. is there a way to aria-hide multiple elements and not just one?
Would be very useful! Or in alternative aria-hide everything a part from the modal container.

@Vanals For now, we can only handle one element.
One way to solve your problem would be to set ariaHideApp={false}, indicating that you will be in charge of setting the attribute to the correct elements (should help, for now)...and manage them using the method/way responsible for open the modal, and removing using the onRequestClose.
https://github.com/reactjs/react-modal/blob/5594061cb7b75f27f9e1313bc5e517f32fb61039/src/helpers/ariaAppHider.js#L14
This function could receive a list of elements.

@Vanals For now, we can only handle one element.
One way to solve your problem would be to set ariaHideApp={false}, indicating that you will be in charge of setting the attribute to the correct elements (should help, for now)...and manage them using the method/way responsible for open the modal, and removing using the onRequestClose.
https://github.com/reactjs/react-modal/blob/5594061cb7b75f27f9e1313bc5e517f32fb61039/src/helpers/ariaAppHider.js#L14
This function could receive a list of elements.

Thank you Diasbruno!
Which one is the best way to import this function in my app?
Also, wouldn't the function hide do for my case? As what I need is to hide a certain number of element and setElement(), doesn't do that, right?

Maybe, you can try to use some of the react-modal internal stuff...
import * as ariaAppHider from "react-modal/helpers/ariaAppHider.js";
// ariaAppHider.hide and ariaAppHider.show

[DomElements].forEach(ariaAppHider.hide)
[DomElements].forEach(ariaAppHider.show)

The setElement is where it defines the element to use. If anyone has interest in submitting a PR for this, we could make this function to receive a list of elements.

I'm pretty sure this was fixed by #861 in release 3.13.1.


Hi! Thanks for the plugin. But my App keeps crashing on some devices when I try to open the customfilepicker. When i tap on the button, it opens up the activity but crashes. This does not happen on all devices.. just some. But the image picker works just fine. I have attached an image of the error. Thanks!

You didn't follow template

OK.. I'll follow the template then


MLIL fails to optimize out push/pop for saved register in this case

Analyzing this function:
push rbx
test rdi, rdi
jz L1
xor ebx, ebx
L1:
pop rbx
ret

Results with an MLIL function starting with int64_t var_8 = rbx and ending with int64_t rbx_2 = var_8 where usually these assignments are optimized out.

rbx is a preserved register so this is probably correct behavior

thinking more on it, this looks like there would be several issues with optimizing that out, so I definitely think this is working as intended

Same behavior with other regs like r12. It also gets optimized out if the test+jz or the xor are removed.

Consider:
push r14
push r13
push r12
xor r14, r14
test rdi, rdi
jz L1
xor r13, r13
L1:
xor r12, r12
pop r12
pop r13
pop r14
ret

The push/pop for r12 and r14 get optimized out but not r13. I don't see the issue with removing line 0 and line 4 from that MLIL.

Fixed in build 1167


Acceptance Tests for #18 Booking Period Restrictions

User story
#18
Acceptance criteria checklist

[x] Users are allowed to submit booking within a room's date requirements
[x] Booking requests made outside of a room's date requirements (made too many or not enough days in advance) are automatically rejected

Tested and accepted.


IOS Build Fails With Error  'Firebase.h' file not found

I am trying to build the ios application via ionic cli by running the following command:

ionic cordova build ios --prod

but the build fails by reporting the following error:

FCMPlugin.m:7:9: fatal error: 'Firebase.h' file not found
#import "Firebase.h"

Here is some information about my environment:
ionic (Ionic CLI)             : 4.10.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework               : @ionic/angular 5.0.3
@angular-devkit/build-angular : 0.900.3
@angular-devkit/schematics    : 9.0.3
@angular/cli                  : 9.0.3
@ionic/angular-toolkit        : 2.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>Cordova Platforms     : android 8.1.0, browser 6.0.0 ios 5.1.1
Cordova Plugins       :
cordova-plugin-fcm-with-dependecy-updated 4.4.0, cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 11 other plugins)
Could you please check and let me know how to overcome this issue?

I'll check. Thank you for creating the issue.

Is the project from which you got this issue available as open-source?

Unfortunattely not. But I can provide you with any information you need regarding version, plugins etc.

Would you provide the app's Podfile and Podfile.lock?

Here are the contents of Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'xVlepsis' do
        project 'xVlepsis.xcodeproj'
        pod 'Firebase/Analytics', '~> 6.3.0'
        pod 'Firebase/Messaging', '~> 6.3.0'
end

However, I do not have a Podfile.lock.

You should have a Podfile.lock, as it is created when the cocoapods dependencies are installed. If they are not installed, they won't be accessible by the plugin. Hence the error you saw.
As it is by by default on cordova, should also be on ionic.
Interestingly, I saw this https://ionic.zendesk.com/hc/en-us/articles/360010049673-Managing-plugins-using-CocoaPods-in-Ionic-Appflow-
Others also had the same issue, but far back in time: https://stackoverflow.com/questions/38584906/using-cocoapods-stops-ios-build-using-ionic-project
Would kindly try to force it?

same error here with phonegap build

I forced the pod installation process and tried to build again but the following error appeared:
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

warning: AddressBook is deprecated. Consider migrating to Contacts instead. (in target 'xVlepsis' from project 'xVlepsis')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'Protobuf' from project 'Pods')
* BUILD FAILED *

Here is the Podfile:
# DO NOT MODIFY -- auto-generated by Apache Cordova
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'demoproject' do
	project 'demoproject.xcodeproj'
	pod 'Firebase/Analytics', '~> 6.3.0'
	pod 'Firebase/Messaging', '~> 6.3.0'
end

Podfile.lock
PODS:
  - Firebase/Analytics (6.3.0):
    - Firebase/Core
  - Firebase/Core (6.3.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (= 6.0.2)
  - Firebase/CoreOnly (6.3.0):
    - FirebaseCore (= 6.0.3)
  - Firebase/Messaging (6.3.0):
    - Firebase/CoreOnly
    - FirebaseMessaging (~> 4.1.0)
  - FirebaseAnalytics (6.0.2):
    - FirebaseCore (~> 6.0)
    - FirebaseInstanceID (~> 4.2)
    - GoogleAppMeasurement (= 6.0.2)
    - GoogleUtilities/AppDelegateSwizzler (~> 6.0)
    - GoogleUtilities/MethodSwizzler (~> 6.0)
    - GoogleUtilities/Network (~> 6.0)
    - "GoogleUtilities/NSData+zlib (~> 6.0)"
    - nanopb (~> 0.3)
  - FirebaseAnalyticsInterop (1.5.0)
  - FirebaseCore (6.0.3):
    - GoogleUtilities/Environment (~> 6.0)
    - GoogleUtilities/Logger (~> 6.0)
  - FirebaseInstanceID (4.2.7):
    - FirebaseCore (~> 6.0)
    - GoogleUtilities/Environment (~> 6.0)
    - GoogleUtilities/UserDefaults (~> 6.0)
  - FirebaseMessaging (4.1.1):
    - FirebaseAnalyticsInterop (~> 1.1)
    - FirebaseCore (~> 6.0)
    - FirebaseInstanceID (~> 4.1)
    - GoogleUtilities/AppDelegateSwizzler (~> 6.2)
    - GoogleUtilities/Environment (~> 6.2)
    - GoogleUtilities/Reachability (~> 6.2)
    - GoogleUtilities/UserDefaults (~> 6.2)
    - Protobuf (~> 3.1)
  - GoogleAppMeasurement (6.0.2):
    - GoogleUtilities/AppDelegateSwizzler (~> 6.0)
    - GoogleUtilities/MethodSwizzler (~> 6.0)
    - GoogleUtilities/Network (~> 6.0)
    - "GoogleUtilities/NSData+zlib (~> 6.0)"
    - nanopb (~> 0.3)
  - GoogleUtilities/AppDelegateSwizzler (6.5.2):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
  - GoogleUtilities/Environment (6.5.2)
  - GoogleUtilities/Logger (6.5.2):
    - GoogleUtilities/Environment
  - GoogleUtilities/MethodSwizzler (6.5.2):
    - GoogleUtilities/Logger
  - GoogleUtilities/Network (6.5.2):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (6.5.2)"
  - GoogleUtilities/Reachability (6.5.2):
    - GoogleUtilities/Logger
  - GoogleUtilities/UserDefaults (6.5.2):
    - GoogleUtilities/Logger
  - nanopb (0.3.9011):
    - nanopb/decode (= 0.3.9011)
    - nanopb/encode (= 0.3.9011)
  - nanopb/decode (0.3.9011)
  - nanopb/encode (0.3.9011)
  - Protobuf (3.11.4)

DEPENDENCIES:
  - Firebase/Analytics (~> 6.3.0)
  - Firebase/Messaging (~> 6.3.0)

SPEC REPOS:
  https://github.com/CocoaPods/Specs.git:
    - Firebase
    - FirebaseAnalytics
    - FirebaseAnalyticsInterop
    - FirebaseCore
    - FirebaseInstanceID
    - FirebaseMessaging
    - GoogleAppMeasurement
    - GoogleUtilities
    - nanopb
    - Protobuf

SPEC CHECKSUMS:
  Firebase: 8432d732974498afd5987e9001a05f90f1a3d625
  FirebaseAnalytics: 470ddab7253b21ad5a40bebd4a9903d7ae19386a
  FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae
  FirebaseCore: 68f8a7f50cdae542715d4e86afa37c4067217dcb
  FirebaseInstanceID: ebd2ea79ee38db0cb5f5167b17a0d387e1cc7b6e
  FirebaseMessaging: 6bb0bdaf64c55fef7a219b7bb1e94e94a0855ced
  GoogleAppMeasurement: a35a645835bae31b6bdc0576396bc23908f12a22
  GoogleUtilities: ad0f3b691c67909d03a3327cc205222ab8f42e0e
  nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
  Protobuf: 176220c526ad8bd09ab1fb40a978eac3fef665f7

PODFILE CHECKSUM: ff6184ffdcefa897fb91c63eed3c2dec97222fb5

COCOAPODS: 1.9.1

Would you, @touletan or @ tdakanalis,  consider creating a github repository of which I can clone and test it?

I managed to solve this issue doing those steps:

npm uninstall -g cordova

npm install -g cordova@9

cordova platform rm ios

cordova plugin rm cordova-plugin-fcm-with-dependecy-updated

cordova plugin add cordova-plugin-fcm-with-dependecy-updated

open cordova-plugin-fcm-with-dependecy-updated.podspec and change these lines
spec.dependency 'Firebase/Analytics', ‘~> 6.3.0’
spec.dependency 'Firebase/Messaging', '~> 6.3.0'
to
spec.dependency 'Firebase/Analytics’
to spec.dependency 'Firebase/Messaging’

open plugin.xml and change these lines

To

cordova platform add ios@5

I managed to solve this issue doing those steps:

npm uninstall -g cordova
npm install -g cordova@9
cordova platform rm iOS
cordova plugin rm cordova-plugin-fcm-with-dependecy-updated
cordova plugin add cordova-plugin-fcm-with-dependecy-updated
open cordova-plugin-fcm-with-dependecy-updated.podspec and change these lines

spec.dependency 'Firebase/Analytics', '~> 6.3.0'
spec.dependency 'Firebase/Messaging', '~> 6.3.0'
to
spec.dependency 'Firebase/Analytics’
to spec.dependency 'Firebase/Messaging’

open plugin.xml and change these lines

<pod name="Firebase/Analytics" spec="~> 6.3.0" />
<pod name="Firebase/Messaging" spec="~> 6.3.0" />
To
<pod name="Firebase/Analytics" />
<pod name="Firebase/Messaging" />

cordova platform add ios@5

I've followed those steps, but I can't have it working...
I'm with Ionic cli 4.8.0
cordova 9.00
cordova-ios 5.1.1
No way.... Or I get this firebase.h error, or
"fatal: repository 'https://cdn.cocoapods.org/' not found" when trying to install ios 5.1.1
Could someone tell the combination of version to make it work , please '????
Thanks, and sorry for my english

pls help...

I've followed those steps, but I can't have it working...
I'm with Ionic cli 4.8.0
cordova 9.00
cordova-ios 5.1.1
No way.... Or I get this firebase.h error, or
"fatal: repository 'https://cdn.cocoapods.org/' not found" when trying to install ios 5.1.1
Could someone tell the combination of version to make it work , please '????
Thanks, and sorry for my english

Plz, send your ionic info in replay.
My ionic info is:
`Ionic:
Ionic CLI          : 6.3.0 (/Users/eonio/.nvm/versions/node/v13.11.0/lib/node_modules/@ionic/cli)
Ionic Framework    : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI       : 9.0.0<EMAIL_ADDRESS>Cordova Platforms : android 8.1.0, ios 5.1.1
Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 33 other plugins)
Utility:
cordova-res : 0.11.0
native-run  : 0.3.0
System:
Android SDK Tools : 26.1.1 (/Users/eonio/Library/Android/sdk)
ios-sim           : 8.0.2
NodeJS            : v13.11.0 (/Users/eonio/.nvm/versions/node/v13.11.0/bin/node)
npm               : 6.13.7
OS                : macOS Catalina
Xcode             : Xcode 11.4 Build version 11E146`
I would recommend you to use NVM then start a new life in a fresh new stack install. It's is very easy to have as many dev stacks you need.

got it working.
remove cordova
add<EMAIL_ADDRESS>in your project directory, platforms/ios, run :

pod repo update --verbose
sudo gem install cocoapods
add your firebase plugin
add ios platform ( for me was 5.1.1 )

Enjoy !

It doesn't work in Phonegap Build which does a clean install on every build. There must be something missing in regard to the cocoa pods.

The new cdn for cocoapods, as seem by some users, is failing.

As other users had timeouts with the bloated github-hosted one, I'll experiment with a fallback approach.

Please update the plugin with the new version.
Now the cordova-plugin-fcm-with-dependecy-updated plugin will keep the old github source for older cocoapods versions.
And will only change its source, when the minimal cocoapods that supports it 1.7.2 (https://blog.cocoapods.org/CocoaPods-1.7.2/) is recognized.

Hello guys I am still having issues here even with the latest version
Can you help me?

update to cordoba 9, and follow my post, I've done 4 times since then, and all ok.
My plugin version :
"cordova-plugin-fcm-with-dependecy-updated": "4.5.1",

update to cordoba 9, and follow my post, I've done 4 times since then, and all ok.
My plugin version :
"cordova-plugin-fcm-with-dependecy-updated": "4.5.1",
Sadly I was not able to fix it. A whole ffile is missing Firebase.h

Apparently I had to remove all instances of cordova ... it was using cordova 8. Thank you again it built successfully

In case this helps anyone:
Have you installed anything using sudo?  That will trigger this problem ^
I was trying all these suggested solutions, and then I finally destroyed my local copy, cloned the repo to local again and started from scratch. It dawned on me that I'd been running some installations as sudo as a quick "solution" to permissions complaints. When I took the time to change the owner from 'root' to my own user for all the directories being blocked by permissions during installation of any given package/plugin/library, everything worked like a charm. I didn't need to do any of the above solutions.
This might apply only to my lazy ass, but I share just in case it helps someone else ;-)

Someone has still this problem? I can't find a solution.
I'm using:

Ionic 5
Cordova IOS 6.2.0
Cordova 10.0.0

Ho @mateo2181 did you manage to solve it?
I have the same problem now with:

Cordova IOS 6.2.0
Cordova 11.0.0

Thankyou


Fix: update link name of read more cta button

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
I also implemented the aria-label instead of setting sr-only since the analytics linkname is also the same to the expected screen reader output
Fix https://github.com/hlxsites/accenture-newsroom/issues/465

https://github.com/hlxsites/accenture-newsroom/issues/465

Test URLs:

Before: https://main--accenture-newsroom--hlxsites.hlx.page/
After: https://home-hero-analytics--accenture-newsroom--hlxsites.hlx.page/

@jjjaspher IIRC, Accessibility score was dropped even when I've the aria-label, so I've used the sr-only technique. But the PSI is saying Accessibility now is 100. You can merge this and test again in newsroom.accenture.com and if accessibility score is still 100, that's fine, we can keep the fix. Otherwise, please revert to using sr-only.


User Sign-Ins List in Portal: Past 7 days

In Azure B2C, when using the "Sign-Ins" feature in the Users area of the portal, the maximum amount fetched is the past 7 days. Selecting past month, or a custom range, still results in only 7 days worth of sign ins.
I have tried this out using the old and the preview experience for sign ins, the custom range vs the past month selection, and with 3 separate B2C tenants.
The area I am referring to is here. Let me know if you need any more information from me.

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

ID: ef6a6152-30d5-3914-843e-e601c036fbaf
Version Independent ID: 470b478d-e537-048a-e516-b473e819eb3d
Content: Create & delete Azure AD B2C consumer user accounts in the Azure portal
Content Source: articles/active-directory-b2c/manage-users-portal.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@dave22000
Thanks for your feedback! We will investigate and update as appropriate.

@dave22000
I just wanted to check in and see if you had any other questions?

@JamesTran-MSFT  I have confirmed this tenant has P2 licensing. We are not trying to use a different monitoring solution, just the in-portal Users tab experience with the last month filter

@dave22000
Thank you for the quick follow up on this! I'll pass your words along to our PG team and update as soon as possible.

@dave22000
Thank you for your time and patience throughout this issue. I just wanted to reach out and let you know that we're still looking into this, and will update as soon as possible.
Additionally, since you're still experiencing this issue on your end, if you'd like to work closer with our support team, please let me know. This way I can enable your subscription for a one-time free technical support request, so our support engineers can take a closer look into your environment and issue.

@JamesTran-MSFT yes can we work closer together? Happy to demonstrate the specific issue I'm seeing if needed.

@dave22000
Thank you for the quick follow up on this!
Can you please email me with the info below. I'll go ahead and enable a one-time free technical support request for your subscription so you can work with our support engineers to get this issue resolved.
Email<EMAIL_ADDRESS>Subject: ATTN - James Tran
Body:
Azure Subscription ID
Link to this issue
I'll go ahead and close out this issue at the end of the day and keep an eye out for your email.
Thank you for your time and patience throughout this issue.

@JamesTran-MSFT  email sent


[APIM 3.0.0][UI] Mediation Policies Page Styling Issues

Page does not fit into the page.

Fixed with https://github.com/wso2/carbon-apimgt/pull/7184


[backport] Fix deadlock on MultiprocessIterator and MultiprocessParallelUpdater

Backport of #7511

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit e0a5d8d911dd7deae68df1bf5a25819b4850d4a7, target branch v6) succeeded!

LGTM


Error trying to install http-server on nodejs

Hello. First a warning: I know less than nothing about nodejs or most command line applications, so everything I have tried to google on this issue has led me to what looks to my eyes as gobbledegook and nonsense, although I'm sure there is some solution that escapes me. What this means is you may have to be exceptionally simplistic in your explanations.
While trying to download and set up the angular-phonecat project, I followed the instructions to download nodejs, and then the instructions to change directory to angular-phonecat, then when it says run the line npm start i get the following:
><EMAIL_ADDRESS>start C:\Users\Chris Muster\angular-phonecat
> http-server ./app -a localhost -p 8000 -c-1

events.js:161
      throw er; // Unhandled 'error' event
      ^

Error: listen EACCES <IP_ADDRESS>:8000
    at Object.exports._errnoException (util.js:1023:11)
    at exports._exceptionWithHostPort (util.js:1046:20)
    at Server._listen2 (net.js:1248:19)
    at listen (net.js:1297:10)
    at doListening (net.js:1396:7)
    at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10)

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v7.5.0
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `http-server ./app -a localhost -p 8000 -c-1`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'http-server ./app -a localhost -p 8000 -c-1'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     http-server ./app -a localhost -p 8000 -c-1
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-phonecat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Chris Muster\angular-phonecat\npm-debug.log

The log in the last line has this info:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
7 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Chris Muster\angular-phonecat\node_modules\.bin;C:\Users\Chris Muster\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Brackets\command;C:\Program Files\nodejs\;C:\Ruby23\bin;C:\Users\Chris Muster\AppData\Local\Microsoft\WindowsApps;C:\Users\Chris Muster\AppData\Roaming\npm
8 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\Users\Chris Muster\angular-phonecat
9 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'npm install' ]
10 silly lifecycle<EMAIL_ADDRESS>Returned: code: 0  signal: null
11 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>12 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
13 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Chris Muster\angular-phonecat\node_modules\.bin;C:\Users\Chris Muster\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Brackets\command;C:\Program Files\nodejs\;C:\Ruby23\bin;C:\Users\Chris Muster\AppData\Local\Microsoft\WindowsApps;C:\Users\Chris Muster\AppData\Roaming\npm
14 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\Users\Chris Muster\angular-phonecat
15 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'http-server ./app -a localhost -p 8000 -c-1' ]
16 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
17 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
18 verbose stack Error<EMAIL_ADDRESS>start: `http-server ./app -a localhost -p 8000 -c-1`
18 verbose stack Exit status 1
18 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:279:16)
18 verbose stack     at emitTwo (events.js:106:13)
18 verbose stack     at EventEmitter.emit (events.js:192:7)
18 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
18 verbose stack     at emitTwo (events.js:106:13)
18 verbose stack     at ChildProcess.emit (events.js:192:7)
18 verbose stack     at maybeClose (internal/child_process.js:890:16)
18 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
19 verbose pkgid<EMAIL_ADDRESS>20 verbose cwd C:\Users\Chris Muster\angular-phonecat
21 error Windows_NT 10.0.14393
22 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
23 error node v7.5.0
24 error npm  v4.1.2
25 error code ELIFECYCLE
26 error<EMAIL_ADDRESS>start: `http-server ./app -a localhost -p 8000 -c-1`
26 error Exit status 1
27 error Failed at the<EMAIL_ADDRESS>start script 'http-server ./app -a localhost -p 8000 -c-1'.
27 error Make sure you have the latest version of node.js and npm installed.
27 error If you do, this is most likely a problem with the angular-phonecat package,
27 error not with npm itself.
27 error Tell the author that this fails on your system:
27 error     http-server ./app -a localhost -p 8000 -c-1
27 error You can get information on how to open an issue for this project with:
27 error     npm bugs angular-phonecat
27 error Or if that isn't available, you can get their info via:
27 error     npm owner ls angular-phonecat
27 error There is likely additional logging output above.
28 verbose exit [ 1, true ]

I have no idea what any of this means and I'm tearing my hair out trying to understand, any help would be much appreciated.

I have no idea why some of the lines above have been crossed out, they weren't in the original copy.

They are not crossed out now :wink:
The error means that (for whatever reason) you can't access port 8000. One common reason is that some other process is already using it. Either try changing the port (in package.json) or try to find out if who might be using the port, by following thr instructions here.

Thanks for the reply.
I don't know anything about package.json.
I had a look at your link, and tried to install node-inspector (whatever that is, I still don't know), and got another error, maybe I'm trying to install it in the wrong place?
C:\Users\Chris Muster\angular-phonecat>npm install -g node-inspector

<EMAIL_ADDRESS>preinstall C:\Users\Chris Muster\AppData\Roaming\npm\node_modules.staging\v8-debug-1bb640cd
node -e 'process.exit(0)'

<EMAIL_ADDRESS>preinstall C:\Users\Chris Muster\AppData\Roaming\npm\node_modules.staging\v8-profiler-fbc145bb
node -e 'process.exit(0)'

C:\Users\Chris Muster\AppData\Roaming\npm\node-debug -> C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\bin\node-debug.js
C:\Users\Chris Muster\AppData\Roaming\npm\node-inspector -> C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\bin\inspector.js

<EMAIL_ADDRESS>install C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v51-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v51 ABI) (falling back to source compile with node-gyp)
C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" clean )  else (node "" clean )
C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build "--module=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node" --module_name=debug "--module_path=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64" )  else (node "" configure --fallback-to-build "--module=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node" --module_name=debug "--module_path=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64" )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:454:19)
gyp ERR! stack     at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:480:16)
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:112:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node" "--module_name=debug" "--module_path=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64"
gyp ERR! cwd C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug
gyp ERR! node -v v7.5.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64\debug.node --module_name=debug --module_path=C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\node-v51-win32-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess. (C:\Users\Chris Muster\AppData\Roaming\npm\node_modules\node-inspector\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:192:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:890:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR!  Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "node-inspector"
npm ERR! node v7.5.0
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the v8-debug package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs v8-debug
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls v8-debug
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Chris Muster\angular-phonecat\npm-debug.log
When I looked at what was using port 8000, this is what I got:
C:\Users\Chris Muster\angular-phonecat>netstat -ano | find "8000"
TCP    <IP_ADDRESS>:8000           <IP_ADDRESS>:0              LISTENING       4
TCP    [::]:8000              [::]:0                 LISTENING       4
Any more ideas? It seems like every time I try to fix something, I need something else to fix the fix, and then something else to fix that...which leads to me becoming very confused.

You didn't have to install node-inspector :smiley: Just run netstat -ano | find "8000".
According to the output you got from running this command, it seems that a process (with process ID 4) is using the port. That is why you can't use it from angular-phonecat.
You can either terminate the process with PID 4 (you can find it by opening th Windows Task Manager (Ctrl+Shift+Esc) and looking at the PID column of a tab called "Details" or something like this), or you can change the port used by phonecat (but it is more complicated, because you need to edit more than one files and the changes will be lost the next time you checkout another step).
So, try to locate the process with PID 4 in the Task Manager and terminate it.

PID 4 was being used by the SYSTEM, with a description of NT Kernel & System. It would not allow it to be terminated.
Assuming at the moment that NT Kernel is something I should not mess with, what should I do next? If I have to change ports, how? Thank you.

Yeah, you should probably not terminate SYSTEM stuff. It is weird why it would be using port 8000. I haven't seen that before.

I am afraid I can't help more on that remotely. So, back to plan B: Change the ports used by the tutorial
You need to replace 8000 with another value (e.g. 9000) in the following files:

package.json
e2e-tests/protractor.conf.js

(The problem is that whenever you checkout a new step, your changes might be overwritten, so you will need to aply them again 😞)

Ok, after searching for a long time and finding nothing, I finally realised that the package.json and the e2e-tests files would be in the angular-phonecat directory (duh) and that the filepath to those files was staring at me from the cmd line the whole time...!
I found both files and changed the port number in them, then saved. Ran npm start from the angular-phonecat dir again, and this time it said it was starting up the server, with the new port number I chose.
So now I am able to try the rest of this project and see if I can get it going without too many more issues!
Thank you gkalpak for the help.
Just for the sake of not wanting to run into any other errors quickly, what did you mean by the line:
"(The problem is that whenever you checkout a new step, your changes might be overwritten, so you will need to apply them again 😞)"?
I don't want to be surprised by anything else! Thanks.

As you follow each step of the tutorial, you can run git checkout -f step-X to reset your workspace at step X. This command will essentially make all the files in your local angular-phonecat directory reflect the changs that were made for step X, so that you can see the actual files and can play with them, run the server and browse the website, run the unit and e2e tests etc (if it doesn't make sense, it will hopefully do down the way as you proceed with the tutorial).
Now, the problem is that each time you run git checkout -f step-X, the changes you have made to the ports will be ovrwritten (i.e. the port will be reset to 8000). So, after you run that command, you need to go into the two files (package.json and e2e-tests/protractor.conf.js) and change the port number again.

Since you were able to solve the problem (or at least work around it), I will close the issue, but feel free to continue the discussion below, if you need more help.


Add rpinetti's file

created a branch, created a file and made a commit, and opened a pull request

something new
something new
something new
something new
something new


[Segment Replication] Update getSegmentInfosSnapshot() logic to return SegmentInfos with highest generation number

Signed-off-by: Suraj Singh<EMAIL_ADDRESS>Description
The PR updates the logic getSegmentInfosSnapshot() to return SegmentInfos copy (In memory Vs On-disk) with highest generation number. The logic is copied from https://github.com/opensearch-project/OpenSearch/issues/4178#issuecomment-1221049072 with minor tweaks and unit tests.
Issues Resolved
#4178
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #4288 (ad23ba4) into main (5dd7947) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #4288   +/-   ##
=========================================
  Coverage     70.78%   70.79%
- Complexity    57309    57344   +35
=========================================
  Files          4610     4610
  Lines        275105   275113    +8
  Branches      40283    40284    +1
=========================================
+ Hits         194745   194770   +25
+ Misses        64093    64076   -17
  Partials      16267    16267

Impacted Files
Coverage Δ

...va/org/opensearch/index/engine/InternalEngine.java
75.53% <100.00%> (+0.61%)
:arrow_up:

...rc/main/java/org/opensearch/index/store/Store.java
81.47% <100.00%> (-0.12%)
:arrow_down:

.../java/org/opensearch/node/NodeClosedException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

...ch/transport/ReceiveTimeoutTransportException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

.../opensearch/client/indices/CloseIndexResponse.java
42.50% <0.00%> (-48.75%)
:arrow_down:

...opensearch/persistent/PersistentTasksExecutor.java
22.22% <0.00%> (-44.45%)
:arrow_down:

...ensearch/client/indices/DetailAnalyzeResponse.java
20.54% <0.00%> (-34.25%)
:arrow_down:

...opensearch/index/reindex/BulkByScrollResponse.java
48.38% <0.00%> (-28.23%)
:arrow_down:

...uery/functionscore/LinearDecayFunctionBuilder.java
32.00% <0.00%> (-28.00%)
:arrow_down:

.../opensearch/index/reindex/ScrollableHitSource.java
69.02% <0.00%> (-23.90%)
:arrow_down:

... and 454 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Need to think through the problem again and identify cause of mis-match in on-disk & in-memory copies of SegmentInfos. If there is a way to identify mis-match (and possibly fix it) would be the ideal solution here. Converting it to draft for now.
CC @mch2


Budget to zero broken with existing budget amounts

If I have budgeted $500 in a category, spend $200 of it, leaving a balance of $300, and click budget to zero, it'll replace the $500 budget with -$300, giving me a negative balance, rather than subtracting the $300 from the $500 and leaving $200 budgeted.

It looks like #159 fixes this feature.

#159 is now merged and will be in the next release.

Just an update, we're sorting out a couple of bugs with the Reports feature that just got introduced before we release. It won't be long at all but I just wanted to let everyone that's waiting on this fix know what's going on.

Ok, this is released as part of 0.3.7. Could you let me know if you're still experiencing this?

Verified, thanks.


valerrdisp.scss hardcoded font-family

Problem is that on line 16 is hardcoded font-family.
When u have multiple custom fields inside each other the font of application is overriden

fixed in https://github.com/blueinblue/valerrdisp-vaadin-addon/pull/4


[GPU-plugin] added GPU objective function

Objective functions can now also be run on GPUs.
Currently, reg:linear, reg:logistic, binary:logistic and binary:logitraw functions have been ported.
To select their GPU counterparts, prefix 'gpu:' in their names. (Refer to parameter.md for more info)

To keep things organized, could these be renamed:
loss.h -> regression_loss.h
objective_gpu.cu -> regression_obj_gpu.cu

Can you please provide some benchmarks showing relative speed improvement. I was not aware gradient calculation was a significant bottleneck. Also please tidy up the commit history and deal with CI failures.

Closing as no updates.

My bad. I got distracted with other issues and couldn't get to this in time.
We already have these feedbacks incorporated in an internal fork.
I'll file another PR with these soon.


Custom Product orders are displayed differently in checkout, admin and the order details page

Used Shopware Version: <IP_ADDRESS>
B2B for Shopware 6
Description: Custom Product orders are displayed differently in checkout, admin and the order details page.
Environment:
CUS v.4.2.1
Steps to reproduce:

create custom product with checkbox (e.g. 100€)
add surcharge for the option (e.g. 10€)
order the product as debitor

Expected result:

prices and configuration are all displayed the same way

Actual result:

price without vat is different (admin = €96.63, order details = 92,43 €,  checkout = 96,63€)
configuration can't be checked in the order details

[public] Shopware automated response: This issue is linked to the internal issue: B2B-1212
[created from B2B-1212, comment 514327]