data.xls / test.xls

I insert my CF in data.xls.
When i click on import in"import messages" page,
it shows test CF, not mine.
I insert my CF in test.xls.
When i click on import in"import messages" page,
it shows test CF, not mine.
Why?
Andrea

Can you provide a screenshot?

cannnot replicate - reopen if you can provide a screenshot.


[containerd] Add support for Windows

What does this PR do?
Adds support for the containerd check on Windows hosts.
This PR includes the check on Windows images and makes sure it can run without errors.
The metrics metrics reported are:

CPU (reporting some of the metrics already reported in Linux): containerd.cpu.total, containerd.cpu.user, containerd.cpu.system. (rates)
Memory (reporting new metrics because I didn't find an equivalent in the ones already reported): containerd.mem.commit, containerd.mem.commit_peak, containerd.mem.private_working_set. (gauges)
Storage (reporting new metrics also): containerd.storage.read, containerd.storage.write. (rates)
Others (reported also in Linux): containerd.uptime, containerd.image.size.

Additional Notes
These are the steps I followed for implementing this:

Removed the containerd tag from the Linux-only list so it could be included also on Windows images.
The containerd package had a dependency on cgroups (Linux only). This dependency was only to fetch one of the metrics (open file descriptors). In order to remove that dependency, I exposed a new function GetNumFileDescriptors in the containers/providers package, and implemented a mock method for Windows.
The code was assuming that the containerd response contained Linux metrics. I had to change that a bit to support also responses that contain Windows metrics.

Describe how to test your changes
You'll need to deploy the agent on a Windows node. I ran this on Azure AKS (using containerd 1.4.8), but it can work on other environments. I couldn't deploy on GKE because the latest release uses containerd 1.5.2 which has a bug around init-containers.
When deploying the agent, you'll need to specify the CRI socket path. In helm: datadog.criSocketPath:"\\.\pipe\containerd-containerd". That's the default path, it might be different in your env.
Once the agent is deployed, check that the agent is reporting the metrics mentioned above.
Checklist

[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] The need-change/operator and need-change/helm labels has been applied if applicable.
[x] The appropriate team/.. label has been applied, if known.
[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] The config template has been updated if applicable.

Note: Adding GitHub labels is only possible for contributors with write access.

Rebased on top of master to pick up the commit that fixes the CI.


parallelConsumer.close() is timing out in <IP_ADDRESS> and <IP_ADDRESS> for consumer with set producer, after rebalace

Using "core" parallel consumers, by mistake in one of them when building we are setting producer (which is not used by us).
After updating to from <IP_ADDRESS> to <IP_ADDRESS> (but also to <IP_ADDRESS>) we see timeout on following scenario when parallelConsumer.close() is executed:

1st instance of application is starting - parallel consumer is started (setting ordering to unordered, concurrency to 10, consumer connecting to localhost with string deserializers with other defaults, with producer, commit interval 5s, commit mode periodic consumer sync) for topic with 2 partitions  - both are assigned.
2nd instance of application is started - parallel consumer is started - gets partition no 1, 1st instance parallel consumer gets instance 1 (using default range assignor)
1st application is being closed, parallelConsumer.close() but fails to close in 20 seconds and throws exception

This happens only in <IP_ADDRESS> and <IP_ADDRESS> and only if producer is set in parallel consumer options when building parallel consumer.
If producer is not set closing works.

Hi,
I have recreated the bug and identified the root cause - i will try to work out a fix and do a PR in the coming week or so.
It is isolated only to setup when non-transactional Producer is set (even if it is not used).

Looks like its a duplicate of #637 - closing it as such.


Running on different browsers/devices over Browserstack

Hi @john-doherty . Would appreciate your help if you can please give some insights on how to run the framework on BS on different browsers/devices.

Seems like someone took most of the code from this repo and made some configs for running on browserstack. It is a bit of a mess though but good for inspiration: https://github.com/larryg01/klassi-js


Couldn't get Chatto through Carthage

Hi! When i try to get/update Carthage, i get an error -
`*** Building scheme "Chatto" in Chatto.xcworkspace
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/blablalba/Documents/Bla/Carthage/Checkouts/Chatto/Chatto.xcworkspace -scheme Chatto -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)`

I just tried latest release and master branch and works for me, I'm using Carthage 0.18.1. What is your environment and what does your Cartfile look like?

Thanks, I fix it!


Track push notification open count for windows phone and winrt

Hello,
I implemented the hash calculation on push notification to track open count.
Relative to this bug : https://github.com/ParsePlatform/Parse-SDK-dotNET/issues/162
I only did for windows phone and WinRT since I don't really know how it works on other platform. But the ParseAnalyticUtilities.cs class is available in the PCL to easily implement on other platforms if needed.

This looks good, although we're actually currently in internal discussions to perhaps have the server send the hash on Windows platforms, just like it currently does on android.
Out of curiosity, where did the MD5 implementation come from? We wouldn't be able to accept it unless we verify that the license is compatible with ours.

MD5 implementation come from an old article from Microsoft that I can't find online anymore. I think it was given to be used on Windows Phone 7.

Hey guys - I just heard back from our backend team. The missing push_hash is actually their bug and not ours (the reasons why iOS was calculating it manually are long, boring and basically boil down to rushing a product out the door).
We're going to ship a fix for this to parse.com shortly, which will make this PR obsolete.
Sorry for all of the confusion that's been surrounding this issue.

Ok, good to know a fix is coming :+1:

Here is what we've done here:

On the server, /1/events now supports AppOpened tracking by push_id.
All pushes now receive the push id in the JSON payload (in the key "parsePushId"). The SDKs (including the Windows SDK) will now use this to track app opens.

Richard is working on (2).


Hide Crystal patch reminder when the patch is empty

Just had the update and the Crystal patch reminder has been added, thank you for adding another patch however this is now permanently appearing, I've been to the patch and I have nothing planted in there. I've hopped worlds and refreshed RuneLite it still appears,
I've uploaded a screenshot just showing the empty patch but the reminder saying its ready for harvesting still appearing.
https://i.imgur.com/MGU7VyO.png

The reminder is shown when the patch is waiting for you to do something (in this case, planting a seed). So this is indented in this case. You can toggle the patch on and off if you'd like to hide it while you don't have acorns for example.

thanks chad. i dont think anyone has an endless amount of crystal seeds so this will always be appearing for most people, ill have to turn it off in the meantime

I'll keep it open if someone wants to make a PR to hide it when nothing is planted (for this one plot only)

I'll keep it open if someone wants to make a PR to hide it when nothing is planted (for this one plot only)

yeah i think that would be a better way of operating this particular patch. as far as im aware its relatively rare and u definitely cant upkeep the seeds everytime u consume the patch

Closed via #54


[directxtk] Use CMake build system and add xaudio2-8 and xaudio2-9 features

Use the provided CMake file instead of the VS solutions to build the library, as recommended in the maintainer guidelines. DirectXTK can be built with legacy XAudio 2.7 (default for desktop) to support Windows 7 Service Pack 1 or later, XAudio 2.8 for Windows 8.x or later, and XAudio 2.9 (default for ARM and UWP) for Windows 10 : https://github.com/microsoft/DirectXTK/wiki/Audio#xaudio-versions

Thanks for your help!


typo

I've removed the template because I don't think that'll be necessary, just fixing a typo here.

Please use the template

I'd rather close than write hundreds of words to explain why I fixed one typo.

You don't have to write a hundred words, the template is there by default.

There's blanks to fill out inside that template, which requires me to raise a jira issue, write details about my PR, understand and agree that this PR will not be reviewed until everything's checked. I cannot do as it says, and I can't agree to it, because this PR doesn't require any more information other than its diff.
I don't understand why I have to include the template while this PR clearly wouldn't be using any of its contents.
@saguziel

I found this issue because I wanted to fix the exact same typo. I think I'll pass on this one...

Your commit title reads "typo". Typo of what? Are you fixing an off by one error? Are you creating a typo? Commit messages are read without the code attached to them, so they need to be understandable.
Also Apache guidelines require us to have an jira issue for every code change. It is there as an audit trail and it is there to protect the users of the code. If you don't like that and don't want to adhere to those guidelines then unfortunately we cannot accept your patch. That's too bad because it is could have been valuable. It isn't now. Hopefully someone will pick it up.

every git commit that reads "typo" means it's fixing a typo, but that's just my experience, I've added to the commit message, including the [AIRFLOW-XXX] clause.
I do understand the purpose of Apache guidelines and code audit in general, but this PR is really one typo fix, in the docs, it's not even code change. I think most developers will agree the things in the template are too much for this.


Fix flaky test: pausing_test: Set timeout for console connection to 30 secs

What this PR does / why we need it:
Sets timeout for console connection to 30 secs, as it its frequently running into timeout:
https://storage.googleapis.com/kubevirt-prow/reports/flakefinder/kubevirt/kubevirt/flakefinder-2019-11-26-168h.html
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/test pull-kubevirt-e2e-k8s-multus-1.13.3

/test pull-kubevirt-e2e-k8s-1.14.6
/test pull-kubevirt-e2e-k8s-1.15.1-ceph
/test pull-kubevirt-e2e-k8s-genie-1.11.1

/test continuous-integration/travis-ci/pr

@rmohr I think we can merge this one. Although travis seems to not have reported, the build has suceeded.

/lgtm

/approve

/retest


Code changes to land by 0.1.0

Fixes mostly.

[test]

What we are going to do with this?
tests/integration/test_pagure.py::test_basic_distgit_workflow FAILED

What we are going to do with this?
tests/integration/test_pagure.py::test_basic_distgit_workflow FAILED

Buy me the medication, finally.


1:30 pm Sunday from Kenny

This is an interim commit based on the registration working - signin or login does not work yet - which is known.


Option to disable movable image

I would like cropbox to be only movable element in my crop interface, but it seems like there's no setting for that currently?

Hi, I too would like to have this option. I'll try to open a pull request for it

I opened #306 but I'm not sure if it's the best way to do it or even if it's working in all cases.
I asked for feedback to improve the PR and I hope we could add this to the master soon

I'm very interested by this option too !
As a possible workaround while this is being dealt with :
Comment line 1823 to 1826 of cropper.js

:+1:

The movable is only available for image now. and cropBoxMovable just for crop box. see v0.10.0.


MRG, MAINT: Move tests

This PR:

moves mpl/nilearn-based volume plotting from mne/viz/tests/test_3d.py to new mne/viz/tests/test_3d_mpl.py
uses 4 rather than 3 levels of path depth for summary in pytest-harvest

It gives us a bit more granularity when looking at our timing results:
$ pytest mne/viz/
...
=================================================================== slowest 20 test modules ====================================================================
88.73s total   mne/viz/tests/test_3d.py
55.27s total   mne/viz/_brain/tests/
41.67s total   mne/viz/tests/test_3d_mpl.py
38.52s total   mne/viz/tests/test_ica.py
17.48s total   mne/viz/tests/test_epochs.py
15.28s total   mne/viz/tests/test_raw.py
14.64s total   mne/viz/tests/test_topomap.py
12.63s total   mne/viz/tests/test_evoked.py
11.28s total   mne/viz/tests/test_misc.py
 4.19s total   mne/viz/tests/test_topo.py
 1.30s total   mne/viz/tests/test_utils.py

The plot_volume_source_estimates that route through nilearn have always been somewhat separate anyway, so this seems useful conceptually, too.

🤦

Thanks, @larsoner!


Show "Time_started" in Outpup of ChiaPlottingStatistic

Hi
Is there a way to show the "time_started" attribute in the output result?
Thanks
Michael

You will have to create your own view to have that show. You can do this by running the following command
Get-ChiaPlottingStatistic | Format-Table -Property *
This might output more than your powershell window can show, you can specify which properties you want to show as well.
Get-ChiaPlottingStatistic | Format-Table -Property Time_Started, KSize
Adding each property you want separated by comma.


Board Review: App service Authentication

Thank you for starting the process for approval of the client library for your Azure service.  Thorough review of your client library ensures that your APIs are consistent with the guidelines and the consumers of your client library have a consistently good experience when using Azure.
** Before submitting, ensure you adjust the title of the issue appropriately **
To ensure consistency, all Tier-1 languages (C#, TypeScript, Java, Python) will generally be reviewed together.  In expansive libraries, we will pair dynamic languages (Python, TypeScript) together, and strongly typed languages (C#, Java) together in separate meetings.
The Basics

Service team responsible for the client library: Microsoft.Identity.Web, MS Graph SDK, Azure Identity SDK
Link to documentation describing the service: App service authentication
Contact email (if service team, provide PM and Dev Lead): Identity PMs<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>App service PMs<EMAIL_ADDRESS>MS Graph SDK PM<EMAIL_ADDRESS>Azure SDKs<EMAIL_ADDRESS>
About this client library

Name of the client library: Microsoft.Identity.Web, Azure.Identity, Microsoft.Graph.Core
Languages for this review: .NET
Link to the service REST APIs: API mocks deck

Artifacts required (per language)
We use an API review tool (apiview) to support .NET and Java API reviews.  For Python and TypeScript, use the API extractor tool, then submit the output as a Draft PR to the relevant repository (azure-sdk-for-python or azure-sdk-for-js).
.NET

Upload DLL to apiview.  Link:
Link to samples for champion scenarios: API mocks deck
Sample to call Microsoft Graph from Webapp using App service auth

Java

Upload JAR to apiview.  Link:
Link to samples for champion scenarios:

Python

Upload the api as a Draft PR.  Link to PR:
Link to samples for champion scenarios:

TypeScript

Upload output of api-extractor as a Draft PR.  Link to PR:
Link to samples for champion scenarios:

Champion Scenarios
A champion scenario is a use case that the consumer of the client library is commonly expected to perform.  Champion scenarios are used to ensure the developer experience is exemplary for the common cases.  You need to show the entire code sample (including error handling, as an example) for the champion scenarios.
Champion Scenario 1: Get claims for user signed in with App service authentication in a webapp
* App Service passes user claims to your application by using special headers. External requests aren't allowed to set these headers, so they are present only if set by App Service. Code that is written in any language or framework can get the information that it needs from parsing these headers.
* Problem: There is support for .NET framework to populate an object with the claims from the header. The same experience is missing for .NET core and other languages(Java, Python, Node...). The proposal is for Microsoft.Identity.Web SDK for .NET core to detect the App service authentication and populate the object.
* Estimate the percentage of developers using the service who would use the champion scenario:
* Link to the code sample: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-auth-aad
Champion Scenario 2: Access Microsoft Graph API (and other APIs) from App service webapp as the signed in user
* Technically it is possible to use the token passed by App Service in special headers to call MS Graph. The developer needs to extract the token from header and add it as bearer to the HTTP request to Graph API. .
* Problem: No well documented pattern exists of calling the MS Graph API from an App Service. There is no library or middleware supporting this. Proposal is to provide this integration through Microsoft.Identity.Web for ASP.NET and later extend the patterns to other languages.
* Estimate the percentage of developers using the service who would use the champion scenario
*  Link to the code sample: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-auth-aad
Champion Scenario 3: Access Azure APIs(ex: Azure Storage) and Microsoft Graph API as the App service webapp using Managed Identities
* The pattern using DefaultAzureCredential in Azure.Identity SDK is already used and adopted by Azure services such as Storage, KeyVault, etc.
* Problem: Use of managed identities to get tokens for MS Graph API is not documented and no SDK pattern exists. Proposal is to use the above pattern with Graph SDK.
* Estimate the percentage of developers using the service who would use the champion scenario
* Link to the code sample: https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-msi#net-code-example-create-a-block-blob
Agenda for the review
A board review is generally split into two parts, with additional meetings as required
Part 1 - Introducing the board to the service:

Review of the service (no more than 10 minutes).
Review of the champion scenarios.
Get feedback on the API patterns used in the champion scenarios.

After part 1, you may schedule additional meetings with architects to refine the API and work on implementation.
Part 2 - the "GA" meeting

Scheduled at least one week after the APIs have been uploaded for review.
Will go over controversial feedback from the line-by-line API review.
Exit meeting with concrete changes necessary to meet quality bar.

Thank you for your submission

[Microsoft Internal only] https://msit.microsoftstream.com/video/71e9a3ff-0400-a521-231e-f1eabb20aa12
Follow ups:

How is EasyAuth like if developer runs service locally?
Dependency injection support in Graph SDK in relation to ASP.NET, align with pattern on Azure SDK side
Timeline of Azure Identity to support what App Authentication supports.

What's not supported now: KeyVault token provider; SQL provider; Windows integrated auth

Scenario: app accessing on behalf of user vs app accessing as itself

User impersonation credential -- would this be part of default azure credential?
Consider to separate: unclear what default azure credential should do in case of having a managed identity assigned to app service but user also signs in

@navyasric: is it okay to close this?


px-chart-* redraws on each scroll in iOS and mobile browsers.

Expected behavior and actual behavior:

Device should scroll without refreshing the charts.

Steps to reproduce the problem:

Open any application using charts in simulator or on device, and scroll the page.

I don't see this issue with any of the simple charts on iOS Safari or Chrome. Maybe this refers to the old deprecated HighCharts px-chart, which I think also used this common-behavior?


Fix bug in super() with metaclasses

Hi! First of all, thanks for this lib, it really makes dealing with legacy code much more bearable.
I got an error trying to call a metaclass with super() without arguments, and I've found it's searching the method's owner in the class' own mro. But the metaclass is not its superclass, so the owner is never found. This PR adds a fallback to search the owner in the metaclass mro and a test with the case at #267.
Regards,

Thanks for your kind words and your patch, @nuno-andre !


Remove outdated rm blog.html in posix.mak

This should hopefully fix our deployment issues.

Re-pushed to get a higher priority.


Support for new architecture

Normal use of new architecture testing

Can this be merged please?

Can you add some details on how you tested this? Did you use the /example app?

BorderRadius is not working properly

I am using 0.71, which works in my version. I do not have a deep understanding of native, so there may be some issues


Misleading user experience when installation completes

The VS Code Java Pack Installer for Windows (using v0.3.1) finishes with a confirmation dialog that has a checkbox pre-selected of now Launching VS Code.  This item and the checkbox are misleading as it assumes that VS Code is now ready to be used.  However, if you have a VS Code extension that is now looking for Java in the path or the JAVA_HOME variable, that extension will fail, because VS Code gets started with an environment that does not know about these entries, yet.
VS Code has to get started with the new environment variables set and not the context in which the installer was started with.

Exactly, currently VS Code is launched as a child process of the installer. Known issues are:

It inherits the environment variables, where newly installed JDK is not included.
For macOS catalina, it pops up a dialog showing the installer is asking for access to Documents folder, but actually it's vscode who needs the access.

The installer is developed in NodeJS, and VS Code is finally launched by child_process.spawn. So a potential solution is to find out a way to start VS Code with the updated envs.
One more issue for Windows. In Windows, if you double click the installer to open it, the envs are inherited from process explorer.exe. After the installer helps you install the JDK and set JAVA_HOME, if you once again open the installer, the newly installed JDK will not be detected, until you restart explorer.exe (by re-login or restart).

Currently I don't find a way to assign latest envs to subprocess, seems impossible through NodeJS child_process module.

And that's why we actually set java.home in vscode's user settings during the installation. Only when you don't have java.home set, it tries JAVA_HOME, JDK_HOME, etc.  See how redhat.java extension looks for JDK.

that extension will fail, because VS Code gets started with an environment that does not know about these entries, yet.

Thus, it's expected not to fail...

Thanks @Eskibear. I will have our extension look for the java.home setting.

FYI, vscode-java extension now has an embedded JRE to run itself. So you don't have to look for java.home (which is deprecated).
So I'm closing this issue, though we still fail to find way to launch vscode with latest sysenv.


Verify expected side effects when trackable enters online state

There’s a bunch of TODOs to address but I think the broad strokes are there.
TODO faultBeforeAddingTrackable[DetachUnresponsive] is now failing because it’s not seeing the expected side effects; not had a chance to look into it.
Part of #925 (there are still other states to handle).

Replaced by #933.


Migrating legacy filters to ad-hoc filters (Slices filter disappear after metadata DB upgrade)

Make sure these boxes are checked before submitting your issue - thank you!

[Yes] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ Yes] I have reproduced the issue with at least the latest released version of superset.
[Yes ] I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version
0.27
Expected results
While upgraded the Superset (0.15 to 0.27) if metadata DB is same then all the filters for slices in the new Superset(Upgraded one) should retain as they were in old Superset.
Is there a way to retain the filters for all slices/dashboards while upgrading the metadata DB ?
Actual results
All the filters stored in Metadata DB for slices in old version got disappear after we upgraded Superset and metadata DB from 0.15 to 0.27.
How filter model was there in Superset 0.15 -:
"flt_col_0": "",
"flt_col_1": "id",
"flt_eq_0": "",
"flt_eq_1": "1",
"flt_op_0": "in",
"flt_op_1": "in",
How filters model is there in Superset 0.27 -:
"adhoc_filters": [{"comparator": "Model TV", "expressionType": "SIMPLE", "clause": "WHERE", "fromFormData": true, "sqlExpression": null, "operator": "==", "filterOptionName": "filter_c2ih6juqp56_md3q9zf1ij", "subject": "id"}]
Steps to reproduce

Hello,
Is there any solution exists for it ? We've lost all our filters after upgrade from 0.15 to 0.27.

We all migrated successfully. I'm not sure what's happening on your side. Can you try upgrade beyond 0.27? I'd recommend the latest in branch release--0.31 or lyftga


Connects to Pandora...

and get album art, but does not stream audio.

What is in the logs?

2015-07-09 23:53:53,901 - INFO     Resetting dropped connection: tuner.pandora.com
2015-07-09 23:53:54,056 - INFO     Resetting dropped connection: tuner.pandora.com
2015-07-09 23:53:54,523 - INFO     Starting new HTTPS connection (1): tuner.pandora.com
2015-07-09 23:53:55,110 - INFO     Starting new HTTP connection (1): tuner.pandora.com
2015-07-09 23:54:00,830 - INFO     304 GET /images/default_cover.png (<IP_ADDRESS>) 7.20ms
2015-07-09 23:54:00,836 - INFO     304 GET /images/icons/play_alt_32x32.png (<IP_ADDRESS>) 3.49ms
2015-07-09 23:54:00,850 - INFO     304 GET /images/default_cover.png (<IP_ADDRESS>) 4.03ms
2015-07-09 23:54:00,856 - INFO     304 GET /images/icons/play_alt_32x32.png (<IP_ADDRESS>) 3.34ms
2015-07-09 23:54:01,190 - INFO     304 GET /images/icons/pause_32x32.png (<IP_ADDRESS>) 3.98ms
2015-07-09 23:54:01,204 - INFO     304 GET /images/icons/pause_32x32.png (<IP_ADDRESS>) 3.61ms
2015-07-09 23:54:01,237 - INFO     304 GET /images/icons/play_alt_12x12.png (<IP_ADDRESS>) 3.69ms
From: Andrew Wason<EMAIL_ADDRESS>Sent: Friday, July 10, 2015 2:36 PM
To: rectalogic/mopidy-pandora
Cc: Adam Gilmore
Subject: Re: [mopidy-pandora] Connects to Pandora... (#14)
What is in the logs?
—
Reply to this email directly or view it on GitHubhttps://github.com/rectalogic/mopidy-pandora/issues/14#issuecomment-120489894.

I am running pi musicbox 0.6 it is running mopidy 0.19.5
I upgraded to mopidy 1.0.3. I now am getting different logs.
2015-07-10 00:42:25,324 - ERROR    Got un-handled exception from TuneInBackend
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Mopidy-1.0.7-py2.7.egg/mopidy/commands.py", line 239, in _actor_erro
r_handling
yield
File "/usr/local/lib/python2.7/dist-packages/Mopidy-1.0.7-py2.7.egg/mopidy/commands.py", line 380, in start_backe
nds
config=config, audio=audio).proxy()
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mopidy_tunein/actor.py", line 23, in init
backend=self, timeout=config['tunein']['timeout'])
File "/usr/local/lib/python2.7/dist-packages/mopidy_tunein/actor.py", line 32, in init
self._scanner = scan.Scanner(min_duration=None, timeout=timeout)
TypeError: init() got an unexpected keyword argument 'min_duration'
2015-07-10 00:42:25,335 - INFO     Starting Mopidy-Podcast directories: iTunesDirectory, FeedsDirectory, GPodderDir
ectory
2015-07-10 00:42:25,350 - INFO     Refreshing Mopidy-Podcast directories
2015-07-10 00:42:25,360 - INFO     Starting new HTTP connection (1): itunes.apple.com
2015-07-10 00:42:25,409 - INFO     Starting Mopidy core
2015-07-10 00:42:25,518 - INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend
2015-07-10 00:42:25,524 - INFO     MPD server running at [::ffff:<IP_ADDRESS>]:6600
2015-07-10 00:42:25,532 - INFO     HTTP server running at [::ffff:<IP_ADDRESS>]:6680
2015-07-10 00:42:31,954 - INFO     Starting new HTTP connection (1): tuner.pandora.com
2015-07-10 00:43:26,252 - INFO     304 GET /settings/ (<IP_ADDRESS>) 861.54ms
2015-07-10 00:43:27,080 - INFO     200 GET / (<IP_ADDRESS>) 30.47ms
2015-07-10 00:43:27,467 - WARNING  404 GET /favicon.ico (<IP_ADDRESS>) 3.33ms
2015-07-10 00:43:42,350 - ERROR    <ActorProxy for PandoraBackend (urn:uuid:0d83400e-9c1d-4383-88e0-12b771db8fb6),
attr_path=()> needs to be updated to work with this version of Mopidy.
2015-07-10 00:43:42,351 - WARNING  Track is not playable: pandora:track:153553713865538695:Flogging%20Molly%20Radio
%20%28Repeat%20Track%29:https%3A//www.pandora.com/login%3Ftarget%3D%252Fstations%252Fec6ae9b06ede7d7d893b2aeda40503
29c29045a5cf801fa8:http%3A//cont-sjl-2.pandora.com/images/public/amz/2/3/0/2/626570612032_500W_499H.jpg
Thoughts?
From: Andrew Wason<EMAIL_ADDRESS>Sent: Friday, July 10, 2015 2:36 PM
To: rectalogic/mopidy-pandora
Cc: Adam Gilmore
Subject: Re: [mopidy-pandora] Connects to Pandora... (#14)
What is in the logs?
—
Reply to this email directly or view it on GitHubhttps://github.com/rectalogic/mopidy-pandora/issues/14#issuecomment-120489894.

Looks like mopidy has made some major changes to their api https://docs.mopidy.com/en/latest/changelog/
attr_path=()> needs to be updated to work with this version of Mopidy.```

Need to go through the changelog and see what needs to be updated.

Is there a mopidy version that is known to work?
From: Andrew Wason<EMAIL_ADDRESS>Sent: Friday, July 10, 2015 3:53 PM
To: rectalogic/mopidy-pandora
Cc: Adam Gilmore
Subject: Re: [mopidy-pandora] Connects to Pandora... (#14)
Looks like mopidy has made some major changes to their api https://docs.mopidy.com/en/latest/changelog/
ERROR <ActorProxy for PandoraBackend (urn:uuid:0d83400e-9c1d-4383-88e0-12b771db8fb6),
attr_path=()> needs to be updated to work with this version of Mopidy.
Need to go through the changelog and see what needs to be updated.
—
Reply to this email directly or view it on GitHubhttps://github.com/rectalogic/mopidy-pandora/issues/14#issuecomment-120506551.

It was developed against mopidy 0.19.4

I've been using Mopidy 1.0.7 for some time. I think the error that @rectalogic pointed out in the log is due to Mopidy >= 1.0 making use of the new translate_ui() method.
I've created PR https://github.com/rectalogic/mopidy-pandora/pull/15 that should fix that, and add a few other minor tweaks.

...but I don't think any of this is related to the original issue, which appears to be as a result of the HTTP connection failing.
Can you perhaps run mopidy with debug logging enabled (mopidy --save-debug-log) and post the output here as well?

I haven't been able to reproduce this specific issue, though Mopidy-Pandora sometimes report tracks as unplayable if one of the Pandora server error codes occur.
Suggest that we close this issue in the absence of more information, as it is likely that the problem was on the server side, rather than a bug in Mopidy-Pandora.


AFURLSessionManager  af_resume  infinite recursive call

I use AFNetworking 2.5.3
in AFURLSessionManager , I do not know why you recursive call af_resume method. From your code

(void)af_resume {
NSURLSessionTaskState state = self.state;
[self af_resume];
if (state != NSURLSessionTaskStateRunning) {
[[NSNotificationCenter defaultCenter] postNotificationName:AFNSURLSessionTaskDidResumeNotification object:self];
}
}

it will infinite recursive call af_resume.
And in  my app, some people crashed by this problem.

hope you can fix it.

I'm seeing the same crashes in 2.5.4 on iOS 8 only.

I'm really stumped on this one.
This has also been reported in [https://github.com/AFNetworking/AFNetworking/issues/2743]. Can you let me know what other third party libraries are included in your app? We have unit tests that specifically test and confirm the swizzling is properly setup for AF, but it appears some outside library is also creating a problem.
Can you add your information to #2743?

(void)initialize in the  NSURLSessionTask _AFStateObserving category is calling itself recursively (via NSURLSession dataTaskWithURL), and is also called for each instantiated NSURLSessionTask subclass.  It looks to me like the af_addMethod/af_swizzleSelector code is invoked multiple times, which doesn't seem good.

I haven't dug any further.  Is this the correct behavior or should it be addressed.  Seems like it could result in this broken swizzling issue given the right set of circumstance.
My app is seeing this issue also, but very sporadically.  I don't have a solid repro.

I am getting the same issue after OneSky integration. Is there any solution to resolve this conflict with third party library?

Same problem on 2.6.3 in ios9 above

Same crash on iOS 10

same problem when using Dynatrace integrated in the app. Did anyone find the fix to this crash?

Now we use Swift


vboot_reference: add -fcommon workaround

Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: /build/source/build/futility/vb2_helper.o:(.bss+0x0): multiple definition of
  `vboot_version'; /build/source/build/futility/futility.o:(.bss+0x0): first defined here

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

vboot_reference


Remove unnecessary addItem from DeclarativeTable component

We already add the items on the extension host side (https://github.com/microsoft/azuredatastudio/blob/main/src/sql/workbench/api/common/extHostModelView.ts#L1593) and so this should be unnecessary as far as I can tell.
And getting rid of this gets rid of all the "Could not find ItemDescriptor..." warnings that were showing up - the reason being that when the property was set the child component may have not been created yet and so wasn't in the model store. addItem from the extension host side will ensure that the component is created before it adds it to the items of the table container.

Pull Request Test Coverage Report for Build 497387915

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 43.077%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 497137912:
0.001%

Covered Lines:
24325

Relevant Lines:
51756

💛  - Coveralls

Pull Request Test Coverage Report for Build 497387915

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 43.077%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 497137912:
0.001%

Covered Lines:
24325

Relevant Lines:
51756

💛  - Coveralls


Focus sticky scroll is not preserved when sticky lines disappear and reapper

Testing #177642

have a couple of lines in sticky scroll
Focus sticky scroll
scroll inside the file to a place that sticky scroll lines disappear
scroll to a place that has sticky scroll lines again

Observe: focus is lost. I would have expected that focus is kept.

I am actually reopening it since I think the behavior is not good when scrolling using the scroll bar / minimap

Do the following:

focus sticky scroll
use the minimap to scroll to the top of the file whithout releasing the mouse
Observe: sticky scroll disappears and focus is gone
Scroll into the file again
Observe: sticky scroll apprears without focus.

I would have expected in this case that the focus is preserved since I never released the mouse button.

For the person who will be doing the verification, a regression has been found relating to the incorrect focusing of the sticky scroll which has already been fixed in the following PR: https://github.com/microsoft/vscode/pull/178009. Please test once the other PR is released on insiders.


Bad expected reference in single_heightfield_collider_translated

Hi. I'm new with Rust & Bevy and amb trying to make my own project with Avian2d physics engine.
It's possible to define a collider from my own assets loader image? I need to spawn a terrain collider from my PNG image file that I've previously loaded.
fn intialize_land_system(mut commands: Commands, scene_assets: Res<SceneAssets>) {
    let sprite_image = scene_assets.landscape.clone();
    let collider = single_heightfield_collider_translated(sprite_image);
    commands.spawn((
        collider,
        RigidBody::Static,
        SpriteBundle {
            texture: scene_assets.landscape.clone(),
            transform: Transform::from_xyz(0.0, 0.0, 1.0),
            ..default()
        },
        DebugRender::default().with_collider_color(css::VIOLET.into()),
    ));
}

// my AssetsLoaderPlugin
use bevy::prelude::*;

pub struct AssetsLoaderPlugin;

impl Plugin for AssetsLoaderPlugin {
    fn build(&self, app: &mut App) {
        app
            .init_resource::<SceneAssets>()
            .add_systems(Startup, load_assets_system)
        ;
    }
}

// Systems
pub fn load_assets_system(mut scene_assets: ResMut<SceneAssets>, asset_server: Res<AssetServer>) {
    *scene_assets = SceneAssets {
        background: asset_server.load("background_space.png"),
        landscape: asset_server.load("landscape.png"),
        lander: asset_server.load("lander.png"),
    }
}

// Resources
#[derive(Resource, Debug, Default)]
pub struct SceneAssets {
    pub background: Handle<Image>,
    pub landscape: Handle<Image>,
    pub lander: Handle<Image>,
}

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

Hi @davidromani 👋
You can! The trick is that you need to get the image using the handle you have in your code.
You'll need something like this in your intialize_land_system code, i.e. getting the image data from the handle you already have. There's a catch though 😅 you'll need to make sure the image is loaded before you can generate the collider. There are some good examples in the bevy repo for how to tackle that part of things, it looks like the 2d texture atlas is doing something similar https://github.com/bevyengine/bevy/blob/main/examples/2d/texture_atlas.rs
fn intialize_land_system(
    mut commands: Commands,
    scene_assets: Res<SceneAssets>,
    // image_assets is how you can get the actual image data from a handle
    image_assets: Res<Assets<Image>>,
) {
    let sprite_image_handle = scene_assets.landscape.clone();

    // warning!! this will be none if the asset isn't loaded!
    // you need to add a system that will tell you when assets are loaded and ready to access like this.
    let sprite_image = image_assets.get(&sprite_image_handle).unwrap();

    let collider = single_heightfield_collider_translated(sprite_image);
    commands.spawn((
        collider,
        RigidBody::Static,
        SpriteBundle {
            texture: scene_assets.landscape.clone(),
            transform: Transform::from_xyz(0.0, 0.0, 1.0),
            ..default()
        },
        DebugRender::default().with_collider_color(css::VIOLET.into()),
    ));
}

Thank you so much @shnewto !

@shnewto still in troubles... what I've made is to configure a set to guarantee that assets has been loaded before to spawn this command, take a look at my console output to check that sprite_image_handleexists.
fn intialize_landscape_system(
    mut commands: Commands,
    scene_assets: Res<SceneAssets>,
    image_assets: Res<Assets<Image>>
) {
    let sprite_image_handle = scene_assets.landscape.clone();
    info!("sprite_image_handle {:?}", sprite_image_handle); // console output log
    let sprite_image = image_assets.get(&sprite_image_handle).unwrap();
    let collider = single_heightfield_collider_translated(sprite_image);

2024-08-25T14:57:16.616857Z  INFO rusty_lander::collider: sprite_image_handle StrongHandle<Image>{ id: Index(AssetIndex { generation: 0, index: 4 }), path: Some(landscape.png) }
thread '<unnamed>' panicked at src/collider.rs:26:63:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `rusty_lander::collider::intialize_landscape_system`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!

Hi @davidromani yeah you'll need to check to make sure the assets are loaded before you try and use them. One option, the way I usually take, is creating some custom state and only transition when my assets are loaded. So here's an example data structure and a function you can use as a system to check if assets have loaded.
#[derive(States, Debug, Clone, Eq, PartialEq, Hash, Default)]
pub enum SceneAssetState {
    #[default]
    Loading,
    Loaded,
}

pub fn check_assets(
    asset_server: Res<AssetServer>,
    scene_assets: Res<SceneAssets>,
    mut state: ResMut<NextState<SceneAssetState>>,
) {

    // return if the background isn't loaded
    if Some(LoadState::Loaded) != asset_server.get_load_state(&scene_assets.background) {
        return;
    }

    // return if the landscape isn't loaded
    if Some(LoadState::Loaded) != asset_server.get_load_state(&scene_assets.landscape) {
        return;
    }

    // return if the lander isn't loaded
    if Some(LoadState::Loaded) != asset_server.get_load_state(&scene_assets.lander) {
        return;
    }

    // all assets have loaded
    state.set(SceneAssetState::Loaded)
}

then in the implementation of your plugin you need to make sure things are only running when the right state is set
impl Plugin for AssetsLoaderPlugin {
    fn build(&self, app: &mut App) {
        app.init_resource::<SceneAssets>()
            .init_state::<SceneAssetState>()
            .add_systems(PreStartup, load_assets_system)
            .add_systems(Update,
                (
                    check_assets.run_if(in_state(SceneAssetState::Loading)),
                    initialize_land_system.run_if(in_state(SceneAssetState::Loaded)),
                )
            );
    }
}

Finally it works, the problem with the assets loading is fixed. Thank you so much!!
But now, it arised another problem that is slowing down FPS due a to an infinite console message:
WARN avian2d::collision::narrow_phase: Entity { index: 235, generation: 1 } and Entity { index: 237, generation: 1 } are overlapping at spawn, which can result in explosive behavior.
Can you check it in my repository's project, please? https://github.com/davidromani/rusty-lander

Hi @davidromani glad to hear that solved the loading issue!
I think your question about the latest error would be a good one to ask about in the Bevy Discord, there's place for specifically "Avian Physics" questions in the ecosystm-crates channel and I'd start there.

solved at Discord!
the problems was that the initialize_land_system must run only once
.add_systems(OnEnter(SceneAssetState::Loaded), intialize_landscape_system)

ah! fantastic, really glad to hear it!


[DEVX-3180] Use GSM Secrets from actions repo

DEVX-3180
Description
Since davinci's gsm-secrets is the same as https://github.com/toptal/actions/blob/main/gsm-secrets/action.yml, we will use the one from actions repo as source of truth.
How to test

CI

Development checks

[x] Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

@toptal-anvil ping reviewers

@AlexDavidoiu Is it fine that public repo (davinci-github-actions) reuses actions from the private one (actions), why not vice-versa?

@AlexDavidoiu Changesets needs to be added too, as this is a major change (the action is deleted and consumers can no longer rely on it)


perf: vim.fn.executable is slow

After lazy.nvim 11.0 was released my config startuptime went from 25ms to 85ms
I have traced back the slowness due to this line:
https://github.com/folke/lazy.nvim/blob/8dd947fccddbf70893a1f0ae6522361cc1777609/lua/lazy/core/config.lua#L53
> time nvim --headless -c ':lua local s = vim.loop.hrtime() vim.fn.executable("luarocks") print(string.format("%fms\n", (vim.loop.hrtime() - s) / 1000000))' +q

60.269405ms
nvim --headless -c  +q  0.04s user 0.03s system 39% cpu 0.184 total

That is super weird, since vim.fn.executable should be really fast (and is negligible in my setup).
What OS are you on?
Also, can you run the same test, but with vim.uv.exepath instead?

On my system:
❯ time nvim --headless -c ':lua local s = vim.loop.hrtime() vim.fn.executable("luarocks") print(string.format("%fms\n", (vim.loop.hrtime() - s) / 1000000))' +q

0.032316ms

vim.uv.exepath seems to be very fast :)
❯ time nvim --headless -c ':lua local s = vim.loop.hrtime() vim.uv.exepath("luarocks") print(string.format("%fms\n", (vim.loop.hrtime() - s) / 1000000))' +q

0.009027ms
nvim --headless -c  +q  0.02s user 0.03s system 45% cpu 0.107 total

Allright, I can change it I guess, but you should still figure out why vim.fn.executable is that slow on your machine.
That really doesn't seem right.
That function is used by a lot of plugins and internally by Neovim.
Is it fast when checking a binary that you do have on your path?

nm, vim.uv.exepath doesn't do what vim.fn.executable does

Closing, since this not a lazy.nvim issue.
For more info, see
https://neovim.io/doc/user/builtin.html#executable()

Ok after I turned off windows WSL's appendWindowsPath it is fast again
❯ time nvim --headless -c ':lua local s = vim.loop.hrtime() vim.fn.executable("luarocks") print(string.format("%fms\n", (vim.loop.hrtime() - s) / 1000000))' +q

0.037370ms
nvim --headless -c  +q  0.03s user 0.00s system 67% cpu 0.048 total

However, since this is the default behavior of WSL it might still be worth it to defer this function.

I just pushed a changed so that that check only happens when needed


[FR]: Add ability to specify frontmatter fields that reference files

Issue validation

[X] My issue is not a question relative to Material Mkdocs nor Mkdocs (You can open a discussion to get more help!)
[X] I checked the issue to prevent duplicate

Workflow
Obsidian plugin 💠
Is your feature related to a problem ?
No.
What solution do you want to see ?
I use a plugin simply called "Banners" (Link). It allows me to specify an image using a frontmatter field (i.e., banner) which displays above my note. It would be nice if I could also use this field to identify the featured image of a particular note.
My idea is to allow users to specify frontmatter fields that are used to reference images/files that, if present, would trigger your plugin to send that file along with the Merge Request as well.
Describe the alternative you've considered
I have thought of:

Just not having featured images

But that's not as pretty!

Add the image at the top of the note

This would look weird with the Banners plugin (Though, I know that is not your problem)
I would have a hard time doing any custom styling for that image, especially if I wanted it to display elsewhere on my webpage

Use a combination of uploading the file manually and then use text replace to get the URL right

This could be a pain to setup and be prone to issues

OS
MacOS
Anything else?
I'm loving this plugin. Solves so many problems I was having. Thank you!

Nice idea, can be useful ! I will add it today :).

Please, could you try with the last BRAT beta for this FR ?
Close the issue if you don't see any error :)

My goodness that is a fast turnaround! Wasn't aware of BRAT, but got that installed and voila it works beautifully! Thank you so much!


Access to nightvision boolean

Hi,
first of, thanks for this excellent adapter!
Would it be possible to add access to the nightvision active value (on or off)? I would like use this in my Smart Home to recognize whether it's dark outside or not. I don't know how Eufy determines whether to switch night vision on or not, but should it be a light detector, access to this raw data would also be very interesting.
Thanks

Hi @Pongard,
I am sorry, but this information is not provided anywhere. Thus, I can not provide it either.


phoSim workflow

Create a workflow to run multiple instances of phoSim, initially at SLAC using the existing "pipeline" infrastructure.  Expect to exploit parallelization in one or two ways: 1) per visit; 2) using internal phoSim mechanisms, if possible.  Design the bookkeeping to interface with upstream (catsim/opsim) and downstream (DM) processing steps.

Sounds good! :-)

the easiest is to run a single visit of phosim as a condor job via the “-g condor” option.  we worked out the parallelization and the required I/O several years ago, and this is optimally efficient.  we continue to support this with all phosim releases.  this works well on various grids (OSG, diagrid, xsede, etc.)
john

On Dec 8, 2015, at 5:45 PM, Tom Glanzman<EMAIL_ADDRESS>wrote:
Create a workflow to run multiple instances of phoSim, initially at SLAC using the existing "pipeline" infrastructure. Expect to exploit parallelization in one or two ways: 1) per visit; 2) using internal phoSim mechanisms, if possible. Design the bookkeeping to interface with upstream (catsim/opsim) and downstream (DM) processing steps.
—
Reply to this email directly or view it on GitHub https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/69.

Also note that, if it's useful, you can specify which chip in a visit to run.  This is very useful if, for example, not all the chips are fully populated with sources.

How is "chip" used in the LSST world? Is it synonymous with "CCD", "sensor"
or "amplifier"?
Also, John, do you routinely add background noise to the eimages without
having PhoSim spend ages sampling the background? This seems like a major
speed-up.
On Wed, Dec 9, 2015 at 8:39 AM, SimonKrughoff<EMAIL_ADDRESS>wrote:

Also note that, if it's useful, you can specify which chip in a visit to
run. This is very useful if, for example, not all the chips are fully
populated with sources.
—
Reply to this email directly or view it on GitHub
https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/69#issuecomment-163318160
.

When I said chip I meant CCD.  This is also synonymous with sensor in our lexicon.
Based on this, I don't think there is not a command line option to simulate just Poisson background without doing the full sampling.
Peter Y. is working on a sky brightness model that might let us do this fairly accurately (with moon, twilight, etc.) as a post-burner step.

OK, thanks. The turn off chips facility will be useful for Twinkles 2
(if/when we start looking at big dithers).
I know Garret was doing some very simple post-processing to add in Poisson
background noise after a no-background PhoSim run, I just wondered if that
had been adopted as standard practice. It sounds as though the first pass
workflow should sample the background, and we can follow any alternatives
as they develop.
On Wed, Dec 9, 2015 at 10:38 AM, SimonKrughoff<EMAIL_ADDRESS>wrote:

When I said chip I meant CCD. This is also synonymous with sensor in our
lexicon.
Based on this
https://bitbucket.org/phosim/phosim_release/src/d912a460f8783c176146d4cdd4149337d3d5f822/phosim.py?at=master&fileviewer=file-view-default#phosim.py-611,
I don't think there is not a command line option to simulate just Poisson
background without doing the full sampling.
Peter Y. is working on a sky brightness model that might let us do this
fairly accurately (with moon, twilight, etc.) as a post-burner step.
—
Reply to this email directly or view it on GitHub
https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/69#issuecomment-163352357
.

to specify individual chips with phosim:
you can do everything with “phosim -s sensorName” as well as the “SIM_MINSOURCE” in the catalog
the former specifies the sensors that you only want (default would be all) and the latter specifies the minimum (non-background) sources per chip to bother simulating that sensor (default is 1)

I know Garret was doing some very simple post-processing to add in Poisson
background noise after a no-background PhoSim run, I just wondered if that
had been adopted as standard practice. It sounds as though the first pass
workflow should sample the background, and we can follow any alternatives
as they develop.

there is a background optimization set of parameters that can be taken up arbitrarily high to do that.  it would then get the throughput right but nothing else.  however, in practice there are many practical problems with basically ignoring the physics that affect the background but keeping the physics correct for the astrophysical sources (i.e. tree rings, chip edges, vignetting of the field, etc.)
remember we collectively have an enormous number of cpu hours and phosim is optimized and parallelized via condor scripts, so it is not that big of a deal to do the background with the default optimization.
john

On Wed, Dec 9, 2015 at 10:38 AM, SimonKrughoff<EMAIL_ADDRESS>wrote:

When I said chip I meant CCD. This is also synonymous with sensor in our
lexicon.
Based on this
https://bitbucket.org/phosim/phosim_release/src/d912a460f8783c176146d4cdd4149337d3d5f822/phosim.py?at=master&fileviewer=file-view-default#phosim.py-611,
I don't think there is not a command line option to simulate just Poisson
background without doing the full sampling.
Peter Y. is working on a sky brightness model that might let us do this
fairly accurately (with moon, twilight, etc.) as a post-burner step.
—
Reply to this email directly or view it on GitHub
https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/69#issuecomment-163352357
.

—
Reply to this email directly or view it on GitHub https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/69#issuecomment-163355318.

This is a bit off topic, but did we ever show that the default background optimization was good enough?  I thought there were still structure in the background at default values.

Attempting to view the online phoSim documentation at https://confluence.lsstcorp.org/pages/viewpage.action?pageId=4129126
notice that many links are broken, e.g., http://basov.physics.purdue.edu/lsst_sims links spin with "ERR_CONNECTION_TIMED_OUT", and most/all of the code pointers use dev.lsstcorp.org/cgit/LSST/sims/phosim.git/ which are empty (and obsolete?).  Is there a more up-to-date version of the documentation?

@SimonKrughoff could you please point me to an example phosim.py physics override file appropriate to use with the nine instance catalogs you produced?  Thanks!

Regarding SIM_MINSOURCE, I do not find it particularly useful in instances like this where some chips are partially covered and some are totally covered.  I find it easier to specify the chip exactly.

@TomGlanzman I ran with no physics override file before (thus the presence of clouds).  I'm trying the following one out now.  It will get rid of clouds and brighter/fatter.  We'll likely want to iterate on this a bit.
centroidfile 1
chargesharing 0
clearclouds

Thanks @SimonKrughoff   Did you happen to record any execution time differences between the various configurations?

I did not make those measurements.  As far as I can tell, runtime is always dominated by the sky brightness which varies from exposure to exposure.

A prototype task has been developed and (minimally) tested with five observations.  Data is registered in the dataCatalog.  It seems to work.  Runtimes vary dramatically, even over the five test runs (9 to 48 hours).  The next steps will be to ramp up production once instance catalogs are available.


Rename 'Request' to 'Requested amount' in Receive dialog

Should be: Request amount (optional)

Design: https://zpl.io/2p6ZGOr
Please pay attention only on "Request amount" block design.
Example:

Need to rename "Request amount" to "Requested amount".

Checked on master 5.2.9684.3240.


Cluster jobs won't run when --set-resource-scopes is used

Snakemake version
7.18.2+0.ga5c35239.dirty
Describe the bug
Bug in get_resource_scopes_args() in snakemake/executors/__init__.py line 117 - and as far as I can see this method does nothing useful and should be removed entirely.
Logs
After running:
$ snakemake --drmaa --set-resource-scopes foo=local

The main workflow starts but all cluster jobs fail on startup with an error like this in the log:
$ cat ~/tmp/slurm_job.GROUP.3572731.err
Invalid resource scopes: entries must be defined as RESOURCE=SCOPE pairs, where SCOPE is either 'local', 'global', or 'excluded' (Unparseable value: 'foo')

Adding a set -x line to the jobscript confirms that the local invocation of snakemake does indeed include --set-resource-scopes foo when the original command correctly said --set-resource-scopes foo=local.
Diagnosis
The function get_resource_scopes_args(self) in snakemake/executors/__init__.py simply says:
return format_cli_arg(
            "--set-resource-scopes", self.workflow.overwrite_resource_scopes
        )

format_cli_arg() in turn calls format_cli_pos_arg(value) which performs the test isinstance(value, dict) (at snakemake/executors/common.py line 15). It looks like workflow.overwrite_resource_scopes should pass this test and thus be formatted as key=value pairs but in fact it's an instance of <class 'snakemake.resources.ResourceScopes'> which inherits from collections.UserDict and does not pass the isinstance(value, dict) test. Therefore it gets formatted as regular iterable (ie. only the keys are added) and we get the error described above.
So the most obvious fix is to alter the test in snakemake/executors/common.py to say:
if isinstance(value, dict) or isinstance(value, collections.UserDict):

But I don't think this is right; just passing the original resource scopes down to the job is incorrect. From the perspective of the individual cluster job (be it a job to run a single rule or a group job) all resources are global resources, so passing --set-resource-scopes foo=local into the job makes no sense. In the case of my workflow, removing the call to the get_resource_scopes_args() method entirely yields the expected behaviour.
So you should consider simply removing this method and the single line that calls it, but this may break other use cases I don't understand.
TIM

Thanks for the report, it's not the first time the UserDict != dict has caught me. I think your final conclusion is correct, but I'll take a look again through the code to be sure.

Thanks @pvandyken . I've used another approach in the end for my workflow as the resources mechanism ultimately wasn't doing what I needed.
Possibly the more robust approach for the code in common.py is to try the first option that uses value.items() and then handle the exception, rather than having an if isinstance() test - following the Python principle of EAFP.

I looked over the conversation in #1218 again, and can confirm that there's no current need to pass resource scopes to a subworkflow (because, as you say, all resources so passed are 'global' anyway), but we did make the explicit decision to do so in case it's useful in the future.
I agree with your comments on the try block. I'll go ahead and implement that now


iio: get absolute path from realpath() returned path

Instead of using the path input from user, change to use path returned from
realpath() function to eliminate looping issue.
Signed-off-by: Kweh, Hock Leong<EMAIL_ADDRESS>

@barbieri, @edersondisouza, @bdilly, @yongli3, @ceolin, @lblim please help to review for issue #2088

+1,
can someone merge? @bdilly @ceolin

merged, thanks


foo.bar-baz is broken

foo.bar works, but foo.bar-baz is compiled to foo.bar_baz
For example,
> (define-global system (require 'system))
(write-file: function write: function read-file: function argv: ("/Users/vagrant/.sol/lib/lumen/sctb/bin/lumen.lua" "luajit") path-join: function file-exists?: function path-separator: "/" exit: function get-environment-variable: function)

> system.argv
("/Users/vagrant/.sol/lib/lumen/sctb/bin/lumen.lua" "luajit")

> system.write-file

> (get system 'write-file)
function

I believe the correct fix is to add define-syntax to Lumen's compiler, since foo.bar-baz is shorthand for (get foo 'bar-baz).
This would also enable applications to add their own syntax, e.g. ~foo expanding to (complement foo), which is necessary for my purposes.

There is full reader extensibility in Lumen, and foo.bar-baz was in fact implemented in the reader function for atoms, before it was recently removed. (get reader 'read-table) is available for modification (as of d646a4b89), and the the reader function for atoms is at (get read-table "").

Certainly.  What I meant to highlight was,
> ((get (require 'reader) 'read-string) "(foo.bar)")
("foo.bar")

is correct behavior.  It would be incorrect for this to yield ("get" "foo" ("quote" "bar")) for example.
It seems the job of the compiler (specifically compiler.expand) to translate foo.bar into (get foo 'bar).
For instance, imagine we implement a dialect of Lisp using Lumen.  We would like to expose a read function to it such that the dialect can run (eval (read "(+ 1 2)")) which yields 3.  What would you say would be the correct way to accomplish this?  Should I re-use Lumen's reader, or write a custom read function which is then exposed to the language?

I don't believe it's the compiler's job to translate foo.bar, because macros need to be able to operate on s-expressions. That is, all of the syntax needs to be squeezed out by the time the reader is done so that macros can understand the meaning of expressions.
There are a few possibilities for building dialects on top of Lumen:

Manipulate the existing read-table and call Lumen's read
Implement a separate reader
Call Lumen's reader first, then process its output further

A mixture of these approaches also seems possible. For what it's worth, the Arc compiler generally does the equivalent of #3.

Ok, PR #14 extends Lumen's reader to convert foo.bar into (get foo 'bar).
It seems like a good idea to merge it into mainline Lumen rather than leave it up to Lumen's users, especially because "." recently became a valid-code?
What do you think?


Move assets out of repo, run nbstripout

Should make initialising a pre-commit hook with this repo slightly lighter

Codecov Report

Merging #476 (c5618a4) into master (d4d2e6b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #476   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          722       722
=========================================
  Hits           722       722

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 d4d2e6b...564c27d. Read the comment docs.


Add visibility_changed notifications to Viewport2Din3D hosted scenes

This PR triggers visibility_changed notifications to 2D scenes hosted in a Viewport2Din3D when the 3D visibility changes.
Additionally as requested, this PR also disable physics and viewport rendering when the Viewport2Din3D is invisible

If a Viewport2Din3D is not visible we should:

set the update mode to disabled to stop wasting rendering resources
disable the collision shape
When it is visible:
set the update mode depending on our throttle logic as it is right now
enable the collision shape

If a Viewport2Din3D is not visible we should:

set the update mode to disabled to stop wasting rendering resources
disable the collision shape

When it is visible:

set the update mode depending on our throttle logic as it is right now
enable the collision shape depending on user setting

Done


Unify the logic on sidecar injection and service creation

Description
The k8s resource that needs to be injected needs to be created at the same time as the k8s service to ensure that the service can be provided externally
Issue reference

Please reference the issue this PR will close: #6967
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@JasonChen86899 it would be great if you could add support for a StatefulSet also

@yaron2 StatefulSet has been already supported before my modify.

@yaron2 StatefulSet has been already supported before my modify.

The problem we have with StatefulSets today is that we don't allow to invoke a particular pod within the set and that's a common ask. I know what needs to be done for this but let's leave it out of this PR.
In the meantime, the end to end tests are failing on current changes.

The problem we have with StatefulSets today is that we don't allow to invoke a particular pod within the set and that's a common ask. I know what needs to be done for this but let's leave it out of this PR.
understood, we can use headless service to meet this need

In the meantime, the end to end tests are failing on current changes.
this e2e test failed, It doesn't seem to be logically related to my changes

=== FAIL: tests/e2e/tracing_zipkin TestInvoke/Simple_HTTP_invoke_with_tracing (0.67s)
2024/06/23 18:18:09 Waiting until service ingress is ready for tracingapp-a...
2024/06/23 18:18:09 Service ingress for tracingapp-a is ready...: url=<IP_ADDRESS>:31885
2024/06/23 18:18:09 Waiting until service ingress is ready for tracingapp-b...
2024/06/23 18:18:10 Service ingress for tracingapp-b is ready...: url=<IP_ADDRESS>:30526
    tracing_zipkin_test.go:105:
            Error Trace:    /home/runner/work/dapr/dapr/tests/e2e/tracing_zipkin/tracing_zipkin_test.go:105
            Error:          Received unexpected error:
                            invalid character '{' after top-level value
            Test:           TestInvoke/Simple_HTTP_invoke_with_tracing
    --- FAIL: TestInvoke/Simple_HTTP_invoke_with_tracing (0.67s)

=== FAIL: tests/e2e/tracing_zipkin TestInvoke (0.67s)

@JasonChen86899 please resolve the conflicts

@JasonChen86899 please resolve the conflicts

I will work out it recently


Add deletecollection verb.

Issue #, if available: Fixes https://github.com/aws/aws-cloud-map-mcs-controller-for-k8s/issues/225
Description of changes: Add deletecollection verb. To fix the error encountered with k8s DeleteAllOf operation on endpointslices.discovery.k8s.io.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #248 (02e7184) into main (4dc8b4d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #248   +/-   ##
=======================================
  Coverage   71.47%   71.47%
=======================================
  Files          17       17
  Lines        1697     1697
=======================================
  Hits         1213     1213
  Misses        406      406
  Partials       78       78

Impacted Files
Coverage Δ

...kg/controllers/multicluster/cloudmap_controller.go
52.86% <ø> (ø)

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 4dc8b4d...02e7184. Read the comment docs.


New and more accurate name for libp2p-swarm

The word swarm keeps on making me think about a set of peers,
while instead this module is not.
Can we find a more appropriate name for this?
(sorry for bringing this up, but this is bothering me!)

This issue was brought up during the IPFS workshop, I agree that we should change it, it confuses a lot of people.
I propose net-machine, as net is traditionally the package name available in languages that exposes a dial/listen interface + this module really is (needs to be) a state machine to handle all of the concurrent requests for dialing to a peer (or the same peer), upgrading the connection, etc. Also, I think that net-machine sounds cool and it is a pretty unique name from everything out there.
I summon the gods of the 🚲 🏠 to come forward and comment here @jbenet @whyrusleeping

I thing this is really a switch
On Sat, Aug 6, 2016 at 13:25 David Dias<EMAIL_ADDRESS>wrote:

This issue was brought up during the IPFS workshop, I agree that we should
change it, it confuses a lot of people.
I propose net-machine, as net is traditionally the package name available
in languages that exposes a dial/listen interface + this module really is
(needs to be) a state machine to handle all of the concurrent requests for
dialing to a peer (or the same peer), upgrading the connection, etc. Also,
I think that net-machine sounds cool and it is a pretty unique name from
everything out there.
I summon the gods of the 🚲 🏠 to come forward and comment here @jbenet
https://github.com/jbenet @whyrusleeping
https://github.com/whyrusleeping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/libp2p/js-libp2p-swarm/issues/40#issuecomment-238034905,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIcoRc5jqWY7tz_1XrDuQTA-mz4HMDbks5qdMN9gaJpZM4ILSs7
.

(what is 🚲 🏠?)

(what is 🚲 🏠?)

🚲 = bike
🏠  = shed
🚲 🏠  = bikeshedding

switch-machine?

stateful-net
switch
dialer

I dont like the name combination <thing>-machine, its very big for this sort of thing, this is going into all our code. run any name change through what it would look like in js-ipfs, go-ipfs, go-libp2p, js-libp2p, docs, and so on.

"swarm" is there because it's "the thing that lets me talk to the swarm", and there are equivalent packages named swarm for bittorrent.

After much thought, I think:

"switch" is what this part is called in most networking architectures.
the name is apt, the swarm by itself IS NOT doing connection discovery, it's only doing connection management and information flow (what traditionally switches (inc NICs) do)
Switch works very well with all our code, works as well as Swarm.
libp2p.Switch looks excellent.  libp2p.Router looks good too
"switch" is a MUCH more accurate name, that carries all the notion of "the think in a networked computer that handles the low level networking, packet flow, and connections". this thing is doing "circuit switching", and its the physical machines and operations at bell that was called "a switch" and "switching" that seeded the name for these devices (hardware or software.

To put objections that "switch means packets", note that circuit switching came before packet switching, so "switch" is not just about packets.

Aaand the "switch" was supposed to be a distinct component between the swarm and the transport.
Maybe we can come up with a term that carries a manager/controller-type meaning? I liked "dialer", but this is too closely tied to the network libraries we use. We need something that says "I set up connections, maintain them, tear them down, and generally make sure you're part of the swarm".

circuit

@lgierth watch the video for switches, it's awesome.
The original meaning of "switch" was a circuit switch that kept connections
open. They were pretty smart compared to their internet counter parts.
I'm down to keep looking for other words. And we should think through how
this thing will operate in light of packet switching for sure, before
renaming. Great call
On Mon, Aug 22, 2016 at 08:43 Lars Gierth<EMAIL_ADDRESS>wrote:

circuit

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/libp2p/js-libp2p-swarm/issues/40#issuecomment-241400950,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIcoUHdiTR8gHOdhnBLTlMLHvIl_Am6ks5qiZlvgaJpZM4ILSs7
.

Juan has won this one, it shall be known as switch now.
Will rename it when time enables.

Yeah switch is good.
Renaming will be a beast though -- do we already have its Core API defined? At least there's HTTP API and CLI functions in go-ipfs that must stay available.

@lgierth trick is exactly that, this is a building block, not the API that is being exposed at the IPFS cli/http api, they just share the same name and after the rename they wont anymore :)

Ugh I don't know... if you and @jbenet have strong opinions about renaming to switch I'm all for it, but doesn't this not exactly help with consistency?
What is the swarm that's being referenced in the APIs and CLI then, if not the libp2p swarm?

Yeah, that is the confusion, the CLI/HTTP API Swarm is not this module. This module is the piece inside libp2p that does all the dialing in parallel to multiple transports, does the connection upgrades and also does the Protocol Muxing.

Okay but was it the swarm on the CLI/HTTP API then? I feel like that's important to define beforehand, otherwise it will lead to confusion.

Swarm on the CLI/HTTP API are the network plumbing commands that were created before libp2p existed, they will continue to exist and be supported.
I do have a proposal (to make at some point) that we should just have ipfs libp2p or ipfs p2p  and expose all the new networking primitives through there.

I am new to the conversation, but I definitely think swarm makes me think of other things. Recently was reading the following for example.
A decentralization approach for swarm intelligence algorithms in networks applied to multi swarm PSO
By: Merkle, Daniel, Janson, Stefan, Middendorf, Martin
In:   International Journal of Intelligent Computing and Cybernetics
Multi swarms for neighbor selection in peer-peer overlay networks.pdf

The thing is now called a Switch \o/
Thank you everyone that participated in the discussion :)

Reading through this issue as part of the libp2p roadmapping effort for 2019, and I loved the discussion. Just wanted to say that ❤


Concurrent streaming while recording not working as expected

We are trying to implement an SDK in Xamarin to support IoS / Android / UWP consumers , where in we wanted to stream the audio while recording from microphone to CRIS to get the speech to text transalation while talking and return the response to the consumer so that he can display it on the screen progresively. We read the documentation of the Audio Recorder plugin for Xamarin and found that it supports concurrent streaming as per the documentation (It's also possible to get a stream to the recording audio data as it's being recorded). We also referred to the Bing Speech implementation provided in the documentation.
However, we are not able to achieve this functionality. Our observation was that when StartRecording is invoked, a wav file is being written to the GetAudioFilePath () - audiofilepath (ARS_recording.wav) and it always 0 bytes while being on a recording mode (via microphone). Only when StopRecording is invoked the stream writer internally flushes the bytes to the Wav file. Hence the below code recorder.GetAudioFileStream() does not streams any data during recording due to the fact that file ARS_recording.wav is always 0 bytes while recording.
// start recording audio
var audioRecordTask = await recorder.StartRecording ();
using (var stream = recorder.GetAudioFileStream ())
{
// this will begin sending the recording audio data as it continues to record
var simpleResult = await bingSpeechClient.SpeechToTextSimple (stream, recorder.AudioStreamDetails.SampleRate, audioRecordTask);
}
Please let us know if we are in the right path and the plugin will help us in solving the above mentioned usecase.
Thanks,
Lakshmi Narasimhan V

We figured out the issue and made a fix on writing the WaveHeader for the first stream of data  and also the SampleRate needs to be provided as 44100 instead of 16000 from the calling client.

A bit late here, but...
The filestream is being written to during recording here.  StopRecording only writes the WAV header after all recording is finished and it knows the length to insert in the header.  It's not controlling the buffering or flushing of the file (that's left to the OS, and does likely not flush to the file until it's closed), but while the stream is being written to, you can also grab the stream of audio (NOT the file stream) and do other things with it, as shown.  Glad you figured out the SampleRate you needed - that should be configurable via the lib but if you see issues there feel free to log another issue.

Hi @NateRickard, the GetAudioFileStream() method only gives us read only stream. I want to write WAV header with AudioFunctions.WriteWaveHeader(Stream stream, int channelCount, int sampleRate, int bitsPerSample) method. Is the stream parameter the same as stream from GetAudioFileStream()? Because I had error Stream is not writable.
P/s: sorry if the question is trivial, but I just start using your package and had few knowledge of audio recording.


Updating to latest Ubuntu version in cli dockerfile

Creating this PR to update the indy-cli base image version from 16.04 to 20.04. I have also updated the dependencies required to install libindy and indy-cli. Looking for feedback from the maintainers if this will break any other test/workflow and fix accordingly.

Closing this PR as this is not relevant anymore.


Conversation Stopped After a While

Backend impacted
The MLX implementation
Operating system
Mac OS X
Hardware
Metal with MLX
Description
I received the following stack trace after going through with the conversation (and playing some music), with the following stack trace in the extra information. The conversation stopped after that, with no reply from moshi.
Extra information
[Info] accepted connection
error in encoder thread narrow invalid args start + len > dim_len: [4096, 32], dim: 0, start: 4096, len:2
error in encoder thread narrow invalid args start + len > dim_len: [4096, 32], dim: 0, start: 4096, len:2
error in encoder thread narrow invalid args start + len > dim_len: [4096, 32], dim: 0, start: 4096, len:2
error in encoder thread narrow invalid args start + len > dim_len: [4096, 32], dim: 0, start: 4096, len:2
error in encoder thread narrow invalid args start + len > dim_len: [4096, 32], dim: 0, start: 4096, len:2

Environment

Operating system version: MacOS Sonoma 14.6.1
Mac model: M1 Max 64GB

Yes that's expected, once it reaches the max cache size, conv will stop. That should match roughly 5 min of conv. We will try to expand that in the future.

Not clear yet if we are going to fix this or not. I'll keep the issue open until we decide :)
There is not technical challenge, mostly just bandwidth to implement and test it!

#104 should make the MLX conversations ~2x longer (the culprit was that rustymimi only add a max-seq-len of 4096 but the mimi transformer runs at twice the frame rate of the main moshi transformer).
Longer term, we'll be adding a rotating kv cache in candle https://github.com/huggingface/candle/pull/2493 , this should make infinite conversations possible though as Alex mentioned the model is only trained for ~5 mins with the current training pipeline.

@LaurentMazare now that the pr is merged, would it be possible to trim all tokens older than n minutes, so even if it loses context at least it can stay somewhat coherent.


inappropriately incomplete value with disjunction of definitions when exporting

Running cue export on the following CUE code fails even even though the a value is correctly specified:
a: {
	x: "one"
}
a: X | Y

X :: {
	x: "one"
}

Y:: {
	x: "one"
	y: "two"
}

The error is:
a: cue: marshal error at path a: cannot convert incomplete value "(C{x: (\"one\" & \"one\")} | C{x: (\"one\" & \"one\"), y: \"two\"})" to JSON:
    ./bug.cue:1:4
    ./bug.cue:4:4

Indeed, CUE defines that less-specific disjuncts should eliminate more-specific ones. In this case, because of the indirection this is not generally possible, which is why evaluation doesn't, but the redundant disjunct (Y) should indeed be removed before exporting at least.

Ah, I see what the problem is. Logically, because Y and X are both closed, Y is not an instance of X. So this disjunction is actually ambiguous, so CUE cannot determine which of the two types it should pick.
The way to resolve this is to make one of the structs a default (with a *).

For broader context, from an offline discussion, consider the following:
X :: {
	kind: "X"
	x:    "one"
}
Y :: {
	kind: "Y"
	x:    "one"
	y:    "two"
}
a: {x: "one"}
a: X
b: {x: "one"}
b: Y
c: {x: "one"}
c: X | Y

Here c represents the relaxed version of either a or b. CUE has no way of knowing which. To break ties, write c: *X | Y or c: X | *Y.

This issue has been migrated to https://github.com/cue-lang/cue/issues/224.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


PLAT-1004: ensure the field names are stored using constant pointers …

…within StructureDescription

This was already fixed in MLDB: https://github.com/mldbai/mldb/blob/master/types/value_description.cc#L360
I would consider taking the fix from MLDB to avoid the code diverging further.

@jeremybarnes I thought so too, but the problem I am solving here does occur with MLDB (updated master and all) as well on Ubuntu 16.04. It has been occurring since at least 15.10. Although they solve a similar issue (hence their inclusion in this pr), the = operators do not change the nature of the problem because it occurs during the call to "addField/addFieldDesc" and not during the copying of instances.

+1

Squash merged


Evaluate the transforms that happen to an embedding after it's pulled from the embedding table so that pretrained embeddings can be processed in the same way.

The objective is to list all the transforms that can be applied to continuous inputs and supported by T4Rec and make sure they are applied to the input pretrained embeddings features as well.

closed by #690


Administrator can manually add new early access user accounts

An Administrator should be able to manually add new user accounts to the system.
They should be required to enter the following information:

Full name
E-mail
Re-enter e-mail
Affiliation/Organisation (also allow ‘personal’)
Affiliation type - display the following values:

Academia
Public sector
Private sector
IGO
NGO/not-for-profit organisation
Individual
Other

The user should enter the same email address in the "Email" and "Re-enter email" fields. If there is a difference between the two, an error should be displayed.
If "Other" is selected, the user should be able to enter a free text affiliation type. This field will be disabled unless "Other" is selected.

Hey team! Please add your planning poker estimate with ZenHub @eurolife @ingemar-cpr @kdutia @opyate

See #244 about adding new fields.


Uncaught TypeError: Cannot read property 'date' of undefined

(index):128 Uncaught TypeError: Cannot read property 'date' of undefined
    at (index):128
    at Object.<anonymous> (d3.v3.js:1996)
    at Object.event (d3.v3.js:504)
    at XMLHttpRequest.respond (d3.v3.js:1949)

I've tried looking around to fix it, but I'm too stupid and don't know much about coding.
The capture script is working as intended, changed a few things but your index page doesn't seem to work anymore, sure it's been 3 years.
I was hoping maybe you'd look at fixing it? Maybe, maybe not.
Cheers!

Wow, I'd forgotten I'd event put this together :)
I'll see if I can get it fixed up...

Nice! I really appreciate you taking the time to look at your 3-year-old repo! :D

Ok found the issue. The scripts were not writing out the headers for the .CSV file so it wasn't  getting loaded by the webpage correctly. Have tweaked the capture.sh script.
However I also took the opportunity to clean things up and containerize the tool using Docker. Will make it much easier to get up and running. See the `README.md`` for more info.
Let me know if this works for you.

Okay cool. I've tested it and it's working as previously intended! :)
Thanks for looking back at this project haha! +1

No problem. Was fun to dust this off :)


PhotoView gets in front of FAB

Im displaying an image view on the content layout which is included in one activity layout. this activity layout contains a red floating action button, whenever the photo is attached to PhotoView Attacher, the fab goes behind the image view.
What can I do? Is there a way to let fab be "always on top" or the image "always on botton"?

The order is defined by the order you add the views to the ViewGroup, aka if you add it last in the XML, it will be on top. On 5.0+, the elevation also has an effect on the order that views display. So, adjust each of these values and it should resolve this


In AssetCatalog cannot use Scales = Single Scale

This might related.

Review the latest update and respond here: New Comment
This is critical—take action now.
Stay secure!


Testing build

link -nologo -debug -incremental:no -opt:ref -manifest -def:./win32/zlib-ng.def -dll -implib:zngdll.lib  -out:zlib-ng1.dll adler32.obj  chunkset.obj  chunkset_avx.obj  chunkset_sse2.obj  compare256.obj  compare256_avx2.obj  compare256_sse42.obj  compress.obj  cpu_features.obj  crc32.obj  crc32_comb.obj  crc32_fold.obj  crc32_fold_pclmulqdq.obj  deflate.obj  deflate_fast.obj  deflate_huff.obj  deflate_medium.obj  deflate_quick.obj  deflate_rle.obj  deflate_slow.obj  deflate_stored.obj  functable.obj  infback.obj  inflate.obj  inftrees.obj  inffast.obj  insert_string.obj  insert_string_roll.obj  insert_string_sse42.obj  slide_hash.obj  slide_hash_avx2.obj  slide_hash_sse2.obj  trees.obj  uncompr.obj  zutil.obj  x86.obj gzlib.obj gzread.obj gzwrite.obj zlib-ng1.res
zlib-ng.def : error LNK2001: unresolved external symbol zTest_zng_inflate_table
zngdll.lib : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.EXE"' : return code '0x460'

@nmoinvaz I still don't know what is the cause of build errors, but I don't think it is the mangling itself. I was only failing for ng+prefix. With my attempted fix, 3 combinations are failing. Which makes me think that inflate_table was forgotten somewhere, or put in a list where it doesn't belong. Or has improper export decoration. Or something of that sort.

zng_inflate_table should not be exported as the function is marked as internal... If zlib_name_mangling.h doesn't get included from inside inftrees.c, the symbol might not get mangled correctly when custom prefix is used.

Closing this, as #1132 now has the fix.


[discussion]: vite is ready for storybook?

In https://github.com/netless-io/telebox-insider vite is ready for storybook

Is flat component need public storybook to somewhere?
@hyrious @BlackHole1

Is flat component need public storybook to somewhere?

Yes, at https://netless-io.github.io/flat.
@crimx May you have a look at storybook on vite?

After my investigation last week, I found that the coexistence of vite and webpack is not a bad idea so far.

In https://github.com/netless-io/telebox-insider vite is ready for storybook

@Cyberhan123  Nice observation! Flat requires more features from storybook than telebox-insider which is still in development. We will migrate to storybook-builder-vite once https://github.com/eirslett/storybook-builder-vite/issues/2#issuecomment-823064989 is resolved.

Let the bullet fly for a while，I will keep this issue，and provide a PR with [WIP] label

We also want to move to pnpm once storybookjs/storybook#13428 get resolved.

We also want to move to pnpm once storybookjs/storybook#13428 get resolved.

The storybook plugin have an new version for suport react typescript, I'll try it soon.

Synchronize the progress, I may need to fix this first
https://github.com/eirslett/storybook-builder-vite/issues/233#issuecomment-1035720208

Storybook 6.5 has brought vite builder into the official core.
https://storybook.js.org/blog/storybook-6-5/#vite-builder-for-instant-rebuilds

Storybook 6.5 has brought vite builder into the official core. https://storybook.js.org/blog/storybook-6-5/#vite-builder-for-instant-rebuilds

I'll start investigating this migration


[6.x] Set MySQL charset

My database is mysql8.
And there's an exception when $connection = $this->createConnection($dsn, $config, $options);
so we need set charset befor create a connection.

The exception
Uncaught PDOException: SQLSTATE[HY000] [1045] client charset is not supported

I'm connecting to MySQL 8 with Laravel without issue.


Web App

-Front-end UI has been created with limited functionality. Will need to be optimized to reduce load times.
-MongoDB connection has been established with test data added, along with encryption
Database cluster: https://cloud.mongodb.com/v2/6173283237f9eb54244d8feb#clusters

Great work!


Nothing happens when you're launch decryptor

Hello!
Nothing happens when you're launch decryptor - only blackscreen, application is not hang, it responding to Options button, you're able to close it.
PS4 Pro 9.00 with HEN 2.2, I will not update HEN and esp32 s2 host - it is works fine with my games.

Thanks for reporting the issue. Actually I have not tested this because I don't have a jailbroken PS4. A friend of mine was tested the original version https://github.com/idc/ps4-pup_decrypt and it also does not work. My plan is I'll comeback to work on this later when I have time.

Probably we need a debug logging output as overlay.

I can provide the instructions for building the original version if you want, just let me know :)

Can you build original version, but ready to install, I mean PKG?

This repository is what you described. The code is exactly the same as the original version.


Chunks doesnt load by big Builds

Issue description
Since the Latest My Plot Update, many chunks doesnt load correctly
It happens very rare but i send you a Screen to reproduce this.
Steps to reproduce the issue

... Fly to a very Big Building
... Chunks crash
... It happens when tp or fly ist active

OS and versions

Plugin Version: 1.7.1
PocketMine-MP: 3.14.2
PHP:7.0
Game version: PE

Other Plugins

Multiworld Dev 162 Beta 1

If you remove all other plugins, does the issue still occur? Yes
If the issue is not reproducible without other plugins:

Have you asked for help in the community discord before creating an issue?
Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section.

Known issue with Pocketmine


Add TLSConfiguration to Kubevirt

What this PR does / why we need it:
Add TLS Configuration to Kubevirt spec.
This configuration allows specifying minTLSVersion and ciphers that will be used for the client/server communication.
TLS golang crypto package [1] allows overriding the Config that will be used for the communication specifying the GetConfigForClient function. Reading tlsConfiguration from kubevirt CR inside this function allows us to always have updated information.
Possible values for minTLSVersion are:

VersionTLS10
VersionTLS11
VersionTLS12
VersionTLS13

Values for ciphers are strings using the IANA syntax, and more specifically these:

https://cs.opensource.google/go/go/+/master:src/crypto/tls/cipher_suites.go;drc=ea5d7cbc2644643331bd675b1ebdf0aaac7419f1;l=53
https://cs.opensource.google/go/go/+/master:src/crypto/tls/cipher_suites.go;drc=ea5d7cbc2644643331bd675b1ebdf0aaac7419f1;l=82

General note about crypto package:

server always gives precedence to the maximum supported version provided by the client
it is not possible to specify ciphers when minTLSVersion is 1.3
This means that, since we only specify minTLSVersion, communications between components (virt-handler/virt-api/etc) will be performed with TLS 1.3.

[1] https://pkg.go.dev/crypto/tls#Config
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Add `tlsConfiguration` to Kubevirt Configuration

/test all

/test all

/cc @xpivarc @davidvossel

/retest-required

Personally I still think that letting the admin simply choose between a small set of predefined profiles, with the capability of eventually set a custom configuration, is an interesting idea.
Mozilla Foundation's Server Side TLS profiles are well known and pretty accepted as a de facto standard, although not so directly coupled in k8s ecosystem.

BTW should we also add the TLS configuration to the export proxy components?
https://github.com/kubevirt/kubevirt/blob/8397604ac340cd6fa8becfb6373d47744ab9f13a/cmd/virt-exportproxy/virt-exportproxy.go#L97
@akalenyu You're right, the export proxy was added later my initial PR and I forgot to address it. Thanks for notice it.
Will adjust the commit!

/retest-required

@enp0s3 PTAL

/test pull-kubevirt-e2e-kind-1.22-sriov-nonroot

/test pull-kubevirt-e2e-kind-1.22-sriov-nonroot

@enp0s3 Thanks for your review! I've addressed your comments and rebased too! PTAL

@fossedihelm Thank you!
/approve

Rebased

@xpivarc Pushed the requested changes from the commets. PTAL, thanks

/retest-required

@xpivarc Pushed requested changes. PTAL

/lgtm
/hold
@enp0s3 This changed a little bit. Remove hold if you are still ok with this.

/retest

/unhold

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required

/cherrypick release-0.53


LinkedList

A Linked List data structure. Used to store data in sequential order.
Checklist

[x] api
[x] implementation
[x] tests
[x] types
[x] documentation

API
class LinkedList {
  // props
  size

  // methods
  add(item)
  addAll(items)
  remove(item)
  clear()
  [Symbol.iterator]()

  // classes
  class ListNode {}
}

Specifics
This implementation provides a singly-linked list. The list is created by boxing each item into a node and storing a reference to the next item in the list.
Notes
N/A
References

1.3   Bags, Queues, and Stacks - Algorithms (4th ed)
AbstractSequentialList - Java

Added in v0.1


Add a query filter

It could be interesting to have a way to filter queries when we look for some specific queries in the cache (a usecase could be the useQueriesState composable, cf https://github.com/posva/pinia-colada/issues/23).
For example, here is the query filter provided by TanStack Query : https://tanstack.com/query/latest/docs/framework/react/guides/filters#query-filters

Yes, this would be nice and needed for retrieving some shared state

This is now possible with .getEntries(). The resulting entries can be passed to individual methods instead of duplicating methods


Does not display large changes - how to fix it?

Config:

Config path:
gitea/conf/app.ini

Gitea version (or commit ref): 1.0.1
Git version: 2.7.4
Operating system: Ubuntu 16.04
Database (use [x]):

[ ] MySQL

If the settings are transferred to the config on a different path, then everything will work:
https://github.com/go-gitea/gitea/issues/1212#issuecomment-285841771


Checkbox enable,disable, select, deselect in jstree

Thanks for the wonderful plugin. I am using it in my project along with jstreegrid.
I could use a json generated from database for rendering jstree and jstreegrid. Now, based on values of some keys in json, I want to enable/disable and select/deselect checkboxes in jstree. Please have a look at http://jsfiddle.net/tharas/gw9ch970/61/.
A typical node in my json looks like
{         "id": 3,         "text": "Class(Country burnt)(8\" 4\" 4\")(high quality)",         "parent": "2",         "data": {             "item_id": 3,             "mal_item_name": null,             "data_needed": "Y",             "def_unit_id": 9,             "col_unit_id": null,             "shop1_price": 100,             "shop2_price": null,             "remarks": null     }
For each node, i have the following requirements:
if data_needed == 'Y', enable checkbox (entire row), other wise disable checkbox(entire row)
if shop1_price != null, select checkbox, other wise deselect checkbox
With so many questions and answers found through google search, I could not decide which ones are applicable for latest version 3.0.9. So please provide solution or point to relevant links.
Thanks.

jstree uses the state key for this. Please read here:
https://github.com/vakata/jstree#the-required-json-format (you need selected and disabled)
If you have any questions specific to the jstreegrid plugin - please ask the plugin author (it is a 3rd party plugin - kudos to the author).
Best regards,
Ivan


Added Xtensa LX7 Data Book

Thank you!

Thank you!

Thanks to you as well, I love reading documents from your repository :)