ChartistJS Angular2 - chart only rendering after resizing window

I understand this is not exactly a issue with Chartist, rather an issue with how I'm capturing my data.
I'm trying to render a chart using ChartistJS
Whats weird is that if i resize the window my charts data displays.
This suggests I'm rendering the Chart with incomplete data.
Currently I am using my API service to get my data.
Below is my component
I would love your help here please
Thanks
GWS
`import { Component, ViewEncapsulation,
ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
import { ChartistJsService } from './chartistJs.service';
import { PortfolioReturns } from './returns-interface';
import { BaThemeConfigProvider } from '../../../../theme';
@Component({
selector: 'chartist-js',
encapsulation: ViewEncapsulation.None,
styles: [require('chartist/dist/chartist.css'), require('./chartistJs.scss')],
template: require('./chartistJs.html'),
providers: [ ChartistJsService ]
})
export class ChartistJs {
errorMessage: string;
returns: PortfolioReturns[];
arr = [];
seriesdata = [];
lablesdata = [];
isDataAvailable : boolean = true;
data = {
simpleLineOptions: {},
simpleLineData: {}
};
constructor( private _chartistJsService: ChartistJsService,
private _baConfig: BaThemeConfigProvider,
private _cdRef: ChangeDetectorRef ) {
}
ngOnInit() {
this.ChartistChart();
}
ChartistChart() {
let chartdata = {
labels: this.getlablesdata(),
series: [ this.getseriesdata(),
]
};
this.data = {
simpleLineOptions: {
color: this._baConfig.get().colors.defaultText,
fullWidth: true,
height: '300px',
chartPadding: {
right: 40
}
},
simpleLineData: chartdata
};
}
getseriesdata() {
this._chartistJsService.getReturns()
.subscribe((res: PortfolioReturns[]) => {
this.returns = res;
for (let i = 0; i < this.returns.length; ++i) {
this.seriesdata.push(this.returns[i].logReturnGross.toString());
}} );
return this.seriesdata;
}
getlablesdata() {
this._chartistJsService.getReturns()
.subscribe((res: PortfolioReturns[]) => {
this.returns = res;
for (let i = 0; i < this.returns.length; ++i) {
this.lablesdata.push(this.returns[i].performanceDate);
}} ) ;
return this.lablesdata;
}
getResponsive(padding, offset) {
return this._chartistJsService.getResponsive(padding, offset);
}
}`

Hi, it's very hard to tell by this code snippet. Can reproduce the issue by putting your example online at https://plnkr.co/ ?

Hi thanks for your response, I understand it's hard to tell from the snippet (especially since i didn't format it sorry). I'll try and reproduced an example but given the complexity of the base project I'm really unsure how long that will take me.
I've also raised the issue with the dashboard framework I've forked [https://github.com/akveo/ng2-admin]
So they may have so more information.
I'm thinking I may need to the manipulation of my JSON data within my dataservice or try and following this solution http://stackoverflow.com/questions/35655361/angular2-how-to-load-data-before-rendering-the-component?rq=1

Do you know of a way to upload projects to plnkr?

The problem was solved by .subscribe after my web service get
ChartistChart() {
 this._chartistJsService.getReturns()
        .subscribe((res: PortfolioReturns[])  => {
            this.returns = res;
            for (let i = 0; i < this.returns.length; ++i) {
               this.seriesdata.push(this.returns[i].logReturnGross);
               this.lablesdata.push(this.returns[i].performanceDate.toString());
              };
               this.data = {
                simpleLineOptions: {
                  color: this._baConfig.get().colors.defaultText,
                  fullWidth: true,
                  height: '300px',
                  chartPadding: {
                    right: 40
                  }
                },
                simpleLineData: {
                  labels: this.lablesdata,
                  series: [ this.seriesdata]
                }
                };
            });
        }`

Im glad you were able to resolve the issue :-) ill close this issue now. Cheers


Attribution doesn't observe minZoom and maxZoom

Layer attribution appears in the attribution box even when the layer is invisible in the map, if this is controlled by minZoom or MaxZoom.
Please see here: http://playground-leaflet.rhcloud.com/riv/edit?html,output - zoom out 1 level to see the alternative tile layer
I can see how to update the attribution myself using addAttribution and removeAttribution, but this seems strange default behaviour to me - shouldn't the attribution control handle this automatically?
Thanks!

Interesting find. This will need a bit of investigation to see why it's happening.


Please add a license file

This project is potentially very useful, but before I can depend on it or contribute, I would need to know what the license is.

All JZZ-related products have MIT license. Will add.

Done!


Errors in stringifyParams are not caught by ErrorComponent and break app completely on reload

Describe the bug
As described in the title there are two issues I've faced when an error is thrown inside stringifyParams.

The defaultErrorComponent is rendered in stead of the provided errorComponent on the route or parent route.
The app breaks completely (= blank page → not displaying ErrorComponent) when landing on the route that throws an error in stringifyParams)

Your Example Website or App
https://stackblitz.com/edit/github-pk92xt?file=src%2Froutes%2Findex.tsx,src%2Froutes%2Fnested%2Findex.tsx
Steps to Reproduce the Bug or Issue

Go to this Stackblitz
Navigate to the "Nested about"-page to see the app break.
Now refresh the preview window and notice that the entire app is blank (even the content that lives outside the RouterProvider).

Expected behavior

On 2. I expected to see the content of the errorComponent defined in nested/index.tsx, nested/route.tsx or index.tsx
On 3. I expected to see the same errorComponent after refreshing the page

Screenshots or Videos
https://github.com/TanStack/router/assets/487182/0c965bbb-2b38-49f7-a69e-3f6b258c516a
Platform

OS: [e.g. macOS]
Browser: Seen in Edge 124, Safari 17.3 & Firefox 127

Additional context
If you need more info let me know!

There is an issue in your reproduction. Your reproduction doesn't use any path parameters.
I've gone ahead and refactored it so that it does: https://stackblitz.com/edit/github-pk92xt-ve9tip
With this refactor, it the correct errorComponent is shown based on where the error was thrown. For example, if I'm on /post/ and the route /posts/123 throws an error, then if I render a <Link> on /posts to /posts/123, I should expect an error on the /posts/ route since that is where the Link was called.
🚨 What's still broken, is that if I directly navigate to /posts/123 and then reload the page (remaining on /posts/123), the page goes completely blank. Neither the outer content nor the errorComponents defined along the route-tree are rendered on the screen.

Thanks for looking into this and sorry about that @SeanCassiere . 🙈 Hopefully the fixed reproduction helps you fix the remaining bug.


Hoppers wont feed into chests

I have tried a thousand combinations of moving hoppers but no matter what I do they will allow items through

1.12.2)

There's no information here. What are your flags? Where is your gpdebug output? There is no way here to know if it is an issue with your flags, your versions or an actual bug. Give us information and the steps to reproduce it.

Not enough information.


change license to cc-by?

This repository has a CC0 license by design? I think the CC-BY license may be more appropriate

yes, agree

Thanks for pointing this out, I kind of forgot to deal with it. I committed update to a CC-BY-4.0 licence. Please check if that's OK. :)


Clarification on how to use privateKey

Hello,
I am trying to use this repo for managing updates for my Expo apps. However, I am having some difficulty understanding how to use the privateKey and where to put it on the server.
I have read the README file and followed the instructions provided there, but I still have some questions. Could you please provide some clarification on how to use the privateKey and where to put it on the server?
Thank you for your help.

Hello,
when you generate the key from the admin panel it is saved automatically in the mongoldb and used accordingly.
you need to add the public one ("App Certificate (download and add this certificate to your app.json):) and either add it to your app.json or on a folder, you can check the two example apps in the code-signing folder.

Thanks!


demo error:AttributeError: 'ResNet' object has no attribute 'stages'

Hello,when I run the test according to the tutorial, I found the following error, how can I solve it? thanks.
commd:
python demo/image_demo.py demo/demo.JPEG configs/resnet/resnet50_8xb32_in1k.py
https://download.openmmlab.com/mmclassification/v0/resnet/resnet50_8xb32_in1k_20210831-ea4938fc.pth
error:
Traceback (most recent call last):
File "demo/image_demo.py", line 28, in
main()
File "demo/image_demo.py", line 18, in main
for i, stage in enumerate(model.backbone.stages):
File "/root/miniconda3/envs/py37/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1186, in getattr
type(self).name, name))
AttributeError: 'ResNet' object has no attribute 'stages'

Get it, looks it's an unexpected modification on image_demo.py, I will fix it today.

Done, please pull the latest master branch.

Thank you, it can be run, but it has been running with no results, stopped at the interface below for ten minutes and still no results， is it normal?

https://download.openmmlab.com/mmclassification/v0/resnet/resnet50_8xb32_in1k_20210831-ea4938fc.pth
/root/miniconda3/envs/py37/lib/python3.7/site-packages/mmcv/cnn/bricks/transformer.py:32: UserWarning: Fail to import MultiScaleDeformableAttention from mmcv.ops.multi_scale_deform_attn, You should install mmcv-full if you need this module.
warnings.warn('Fail to import MultiScaleDeformableAttention from '
load checkpoint from http path: https://download.openmmlab.com/mmclassification/v0/resnet/resnet50_8xb32_in1k_20210831-ea4938fc.pth

Thank you, there are no bugs, but the result is not running, it stays in the interface below, seems to keep loading the model.I try to download the model to the local and execute it again, the result is still the same.how can i solve this problem？
UserWarning: Fail to import MultiScaleDeformableAttention from mmcv.ops.multi_scale_deform_attn, You should install mmcv-full if you need this module.
warnings.warn('Fail to import MultiScaleDeformableAttention from '
load checkpoint from local path: checkpoints/pretrained/resnet50_8xb32_in1k_20210831-ea4938fc.pth

It won't output results, and it will plot the demo image and show it.
Are you using it on a server without GUI interface?
If you want to preview the results, you can replace the line show_result_pyplot(model, args.img, result) to print(result)

soga,thanks~


New patch release of Golang: v1.22.3

Update EKS Go Patch Version: v1.22.3-3
SPEC FILE STILL NEEDS THE '%changelog' UPDATED
PLEASE UPDATE WITH THE FOLLOWING FORMAT
* Wed Sep 06 2023 Cameron Rozean<EMAIL_ADDRESS>- 1.20.8-1
- Bump tracking patch version to 1.20.8 from 1.20.7

/lgtm

/unhold
/approve


Support CPU and GPU benchmarking on localhost

Right now CPU and GPU benchmarking in benchit take an IP address that must point to a remote machine with SSH access. Add a feature that allows the user to enter "localhost" to run on a local CPU or GPU.
Add a test to //sales/mlagility:cli.test for local CPU benchmarking.

#71 enables localhost benchmarking for CPU and GPU through API.
cli will be handled in a separate MR.


How to use servicenow plugin in a Pipline

Hi,
Can you please give an example of how this plugin can be used in a Jenkins pipeline?
It's a bit unclear for me how to use this plugin.
Regards

@EhsanMirzaei There are examples of each of the plugin steps in the README.md


Fix flaky TestDispatchClose

This should fix https://github.com/uber-go/cadence-client/issues/478

Coverage remained the same at 66.424% when pulling 1026d17fb630ac2171f71c9356c6f8496fde1043 on fix into 2df801a95c4677f6b45e52bb427cdf8d3533d367 on master.

Coverage increased (+0.08%) to 66.505% when pulling 1026d17fb630ac2171f71c9356c6f8496fde1043 on fix into 2df801a95c4677f6b45e52bb427cdf8d3533d367 on master.


Interpreting the results of GI_predict()

Hi!
Thanks for creating this tool! I was looking for something that was able to categorize some interaction and this is perfect, although I'm having trouble understanding some of the output when running GI_predict() on a pair of perturbed genes.
My objective is to run one of the pre-trained models on other perturbed datasets containing the same cell line, and categorize the possible interactions into the five classes you use from Normal et al., (2019).
I have a few questions:

Is there any associated statistical test or value that could provide us with the certainty of the prediction?

I've read the Supplementary Notes 15 and 16 (images shown below), and also explored multiple threads here to better understand the interpretation of the results provided.

Table 1. from page 21 of publication's Supplementary Notes

Table 2. from page 22 of publication's Supplementary Notes
When using GI_predict() this is the output provided:

Example of output from Replogle et al. pre-loaded data
I think it's fair to say that 'mag' corresponds to 'Magnitude', 'eq_contr' to 'Equality of contribution', but which ones correspond to 'Model fit' ('corr_fit' maybe?) and 'Similarity of transcriptional profiles'?

In the example shown, at the last line corresponding to the Gene Interaction between A1BG and AARSD1 this result would fall under two thresholds: the one for Suppressive and for Epistasis. Would this be an inconclusive result or is there any criteria to choose?

Thanks in advance for all the help~~

Hi, thanks for your questions

No, we do not provide any statistical tests as part of our package, we make use of thesholds implicitly defined in Norman et al.
Yes, model fit corresponds to corr_fit and similarity of transcription profiles corresponds to dcor
It is possible for gene combinations to exhibit multiple interactions. These are not mutually exclusive.

One other note, we haven't evaluated GEARS for prediction of combinatorial effects when trained on single gene perturbation data. See README

Thanks for the quick and detailed response, it's going to be really helpful to me!
Regarding the last comment, I'll try to limit my interaction predictions to perturbed genes in the experiment.


reduce duplication in configuration code

Let's see if this will lower our "Bugs" and "Code Smells" scores on sonarcloud.
Todos:

[ ] Add tests for structs.CopyOrZeroValue
[ ] Add missing comments to the config code.

:boom: Acceptance test Core-API-Tests-ocis-storage-1 failed. Further test are cancelled...


Apply 2021 copyright date

It's almost 2022! :-)

I know right!?!?
BLT feature request: make copyright
From: Rich Hornung @.>
Date: Thursday, August 5, 2021 at 11:58 AM
To: LLNL/Umpire @.>
Cc: McFadden, Marty @.>, Author @.>
Subject: Re: [LLNL/Umpire] Apply 2021 copyright date (#621)
It's almost 2022! :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https:/github.com/LLNL/Umpire/pull/621*issuecomment-893704844__;Iw!!G2kpM7uM-TzIFchu!mJQRuYGzOKqjVbmotvoW4JyIlY9kyhmsCMTgEkowKSkrUoQbBHFOqR5fbW3xWaggbek$, or unsubscribehttps://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ABUBRVLYASIN32PVECBMJ7TT3LNMHANCNFSM5BUN46MA__;!!G2kpM7uM-TzIFchu!mJQRuYGzOKqjVbmotvoW4JyIlY9kyhmsCMTgEkowKSkrUoQbBHFOqR5fbW3xqrV7jOM$.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.us/v3/__https:/apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!G2kpM7uM-TzIFchu!mJQRuYGzOKqjVbmotvoW4JyIlY9kyhmsCMTgEkowKSkrUoQbBHFOqR5fbW3x7zbpLf8$ or Androidhttps://urldefense.us/v3/__https:/play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email__;!!G2kpM7uM-TzIFchu!mJQRuYGzOKqjVbmotvoW4JyIlY9kyhmsCMTgEkowKSkrUoQbBHFOqR5fbW3xdCQp7pk$.

I’ve been thinking a little about the current state of the replay tool and I think it could use an overhaul.
Consider this design idea:
@.***
After parsing the command line arguments, the replay program would instantiate an appropriate Interpreter object and use it to populate an EventQueue with replay-specific Event objects.  Depending upon what replay is instructed to do, it could either the instantiate a Runner object that will pull Event objects from the EventQueue and run them.  Or, the replay program could be used to instantiate an Exporter object to generate various exports.  Both the Runner and Exporter objects would pull their information from the EventQueue.
This design will allow for the following enhancements in the future:

Enable us to (easily) add a new Interpreter sub-class to interpret umpire::Events from wherever.
Allow us to convert existing JSON replays into whatever
Allow replay to scale to large replays that are too large to fit in memory by being able to stream from the EventQueue
Allow us to optimize replay by performing the interpreter operations in parallel

Thoughts?
Marty McFadden (he, him, his)
Tools Development Group, LC
Lawrence Livermore National Laboratory
@.***
925-424-2824


Add Arbitrum One chain

Ref: https://github.com/AlphaWallet/alpha-wallet-ios/issues/3241

Maximum Event log window is 100000 (like Polygon)


Add hostname and commit author to output

Added hostname and commit author as outputs, as it can help with getting immediate output on what machine built it as well as who was the last committer rather than digging through the SHA to find out the author of a commit.
Updated readme to reflect changes.

Sorry for taking a bit to review. I could see the build machine being useful for version/reproducing a build. Author of the last commit I'm not sure if that's really related. Could you go a bit more into why you think it's helpful to include?

also one comment about the hostname. That's Linux specific right? We need to handle Windows and OSX. I'm actually not sure what the command is in those OS, so maybe we are lucky and it's also 'hostname'.

Sorry for taking a bit to review. I could see the build machine being useful for version/reproducing a build. Author of the last commit I'm not sure if that's really related. Could you go a bit more into why you think it's helpful to include?

So for some of the projects, I have been thinking of this as accessibility of commits and other information. For instance, having the hostname is helpful for checking what computer did what, but the author can also be used if a CI tool that directly interacts with the Git history may be known.
This was mainly spurred up with a lot of the projects I was using this where I would have others (mainly students starting out with programming) who were super not confident in Git trying to decipher who committed what because some of the concepts as the Git SHAs were completely foreign. This is really trivial and as I made the PR I wasn't sure if this was really a worthwhile investment of resources.

also one comment about the hostname. That's Linux specific right? We need to handle Windows and OSX. I'm actually not sure what the command is in those OS, so maybe we are lucky and it's also 'hostname'.

I can verify that hostname is the same on macOS, Linux, and Windows. I just got really lucky and the moment you made the comment I checked on all my machines after I realized it might not be the same.


[FR] - Release branch updated on tested releases

External
Area
Other   (repository management)
Describe the feature you'd like
Hi, wouldn't it be cool to have a branch in this repository, that gets updated only to the major release commits?
This way keeping up-to-date with node changes can be made more automatic using flake updates, convenient with flakeUpdate.
Describe alternatives you've considered
master could fill in this role

cmt


JOSS review - exporting data

JOSS Review issue
Is your feature request related to a problem? Please describe.
Often it is likely we'll want to do a downstream analysis on evolutionary trees from a simulatrion - for instance, beyond the output available within Phylotrack, I may want to interrogate originations and extinctions of my taxa in another language, and conduct some comparative phylogenetic methods on that in concert with my genotypes.
Describe the solution you'd like
From interrogating the docs and the paper, I see that the data can be output in a  Artificial Life Phylogeny Data Standard format, and the paper suggests that can be converted to e.g. Newick. When thinking about adding usage examples, to your documentation (issue #34), would it be possible to add a workflow that demonstrates this for the uninitiated? I think that emphasising the intraoperability of this tool will highlight its strengths and potential uses!

Great suggestion! We have added such a workflow to the documentation. I'm going to close this for now, but let me know if you think what we added is unclear.


Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20

I get the below warning on my sync upstream action.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, <EMAIL_ADDRESS>

Likewise.

For the moment, I will continue curating fixes and updates, and I will consider merging your proposed PRs as long as they come with test support, well-documented changes, and have been thoroughly proven to work as expected.

Will you still take care of updating this to Node 18 or 20, @aormsby ?

Updated to v22 in PR #74, will make release soon


Create hacktoberfest2021

Questions
Answers

Description?
Please be specific when describing the PR. Every detail helps: What are you changing? Why?

Type?
bug fix / improvement / new feature / refacto / critical

BC breaks?
yes / no

Deprecations?
yes / no

Fixed ticket?
Fixes {paste the issue here}.

How to test?
Please indicate how to best verify that this PR is correct.

Possible impacts?
Please indicate what parts of the software we need to check to make sure everything is alright.

Please do not open spam pull requests, you are hampering the work happening on this open source project.

This is what happening everywhere, I am doing a survey on this, that's why
I did a spam pull request just to see that you really open it or just merge
it blindly.
Thank you for your response
On Sun, Oct 3, 2021, 5:20 PM Mathieu Ferment @.***>
wrote:

Please do not open spam pull requests, you are hampering the work
happening on this open source project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PrestaShop/autoupgrade/pull/418#issuecomment-932935132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APB5RMLWOFRPZJPLY3GAUITUFA7RFANCNFSM5FGYKARA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

This is what happening everywhere

Sad :(

to see that you really open it or just merge it blindly

If someone merge PRs blindly, I suppose it's not a serious open source project.

Yes, its quite a bad thing for the open source contribution, which we have
to remove inorder to make open source a good opportunity to showcase your
skills
On Sun, Oct 3, 2021, 5:26 PM Mathieu Ferment @.***>
wrote:

This is what happening everywhere
Sad :(
to see that you really open it or just merge it blindly
If someone merge PRs blindly, I suppose it's not a serious open source
project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PrestaShop/autoupgrade/pull/418#issuecomment-932936056,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APB5RML55ZBNQBPWOHTMIILUFBAIFANCNFSM5FGYKARA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hey bro why you marked my pull request as spam, i told you that i am doing
a survey, you was not supposed to report my request but don't accept that
Thank you
On Sun, Oct 3, 2021, 5:29 PM Lucky Sharma @.***> wrote:

Yes, its quite a bad thing for the open source contribution, which we have
to remove inorder to make open source a good opportunity to showcase your
skills
On Sun, Oct 3, 2021, 5:26 PM Mathieu Ferment @.***>
wrote:

This is what happening everywhere
Sad :(
to see that you really open it or just merge it blindly
If someone merge PRs blindly, I suppose it's not a serious open source
project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PrestaShop/autoupgrade/pull/418#issuecomment-932936056,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APB5RML55ZBNQBPWOHTMIILUFBAIFANCNFSM5FGYKARA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Cast path to string

In some cases this might be a PosixPath, causing issues downstream.
Fixes #618

I am not sure in which scenarios this is failing, though.
Tried to add a test but self._dvc_repo.add(path) doesn't fail.
@CptCaptain Could you share your DVC version?

Sure, I'm using these versions:
dvc==2.58.2
dvc-data==0.51.0
dvc-gs==2.22.1
dvc-http==2.30.2
dvc-objects==0.23.0
dvc-render==0.5.3
dvc-studio-client==0.11.0
dvc-task==0.3.0
dvclive==2.12.0

This all runs from the ultralytics repo, if that makes a difference.

This was fixed in 3.0.


GM checked out holdings do not display institution, location, or item on item page

They show up in search results as 'Checked out' but when you click-through there is nothing on the availability tab, unless another library has the same title.

Test cases (as of 2/5/2015) Both GMU and Georgetown require z3950 queries.
GMU charged: 2071835 Missing 02-22-00; 6934664 Missing 08-19-14; 5856359 Charged Due on 05-31-15. GMU available 8152672, 6851043
Georgetown charged: 11625802 DUE 02-16*-2015; 11706088 IN-TRANSIT; 5489261 DUE 01-31-2015; Georgetown available 5205035; 4427598


[IOTDB-2960]Add partition cache

Add partition cache in clusterParitionFetcher.
SchemaPartitionCache: device -> storagegroup, TRegionReplicaSet.
DataPartitionCache: storageGroup, TSeriesPartitionSlot, TTimePartitionSlot -> List
Notice: if there are no  TTimePartitionSlot in DataPartitionQueryParam, it's means fetch all data so cache will miss all the time.
Besides, I have do test in 3 confifnodes and 3 datanodes cluster and run some scripts as follows:

@MarcosZyk PTAL！


Submodel.kind serialises to "INSTANCE" instead of "Instance"

Most likely the EnumSerializer is not called (anymore?) but plain Jackson behaviour applies.

Was fix some time ago.


Discussion with Darr developers

Ran across @gbeckers's Darr library recently, which seems very similar in intent and behavior to Zarr. Would be great to compare and contrast Darr and Zarr to see where the two implementations can learn from each other and possibly work together.

Darr developer here. Thanks for you interest and reaching out. I am very much interested in Zarr although I must confess to my shame that I haven't actually tried it out yet. Will certainly do so very soon. I have used pytables for much of my work in behavioral neuroscience, for over 10 year, and still use it. It is brilliant. Zarr seems to aim at similar use cases, so I should definitely have a closer look.
Darr really is much more modest than Zarr or PyTables. In essence it is not much more than a way to save flat binary data with a separate description of how to read it for an audience that is as wide as possible. I wrote it because I need it for my own work work, in cases where I want to quickly share data with colleagues or students who do not use Python, but R or Matlab or something else. A npy file would already be too complex. Darr does not have hierarchies, compression etc etc.
I am also interested in long-term archiving of data. My data likely is longer-lived than the tools I use. In my field, especially in electrophysiology, at least some people seem to backpedal from complex formats, at least for simple binary data such as signal recordings.
I would be happy to work together in whatever way is useful. An obvious start could be to create the possibility to save a darr array as a zarr array and the other way around. For the array data this should be very simple, but attribute/metadata need attention. Since darr is very new and no one except our lab is using it yet, I am not sure how useful it is for zarr to save as darr array. Potentially zarr could use darr, or code from darr, for writing the descriptive readme file on how to read the binary data without zarr. But only if arrays are not compressed of course.

Thank you Gabriel, it's great to have this background and your perspective
on what's important for you and your colleagues. The idea of generating
some documentation on how to read the data in multiple languages is very
neat. We haven't given much if any thought yet to long term preservation,
but it's an important consideration.
FWIW in designing zarr we have made some efforts to keep everything as
simple as possible, so the barrier to implementation stays low. We wrote a
spec of the storage format -
https://zarr.readthedocs.io/en/stable/spec/v2.html - and there are fairly
complete implementations in several languages now. Even if some or all of
those implementations rot, it should still be relatively straightforward to
implement enough of the spec to get data out in future. But we wanted to
have some features of HDF5 particularly compression and hierarchies, so the
data are not as simple or portable as darr.
I'm any case it is great to make a connection between our projects, and
would be cool to explore ways of moving data between formats and improving
portability and self-describing properties of zarr.
On Wed, 31 Oct 2018, 05:21 Gabriel Beckers<EMAIL_ADDRESS>wrote:

Darr developer here. Thanks for you interest and reaching out. I am very
much interested in Zarr although I must confess to my shame that I haven't
actually tried it out yet. Will certainly do so very soon. I have used
pytables for much of my work in behavioral neuroscience, for over 10 year,
and still use it. It is brilliant. Zarr seems to aim at similar use cases,
so I should definitely have a closer look.
Darr really is much more modest than Zarr or PyTables. In essence it is
not much more than a way to save flat binary data with a separate
description of how to read it for an audience that is as wide as possible.
I wrote it because I need it for my own work work, in cases where I want to
quickly share data with colleagues or students who do not use Python, but R
or Matlab or something else. A npy file would already be too complex. Darr
does not have hierarchies, compression etc etc.
I am also interested in long-term archiving of data. My data likely is
longer-lived than the tools I use. In my field, especially in
electrophysiology, at least some people seem to backpedal from complex
formats, at least for simple binary data such as signal recordings.
I would be happy to work together in whatever way is useful. An obvious
start could be to create the possibility to save a darr array as a zarr
array and the other way around. For the array data this should be very
simple, but attribute/metadata need attention. Since darr is very new and
no one except our lab is using it yet, I am not sure how useful it is for
zarr to save as darr array. Potentially zarr could use darr, or code from
darr, for writing the descriptive readme file on how to read the binary
data without zarr. But only if arrays are not compressed of course.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zarr-developers/zarr/issues/320#issuecomment-434634222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq8Qr0LsoV_TaWq7LTVvhKtby46vP0Rks5uqXmQgaJpZM4YCWe9
.

OK, thanks. I had a closer look at Zarr. Very impressed. I am going to try this out in some actual analyses. In the mean time I started writing some code to read and write zarr arrays in darr, which turned indeed out to be very simple. It is easy to go from one to the other, also very large arrays pose no memory problems because zarr reads in chunks. Nice!

Sorry, linked to wrong ticket, it should have been 325 (fixed it now), please can someone remove the above ?

Hi @eddienko. I don't know of a way to remove a reference, but thanks for letting us know.


Volunteer having issues seeing subjects in Comet Hunters

It might be he's out of data and the already seen data isn't showing. Thought I'd start with the backend.
operating system: Windows 10
browser: Google Chrome (53.0.2785.116)
Here's the thread on Talk

I don't think this is related to being out of data. It Seems as if the subject images themselves won't load.
Some screen shots of the problem if it still exists would be useful, e.g. does the subject api call resolve with media resource paths? it'll be a spinning wheel i think vs not resolving and it says loading classification (from memory).

Will do.

@camallen  The volunteer sent me a screen shot. I've sent it in email to you since he didn't want it posted publicly.

Thanks @mschwamb - seems like the subject isn't loading but the api response has worked (this is an assumption based on the UI). It could be privacy blockers or the like activated not allowing the image to load. Perhaps get them to try without (if they have them) or the browser incognito mode to see if it works?

seems like this issue has either resolved or the user moved on so I'm going to close and will reopen if it pops up again.


Motion sensors not working

I recently installed the integration and despite I do see the motion sensor entities, their state (global, motion detection and person detection) don't change when I move in front of the camera. I do see that the integration is able to read the battery status and I can turn on the flash light in the camera from HA. but unfortunatelly don't see any motion detection actually happening.
in the WS server I have the following:
2022-08-25 10:23:16.634  INFO  Eufy Security server listening on host <IP_ADDRESS>, port 3000
2022-08-25 10:31:03.970  INFO  Connected to station T8010N23212624D9 on host <IP_ADDRESS> and port 17441
2022-08-25 10:31:03.977  INFO  Connected to station T8010N2321060D19 on host <IP_ADDRESS> and port 17441
2022-08-25 10:31:03.984  INFO  Connected to station T8010P2320521E3E on host <IP_ADDRESS> and port 17441
2022-08-25 10:31:04.104  INFO  Push notification connection successfully established
then I can see 12 devices and 230 entities in HA (I have many cameras and 4 basestations), but  motion detection is not working at all. I don't need the video feeds (RTSP) as I use the Eufy app for video, I just want to use the cameras from HA as motion sensors.
I googled and read many  posts, but I couldn't find anything related to this.
I also uninstalled and installed the integration back in. Same result.

Hey mate,  you need to have motion notifications enabled in eufy app or it won't register motion in HA

Hi,
I did try this too, I actualy receive notifications from the Eufy App (ios) when motion is detected, butn othing in HA.
in WS this is what I've got:
2022-08-25 13:55:22.437  INFO  Alarm mode for station T8010N2321060D19 changed to: HOME
2022-08-25 13:55:38.458  INFO  Alarm mode for station T8010N2321060D19 changed to: HOME
2022-08-25 13:56:04.607  INFO  Alarm mode for station T8010N2321060D19 changed to: HOME
2022-08-25 13:56:21.027  INFO  Alarm mode for station T8010N2321060D19 changed to: HOME
2022-08-25 13:58:17.329  INFO  Eufy Security server listening on host <IP_ADDRESS>, port 3000
2022-08-25 13:58:21.581  INFO  Push notification connection closed
2022-08-25 13:58:27.564  INFO  Connected to station T8010N23212624D9 on host <IP_ADDRESS> and port 20971
2022-08-25 13:58:27.569  INFO  Connected to station T8010N2321060D19 on host <IP_ADDRESS> and port 20971
2022-08-25 13:58:27.574  INFO  Connected to station T8010P2320521E3E on host <IP_ADDRESS> and port 20971
2022-08-25 13:58:27.689  INFO  Push notification connection successfully established
2022-08-25 13:58:30.647  INFO  Alarm mode for station T8010N2321060D19 changed to: HOME
2022-08-25 13:58:37.498  INFO  Push notification connection successfully established
Thanks

thanks for auto resolving :)


Cannot install passwordUtilities-1.0 on WLP, only on OL-runtime

Hi everyone,
Plugin setup
I have the following feature in my src/main/liberty/config/server.xml:
<features>
  <feature>passwordUtilities-1.0</features>
<features>

Expected behaviour
in the install-feature step, the feature is being downloaded and installed independent of my current runtime artifact (e.g. ol-kernel, wlp-kernel, ol-runtime). Note, there is not wlp-runtime nor wlp-base (which you can download as customer from IBM).
Actual behavour
When I configure the com.ibm.wlp artifact, like so:
      <plugin>
        <groupId>io.openliberty.tools</groupId>
        <artifactId>liberty-maven-plugin</artifactId>
        <version>${liberty-maven-plugin.version}</version>
        <configuration>
          <serverName>cfggenerator</serverName>
          <libertyRuntimeVersion>${wlp.version}</libertyRuntimeVersion>

          <runtimeArtifact>
            <groupId>com.ibm.websphere.appserver.runtime</groupId>
            <artifactId>wlp-javaee7</artifactId>
            <version>${wlp.version}</version>
            <type>zip</type>
          </runtimeArtifact>
          <features>
            <acceptLicense>true</acceptLicense>
            <feature>passwordUtilities-1.0</feature>
          </features>
          <deployPackages>dependencies</deployPackages>
        </configuration>
        <executions>
          <execution>
            <id>test-start</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>create</goal>
              <goal>deploy</goal>
              <goal>install-feature</goal>
              <goal>start</goal>
            </goals>
          </execution>
          <execution>
            <id>test-stop</id>
            <phase>post-integration-test</phase>
            <goals>
              <goal>stop</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

I get this exception:
CWWKF1221E: The io.openliberty.autoPasswordUtilities1.0.javaee asset depends on com.ibm.websphere.appserver.eeCompatible-6.0, which is not available in the IBM WebSphere Liberty Repository. If the required asset is a feature that you previously downloaded, install the missing feature by specifying the location of the feature ESA file on the featureManager install --location option, and try to install io.openliberty.autoPasswordUtilities1.0.javaee again.

This happens on wlp.version = <IP_ADDRESS> and even if I import the features-bom.
known workarounds
The setup process will work flawlessly when I use the artifact io.openliberty:openliberty-runtime.
From what I can see, only this artifact has servlet-3.0 integrated and also supports com.ibm.websphere.appserver.eeCompatible-6.0 which (for unknown reasons) cannot be installed via feature utility
Things I looked up and tried

I haven't found any hint that passwordUtility-1.0 is excluded from installation via featureUtility or this plugin.
Installing baseBundle in any WLP (not OL) also works. But I haven't found how to install baseBundle via this plugin. However, I only want to install the required features anyway. I would like to use wlp-kernel and then install passwordUtility-1.0

Any help what gets wrong here is highly appreciated.
Best regards,
Ben

@bmarwell Which version of liberty-maven-plugin are you using?

Hi cheryl,
I am using version 3.4.
However, I do not think this might make a difference, as features are loaded from the repositories. Although I think it always loads from an /io/openliberty path.

@bmarwell I asked about the plugin version because a fix did go into 3.4 related to resolving features (https://github.com/OpenLiberty/ci.common/pull/277). It was related to OpenLiberty <IP_ADDRESS> however. We will look into your issue and let you know what we find out. Thanks.

Hi, I will provide a sample project.
One more thing. I have my company pom and a mirror of Central in my .m2/settings.xml. I saw there was no download attempt from that repo. I'll test it without those, too.

@bmarwell After talking to Open Liberty development, the set of features you are trying to install on openliberty-kernel should work, but there is some bug that they are tracking down with the autoPasswordUtilities feature dependency on com.ibm.websphere.appserver.eeCompatible-6.0. A workaround was mentioned to include the jca-1.7 feature in your server.xml. I have confirmed that this does get around this issue.
I am following up on whether an issue is currently open for this on Open Liberty and will add a reference here.

Related Open Liberty issue: https://github.com/OpenLiberty/open-liberty/issues/17843

Thanks @cherylking!
Good findings 🥇, your help is VERY much appreciated! :) 👍🏻

I added <feature>jca-1.7</feature> to the liberty-maven-plugin, but left only <feature>passwordUtilities-1.0</feature> in the actual server.xml. Works as suggested. Thank you for the workaround!

Hi @cherylking. As far as I can tell, this has long been resolved. Will close this issue. If you think there is anything else to discuss, just ping me. :)


Temporarily disable profiling in scaling pipeline

Temporarily disable profiling in scaling pipeline
Increase job times

[ ] I have read and checked the items on the review checklist.

Does the profiling add overhead?

The most expensive simulations are the 1 or 2 process ones. If we are ok with changing the scaling reference to 2 or 4 process run for high resolution simulations, that would help speedup the pipeline! (assuming perfect scaling upto 2 or 4 processes!)

bors r+

The other option would be to reduce how long we run the simulation (for the smaller numbers of procs).

The other option would be to reduce how long we run the simulation (for the smaller numbers of procs).

We were targeting about 2000 samples for reducing variablility during the averaging process last year. But we can retry a smaller number!

That's fair.


Performance with isin function on large filter list

I am opening a separate issue from #3198 as there seem to be two separate threads in that issue. Here's reproduce-able code:
import dask.dataframe as dd
import pandas as pd

filter_list = list(range(2, 600000, 2))

for n in [10, 100, 1000]:
    df = dd.from_pandas(pd.DataFrame.from_dict({'A':[1, 2, 3, 4, 5] * 10_000}), npartitions=n)
    %time res = df.A.describe().compute()

CPU times: user 51.9 ms, sys: 4.07 ms, total: 56 ms
Wall time: 45.3 ms
CPU times: user 231 ms, sys: 10.5 ms, total: 242 ms
Wall time: 198 ms
CPU times: user 2.32 s, sys: 167 ms, total: 2.49 s
Wall time: 2.01 s

for n in [10, 100, 1000]:
    df = dd.from_pandas(pd.DataFrame.from_dict({'A': [1, 2, 3, 4, 5] * 10_000}), npartitions=n)
    %time res = df[df['A'].isin(filter_list)].compute()

CPU times: user 4.71 s, sys: 44.1 ms, total: 4.75 s
Wall time: 4.73 s
CPU times: user 45.2 s, sys: 313 ms, total: 45.5 s
Wall time: 45.3 s
CPU times: user 7min 46s, sys: 3.46 s, total: 7min 50s
Wall time: 7min 48s

for n in [10, 100, 1000, 10000]:
    df = dd.from_pandas(pd.DataFrame.from_dict({'A': [1, 2, 3, 4, 5] * 100_000}), npartitions=n)
    mask = df.map_partitions(lambda x: x[x.A.isin(filter_list)])
    %time res = df.loc[mask.index].compute()

CPU times: user 243 ms, sys: 12 ms, total: 255 ms
Wall time: 200 ms
CPU times: user 2.2 s, sys: 41.4 ms, total: 2.24 s
Wall time: 1.86 s
CPU times: user 20.6 s, sys: 214 ms, total: 20.8 s
Wall time: 17.6 s
CPU times: user 4min 47s, sys: 3.47 s, total: 4min 51s
Wall time: 4min 11s

Direct use of .isin balloons in time to compute as the number of partitions increases. My observation from watching my system monitor, and as reported in #3198, is that the ballooning time comes from a single threaded processes that happens before the main processing kicks in. My guess is that this is part of building the task graph, but I don't know.
In my real world data processing, using map_partitions wasn't sufficient to get adequate performance and I needed to repartition.

Thanks for the excellent issue report, I'll look into this this morning.

Fixed by #4727. The issue was that the large list was placed as a literal in every task. This caused slowdowns in a few places:

Serialization of the graph to workers was slower, as every task had a large piece of data in it.
Evaluation of the graph was slower, as traversing a large list had to happen for each list
Optimization of the graph was much slower (this was the single threaded slowdown you found above), as the large list was traversed multiple times for each partition during our optimization passes.

We now pull the data out to its own task, fixing all these issues.


NeoPixels won't compile.

Sketch won't compile  with NeoPixels.
#error "CPU SPEED NOT SUPPORTED"

I was able to get around this error.  From what I could find, the problem is that ATTiny chips run at 20Mhz and the neopixels won't run at that frequency.  You have to set it to 16Mhz to avoid that error.  What I did was open the "Boards.txt" file for TinyCore (ArduinoData\packages\TinyCore\hardware\0.0.6). Copy the info on the boards and paste it at the bottom of the file.  Change prefix to add "_16", so tiny16 ->tiny16_16.  Then add 16Mhz to the name.  So "TinyCore 16" to "TinyCore 16 16Mhz".  After saving the boards.txt file, restart Arduino IDE.  In the list of available boards, you will see the new listings with 16Mhz in the name.  Select one of those when you have a project that uses NeoPixels.

FYI, my megaTinyCore ( https://github.com/SpenceKonde/megaTinyCore ) provides a working neopixel library for all the tinyAVR 0-series and 1-series parts: tinyNeoPixel (it's directly compatible with neopixel library - just change the constructor call, see the examples); the core includes two versions of the library, one for 100% compatibility, and the other, that, with a few minor modifications, uses less flash, and lets you see the memory used for the frame buffer in the compile output (both because it eliminates the dynamic allocation of the memory for the frame buffer)


Add additional errors from API to exception

In the documentation for FileStation on page 8 is information about additional possible errors.
With the current API a developer has no chance to get this information.
This PR fixes that by adding additional errors to the Data property of the SynologyApiException.

Note
The documentation says:
Each element within errors is a JSON-Style Object which contains an error code and other information, such as a file path or name.

Example 2 (in the documentation) just uses path and I only managed to get path while using the IFileStationCopyMoveEndpoint.
So there is a chance that there are other parameters (e.g. name) that will be lost with this API, but at least the code will be present.
Before/After examples

before
SynologyApiException.Message:
The Synology API Request failed.
Error Code: "1002"
Error Description: "An error occurred at the destination. More information in  object"
API: "SYNO.FileStation.CopyMove"
Method: "start"
Version: "3"
-> <errors> object not available
after
SynologyApiException.Data:

--> additional errors with code, message and path are available

Thank you


Probably a typo in the Multi-GPU guide notebook

I think this is a mistake, and it should be since it runs on a single machine and does **not** need to communicate with other machines instead of since it runs on a single machine and does need to communicate with other machines
https://github.com/keras-team/keras-io/blob/6e6ffd12e95c068f0290c9589aa1d6ce721fcb64/guides/distributed_training.py#L367

Indeed! Please submit a PR to fix it.


Update enumeratum, enumeratum-circe to 1.7.2

Updates

com.beachape:enumeratum
com.beachape:enumeratum-circe

from 1.6.1 to 1.7.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.beachape" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.beachape" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #278.


Added support for export, to prevent tree-shaking out functions/structs/interfaces.

Added exporting for structs, interfaces, and functions other than name. Also changed some JSON "" to "__type" and some "name" to "optName" for easier loading.


[SPARK-25727][SQL] Add outputOrdering to otherCopyArgs in InMemoryRelation

What changes were proposed in this pull request?
Add outputOrdering  to otherCopyArgs in InMemoryRelation so that this field will be copied when we doing the tree transformation.
    val data = Seq(100).toDF("count").cache()
    data.queryExecution.optimizedPlan.toJSON

The above code can generate the following error:
assertion failed: InMemoryRelation fields: output, cacheBuilder, statsOfPlanToCache, outputOrdering, values: List(count#178), CachedRDDBuilder(true,10000,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Project [value#176 AS count#178]
+- LocalTableScan [value#176]
,None), Statistics(sizeInBytes=12.0 B, hints=none)
java.lang.AssertionError: assertion failed: InMemoryRelation fields: output, cacheBuilder, statsOfPlanToCache, outputOrdering, values: List(count#178), CachedRDDBuilder(true,10000,StorageLevel(disk, memory, deserialized, 1 replicas),*(1) Project [value#176 AS count#178]
+- LocalTableScan [value#176]
,None), Statistics(sizeInBytes=12.0 B, hints=none)
	at scala.Predef$.assert(Predef.scala:170)
	at org.apache.spark.sql.catalyst.trees.TreeNode.jsonFields(TreeNode.scala:611)
	at org.apache.spark.sql.catalyst.trees.TreeNode.org$apache$spark$sql$catalyst$trees$TreeNode$$collectJsonValue$1(TreeNode.scala:599)
	at org.apache.spark.sql.catalyst.trees.TreeNode.jsonValue(TreeNode.scala:604)
	at org.apache.spark.sql.catalyst.trees.TreeNode.toJSON(TreeNode.scala:590)

How was this patch tested?
Added a test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3948/
Test PASSed.

Test build #97346 has started for PR 22715 at commit 1d30cc5.

thanks for this fix @gatorsmile. Can we add a UT for this? Moreover, shall we add it also to LogicalRDD ?

@mgaido91 Anything is missing in LogicalRDD?

Test build #97350 has finished for PR 22715 at commit cff78e9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97350/
Test PASSed.

Merged to master/branch-2.4.

Thank you, @gatorsmile and @mgaido91 .

sorry @gatorsmile that is fine, my bad. A late LGTM to this, despite probably @cloud-fan 's comment make, we probably should have just put it as a part of the main constructor...

Hi @mgaido91 , since you are the major author of this part, do you have time to open a PR and move outputOrdering to the main constructor? Thanks in advance!

@cloud-fan , sure, I'll submit a follow-up PR for this. Thanks.


chore: refactor the appsmith-ai plugin trigger

Description

[!IMPORTANT]
Refactor the Appsmith AI Plugin trigger method.

Fixes #Issue Number
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!WARNING]
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/12462439038
Commit: 7eca0c73449c3c4fb3f8ffa9ba9a1d46a2213cda
Cypress dashboard.
Tags: @tag.Sanity
Spec:
It seems like no tests ran 😔. We are not able to recognize it, please check workflow here.
Mon, 23 Dec 2024 06:34:36 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Summary by CodeRabbit

New Features

Enhanced file upload and listing functionalities through improved handling methods.

Bug Fixes

Improved error handling for file operations to ensure better logging and response management.

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true


Downgrade npm-run to fix windows regression

Fixes https://github.com/prisma/prisma/issues/3491
Required till this one is merged https://github.com/timoxley/npm-run/pull/21

Hoping to see this merged soon, trying to use hooks on windows is fully broken right now. :(

@JesseObrien : Sorry about the delay, this should be available in beta shortly.

This is available via 1.22.0-beta.2, please install the latest CLI via npm install -g prisma@beta


Command editor.emmet.action.matchingPair not found on macOS

VSCode Version: Code 1.15.0 (8b95971d8cccd3afd86b35d4a0e098c189294ff2, 2017-08-09T20:06:21.685Z)
OS Version: Darwin x64 16.6.0
Extensions:

Extension
Author (truncated)
Version

gitignore
cod
0.5.0

hg
mrc
1.1.5

vscode-apache
mrm
1.1.1

Keyboard shortcut command editor.emmet.action.matchingPair fails using v1.15.0 on macOS. I have added the same shortcut on a Windows machine and it appears to work fine. Error message:

[warn] command 'editor.emmet.action.matchingPair' not found

The command is available and works normally from the command palette ('Emmet: Go to Matching Pair').
Steps to Reproduce:

Be using macOS
Add a custom keyboard shortcut with command editor.emmet.action.matchingPair
Attempt to use that shortcut in the Editor

Reproduces without extensions: Yes

@dmrutherford I get the same error in Windows as well.
The command is editor.emmet.action.matchTag and not editor.emmet.action.matchingPair


PDF.js Not Working in Ipad

I am getting the following error i tried to load the sample pdf in ipad (Apple Webkit 534.46) version/5.1 mobile/9B206 Safari/7534.48.3
Error:-
TypeError:Undefined is not a function {near..} bind(this) Reject(TI..).
When  i tried to open pdf.js in ipad with safari browser from webapplication i am getting the following error.
Waring: Unhandleded rejection: TypeError :null is not an object

I tried adding the new Compactabilty.js but still not working.
If any one provides me some fast solution it would be great

@madhav1985 are you using ios7?

Closing as incomplete


Fix:gpr-494 sale widget failure event bug

Hi👋, please prefix this PR's title with:

[ ] breaking-change: if you have introduced modification that necessitates immediate adjustments by this SDK's users to their applications, clients, or integrations to avert disruptions to existing features or functionalities.
[x] feat:, fix:, refactor:, docs:, or chore:.

Summary
Currently: we're skipping the wait for txn settlement if the wallet is MM to speed up the user signing process. We emit success event even when the transaction has failed.
Bug:  we don't wait for the transactions to be mined hence we don't obtain the transaction receipt, which contains the status of the transaction (0 for failure, 1 for success). So since we omit the wait for MM, execute function proceeds without knowing the outcome of the transaction's execution on the blockchain. We would only know that the transaction was successfully sent and accepted for mining.
Solution: remove the waitForTrnsactionSettlement, wait for each transaction to be mined (downside is that it will take a bit more time)

decided to provide an option where you can pass in waitFulfillmentSettlements


[DCAT] Add new object type Data Category (DCAT)

Thanks, @C5314720.
Is sensitivityLevel an arbitrary char[1] or is there a limited choice, say 'A', 'B' or 'C'. If so, consider an enum (which will be rendered as a dropDown).

Thanks, @C5314720. Is sensitivityLevel an arbitrary char[1] or is there a limited choice, say 'A', 'B' or 'C'. If so, consider an enum (which will be rendered as a dropDown).

Got confirmation and changed type to enum.


Add native change event for hiddenSelect

Closes #6217
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
yarn jest<EMAIL_ADDRESS>-t "should trigger onChange"
🧢 Your Project:

Looks like one of the Picker tests is failing. Have you looked into it?

Will look into it this weekend yeah.

Been struggling to find out why this line causes that Picker test to fail:
https://github.com/adobe/react-spectrum/blob/d7b7b351ac71cfab57949d0af1882ba2951c7dc6/packages/%40react-aria/select/src/HiddenSelect.tsx#L128
I've added a story in the Picker story where you can debug the test. I cannot reproduce it manually. Will do another attempt later one.
Another thing i've realised is that in the HiddenSelect there will rendered a hidden input instead of a Native Select if there are more then 300 options. Will still have to cover this as well.
https://github.com/adobe/react-spectrum/blob/d7b7b351ac71cfab57949d0af1882ba2951c7dc6/packages/%40react-aria/select/src/HiddenSelect.tsx#L135-L168


Remove is not working

I tried to remove a file in my favorite and its not working.

Also if a file in the favorite and I renamed to original favorite become confused.


gnome.gdm: 44.0 → 44.1

https://gitlab.gnome.org/GNOME/gdm/-/compare/44.0...44.1
Description of changes
Fixes https://gitlab.gnome.org/GNOME/gdm/-/issues/730
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg test gnome gnome-xorg


Icons: namespace

What would happen if the names of our app icons are the same as the wri-api-components... If we change it, it will introduce a breaking change. At least in RW. Maybe we can live with it. What do you think?

What about using a custom prefix prop? I already do for AQ-components: https://github.com/Vizzuality/aqueduct-components/blob/master/src/components/ui/icon/index.js#L34
We could set the default to wri-icon- or similar, and if you want to use a custom prefix for your app just change it there.
The only constraint I see this would be that you have to set this prop in your app every time you use it.. Or use a HOC 🙄...
Thoughts?


Added XRayBinaryClassifier model

Unit testing to be done

I see a fit function is missing and optimizer is not declared. I will suggest

Adding fit function that takes Xandy` as input and returning output.
Taking optimizer as an input in __init__ with default value as None. In fit function if self.optimizer is None, Adam optimizer is used for the same.

Also,

Rename classifier.py to classifiers.py. Do the same with model.py and rename it to models.py.

Could you put an example code of this class here? We'll put it in the docs later.

Hello @akhilsinghal1234! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file mirapy/classifiers/models.py:

Line 6:1: E402 module level import not at top of file
Line 7:1: E402 module level import not at top of file
Line 8:1: E402 module level import not at top of file
Line 9:1: E402 module level import not at top of file
Line 30:34: E251 unexpected spaces around keyword / parameter equals
Line 30:36: E251 unexpected spaces around keyword / parameter equals
Line 38:33: E251 unexpected spaces around keyword / parameter equals
Line 38:35: E251 unexpected spaces around keyword / parameter equals
Line 39:33: E251 unexpected spaces around keyword / parameter equals
Line 39:35: E251 unexpected spaces around keyword / parameter equals
Line 40:33: E251 unexpected spaces around keyword / parameter equals
Line 40:35: E251 unexpected spaces around keyword / parameter equals
Line 46:1: W293 blank line contains whitespace
Line 51:38: W291 trailing whitespace
Line 58:38: W291 trailing whitespace
Line 63:1: W293 blank line contains whitespace
Line 63:1: W391 blank line at end of file

Instead of adding optimizer and activation in init, shouldn't they be in build model?

Oh yes. You are right. I guess then it's better to call that function compile rather than build model. (I saw another example where they used that name).

Also, looks at the comments by @pep8speaks above. It refreshes after every commit. Very useful!

One small change is left (see above). Also, since the dataset is small, data the files in a folder in data module along with a loader function.

Please comment any changes needed. Added train.py and utils.py too.

Please change the location of dataset from mirapy/dataset/XRayBinary/Dataset/ to mirapy/dataset/XRayBinary/ and set is as the default value of data_directory in load_dataset.
Also, I have added load_dataset.py in data module. Remind me to move load_dataset function in utils.py to that script (maybe calling the function load_XRB_binary_dataset.

@akhilsinghal1234 remove 1.h5 file and resolve to_categorical issue.

LGTM!


feat: section ordering lint rule

This pull request adds a new rule to wdl-lint.

Rule Name: SectionOrdering

This rule ensures that tasks and workflows have their sections in the desired order.
Before submitting this PR, please make sure:

[x] You have added a few sentences describing the PR here.
[x] You have added yourself or the appropriate individual as the assignee.
[x] You have added at least one relevant code reviewer to the PR.
[x] Your code builds clean without any errors or warnings.
[x] You have added an entry to the relevant CHANGELOG.md (see
["keep a changelog"] for more information).

Rule specific checks:

[x] You have added the rule as an entry within RULES.md.
[x] You have added the rule to the rules() function in wdl-lint/src/lib.rs.
[x] You have added a test cases in wdl-lint/tests/lints that covers every
possible diagnostic emitted for the rule within the file where the rule
is implemented.
[x] You have run wdl-gauntlet --refresh to ensure that there are no
unintended changes to the baseline configuration file (Gauntlet.toml).
[x] You have run wdl-gauntlet --refresh --arena to ensure that all of the
rules added/removed are now reflected in the baseline configuration file
(Arena.toml).

Ah, also need to add this to be compatible with #110 when it's merged in.
    fn document(&mut self, _: &mut Self::State, reason: VisitReason, _: &Document) {
        if reason == VisitReason::Exit {
            return;
        }

        // Reset the visitor upon document entry
        *self = Default::default();
    }

I'm happy to also rebase my branch if we want to merge this first.


Slides preview no longer working

The slide preview explained here: https://github.com/INRIA/scikit-learn-mooc/blob/master/slides/README.md no longer works, probably due to the change of repo.
@brospars : maybe you know how to fix that. You did the work originally

I'll take a look a it.

So I have to admit I am note sure what @GaelVaroquaux means (probably my fault) since the link works for me:
https://inria.github.io/scikit-learn-mooc/slides/?file=ml_concepts.md...
On the other hand I was annoyed to have the CI red because of the remarkjs-pdf so I commented it out.
If you have time to look at it @brospars maybe by patching remarkjs-pdf to have a bigger timeout or using decktape to generate the PDF (as mentioned in the remark.js doc), that would be much appreciated.

OK, it does work. Maybe it was just a delay in activating github-pages for this repo (I flipped the switch, but it probably took a while to propagate). Fixed!

On the other hand I was annoyed to have the CI red because of the remarkjs-pdf timeout so I commented it out in b92c7cf.

Should we open another issue?


6-expected tests always block PRs

Hello, I tried to make pull request but saw six tests with status expected blocking PR I check others PRs and all have the same problem
does they need maintainer approval if not what we can do to pass those tests ?

here are the six tests mentioned above
-Analyze (javascript)
-CodeQL
-build (10.x)
-build (12.x)
-build (14.x)
-build (15.x)


vsock: Issues in sibling VM communication

These issues were discovered while trying to test the current implementation of sibling VM communication in vhost-user-vsock. The testing was done with iperf-vsock and nc-vsock, both patched to set .svm_flags = VMADDR_FLAG_TO_HOST.
Issues
Deadlock
If you try to test the sibling communication by running iperf-vsock or transferring big files with nc-vsock, the vhost-user-vsock process hangs and becomes completely irresponsive. After a bit of debugging, I discovered that there is deadlock.
The deadlock occurs when two sibling VMs simultaneously try to send each other packets. The VhostUserVsockThreads corresponding to both the VMs hold their own locks while executing thread_backend.send_pkt and then try to lock each other to access their counterpart's raw_pkts_queue. This ultimately results in a deadlock.
In particular, this line of code unleashes the deadlock.
The deadlock can be resolved by separating the mutex over raw_pkts_queue from the mutex over VhostUserVsockThread.
Raw packets queue not being processed completely
Even after resolving the deadlock, the vhost-user-vsock process still hangs while testing, though not completely irresponsive this time. It turns out that sometimes the raw packets pending on the raw_pkts_queue are never processed, resulting in the hang.
This happens because currently, the raw_pkts_queue is processed only when a SIBLING_VM_EVENT is received. But it may happen that the raw_pkts_queue could not be processed completely due to insufficient space in the RX virtqueue at that time.
This can be resolved by trying to process raw packets on other events too similar to what happens in the RX of standard packets.
Current status
While fixing the above two issues seems to make nc-vsock run flawlessly, testing with iperf-vsock still results in the vhost-user-vsock process hanging. There might be a notification problem and could be related to the EVENT_IDX feature.

While #385 resolves the deadlock and the problem with raw packets queue not being processed completely, iperf-vsock still doesn't work.  Following could be the reasons for that:

There might be a notification problem inside the vhost-user-vsock application
It could be due to the way iperf works internally
It might have something to do with vsock credit updates


Corrected InEvaluator

Fix for issue #71. InEvaluator had an invalid null check that was messing up membership checks. Also corrected some invalid tests and added some new ones.

Crud... a commit for issue 77 snuck in that shouldn't have.


Plugable queues

Coverage decreased (-0.7%) to 87.738% when pulling 3a98db4e16524fe9326330cadf4ad0b739e3e5fc on develop into b02a89fa9c036db6a3f37a22d993bdca0ff0c6b7 on master.

Coverage decreased (-0.7%) to 87.738% when pulling 3a98db4e16524fe9326330cadf4ad0b739e3e5fc on develop into b02a89fa9c036db6a3f37a22d993bdca0ff0c6b7 on master.

Coverage decreased (-0.7%) to 87.738% when pulling 3a98db4e16524fe9326330cadf4ad0b739e3e5fc on develop into b02a89fa9c036db6a3f37a22d993bdca0ff0c6b7 on master.

Coverage decreased (-0.5%) to 87.949% when pulling fd8ec1758dea4aa647ad86e0ce611a6ef0274c27 on develop into b02a89fa9c036db6a3f37a22d993bdca0ff0c6b7 on master.


fix url for git repo

Fix the URL of the actual repos to be used.
Signed-off-by: Bruno Borges<EMAIL_ADDRESS>

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/spring-framework/deploy-containerized-spring-boot-java-app-with-maven-plugin.md
:white_check_mark:Succeeded

docs-ref-conceptual/spring-framework/deploy-spring-boot-java-app-from-container-registry-using-maven-plugin.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Can not create a Win32 desktop app with c++/winrt ?

I think it was possible in previous versions, but now I do not know what to do

Yes, it's still possible - what issue are you encountering?

Can I see the example code?
https://moderncpp.com/windows-runtime/
The code in this article does not work as it is now.

Much has changed since that release.  Have a look at the samples included here instead, particularly the syndication sample which is a simple console app,


[Bug]: msiafterburner - not persisting all user configs

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
msiafterburner
Expected/Current Behaviour
"Regular" MSI Afterburner keeps these folders and files on uninstall because they contain user-made changes:

Profiles
Plugins\Monitoring

scoop package only persists this folder:

\scoop\persist\msiafterburner\Profiles

This means that any monitoring plugins added or configured by user will be reset on update & deleted on cleanup.
Due to Monitoring folder also containing package provided dlls, it would be expected to at least persist files in this manner:
\Plugins\Monitoring\*.cfg.user
Steps to Reproduce
scoop install msiafterburner

Open MSI Afterburner and add custom checks from plugins offered, eg I've added checks from PerfCounter.

When new version is released:
scoop update msiafterburner

Customizations will be gone.

Possible Solution
Either persist files \Plugins\Monitoring\*.cfg.user or add a Note for user to move the files manually before cleanup deletes them.
Scoop and Buckets Version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
b4ebfb2dc (HEAD -> master, origin/master, origin/HEAD) jackett: Update to version 0.20.2267

'java' bucket:
fec2bd1a (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.362-3.0.202211181811

'main' bucket:
e13981012 (HEAD -> master, origin/master, origin/HEAD) tflint: Update to version 0.43.0

Scoop Config
last_update          scoop_repo                              scoop_branch
-----------          ----------                              ------------
19.11.2022. 16:05:54 https://github.com/ScoopInstaller/Scoop master

PowerShell Version
Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

@luxzg Do you mind sharing the names of the files you want persisted from the  \Plugins\Monitoring\ folder?

@luxzg is the LibreHardwareMonitor.dll file that important?

@luxzg Can you test these manifests for me?
scoop bucket add MyScoop 'https://github.com/Zliced13/MyScoop'

scoop install rtss_fixed

scoop install msiafterburner_fixed

LibreHardwareMonitor.dll isn't important in my case, as those are downloaded and added from Internet, so can be easily replaced. Still, it would stop monitoring of those items until user fixes it manually.
It would be easiest to persist whole folder, I am just too new with scoop to understand the details of persisting process. Eg. if app update is allowed to overwrite these persisted items or not.
Anyway, I did test these fixes and I have a few observations:

errors while installing RTSS (will post in it's own issue)
during msiafterburner install I see  files persisting:

Persisting Plugins\Monitoring\AIDA64.cfg.user
Persisting Plugins\Monitoring\PerfCounter.cfg.user

and I see these files in scoop\persist\msiafterburner_fixed\Plugins\Monitoring
So I'd say msiafterburner fix works. Sure enough we'd need to update. Maybe you can fake a new version in json while I add some modifications to files and see what happens after update and cleanup?

Edit: I did change cfg.user files, uninstall, then install again, files are still kept with my modification. Is that enough for a test?

Yes, if the files are still there after you used the scoop uninstall command (without the -p switch), that means it's being persisted.


Option to show devicons before buffer ordinal number

Basically title.
Edit: I got this working locally by moving lines 59-66 in autoload/lightline/bufferline.vim right before line 87.

I am not yet sure what the best approach is to make the buffer naming more flexible. Maybe a configurable template string which gets expanded with different components. However, I am not working on a solution currently so it is good that you got it working locally.

@noib3 I added the feature in #70. The following setting should work once the PR is merged:
let g:lightline#bufferline#icon_position = 'first'


package-view: Double counting of package in the package view.

In general we need to improve the "package" view for Jvm languages so that it's a reliable tool for large repos.
@brendandouglas perhaps create a label in gh for this ?

This issue is about cases where packages are double counted.
com.donkey.kong is showing up as
com
| - donkey
     |- kong
com.donkey.kong

I'm not seeing this.
Are there any other files under com/ or com/donkey/?

I have tried to find a common pattern for it occurring in our mono repo where it occurs for java and Kotlin -- more cases of it for the Kotlin case.
In kotlin_rules I am seeing the following:

I expect io.bazel.kotlin.builder and io.bazel.kotlin.testing to both be rooted at io.bazel.
io.bazel.kotlin.builder only has kotlin files under it so it has not reason to have separate root.  io.bazel.kotlin.testing has skylark and BUILD files as well.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


fixed small error

Pull Request Test Coverage Report for Build 11

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.59%

Totals

Change from base Build 10:
0.0%

Covered Lines:
57

Relevant Lines:
57

💛  - Coveralls


suggestion: separate source and build directories

Hi!
I have compared several gulp scripts and like this one best. However, it bothers me that it doesn't by default separate source and build directories. Have a look at this one which which has a build and a src folder: https://github.com/synapticism/wordpress-gulp-starter-kit
I think that it's much cleaner to have such a separation rather than having the gulpfile, node_modules, etc. in your theme folder. The same is true for scss files and javascripts. It's easy to accidentally edit the compiled file (especially when working collaboratively). Another problem is the removal of (uncompiled) source files for a release. I use wordmove, so I need to exclude all the dev-only files and directories to copy.
Instead I would like to suggest to have the dev version of the theme in a folder outside of the wordpress tree, for example in you home directory. The gulp file would have to move the files inside the theme folder in wp-content. This ensures that the files in the theme folder are always the ones that can go right on a server or a release.
What do you think?

@retani A major update is due to this workflow. I have on my localhost a WPGulp CLI which makes all the sense :) BTW you can have separate build folder, but I would not want that, I am still thinking about handling this one, what I am doing is I am creating a possibility to sum up different packages of your WP products into ZIPs. Production package, dev package, etc.
But having a dev theme separate from the WP Theme dir, is in my opinion, a counter-intuitive approach.

@ahmadawais WP-CLI sounds cool :) I think that both approaches make sense. I am not a regular theme developer, but I am working on a dedicated theme for just one site, so I have the site running in a vagrant box and wanted to keep the source files out of it. That keeps live and dev versions in line, enabling me to sync them with mordmove. It would also facilitate versioning with git for example. I must say that I am relatively new to wordpress (well, again) and that it has it's own characteristics and workflow. Thanks for your comment.

@ahmadawais is this still in progress? And is there a current state that could be improved or continued to be developed?
For certain reasons, I think the build different packages part is really important. While /node_modules and some other folders/files are ignored due to .gitignore, all these files are present in the themes folder.
I have used DesktopServer by Serverpress to deploy websites, which deployed these folders/files as well to the dev/live server. Later on, while trying out a FTP script, every files has been synced as well.
To make this work I would live to extend the gulpfile as far as I can to create a dev and a build version. Its hard to think about a good folder structure. So should there be "two" themes, one as dev theme and one as build version? Or should there be one theme, with a src and build folder, which seems to destroy the "wordpress way" of handling themes? I would love to hear from you (or anyone else), if there is already a good idea about this problem.

@retani -

"It's easy to accidentally edit the compiled file (especially when working collaboratively)."

For the "collaborators" that stubbornly refuse to use SASS, I:

Put a file in my compiled dir named .DO_NOT_EDIT.txt which contains brief instructions/reasoning.
I usually let those who are sane use the SASS files, and for those who prefer clutter, inefficiency and stepping on each others toes, I just tell them to only modify the style.css file in the theme dir (assuming that it is a child theme). Occasionally, I go through that file and migrate the garbage.

"Another problem is the removal of (uncompiled) source files for a release."

For my own plugins, I use an NPM script to ZIPs up my plugin for distribution minus the development files. I just have to run npm run zip to create a new, updated ZIP. Perhaps something similar would work for you?
@marianrick -

"I have used DesktopServer by Serverpress to deploy websites, which deployed these folders/files as well to the dev/live server. Later on, while trying out a FTP script, every files has been synced as well."

Opinion: You would really benefit from using Git to deploy your sites. WPEngine, DreamHost, FlyWheel, any host using Plesk Onyx, and many others support Git deployment.
Off-topic: I am a DesktopServer refugee and I did a lot of research on alternative options (I almost gave up because everything had issues of its own). You might want to check out Local by FlyWheel. It is free to use (you don't have to be hosting with them), is available on Mac and Windows, and is excellent.

@dmhendricks thanks for your suggestions, checking out Local by Flywheel right now.

Take a look at how v2 handles this and see if we still need this. Then reopen if required.

I was reviewing the v2+ notes and couldn't find the resolution for this issue. Was there a production build process added? was it done in some other way I'm just missing?


Cleanup

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg eval

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 132406 run on x86_64-linux 1

2 packages failed to build and already failed to build on hydra master:

pivx: log was empty
pivxd: log was empty

2 packages built:

ssmtp
toxvpn


[PUBLICATION] fix the cmake issue.

output.txt
Dear Mr.AZIM AFROOZEH,
I hope this message finds you well.
I successfully ran CMake; however, I encountered an error during the make process. I have attached the terminal error messages for your reference.
Could you please take a look and help me understand what might be causing the issue? Your assistance would be greatly appreciated.
Thank you for your time.
Best regards,
Tian Sanchuan

Hi,
I hope this message finds you well. I want to express my sincere gratitude for taking the time to address my previous questions. Thanks to your help, those issues have been resolved.
However, I encountered a new issue while running make. The error is as follows:
CMake Error at /usr/local/share/cmake-3.22/Modules/GoogleTestAddTests.cmake:83 (message):
Error running test executable.
Path: '/home/ubuntu/Tian/ALP/publication/source_code/generated/x86_64/avx512bw_intrinsic_uf1/x86_64_avx512bw_intrinsic_1024_uf1_falp_test'
Result: Illegal instruction
Output:

Call Stack (most recent call first):
/usr/local/share/cmake-3.22/Modules/GoogleTestAddTests.cmake:179 (gtest_discover_tests_impl)
make[2]: *** [publication/source_code/generated/x86_64/avx512bw_intrinsic_uf1/CMakeFiles/x86_64_avx512bw_intrinsic_1024_uf1_falp_test.dir/build.make:103: publication/source_code/generated/x86_64/avx512bw_intrinsic_uf1/x86_64_avx512bw_intrinsic_1024_uf1_falp_test] Error 1
make[2]: *** Deleting file 'publication/source_code/generated/x86_64/avx512bw_intrinsic_uf1/x86_64_avx512bw_intrinsic_1024_uf1_falp_test'
make[1]: *** [CMakeFiles/Makefile2:3213: publication/source_code/generated/x86_64/avx512bw_intrinsic_uf1/CMakeFiles/x86_64_avx512bw_intrinsic_1024_uf1_falp_test.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
It seems this issue is caused by my older CPU version, which does not support the AVX512 instruction set. Could you kindly confirm if your ALP code requires a CPU that supports AVX512 instructions to run properly?
Thank you very much for your time and assistance.


feature request : ability to limit operator per field

Is it possible to limit operators per field of the model?
For example, I want to restrict the use of $eq and $contains operators only for the User.name field.

@DJafari Currently there is no such feature. any contribution to add this feature would be accepted.

this feature have been added to the package in #31
you can read more about it in the documents in this link


Running a bokeh server with Binder from documentation does not work

I am very interested in running a Bokeh server app within Binder. It seems the bokeh App can run. For example, with Bokeh 3.5.0 I do the following in the Binder terminal
bokeh serve --port=5006 App.py

and the app runs with output:
2024-07-11 06:53:16,223 Bokeh app running at: http://localhost:5006/App
2024-07-11 06:53:16,224 Starting Bokeh server with process id: 191
2024-07-11 06:53:31,239 [pid 191] 0 clients connected
2024-07-11 06:53:31,239 [pid 191]   /App has 0 sessions with 0 unused

I then go to the proxy URL : <binder_url>/proxy/5006/App
And the browser seems load the header since on the tab favicon appears the name of the App. However the page remains white and nothing every displays. For the record, with the same (mamba) environment I can run the app just fine in my personal laptop.
I thought I was doing some wrong. But then I went to the documentation which has this example for exactly doing what I want to do. This example is also part of BInder's official documentation running-a-bokeh-server-with-binder
Running the Binder in the example just mentioned leads to the same problem I am having: - white page and never actually displays the app. Note that in the example in the documentation, there is configuration so that upon building the Binder simply runs the App.
I have tried different browsers but I always get the same result.
From the  Discourse topic Creating a shareable Bokeh dashboard with Binder, it seems this example was first written/approached back in 2019 so it is likely outdated. But I don't discard the  fact that I am prob doing something wrong...

Oh, I think perhaps this is not the place for it. I apologize. I moved the issue to https://github.com/jupyterhub/mybinder.org-user-guide/issues/291 and will close this for now.


Update options

Update options with go-flags for zsh completions.

Tasks

[ ] add version command.
[ ] test.


How to check the Download/Upload Progress status?

Hi, I am unable to find an option or parameter switch where I can see the progress of my Download/Upload progress. Can you help me how to do this?

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

ID: 1141c265-4aea-c6be-4d61-3566fe8474b8
Version Independent ID: 3cb0f2ba-cf8b-7fdd-414b-b8d95dca004c
Content: Copy or move data to Azure Storage with AzCopy on Windows
Content Source: articles/storage/common/storage-use-azcopy.md
Service: storage
GitHub Login: @seguler
Microsoft Alias: seguler

Unfortunately Azcopy doesn't have the option to show the copy progress, however the use of the following Library would allow to see the status. Let me know if this helps.

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Make it possible to obtain the cache path of an image.

I'm just merging the master with the changes @andriichernenko made.
His original pull request is here:
https://github.com/DylanVann/react-native-fast-image/pull/228
I had to resolve the conflicts in the FastImageViewModule - please review it as I'm not that good with java.
If you try to do yarn add from my branch https://github.com/compojoom/react-native-fast-image/tree/cache-path installation will fail because of the package.json prepare command. I've temporally disabled it here:
So you can use this branch https://github.com/compojoom/react-native-fast-image/tree/develop to check the changes.
With this pull request applied you should be able to do
return FastImage.loadImage({ uri: imageURL }).then(imagePath => ...)

and fast image won't try to redownload the image from the web.
@DylanVann please review and merge. Thanks!

@DylanVann You should accept this PR, this could be needed in a tons of projects

Do we plan to merge this changes?

@DylanVann Can you accept this PR?

Any update on this feature? @DylanVann

Thanks for adding this functionality, very helpful.
One thing I noticed is the files that are stored locally have an odd filename/extension. For example in iOS, the file extension takes the extension of the url you downloaded it from. So if im hitting www.somedomain.com/getImage.aspx?id=5 the file extension will be .aspx. On Android it just seems like the file extensions are all .0
Has anyone ran into issues with sharing to other applications where this file extension issue would cause a problem? Even Gmail, the images do not show a preview since the file extension is wrong.
Im hoping to avoid copying all the images locally and renaming the extension since were so close, but not sure of a way around it..

@rollsroyc3 - hm, I haven't looked into this. I'm always grabbing the local image and converting it to base64, then I pass it to whatever shринг service on the phone and that works.

@rollsroyc3 - hm, I haven't looked into this. I'm always grabbing the local image and converting it to base64, then I pass it to whatever shринг service on the phone and that works.

Im curious why you would convert to base64, passing the uri works just fine, and I imagine is less memory intensive. I'll go ahead and give that a try though and see what it looks like in gmail, etc.. thanks

Hello @compojoom, thank u for the PR. In my case, I'm getting an error
fastimage/FastImageViewModule.java:55: error: cannot find symbol
                    final GlideUrl glideUrl = FastImageViewConverter.getGlideUrl(source);
                                                                    ^

fastimage/FastImageViewModule.java:74: error: cannot find symbol
                final GlideUrl glideUrl = FastImageViewConverter.getGlideUrl(source);
                                                                ^

Have you an idea about what I'm doing wrong?

The API should be part of the preloading API, which is currently kind of blocked by SDWebImage.
Sorry, if you find a way to resolve the issues around it feel free to open another PR. As is I don't want to add another API specifically to do this. Notes are here: https://github.com/DylanVann/react-native-fast-image/blob/master/docs/roadmap.md#add-onprogress-and-oncomplete-to-preload

@DylanVann Do you think this will be added soon? I think it will help a lot of people and will be a very helpful feature 🤞.
I'm currently working on integrating FastImage with a native module Image Gallery which is using images URI and in offline mode can't display the images because I have to sent it the local paths of them.
Great library!


__webpack_hmr 403

version: 2.18.2
Our website url:  aitest.ichuanyi.com/ai-admin/#/dataOverview/todayData
dev url: local.ichuanyi.com/ai-admin/#/dataOverview/todayData
we use nginx local.ichuanyi.com/ai-admin/ proxy to localhost:8080
but if url has ai-admin, __webpack_hmr 403, can't hot roload
without ai-admin, is right
but I want to use ai-admin

I relove it, modify dev-client.js
var hotClient = require('webpack-hot-middleware/client?**path=http://local.ichuanyi.com/admins/__webpack_hmr**&noInfo=true&reload=true')


Use faster, editable dropdown for Collations in database dialogs

Fixes https://github.com/microsoft/azuredatastudio/issues/23648
This PR updates the Create Database and Database Properties dialogs to use a faster, editable dropdown for the collation names. The default dropdown component would take several seconds to open the list after clicking on it, since there are over 5000 entries in the collation list. @Charles-Gagnon found that using the editable dropdown was a lot faster, since it doesn't use a select box behind the scenes, if I recall correctly. Making the dropdown editable then adds a filter feature for selecting collation names from the list much faster.
I also added some more validation for the dropdown, by showing an error message in the dialog if the user tries to submit with an invalid collation name they entered manually. Similarly, I improved how we show validation errors inline on the dropdown itself, since we weren't displaying any error messages while the user was typing.
Screenshot:

Looks like the dropdown width is varying based on the length of the collation name and is not in sync with the dropdown length, giving a default width will cuts the option name and it will be hard to know the exact collation, Is it possible to fix the dropdown starting position? (if so the width of the dropdown options list should not go over the end of the dialog.)

I'll look into it

@ssreerama I updated the dropdown to always use a fixed width when displaying the list.

@corivera are you changing all the places to use editable dropdown?

No, we're only using editable dropdowns for collation right now because of the large number of entries.


fmt: 7.1.2 -> 7.1.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fmtlib/fmt/releases.
meta.description for fmt is: "Small, safe and fast formatting library"
meta.homepage for fmt is: "http://fmtlib.net/"
meta.changelog for fmt is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/2626a064a9ccbafcad43540c2b08d1c9

du listing: https://gist.github.com/fb8412cb08004af20f8d32c43a91bd8c

Rebuild report (if merged into master) (click to expand)

91 total rebuild path(s)

28 package rebuild(s)

28 x86_64-linux rebuild(s)
25 i686-linux rebuild(s)
14 x86_64-darwin rebuild(s)
24 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
adlplug
bear
d-seams
fmt
fmt_7
gerbera
kodi
kodi-gbm
kodi-wayland
kodiGBM
kodiPlain
kodiPlainWayland
kodiPlugins.inputstream-adaptive
kodiPlugins.joystick
kodiPlugins.kodi
kodiPlugins.kodi-platform
kodiPlugins.pvr-hdhomerun
kodiPlugins.pvr-hts
kodiPlugins.pvr-iptvsimple
kodiPlugins.steam-controller
kodiPlugins.vfs-libarchive
kodiPlugins.vfs-sftp
mkvtoolnix
mkvtoolnix-cli
mpvScripts.convert
opnplug
pcsx2
waybar

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sdbm2gxbnyzl7bf3kn5hadfmv6wrj7sa-fmt-7.1.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A fmt https://github.com/r-ryantm/nixpkgs/archive/ac6196fe2b860d4849689c0a4e81af6a4f07971b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sdbm2gxbnyzl7bf3kn5hadfmv6wrj7sa-fmt-7.1.3
ls -la /nix/store/sdbm2gxbnyzl7bf3kn5hadfmv6wrj7sa-fmt-7.1.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package failed to build:

gerbera

25 packages built:

adlplug
bear
d-seams
fmt
kodi (xbmc)
kodi-gbm
kodi-wayland
kodiGBM
kodiPlain (xbmcPlain)
kodiPlainWayland
kodiPlugins.inputstream-adaptive
kodiPlugins.joystick
kodiPlugins.kodi-platform
kodiPlugins.pvr-hdhomerun
kodiPlugins.pvr-hts
kodiPlugins.pvr-iptvsimple
kodiPlugins.steam-controller
kodiPlugins.vfs-libarchive
kodiPlugins.vfs-sftp
mkvtoolnix
mkvtoolnix-cli
mpvScripts.convert
opnplug
pcsx2
waybar

Maintainer pings
cc @jeroendehaas for testing.

Result of nixpkgs-review pr 104969 run on x86_64-linux 1

1 package failed to build:

gerbera

25 packages built:

adlplug
bear
d-seams
fmt (fmt_7)
kodi
kodi-gbm
kodi-wayland
kodiGBM
kodiPlain (kodiPlugins.kodi)
kodiPlainWayland
kodiPlugins.inputstream-adaptive
kodiPlugins.joystick
kodiPlugins.kodi-platform
kodiPlugins.pvr-hdhomerun
kodiPlugins.pvr-hts
kodiPlugins.pvr-iptvsimple
kodiPlugins.steam-controller
kodiPlugins.vfs-libarchive
kodiPlugins.vfs-sftp
mkvtoolnix
mkvtoolnix-cli
mpvScripts.convert
opnplug
pcsx2
waybar


Error: Module parse failed

Whenever I'm trying to add style section to any vue file I get an error like this:
Module parse failed: Unexpected token (...)
You may need an appropriate loader to handle this file type.
So I cann't use style section an any vue component

are you using sass or not bro?

No I use normal css