List LVM partitions properly to allow detection of recovery on arm

One way to fix: https://github.com/kairos-io/kairos/issues/1486
Alternatively we could fix ghw to work with lvm (see issue for more).

This is a draft. If we like this solution (even temporarily until we upstream a ghw fix), we should move it to the kairos-sdk as a reusable library. This way it can be used here as well: https://github.com/kairos-io/kairos-sdk/pull/28/files#diff-ad95c17c31b539a3e385a23d86bbecf4d8a925ba6679aec2e66b5202ba4c4f81R167

I'm not sure we should spend more time moving this to a generic implementation before we try to fix it on ghw. If we decide that an upstream ghw solution isn't possible, maybe we re-think about it. I opened this one for review.

tests need fixing. back to "in progress".

Codecov Report

Merging #60 (3d4f9f8) into main (ed37239) will increase coverage by 0.23%.
The diff coverage is 87.50%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   57.11%   57.35%   +0.23%
==========================================
  Files          40       40
  Lines        4773     4795      +22
==========================================
+ Hits         2726     2750      +24
+ Misses       1834     1830       -4
- Partials      213      215       +2

Impacted Files
Coverage Δ

pkg/elementalConfig/config.go
54.10% <50.00%> (-3.36%)
:arrow_down:

pkg/utils/common.go
77.34% <50.00%> (+0.82%)
:arrow_up:

pkg/utils/getpartitions.go
57.44% <92.50%> (+13.00%)
:arrow_up:

pkg/cloudinit/layout_plugin.go
86.56% <100.00%> (ø)

pkg/elemental/elemental.go
82.25% <100.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update CapsuleVsCapsuleAlgorithm.cpp

Hi,
I restored previous change on CapsuleVsCapsuleAlgorithm, in the last weeks I get a lot of assert failure on
assert((isTrigger && narrowPhaseInfoBatch.narrowPhaseInfos[i].nbContactPoints == 0) ||
(!isTrigger && narrowPhaseInfoBatch.narrowPhaseInfos[i].nbContactPoints > 0));
CollisionDetectionSystem::processPotentialContacts() line 1243
With this change I don't have this error.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.95%. Comparing base (5807924) to head (b508b87).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #392   +/-   ##
=======================================
  Coverage   55.95%   55.95%
=======================================
  Files         182      182
  Lines       13129    13127    -2
  Branches     1172     1171    -1
=======================================
- Hits         7346     7345    -1
+ Misses       5783     5782    -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks a lot for your pull request. I have merged it into the develop branch. This will be available in the next release of the library.

This is now part of the last released version of the library. Thanks for your pull request.


Error when trying to launch spyder from macOS Hight Sierra

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
error when trying to launch spyder from macOS Hight Sierra, the terminal gives me that message:
Intel MKL FATAL ERROR: This system does not meet the minimum requirements for use of the Intel(R) Math Kernel Library.
The processor must support the Intel(R) Supplemental Streaming SIMD Extensions 3 (Intel(R) SSSE3) instructions.
The processor must support the Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) instructions.
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

Intel MKL FATAL ERROR: This system does not meet the minimum requirements for use of the Intel(R) Math Kernel Library.
The processor must support the Intel(R) Supplemental Streaming SIMD Extensions 3 (Intel(R) SSSE3) instructions.
The processor must support the Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) instructions.
## Versions
<!--- You can get this information from Help > About Spyder...
or (if Spyder won't launch) the "conda list" command
from the Anaconda Prompt/Terminal/command line. --->

* Spyder version: 4.2.5
* Python version: 3.8.8
* Qt version:
* PyQt version:
* Operating System name/version: MacOs Hight Sierra 10.13.6

### Dependencies
<!--- Please go to the menu entry Help > Dependencies,
press the Copy to clipboard button and paste below --->

PASTE DEPENDENCIES HERE

Hey @iseatech, thanks for reporting. It seems Anaconda doesn't support High Sierra anymore (as the message you posted indicates) and there's nothing we can do in Spyder about it. I guess it's time to update to Mojave or Catalina.


Option to conditionally display Cancel button.

I have scenarios where i don't want user to cancel and has to hit OK.

Implemented in 2.1.0, thanks for the request! 😄

Thanks!!


RequestLocalizationMiddleware should use CultureInfo.Parent to walk down the hierarchy

As #2634 and here, RequestLocalizationMiddleware should use CultureInfo.Parent to walk down the hierarchy (as @ryanbrandenburg commented).
But the RequestLocalizationMiddleware just uses a simple string manipulation (see codes below).
https://github.com/aspnet/AspNetCore/blob/23596349092f69890c3efe5b8b9005856cc83db2/src/Middleware/Localization/src/RequestLocalizationMiddleware.cs#L213-L224
@yufeih reported the same issue here

@kinosang Thanks for contacting us.
@ryanbrandenburg Do you have any comments here?

I think we already handle something similar to this on OrchardCore, let me handle this one

Given https://github.com/aspnet/AspNetCore/pull/14964#issuecomment-561772063 we're going to close this. For now our recommendation for anyone having trouble with this is that they include any descendent/more specific cultures explicitly in their SupportedCultures.

Ok


Update Creating-a-Crew-and-kick-it-off.md: add compatible python versions

Add compatible python versions will hopefully prevent help requests.

Good catch, updated tot he right versions :) merging


HHH-14660 Deprecate component mappings with different attributes for the same class

https://hibernate.atlassian.net/browse/HHH-14660

LGTM except for the DeprecationLogger comment


dnsproxy rules in ciliumclusterwidenetworkpolicy does not respect the endpointselector

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When deploying this ciliumclusterwidenetworkpolicy :
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
  name: sncf-allow-on-all-to-dns
spec:
  endpointSelector:
    matchExpressions:
      - key: "k8s-app"
        operator: "NotIn"
        values:
        - kube-dns
        - node-local-dns
      - key: "io.kubernetes.pod.namespace"
        operator: "NotIn"
        values:
        - "kube-system"
  egress:
  - toEndpoints:
    - matchLabels:
        k8s:io.kubernetes.pod.namespace: kube-system
        k8s:k8s-app: node-local-dns
    toPorts:
    - ports:
      - port: "53"
        protocol: TCP
      - port: "53"
        protocol: UDP
      rules:
        dns:
        - matchPattern: '*'
  - toEndpoints:
    - matchLabels:
        k8s:io.kubernetes.pod.namespace: kube-system
        k8s:k8s-app: kube-dns
    toPorts:
    - ports:
      - port: "53"
        protocol: TCP
      - port: "53"
        protocol: UDP
      rules:
        dns:
        - matchPattern: '*'

A pod inside the 'kube-system' namespace other than 'kube-dns' or 'node-local-dns' can resolve 'github.com'. But cillium/hubble doesn't see the 'dns-request proxy' event between the pod and node-local-dns. And therefore, the toFQDNs netpol feature doesn't work.
The same netpol without this part :
      - key: "io.kubernetes.pod.namespace"
        operator: "NotIn"
        values:
        - "kube-system"

allow cilium/hubble to see the missing event, fixing the problem.
I thought that 'endpointselector' worked the same with dnsproxy or with the firewall. Am I wrong?
Cilium Version
1.15.2
Kernel Version
6.1.90
Kubernetes Version
v1.29.1-eks-61c0bbb
Regression
No response
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Cilium Users Document

[X] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[X] I agree to follow this project's Code of Conduct

According to the docs, multiple elements inside a matchExpressions are handled as an AND and not an OR.
https://docs.cilium.io/en/latest/security/policy/kubernetes/#match-expressions

Thanks @christarazi  :)
So why does the ANDed way seems to work only with the firewalling part of the netpol, and not with the DNS observability?
According to my first netpol :
A pod (other than node-local-dns) in the kube-system namespace should reach the endpoints in the egress (node-local-dns) -> it works => the matchexpression follow the ANDed way
But the DNS observability between this pod and node-local-dns doesn't show the dns-request event, even if the DNS resolution between them works fine.
Is this the normal behaviour?

According to my first netpol :
A pod (other than node-local-dns) in the kube-system namespace should reach the endpoints in > the egress (node-local-dns) -> it works => the matchexpression follow the ANDed way
But the DNS observability between this pod and node-local-dns doesn't show the dns-request event, even if the DNS resolution between them works fine.

Not quite. The policy doesn't select Pods in the kube-system namespace at all. The following snippet can be interpreted as "Apply the later egress/ingress rules to all Pod that are not kube-dns, not node-local dns, AND not in kube-system namespace".
  endpointSelector:
    matchExpressions:
      - key: "k8s-app"
        operator: "NotIn"
        values:
        - kube-dns
        - node-local-dns
      - key: "io.kubernetes.pod.namespace"
        operator: "NotIn"
        values:
        - "kube-system"

If the DNS requests for apps in kube-system are working at all, then that is either because you have another policy allowing that traffic, or no policy at all for those Pods.

Thanks for the report, but this looks like expected behaviour of the policy engine. Closing.


Fix tight text in main page

In some resolutions the 'user guide' text in main page looks very tight.

Thanks @vxcamiloxv!


redo section titles (copy)

Acceptance criteria
Each section title should be about ~15 characters (avg)
Don't use questions
Input into Coda

What are the main categories of technical alignment research? -> Categories of technical alignment
What models and predictions have been made about the future of advanced AI? -> Predicting future AI
Want to help with AI safety? Get involved! -> Get involved with AI safety
Not convinced? Explore the arguments. -> Explore the arguments
New to AI safety? Start here. -> Intro to AI safety
What is AI governance? -> AI governance
These changes are live. Tell me if you think some are inappropriate

@melissasamworth I notice that we have a few subsections in the "Intro to AI safety" section that are questions
https://docs.google.com/document/d/19NfeKa6flGzoZnubQMoqHte4ZXoQ7w5yBABpLINNRtk/edit
I suggest rephrasing these to remove the questions, e.g.
"What's this is about?" -> "What this is about"
Are you OK with that?

Categories of technical alignment --> "Technical alignment categories"?
Just a note that I find "Explore the arguments" ambiguous
Re: questions. I was going to agree and then realized I actually don't mind a couple of them being questions as long as they're short. I'll let you decide ultimately though.

Another round of updates, see more context here
https://discord.com/channels/677546901339504640/1088468403406258196/1215180100073562142
Get involved with AI safety -> What can I do?
Categories of technical alignment --> Alignment research
I looked at all the questions in subsections and they looked good to me, so I'd keep them for now.
@melissasamworth regarding "explore the arguments", considering that this section mostly addresses misconceptions, how would you name it?


About the metrics of FCD and Text2Mol

Thanks for your great work!
I want to know the details about calculate FCD and Text2Mol metrics. It seems that the related codes are not provided in the repo.
Actually, I have already gotten the repositories of FCD and Text2Mol. But I don't know the details about how to use them to reproduce the results in BioT5 paper.
For example, when calculating FCD, do only valid molecules participate in calculations?
I would be grateful if codes or some details could be provided!

Thanks for your interest in our work.
To reproduce the FCD and Text2Mol score of BioT5, you can

Refer to MolT5 evaluation scripts(https://github.com/blender-nlp/MolT5/tree/main/evaluation).
Follow the Evaluation Section(https://github.com/QizhiPei/BioT5?tab=readme-ov-file#evaluation) in README to evaluation on the CheBI-20 dataset. The output file will be saved https://github.com/QizhiPei/BioT5/blob/b83ee54453e006cfda6f684bdc16585588e71d3e/biot5/metrics/save_only_metrics/save_only_metrics.py#L67, which can serve as input of MolT5 evaluation code.

For step2, you may need to download the CheBI-20 dataset in instruction format in  advance (https://huggingface.co/datasets/QizhiPei/BioT5_finetune_dataset).

Thanks, I will have a try.


Use with statements for handling files

Fix #31 - close file handles when we are dealing with local files.

Hey, this PR is not correct and it breaks things even more :(.
The with statement will close the resource on its exit, so when we do:
            with open(binary, 'rb') as f:
                files['binary'] = f
        return self._post_data(self.url, data, files)

The binary file is opened, its opened file handle is assigned to files['binary'] and then when we go out of scope the file is closed. The closed file is then attempted to be read by the requests library somewhere deeper in the self._post_data function.
Here is an example that shows this issue, ran in an ipython interactive shell:
$ ipython
Python 3.8.2 (default, Apr  8 2021, 23:19:18)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.20.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import requests

In [2]: !echo example_content>data

In [3]: !cat data
example_content

In [4]: with open('data', 'rb') as f: files = {'upload_file': f}

In [5]: files
Out[5]: {'upload_file': <_io.BufferedReader name='data'>}

In [6]: r = requests.post('http://localhost/', files=files)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-6-a9d9f29c5118> in <module>
----> 1 r = requests.post('http://localhost/', files=files)

~/Library/Python/3.8/lib/python/site-packages/requests/api.py in post(url, data, json, **kwargs)
    117     """
    118
--> 119     return request('post', url, data=data, json=json, **kwargs)
    120
    121

~/Library/Python/3.8/lib/python/site-packages/requests/api.py in request(method, url, **kwargs)
     59     # cases, and look like a memory leak in others.
     60     with sessions.Session() as session:
---> 61         return session.request(method=method, url=url, **kwargs)
     62
     63

~/Library/Python/3.8/lib/python/site-packages/requests/sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
    526             hooks=hooks,
    527         )
--> 528         prep = self.prepare_request(req)
    529
    530         proxies = proxies or {}

~/Library/Python/3.8/lib/python/site-packages/requests/sessions.py in prepare_request(self, request)
    454
    455         p = PreparedRequest()
--> 456         p.prepare(
    457             method=request.method.upper(),
    458             url=request.url,

~/Library/Python/3.8/lib/python/site-packages/requests/models.py in prepare(self, method, url, headers, files, data, params, auth, cookies, hooks, json)
    317         self.prepare_headers(headers)
    318         self.prepare_cookies(cookies)
--> 319         self.prepare_body(data, files, json)
    320         self.prepare_auth(auth, url)
    321

~/Library/Python/3.8/lib/python/site-packages/requests/models.py in prepare_body(self, data, files, json)
    505             # Multi-part file uploads.
    506             if files:
--> 507                 (body, content_type) = self._encode_files(files, data)
    508             else:
    509                 if data:

~/Library/Python/3.8/lib/python/site-packages/requests/models.py in _encode_files(files, data)
    157                 fdata = fp
    158             elif hasattr(fp, 'read'):
--> 159                 fdata = fp.read()
    160             elif fp is None:
    161                 continue

ValueError: read of closed file


Did not find decoder for lvis:1.3.0. Please specify decoders for all datasets in DECODERS

Hi everyone,
when running,
python -m scenic.projects.owl_vit.main
--alsologtostderr=true
--workdir=/tmp/training
--config=scenic/projects/owl_vit/configs/clip_b32_finetune.py
command as per readme I'm getting below error:
Did not find decoder for lvis:1.3.0. Please specify decoders for all datasets in DECODERS
I'm using:
ubuntu 20.04
jaxlib 0.4.20+cuda12.cudnn89
lvis    0.5.3
python-lvis 1.1.0
logs are in this file: log.txt
all library version of my environment can be found here:
library_version.txt
any help would be great for me.
Thanks

I also got the same issue but different jaxlib version

No, I searched a lot still no idea

I am getting same error. did you find any solution? Were you able to find any info on what might be the reason for this error? Any kind of information.

I was finally able to solve the error.
At scenic/scenic/projects/owl_vit/preprocessing/input_pipeline.py line no 65, there is a list of DECODERS. You have to change the version number of livs to 1.3.0. That's it. If you want to use different dataset, you just have to add the name of your dataset and which decoder you want to use. You have to make some changes as shown here.)

This issue is also related to https://github.com/tensorflow/datasets/issues/4769#issuecomment-1453324363
It seems you have to download the lvis dataset first:
$ python
>>> import tensorflow_datasets as tfds
>>> builder = tfds.builder('lvis')
>>> builder.download_and_prepare()

It will then download / process the dataset:
Downloading and preparing dataset Unknown size (download: Unknown size, generated: Unknown size, total: Unknown size) to ~/tensorflow_datasets/lvis/1.3.0...
Dl Completed...:  14%|███████████████████████████2024-12-03 09:35:28.758396: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.                                                                                | 27/25952 [00:01<29:04, 14.86 MiB/s]
2024-12-03 09:35:28.793876: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI AVX512_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Dl Completed...:  57%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████▏                                                                                | 4/7 [03:52<00:11,  3.98s/ url]
Dl Size...:  18%|██████████████████████████████████                                                                                | 4670/25953 [03:52<39:02,  9.09 MiB/s]
Extraction completed...: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [03:52<00:00,  5.27s/ file]


[Java] Ensure that Object2*HashMaps and ObjectHashSet always check equality using the value in the map and not vice versa.

This PR contains the following changes:

Fix EntryIterator.equals/hashCode to handle properly null values.
Fix MapEntry.equals/hashCode to handle properly null values.
Fix Object2IntHashMap.hashCode to use the stored value instead of calling getIntValue from the EntryIterator.
Implement Object2IntHashMap.EntryIterator.equals/hashCode methods.
Fix MapEntry.getValue/setValue to return updated value after a successful set.
Use Objects.equals when comparing keys in the Object2ObjectHanshMap/Object2IntHashMap using the key from the map as the first parameter. This ensures that the asymmetric keys can be supported. For example see CharSequenceKey in the tests.
Use Objects.equals when comparing values in the Object2ObjectHashMap for symmetry with the key comparison.

Note, according to https://lgtm.com/help/lgtm/alert-suppression:

If you've enabled automated code review of pull requests for your projects, it's important to note that alert suppression changes made in a pull request are only applied when that pull request is merged. So, if you suppress an alert in a pull request, LGTM will continue to report the related alert for as long as the pull request is open. For more information, see Automated code review FAQs.

So that LGTM warning can be ignored as the proper suppression was applied.


cSpell word list update

Adding some common words for Blazor topics.
Alphabetize and collapse the list, which I hope will make it easier to manage as it grows.

This feature is starting to be helpful ... I found some misspelled words with it this morning ... simple typos that I fixed on https://github.com/dotnet/AspNetCore.Docs/pull/23104/files :tada:


can you make it not with geode

its just hard to do

It's really easy. You just download the file and put it in your geode mods folder.

yeah i already did that and i figured out its easy


"Install from binaries" doesn't link to binaries

File: engine/installation/linux/docker-ce/binaries.md, CC @mstanleyjones
It says:

To find the download link, see the release notes for the version of Docker you want to install. You can choose a tar.gz archive or zip archive.

However, the zips in the page linked (moby/moby/releases) don't have binaries, just source.

Note: those packages won't be updated for the next releases. Get Docker CE from Docker Store

Why? "Docker Store" only points to certain distributions, and for Debian, requires I modify my apt sources. I can't do any of these things, and require a binary distribution.
What's the plan for users like me?

Duplicate of #3900


Revert "web-angular: reintroduce page object class"

This reverts commit 11e60b9703c7eb5089e897966741acddd2447c25.
This reverts commit 2df532807074daad22bad384443f9d25eb6b9dc8.
Will revisit when https://github.com/google/pageloader/issues/145 is fixed

Coverage remained the same at 83.846% when pulling 4686008bd9f771e3bfcca7831cb482878a62212c on remove_pageloader into aa3f98abade389f520465a1f89a63c1e7a02e943 on master.


Update README.md

callin out dabl as part of the stack

@esaraniecki-da You reached the next level! 🎉


WIP: _Brain add_annotation

This PR adds add_annotation in PyVista-compatible _Brain. This is still a work in progress.

[x] Fix colormap table
[x] Fix color interpolation
[x] Fix region borders
[x] Add get_brain_class()
[x] Refactor mesh_edges
[x] Add support for input cortex parameter
[ ] Improve coverage
[ ] Check compatibility with VTK9

It's slightly better. From examples/visualization/plot_parcellation.py:

can you show what is the target/objective rendered output with mayavi?

PyVista
Mayavi

PyVista
Mayavi

The range does not seem to be exactly the same leading to some differences in the resulting values for the regions

Could it just be a lighting difference?

I investigated further and it's causd by the casting of the ids to np.float. To obtain the same result, only np.uint8 is allowed for the LookupTable. I'll push a commit to patch it.

Actually no. There is a region that is red on the left and green on the right (sixth from the left in the line of green regions on the temporal love). Probably still some bug

Ahh okay

I'm not sure about the naked use of _Brain here but I don't see any other convenient way to achieve that:
https://github.com/mne-tools/mne-python/blob/49d200d6e81afd670e93f407ffcabb499b778aee/examples/visualization/plot_parcellation.py#L33-L36

One option would be a tiny wrapper mne.viz.get_brain_class() that either returns PySurfer's or our internal _Brain, then you just do:
Brain = mne.viz.get_brain_class()
brain = Brain(...)

get_brain_class basically just needs your conditional inside it.
Also we should probably at some point:

make the class name Brain instead of _Brain
make it public (mne.viz.Brain) with proper documentation, etc., and a clear preference for it just like we used to have for PySurfer

If it's this cycle (~5 mo timeframe) that we properly document everything, make it public, and prefer PyVista for everything, then we can probably even get rid of the get_brain_class shim above before release. But putting the shim in now is a lightweight solution for delaying the need to make those choices...

Comparing the PR to master, it looks like low_contrast as the cortex type is not working / ignored by PyVista.

master example against PR example :

master
PR

master example against PR example :

Looks great

Other than a minor comment and coverage, LGTM

Thanks @GuillaumeFavelier !


Not working

i have faced this issue when i was using node 12.. check your node version by node -v
i switch to node 16 and it works


Pop up an error after expanding Blob Containers node for one attached account with Key and Name

Storage Explorer Version: 1.5.0
Platform/OS Version: Windows 10/ MacOS High Sierra/ Linux Ubuntu 16.04
Architecture: ia32
Build Number: 20181023.6
Commit: 1b1810d7
Regression From: Not a regression
Steps to Reproduce:

Add the 'Storage Account Contributor' or 'Classic Storage Account Contributor' role under Subscription level.
Sign in with the account in Storage Explorer.
Right click one account -> Select 'Copy Primary Key' -> Attach the selected account with Key and name.
Display name: zag230
Key: [REDACTED]
Try to expand 'Local & Attached' ->'Storage Accounts' -> The attached account node -> 'Blob Containers'.

Expected Experience:
The Blob Containers node can be expanded successfully.
Actual Experience:
Pop up an error when expanding the Blob Containers node.
The containers list well after closing the error dialog directly.

@v-xuanzh , does this still reproduce for you? I'm not seeing it happen anymore? If it is, can you confirm that the key which is copied onto the clipboard is correct? I'd suggest checking against the value of the key in the portal.

Closing.


Guislice v12.0 Touch not working

Firstly, what a great library and professional docs.
Just installed v12.0 over v11.2 and re-compiled my project in Arduino 1.8.9 for ESP32. Touch screen no longer works.  Calibrated screen using "diag_ard_touch_calib sketch" which worked perfectly. Entered new values in esp-tftespi-default-xpt2046_int.h (ADATOUCH_X_MIN etc.)
and tried your Arduino example ex5 sketch, but same issue, no Touch.
In previous versions I used TFT_ESPI_TOUCH_CALIB  { 321,3498,280,3593,3 }. In v12.0 I have also modified the TFT_ESPI_TOUCH_CALIB  line with { 321,3498,280,3593,3 } in addition to the ADATOUCH_X_MIN etc.
Tried changing ADATOUCH_PRESS_MIN & MAX values but still no Touch. (how do we know what these values should be)
Un-installed Guislice & re-installed but no Touch.
My GuiSlice Configuration:
config.h has /configs/esp-tftespi-default-xpt2046_int.h enabled
config_arg.h has DRV_DISP_TFT_ESPI enabled, & DRV_TOUCH_TFT_ESPI  enabled
Using TFT_eSPI v. 1.4.11. GPIO as follow:
//Used for Display & Touch screen
TFT_MISO  25
TFT_MOSI  23
TFT_SCLK  19
TFT_CS    22               // Chip select control pin.
TFT_DC    21               // Data Command control pin.
TFT_RST   18               // Reset pin (could connect to RST pin)
TOUCH_CS  14            // Chip select pin (T_CS) of touch screen
Hardware of device
ESP32 development board
3.5" RPI touch_ILI9341 display not modified (very similar to the one in your modification picture)
All has worked well through versions 10.x & 11.x.
Any help appreciated as I have had to revert to v11.2 for now
Thanks

Thanks very much for reporting this!
You are right... while I had tested the new DRV_TOUCH_TFT_ESPI mode (#143) in calibration, I had overlooked the configuration import updates necessary for normal operation.
I have now uploaded a fix for this in the repository (guide: download & install the latest GitHub release ). Assuming this works for your setup, I will push the change into an upcoming release 0.12.1 for the Arduino IDE library manager.

Sorry for taking so long.
Downloaded zip file (files dated 21/06/2019 at 10:05) of changed 12.0. Tried today but the touch still does not work.

Thanks for the followup, notascooby.
The fact that the calibration sketch is working for you is a good indicator that the TFT & Touch are both operating correctly. I just retested with my ESP32 setup, similar config and it appears to be functional, so there must be a loose end here.
If you have an opportunity to try the following, that would be appreciated:

1: To ensure we have the same setup, can you confirm which version of TFT_eSPI you are using? (eg. release 1.4.11)
2: Please attach the output from the diag_ard_touch_calib sketch here
3: Please modify your /configs/esp-tftespi-default-xpt2046_int.h to change:

Section 5: DEBUG_ERR 2
Section 10: Uncomment DBG_TOUCH

4: Please attach the output from the ex02_ard_btn_txt sketch when you press on the display. Do you see any small yellow boxes appear where you press?

thanks!

I can confirm that the amended version of 12.0 does work
The reason it didn't work for me yesterday is that I had been experimenting with the ADATOUCH_PRESS_MIN  option (had value of 5) in the original 12.0 version and had not restored it to the default of 200 when the new version of 12.0 was released. Sorry
In case the information is useful to you.
TFT_eSPI version=1.4.11
The two output files you requested are below.
OUTPUT from diag_ard_touch_calib.txt
OUTPUT from ex02_ard_btn_txt.txt
Could the diag_ard_touch_calib sketch also display the ADATOUCH_PRESS_MIN/MAX values as I for one didn't know what these values should be.
Thanks Again

Excellent... thank you for confirming that the latest version works properly and attaching the output files!
I agree with you that the diagnostic sketch would be a good place to help users identify a suitable range for ADATOUCH_PRESS_MIN/MAX and will be adding this feature to an upcoming version.


refactor: box shadow color

ref #60
Redo box-shadows on pseudo elements to use default color to reduce size. Added functionality to detect the most used color in icons based off this sass function count-values

[x] balloons
[x] containers
[x] icons

Size Before:
npm run build time: 16.190s

file
size

nes.css
699K

nes.css.map
55K

nes.min.css
668K

Size After:
npm run build time: 14.910s

file
size

nes.css
560K

nes.css.map
57K

nes.min.css
531K

You could but I wouldn't. Because the default color is the color property it affects text too. ie. if you ever wanted a balloon with a different color and changed that color the text would also change like the pic below. This is why I only switched pseudo elements :after and :before because they don't have any text that would change.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[csharp] Fix error loading library grpc_csharp_ext.*.dll on windows with non-ASCII encoding

Fix error loading library grpc_csharp_ext.x64.dll on desktop Windows application with charset on non ANSI encoding. Example library path: C:\тест\grpc_csharp_ext.x64.dll

Added handle of the win error code that occurred

lang/csharp
.NET Framework 4.7.2

@nicolasnoble

Just to be sure, I started an adhoc run of distribtests:
https://fusion2.corp.google.com/invocations/556d79af-2f48-4217-858f-09ce61414c8c/targets

Is there anything else i need to do, to complete my first pull request to merge? Sorry for my english

Nothing is needed from you, we're just running some tests and if they all look good, we'll merge.

Getting a good run of the macos artifact build is proving difficult and without that it's not possible to get a good distribtest run. I'm going to merge and check that distribtests are green afterwards.

FTR I checked the distribtests results after merging and everything seemed green.


Support for manually triggering the integration testing pipeline on tidb PR

Currently some prow postsumit jobs will auto run after each PR merged. In order to conveniently run integration tests in PR, need to support PR triggering for these integrated testing pipelines.

[x] pull-integration-mysql-test
[x] pull-br-integration-test
[x] pull-e2e-test
[x] pull-integration-jdbc-test
[x] pull-integration-copr-test
[ ] pull-common-test
[ ] pull-integration-common-test
[ ] pull-integration-ddl-test
[ ] pull-sqllogic-test
[ ] pull-tiflash-test

Any updates?


Revert "Don't check overflow for bf16 data type (#4512)"

This reverts commit 244040c18f463d498c7bd2d7364b1e0d7e544080.

This commit was not the root cause of the problem, just happened to pass the PR checks despite it failing them on its own too.


.NetCore Appveyor Test Report

uploading test report to test tab at appveyor CI

Merged into 3.1, landed in 5b4f04ed6abbc2369e262f8c4332dca4607099cd.


Allow Webpack to clean build target folders

Small fix to a warning in https://github.com/studentinsights/studentinsights/pull/1182, no real impact.  It just removes:
clean-webpack-plugin: /tmp/build_c3ba56210a14900ce00a73ebede49ebf/studentinsights-studentinsights-adedc3b/public/build is outside of the project root. Skipping...

This happens since the clean plugin has to reach outside of its folder and into the public/build or public/dev folder, and the plugin helpfully warns that that might not be a good idea.

selfie


Fix Document.elements being the same as Document.nodes

a => a.isElementNode is a lambda returning true if its argument is an element.
So is (a) { return a.isElementNode; }.
But a => { return a.isElementNode; } is a lambda returning a delegate returning true if the lambda's argument was an element. And the delegate itself always evaluates to true as it is non-null.
D is awesome.

Nice one! :+1:


Separate declaration and definition

I create a new file kilo.h that contains only all functions and strutures declaration
Move main from Kilo.c to main.c and i change Makefile.

Wouldn't this defeat the whole purpose though of the entire application being beneath 1k lines of code, as well as an (I think) easy resource to study and learn from?

I'm sorry i confused the 1k lines.


Revert regression: reintroduce dump and die via kd and sd.

I have no idea what the checks are checking but I can't run composer build on windows nor are there any differences produced with the composer format.
Please just merge these changes and do a release asap.


Create a ReqMgr2 REST API to list workflows with recent status transition

Impact of the new feature
ReqMgr2 and CouchDB
Is your feature request related to a problem? Please describe.
Needed for Dima's monitoring, where he's only interested in workflows that have had a status transition in the last X minutes/hours. Right now he's going straight to the CouchDB view (bystatus), which yields ALL the data we have in the database (since 2010 or so...).
There are two problems here: first is the amount of data returned by that view/query; second is that users should not talk directly to CouchDB, otherwise we can't have a proper authz, logging and caching in place.
Describe the solution you'd like
The solution can be broken down into two steps:
*) first we need a couch view that will take an epoch time and will evaluate the RequestTransition document parameter. It should yield the workflow name, the current status and the workflow type.
*) second is to support a new query string (under the request REST API) and from there call the couchdb view created in the previous step.
Describe alternatives you've considered
none
Additional context
none

@drkovalskyi can you please confirm that this ticket would give you exactly what you need? Thanks


Add full audit log for shares

It would be a good idea for shares to show a full audit log with things like:

who (exact person) created the share when with what reason (we already see this)
who (exact person) approved or rejected the share with what reason
what share modifications have been made if share reason has been changed or new items were added or removed
when it was submitted or re-submitted
when it was approved or re-approved
what were all state transitions for items at what time when were they failed, revoked etc..

The audit log should show the full trace of what exactly was happening with the share every single button click, change and who exactly was doing it. We have folks asking for this to make sure that there's full audibility in case there's any issues.

Hi @zsaltys, nice feature. Would the audit be visible in the UI? or would it be used by data.all admins in case needed?

Removing from v2.7 in favor of #1332 as per request from customer to prioritize it.


Incorrect type hint when @command uses a custom class

The @command decorator is annotated as always returning Command.
This is a problem when supplying custom class, e.g.:
@click.command(cls=MyClass)
def foo():
     ...

reveal_type(foo)  # revealed type is `Command`
foo.my_property = 6  # error: `Command` does not have a member `my_property`

Environment:

Python version: any
Click version: 8.x

This is causing issues, please see #2227 and #2233.


Increase GitHub CI timeout

Description
Increase GitHub CI timeout
Type of change

Configuration update

Testing steps
To be checked on CI
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch and project coverage have no change.

Comparison is base (308e5b8) 51.28% compared to head (d4c8f9d) 51.28%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #208   +/-   ##
=======================================
  Coverage   51.28%   51.28%
=======================================
  Files           3        3
  Lines         468      468
=======================================
  Hits          240      240
  Misses        211      211
  Partials       17       17

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


Readme add contributors list

The image will be live created using github data

In my opinion this just clutters the front page, and is redundant with the list on the right of the interface

Closing as per the above (also see https://github.com/godotengine/godot-docs/pull/9144).


consider removing Ljava/lang/Object calls from CG

the  method of Object is called from every object... it does not makes so much sense to have it in the CG...

okay there is more... maybe add an option to block certain classes.
or filter them in your visualiztion tool afterwards.

Has this problem been solved?


Add switching of tabs when new Student or Lesson is added

Fixes #111 and #110. addlesson and addstudent command will toggle the tab of the GUI to the lessons or students tab respectively, if not already on the tab. Additionally, details of the new Lesson or Student added will also be displayed on the InfoPanel.
Before executing the command:

After executing the command:

Codecov Report

Merging #129 (ca0efc2) into master (5cbf740) will decrease coverage by 0.08%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master     #129      +/-   ##
============================================
- Coverage     52.30%   52.21%   -0.09%
  Complexity      515      515
============================================
  Files           109      109
  Lines          2279     2281       +2
  Branches        242      244       +2
============================================
- Hits           1192     1191       -1
- Misses         1007     1008       +1
- Partials         80       82       +2

Impacted Files
Coverage Δ

...seedu/address/logic/commands/AddLessonCommand.java
35.71% <0.00%> (-2.75%)
:arrow_down:

...eedu/address/logic/commands/AddStudentCommand.java
100.00% <100.00%> (ø)

...seedu/address/model/student/UniqueStudentList.java
72.54% <0.00%> (-3.46%)
:arrow_down:

...edu/address/model/lesson/ConsistentLessonList.java
42.85% <0.00%> (-2.08%)
:arrow_down:

src/main/java/seedu/address/model/Model.java
100.00% <0.00%> (ø)

src/main/java/seedu/address/model/LessonBook.java
46.42% <0.00%> (ø)

src/main/java/seedu/address/model/AddressBook.java
78.57% <0.00%> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
68.67% <0.00%> (+1.61%)
:arrow_up:

Continue to review full report at Codecov.

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


Edit and Testing Buttons

Is your feature request related to a problem? Please describe.
Clause Components should have icons in addition to delete in order to edit and test.
Describe the solution you'd like
Add icons with customizable functionality.
Additional context
@Michael-Grover please provide AP colors

the same colors as the trash icon


Add bionic into functional test

This is an regresion of #68

Add bionic into gate bundle
Make sure the charm supports bionic
Remove envdir from tox.ini as that's an unexpected usage of envdir and is removed in tox >= 4

Looks like the old juju-local isn't working on bionic (or need specify care for LXD setup). The new juju-local does not have bionic support

The test failing are likely due to this bug: https://bugs.launchpad.net/juju/+bug/1926192 (experiencing it in local tests)

Changed the scope since we can't test on bionic due to the above bug mentioned (locally and also in CI). Still this PR is fixing the bug that it failed to install on bionic because latest packaging=24.2 is not compatible with python < 3.7.
packaging = 21.3 is the last version support all 3 ubuntu releases: https://github.com/pypa/packaging/blob/21.3/setup.py#L60-L64


[rv_dm,dv] Verify that the debugger can issue a non-debug reset to the rest of the system (ndmreset_req BLT)

This issue tracks the implementation of the ndmreset_req block-level test, which is specified in the testplan for rv_dm.

estimate 8

As discussed on December 15, we still think we should have a block-level test for this, even though a TLT for ndmreset_q exists.

Triaged for rv_dm. Assigning to M2.5 with https://github.com/lowRISC/opentitan/labels/Priority%3AP3 because this is an open V2 test but we already have a TLT covering it.

I see that @BasitMehmood implemented rv_dm_ndmreset_req_vseq at the end of last September. Is there anything left to do before this can be closed?

@rswarbrick @BasitMehmood: Can this be closed?

rv_dm DV work carried over to M5.

@rswarbrick to please check whether this is done

Yep, this is done (and I essentially rewrote the test in question in feeed78af8882bfb98dfcbb4d57ec98537621551). Closing accordingly.


prevent creating directory

Charles Blais:
Is there a way to prevent the write command to create a directory and just create a file?  The reason is because, security wise, if I can write the content of the data into memory (ex: python StringIO) for things like a web service, it prevents the web server to have write access.

This possibilty is included (currently only for IAGA output) with   7dda6d54470628cdc9c81a3de1745ce909646767
How to do it:
mem = data.write("StringIO", format_type='IAGA')
content = mem.getvalue()
print (content)
mem.close()


SwissQR not working anymore (PostFinance)

The generated QR code stopped working on the Postfinance app. Do we need to make any adjustments?

sorry, the issue was from my site.
Thanks

@WeslleyDeSouza having a problem with Postfinance too. QR works with other apps though. What was your fix?


kubelet / kube-proxy not starting.

I have configured all the steps up to the topic Start Worker Services.
But, the kubelet and kube-proxy services do not start.

Here is the error in syslog.

This is Variable declared.

i don't know why this happening.
Can anyone help me?

Hi Everyone,
I don't find any solution.
I would really like to finish this lab.
I don't know how to continue.
@mmumshad
Do you know what could be happening?

kubelet.service

kube-proxy.service

/var/lib/kubelet/worker-1.kubeconfig

/var/lib/kubelet/kubeconfig

/var/lib/kube-proxy/kube-proxy.kubeconfig

/var/lib/kube-proxy/kube-proxy-config.yaml

Hi @tsaraujobr
We have now merged a major change to bring this to v1.24.
This has been addressed as part of the upgrade. Please try it now and feel free to raise further issues.


Reorganizing Org Policies to Make Room for New Pages

🚀 Deployed on https://6603139bc5b85972bd6ca1bf--cozy-fox-0defec.netlify.app


Duplicates Logs

Description
Hi guys.
Actually have a problem with the logs because i am watching that when send logs in new relic not everything but it duplicates some logs for me.
As you can see the unique argument that changes is the index but the content log message is equals.  This error are reproduce in other lambdas that have in my account of AWS.
Attach image for you help me.
Steps to Reproduce

Lambda Layers NodeJS and Python

Expected Behavior
Not duplicated logs in my account of New Relic
Relevant Logs / Console output

Your Environment

Lambda 12.x, 14.x
Python 3.x
NEW_RELIC_EXTENSION_SEND_FUNCTION_LOGS = true

Please track related github issue - https://github.com/newrelic/newrelic-lambda-extension/issues/119.

We have made several changes to the Lambda Extension since version v2.3.2. During testing, we have not observed duplicate logs in newer versions of the Extension


Detecting if reader is connected to iOS

Our set up has our SumUp readers embedded into tables next to iPads. The iPads are customer facing and they pay for products with contactless alone because the readers are hidden.
Sometimes the readers have to be removed from the tables to charge or because they get permanently blocked (this happens a lot...). In these cases we have no way to inform our app that there is no connected device. We would like to disable the checkout button instead of exposing a device discovery and pairing modal.
Does the SDK have a method that exposes the reader connection status? Otherwise is there a way to access the underlying Bluetooth interface to achieve the same thing. As far as I've seen I would have to have the reader's unique UUID before I can request the status but any input from someone who knows more than I do would be greatly appreciated.

my testing of stuff today below: (developer myself)

run checkoutWithRequest and its connects to the reader using BLE 4.0 (shows icon on reader)
after transaction OR after failed transaction, returns to app with BLE icon still being shows on reader
minimise ios app and load up external BLE scanner from app store
connect to device inside BLE scanner app, you can then see information about the reader, etc...

so in theory you can run a BLE command to search devices and connect to the reader and if you connect to it successfully and can read information about it like version num, its ur device thats connect to your device
i also tested this also by connect the reader from my iphone, then doing a BLE scan from macbook, found the reader, but was unsuccessful to connect to it from my macbook because it was already connected to my iphone
hope this helpful...


Edit Host has Create instead of Save

Version: master 5/13
Steps to Reproduce:

Add host
Edit host

Results:  Edit host screen has Create instead of Save button
Expected: Should have Save

Version - master 5/17
Verified fixed


consumers: end-to-end exactly once semantics by default

Scope is to transition consumers from at-least-once to exactly-once, by default. This builds off of the approach and work undertaken with liveramp/factable
Basic implementation sketch:

message.Message interface is extended to support settable ProducerID and SeqNo fields which are marshaled with the user-defined message type. Messages can opt-out of exactly-once by making these no-ops. Low bits of SeqNo distinguish "uncommitted", "acknowledged", and "apply outside transaction" states.
During a consumer transaction, published messages are tagged with appropriate ascending uncommitted SeqNo. When the transaction prepares to commit, acknowledgement "intents" (empty messages that ACK messages that came before) are check-pointed with the commit, and once committed are then written to respective journals. Or, if a new processor recovers a checkpoint, the processor also writes the ACKs.
Readers must sequence read-uncommitted messages into read-committed ones. This also is check-pointed with each consumer transaction. For efficiency, readers will buffer some number of recent uncommitted messages in hopes of a forthcoming ACK, but failing that they'll re-read the journal to process committed messages. This allows readers to read acknowledged messages without head-of-line blocking.
The broker append API is to be extended with a "registers" concept: very small key/value pairs which participate in the append transaction machinery. Append RPCs may update register values, or expect particular values (and fail if the expectation is not met). Journal registers allow for implementing write fences. recoverylog will be updated to install fence with Player.InjectHandoff, and to require a fence value within Recorder.

Where today only read-through offsets are check-pointed with consumer transactions, for exactly-once semantics a shard checkpoint will include:

Read-through offsets of source journals (unchanged).
Producer states for sequencing read-uncommitted messages => read-committed.
The last SeqNo published by the shard.
ACK intents which acknowledge messages published by this transaction.

I'm also targeting improvements which allow shards to opt-out of recovery logs altogether, utilizing an external transactional store instead. I think it's possible for transactions to remain fully pipelined in this case also, which would be awesome for performance.

I'm also targeting improvements which allow shards to opt-out of recovery logs altogether, utilizing an external transactional store instead.

👏 👏 👏

Done!


bml-curve-line覆盖物上添加箭头

Auto closed by issues bot. Please create your issue by issue generator.
当前问题由机器人自动关闭，请使用 ISSUE 生成器提交您的问题。


PR5

Preview environment for context default is accessible at: http://env-n-4c78c83.preview.previews.acaternberg.flow-training.beescloud.com/.

Details

The environment name is env-n-4c78c83.
The environment was created for the Git commit b224af488dec47c88c7bb8ef0bf6570a7a897882.
The environment will be accessible until this pull request is closed.
You can update the environment by pushing changes to this pull request.
Depending on the auto-update setting for this context, the environment will update automatically or you need to explicitly request a new preview by adding a another /preview comment.

Your license will expire at 2022-04-04 23:59:59 +0000 UTC.


Large Tower Compute Env for CI jobs on farm

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

1.5G docker.io-genomehubs-blobtoolkit-4.3.3.img
1.5G docker.io-genomehubs-blobtoolkit-4.3.4.img

blobtoolkit singularity image only 1.5G and I am not sure why we need large memory to pull this image?
And also large memory for the nextflow run base job? otherwise with SIGTERM error.


chore: mv principal_subtype

Oh, and: please remember to mark awaiting-review when you actually would like to get reviewed.


Story Invisible Question?

General Question
Read the Notes and fill out the form.
Switch to Preview for reading.
Notes
Your issue will be closed if you violate any rule below.

You need to include a meaningful descriptions and e.g. a screenshot.
You do not include screenshots of your code.
Read the Docs.
Capturing endpoints and similar can be found here
(read it if you are going to ask about it).
You can delete this section after reading it.

Form
Put an [x] if you meet the condition, else leave [ ].

[X] I've searched the Issues
[X] I've read the basic concepts
[X] I'm using the latest version

Question
A specific question, so it's understandable to anyone.
You may add pictures.
YOUR QUESTION HERE
I am trying to run the story sample, I do not see any mentions/hashtags/locations on my story when I post. Is this to be expected? I am confused by the 'invisible' statement included in the link below.
https://github.com/dilame/instagram-private-api/blob/3c80b770ef7e5f01b01d5474c7669a60cd0ec292/examples/upload-story.example.ts#L46

where should we use this method @Nerixyz

where should we use this method @Nerixyz

Whenever you try to place a sticker with "specific" coordinates.

thx for quick response
can you give me a hint how to set the specific coordinates?
the stickerbuilder does not allow to set x,y,width,height

You do something like this:
builder.add(StickerBuilder.sticker({
  option1: 1,
  option2: '2',
  ...toInstagram({
    left: 200,
    right: 400,
    top: 200,
    bottom: 400,
    imgWidth: 1080, imgHeight: 1920
  }),
})

Now your sticker should be from ( 200 | 200 ) to ( 400 | 400 ).

Thanks, this example works..
Sry but I dont get the left right top bottom properties...

if I want to use the orange area how would my properties be?
...toInstagram({
left: 0,
right: 400,
top: 450,
bottom: 0,
imgWidth: 400, imgHeight: 700
}),
this doesnt work :S
Really appreciate your support!!

@SaliZumberi only bottom in your case would be 700. It's like this: ( left | top ) to ( right | bottom )

@SaliZumberi were you able to figure this one out? I'm still having issues with trying to get a sticker to render.

@SaliZumberi were you able to figure this one out? I'm still unable to render any stickers.

@SaliZumberi were you able to figure this one out? I'm still unable to render any stickers.


alias validator

Recently, I found myself needing an alias validator. It copies first error message from an aliased field to another it is bound to (similar to how ds-error copies error from model.errors.${attr}).
Internally it's very much like  dependent validator because it depends on  validations.attrs.${alias}.isTruelyValid, but unlike dependent it copies error message from
validations.attrs.${alias}.messages.firstObject
Intended usage:
{
    date: [
        validator('ds-error')
    ],
    dateFormatted: [
        validator('alias', {
            alias: 'date',
        })
    ]
}

The example use case I had was:
UI form is working on computed property named dateFormatted, which depends on date.
Raw value of date is never displayed nor edited directly by the user.
When sending payload to server, date is sent and all errors returned by server are assigned to date model attribute and those should be displayed under dateFormatted.
Not sure, how common is my use case, but I would like to share how I wanted to solve this, how I actually solved that (see next comment), and maybe it would turn out that such validator could be built into cp-validations.

Solution attempts:

FAILED: Establishing dependency on validations.attrs.${alias}.isTruelyValid in processOptions
I have tried to add in processOptions a custom dependent key for aliased validations like so:

processOptions() {
    let
        options = this._super(),
        alias = options.alias

    options.dependentKeys = options.dependentKeys || []
    options.dependentKeys.push(`validations.attrs.${alias}.isTruelyValid`)

    return options
}

That does not work since, the validation dependentKeys are evaluated before validator constructor is called (see https://github.com/offirgolan/ember-cp-validations/blob/v2.7.0/addon/validations/factory.js#L283 and
https://github.com/offirgolan/ember-cp-validations/blob/v2.7.0/addon/validations/factory.js#L287 respectively). So, my processOptions was adding a key, but it was never used, it was too late.
I was surprised, 'cause I expected that validators could add sth to options before they are further processed.
So, I have checked how cp-validations handle dependent or belongs-to and I turns out there's a special code in getCPDependentKeysFor that adds the dependent keys by hand eg. https://github.com/offirgolan/ember-cp-validations/blob/v2.7.0/addon/validations/factory.js#L384
So, effectively, my validator would have to get such special handling as well.

WORKS: Establishing dependency on validations.attrs.${alias}.isTruelyValid in config object passed to  buildValidations
A remedy to #1 is to pass the dependent key in config like so:

{
    date: [
        validator('ds-error')
    ],
    dateFormatted: [
        validator('alias', {
           alias: 'dateBirth',
           dependentKeys: ['validations.attrs.dateBirth.isTruelyValid']
        })
    ]
}

That works, but I find it very verbose and developer unfriendly.

WORKS: Extending dependent validator with alias option. (requires cp-validations >-= 2.7)

In order to benefit from special handling that dependent validator receives in factory.js I have extended it with an alias option:
import Dependent from 'ember-cp-validations/validators/dependent'

export default Dependent.extend({
    validate(value, options, model) {
        const result = this._super(...arguments);

        if (typeof result === 'string' ) {
            if (options.alias) {
                return this.model.get(`validations.attrs.${options.alias}.message`);
            }
            return result;
        }
        return true;
    }
});

Now the usage look like:
        validator('dependent', {
            alias: 'hiredAt', // custom option to copy messages from aliased field
            on: ['hiredAt']
        })

Not quite what I wanted but close. That's what I settled on for now.
Personally, I'd prefer to use the simple definition described in ticket desc. With current factory.js logic, that would be only possible with built in alias validator.

On a final note. I was wondering about a solution where instead calculating dependentKeys statically, those could be extracted from instantiated validators processed options.
Instead:
function createCPValidationFor(attribute, validations) {
  const dependentKeys = getCPDependentKeysFor(attribute, validations);

  return computed(...dependentKeys, cycleBreaker(function () {
    const model = get(this, '_model');
    const validators = getValidatorsFor(attribute, model);

do sth like:
function createCPValidationFor(attribute, validations) {
  const validators = getValidatorsFor(attribute, model);
  const dependentKeys = getCPDependentKeysFor(attribute, validators);

  return computed(...dependentKeys, cycleBreaker(function () {
    const model = get(this, '_model');

With that being possible, all sort of dependent validators could be written outside of cp-validations
and the custom validators handling code could be moved to respective validators processOptions function

Thanks for opening up this request @gustaff-weldon :smile_cat:
@stefanpenner @rwjblue @blimmer what do you guys think of this use-case? I think it might be a nice addition. Either create a whole new alias validator or add an option on dependent validator to do this.

On a final note. I was wondering about a solution where instead calculating dependentKeys statically, those could be extracted from instantiated validators processed options.

The reason we dont already do this is because we have no access to the owner/container outside of the CP.

I think this is a totally valid use case and something I've run into before. I'll use ember moment to create a computed property on the model, but serialize the real date or time to the server. My only concern is with returning the firstObject message. Why not return all the messages?

@blimmer I agree. Ill see what I can do to make this happen :smile:

@blimmer My understanding was that up until now, validators were expected to return one validation value, I totally agree that full-fledged alias would copy all errors (type and message)
@offirgolan Thanks for taking your time to implement this!

Just had a shower thought...
@gustaff-weldon @blimmer is this validator needed anymore after the implementation of the value option? (see #171)

I think strictly speaking value can do everything alias does. The biggest advantage I see is that the alias validator automatically will setup invalidations for you.


ARROW-12490: [Dev] Use only miniforge in verify-release-candidate.sh

I tested on Linux/x86_64, Linux/aarch64, MacOSX/arm64, but not MacOSX/x86_64.

@github-actions crossbow submit --param release=4.0.0 --param rc=3 verify-rc-source-*-cpp

@github-actions crossbow submit --param release=4.0.0 --param rc=3 verify-rc-source-linux-cpp


flutter/plugins should be linted

flutter/engine has a lint in place to catch issues like the wrong SDK methods being used for the bound. Ideally we should have this for our first party plugins as well, it would catch issues like flutter/plugins#2029. I'm not sure exactly how we'd go about setting this up on our CI. The engine linter is here. flutter/plugins has different packages with different minSdk versions, and also uses gradle.

We're now running the Java linter as part of CI.


Implement GC for SeriesDatabase of TSDB

https://github.com/apache/skywalking/issues/11494

Please fix the CI.

Codecov Report
Attention: Patch coverage is 2.10526% with 186 lines in your changes are missing coverage. Please review.

Project coverage is 47.33%. Comparing base (dc88130) to head (4bab1be).

Files
Patch %
Lines

banyand/internal/storage/index.go
2.72%
143 Missing :warning:

banyand/internal/storage/tsdb.go
0.00%
17 Missing :warning:

pkg/fs/local_file_system.go
0.00%
12 Missing :warning:

banyand/internal/storage/retention.go
0.00%
7 Missing :warning:

banyand/internal/storage/shard.go
0.00%
4 Missing :warning:

banyand/internal/storage/segment.go
0.00%
2 Missing :warning:

pkg/fs/file_system.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #409      +/-   ##
==========================================
- Coverage   48.08%   47.33%   -0.76%
==========================================
  Files         175      175
  Lines       21646    21802     +156
==========================================
- Hits        10408    10319      -89
- Misses      10349    10609     +260
+ Partials      889      874      -15

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Zattoo recordings stopped working due to url change

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.03.24
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl -v --username PRIVATE --password PRIVATE https://zattoo.com/recording/233957045
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--username', u'PRIVATE', u'--password', u'PRIVATE', u'https://zattoo.com/recording/233957045']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 2.7.16 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.4, ffprobe 2.8.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 233957045: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 233957045: Downloading webpage
[generic] 233957045: Extracting information
ERROR: Unsupported URL: https://zattoo.com/recording/233957045
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2375, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2551, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2540, in _XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 1, column 1851
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3352, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://zattoo.com/recording/233957045

Description

Downloading Zattoo-Recordings used to work just fine, but they changed the URL to access the recordings and that seems to have broken youtube-dl access to these recordings.
I found a similar, closed issue, which was closed as a "duplicate", however there isn't a duplicate issue i could find and the issue exists since quite some time now.
The "closed as duplicate" issue is: https://github.com/ytdl-org/youtube-dl/issues/23945

@dstftw why is this a duplicate? Please let me know the issue, this is duplicating. I don't understand and searched the issues before posting this. Thanks!

#22258.


Solo.searchText should be possible with boolean parameters "onlyVisible" and "scroll" at the same time

From<EMAIL_ADDRESS>on February 08, 2011 04:28:58
Solo.searchText should be possible with the boolean parameters "onlyVisible" and "scroll" at the same time. So far one can only use one of them at the same time.
Original issue: http://code.google.com/p/robotium/issues/detail?id=65

From<EMAIL_ADDRESS>on February 08, 2011 04:51:25
If I read the code correctly, the parameter "onlyVisible" has the effect that TextViews that have the property android:visibility="invisible" are not taken into account when searching.
However there are other TextViews:

They don't have the property  android:visibility="invisible"
They are not shown at the Screen at the moment (for example at the bottom of a list that can be scrolled).

These on the other hand should be taken into account when searching.

From<EMAIL_ADDRESS>on February 08, 2011 08:26:16
Please see:
searchText(String text,
int minimumNumberOfMatches,
boolean scroll,
boolean onlyVisible)
Also searchText(String text) will scroll if it does not find a TextView that is currently visible.
Status: Invalid


Replace MessageTracker details table

Problem Statement
After completing the Custom Table component, the existing website tables need to be replaced with the new custom table component. Therefore, this ticket is to replace the table on the MessageTracker details page.
Need to Know

Link?

Acceptance Criteria

[ ] Table on MessageTracker details page uses the new custom table component
[ ] Table on MessageTracker details page has at least the same functionality as it did before replacing with the custom table component

PR: https://github.com/CDCgov/prime-reportstream/pull/9624

Joseph helping to unblock

unblocked by Joseph and Etan

PR #9624


Colmap to Nerfstudio

I extract cameras.bin and images.bin from colmap. I use from colmap_utils colmap_to_json to get the transforms.json file and then i run the ns train command. The problem is that the images are not in the same position and orientation that they are in the colmap GUI. Do you know why this is happening?

This might be because of frame conventions, see https://docs.nerf.studio/quickstart/data_conventions.html
You can also use ns-process-data directly to call colmap and have it generate the transforms for you

You can try to set this variable to True
https://github.com/nerfstudio-project/nerfstudio/blob/main/nerfstudio/process_data/colmap_utils.py#L394

I think i found it if you want to keep the same orientation you call colmap dataparser instead of nerfstudio dataparser in ns-train and put the arguments [--method none --center_method none]

I think you need to call --orientation_method=none --center_method=none --assume_colmap_world_coordinate_convention=False in colmap parser after this change ( https://github.com/nerfstudio-project/nerfstudio/pull/2793 )

I extract cameras.bin and images.bin from colmap. I use from colmap_utils colmap_to_json to get the transforms.json file and then i run the ns train command. The problem is that the images are not in the same position and orientation that they are in the colmap GUI. Do you know why this is happening?

May be you can try this file
colmap2nerf.zip

I think you need to call --orientation_method=none --center_method=none --assume_colmap_world_coordinate_convention=False in colmap parser after this change ( #2793 ). This is to keep the exactly same world coordinate as input colmap project up to a scale.

@jb-ye Thank you very much for your guidance. But when I follow like this ns-train splatfacto --data {data_dir} --viewer.quit-on-train-completion False --max-num-iterations 10000 --pipeline.model.sh-degree 0 colmap --colmap_path sparse/0 --downscale_factor=1 --orientation_method=none --center_method=none --assume_colmap_world_coordinate_convention=False --auto-scale-poses=False  and after I run ns-export, I get a splat.py whose many vertices are NaN. I think it is weird since I have nice results in web viewer, could you give me some hints for debugging?

I think you need to call --orientation_method=none --center_method=none --assume_colmap_world_coordinate_convention=False in colmap parser after this change ( #2793 ). This is to keep the exactly same world coordinate as input colmap project up to a scale.

@jb-ye Thank you very much for your guidance. But when I follow like this ns-train splatfacto --data {data_dir} --viewer.quit-on-train-completion False --max-num-iterations 10000 --pipeline.model.sh-degree 0 colmap --colmap_path sparse/0 --downscale_factor=1 --orientation_method=none --center_method=none --assume_colmap_world_coordinate_convention=False --auto-scale-poses=False and after I run ns-export, I get a splat.py whose many vertices are NaN. I think it is weird since I have nice results in web viewer, could you give me some hints for debugging?

Update: I found that if I set sh-degree back to 3, all things will be fine. I don't know why but it just happens, maybe it is a potential bug


protobuf 3.9.0 incompatible: Fails to import - AttributeError: module 'google.protobuf.symbol_database' has no attribute 'Default'

I recently upgraded my Home Assistant installation and the cast feature is currently broken.
I'm running it in a Python 3.7.3 venv on Raspbian (buster) and get the following error.
(homeassistant) homeassistant@HastPi3:~/.homeassistant $ python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> import pychromecast
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/srv/homeassistant/lib/python3.7/site-packages/pychromecast/__init__.py", line 11, in <module>
    from . import socket_client
  File "/srv/homeassistant/lib/python3.7/site-packages/pychromecast/socket_client.py", line 23, in <module>
    from . import cast_channel_pb2
  File "/srv/homeassistant/lib/python3.7/site-packages/pychromecast/cast_channel_pb2.py", line 14, in <module>
    _sym_db = _symbol_database.Default()
AttributeError: module 'google.protobuf.symbol_database' has no attribute 'Default'

Just a note that I downgraded the protobuf library to 3.8.0 and got things working so I guess it's a compatibility issue.

You are mention such amazing information.
So I joined this group for taking and reading more and more knowledge.
greeting how to open dll file