iOS 11 - Photos in HEIC Format

Hi, since iOS 11 Photos are save as HEIC Format in iCloud and also downloaded as such.

This is completly useless for windows / linux... Maybe convert themautomatically to jpg could be a solution?

Ah, that's a great idea. Pull requests would be very welcome!
I had a quick look to see how easy that would be, and found this python script that can convert HEIC images to PNG:

https://github.com/ImageMagick/ImageMagick/issues/507#issuecomment-330418013

I can't tell you the number of ways this is wrong. So what if iOS 11 supports HEIC?
HEIC has wide ranging applications that go far and beyond iPhone and iPad users.
What about encoding HEIC in ImageMagick too? Uncompressed/raw images could be converted to HEIC, saving space. Wouldn't that be worth quite a lot?
Decoding HEIC is clearly important on non-iOS and macOS systems. Some users might be sent HEIC and not have access to iOS and macOS.

@mattwaltbriggs Sorry what do you mean? Do you want to see an option to both encode and decode HEIC images?

Encode and decode HEIC would constitute support for HEIC, so yes. :)


Weighting algorithm integration

The new weighting algorithm should be fully integrated into the application and used by the web service.

The weighting algorithm has been integrated. See "weights.py".


ASimFileEventMicrosoftSysmon.yaml-27

Required items, please complete
Change(s):

Created a new file for WindowsEvent and added WindowsEvent parser in it. In Event file removed WindowsEvent parser and in ASimFileEvent added WindowsEvent Parser name  and same changes have done for vim as well.

Reason for Change(s):

To Split the WindowsEven and Event parser separately

Version Updated:

yes

Testing Completed:

yes

Checked that the validations are passing and have addressed any issues that are present:

yes

Hi @Alekhya0824,
Please check below failed KQL validation. Thanks

Hi @Alekhya0824,
Validations failing please check. Thanks

Hi @Alekhya0824,
Please work on open comment. Thanks


implement halofit

Right now IIUIC, when people request EH98 for the transfer function, they are not getting halofit back out for the non-linear power spectrum. I think this is pretty weird TBH. We should have halofit for this.

This is related: https://github.com/LSSTDESC/CCL/issues/445
It seems strange to me, and completely unnecessary, to get halofit from CLASS.

FYI, I am pulling code from here: https://github.com/beckermr/cosmocalc/blob/master/src/nonlinear_powspec.c


[Bug] no main manifest attribute in jar

mvn clean package

Completed in https://github.com/apache/eventmesh-dashboard/pull/65


Forced upgrade to 3.2.10

I have an ancient iMac that cannot be upgraded beyond os x 10.13, which openMTP no longer supports. I would be fine staying with 3.2.0, but when run it downloads the newer, unsupported version and restarts. Maybe could could check the OS version before doing the upgrade?

For the macos below 10.14 turn off the update and use OpenMTP .
Download https://github.com/ganeshrvel/openmtp/releases/tag/v3.2.0
The update is optional. You may turn it off in the settings. Just turn off internet before opening the app and turn off the auto update

Great, thanks.
"Just turn off internet" was the secret I was missing.
On Wed, Feb 8, 2023 at 9:05 AM Ganesh Rathinavel Medayil <
@.***> wrote:

For the macos below 10.14 turn off the update and use OpenMTP .
Download https://github.com/ganeshrvel/openmtp/releases/tag/v3.2.0
The update is optional. You may turn it off in the settings. Just turn off
internet before opening the app and turn off the auto update
—
Reply to this email directly, view it on GitHub
https://github.com/ganeshrvel/openmtp/issues/323#issuecomment-1422189899,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROGCE3EZ55E4ESAOTL2FCDWWNHWFANCNFSM6AAAAAAUU5LCMU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Is bioconda also a user?

Bioconda can also link to bio.tools, containers or Galaxy instances ... does this classify as a user?

To me, user is still not properly defined, it can mean either "i cross link to other resources" or more restrictively "i display/use these crosslinks". does bioconda also display those links somewhere?

I just answered my own question, it does. then I guess bioconda is a user/application . Thanks for raising the point!


Implement other terminal drivers

Consolonia has abstraction IConsole which has two implementations: DefaultNetConsole for standard System.Console and UnitTestConsole for unit testing.
System.Console has several imiltations, for example it filters out mouse and window events.
Investigate gui.cs - should bring mouse, keys up/down support and better window events. Similar topic has been raised at https://github.com/migueldeicaza/gui.cs/issues/27
As an outcome of this task create more details tasks on implementing other drivers.
Same time consider refactoring IConsole itself: SetCaretPosition/GetCaretPosition  can be merged in to one property, KeyPress can be replaced/extended with KeyDown/KeyUp events, more events like MouseMove, Resize should be introduced.

Additionally, check https://github.com/dotnet/runtime/issues/52374


Add Conversational building block support #1382

Proposal: https://github.com/dapr/proposals/blob/main/20240618-RCBS-Conversation-building-block.md

Microsoft recently released their new Microsoft.Extensions.AI Extensions. Will the Dapr .NET SDK support this through the building block?

Will the Dapr .NET SDK support this through the building block?

Thanks for the tag @cecilphillip. We're happy to work with the team and community on enabling support for MEAI in the .NET SDK.
cc: @stephentoub @SteveSandersonMS @eiriktsarpalis

This scope of this would just be for the conversational bits, but we should keep in mind the possibility of support the vector store abstractions if/when those building blocks are ready.
@WhitWaldo I don't believe there's time to get this in for 1.15 would it?

@cecilphillip That's right - we're going to have to look at what we can do about this after 1.15 as code freeze is imminent.
I'm still trying to wrap my head around what opportunities there are here because from what I've read, they seem to be providing similar abstractions to the downstream AI functionality, both making it readily accessible from .NET. This new Conversational block in Dapr and the Microsoft.Extensions.AI.Extensions both allow for easy integration with LLMs.
Given that they appear to address the same problem, I'm curious about what specific integration or complementary use you envision between the two. Could you share more about how you see them working together?
Finally, I have been soliciting interest in building out a next-gen set of state APIs and I've fielded an ask for a vector store as part of that. While there's no movement on actually implementing that yet, it's certainly somewhere on the horizon.


Latest version 2018.2 isnt supported?

Executing memory patches...
Initializing modules...
Processing...
Cleanup...
Applied patches:
StringFixer: Failed (Exception has been thrown by the target of an invocation.)
ResourceResolver: Failed (Init error: Could not find resolver type)
AssemblyResolver: Failed (Init error: Could not find resolver type)
Writing new assembly...
Done.

Could you double-check that the program you're deobfuscating is indeed using EazFuscator, and then upload your sample?

I can confirm its Eaz 2018.2 (Latest Release)
Upload: https://www105.zippyshare.com/v/KOwGRCis/file.html

Found that issue was some naive comparisons on my part. I'm using SigComparer to compare methods to the expected string decrypter, but one of the methods in your target assembly has this code:
\u0008\u2007\u2000.\u0002(1996868267) + \u0006\u2005\u2000.\u0002(16)

My code thinks both of these are encrypted strings, but the second one isnt (even though it has the same signature and method name). Pushing a fix in a few minutes.


Fixes for Boost.Optional changes in Boost 1.56, and other minor changes

LGTM -- thanks @glynos :smiling:


Fs 470 build about you

New accessibility and content tests added to confirm XGov Forms Builder runner is running and accessible with expected content at expected host. Accessibility tests refactored to loop through all forms and all form pages, storing axe reports in logical directory structure in root

Closed in preference of PR 20


How to delete features in a cluster (CON-978)

I am currently facing a problem.
For example, if I add the auto mode of the thermostat, how can I delete it,when turning on auto mode, it will affect the minimum and maximum temperature setting of the cooling/heating mode, so I want to remove the auto mode function when switching to cooling/heating mode
code:
cluster::thermostat::feature::auto_mode::config_t auto_mode_config;
cluster::thermostat::feature::auto_mode::add(cluster, &auto_mode_config);

AutoMode feature is an optional feature for thermostat cluster, so we don't add it to thermostat cluster by default. You can add it if you device supports that feature.
But the features for a device should be determined when creating the device and never changed. It is odd for a device which supports a feature at some times and doesn't support the same feature at other times.

AutoMode feature is an optional feature for thermostat cluster, so we don't add it to thermostat cluster by default. You can add it if you device supports that feature.
But the features for a device should be determined when creating the device and never changed. It is odd for a device which supports a feature at some times and doesn't support the same feature at other times.

For example, the minimum set temperature for refrigeration and heating is 16 degrees Celsius, and the maximum temperature is 32 degrees Celsius. After turning on the auto mode and switching to a separate refrigeration and heating mode, when using the chip tool to set the maximum refrigeration and heating temperature to 16 degrees Celsius, an error will be reported and error code 0x87 will be returned
The system has three modes of auto cooling and heating
MinHeatSetpointLimit = 16
MaxHeatSetpointLimit = 32
MinCoolSetpointLimit = 16
MaxCoolSetpointLimit = 32
MinSetpointDeadBand = 2.5
OccurpiedHeatingSetpoint= 24，set the cooling range to 26.5-29.5 degrees Celsius
OccupideCoolingSetPoint = 27,   set the heating range to 22~24.5 degrees Celsius
So what I need is a separate cooling or heating mode, which can be set to a minimum temperature of 16 and a maximum temperature of 32

@MaplestoryAlen This is expected behaviour, please check this. If you don’t need auto you can remove it at the time of creation of device


Many unused variables

For example:
poly.c: In function 'gfxpoly_size':
poly.c:214:11: warning: unused variable 't' [-Wunused-variable]
int s,t;
^
poly.c:214:9: warning: unused variable 's' [-Wunused-variable]
int s,t;
^
poly.c: In function 'gfxpoly_check':
poly.c:227:11: warning: unused variable 't' [-Wunused-variable]
int s,t;
and another set of variables...
gcc compiler.

Fixed. There really were a lot of these.


Experimental ReadOnlyRootFilesystem support

… cassandra container to run in ReadOnlyRootFilesystem securityContext

What this PR does:
Which issue(s) this PR fixes:
Fixes #196, #199, #210
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CHANGELOG.md updated (not required for documentation PRs)
[x] CLA Signed:  DataStax CLA

This PR requires modified management-api to start. Here's a YAML to test..
apiVersion: cassandra.datastax.com/v1beta1
kind: CassandraDatacenter
metadata:
  name: dc1
  annotations:
    cassandra.datastax.com/readonly-fs: "true"
spec:
  clusterName: cluster1
  serverType: cassandra
  serverVersion: "4.1.4"
  serverImage: michaelburman290/cass-management-api:4.1.4
  managementApiAuth:
    insecure: {}
  size: 2
  storageConfig:
      cassandraDataVolumeClaimSpec:
        storageClassName: standard
        accessModes:
          - ReadWriteOnce
        resources:
          requests:
            storage: 1Gi
  racks:
    - name: r1
    - name: r2
  podTemplateSpec:
    spec:
      containers:
        - name: "cassandra"
          securityContext:
            readOnlyRootFilesystem: true
      securityContext:
        runAsUser: 12345
        runAsGroup: 0
        runAsNonRoot: true
  config:
    jvm-server-options:
      initial_heap_size: "512m"
      max_heap_size: "512m"
      additional-jvm-opts:
        - "-Dcassandra.system_distributed_replication_per_dc=1"


fixed args value

I can't run with below command on Mac.
So I fixed the source.
command : GOOGLE_CLOUD_PROJECT=gcpproject bucket -o=bucket:notes write

I agree, I can't run it too.
Another way:
...
switch flag.Args()[0]:
....

Confirmed, yea. Thank you.
It should be flag.Args(), you're right @Winkies
Thanks all! I'll make this change.

I apologize, my mistake. @sanleon your change was right on.
If you want to sign the CLA, I'll merge your change.
Otherwise I can make the change myself.

@adams-sarah Thank you for your review. Please merge PR.

@sanleon could you please sign the CLA?

Hey @sanleon, on our end it does not look as though you've signed the CLA.
Can you double check that you used the same email address associated with your github account / your git commits? (see gobot comment above for instructions on how to check)

@adams-sarah Sorry, I had a mistake that Authorized Signer of CLA. So I retry signed the CLA. Please confirm that.

Hi @sanleon, sorry no it still looks as though you have not signed.
Please follow the instructions that google bot posted:
Check your existing CLA data and verify that your email is set on your git commits.

@adams-sarah I confirm existing CLA data with below message.

We don't have any individual agreements on file for you
I submitted new a CLA. but authorized signer can't be received an e-mail from Google.
So I want to ask about this problem. I can't find the contact. If have a problem about CLA. can need to ask to whom?

@sanleon
Please run:
git config --get user.email

What does it print?
What email are you using to sign the CLA?

@adams-sarah Thank you for your reply.
I ran command the git config --get user.email.
So I'm Sorry, I confirm different to git email and now using email.
(I belong to two organization. another using Github Enterprise)
I made set git user.email for Qualiarts on golang-samples.(same email for CLA)
Please let know about next action.

git commit --amend --reset-author
git push -f

@broady thank you. I did it.

Looks like your qualiarts e-mail hasn't signed the CLA (I manually checked).

@broady thank you for your support.
I can see the 'Logged in as<EMAIL_ADDRESS>on https://cla.developers.google.com/clas.
(name is my e-mail account name)
And I had an error 'It looks like you've already signed this CLA' when I was signed new an agreement.

How's it going @sanleon? Any new change with your CLA status so that we can get closer to merging your contribution in?

@odeke-em I'm sorry for fixed about CLA. I sent new CLA yesterday. Please check it.

Awesome, thank you @sanleon, I'll defer this to @adams-sarah and @rakyll to perform the CLA check and perhaps merge then, since @broady is on vacation and I don't work at Google.

@sanleon, it looks like<EMAIL_ADDRESS>hasn't signed the CLA on our system :( I will ask the CLA team what's going on.

Thanks much! Sorry for the CLA check problem.


Update: AntibodySoftware.WizTree version 4.19 (4.20)

Created by 🥟 Dumplings in workflow run #6940.

Log
One version lagged behind
Updated: 4.19 → 4.20
Submitting WinGet manifests
Found existing pull requests:
Modify: AntibodySoftware.WizTree version 4.19 - https://github.com/microsoft/winget-pkgs/pull/157994
New version: AntibodySoftware.WizTree version 4.19 - https://github.com/microsoft/winget-pkgs/pull/142307
New version AntibodySoftware.WizTree version 4.19 - https://github.com/microsoft/winget-pkgs/pull/142182
This task is configured to ignore existing pull requests
Creating manifests
Uploading manifests and making commits
The manifests for the last version 4.19 will be overrided. Reason: No installer URL is changed compared with the last state while the version is updated
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

Found duplicate pull request(s)

Manifest Path: manifests\a\AntibodySoftware\WizTree\4.19

Automatic deletion of AntibodySoftware.WizTree 4.19 #165282

I didn't see this when I approved the other one, sorry. These changes should be added in another PR.

Close with reason: Merge Conflicts;


fixing detection of list of list (RaggedTensor)

addresses https://github.com/monarch-initiative/N2V/issues/135

I merge this branch to develop. But, I think we go through the code one more time to find the issue.


InputSystemDisable() followed by InputSystem.Enable causes NullPointerExceptions

Overview
Disabling and then re-enabling the input system causes the following exception to be thrown every frame:
NullReferenceException: Object reference not set to an instance of an object
Microsoft.MixedReality.Toolkit.Input.FocusProvider.RegisterPointers (Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource) (at Assets/MixedRealityToolkit.Services/InputSystem/FocusProvider.cs:689)

Steps to reproduce
Use the following script to enable and disable the input system. Notice that after enabling the input system console spits out continuous null pointers:
using Microsoft.MixedReality.Toolkit;
using Microsoft.MixedReality.Toolkit.Input;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DisableInputSystemTest : MonoBehaviour
{
    private IMixedRealityInputSystem inputSystem = null;
    private IMixedRealityInputSystem InputSystem
    {
        get
        {
            if (inputSystem == null)
            {
                MixedRealityServiceRegistry.TryGetService<IMixedRealityInputSystem>(out inputSystem);
            }
            return inputSystem;
        }
    }

    public void DisableInputSystem()
    {
        InputSystem.Disable();
    }

    public void EnableInputSystem()
    {
        InputSystem.Enable();
    }

    public void Update()
    {
        if (Input.GetKeyDown(KeyCode.Alpha1))
        {
            EnableInputSystem();
        }
        if (Input.GetKeyDown(KeyCode.Alpha2))
        {
            DisableInputSystem();
        }
    }
}

Unity Editor Version
2018.4.1f1
Mixed Reality Toolkit Release Version
mrtk_development latest

I think I have a solution to this, described in https://stackoverflow.com/questions/56757620/how-to-temporarly-disable-mixedrealitytoolkit-inputsystem/56783236#56783236

Hey Julia, Thanks for helping,
AS said, when using Enable after Disable, i got a lot of errors on mrtk_master RC2.1
here are the complete callstacks i can't put in a comment on stackoverflow..
first time:
ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
Microsoft.MixedReality.Toolkit.Windows.Input.GestureRecognizerExtensions.UpdateAndResetGestures (UnityEngine.XR.WSA.Input.GestureRecognizer recognizer, UnityEngine.XR.WSA.Input.GestureSettings gestureSettings) (at Assets/MixedRealityToolkit/Extensions/GestureRecognizerExtensions.cs:11)
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager.set_GestureSettings (Microsoft.MixedReality.Toolkit.Windows.Input.WindowsGestureSettings value) (at Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityDeviceManager.cs:178)
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager.Enable () (at Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityDeviceManager.cs:271)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterServiceInternal (System.Type interfaceType, Microsoft.MixedReality.Toolkit.IMixedRealityService serviceInstance) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:834)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterServiceInternal[T] (T serviceInstance) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:849)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterService[T] (System.Type concreteType, Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms supportedPlatforms, System.Object[] args) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:206)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterDataProvider[T] (System.Type concreteType, Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms supportedPlatforms, System.Object[] args) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:301)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem.Enable () (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:221)

second time, got 2 different errors:
There's already a IMixedRealityInputDeviceManager.Windows Mixed Reality Device Manager registered!
UnityEngine.Debug:LogError(Object)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterServiceInternal(Type, IMixedRealityService) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:812)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterServiceInternal(IMixedRealityInputDeviceManager) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:849)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterService(Type, SupportedPlatforms, Object[]) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:206)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterDataProvider(Type, SupportedPlatforms, Object[]) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:301)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem:Enable() (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:221)

ArgumentException: An item with the same key has already been added. Key: Flat
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose.LoadGesturePose (Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose+GestureId gesture, System.String filePath) (at Assets/MixedRealityToolkit/Definitions/Utilities/ArticulatedHandPose.cs:218)
Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose.LoadGesturePoses () (at Assets/MixedRealityToolkit/Definitions/Utilities/ArticulatedHandPose.cs:208)
Microsoft.MixedReality.Toolkit.Input.InputSimulationService.Initialize () (at Assets/MixedRealityToolkit.Services/InputSimulation/Editor/InputSimulationService.cs:65)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterServiceInternal (System.Type interfaceType, Microsoft.MixedReality.Toolkit.IMixedRealityService serviceInstance) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:833)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterServiceInternal[T] (T serviceInstance) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:849)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterService[T] (System.Type concreteType, Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms supportedPlatforms, System.Object[] args) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:206)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.RegisterDataProvider[T] (System.Type concreteType, Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms supportedPlatforms, System.Object[] args) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:301)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem.Enable () (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:221)

following times, got 2 errors each time,
the There's already a IMixedRealityInputDeviceManager.Windows Mixed Reality Device Manager registered!`` above +
There's already a IMixedRealityInputDeviceManager.Input Simulation Service registered!
UnityEngine.Debug:LogError(Object)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterServiceInternal(Type, IMixedRealityService) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:812)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterServiceInternal(IMixedRealityInputDeviceManager) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:849)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterService(Type, SupportedPlatforms, Object[]) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:206)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterDataProvider(Type, SupportedPlatforms, Object[]) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:301)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem:Enable() (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:221)
FramaToolkit.<DoLoad>d__23:MoveNext() (at Assets/FramaToolkit.Core/Loading/SceneLoader.cs:134)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

scenario is disabling input while loading additive scenes, this is made in a coroutine (it may count)
simplified coroutine (without loading scene stuff):
private IEnumerator DoLoad()
		{
			//load loading scene
			Debug.Log($"[Loading] start");

			InputSystem.Disable();

			//start loading timer
			float startLoadingTime = Time.realtimeSinceStartup;

			//wait the minimum time
			yield return new WaitUntil(() => MinLoadTimeSec <= (Time.realtimeSinceStartup - startLoadingTime));

			InputSystem.Enable();

			Debug.Log($"[Loading] end");

		}

trying in mrtk_development + julia suggested changes
this is almost working as expected but i still got an error :
            // Update all registered runtime services
l.954:    foreach (var service in registeredMixedRealityServices)
            {
                service.Item2.LateUpdate();
            }

InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNext () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.LateUpdateAllServices () (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:954)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.LateUpdate () (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:665)

=> the disable service should be push in a pending change list, and postponed at the end of the frame. apparently here i have trigger the disable during another lateupdate of a service (i was just clicking on a button :( )
should it be handled in mrtk directly ?

Maybe Kurtis could help here?

on a longer term :
if you want users to avoid accessing some functions, you may go with internal interfaces.
http://www.csharp411.com/c-internal-interface/
together with  InternalsVisibleToAttribute to be able to have internal calls cross-mrtk-assemblies
internal interface IMixedRealityServiceInternal
{
	void MyInternalMethod();
}
public class MyService :
	IMixedRealityService, IMixedRealityServiceInternal
{
	public void MyPublicMethod() { }
	void IMixedRealityServiceInternal.MyInternalMethod()
	{
	}
}

the only tricky thing is you have to cast (or store) the MyService to IMixedRealityServiceInternal to be able to call the internal function or use some extensions tricks
this may be a lot of refactor but will clearly show what can be called from the public interface to users :)

Document that the IMixedRealityService functions aren't meant to be called except by the MRTK runtime itself.
Update the IMixedRealityServiceRegistrar to have an EnableService and DisableService function, which will properly enable/disable the corresponding services (for example, in the input system case, it will also disable/enable the focus provider gaze provider)
Add a helper to CoreServices to also have this EnableService/DisableService to help with familiarity for folks who are already using the CoreServices helper.
Move the registration and management of the focusprovider (and related services) inside of the input system.

These make sense to me.

I am not 100% certain why focusprovider is considered a core system, though i can imagine scenarios where it would be handy to be separate from the input system.

I also don't see why. I guess that Stephen H. the original architect could maybe explain why he made FocusProvider a core system? I would think that FocusProvider is just an internal part of the input system. I don't really see how focus provider could be used independently of the input system. Seems like we should probably remove it, though that's probably not as important as issues right now (fixing functionality, adding documentation).

+1 with this error.
Interesting thing is that, i have two hololenses 1. I have problem on one when i return to my app, lets say, get focus back on app, my hololens does not recognize voice commands any more, but on second, it works perfectly clear. And yes, its same version of OS, last updates are done.
I am not 100% sure, but i guess this bug is in relation with this.
And now i came to this error with trying to fix this, with reloading scene onappfocus, but here i am, with this same error.

@gilbdev FYI, I'm not sure that I'm going to be able to push in my change for the current iteration because I'm going to be out for a little bit and won't be able to get to the migration tooling before then. Because my change is breaking (in that a thing that is a MonoBehaviour is no longer one), I think that providing the migration tooling is SUPER important before going out.
That being said, I wanted to send out the change so that folks who were interested in grabbing that functionality could unblock themselves - the overall shape of this shouldn't change that much.

@gilbdev, can you share a little more on your scenario in which you're using the Reset() or Disable/Enable functionality? Some folks have asked some questions regarding the right way of addressing this and I want to make sure that the linked PR actually does address the scenario you're trying to accomplish.

overall scenario : i have a loading sequence to switch between scenes during which i fade out and in.
during the loading sequence, i want to avoid any input  on buttons, voice commands or any other kind, hence trying to disable the whole input system.

load initial root scene with managers and mrtk
launch loading sequence
-disable input
fade
(opt.) unload previous scenes (except root ^^)
load new scenes
-wait at least 1sec for whole loading sequence
fade
enable back input
play and redo from step 2 as necessary

@gilbdev do you want to be able to poll for new input state during that transition (i.e. if you were to ask InputSystem.GazeProvider.GetTheHeadPosition or InputSystem.WhereAreTheHands) would you expect those things to work, or would you expect for the input system to be completely shutdown during that time (or would you not care, as long as the net effect is the same?)

complete shutdown.
i could have some poll (like voice commands i can't mute the player ^^, or even a button that is still not unloaded, or already laoded but not visible due to fade not completed) but it should have zero effect. i think the focuspointer should not be visible either (that's something we can do on our side if it's not automatic by the fact of disabling the system)
and when enabling back, all goes to 'normal' (for example if i focus on a button, it should switch to focus state when system turns enabled -- but this may be link to the whole intereactable refactor too at this point, just giving it as example)

Alright, thanks for clarifying that!


Rename user to users

Store, dir, etc. add loggedInUserId, and pass logged in user as another app.react state

What's the deal in passing user as another app state? We have it under user.data. Sounds clear enough to me. The rest #ok.

Maybe without passing logged user to App state would "undo" step mean change the App in state back in time, where things are as before logging, but the user is still logged? Not sure about this. :-D


OWNERS: Add OWNERS files

Signed-off-by: Samuel Ortiz<EMAIL_ADDRESS>

Coverage decreased (-0.4%) to 67.282% when pulling 4ef165072baea9bde8b5fa750ca4c8fdd75933ec on sameo/topic/owners into 0c6b650687a1fd2db067f6e17e4a26c8ada9c5c1 on master.

Coverage remained the same at 67.32% when pulling c0c7c03238c9fde3f84645d2efae4027fc48052e on sameo/topic/owners into a801925f71d39a3cdd9c822b1db138292ad37a96 on master.

Coverage remained the same at 67.32% when pulling 24fd25f328ee746d3667792ee052ae693085c886 on sameo/topic/owners into a801925f71d39a3cdd9c822b1db138292ad37a96 on master.

@dlespiau @sboeuf @mcastelino PTAL

lgtm

lgtm


Running the Google Colab throws exception

When running the notebook top to bottom we get following error for the second cell:
document-question-answering is already registered. Overwriting pipeline for task document-question-answering...
2023-02-05 19:28:49,801 ERROR: Failed while processing https://arxiv.org/pdf/2101.07597.pdf on question: 'who authored this paper?'
Traceback (most recent call last):
  File "/usr/local/bin/docquery", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/docquery/cmd/__main__.py", line 61, in main
    return args.func(args)
  File "/usr/local/lib/python3.8/dist-packages/docquery/cmd/scan.py", line 95, in main
    response = nlp(question=q, **d.context)
  File "/usr/local/lib/python3.8/dist-packages/docquery/ext/pipeline_document_question_answering.py", line 232, in __call__
    return super().__call__({"question": question, "pages": normalized_images}, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/base.py", line 1076, in __call__
    return next(
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 124, in __next__
    item = next(self.iterator)
  File "/usr/local/lib/python3.8/dist-packages/transformers/pipelines/pt_utils.py", line 291, in __next__
    is_last = item.pop("is_last")
  File "/usr/local/lib/python3.8/dist-packages/transformers/utils/generic.py", line 281, in pop
    raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")
Exception: You cannot use ``pop`` on a ModelOutput instance.

I get the same exception when running the following with my local install.
docquery scan "who authored this paper?" https://arxiv.org/pdf/2101.07597.pdf

I would really appreciate a fix, since I'm really curious of trying out docquery
Regards!

I found the Workaround on #26


In prod mode with ExtractTextPlugin, my styles import returns an array of values.

In development mode, I don't seem to have any issues running the application. The styles are loaded by javascript and the variables are available as objects for require styles, the way css-modules intended me to use it.
{ headerTitle: 'headerTitle___1VPCU',   _style: '.headerTitle___1VPCU {\n    color: #c51d23;\n    font-size: 1.167em;\n    font-weight: 700;\n    text-transform: uppercase;\n    padding: 18% 1% 1% 1%;\n    text-align: center;\n}' }
The problem I run into is is production mode. My import returns an array set containing path information of the required style file, followed with the contents of the style file converted by postcss.
[ [ '/Users/shouvik/Documents/dream11/pandora/client/containers/MatchCenter/style.css.webpack-module',     '.headerTitle___1VPCU{color:#c51d23;font-size:1.167em;font-weight:700;text-transform:uppercase;padding:18% 1% 1%;text-align:center}',     '' ] ]
I am not sure where exactly am I going wrong when it comes to configuring my webpack.
For the webpack-isomorphic-tools.js, I have reused the code written here.
For my webpack config I do this:
module.exports = {
  context: path.resolve(__dirname, '..'),
  entry: {
    jsx: './client/index.js',
    html: './client/index.html',
    vendor: [
      'react',
      'react-dom',
      'react-redux',
      'react-router',
      'react-router-redux',
      'redux'
    ]
  },
  output: {
    path: assetsPath,
    filename: 'bundle.js',
  },
  module: {
    loaders: [
      {
        test: /\.html$/,
        loader: 'file?name=[name].[ext]'
      },
      {
        test: /.(png|woff(2)?|eot|ttf|svg)(\?[a-z0-9=\.]+)?$/,
        loader: 'url-loader?limit=100000'
      },
      {
        test: /\.css$/,
        include: /client/,
        loaders: (
          () => {
            if (isDevelopment) {
             return [
              'style-loader',
              'css-loader?modules&sourceMap&importLoaders=1&localIdentName=[local]___[hash:base64:5]',
              'postcss-loader'
            ] } else return [
              ExtractTextPlugin.extract('style-loader', 'css-loader'),
              'css-loader?modules&importLoaders=2&localIdentName=[local]___[hash:base64:5]',
              'postcss-loader'
            ]
          }
        )()
      },
      {
        test: /\.css$/,
        exclude: /client/,
        loader: 'style!css'
      },
      {
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        loaders: [
          'react-hot',
          'babel-loader'
        ]
      }
    ],
  },
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  postcss: [
    values,
    assets({
      basePath : 'client/assets',
      loadPaths: ['images','fonts'],
      relative : true,
      cacheBuster: true
    }),
    rucksack({
      autoprefixer: true
    })
  ],
  plugins: (() => {
    const plugins = [];

    if(isDevelopment) {
      plugins.push(
        new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.bundle.js'),
        new webpack.DefinePlugin({
          'process.env': { NODE_ENV: JSON.stringify(process.env.NODE_ENV || 'development') },
          __CLIENT__: true,
          __SERVER__: false,
          __DEVELOPMENT__: true,
          __DEVTOOLS__: true
        }),
        webpackIsomorphicToolsPlugin.development()
      )
    } else {
      plugins.push(
        new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.bundle.js'),
        new ExtractTextPlugin('[name]-[chunkhash].css', {allChunks: true}),
        new webpack.DefinePlugin({
          'process.env': {
            NODE_ENV: JSON.stringify(process.env.NODE_ENV || 'development')
          },
          __CLIENT__: true,
          __SERVER__: false,
          __DEVELOPMENT__: false,
          __DEVTOOLS__: false
        }),
        new webpack.optimize.UglifyJsPlugin({
          compress: {
            warnings: false
          }
        }),
        new webpack.optimize.DedupePlugin(),
        new webpack.optimize.OccurenceOrderPlugin(),
        webpackIsomorphicToolsPlugin
      )
    }
    return plugins
  })(),
  devServer: {
    contentBase: '../client',
    hot: true
  }
}

Maybe you're not really in production and that's the reason you get weird assets.
Look at your webpack-assets.json: the styles should be represented as maps there.
If they aren't then it means that the parser might be incorrect.
Make sure NODE_ENV is production in production mode.

So, I tweaked the way I am using extract-text-plugin a little but. Now instead of using  the ExtractTextPlugin.extract I use the same CSS transpiling as the dev mode. My new section looks like this
{
        test: /\.css$/,
        include: /client/,
        loaders: [
              'style-loader',
              'css-loader?modules&sourceMap&importLoaders=1&localIdentName=[local]___[hash:base64:5]',
              'postcss-loader'
            ]
},

The rest of the file remains unchanged. I am using parse to return source.module as extract text plugin removes the css into a file. The isomorphic-webpack-tools debug throws the following error stack to me now on build.
/Users/shouvik/Documents/react-project/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/write assets.js:549
				throw _iteratorError5;
				^

Error: More than a single candidate module was found in webpack stats for require()d path "!!./../../../node_modules/css-loader/index.js?modules&sourceMap&importLoaders=1&localIdentName=[local]___[hash:base64:5]!./../../../node_modules/postcss-loader/index.js!./style.css". Enable "debug: true" flag in webpack-isomorphic-tools configuration for more info.
    at fail (/Users/shouvik/Documents/react-project/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/write assets.js:442:11)
    at /Users/shouvik/Documents/react-project/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/write assets.js:450:5
    at resolver (/Users/shouvik/Documents/react-project/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:140:17)
    at Function._module2.default._findPath (/Users/shouvik/Documents/react-project/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:450:25)
    at Function.Module._resolveFilename (module.js:453:25)
    at Function._module2.default._resolveFilename (/Users/shouvik/Documents/react-project/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:423:34)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/shouvik/Documents/react-project/client/components/LeftNav/style.css.webpack-module:5:15)
    at Module._compile (module.js:556:32)
    at Object._module2.default._extensions.(anonymous function) [as .webpack-module] (/Users/shouvik/Documents/react-project/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:274:11)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at populate_assets (/Users/shouvik/Documents/react-project/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/write assets.js:528:32)
    at write_assets (/Users/shouvik/Documents/react-project/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/write assets.js:73:2)
    at Compiler.<anonymous> (/Users/shouvik/Documents/react-project/node_modules/webpack-isomorphic-tools/babel-transpiled-modules/plugin/plugin.js:205:45)
    at Compiler.applyPlugins (/Users/shouvik/Documents/react-project/node_modules/tapable/lib/Tapable.js:26:37)
    at Compiler.<anonymous> (/Users/shouvik/Documents/react-project/node_modules/webpack/lib/Compiler.js:193:12)
    at Compiler.emitRecords (/Users/shouvik/Documents/react-project/node_modules/webpack/lib/Compiler.js:282:37)
    at Compiler.<anonymous> (/Users/shouvik/Documents/react-project/node_modules/webpack/lib/Compiler.js:187:11)
    at /Users/shouvik/Documents/react-project/node_modules/webpack/lib/Compiler.js:275:11
    at Compiler.applyPluginsAsync (/Users/shouvik/Documents/react-project/node_modules/tapable/lib/Tapable.js:60:69)
    at Compiler.afterEmit (/Users/shouvik/Documents/react-project/node_modules/webpack/lib/Compiler.js:272:8)
    at Compiler.<anonymous> (/Users/shouvik/Documents/react-project/node_modules/webpack/lib/Compiler.js:267:14)
    at /Users/shouvik/Documents/react-project/node_modules/async/lib/async.js:52:16
    at done (/Users/shouvik/Documents/react-project/node_modules/async/lib/async.js:246:17)

You can post your webpack-stats.json and I can give it a look

It's a pretty huge file. Which section would you like me to link for you?

You can post the whole file

You can't comment at this time — your comment is too long (maximum is 65536 characters).

I wonder, if I could host it on a site. Pastebin threw a similar error as well. I could mail you the file if you would like.

You can post it as a "gist"

Yep, here you go.
btw, I have solved the problem using a different configuration:
{
          test: /\.css$/,
          include: /client/,
          loader: (
            () => {
              if (isDevelopment) {
              return 'style-loader!css-loader?modules&sourceMap&importLoaders=1&localIdentName=[local]___[hash:base64:5]!postcss-loader'
             } else return ExtractTextPlugin.extract('style-loader','css-loader?modules&sourceMap&importLoaders=1&localIdentName=[hash:base64:5]!postcss-loader')

            }
        )()
      },

Yes, it needs it as a string.
v1 is kinda weird, yeah.
v2 though (for Webpack 2.x beta) knows how to handle an array: https://github.com/webpack/extract-text-webpack-plugin

Yep @halt-hammerzeit Thanks a bunch for your time.


Mark Season as watched

Typically I prefer to wait until a season is finished before starting to watch, and use apps similar to this (though less featured) to alert me when the new season starts/finishes. Having the ability to mark the entire season as viewed is much more convenient than having to mark each episode.

There is ability to mark season as watched from episodes page. It will open a modal "What is the last episode you seen?", where you can select last episode to mark as, seen. When selected last episode (default), entire season will be marked as seen.
I changed this button's text to "Add season to seen history".
Any ideas how I could make it easier to spot?. Making good UI is really hard.

Do you have any ideas how I could make it easier to spot? Making good UI is really hard.
I hear that. You should see my projects, lol.

This all makes a lot more sense now. Not really sure how to make it easier to spot. Maybe turning the episode link to a button? Not critical either way but that's my two cents.


Raise a typed exception when API calls return a Heavy Load message

Updates the error parsing middleware so that if our call to Mobile Commons returns a "This website is under heavy load" message, we raise a typed exception (UplandMobileCommonsRest::HeavyLoadError) rather than a more generic UplandMobileCommonsRest::UnknownError.
This should make it easier for users of this client to handle the Heavy Load error appropriately.

Yes, I'll update the gem version on main.


Temporarily disable Android build on CircleCI

This job has been failing for literally months, keeping our builds red and preventing PRs from being merged cleanly. It is also quite slow in comparison with other jobs.
Let's disable Android builds for now. The plan is it move Android CI to Bitrise in the nearest time. There is no GitHub issue for this, but the progress may be tracked internally at Cossack Labs.

that's temporary! 🤞


Enables/disables type and content guessing with the same toggler in the create dialog

In short, current type guessing button will enable/disable type and content guessing at the same time.

Fixes #3456.
REVIEWER: @viddo.
cc @iriberri and @saleiva (text looks good?)

Frontend tests were OK :+1: (details)

Looks good! :+1:

:+1:

:dancer:


Changes made to fix bug in the module example.

This fix is made for issue #20 .
The example for the module was not working so I went through the terraform code to see the issue.
In context file, the name is being passed as null. The null value is not accepted for the :
metric name as well as the WAF name as both are mandatory.
Kindly review the code.

Sorry I am a new to public PR. Apologies for the wrong type of PR. I will read more.


#65 create cutdown command format

We created a cutdown command format by packetizing the data and wrote encode and decode methods to write to csv format.

Looks good, you just need to add a value to the Type enum in definitions.py

^^ this was incorrect, we should use the COMMAND type for it


catppuccin-gtk: 0.6.2 -> 0.7.0

Description of changes
https://github.com/catppuccin/gtk/compare/v0.6.2...v0.7.0

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

[x] 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/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:

catppuccin-gtk

@OfBorg eval


Upgrade C++ standard to C++23

Enhancement
https://en.cppreference.com/w/cpp/23

https://ci.pingcap.net/blue/organizations/jenkins/tiflash-ghpr-unit-tests/detail/tiflash-ghpr-unit-tests/13003/pipeline

Any special benefit compare to c++20?


Empty 0 bytes css output when using dynamic imports

Laravel Mix Version: 5.0.0
Node Version (node -v): 12.9.1
NPM Version (npm -v): 6.11.3
OS: Windows 10

Description:
Css outputs 0 bytes in specific setup, see reproduction below.
Steps To Reproduce:
package.json
"scripts": {
    "dev": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"dependencies": {
    "cross-env": "^6.0.0",
    "laravel-mix": "^5.0.0"
  }

input file 1: test1.js
function test() {
    alert('my test alert');
}

let b = import('./test_import.js');

console.log(b.someFunc());

input file 2: test2.js
function test2() {
    alert('my test alert 2');
}

input file 3: test_import.js
export default {
    someFunc() {
        return 5;
    }
}

input file 4: test.scss
body {
    background: red;
    p {
        color: blue;
    }
}

mix file webpack.mix.js
let mix = require('laravel-mix');

mix.webpackConfig({
    output: {
        publicPath: 'public',
        chunkFilename: 'public/chunks/[name].js'
    }
});

mix.js('./test2.js', 'public');
mix.js('./test1.js', 'public');
mix.sass('./test.scss', 'public');

Run npm run dev.
output:
  /public/test1.js   8.77 KiB                 /public/test1  [emitted]  /public/test1
  /public/test2.js   4.38 KiB                 /public/test2  [emitted]  /public/test2
public/chunks/0.js  480 bytes                             0  [emitted]
   public/test.css    0 bytes  /public/test1, /public/test2  [emitted]  /public/test1, /public/test2

Ways to fix this specific instance so it outputs the test.css correctly (no clue why these fixes work):

Swap the 2 mix.js scripts (first 1 then 2)
Use mix.scripts(['/public/test2.js'], 'public/output.js');
Remove the dynamic import in the test1.js script

https://github.com/JeffreyWay/laravel-mix/releases/tag/v4.0.0

If your project heavily uses JavaScript dynamic imports, you may need to hold off until the release of webpack 5 early next year. There are known compile issues related to this that we cannot fix until then. Once webpack 5 is out, Mix will be updated shortly after. If you're unfamiliar with dynamic imports, then this very likely won't affect your project.

... Still waiting for that webpack 5 though..

Any chances to fix this?
I used Symfony Encore https://github.com/symfony/webpack-encore which also a wrapper over webpack and dynamic imports works great.

I have tried laravel-mix 3, 4 & 5, but none of them work.
I do have dynamic imports and need to use it alongside css file builds.
Is there any workaround?
Would webpack by itself be enough to get it to work?

Has anyone tried this with the new sass modules system?
http://sass.logdown.com/posts/7858341-the-module-system-is-launched

@jsgv I worked around it by creating two webpack.mix.js config files. One for JS with dynamic imports and one for css build. Then expanded the build scripts in package.json something like this:
{
    "development": "npm run development-css && npm run development-js",
    "development-js": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js --env.mixfile=webpack.mix.js",
    "development-css": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js --env.mixfile=webpack.mix.css.js",
}

It's not optimal, and you loose versioning of one file since the manifest gets updated after each build, but if that's not a deal breaker it's a fast workaround.


Flux is a graduated project

https://lists.cncf.io/g/cncf-toc/message/7728
Signed-off-by: Daniel Holbach<EMAIL_ADDRESS>

#2895 resolves :)

Hah! :-) Thanks Amye!


Add badge for Hoofer#0001

Username and Discrim: Hoofer#0001
User ID:<PHONE_NUMBER>35984906
Image Link: https://cdn.discordapp.com/emojis/761430444843073546.png

done stinky wizard man :D


Look for key, not 'key'

This corrects the stub for getItem to look for key in ms instead of 'key'.

Oh wow. Major oversight

In 1.4.2`

You're welcome! Thank you for merging and publishing!


Specify input range for Pauli gates/normalize output

When performing Pauli x rotations, the values are not normalized after a rotation larger than pi.
Code example:
    circuit = cirq.Circuit(
      cirq.rx(angle(3*np.pi/2)).on(q[0])
    )
    simulator = cirq.Simulator()
    results = simulator.simulate(program=circuit, qubit_order=q).final_state

Example output:
[-0.70710677+0.j          0.-0.70710677j]
Assumption: even though the state is correct, I would say the expected behavior would be to output a normalized state (no minus in the |0>)
I would propose one of the following

A range indication in the manual https://cirq.readthedocs.io/en/stable/generated/cirq.rx.html#cirq.rx
A normalization of the state

Of course, I might also miss something more fundamental, which I would be open to hear more about

I don't think this is the range that is causing the problem as you will also not get a fully normalized state if you do smaller angles.
At some point we did normalize between steps (we did this in old xmon sim), but we no longer appear to do this.
Suggest we add this back, though this will slow down simulation.


Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore and OpenApi extension

Describe the issue
When I create a new Function App dotnet core 6.0 Isolated app and I am using the following nuget package:
Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore
and I am changing in the Program.cs this line:
var host = new HostBuilder()
.ConfigureFunctionsWorkerDefaults(worker => worker.UseNewtonsoftJson())
.Build();
to this
var host = new HostBuilder()
.ConfigureFunctionsWebApplication(worker => worker.UseNewtonsoftJson())
.Build();
,  and I am trying to open the URL openapi UI I don't get any data.
To Reproduce
Steps to reproduce the behavior:
project attached to the report.
Expected behavior
I would like to use openapi extension with Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore nuget package.
Screenshots
Environment (please complete the following information, if applicable):

OS: Windows
Any browser
Version 1.5.1

Additional context
FunctionApp1.zip

We are also encountering the same issue.

We have also been dealing with the what could be the same problem for 2 days now. When going to "http://localhost:{port}/api/swagger.json" or "/api/swagger/ui" we get the error message below. It states One or more errors occurred. (Invalid URI: The URI is empty.).
Our best guess is that it's due to ConfigureAspNetCoreIntegration in https://github.com/Azure/azure-functions-dotnet-worker/blob/main/extensions/Worker.Extensions.Http.AspNetCore/src/FunctionsHostBuilderExtensions.cs
Here it's stated webBuilder.UseUrls(HttpUriProvider.HttpUriString); and HttpUriProvider is implemented as a string backed by a Lazy Uri in https://github.com/Azure/azure-functions-dotnet-worker/blob/main/extensions/Worker.Extensions.Http.AspNetCore/src/HttpUriProvider.cs
But we actually do not know what Uri is supposed to be read at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.HttpRequestObject..ctor. https://github.com/Azure/azure-functions-openapi-extension/blob/main/src/Microsoft.Azure.Functions.Worker.Extensions.OpenApi/HttpRequestObject.cs
The open api generation actually works fine if I don't use ConfigureFunctionsWebApplication and instead uses ConfigureFunctionsWorkerDefaults but this contradicts with what is stated here: https://learn.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-process-guide#aspnet-core-integration
[2023-10-31T14:42:56.448Z] swagger.json was requested.
[2023-10-31T14:42:56.490Z] Function 'RenderSwaggerDocument', Invocation id 'c21663e9-7129-4b63-a9b7-8c85dd259aa6': An exception was thrown by the invocation.
[2023-10-31T14:42:56.492Z] Result: Function 'RenderSwaggerDocument', Invocation id 'c21663e9-7129-4b63-a9b7-8c85dd259aa6': An exception was thrown by the invocation.
Exception: System.AggregateException: One or more errors occurred. (Invalid URI: The URI is empty.)
[2023-10-31T14:42:56.493Z]  ---> System.UriFormatException: Invalid URI: The URI is empty.
[2023-10-31T14:42:56.493Z]    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
[2023-10-31T14:42:56.494Z]    at System.Uri..ctor(String uriString)
[2023-10-31T14:42:56.495Z]    at Microsoft.Azure.Functions.Worker.GrpcHttpRequestData.get_Url() in D:\a\_work\1\s\src\DotNetWorker.Grpc\Http\GrpcHttpRequestData.cs:line 101
[2023-10-31T14:42:56.496Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.HttpRequestObject..ctor(HttpRequestData req)
[2023-10-31T14:42:56.497Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.Functions.OpenApiTriggerFunction.RenderSwaggerDocument(HttpRequestData req, String extension, FunctionContext ctx)
[2023-10-31T14:42:56.498Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.DefaultOpenApiHttpTrigger.RenderSwaggerDocument(HttpRequestData req, String extension, FunctionContext ctx)
[2023-10-31T14:42:56.499Z]    --- End of inner exception stack trace ---
[2023-10-31T14:42:56.501Z]    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[2023-10-31T14:42:56.502Z]    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
[2023-10-31T14:42:56.503Z]    at System.Threading.Tasks.Task1.get_Result()
[2023-10-31T14:42:56.504Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker2.<>c.<InvokeAsync>b__6_0(Task1 t) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2023-10-31T14:42:56.505Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
[2023-10-31T14:42:56.506Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
[2023-10-31T14:42:56.506Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.507Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.508Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.508Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2023-10-31T14:42:56.509Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.510Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 45
[2023-10-31T14:42:56.515Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2023-10-31T14:42:56.516Z]    at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 48
[2023-10-31T14:42:56.517Z]    at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77
Stack:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[2023-10-31T14:42:56.518Z]    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
[2023-10-31T14:42:56.521Z]    at System.Threading.Tasks.Task1.get_Result()
[2023-10-31T14:42:56.522Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker2.<>c.<InvokeAsync>b__6_0(Task1 t) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2023-10-31T14:42:56.523Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
[2023-10-31T14:42:56.523Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
[2023-10-31T14:42:56.524Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.525Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.525Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.528Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2023-10-31T14:42:56.529Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.531Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 45
[2023-10-31T14:42:56.535Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2023-10-31T14:42:56.539Z]    at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 48

[2023-10-31T14:42:56.540Z] Executed 'Functions.RenderSwaggerDocument' (Failed, Id=c21663e9-7129-4b63-a9b7-8c85dd259aa6, Duration=400ms)
[2023-10-31T14:42:56.541Z]    at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77.
[2023-10-31T14:42:56.544Z] System.Private.CoreLib: Exception while executing function: Functions.RenderSwaggerDocument. System.Private.CoreLib: Result: Failure
Exception: System.AggregateException: One or more errors occurred. (Invalid URI: The URI is empty.)
[2023-10-31T14:42:56.546Z]  ---> System.UriFormatException: Invalid URI: The URI is empty.
[2023-10-31T14:42:56.547Z]    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
[2023-10-31T14:42:56.547Z]    at System.Uri..ctor(String uriString)
[2023-10-31T14:42:56.548Z]    at Microsoft.Azure.Functions.Worker.GrpcHttpRequestData.get_Url() in D:\a\_work\1\s\src\DotNetWorker.Grpc\Http\GrpcHttpRequestData.cs:line 101
[2023-10-31T14:42:56.549Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.HttpRequestObject..ctor(HttpRequestData req)
[2023-10-31T14:42:56.549Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.Functions.OpenApiTriggerFunction.RenderSwaggerDocument(HttpRequestData req, String extension, FunctionContext ctx)
[2023-10-31T14:42:56.550Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.DefaultOpenApiHttpTrigger.RenderSwaggerDocument(HttpRequestData req, String extension, FunctionContext ctx)
[2023-10-31T14:42:56.551Z]    --- End of inner exception stack trace ---
[2023-10-31T14:42:56.552Z]    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[2023-10-31T14:42:56.552Z]    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
[2023-10-31T14:42:56.553Z]    at System.Threading.Tasks.Task1.get_Result()
[2023-10-31T14:42:56.553Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker2.<>c.<InvokeAsync>b__6_0(Task1 t) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2023-10-31T14:42:56.554Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
[2023-10-31T14:42:56.555Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
[2023-10-31T14:42:56.556Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.558Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.560Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.560Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2023-10-31T14:42:56.561Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.562Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 45
[2023-10-31T14:42:56.563Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2023-10-31T14:42:56.567Z]    at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 48
[2023-10-31T14:42:56.568Z]    at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77
[2023-10-31T14:42:56.569Z]    at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a\_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 88
Stack:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[2023-10-31T14:42:56.570Z]    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
[2023-10-31T14:42:56.570Z]    at System.Threading.Tasks.Task1.get_Result()
[2023-10-31T14:42:56.571Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker2.<>c.<InvokeAsync>b__6_0(Task1 t) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32
[2023-10-31T14:42:56.575Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
[2023-10-31T14:42:56.576Z]    at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
[2023-10-31T14:42:56.577Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.578Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.579Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-10-31T14:42:56.580Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2023-10-31T14:42:56.580Z] --- End of stack trace from previous location ---
[2023-10-31T14:42:56.581Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 45
[2023-10-31T14:42:56.582Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2023-10-31T14:42:56.582Z]    at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 48
[2023-10-31T14:42:56.583Z]    at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77
[2023-10-31T14:42:56.584Z]    at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a\_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 88```

+1. Also having this issue

I am also having this issue with Open API extension when using ASP.Net core integration for Isolated Process Functions.

+1 for the same issue. Any workaround?

+1 also having this issue, currently no workaround :/


Busy loop hang in PiscesRenderingEngine in OpenJDK 8

As discussed in the Slack #general...
Problem Description
While testing our application with AdoptOpenJDK instead of Oracle JDK we faced a busy loop problem that is maybe similar to the one described for Marlin (Java 9+) in https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8191815
In our case sun.java2d.pisces.Dasher.lineTo(NaN, NaN) is called. But it seems that also using 0 and very high values as described in the OpenJDK Bug above also causing an endless loop.
The "NaN" problem seems to be in Pisces only since Oracle JDK and Zulu do not have this problem. Oracle uses the closed source Ductus engine in Java 8, Zulu seems to use a backport of Marlin. Both engines seem to catch "senseless" values in advance.
In our case this scenario is triggered in a web application by JFreeChart. In the end all threads would hang in busy loops which could lead render an host completely unusable.
How to reproduce

Compile and run the attached class
It will print "If you don't see 'Not hanging.' then you hang :)" in console
If the bug is not triggered you will see a second line "Not hanging."
If the bug is triggered it will stay in line 29 in g2.draw(line) forever and consuming 100% CPU

EndlessLoop.java.txt
Tested distributions (all on Windows 10)

AdoptOpenJDK jdk8u172-b11 triggers the problem
AdoptOpenJDK jdk8u181-b13 triggers the problem
AdoptOpenJDK jdk8u192-b12 triggers the problem
AdoptOpenJDK jdk8u192-b13-0.11.0 triggers the problem (so also with OpenJ9)
zulu<IP_ADDRESS>-jdk8.0.181-win_x64 does not trigger the problem (uses a backport of MarlinRenderingEngine)
Oracle jre1.8.0_181 does not trigger the problem (also uses DuctusRenderingEngine)

So the problem seems to be related to the implementation in Pisces.
If you need more information just let me know.

A valid workaround seems to be the use of the Marlin renderer from https://github.com/bourgesl/marlin-renderer
I did the following steps:

Downloaded marlin jar from the github page above
Added the following VM arguments to the command line:
-Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine -Xbootclasspath/a:/path/to/marlin-0.9.3-Unsafe.jar

This cured the described problem.

I'm going to reopen this as a docs issue for our support site.  @Matze2 Thanks for your excellent analysis.

I was asked to summarize all our findings about visual and functional differences between Oracle JDK and AdoptOpenJDK (and Zulu) regarding Graphics2D and their possible workarounds.
Busy loop hang in PiscesRenderingEngine
This refers to this issue. The workaround is to replace Pisces with Marlin using the following steps:

Download marlin jar from https://github.com/bourgesl/marlin-renderer/releases (I used marlin-0.9.3-Unsafe.jar)
Added the following VM arguments to the command line:
-Dsun.java2d.renderer=org.marlin.pisces.DMarlinRenderingEngine -Xbootclasspath/a:/path/to/marlin-0.9.3-Unsafe.jar

Arbitrary long hanging in Marlin when drawing an erratic long line (possible DoS)
Related Marlin Issue: https://github.com/bourgesl/marlin-renderer/issues/31
Solution is to add the following rendering hint to Marlin:
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);

Condensed 90° rotated texts drawn in Graphics2d
Basically generated by the following code:
Graphics2D g2 = (Graphics2D)g;
Font font = g2.getFont();
AffineTransform affineTransform = new AffineTransform();
affineTransform.rotate(Math.toRadians(-90), 0, 0);
Font rotatedFont = font.deriveFont(affineTransform);
g2.setFont(rotatedFont);
g2.drawString(text, x, y);

Using AdoptOpenJDK the text appears very condensed compared to Oracle and also Zulu.
On Linux this seems to be worse than on Windows which might be related to different fonts but the effect is visible in both cases.
No real workaround here but an observation:
Replacing fontmanager.dll and freetype.dll with the ones from Zulu fixes the problem.

@Matze2

In our case this scenario is triggered in a web application by JFreeChart. In the end all threads would hang in busy loops which could lead render an host completely unusable.

In my case it was also triggered by JFreeChart-1.0.14. It was already reported and fixed in this issue.

See #1119

@karianna Can this be closed? It looks like discussions for this are best continued in #1119

@karianna Can this be closed? It looks like discussions for this are best continued in #1119

Yes, effectively a duplicate


feat: add auth endpoints

This change is

LGTM, but I guess also @nugaon and maybe @vojtechsimetka are interested?


Add check during creation of FEC dataset that there are no duplicate ligands

Description
Closes #469 and #465.
Status

[x] Ready to go

Needs an explicit test yet.

Codecov Report

Merging #476 (3ae6aa6) into main (8e1eb9e) will decrease coverage by 0.02%.
The diff coverage is 50.00%.

Additional details and impacted files

would it be possible to signal to the user which ligands are duplicates? Would make it easier to debug the input.

@JenkeScheen done! This is now ready for review!

@JenkeScheen I believe for same ligand, different binding poses the SmallMoleculeComponents will hash differently, since they use the conformer information as part of this calculation. So we might be good to go there.

Test failures appear unrelated; merging!


glib: 2.42.2 -> 2.44.0

Cc maintainers: @lovek323 @7c6f434c @urkud
Successfully built locally.

Should go to staging.


source_id registration of MPIESM1.2-HR

"source_id":{
"MPIESM-1-2-HR":{
"aerosol":"none, prescribed MACv2-SP",
"atmosphere":"ECHAM6.3 (spectral T127; 384 x 192 longitude/latitude; 95 levels; top level 0.01hPa)",
"atmospheric_chemistry":"None",
"cohort":[
"CMIP6"
],
"institution_id":[
"MPI-M"
],
"label":"MPIESM1.2-HR",
"label_extended":"dynamical vegetation and nitrogren cycle switched off",
"land_ice":"none/prescribed",
"land_surface":"JSBACH3.2",
"ocean":"MPIOM1.63 (tripolar TP04; approximately 0.4deg latitude/longitude; 40 levels; top grid cell 0-12m)",
"ocean_biogeochemistry":"HAMOCC",
"release_year":"2017",
"sea_ice":"thermodynamic (Semtner zero-layer) dynamic (Hibler 79) sea ice model",
"source_id":"MPIESM-1-2-HR"
}

@mbittner1 take a peek at CMIP6_source_id.html to confirm you entry, I made a couple of tweaks for consistency. I also wonder if you have a version number for:
"ocean_biogeochemistry":"HAMOCC",

This would be useful additional information

@durack1 At MPI-M it was decided to change the model names. Could you change the the following in the CVs, please
"source_id":{
"MPI-ESM-1-2-HR":{
"label":"MPI-ESM1.2-HR"
"source_id":"MPI-ESM-1-2-HR"
Thank you very much and best regards

Changes required, reopening

@mbittner1 that rename has been made. Take a peek at CMIP6_source_id.html and let me know if any further tweaks are required

@durack1 Here as well one small change
Can you please change the "source_id" to MPI-ESM1-2-HR (without the dash between ESM and 1). In this way it is consistent with the label.
Thanks!


refactor!: change certificate resolution

Closes #162
This pull request changes how the certificates for the development server are resolved.
Previously, the valetTls option needed to be defined for Valet certificates to be inferred. However, this is not an environment-agnostic solution: if a developer works on Windows, they will get an error when the server starts.
I tried to mitigate this through https://github.com/laravel/vite-plugin/pull/151, but this requires valetTls to be removed/set to false, and everyone to specify their certificates in their .env, which is super inconvenient.
Even when using valetTls, the current implementation tries to find certificates by using the current working directory's name instead of the APP_URL, which is problematic when the directory name is not the same as the APP_URL. This can be fixed by setting valetTls to the name of the domain, but then this breaks the configuration for the rest of the team — so we're back to setting valetTls to false and manually specifying the certificates in the .env.
To fix all of these issues:

The valetTls option in vite.config.ts should be removed
Certificates should be inferred in a logical order (environment-defined certificates first, then Valet certificates)
Certificate resolution should not throw an error

Marking this as draft to properly test it in all of our environments.

Hey Enzo!
I don't really see any issues with the current implementation.

valetTls works as expected. It is a good feature that I personally use every day. I don't think we should remove it.
I don't think we should ever use the APP_URL to determine the host. I think we need to reconsider how we did that in the env setup PR anyhow, I just haven't gotten to it.
The valet setup determines your host in exactly the same way that valet itself determines the host. Alternatively, if you use a custom host with valet, you may configure it with  valetTls: 'foo.test'.
valetTls should take precedence over the ENV config. It is more explicit than specifying things in the ENV. I think the current waterfall of config makes sense and personally wouldn't want it to work in reverse.
I don't see how silently failing when the certificates you have specified helps? If you have specified a path and we can't find it, the developer facing errors are rather useful IMO.

Would it not be possible to just remove valetTls from your own projects config and use the ENV method instead?
Please let me know if I'm missing something though.

Hey Tim!
Thanks for your work on this feature and for taking the time to review this. For the record, I added way more context in this issue.
There is nothing wrong with the feature itself obviously, the issue is that its implementation is not environment agnostic.

valetTls works as expected as far as I can tell. It is a good feature that I personally use every day. I don't think we should remove it unless there is something broken in the feature itself.

Yes, this is a good feature and it works. My suggestion is to remove the setting, not the feature, because of its non-agnostic nature.

The valet setup determines your host in exactly the same way that valet itself determines the host.

I think having the host determined by the .env is better because that's the one the developer would use. We're 100% certain that's the one being used, as opposed to the current directory which could have a different name. This is the issue we're experiencing.

Alternatively, if you use a custom host with valet, you may configure it with valetTls: 'foo.test'.

While this is true, modifying vite.config.ts this way would break the setup for every other developer in the team. We don't necessarily use the same domain name.

valetTls should take precedence over the ENV config. It is more explicit than specifying things in the ENV. I think the current waterfall of config makes sense and personally wouldn't want it to work in reverse.

Anything in the configuration should take precedence over the environment, I agree. But this specific feature is not environment agnostic, that's why I'm suggesting an alternative that makes sense in a multi-member, multi-environment team, and still works for individuals in a transparent way.

Would it not be possible to just remove valetTls from your own projects' config and use the ENV across the whole team instead?

While this is possible, I think it's unfortunate to give up the DX of certificate discovery. I don't know by heart the paths to my certificates and I don't want to have to set it up for each project that we work on as a team, for each member.

I don't see how silently failing when the certificates can't be found helps? If you have specified a path and we can't find it, the developer facing errors are rather useful IMO.

To be fair, this is just the only drawback of my suggestion — since the certificate discovery is automatic, we can't know for sure the lack of certificate is an issue. For instance, if the developer doesn't use https locally, they still want the server to start without an exception.
Let me know if I missed some of your points or if I didn't explain well enough.

I've tested this PR in a Windows machine running WSL2 with no Valet and it works just fine! ✅👍
This is something we've struggled with since some members use Valet and I personally don't.
With this PR we can all work without having to worry about the valetTls being set 🚀
I hope this gets merged so this config becomes environment agnostic 🙌

FYI: draft pr's don't get reviewed.

@driesvints Thanks—I've just marked this PR as ready for review, the person as was waiting for in my team to test this PR is still not available, but since it's been tested on Windows/without Valet, I think it's ready.

After chatting over this one with @jessarcher yesterday, we think we want to hold off merging.
We want to keep the Laravel plugin focused on making Laravel work with Vite. Telling Vite about where generic TLS certificates exist on your system isn't really a "Laravel" problem and is already something that Vite supports out of the box.
Additionally, it seems to us that we have exposed all the tools needed for an array of team configurations:

A solo dev using Laravel Valet  can easily just add valetTls to their config (we of course want first party support for Valet).
A team exclusively using Valet may do the same.
A team not using Valet at all may specify their certificate paths via Vite's first party support. They may hard-code paths or use ENV values.
A team with a mixture of Valet and non-Valet devs may either:

Specify their certificate paths via Vite's first party support using ENV values.
Use the valetTls option for those that want it or use ENV values for those that do not.

The following is an example of how those using Valet may take advantage of auto-detection, while others not using Valet may specify the paths in their ENV.
import fs from 'fs'
import { defineConfig, loadEnv } from 'vite';
import laravel from 'laravel-vite-plugin';

const env = loadEnv('', '', '')
const host = new URL(env.APP_URL).host

export default defineConfig({
    plugins: [
        laravel({
            input: ['resources/css/app.css', 'resources/js/app.js'],
            refresh: true,
            valetTls: ! env.VITE_DEV_SERVER_KEY
        }),
    ],
    ...env.VITE_DEV_SERVER_KEY ? {
        server: {
            hmr: { host },
            host,
            https: {
                key: fs.readFileSync(env.VITE_DEV_SERVER_KEY),
                cert: fs.readFileSync(env.VITE_DEV_SERVER_CERT),
            },
        },
    } : undefined,
});

I don't understand the rationale :(
This change doesn't make the code more complex (it even removes code), and it keeps existing logic and even improves it by handling more scenarios. I think this is what makes a framework, especially Laravel: flexibility and developer experience.

Additionally, it seems to us that we have exposed all the tools needed for an array of team configurations

While this is true, the whole point is that it is inconvenient. For mixed-environment teams, using the first solution, you don't get the benefit of automatic Valet certificate detection, and using the second one, you have to update your config with additional logic and conditions.
All of this can easily be improved with this pull request with no specific maintenance cost.
I want to point out that the plugin isn't even necessary to make Vite works with Laravel in the first place, people have been doing it since Vite 2. It's really just about the developer experience, the reduced boilerplate.
I kindly ask you to reconsider your decision.

@innocenzi circling back to this to get this wrapped up. My understanding is the following satisfies your requirements without needing an complex config
import { defineConfig, loadEnv} from 'vite'
import laravel from 'laravel-vite-plugin'

const env = loadEnv('', '')

export default defineConfig({
  plugins: [
    laravel({
      input: 'resources/js/app.js',
      detectTls: env.VITE_DETECT_TLS === 'true' ? true : env.VITE_DETECT_TLS,
    }),
  ],
})

Then in your .env...
# file .env

# MacOS w/ Herd or Valet using conventional directory structure...
VITE_DETECT_TLS=true

# MacOS w/ Herd or Valet using unconventional directory structure...
VITE_DETECT_TLS=my-app.test

# Users not using Herd or Valet...
APP_URL=my-app.test
VITE_DEV_SERVER_KEY=/path/to/key
VITE_DEV_SERVER_CERT=/path/to/cert

How certificate resolution currently works
Just documenting this for myself more than anything.
detectTls

When detectTls is true than we automatically resolve the certificate via Herd or Valet using $CWD.{tld}
When detectTls is a string than we automatically resolve the certificate via Herd or Valet using $detectTls.{tld}

In both of these situations, an error is thrown when the certificate is not found.

When detectTls is false|undefined we would attempt to resolve the certificate via the environment using the following...

Environment resolution

When VITE_DEV_SERVER_KEY or VITE_DEV_SERVER_CERT is not set, no TLS configuration is done.
When either of the paths specified in VITE_DEV_SERVER_* do not exist an error is thrown.
When a host cannot be found via the APP_URL environment variable an error is thrown.
Otherwise the host and certificates are used to configure HTTPS.

I think the only change I would want to make here it to have the Valet / Herd certificates auto detection in place, which we are looking at in https://github.com/laravel/vite-plugin/pull/180

Thank you for taking yet another look! I appreciate you spending time on this.
Just like the previous suggestion, while yes, this would work, it is not ideal and does not improve the developer experience as I was hoping.
As stated in my other PR, I'll instead use my own plugin to fill my apparently specific needs, so I'm going to close this one. Thank you 👍


bucketmgr: fix undefined reference in index creation/deletion

When bucketmgr creates/deletes some indexes, it was using
this._bucket.name where it should have been using this._bucket._name.

https://issues.couchbase.com/browse/JSCBC-334


ViewConfig has no effect for authentication properties

Describe the bug
Suppose I want to protect my Hilla views with loginRequired and rolesAllowed using ViewConfig API:
export const config: ViewConfig = {
    loginRequired: true
};

and
export const config: ViewConfig = {
    loginRequired: true,
    rolesAllowed: ['ROLE_USER'],
};

and setting the following routes in routes.tsx:
let routing = protectRoutes([
    {
        element: <Layout />,
        handle: { title: 'Main' },
        children: [
            { path: '/', element: <Public />, handle: { title: 'Public' } },
            { path: '/about', element: <About />, handle: { title: 'Welcome' } },
            { path: '/hilla', element: <Hilla />, handle: { title: 'Hilla' } }
        ],
    },
    { path: '/login', element: <Login />, handle: { title: 'Login' } }
]) as RouteObject[];

This has no effect unfortunately: if I log in under another user with another role, the view is accessible, and if I change to loginRequired: false, Hilla redirects me to /login.
If I remove ViewConfig from Hilla views, the behaviour is the same: the application just requires me to login.
Expected-behavior
Hilla should take role into account and not require me to log in if I set loginRequired: false.
Reproduction
Can be reproduced with the branch https://github.com/vaadin/flow-hilla-hybrid-example/pull/30.
System Info
Vaadin 24.4.0.alpha17.

export const config is a feature of the FS router. If you don't use it but instead configure routes manually, then you should put access control in handle in the route configuration rather than in export const confit

I noticed it when I tested https://github.com/vaadin/hilla/pull/2250, where FS router is used.
But yeah, good to know that it's not applicable for manual routes.

Closing as won't fix. ViewConfig by design does not apply to manually declared routes.


How to run on different port?

Hi, i tryed with no problems on :3000 port, but what if i want to start it on 3002 or new port? changing it on config/server.js file run but not works on browser. Thanks

Hi @crobinson
do you use Docker or Nginx?

Apache

@crobinson
pls, show more logs

browser response
config/server

In config/server.js you need to change:

storeBaseUrl: "http://localhost:3000", - Access-Control-Allow-Origin
storeListenPort: 3000, - Node server


Add support for class selector

The data returned by WebDriverIO is an Array only if the selector is found more than one time. It doesn't matter if it is a class, id, li, etc.
@valentin-radulescu-hs @flavius-tirnacop-hs review?

LGTM

LGTM


Fixes and refactors for melody_encoder_decoders

-Modify melody encoder/decoder code to avoid destroying encoded/decoded melodies while also avoiding unnecessary copies.
-Adds NO_EVENT padding to end of extracted melodies to complete bars.
-Adds max_steps argument for melody extractor that shortens melodies that are too long to the end of the nearest bar.
-Refactors some melody encoder/decoder code for re-use.

LGTM


Godot doesn't ignore MacOS's hidden ._ (dot underscore) metadata files for C# files, leading to binary file errors

Godot version
v4.1.1.stable.mono.official [bd6af8e0e]
System information
Godot v4.1.1.stable.mono - macOS 13.4.0 - Vulkan (Forward+) - integrated Apple M2 - Apple M2 (8 Threads)
Issue description
I use an external drive on my Mac due to the very stingy amount of storage they give you by default. It's an ExFAT drive so it'll work with the main Windows PC if need be. This is where I store my projects.
When writing C# code in an external editor, Visual Studio Code in this case, because it's on a non-Mac file system, it creates a complementary binary file which supposedly contains metadata. These have the same name as the file being created or edited, but it's prefixed by ._ (file.cs would be ._file.cs).
Godot refuses to build when these files are present, you'll get an error like
CSC(0,0): '/Volumes/T7/Main/GodotProjects/Start/._Test.cs' is a binary file instead of a text file
This only seems to be the case for .cs files; it doesn't matter if ._ GDScript files are present, the project still builds.
In order to stop this, you need to remove the files. MacOS does have the functionality for this, you can run dot_clean -m . in the directory, but you have to do this every time you save a file.
The expected behaviour would be for Godot to specially ignore these MacOS hidden files.
Steps to reproduce

On MacOS, create a project using Godot with Mono support on an external drive formatted to FAT32, ExFat, or NTFS.
Use an external editor like Visual Studio Code to write C# code, save it.
Run the project, you should get the error CSC(0,0): '<file path>' is a binary file instead of a text file

Minimal reproduction project
N/A

This is (almost certainly) not a Godot specific issue. Try creating a standalone C# project like that and compiling it with the dotnet command directly and you will see the same errors.
Also this seems to an issue that is very specific to your setup so I am not sure if Godot should try to work around it, especially since there could be projects that use such filenames for things that should be part of the project.
As a workaround you can try adding this to your .csproj:
  <ItemGroup>
    <Compile Remove="**/._*" />
  </ItemGroup>


implement self-typing for better fluent builders

Hi!
Since TC is fluent-ish, it makes sense to use self-typing to avoid upcasting.
This is a preparation step before our next proposal - proper traits, but it's useful as a separate contribution as well.

The command "docker pull dduportal/docker-compose:1.6.0" failed and exited with 1 during .

something wrong with TravisCI

could be superseded with #145

Thanks - this is something that's been bugging me for a while and I'm keen to improve this. I'll have a look over the weekend!

This looks good. I'm making a couple of minor tweaks - renaming the TestContainer interface to simply Container and filling in a few javadocs gaps and reordering some methods. Other than this though I think I'll merge shortly.
Re #145, I really like the potential of that approach - will comment there.


Add sagsevent to koordinat when inserting beregning

@klavspc this should resolve the constraint issue `ORA-01400: cannot insert NULL into ("FIRE"."KOORDINAT"."SAGSEVENTID")``you got into when trying to insert beregning.

We still need code to close existing koordinater, as I see it.

@AsgerPetersen - yep I'm aware that part is not done yet. I got to thinking about if it would be sensible or not to do it as a trigger.

Also, I'm not certain about how we make sure koordinat is related to the correct punkt in all this.

Ensuring the right relation between koordinat and punkt is the responsibility of the client. A koordinat does not make any sense without its relation to a punkt.

Ok but so who is responsible for creating the punkt in the first place? I suppose we need indset_punkt.

The time line for creation of these objects is typically

punkt and geometriobjekt
observation
beregning and koordinat

We definitely need a method for inserting points. MAYBE that method should require that the punkt has a geometriobjekt as it is important for the functionality of the API.


Could this package be made smaller?

I think this is a really cool package. I was wondering if it truly is necessary that this is essentially a clone of the sklearn, why not just import the things from sklearn that you need?

installing a 5 years old sklearn package is definitely an overkill for just a couple algorithms


I had a pr that this change fixed it

Hey @im2nguyen, I had a pr that this change fixed it. See here

@im2nguyen,see https://github.com/hashicorp/terraform-provider-hashicups/issues/77


allow to config task expire time

Allows to customize how often to purge ended tasks from Helix, the default is 24hr.
Release note

controller.task.expire.time.ms to set the expire time. 24hr by default as of today.

Codecov Report

Merging #9530 (0be2fb7) into master (e1aa147) will decrease coverage by 2.64%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #9530      +/-   ##
============================================
- Coverage     69.87%   67.23%   -2.65%
+ Complexity     5202     5004     -198
============================================
  Files          1927     1426     -501
  Lines        102693    74435   -28258
  Branches      15586    11879    -3707
============================================
- Hits          71760    50043   -21717
+ Misses        25873    20773    -5100
+ Partials       5060     3619    -1441

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
67.23% <ø> (-0.02%)
:arrow_down:

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...va/org/apache/pinot/core/routing/RoutingTable.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...va/org/apache/pinot/common/config/NettyConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/pinot/common/metrics/MinionMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/pinot/common/metrics/ControllerMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/BrokerQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/MinionQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ache/pinot/server/access/AccessControlFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...he/pinot/common/messages/SegmentReloadMessage.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...he/pinot/common/messages/TableDeletionMessage.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pinot/core/data/manager/realtime/TimerService.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 741 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Missing viewBox on some flags

I want to use the flags inside a symbols collection but not all flag have viewBow attribute set. So they not appear correctly.
example: viewBox="0 0 512 512"

PR: https://github.com/lipis/flag-icon-css/pull/111

will review it soon... thanks

By using the flag I discover that some don't render well with this viewBox set :(

More like all of them that you touched :D https://github.com/lipis/flag-icon-css/pull/111#issuecomment-159642513

Yes I don't know where the flags came from but I think I will remake them with sketch base on wikipedia source and optimized as possible for the web. Thanks for your feedback.

So I guess I'm closing this one..

@copycut Did you come up with some other SVG flags source or how did you get around this issue?


Portia orm normalized urls

Add normalization to start urls, adding generated_urls to the start_urls key in the spider.

:+1: