Fix NoopPersister wrong caching duration

Attempt to fix #150. Seems to be working from my testing. Let me know what you think and what could have been done better!

@digitalbuddha yeah that sounds great. Would definitely do that tomorrow and push again!

Will also fix the Travis issues on the same commit!

Thank you @pavlospt  for taking a stab at this!!! :)))))

@digitalbuddha @brianPlummer I added the changes we discussed. Let me know what you think. Tests are fine and seems to be working from testing on a real device as well!

@digitalbuddha there is a remaining issue with PMD, that I don't really know how to fix. Any ideas?

Sadness. You can do a Pmd suppress warnings on the class. I guess we need
to refactor some stuff going forward.
On Mar 9, 2017 5:03 AM, "Pavlos-Petros Tournaris"<EMAIL_ADDRESS>wrote:

@digitalbuddha https://github.com/digitalbuddha there is a remaining
issue with PMD, that I don't really know how to fix. Any ideas?
[image: screen shot 2017-03-09 at 12 02 32]
https://cloud.githubusercontent.com/assets/1070871/23745324/722752fc-04c0-11e7-87a6-0fb9d8b70a98.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NYTimes/Store/pull/151#issuecomment-285308589, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEUX3LAwNQcVEs2xTtIBoAOlt9rW3dPGks5rj86FgaJpZM4MXRZh
.

Will review in more detail today.
On Mar 9, 2017 7:50 AM, "Pavlos-Petros Tournaris"<EMAIL_ADDRESS>wrote:

@pavlospt commented on this pull request.
In app/src/main/java/com/nytimes/android/sample/SampleApp.java
https://github.com/NYTimes/Store/pull/151#discussion_r105155217:

           .fetcher(barCode -> provideRetrofit().fetchSubreddit(barCode.getKey(), "10"))

           .memory(CacheBuilder.newBuilder()

                   .maximumSize(1)

                   .expireAfterWrite(10, TimeUnit.SECONDS)

                   .build())

           .fetcher(new Fetcher<RedditData, BarCode>() {

               @Nonnull

               @Override

               public Observable<RedditData> fetch(@Nonnull BarCode barCode) {

                   Log.d("fetcher", "Going for fetcher");

                   return provideRetrofit().fetchSubreddit(barCode.getKey(), "10");

               }

           })

+//                .fetcher(barCode -> provideRetrofit().fetchSubreddit(barCode.getKey(), "10"))

           .memoryPolicy(

               MemoryPolicy

Ok will do in a bit!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NYTimes/Store/pull/151#discussion_r105155217, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEUX3I_yFa3CEmviLPz02PAtk5IoB9ebks5rj_V9gaJpZM4MXRZh
.

@digitalbuddha @brianPlummer @alexio @cybo42 Finished the PR review changes. Let me know what you think!


AnyDAO Documentation

Add a new PR to preserve the preview deployment of PR83
Once this PR got merged into master and redirected the documentation link in anydao-app and landing page, PR83 can be closed

oh yar, and please add the anydao to the title page


No matching arp response on MacOS

Hi,
I'm testing the arping cli on MacOS and I've the problem that I get no matching response.
sudo -E ./arping -t 1s -v <IP_ADDRESS>                                                                                holger@happle
Password:
search usable interface
 OTHER NET:    lo0                     up|loopback|multicast
      DOWN:   gif0                     pointtopoint|multicast
      DOWN:   stf0                     0
    USABLE:    en0  20:c9:d0:7a:fa:31  up|broadcast|multicast
search available /dev/bpfX
  open failed: /dev/bpf0 - open /dev/bpf0: resource busy
  open failed: /dev/bpf1 - open /dev/bpf1: resource busy
  open success: /dev/bpf2
arping '<IP_ADDRESS>' over interface: 'en0' with address: '<IP_ADDRESS>'
ignore received arp: srcIP: '<nil>', srcMac: '02:d3:ff:ff:ff:ff:ff:ff:c0:a8:02:03'
ignore received arp: srcIP: '<nil>', srcMac: '02:03:20:c9:d0:7a:fa:31:c0:a8:02:d3:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00'
ignore received arp: srcIP: '<nil>', srcMac: '02:e2:00:00:00:00:00:00:c0:a8:02:01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00'
timeout

With the "original" arping I get a response:
/usr/local/sbin/arping <IP_ADDRESS>                                                                                holger@happle
ARPING <IP_ADDRESS>
60 bytes from b8:27:eb:c4:2e:5f (<IP_ADDRESS>): index=0 time=5.100 msec

I've captured the packets also with Wireshark and arping (the go version) was correct in the number of responses. There are 3 arp packets. The first one was a correct reply, but somehow arping could not recognize it.
Any ideas?

hey,
hard to reproduce.
can you please attach (or send per mail) the wireshark dump?
thanks, juergen

Here is dump for this: https://filetea.me/t1s61rlI6qwRoW9trfKuI5pQg

no idea! but it's interesting.
i don't understand why in your output the 'srcIP' is 'nil' and the 'srcMac' are messed up.
something go wrong when the packet are parsed.
i can't reproduce what's happening on your site.
my test with your provided pcap file:

my workstation is a freebsd machine
test interface is 're0':

root@main:~ # ifconfig re0 | grep -E 'ether|inet'
	ether e0:cb:4e:d5:ca:4e
	inet <IP_ADDRESS> netmask 0xffffff00 broadcast <IP_ADDRESS>

 ./arping -t 10s -v <IP_ADDRESS>
at the same time, i replay your pcap dump (with

result:
root@main:~ ./arping -t 10s -v <IP_ADDRESS>
search usable interface
    USABLE:    re0  e0:cb:4e:d5:ca:4e  up|broadcast|multicast
search available /dev/bpfX
  open success: /dev/bpf0
arping '<IP_ADDRESS>' over interface: 're0' with address: '<IP_ADDRESS>'
ignore received arp: srcIP: '<IP_ADDRESS>', srcMac: 'e0:cb:4e:d5:ca:4e'
ignore received arp: srcIP: '<IP_ADDRESS>', srcMac: '20:c9:d0:7a:fa:31'
process received arp: srcIP: '<IP_ADDRESS>', srcMac: 'b8:27:eb:c4:2e:5f'
<IP_ADDRESS> (b8:27:eb:c4:2e:5f) 1274,789 usec

the first entry is from the arping, the rest are the replay from your pcap dump:

i don't have a macos by hand to test this. but maybe at wednesday i meet someone where i can test it under macos.
sorry - i report back at thursday.

ah - what kind of mac do you have?
is it a intel cpu?
osx version?

hey,
i committed a fix in the dev branch.
can you please test it?
thanks

The fix is working, I get proper results now. Big thanks!


Remove dm_permission from Edit Guild Application Command endpoint

Docs PR: https://github.com/discord/discord-api-docs/pull/4861

Appears to have been done in #1708


Will calling AddValidationKey override the key added with AddSigningCredential?

I noticed AddSigningCredential() calls this:
builder.Services.AddSingleton<IValidationKeysStore>(new DefaultValidationKeysStore(new[] { credential.Key }));
and I noticed AddValidationKeys() calls this:
builder.Services.AddSingleton<IValidationKeysStore>(new DefaultValidationKeysStore(keys));
Calling AddSingleton with the same type will override the provided instance. So does that mean that new credential.Key added with AddSigningCredential will be removed and now the discovery service will stop reporting that key?

No the DI supports multiple implementations at the same time.


Update generate-release-notes.py to only include release-note-required label [v1.34]

Cherry-pick of #3282

Removing "merge-when-ready" label due to new commits


Stage 3 of #3256 - Miscellaneous cleanup before more removals

Third in this series.
Performing some misc cleanup and performance improvements as well as adding some annotations.
Work on removing Point[F] and Size[F] is branched from the end of this.
This is intended to be merged after #3262, as it is branched from the end of that branch.
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."

Sorta

[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[x] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings

Many of the changes are actually explicitly to address existing warnings.

[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

Oh yeah forgot to mention:
Since this is a continuation of the previous branch in #3262, you can also just merge this one, which will include everything in that one as well. I'm just separating them like this for ease of review. If that one is merged first, this PR will automatically update to reflect only being the changes from that point. If this one is merged first, the other one can just be closed (it may even auto-close, if it understands it properly).
Doesn't matter to me which way that's done. Either way will have the same final result.


Why it does that
Briefly state why the change was necessary.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly?

Codecov Report

Merging #262 (d749a47) into feature/247-appinsights-registrservice (0a73eff) will not change coverage.
The diff coverage is n/a.

@@                            Coverage Diff                            @@
##             feature/247-appinsights-registrservice     #262   +/-   ##
=========================================================================
  Coverage                                     78.78%   78.78%
  Complexity                                       20       20
=========================================================================
  Files                                             5        5
  Lines                                            66       66
  Branches                                          5        5
=========================================================================
  Hits                                             52       52
  Misses                                           14       14

Impacted Files
Coverage Δ

...spaceconnector/mvd/FederatedCacheNodeResolver.java
100.00% <ø> (ø)

...onnector/mvd/RegistrationServiceNodeDirectory.java
90.00% <ø> (ø)

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


Moving Data Explorer (kusto) (2) resources to v1beta1 version

Moving 2 resources to v1beta1 version

[ ] azurerm_kusto_cluster_customer_managed_key
[ ] azurerm_kusto_script

azurerm_kusto_cluster_customer_managed_key
Fails on     message: 'apply failed: A resource with the ID "https://vaultexample.vault.azure.net/keys/keyexample/634e23f170ff4527b0ae620762ed8c34"
already exists - to be managed via Terraform this resource needs to be imported
into the State. Please see the resource documentation for "azurerm_key_vault_key"
for more information.: '
The same issue if IdentifierFromProvider is set in config
azurerm_kusto_script
Fails on
message: 'observe failed: cannot run refresh: refresh failed: Key/Value cannot
be empty strings. Key: ''Databases'', Value: '''': '


Accessibility improvements

Describe the feature
I think there a some improvements needed for the general accessibility.
For example at the moment the aria-describedby is not used by default for the error messages.

Agree @dominikklein — more needs to be done here. I just pushed an update in beta.5 that adds aria-describedby to all of the input elements.
We'd like to get the entire thing professionally audited to make sure we have a really solid foundation for other to build on.

Yes i think it's a complex topic to make this work in the best way.
For example you added now the aria-describedby for the "help" text, but if a error exists it's maybe also this connection which should be present.

@dominikklein so this latest update should targets any help text, validation messages, or error messages with aria-describedby. Also the validation/error messages are now in a aria-live="polite" — which could debatably be assertive instead — but I did use assertive for the error messages placed on the form itself — like if you submit a form and it fails.

I think all the basics are covered now so I'm going to close this in favor of specific, addressable, accessibility issues that arise in the future.


Publish on PyPI

Then adjust installation instructions.

https://python-poetry.org/docs/libraries#packaging

Recommend installation with pipx: https://pypa.github.io/pipx/


Missing xref in concept

Source issue: https://github.com/metanorma/mnconvert/issues/398
The source document: https://github.com/metanorma/iso-iec-smart-terms
Old Presentation XML (generated on Jan 27, 2023):
Semantic part:

refterm contains the term body
there is xref with @target

	<semantic__concept>
		<semantic__refterm>body</semantic__refterm>
		<semantic__renderterm>body</semantic__renderterm>
		<semantic__xref target="semantic__term-body"/>
	</semantic__concept>.</semantic__p>
</semantic__termnote>

Presentation part:

there is xref with clause's number

<termnote id="_bfb979a4-45cc-ca7a-c742-7d4998469fd9">
	<name>Note 3 to entry</name>

A standardization process is typically established by consensus and approved by a recognized
                        body(
                        <xref target="term-body">
			4.2.1
		</xref>).

</termnote>

New (generated today):
Semantic part

refterm contains domain value + term body
no xref

       <semantic__concept>
	<semantic__refterm><responsible for standards and regulations> body</semantic__refterm>
	<semantic__renderterm>body</semantic__renderterm>
	</semantic__concept>.</semantic__p>
</semantic__termnote>

Presentation part - just body:
<termnote id="_c488ff57-c12a-703c-1196-5cf6b307ae69">
	<name>Note 3 to entry</name>

A standardization process is typically established by consensus and approved by a recognized
		body.

</termnote>

I've been forced to do significant refactoring of terms processing recently: https://github.com/metanorma/metanorma-iso/issues/1021.
Both behaviours are possible, but wrong: they would apply if this were the second time "body" were mentioned in the term, and if there were two "body" terms defined with different domains. Since neither is the case, this is a bug.

@opoudjis thanks!


css classes conflict with popular framework

Hi,
i noticed that the css classes used in this project are not prefixed, and may conflict with the ones used in popular frameworks like bootstrap or vuetify.
Example of these are info and error.
It's a good practice to prefix css classes so that they don't conflict.

@gotson we can add this to our list, it might not be high priority though


Is there a way to run ollama with IPEX-LLM on CPU

I want to run ollama with IPEM-LLM on a machine with 4 Intel Xeon CPU E7-4830 v3 processors and 256GB of memory. The operating system is Ubuntu 24.04. I followed the steps in the official tutorial as follows:

Install Intel® oneAPI Base Toolkit:apt-get install intel-basekit
apt-get install intel-hpckit

Install ipex-llm-cpp:pip install --pre --upgrade ipex-llm[cpp]

Execute init-ollama:init-ollama

Run ollama:source /opt/intel/oneapi/setvars.sh
ollama serve

Pull the model:ollama pull qwen:7b-chat

Chat with ollama through open-webui.

But when I selected the model on open-webui and sent the question, I received a response with error code 500.
I checked the console, and the last output was as follows:
[SYCL] call ggml_init_sycl
ggml_init_sycl: GGML_SYCL_DEBUG: 0
ggml_init_sycl: GGML_SYCL_F16: no
found 2 SYCL devices:
|  |                  |                                             |       |Max compute|Max work|Max sub|               |                                  |
|ID|       Device Type|                                         Name|Version|units      |group   |group  |Global mem size|                    Driver version|
|--|------------------|---------------------------------------------|-------|-----------|--------|-------|---------------|----------------------------------|
| 0|    [opencl:cpu:0]|          Intel Xeon CPU E7-4830 v3 ® 2.10GHz|    3.0|         96|    8192|     64|        270317M|2<IP_ADDRESS>.08_160000.xmain-hotfix|
| 1|    [opencl:acc:0]|                  Intel FPGA Emulation Device|    1.2|         96|67108864|     64|        270317M|2<IP_ADDRESS>.08_160000.xmain-hotfix|
ggml_backend_sycl_set_mul_device_mode: true
llama_model_load: error loading model: DeviceList is empty. -30 (PI_ERROR_INVALID_VALUE)
llama_load_model_from_file: exception loading model
terminate called after throwing an instance of 'sycl::_V1::invalid_paramter_error'
  what(): DeviceList is empty. -30 (PI_ERROR_INVALID_VALUE)

I couldn't find a method to run ollama with IPEX-LLM on a CPU in the official documentation. I hope someone can point out the problem for me.

HI @reeingal , we are reproducing this issue and will inform you when we make progress.

Hi @reeingal, ollama with IPEX-LLM does not support running on a pure CPU platform, as we haven't optimized ollama for CPU. You may switch to a GPU device to enable IPEX-LLM optimizations.


Searchable Select No Longer Showing a No Results Found Message

Package
filament/forms
Package Version
v2.13.10
Laravel Version
v9.18
Livewire Version
v2.10
PHP Version
PHP 8.1
Bug description
A select field using the searchable method is not returning a no results message when no options are found. Instead it only says keep typing to search.... I'm not sure when this behavior started but seems to have been introduced a few versions back.
This bug only seems to occur when the select field is using the getSearchResultsUsing method to query the database to find selection options. If the options are static, the no results message is displayed as expected.
Steps to reproduce

Add a select field to your project with the searchable and getSearchResultsUsing methods.
Try searching for an option that doesn't exists.
Observe there is not a "no results message" displayed.

Relevant log output
No response

I'm experiencing the same issue

@danharrin, any idea what broke this? The noSearchResultsMessage value gets passed to the Choices noResultsText option just as it should.

Fixed by #3323, but this could have other potential side effects, so we need to keep an eye on new incoming issues with select searching, as this is probably the cause


Wowza publish stream with VideoCore

I am trying to publish a video stream to my Wowza Streaming Engine, but I receive the message: NetStream.Publish.Denied
These are two of the ways I have attempted to publish this stream, but I always get the same error (NetStream.Publish.Denied).

[_session startRtmpSessionWithURL:
<EMAIL_ADDRESS>andStreamKey:@"myStream"];

[_session startRtmpSessionWithURL:
@"rtmp://ec2-xx-xxx-xxx-xx.compute-1.amazonaws.com/MyStreamName"
andStreamKey:@"myStream"];

Has anyone successfully published a video stream to Wowza using this library? If so, could you please share the correct way to format the url or what else needs to be done to successfully publish the stream to your Wowza Streaming Engine?
*Note: I am using Wowza Streaming Engine with AWS Cloudfront for video streaming.

I solved my problem by turning the password off on the wowza server settings and using this:
[_session startRtmpSessionWithURL:
@"rtmp://ec2-xx-xxx-xxx-xx.compute-1.amazonaws.com/MyStreamName"
andStreamKey:@"myStream"];
But I have yet to figure out how to add username/password to the url to be able to stream.


Selecting from File Picker search results fails when using VPN

Hey guys,
we applied the feature related to the issue https://github.com/OneDrive/samples/issues/20. Many thanks for considering my request. The feature is really good.
But we realized that when a VPN is used to connect to SharePoint, navigating to a folder and selecting an item works fine.  However, the Select button does not work when you search for an item and select it from the search results.  The Select button greys out with a spinning icon for a few seconds and then displays again, but nothing happens.  The item is not selected.  When a VPN is NOT used, selecting an item from the search results works successfully.
Any suggestions on how to solve this problem?
Problem-related to the issue https://github.com/OneDrive/samples/issues/20

Closing the Issue. We just realized that the problem is not related to the VPN. I'll open a new ticket with right description.

Closing the Issue. We just realized that the problem is not related to the VPN. I'll open a new ticket with the right description.


Create fr.json

fr locales

Hi @dexter9006 , its missing the fade and deleteAll translations. Can you please add them as well?
https://github.com/iLLeniumStudios/fivem-appearance/blob/main/locales/en.json#L142
https://github.com/iLLeniumStudios/fivem-appearance/blob/main/locales/en.json#L85

Nervermind, I will fix that after merging this

Oh sorry was a little bit off yesterday x), keep the good job <o.


Handling Data with Interventions

Hi,
Thank you for the excellent repository! It has been exciting exploring the discovery tools in this repository lately. I was using the data from Sachs et al. 2005 before I realized the data was already implemented as an internal dataset here. I am running into some confusion, however, and thought I would ask here.
For clarity's sake, here is how I am loading in the internal dataset:
from causallearn.utils.Dataset import load_dataset
data, labels = load_dataset(dataset_name="sachs")
df_internal = pd.DataFrame(data=data,columns=labels)

From what I can tell, the internal implementation of the dataset is some subset of the 14 excel tables one retrieves if they download from the paper directly. First, I noticed the internal dataset contains exactly the same columns as all 14 of the excel tables I have from the paper. The rows, by contrast, differ substantially. There are on the order of 11 thousand rows present across all 14 tables but there are only around 7 thousand rows present in the internal dataset. (I did also confirm that the first 5 rows of the internal dataset match exactly to those of the 1. cd3cd28.xls file, so it does not look like any normalization/processing has altered the values themselves).
Taken together, it seems the internal dataset is a row-joined subset of the original Sachs dataset. Is this a correct assessment? If so, what subset of the tables are included? Why aren't all conditions included?
Please let me know if I have simply missed some tutorial or documentation somewhere. Any assistance would be greatly appreciated.
Overall, my goal is to reproduce the graph seen in Figure 3A. I know the authors used a simulated annealing approach, but I want to try more current approaches.

Hi, Yujia asked if I would give you an answer. This data we used for this
tech report:
https://arxiv.org/abs/1805.03108
There is another data file here with the experimental variables given for
each row:
https://github.com/cmu-phil/example-causal-datasets/blob/main/real/sachs/data/sachs.2005.with.jittered.experimental.continuous.txt
The experimental variables are actually all 0/1; they have simply been
jittered with a small amount of Gaussian noise to allow matrix inversions
using them to not yield singularity exceptions. You can recover 0/1 by
thresholding them with a threshold of 0.5.
I think the issue with the number of rows is that one of the datasets in
the Sachs paper was not used for their analysis, so we omitted it as well.
If you can't figure out which one that was, let me know; I'll go through my
notes. I think it was...10?
Let me know if that helps.
Best,
Joe
On Mon, Apr 22, 2024 at 5:13 PM chrisquatjr @.***>
wrote:

Hi,
Thank you for the excellent repository! It has been exciting exploring the
discovery tools in this repository lately. I was using the data from Sachs
et al. 2005 before I realized the data was already implemented as an
internal dataset here. I am running into some confusion, however, and
thought I would ask here.
For clarity's sake, here is how I am loading in the internal dataset:
from causallearn.utils.Dataset import load_dataset
data, labels = load_dataset(dataset_name="sachs")
df_internal = pd.DataFrame(data=data,columns=labels)
From what I can tell, the internal implementation of the dataset is some
subset of the 14 excel tables one retrieves if they download from the paper
directly. First, I noticed the internal dataset contains exactly the same
columns as all 14 of the excel tables I have from the paper. The rows, by
contrast, differ substantially. There are on the order of 11 thousand rows
present across all 14 tables but there are only around 7 thousand rows
present in the internal dataset. (I did also confirm that the first 5 rows
of the internal dataset match exactly to those of the 1. cd3cd28.xls
file, so it does not look like any normalization/processing has altered the
values themselves).
Taken together, it seems the internal dataset is a row-joined subset of
the original Sachs dataset. Is this a correct assessment? If so, what
subset of the tables are included? Why aren't all conditions included?
Please let me know if I have simply missed some tutorial or documentation
somewhere. Any assistance would be greatly appreciated.
Overall, my goal is to reproduce the graph seen in Figure 3A. I know the
authors used a simulated annealing approach, but I want to try more current
approaches.
—
Reply to this email directly, view it on GitHub
https://github.com/py-why/causal-learn/issues/181, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLFSR52SVH22AWOWZ3Q3I3Y6V4NVAVCNFSM6AAAAABGTQXYVKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TONBXGM2TSMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for the great explanation! I have been following the paper you suggested and have been able to follow everything using Tetrad's GUI, which I switched over to as I do not see an implementation of FASK in this library (let me know if I simply missed it). I followed the paper up to this point:
"After running FASK, we deleted the intervention variables from the resulting graph keeping only the graph over the measured variables."
I am not sure how to do this in Tetrad. I do not see anything in the manual about deleting or removing variables in this way. This format also does not appear to conform to Tetrad's "status and value" convention. If I adjust the data to conform to this format, would Tetrad immediately know to not include these variables in the graph output?

Oh my gosh, I missed your message! Let me think how to respond.

Ah I see. Here's the data:
https://github.com/cmu-phil/example-causal-datasets/blob/main/real/sachs/data/sachs.2005.logxplus10.jittered.eperimental.continuous.txt
The intervention variables are all variables after 'jnk'--these are experimental variables that have been jitted with a small amount of Gaussian noise.


port imageutils fits reading functions

see https://github.com/waqasbhatti/astrobase/issues/88

Thanks!


Do not instantiate components in pipeline generatot before enriching

Currently, pipeline generation follows the following pattern:

Load pipeline.yaml
Load pipeline_env.yaml
Init components from pipeline.yaml and collect them in a list
Convert each component from the list to a dict to combine with the env def and substitute
Init env-enriched components

Seems easier to avoid the first init and directly work with the dict and fill the component list later with the final components.
Hint: change enrich_component(self, component: PipelineComponent) -> PipelineComponent to  enrich_component(self, component: dict) -> PipelineComponent

I looked into it and it seems that this is not easily achievable as the component needs to be enriched with defaults before the substitution happens.
Closing the issue as it seems pointless currently.


Fixed Docker Image Tag for Elasticsearch & Kibana

Hi, thank you for awesome applications 👍
Read the contribution guidelines
Done.
A description of the changes proposed in the pull request
Because Elasticsearch & Kibana does not have latest tag, docker-compose up does not work.

https://hub.docker.com/_/elasticsearch
https://hub.docker.com/_/kibana

$ docker-compose -f deploy/docker-compose/docker-compose.yml -f deploy/docker-compose/docker-compose.logging.yml up -d

(snip)

Pulling elasticsearch (elasticsearch:)...
ERROR: manifest for elasticsearch:latest not found

(snip)

Pulling kibana (kibana:)...
ERROR: manifest for kibana:latest not found

So, I fixed image tag.
elasticsearch:5 & kibana:5 works good 👍

Future
I thinks that Elasticsearch 7 or 6.7.1 & Kibana 7 or 6.7.1 are better.
We need update microservices-demo/log-server docker image, because it is depends on fluent-plugin-elasticsearch version at microservices-demo/log-server. Could you fix it?

https://github.com/microservices-demo/log-server

From Elasticserach 6 & 7, HTTP header Content-Type: application/json is necessary.
2019-04-30 15:33:15 +0000 fluent.warn: {"next_retry":"2019-04-30 15:42:05 +0000","error_class":"Elasticsearch::Transport::Transport::Errors::NotAcceptable","error":"[406] {\"error\":\"Content-Type header [] is not supported\",\"status\":406}","plugin_id":"object:2ac41b0eb5f0","message":"temporarily failed to flush the buffer. next_retry=2019-04-30 15:42:05 +0000 error_class=\"Elasticsearch::Transport::Transport::Errors::NotAcceptable\" error=\"[406] {\\\"error\\\":\\\"Content-Type header [] is not supported\\\",\\\"status\\\":406}\" plugin_id=\"object:2ac41b0eb5f0\""}

So, I choice Elasticsearch 5 & Kibana 5 this time.
Thanks 👍

when will this be checked in?


Error Building Wheel with Python 3.11

I was attempting to update my Zephyr workspace after updating to Fedora 37 and it seems as though the wheel for cmsis-pack-manager no longer builds:
(.venv) [mbanducci zephyr]$ pip install cmsis-pack-manager
Collecting cmsis-pack-manager
  Using cached cmsis-pack-manager-0.4.0.tar.gz (43 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting appdirs<2.0,>=1.4
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting milksnake<1.0,>=0.1.5
  Using cached milksnake-0.1.5-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: pyyaml<7.0,>=6.0 in /home/mbanducci/zephyrproject/.venv/lib64/python3.11/site-packages (from cmsis-pack-manager) (6.0)
Collecting cffi>=1.6.0
  Using cached cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (462 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: cmsis-pack-manager
  Building wheel for cmsis-pack-manager (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cmsis-pack-manager (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [285 lines of output]
      /tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
        warnings.warn(msg, warning_class)
      running bdist_wheel
      running build
      running build_py
      creating build/lib
      creating build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/pack_manager.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/_version.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/_native__ffi.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/_native.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/__init__.py -> build/lib/cmsis_pack_manager
          Updating crates.io index
         Compiling libc v0.2.137
         Compiling autocfg v1.1.0
         Compiling cfg-if v1.0.0
         Compiling cfg-if v0.1.10
         Compiling futures v0.1.31
         Compiling log v0.4.17
         Compiling byteorder v1.4.3
         Compiling semver-parser v0.7.0
         Compiling either v1.8.0
         Compiling maybe-uninit v2.0.0
         Compiling lazy_static v1.4.0
         Compiling cc v1.0.76
         Compiling scopeguard v1.1.0
         Compiling proc-macro2 v1.0.47
         Compiling unicode-ident v1.0.5
         Compiling quote v1.0.21
         Compiling fnv v1.0.7
         Compiling tinyvec_macros v0.1.0
         Compiling syn v1.0.103
         Compiling rand_core v0.4.2
         Compiling unicode-bidi v0.3.8
         Compiling once_cell v1.16.0
         Compiling version_check v0.9.4
         Compiling spin v0.5.2
         Compiling untrusted v0.7.1
         Compiling tinyvec v1.6.0
         Compiling memchr v2.5.0
         Compiling lock_api v0.3.4
         Compiling matches v0.1.9
         Compiling serde_derive v1.0.147
         Compiling itoa v0.4.8
         Compiling serde v1.0.147
         Compiling semver v0.9.0
         Compiling autocfg v0.1.8
         Compiling adler v1.0.2
         Compiling rand_core v0.3.1
         Compiling httparse v1.8.0
         Compiling failure_derive v0.1.8
         Compiling hashbrown v0.12.3
         Compiling percent-encoding v1.0.1
         Compiling miniz_oxide v0.5.4
         Compiling gimli v0.26.2
         Compiling percent-encoding v2.2.0
         Compiling unicode-xid v0.2.4
         Compiling rustc_version v0.2.3
         Compiling crossbeam-utils v0.7.2
         Compiling slab v0.4.7
         Compiling memoffset v0.5.6
         Compiling crossbeam-epoch v0.8.2
         Compiling unicase v2.6.0
         Compiling smallvec v0.6.14
         Compiling indexmap v1.9.1
         Compiling rand_pcg v0.1.2
         Compiling rand_chacha v0.1.1
         Compiling form_urlencoded v1.1.0
         Compiling rand v0.6.5
         Compiling num-traits v0.2.15
         Compiling base64 v0.10.1
         Compiling rustc-demangle v0.1.21
         Compiling parking_lot_core v0.6.2
         Compiling parking_lot v0.9.0
         Compiling hyper v0.12.36
         Compiling try-lock v0.2.3
         Compiling serde_json v1.0.87
         Compiling crc32fast v1.3.2
         Compiling num-integer v0.1.45
         Compiling object v0.29.0
         Compiling unicode-normalization v0.1.22
         Compiling rand_xorshift v0.1.1
         Compiling rand_hc v0.1.0
         Compiling rand_isaac v0.1.1
         Compiling rand_jitter v0.1.4
         Compiling ryu v1.0.11
         Compiling encoding_rs v0.8.31
         Compiling iovec v0.1.4
         Compiling num_cpus v1.14.0
         Compiling net2 v0.2.38
         Compiling ring v0.16.20
         Compiling tokio-sync v0.1.8
         Compiling bytes v0.4.12
         Compiling time v0.1.44
         Compiling backtrace v0.3.66
         Compiling want v0.2.0
         Compiling mime_guess v2.0.4
         Compiling rand_os v0.1.3
         Compiling itoa v1.0.4
         Compiling try_from v0.3.2
         Compiling tokio-executor v0.1.10
         Compiling mio v0.6.23
         Compiling crossbeam-queue v0.2.3
         Compiling futures-cpupool v0.1.8
         Compiling mime v0.3.16
         Compiling dtoa v0.4.8
         Compiling crossbeam-utils v0.8.12
         Compiling idna v0.1.5
         Compiling tokio-current-thread v0.1.7
         Compiling tokio-timer v0.2.13
         Compiling tokio-io v0.1.13
         Compiling http v0.1.21
         Compiling string v0.2.1
         Compiling crossbeam-deque v0.7.4
         Compiling tokio-buf v0.1.1
         Compiling idna v0.3.0
         Compiling idna v0.2.3
         Compiling flate2 v1.0.24
         Compiling dirs-sys v0.3.7
         Compiling quick-xml v0.17.2
         Compiling scoped-tls v0.1.2
         Compiling iana-time-zone v0.1.53
         Compiling tokio-threadpool v0.1.18
         Compiling unicode-width v0.1.10
         Compiling dirs v4.0.0
         Compiling termcolor v1.1.3
         Compiling tokio-codec v0.1.2
         Compiling xdg v2.4.1
         Compiling textwrap v0.11.0
         Compiling atty v0.2.14
         Compiling strsim v0.8.0
         Compiling url v1.7.2
         Compiling tokio-reactor v0.1.12
         Compiling mio-uds v0.6.8
         Compiling url v2.3.1
         Compiling uuid v0.7.4
         Compiling tokio-fs v0.1.7
         Compiling minidom v0.12.0
         Compiling crossbeam-channel v0.5.6
         Compiling bitflags v1.3.2
         Compiling ansi_term v0.12.1
         Compiling vec_map v0.8.2
         Compiling tokio-tcp v0.1.4
         Compiling tokio-uds v0.2.7
         Compiling tokio-udp v0.1.6
         Compiling app_dirs v1.2.1
         Compiling clap v2.34.0
         Compiling chrono v0.4.23
         Compiling cookie v0.12.0
         Compiling tokio v0.1.22
         Compiling publicsuffix v1.5.6
         Compiling pbr v1.0.4
         Compiling addr2line v0.17.0
         Compiling tokio-core v0.1.18
         Compiling sct v0.6.1
         Compiling webpki v0.21.4
         Compiling http-body v0.1.0
         Compiling h2 v0.1.26
         Compiling ct-logs v0.6.0
         Compiling rustls v0.16.0
         Compiling webpki-roots v0.17.0
         Compiling simplelog v0.8.0
         Compiling synstructure v0.12.6
         Compiling tokio-rustls v0.10.3
         Compiling ctor v0.1.26
         Compiling failure v0.1.8
         Compiling hyper-rustls v0.17.1
         Compiling serde_urlencoded v0.5.5
         Compiling cookie_store v0.7.0
         Compiling reqwest v0.9.24
         Compiling cmsis-pack v0.3.0 (/tmp/pip-install-t1h86i5d/cmsis-pack-manager_0df7306226554d2ab758737493fb3cfd/rust/cmsis-pack)
      warning: fields `name`, `description` and `doc` are never read
         --> cmsis-pack/src/pdsc/component.rs:160:5
          |
      159 | pub struct Bundle {
          |            ------ fields in this struct
      160 |     name: String,
          |     ^^^^
      ...
      164 |     description: String,
          |     ^^^^^^^^^^^
      165 |     doc: String,
          |     ^^^
          |
          = note: `#[warn(dead_code)]` on by default
          = note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

         Compiling cmsis-cli v0.3.0 (/tmp/pip-install-t1h86i5d/cmsis-pack-manager_0df7306226554d2ab758737493fb3cfd/rust/cmsis-cli)
      warning: `cmsis-pack` (lib) generated 1 warning
         Compiling cmsis-cffi v0.3.0 (/tmp/pip-install-t1h86i5d/cmsis-pack-manager_0df7306226554d2ab758737493fb3cfd/rust/cmsis-cffi)
      warning: unused return value of `std::mem::replace` that must be used
         --> cmsis-cffi/src/pack_index.rs:145:13
          |
      145 |             mem::replace(boxed.borrow_mut(), next_state);
          |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = note: `#[warn(unused_must_use)]` on by default
          = note: if you don't need the old value, you can just assign the new value directly

      warning: unused return value of `std::mem::replace` that must be used
         --> cmsis-cffi/src/pack_index.rs:191:13
          |
      191 |             mem::replace(boxed.borrow_mut(), next_state);
          |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = note: if you don't need the old value, you can just assign the new value directly

      warning: `cmsis-cffi` (lib) generated 2 warnings
          Finished release [optimized] target(s) in 28.11s
      copying dylib libcmsis_cffi.so
      Traceback (most recent call last):
        File "/home/mbanducci/zephyrproject/.venv/lib64/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/home/mbanducci/zephyrproject/.venv/lib64/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/mbanducci/zephyrproject/.venv/lib64/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
          return self._build_with_temp_dir(['bdist_wheel'], '.whl',
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
          self.run_setup()
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 66, in <module>
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 325, in run
          self.run_command("build")
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/milksnake/setuptools_ext.py", line 88, in run
          func(base_path=base_path, inplace=False)
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/milksnake/setuptools_ext.py", line 276, in build_cffi
          ffi = make_ffi()
                ^^^^^^^^^^
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/milksnake/setuptools_ext.py", line 262, in make_ffi
          from milksnake.ffi import make_ffi
        File "/tmp/pip-build-env-a67mmg56/overlay/lib/python3.11/site-packages/milksnake/ffi.py", line 8, in <module>
          _directive_re = re.compile(r'^\s*#.*?$(?m)')
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/__init__.py", line 227, in compile
          return _compile(pattern, flags)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/__init__.py", line 294, in _compile
          p = _compiler.compile(pattern, flags)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_compiler.py", line 743, in compile
          p = _parser.parse(p, flags)
              ^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_parser.py", line 980, in parse
          p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_parser.py", line 455, in _parse_sub
          itemsappend(_parse(source, state, verbose, nested + 1,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_parser.py", line 841, in _parse
          raise source.error('global flags not at the start '
      re.error: global flags not at the start of the expression at position 9
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cmsis-pack-manager
Failed to build cmsis-pack-manager
ERROR: Could not build wheels for cmsis-pack-manager, which is required to install pyproject.toml-based projects

Other notes:

This was all working fine on Fedora 36 immediately before the reboot, which defaults to Python 3.10
I checked to ensure I had python3-devel installed, just in case, but adding it did not alter behavior
I tried to install cmsis-pack-manager both inside of and outside of my Zephyr venv with identical results

I'm also experiencing this exact same issue when attempting to setup a fresh Zephyr environment on a new machine running Win 11 Pro 21H2

Could you try to build the maturin branch? I am not sure I have properly connected all the pieces. I need to update GitHub Actions configuration, and setuptools_scm needs to be replaced.

@mbrossard  I'll give it a shot. Initial attempts were unsuccessful, as Fedora has deprecated python2 pip, and I don't have a good way to get a python2-compatible version of setuptools on this machine. I'll try to make some time to get a VM going to try the build.
Just for the sake of completeness, I can confirm that running setup.py with python3 doesn't work :)

Initial attempts were unsuccessful, as Fedora has deprecated python2 pip, and I don't have a good way to get a python2-compatible version of setuptools on this machine. I'll try to make some time to get a VM going to try the build.
Just for the sake of completeness, I can confirm that running setup.py with python3 doesn't work :)

cmsis-pack-manager does not support Python 2.x anymore and you probably need Python 3.7 with maturin (Python 3.6 is EOL).
To test the maturin you need the rust compiler installed (https://rustup.rs/) and Python with pip, then it should be as simple as:
pip install .

Oh! I'm sorry, I misunderstood and went with the readme.
I tried again with maturin, and the build appears to have worked:
$ pip install .
Defaulting to user installation because normal site-packages is not writeable
Processing /home/mbanducci/repos/cmsis-pack-manager
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting appdirs<2.0,>=1.4
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: cffi in /usr/lib64/python3.11/site-packages (from cmsis-pack-manager==0.5.0) (1.15.1)
Requirement already satisfied: pyyaml<7.0,>=6.0 in /usr/lib64/python3.11/site-packages (from cmsis-pack-manager==0.5.0) (6.0)
Requirement already satisfied: pycparser in /usr/lib/python3.11/site-packages (from cffi->cmsis-pack-manager==0.5.0) (2.20)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.11/site-packages (from pycparser->cffi->cmsis-pack-manager==0.5.0) (3.11)
Building wheels for collected packages: cmsis-pack-manager
  Building wheel for cmsis-pack-manager (pyproject.toml) ... done
  Created wheel for cmsis-pack-manager: filename=cmsis_pack_manager-0.5.0-py3-none-linux_x86_64.whl size=3739428 sha256=774bf0d470b7f25b2ffe540a093ee8e0f74df30fbaa08d1716f45129fded66e4
  Stored in directory: /home/mbanducci/.cache/pip/wheels/36/fc/b2/1799e56fe913dedc539a78b08828ead292fbb3ea77e774a4f5
Successfully built cmsis-pack-manager
Installing collected packages: appdirs, cmsis-pack-manager
Successfully installed appdirs-1.4.4 cmsis-pack-manager-0.5.0


mousewheel+ctrl key do map zoom

Hi
I have an embedded map on a page. when I scroll page and reach to the map div, map zooms instead of scrolling page. I want to enable map zoom only by mouse wheel+ctrl key like google.
please  give me a right code.
Best Regards.

It's not too pretty but maybe there is a better way
`var i = new ol.interaction.MouseWheelZoom();
var oldFn = i.handleEvent;
i.handleEvent = function(e) {
var type = e.type;
if (type !== "wheel" && type !== "wheel" ) {
return true;
}
if (!e.originalEvent.altKey) {
return true
}
oldFn.call(this,e);
}
var map = new ol.Map({
interactions: ol.interaction.defaults({mouseWheelZoom: false}).extend([i]),
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
],
target: 'map',
view: new ol.View({
center: [0, 0],
zoom: 2
})
});`


Refactor json encoding and decoding

JSON values are getting serialized and deserialized in-line. This makes it difficult to catch problems with invalid JSON (such as a response with an empty body, or with a body that is invalid JSON). Refactor the generated code to wrap the serialization/deserialization process and return proper OneDriveErrors when an invalid value is returned.

Bump - I have been getting JSON errors a lot recently. Things like the below:
onedrivesdk.error.OneDriveError: malformed - The following invalid JSON was returned:
tyle type='text/css'>body {font-family:Arial; margin-left:40px; }img  { border:0 none; }#content { margin-left: auto; ma
rgin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message
p  { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 4
1px }OneDriveOur services aren't available r
ight nowWe're working to restore all services as soon as possible. Please check back soon.Ref A: 106DA54BC29E4340B334EDE899669B52 Ref B: AMS04EDGE0417 Ref C: 2018-04-30T19:57:06Z

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #209 for more information


Fix E2E Common Setup Now Its Wait For Cert manager (#3209)

/retest

OCF Webhook is merging this PR


Removing files after attaching them

Hi,
I have the same problem which explain in this thread :
http://groups.google.com/group/swiftmailer/browse_thread/thread/11d8787d047b56b0/1385c2a77f64c740?lnk=gst&q=attachment#1385c2a77f64c740
After attaching a file in a mail I can not remove the file after sending the mail.
An handle is still open in the file and so in windows it is not possible to delete a opened file.
And if i try to delete the file in another request it is work fine.
Best Regards
Original creation date: 2010-02-05T15:27:20Z
Original reporter: skelettor
Original ticket: http://swiftmailer.lighthouseapp.com/projects/21527/tickets/128

fixed here: 7b6d356c


[wallabag] new chart

Description of the change Wallabag
Benefits Wallabag
Possible drawbacks ...Wallabag?

[x] Title of the PR starts with chart name (e.g. [home-assistant])
[x] Chart is using our common library as a dependency.
[ ] (optional) Variables are documented in the README.md

Edit: removed TODOs; all either done or obsoleted.

Chart.yaml and values.yaml should be updated for consistency across the other charts.

Chart.yaml and values.yaml should be updated for consistency across the other charts.

Done, I think. Updated OWNERS and README too.


Documentation: data[rowIdx] is undefined when creating custom rows

Hello @imballinst ,
I found a problem that I missed during testing. When I render the rows using custom rows (see this sandbox, line 44 and 56, the checkbox will fail when I click them. After looking through the code, I found that adding rowIdx will fix the problem.
Suggested Solution
This only happens during customization so it should be up to the user to address it. However, it'd be great if there's a Intellisense warning from Typescript that rowIdx is required. Updating the code docs might be necessary since this only break when checkbox is clicked and rowIdx is not provided. If I don't have checkboxes, the rows are rendered fine. I'll leave it up to you on how best to handle this.
Current jsdoc with no rowIdx

hi @Thomas-Boi, thanks for catching it and for the suggestion! Yeah, I agree that the documentation of TableRow could be improved so it's consistent with the TypeScript typings. I forgot to add that prop to the JSDoc documentation 🤦
I'll work on it sometimes tonight or tomorrow.

This should be updated in the newest version 3.9.1. Details can be seen in this section: https://github.com/imballinst/react-bs-datatable/blob/v3.9.1/api/modules/components_TableBody.md#tablerow.
Let me know if you have more feedback. Thanks for the report!


Pinia does not appear to work with Vue 2.7

Reproduction
todo
Steps to reproduce the bug
Create a new vue project with 2.7 and add Pinia.
Expected behavior
Should be able to run vite dev without issues.
Actual behavior
Error: Build failed with 1 error:
node_modules/vue-demi/lib/index.mjs:2:30: ERROR: Could not resolve<EMAIL_ADDRESS>
  errors: [
    {
      detail: undefined,
      id: '',
      location: {
        column: 30,
        file: 'node_modules/vue-demi/lib/index.mjs',
        length: 51,
        line: 2,
        lineText: "import VueCompositionAPI from<EMAIL_ADDRESS>        namespace: '',
        suggestion: ''
      },
      notes: [
        {
          location: null,
          text: 'You can mark the path<EMAIL_ADDRESS>as external to exclude it from the bundle, which will remove this error.'
        }
      ],
      pluginName: '',
      text: 'Could not resolve<EMAIL_ADDRESS>    }
  ],
  warnings: []
}

Additional information
No response

Duplicate https://github.com/vuejs/pinia/issues/1417

Reopening because I actually still can't figure out what the correct path forward is.
Am I still required to manually include @vue/composition-api in my package.json if I'm using Pinia and Vue 2.7?


feat: Add hyperlink for assessments in Dates Tab

Description:

Update CourseDateBlock Model
Add Underline text decorations for clickable text
Navigate to Component Screen by tapping hyperlinks
Maintain stack of navigation

@volodymyr-chekyrta any update on the review of this PR?

@volodymyr-chekyrta any update on the review of this PR?

From what I understand, both @farhan-arshad-dev and @HamzaIsrar12 are yet to review the PR.
As previously dicscussed, it would be most efficient if my review will be the last one.

@HamzaIsrar12 is currently reviewing it


Add Additional Parameters to Python Script

right now the pyton script acceppts the following input parameters:
main.py file
python main.py --url image_url --model model_path
If possible i would like to be able to give the following additional input parameters:
python main.py --url image_url --model model_path --include-picture-with-boundingboxes --filter "car","person"  --min-confidence 0,2
--include-picture-with-boundingboxes (Switch | Optional Parameter)
this parameter should add, to the existing json output:
{
  ...
  "image-base64-encoded": "IMAGE BASE64 ENCODED HERE"
}

--filter (List of Strings | Optional Parameter)
this parameter should filter the output, and what is displayed on the --include-picture-with-boundingboxes only the opjects specified should be displayed there can be multiple (e.g. "car","person")or just one or even none. the script should output everything what it detects when this parameter is not given
--confidence NUMBER (Integer | Optional Parameter)
this parameter should filter the output, and what is displayed on the --include-picture-with-boundingboxes only objects with a given minimum confidence level between 0 and 1 (also e.g. 0,3 and so on) should be outputted in the JSON and on the --include-picture-with-boundingboxes

See feature/bounding-boxes branch. I updated the README to explain the additional optional args. It should be tested, the output base64 should be checked as an image to ensure it is correct, and additional changes to the other parts of the codebase that aren't python should be made.


Sparkline graphs when there isn't a lot of data

We can display in the graph the values for the last minute, but due to the scrape interval of the metrics we might only have 1 or 2 data points. This can make our sparkline graphs look confusing:

Is there a design convention for the sparklines where if there is less than a certain number then we present an message about insufficient data points to provide a graph?

I think "Insufficient data available." would make sense.  I'm checking with other designers to see if there are other suggestions.

Closing as out of date. We now show "Not enough traffic to generate chart." if this is the case.


Allow buttons to use react router

Proposal:
<Button useRouter href="route">Using React Router!</Button>

If an href and the useRouter attribute are present, then don't render an <a> tag, but instead use a <Link /> from the react-router library.

Or maybe, to prevent having to have nuik depend on React router, we can do this as a client:
import { Link } from 'react-router';
import { Button } from 'react-nuik';

return <Button useComponent={Link} href="route">Using React Router!</Button>

So in essence, pass the component to render instead of <a> or <button>.


Add a post install 'cleanup' for thirdparty dependencies

This is basically a revert of #12972 and it is similar of #12940 but instead of using npm from toplevel it uses the one in src.
After this, node dependencies should be added to the toplevel package.json, browser dependencies should be added to the package.json in src.
The copy:thirdparty grunt task should be used to filter the file we need in the browser.
I'm not particular happy with this, but using npm directly add a lot of files we don't need that will end in the final bundle.

Sorry, I was busy and couldn't give this closer look, looks good. Merging

No problem, thank you :smile:


Add mask check for repaint efficiency unconditional sampling

@AlejandroSantorum still looking at repaint, and in the case, that there is no mask during sampling, there should also not be a resampling loop right? So for a bit faster sampling procedure, when not doing inpainting, but just generating unconditional samplings I feel like adding the check makes sense, but happy to hear what you think.

Hey @nilsleh, thanks for tagging me. I'm still studying the RePaint model.
I think you are absolutely right: the original authors of RePaint propose the resampling technique to to harmonize the inpainted region with the known (ground-truth) part, therefore you require an inpainting mask.
Nice job 👍

Yeah, I think in the case that you do not supply a mask, the sampling procedure should revert to be like the standard diffusion model, so no need for the resampling loop I suppose.


Update docs to use functional color variables

This PR updates the documentation to remove references to old color values.
It also updates some language to make the language around colors more functional and less specific to a particular theme. This work is concentrated in the commit d204e73.
There are a few area's that still need attention, putting some notes on this one.
Part of https://github.com/primer/components/issues/1108

yeah, much nicer!


Native Dependency : robotjs .node is not a valid Win32 application

Issue Details

Electron Forge Version:
6.0.0-beta.57
Electron Version:
v13.1.6
Operating System:
Window 10

Expected Behavior
When running npm start I expect robotjs to be accessible to my code.
Actual Behavior
Start process fails with error
App threw an error during load
Error: node-loader:
Error: C:\Users\e-forge-app\.webpack\main\8e2bf6099da73c62459c4546d7c904af.node is not a valid Win32 application.
C:\Users\e-forge-app\.webpack\main\8e2bf6099da73c62459c4546d7c904af.node
    at Object../node_modules/robotjs/build/Release/robotjs.node (C:\Users\e-forge-app\.webpack\main\index.js:18862:9)
    at __webpack_require__ (C:\Users\e-forge-app\.webpack\main\index.js:18965:42)
    at Object../node_modules/robotjs/index.js (C:\Users\e-forge-app\.webpack\main\index.js:18323:15)
    at __webpack_require__ (C:\Users\e-forge-app\.webpack\main\index.js:18965:42)
    at Module../src/app/mouse-warp.js (C:\Users\e-forge-app\.webpack\main\index.js:18674:65)
    at __webpack_require__ (C:\Users\e-forge-app\.webpack\main\index.js:18965:42)
    at Module../src/app/engine.js (C:\Users\e-forge-app\.webpack\main\index.js:18576:69)
    at __webpack_require__ (C:\Users\e-forge-app\.webpack\main\index.js:18965:42)
    at C:\Users\e-forge-app\.webpack\main\index.js:19056:16
    at C:\Users\e-forge-app\.webpack\main\index.js:19095:3

To Reproduce

npx electron-forge e-forge-app --template=typescript-webpack
npm i robotjs
Add import to entry file import robotjs from "robotjs";
Use it in the code robotjs.moveMouse(500, 500);
App errors out with the above msg

Additional Information
Before I used electron-forge I ran electron ./main.js sometimes it failed and I had to do a npm rebuild on robotjs to allow it to function.
Performing a rebuild in the electron-forge template doesn't seem to help. Maybe it rebuilds it itself?

I had a similar issue; it's due to webpack (or a loader) mangling the binary file (verified by comparing the Windows PE header of the working native module and the hash-named *.node webpack output). To circumvent the issue, I added @timfish/forge-externals-plugin to electron-forge's plugins array in package.json, then I marked the modules as external in my webpack.renderer.cofig.js (since I'm using them from a preload script). Then, in my webpack.rules.js file, I commented out the node-loader entry and added:
{
    test: /\.(m?js|node)$/,
    parser: { amd: false },
    use: {
      loader: '@vercel/webpack-asset-relocator-loader',
      options: {
        outputAssetBase: 'native_modules',
      },
    },
  }

If you generated your project with a recent version of electron forge, this may already be there. It's a workaround, but hopefully that helps get you going.

The vercel loader is used in recent betas of Electron Forge.
Closing since there's a solution here. Unfortunately, we can't accommodate every single native module dependency with the default config, we can only make it work for the majority of cases.

@nicktramp what is the plugins array in package json?

@davidakerr have u found the way to integrate robotjs with electron forge?

@DannyPark1 It's been awhile, but I'm quite sure I was referencing the the entry in the modules package.json used by Webpack & Electron Forge, as documented here.


Using internal sourcesJar task with gradle 7.2 and java>8 with modules prints deprecations warnings

Java version: 16
gradle version: 7.2
build.gradle code
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
deprecation warnings:
Execution optimizations have been disabled for task ':sourcesJar' to ensure correctness due to the following reasons:

Gradle detected a problem with the following location: '../build/classes/module-info'. Reason: Task ':sourcesJar' uses this output of task ':compileModuleInfoJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Gradle detected a problem with the following location: '../build/classes/module-info'. Reason: Task ':sourcesJar' uses this output of task ':compileModuleInfoJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.2/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

Using
java {
withSourcesJar()
withJavadocJar()
}
leads to the same exact error/warning. Nothing changed.
Execution optimizations have been disabled for task ':sourcesJar' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: 'xx/build/classes/module-info'. Reason: Task ':sourcesJar' uses this output of task ':compileModuleInfoJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Gradle detected a problem with the following location: 'xx/build/classes/module-info'. Reason: Task ':sourcesJar' uses this output of task ':compileModuleInfoJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.2/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

Thank you for your interest in Gradle!
This issue lacks information and/or a reproducer to track down the problem. Unless you provide that information over the next 7 days, this issue will be closed.

For investigating this, we need a full reproducer to understand why Gradle complains.

Do you mean you need a complete project?

Yes.

Sorry for the late reply.
This issue is no longer relevant for newer versions of Gradle. It fails with a proper error with Gradle 8.2 now. Most probably it was caused by a modularity plugin, org.javamodularity.moduleplugin. The reason behind this error is that all outputs to sources should be registered.
Please open a new issue if you still have problems with Gradle 8.0+ and you can confirm it is not caused by the plugin.
See also this issue:

https://github.com/java9-modularity/gradle-modules-plugin/issues/220


Add support for alert labels

This patch adds support for a new label virtual column in the
MiqAlertStatus class. This new column will be an array of
MiqAlertStatusLabel objects. The column will not be persisted to the
database, but calculated by the providers that support it. This is
mostly intended to support the label concept used by Prometheus
alerts.
Fixes https://bugzilla.redhat.com/1520125

@jhernand this whole thing seems a bit strange

using virtual_columns instead of real models just in case it might get backported is backwards, lets do it right first then worry about backporting it.
parsing the event full_data ref everytime is going to be expensive, why not parse the labels when the events are saved, have a :has_many :events on this miq_alert_status model then get the labels through events?

We have decided to stop working on this feature.


content test: Deduplicate ad hoc content-preparing code

This PR makes it so all our tests of Zulip content widgets go through prepareContentBare, which has grown some explicit params that let callers opt in to extra dependencies, such as a PerAccountStoreWidget ancestor. With this, I have two benefits in mind:

As Zulip content widgets gain natural dependencies (such as a ThemeExtension for custom light- and dark-theme colors), we can provide them easily, by just adding to this one function.
It will be more obvious when a content widget has "extra" dependencies that will become problematic with #488.

Related: #95
Related: #488

I'm not sure if prepareContentBare is still a good name for this function. There are still some functions called prepareContent left in the file, but they all call prepareContentBare.

That makes defaultTextStyleOverride (and wrapWithScaffold) entirely unnecessary too — the caller can easily wrap the result of plainContent or messageContent in whatever other widgets it needs.

Are you also thinking that callers would also provide their own PerAccountStoreWidget? By centralizing things (with wrapWithPerAccountStoreWidget being an important example), I'm hoping to encourage thinking systematically about the content widgets' dependencies as the widgets develop. If callers have the flexibility to add whatever widgets they need, I wonder if that purpose is kind of defeated. Some dependencies will end up being problematic for #488, right, and I think it'll help if those dependencies are few and well-defined, with names like wrapWithPerAccountStoreWidget. This should help simplify the widgets' migration path toward #488.
A DefaultTextStyle ancestor shouldn't be a problematic dependency for #488. But it is still a dependency, of the vast majority of our content widgets (setting text color as the design specifies), so it seemed helpful to centralize that too, as long as we're thinking systematically about dependencies. It's true that one test wants to fiddle with that DefaultTextStyle, and I guess it's annoying to have a param that's only used that once. But it seemed an OK tradeoff.

I see. From a #488 perspective, I think the only particularly problematic dependency is MessageContent. So we'll be able to find those with the messageContent helper, or for that matter directly.
Using PerAccountStoreWidget is fine and normal for widgets across most of our UI, everything that's not somewhere independent of any realm. Even with #488, content is still specific to a realm, just not one we're logged into — I expect a realm description can have relative links, which are to be interpreted relative to the realm URL.
So when we go to handle #488, we'll need to invent a new abstraction that allows getting a realm URL without a full-blown PerAccountStore (or even Account), and then we'll migrate a bunch of content widgets to use that. Probably we'll move PerAccountStore.tryResolveUrl to live on that abstraction. I think it'll be pretty straightforward at that point to find the spots that need to be migrated — mostly just look for PerAccountStoreWidget.of in lib/widgets/content.dart. In any case that abstraction doesn't exist yet, so PerAccountStoreWidget is exactly what the content widgets should be using at present.
The wrapWithPerAccountStoreWidget is handling a few more lines of code than most of the others, and it's something a lot of the call sites need. So for that reason I think it basically pulls its weight as a feature of this prepare function, and I don't mind having it there.

I expect a realm description can have relative links, which are to be interpreted relative to the realm URL.

Yeah, that's probably true.

So when we go to handle #488, we'll need to invent a new abstraction that allows getting a realm URL without a full-blown PerAccountStore (or even Account), and then we'll migrate a bunch of content widgets to use that.

Makes sense.
When we render links that are narrow links, we depend on other data too—about streams, the self-user ID, maybe data on other users (for DM links), maybe message-move history (not sure). We'll want to make sure all that data gets used when we have it, while not crashing in the realm-description context when we won't have it. A nice extra touch in that context would be an error dialog specific to narrow links, saying that they can't be opened in the normal way.
When we render some image previews and (with #530) some video previews, we expect the user's auth credential, so we can request a protected resource on the org's server. Same for image emoji. So for these elements, we'll want the auth credential to get used when we have it, but we shouldn't crash when we don't have it.
This might not change our calculations, but I wanted to point out that we have more to do than just replacing the PerAccountStoreWidget dependency with a dependency on just the realm URL.

True. I think those will also be pretty straightforward to deal with when we get to #488, though. In particular they'll both come up when we search lib/widgets/content.dart for PerAccountStoreWidget.of.

When we render links that are narrow links, we depend on other data too—about streams, the self-user ID, […]

(Only when we try to open them, not render them in the first place, right? Though it doesn't change the overall point here.)

Thanks for the review! Revision pushed.

(Just updated to add a few small code comments.)

Thanks! Looks good; merging.


fix: unwrap queryKey in queryFn for overloads

Closes: https://github.com/TanStack/query/issues/4387

Codecov Report
Base: 96.36% // Head: 92.27% // Decreases project coverage by -4.08% :warning:

Coverage data is based on head (02272e6) compared to base (eab6e2c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4410      +/-   ##
==========================================
- Coverage   96.36%   92.27%   -4.09%
==========================================
  Files          45       87      +42
  Lines        2281     3561    +1280
  Branches      640      902     +262
==========================================
+ Hits         2198     3286    +1088
- Misses         80      259     +179
- Partials        3       16      +13

Impacted Files
Coverage Δ

src/react/logger.native.ts

src/devtools/useMediaQuery.ts

src/react/useQueries.ts

src/core/hydration.ts

src/core/queryClient.ts

src/devtools/Logo.tsx

src/core/mutationObserver.ts

src/devtools/utils.ts

src/core/logger.ts

src/react/Hydrate.tsx

... and 122 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


End Date time is wrong

Hi,
The end date time is the last day @ 00:00:00 instead of 23:59:59 and counts for that reason not correct.
If i need to provider more info please let me know. (totally new with this)
Thanks!

hi, thanks for your feedback, but it's not fully clear what you mean.
Could this be related to mobile sensor, the "period_end" attribute? This is the data coming from Telenet "nextbillingdate". Maybe I can just substract one day?
Could you share an example? I don't have a mobile subscription myself so not fully clear what's shown currently..

Hi,
yes, period_end is the one. To me it seems the V2 is adding a time which is 00:00:00 (beginning of the day) but should have 23:59:59 otherwise you lose a whole day or you should add a day so my period_end is 22-12-2023

My next period_start will be 22-12-2023 00:00:00
this period_end is                 21-12-2023 00:00:00 (there is a whole day between period_end and next period_start
proposal for period_end      21-12-2023 23:59:59
i also had to hash out a wifree line @ line 358 otherwise the integration had issues parsing the data.

Telenet has stopped that service
https://www2.telenet.be/residential/nl/klantenservice/internet/meer-over-je-internet/stopzetting-telenet-wi-free
If needed i create a new issue for that, just let me know :)

could you check if R1.5.2 is fixing your needs?

Hi, looks OK! thanks!


GATK (3) version queried repeatedly

I've noticed by chance that when the pipeline is in the "testing minimum version of installed programs", there are repeated calls to the GATK version (this is at least with tools_off: [gatk4], each time with slightly different parameters, e.g.:
/opt/bcbio/anaconda/bin/java -Xms512m -Xmx1g -jar /opt/bcbio/anaconda/opt/gatk-3.8/GenomeAnalysisTK.jar --version
/opt/bcbio/anaconda/bin/java -Xms128m -Xmx256m -XX:+UseSerialGC -jar /opt/bcbio/anaconda/opt/gatk-3.8/GenomeAnalysisTK.jar -version

Should this be consolidated (given that the answer is always the same, unless something else is being tested)?

The reason lies in https://github.com/chapmanb/bcbio-nextgen/blob/38301f71f35f64725184a5c6306ca828e2191442/bcbio/provenance/versioncheck.py#L57:
_needs_java is queried for every item in the list, which means that a new process is spawned. In my case, where I have 70+ items, this means that this dance can take up to 15 minutes.

Luca;
Thanks for identifying this issue and the underlying problem. At ths point I think we're safe skipping this sanity check as we're causing a lot of extra work for a rare case that users will probably already have their systems setup for. I pushed a fix to do this which hopefully resolves the extreme delay for you:
https://github.com/chapmanb/bcbio-nextgen/commit/715e2eab3f074cea2d974ebf662db6b093e1f0ac
Please let us know if you run into any other issues.


Resolve error: typescript with invalid interface loaded as resolver

I have a monorepo setup which includes a eslint-config package, which uses eslint-plugin-import. This periodically gives me grief with the first import word being highlighted as red on my editor, with the message:

Resolve error: typescript with invalid interface loaded as resolver

I've had this error before and I always dug into changing the plugin's settings, making it disappear, only for it to appear again after I run yarn or deleting node_modules folders across the repos.
This is what my configuration looks like:
module.exports = {
  extends: ['turbo', 'plugin:import/typescript', 'react-app', 'prettier'],
  plugins: ['prettier'],
  settings: {
    'import/parsers': {
      '@typescript-eslint/parser': ['.ts', '.tsx'],
    },
    'import/resolver': {
      typescript: true,
      node: {
        extensions: ['.js', '.jsx', '.ts', '.tsx'],
      },
    },
  },
  rules: {
    'import/order': [
      'error',
      {
        'newlines-between': 'never',
        pathGroups: [
          {
            pattern: '@/**',
            group: 'internal',
            position: 'after',
          },
        ],
      },
    ],
};

At this point I'm starting to believe this is a bug in the plugin, but hopefully, you can advise on how to proceed.

You should be extending plugin:import/config/typescript instead of specifying the typescript resolver yourself. If you do that, does it work?

@ljharb I have had the before, when I configured the settings based on the docs. I had the same problem.

Does it happen on the command line, or only in your editor? Editors often have to be quit and reopened whenever anything in node_modules changes.

It happens in the command line, when I run eslint

Hi!
I also stumble into this issue and haven't been able to solve it.
I have a reproduction repo : https://github.com/snowball-tech/glacier/tree/repro-2768 (make sure to use the repro-2768 branch).
This repo is using Yarn 3 PnP mode and is a monorepo.
If you in you terminal in packages/utils and run yarn lint, you will see a lot of

Resolve error: typescript with invalid interface loaded as resolver

Here is a screenshot of the output I have on my side

As soon as I remove the typescript setting of the resolver, this error disappears but then I cannot enjoy the proper resolution of paths set in a tsconfig.json file.
Could you help me on that 🙏🏻

@clementprevot problems with PnP mode are expected since it breaks the node resolution algorithm, and the node or typescript resolvers may not support it. What happens if you disable PnP?

To be honest I haven't tried disable PnP because it's so nice and works pretty well.
This is the only thing I didn't managed to get to work so I can definitely live without

I found that the issue was caused by the missing installation of eslint-import-resolver-typescript.

I found that the issue was caused by the missing installation of eslint-import-resolver-typescript.

Installing eslint-import-resolver-typescript solved my problem.

I found that the issue was caused by the missing installation of eslint-import-resolver-typescript.

Thanks!!!!


Add reference submission experiment for scoring

The scoring procedure requires some reference submission to calculate tao.
If the user does not pass in a reference submission the output of the scoring profile and scoring profile table is useless.
To address this we should:

Add reference submission as a flag to score_submission.py and pass that through to the compute_performance_profile functions in scoring.py.
Clearly document in scoring.py and score_submission.py that the output of the scoring profile will be useless without a reference submission OR make the reference submission a required arg.
Check in an example experiment directory containing eval_measurements.csv files. This could be synthetic but it has to match the expected directory structure (in the experiment_dir have 8 workloads containing 5 trials each). So this would be a total of 40 eval_measurements.csv files.

Checked in prize_qualification baselines for external_tuning and self_tuning rulesets in algorithmic_efficiency/prize_qualification_baselines.


Task :react-native-code-push:compileReleaseJavaWithJavac FAILED

Describe the bug
Cannot build with react-native-code-push.
This only happened after I installed Detox. Before everything worked fine
the same happened here
> Task :react-native-code-push:compileReleaseJavaWithJavac FAILED
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java:14: error: package com.facebook.react.devsupport.interfaces does not exist
import com.facebook.react.devsupport.interfaces.DevSupportManager;
                                               ^
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:10: error: cannot find symbol
import com.facebook.react.ReactApplication;
                         ^
  symbol:   class ReactApplication
  location: package com.facebook.react
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:22: error: cannot find symbol
import com.facebook.react.modules.core.ChoreographerCompat;
                                      ^
  symbol:   class ChoreographerCompat
  location: package com.facebook.react.modules.core
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:24: error: cannot find symbol
import com.facebook.react.modules.core.ReactChoreographer;
                                      ^
  symbol:   class ReactChoreographer
  location: package com.facebook.react.modules.core
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java:153: error: cannot find symbol
            DevSupportManager devSupportManager = instanceManager.getDevSupportManager();
            ^
  symbol:   class DevSupportManager
  location: class CodePush
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:105: error: cannot find symbol
                latestJSBundleLoader = JSBundleLoader.createAssetLoader(getReactApplicationContext(), latestJSBundleFile, false);
                                                     ^
  symbol:   method createAssetLoader(ReactApplicationContext,String,boolean)
  location: class JSBundleLoader
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:107: error: method createFileLoader in class JSBundleLoader cannot be applied to given types;
                latestJSBundleLoader = JSBundleLoader.createFileLoader(latestJSBundleFile);
                                                     ^
  required: Context,String
  found: String
  reason: actual and formal argument lists differ in length
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:151: error: cannot find symbol
                        instanceManager.recreateReactContextInBackground();
                                       ^
  symbol:   method recreateReactContextInBackground()
  location: variable instanceManager of type ReactInstanceManager
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:203: error: cannot find symbol
        ReactApplication reactApplication = (ReactApplication) currentActivity.getApplication();
        ^
  symbol:   class ReactApplication
  location: class CodePushNativeModule
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:203: error: cannot find symbol
        ReactApplication reactApplication = (ReactApplication) currentActivity.getApplication();
                                             ^
  symbol:   class ReactApplication
  location: class CodePushNativeModule
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:242: error: package ReactChoreographer does not exist
                                    ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() {
                                                                                ^
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:242: error: package ChoreographerCompat does not exist
                                    ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() {
                                                                                ^
/Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:242: error: cannot find symbol
                                    ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() {
                                    ^
  symbol: variable ReactChoreographer
Note: /Users/agendaedu/Desktop/enviiiar/agendaedu-mobile/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
13 errors
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/auth' depends on '@react-native-firebase/app' v8.2.0 but found v8.0.0, this might cause build issues or runtime crashes.
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-code-push:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6m 41s
384 actionable tasks: 384 executed
detox[19074] WARN:  [build.js]

Important: 'detox build' is a convenience shortcut for calling your own build command, as provided in the config file.
Failures in this build command are not the responsibility of Detox. You are responsible for maintaining this command.

detox[19074] ERROR: [cli.js] Command failed: mkdir -p android/app/build/generated/res/react/staging android/app/build/generated/assets/react/staging && yarn react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/build/generated/assets/react/staging/index.android.bundle --assets-dest android/app/build/generated/res/react/staging && cd android && ./gradlew assembleStaging -x bundleStagingJsAndAssets -DtestBuildType=debug

error Command failed with exit code 1.

Steps To Reproduce

[x] I have tested this issue on the latest Detox release and it still reproduces

Add and configure code push
Add and configure detox
Try to build

Expected behavior

Detox Trace-Logs

Device logs (adb logcat)

Screenshots

Environment (please complete the following information):

Detox: 18.20.1
React Native: 0.64.2
Node: 14.16.1
Device: Android
OS: MacOS BigSur
Test-runner (select one): jest-circus

@thejoaov could you please explain what the steps you took in order to add code-push to your project?
Or better yet, try to apply them over the DetoxTemplate project?

Hi @d4vidi
I think @LeonardodeLima could explain better


Fixes issue with zero-indexing in inversion module

This small fix to the inversion (indices start with zero instead of 1) seems to solve some of the issues with reproducibility in parallel.

Well spotted!


Remove version: RossCarlson.vPilot version 3.5.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

/azp run

URL: https://vpilot.rossCarlson.dev/Assets/Files/Installers/vPilot-Setup-3.5.2.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 886)

For moderators or/and anyone else

[!Caution]
As a result of several personal problems I've had over the last few months + my final exams coming up very soon, I'm currently unable to look at my GitHub notifications every day and maintain my executions correctly.
If you detect a certain problem on a certain pul request:

Either you can close the pull request directly without mentioning me.
Or you can send me a message on X (Twitter): @Exorcism0666

Thank you for your understanding, and I'm sorry if some pull requests can't be approved due to the situation I'm in.

This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

/azp run

https://github.com/microsoft/winget-pkgs/issues/142854


Edit CSS of Status pages

⚠ Please verify that this bug has NOT been raised before.

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

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hello!
I set a Image in the background and want to set the boxes a transparence efect:
What i found are two places whre the colour ist set in the CSS files - i use the dark theme.
src/assets/vars.scss and src/pages/StatusPage.vue i want to change the colour #0d1117 to #0d1117d1
I used the Web tools in FF and Github search to find the values where to change, but the fields stay black - when i set it in the view unter custom css like the wallpaper the change was just temporary.
I clear after every change the brower cache and try additionaolly via Opera.
.dark .shadow-box[data-v-3042fc32] {
background-color: #0d1117d1;
}
The Uptime Kuma is installed in Docker for windows and the newest version.
Thank you in advance for you tips!

how i want the Transparency

How it is now
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.0
💻 Operating System and Arch
Docker for Windows
🌐 Browser
Firefox,Edge,Opera
🐋 Docker Version
v4.22.0
🟩 NodeJS Version
No response

Try
.dark .shadow-box[data-v-3042fc32] {
    background-color: rgba(13, 17, 23, 0.4);
}

instead of
.dark .shadow-box[data-v-3042fc32] {
    background-color: #0d1117d1;
}

@Akashsingh310 you should not update that file; instead add it as Custom CSS on each page...
Or it will create a conflict when you update your kuma to latest version 😅

@imkuroneko Got it, thanks for the heads up! I'll refrain from updating that file directly and will utilize Custom CSS per page. Appreciate the advice to avoid conflicts. 😄👍

@imkuroneko Thank you! When i reverse se settings the update should be not a problem again or is the file still marked as tampered?
i have just a test setup i would just reinstall it to be shure and import the settings again.

When i reverse se settings the update should be not a problem again or is the file still marked as tampered?

With neither the native installation, nor via docker this should be a problem, as both just pull the files.
We currently don't have any tamper-protection

Also note that targeting data-v-... properties ma be unstable across releases.
I would recommend targeting .overall-status instead


From<u8, u16, u32> for u64 implementations

Description
Adds implementations for From, From, From for u64
Partially addresses #5797
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).

[ ] If my change requires substantial documentation changes, I have requested support from the DevRel team

[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

N.B.: don't use "partially closes X" in issue descriptions, Github isn't smart enough to figure out the "partially" and will enable the autoclose.
If you just want it to be linked, use different vocabulary, such as "partially addresses".

N.B.: don't use "partially closes X" in issue descriptions, Github isn't smart enough to figure out the "partially" and will enable the autoclose.
If you just want it to be linked, use different vocabulary, such as "partially addresses".

Thanks for the tip!


Don't show the Results List if there's nothing to show yet

This is causing a blank box to appear under the search box when you click into it; this PR fixes it.
Before:

After:

See Search Results in obtainable-excessive-salary.glitch.me for a demo.

:rocket: PR was released in v0.19.0 :rocket:


Adapting to last versions of Arango and Python-Arango

The ArangoClient connection is now independent from the database authentication.

That's it ! Authentication is made when connecting to a domain/database and database functions are called on the system database.


Add inline query results for other days

Currently, only an inline query result for the current day is shown. Extending this to the other days of the week would be nice to have. The Mensaar website usually only shows the mealplans for the current week and often removes the mealplans for days at the beginning of the week.
On Thursday, this inline query results could look something like this
Donnerstag (heute)
Freitag
Montag (vergangen)
Dienstag (vergangen)
Mittwoch (vergangen)

This was done in #15.


Support ctypes as C module type

https://github.com/pikasTech/pikascript/commit/be4caeee45bc7adfdef57f14dea7706f923f848c


Remove the redundant _ from the variable

https://github.com/rmrk-team/evm/blob/31b092cd32a68e32ca79f361199d500aeca5db98/contracts/implementations/RMRKBaseStorageImpl.sol#L19
The type_ variable has two _ characters. This seems redundant and could be removed.
So in short:
type__ => type_

The problem in this case is that there methods named symbol and type_ for the getters, so we get a warning of shadowing an existing declaration.

What if we renamed it then? Maybe to baseType_? This shouldn't impact any contracts importing it, so it would just make the variable easier to read.

The getter was renamed in the end and we made sure only mandatory trailing scores were left.


acffeature.cpp possible array index overflow

        // If angle == 180, prevent index overflow
        if (ind == 6)
            ind = 5;

When I am running this code, i get ind = 11, so should we change the if condition to if(ind >= 6) ?

No, you get ind = 11 because angle = 330 but it should be 0 < angle < 180. Have you the latest version with  https://github.com/Itseez/opencv_contrib/commit/d76b976012cf47eb90720b1cd6a06fa664f20425#diff-64782f0669713a552a2e3c9c2f61524c
?

Thanks for your information. My is something like this:
      float angle = angles(row, col);
      if (angle < 0)
        angle += 180;
      int ind = (int)(angle / 30);

So this issue is closed.


chore: upgrade to Rust 1.74.0

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

PTAL, @dsherret


Implement the call feature in driver and coordinator cards inside the student app.

closed this issue,,
install below plugins to work
ionic cordova plugin add call-number
npm install --save @ionic-native/call-number