[QUERY] Deferred messages in session-enabled queue

Library name and version
Azure.Messaging.ServiceBus
Query/Question
I have a scenario where in a queue, which is session-enabled, I need to defer some messages for later processing. However, in rare circumstances, the process loses track of the sessions, and the messages seem to remain trapped for eternity. I need to accomplish one of the these two things:

Be able to iterate through the deferred messages. If this message wasnt session-enabled I would be able to get all messages and inspect their state. However, the AcceptNextSessionAsync() it never goes through the deferred messages, but rather throws ServiceTimeout exception as sessions do not exist. How do I get to these messages, in a session enabled queue?
Be able to expire them and send them to DLQ after a certain period of time. I was expecting the deferred messages to go to DLQ just like the regular expired messages, but that does not seem the case. Is there a way I can accomplish this?

Thanks.
Environment
No response

If you know the specific session that the message is in, you can use the AcceptSessionAsync method and pass in the sessionId.
In order to receive deferred messages you need to know the specific sequence numbers. If you prefer something like a deadletter queue, you can use the DeadLetterMessageAsync method instead of DeferMessageAsync.

Can you confirm, that without the session id or sequence ids, the messages in the deferred list are stuck/lost forever, and there is no way of getting them out (short of deleting and recreating the queue)?

Yes, you need the sequence Ids to receive deferred messages, and in the case of using sessions, you need the session Id if you don't still have the receiver instance that originally received the messages. You can peek messages to attempt to find the deferred messages as these messages will have the State property set to deferred.

Also, that the stuck messages in the Deferred List do not expire, like messages in the regular queue do, and hence do never go into the DLQ?

Correct, this is called out in the docs - https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-deferral

If this the case for both, than this solution should come with a bold disclaimer, as this may result with unintentional data loss.

Agreed - take a look at the docs here - https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-deferral#retrieving-deferred-messages

@JoshLove-msft  thanks for the clarification.
The docs mentions this "Deferred messages can be discovered via message browsing if an application loses track of them." I am assuming that in case when I don't have a valid session id I cannot "browse" the messages as I cant call AcceptSessionAsync and AcceptNextSessionAsync will always timeout. Is that correct?

You should be able to use a regular ServiceBusReceiver when peeking (aka browsing) since there is no need for a lock when peeking. I just tested this out and it works.

When I try with a regular receiver I get an error about the queue needing a ServiceBusSessionReceiver since the queue is session-enabled. The regular ServiceBusReceiver throws an error for me. Can you paste some working code to see if I get it right?

  var regularReceiver = client.CreateReceiver(scope.QueueName);
  // verify peeked == send
  var ct = 0;
  foreach (ServiceBusReceivedMessage peekedMessage in await regularReceiver.PeekMessagesAsync(
      messageCt,
      sequenceNumber))
  {
...
  }

@JoshLove-msft  Thanks for this. It set me in the right direction. At the end I was able to accomplish what I was expecting to do.
However, I run into an unexpected behavior, that would like to bring to your attention.
This is finally the code that does it all for me. I wanted to get Deferred messages that have ExpiresAt past due. And process them differently or send them to DLQ for alternative processing. This code does that.
However, the line  session.ReceiveDeferredMessagesAsync(seqs) throws an error and doesnt find the message because the system throws it directly into DLQ before you retrieve it. I was expecting to get the message, and than send it myself to DLQ.
            //list of sequence numbers / sessions
            var sessionids = new Dictionary<long, string>();

            //here I am collecting all deferred messages that are past expiration time/
            //I am collecting their sequence numbers and their session id
            // >> in my test I get 3 messages that fit this criteria
            // >> sessionid: ffcb549a-437a-4357-a238-f2837708879b sequencenumbers: 67, 69, 70
            foreach (ServiceBusReceivedMessage m in await resp_receiver.PeekMessagesAsync(1000))
            {
                if (m.State == ServiceBusMessageState.Deferred && m.ExpiresAt <= DateTime.UtcNow)
                {
                    sessionids.Add(m.SequenceNumber, m.SessionId);
                }
            }

            //getting a distinct session values
            // >> in my tests, single value: ffcb549a-437a-4357-a238-f2837708879b
            var ids =  sessionids.Values.Distinct().ToList();

            foreach (var id in ids)
            {

                //this is a custom method. it returns a Session Receiver with the given id : ffcb549a-437a-4357-a238-f2837708879b
                var session = await _getSessionAsync(q_name_resp, id, new CancellationTokenSource(TimeSpan.FromMinutes(1)).Token);

                if (session != null)
                {
                    //this aggregates the sequence numbers
                    // >> in my tests a list of 67, 69, 70
                    var seqs = sessionids.Where(s=>s.Value == id).Select(s=>s.Key).ToList();
                    try
                    {
                        // this one fails: Failed to lock one or more specified messages. Either the message is already locked or does not exist. ... (MessageNotFound)
                        // It fails because before even returning the messages, behind the scenes it expeires them and sends them to DLQ. Hence, ReceiveDeferredMessagesAsync() throws errors becuase messages are already in DLQ.
                        // Enexpected behavior, but it does exactly what I wanted to do.
                        var msgs = await session.ReceiveDeferredMessagesAsync(seqs);
                    }
                    catch (ServiceBusException ex)
                    {
                        if (ex.Reason != ServiceBusFailureReason.MessageNotFound) throw;
                    }
                }
            }

Are you deferring the messages after they have already been deadlettered? Can you share the deferral code?

No the message is send to Deferred list immediately after it is read. The choices are: if message is next in line to be processed, process it, otherwise defer it. It expires while it is in the deferred list, when the message prior in the processing order never makes it.
The code is rather complex, but here is a simplified version of it that tells the sequence of events.
var state_data = await reqs_receiver_session.GetSessionStateAsync();
var session_state = state_data != null ? state_data.ToObjectFromJson<SessionStateManager>() : new SessionStateManager();

if (order == session_state.LastProcessedCount + 1)  //check if message is next in the sequence
{
    // process message here

    if (!isLast)
    {
        session_state.LastProcessedCount = order;
        await reqs_receiver_session.SetSessionStateAsync(new BinaryData(session_state, null, typeof(SessionStateManager)));
    }
    else
    {
        await reqs_receiver_session.SetSessionStateAsync(null);
    }

    await _processDeferredListAsync(session_state, reqs_receiver_session, _executeCommandMessageAsync);
}
else
{
    await _addMessageToDeferredListAsync(session_state, order, item, reqs_receiver_session);
}

In hindsight, this seems like a bug. The ExpireAt trigger should expire a message regardless of its state, either being Active or Deferred.
In case of Deferred, it seem to place it in this limbo state, where it has expired but is not in the DLQ. It is still in the Deferred list, and you can Peek it, but you can't read it as when try to read it, and only then, it jumps into the DLQ, before you can actually read it. It is in this you can see it but you cant read it mode. Which is not helpful.
You can try this by defer a message with a shorter ExpiryAt period, and you will see it that is stays in the list, you can see it by Peek-ing at it, but when retrive it only then goes to DLQ and you get an exception. Try this in a session-enabled queue, as that is where I see this.

I'll try to reproduce this and then follow up with the service team regarding the expected behavior here.

In hindsight, this seems like a bug. The ExpireAt trigger should expire a message regardless of its state, either being Active or Deferred.

As noted in the docs, this behavior is by design. I will need to follow up on the behavior once the expiration has past.

I've confirmed with the service team that what you are seeing is the expected behavior:
Deferred messages will not be automatically moved to the DLQ on expiry. However, once they are expired and you try to receive them, they will be moved to the DLQ at that time. They informed me that they would update the docs to clarify this.


Rn 4.2.1

Goal
Update the Android SDK to include the refactor for source map and bundle uploads. This update also includes using MD5 instead of the native build ID.
Extra: I added some files to the package.json to exclude some files from the final package

@facostaembrace  I will close this PR since @jpmunz asked to bump to 4.3.0 since android requiere an agp/gradle bump version. I will delete this branch  and open a new one


Augment number of pods kept after completion

Description
Increment the number of pods kept after completion both in case of success or failure.
Type of change

Configuration update

Testing steps
Not tested!
Checklist

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

Not sure if clowder supports these fields, but LGTM. Will have to check in stage

Not sure if clowder supports these fields, but LGTM. Will have to check in stage

It should. But yes, we'll see.


When loading a large amount of data, the display is misaligned.

I have the same issue with version 11 preview8.
Minimal Example:
TreeDataGridUpdateTest.zip

Due to the composition renderer using float as discussed here: https://github.com/AvaloniaUI/Avalonia/issues/11641#issuecomment-1575692562

In comparison DataGrid seems not to be affected by this issue. What is the difference to a TreeDataGrid?


Under Issue pass in User page, allow ops to select based on route label instead of rp tag

This will require a migration from Angular to Vue for the User page to take advantage of the route lookup components that we have.

Yup as per what you mentioned during the meeting.
On Fri, 10 Nov 2017 at 4:29 PM, LoneRifle<EMAIL_ADDRESS>wrote:

This will require a migration from Angular to Vue for the User page to
take advantage of the route lookup components that we have.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/datagovsg/beeline-admin/issues/339#issuecomment-343408733,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVtU3775Oqbdfi_7BjKJzq_OQoTyGY3Rks5s1AlggaJpZM4QX4DG
.


Enhance the value error when missing a reqiured param.

Before this PR, if you miss the party on creating a fed actor, the program will hang.
In this PR, we address that by raising a necessary ValueEerror.
Please see the unit test for more details.

Does this problem apply to fed function without party?

Does this problem apply to fed function without party?

No. But func was done for that.  https://github.com/ray-project/rayfed/blob/main/fed/api.py#L305


Seeing issue with IE11 potentially related

Hi! On our apps on IE11 we're seeing the error: this engine has support for Symbol.toStringTag, but Float32Array does not have the property! Please report this. I believe it is from the changes that were made yesterday. If not, I'm sorry for the inconvenience. My theory is that the change from
var hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol';

to
var hasToStringTag = require('has-tostringtag/shams')();

is not the same check. has-tostringtag/shams does:
	return hasSymbols() && !!Symbol.toStringTag;

On IE11 for us, our typeof Symbol.toStringTag  is object, so it is now truthy, where-as previously it was not.
Thanks! Let me know if you want me to help with any further diagnostics!

Edit: Confirmed that I was able to fix IE11 by pinning: is-typed-array and which-typed-array (I might only need the former, was a little whack-a-mole, and added it after just the latter didn't fix it). We're getting these as a dependency of util:
"util": "^0.12.4"

Thanks for filing!
Presumably you're using core-js? Which version?
Can you check what new Float32Array(0)[Symbol.toStringTag] returns in your shimmed IE 11 environment?

Presumably you're using core-js? Which version?

based on our babel config, looks like 3.

Can you check what new Float32Array(0)[Symbol.toStringTag] returns in your shimmed IE 11 environment?

undefined

just 3? what does node_modules/core-js/package.json say?

Sorry, meant using this cofig: https://babeljs.io/docs/en/babel-plugin-transform-runtime#corejs -- the package.json shows version: 3.16.0

gotcha, thanks. i'll fix the error here to account for typed arrays with shammed symbols :-)

Thank you!

Released in v1.1.6; please let me know if that works for you :-)

@ljharb coming from here now: https://github.com/inspect-js/is-typed-array/blob/main/index.js#L28

aha, thanks :-) fixing that next.

Fixed in is-typed-array v1.1.7.

looks like that fixed it!


Slack notifications

send a notification to the #cgs-iow-bots channel on slack if there is a failure.
Refactored a bit to make things cleaner and added lots of comments so it is clear what is occurring
removed old documentation that is no longer relevant

Marking this back as a draft; been continuing to do some work on putting in code so the graph can be versioned. Feel free to review this if you want, no worries/expectation either way, just wanted to make sure everything is good with you as I make edits.


[FEATURE REQ] Support for Unity framework

Library name
Azure.Core
Please describe the feature.
Azure Communication Services Chat SDK UWP SDK can't run in Unity platform, due to usage of non-supported serializer.
Unity has their own JSON serializer for simple serialization   (https://docs.unity3d.com/Manual/JSONSerialization.html)  For more complex JSON   serialization/deserialization apps typically use Netwonsoft JSON (https://docs.unity3d.com/2019.4/Documentation/Manual/com.unity.nuget.newtonsoft-json.html).
Can Azure.Core use serializer that will be supported also for Unity Framework?
In Unity 2020 You can't use the  .Net scripting backend building for UWP.   Unity only supports the IL2CPP scripting backend for UWP.  The problem appear of result of how Unity IL2CPP compiler handles generics.   As result of some compiler limitation, Unity does not support .Nets JSON serialization.
You can find some information here:

https://github.com/dotnet/runtime/issues/49772
https://forum.unity.com/threads/please-add-system-text-json-support.1000369/

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.5488771,Azure.Identity:0.12373466,Search:0.04944586'

Thank you for your feedback.  Tagging and routing to the team members best able to assist.

Hi @tomaschladek - If I am understanding correctly, the change would need to be made in Unity to support System.Text.Json. I don't think we would be able to change serialization all up to accommodate Unity's restrictions.

I believe the Unity limitation can be worked around by providing a custom converter and set it up in the JsonSerializationOptions, for each value type being serialized.    This dotnet issue describes the workaround:
https://github.com/dotnet/runtime/issues/49772

@christothes sorry for the delay, can we please reopen the bug. Adam have provided more info above in the comment

@christothes sorry for the delay, can we please reopen the bug. Adam have provided more info above in the comment

Hi @tomaschladek - If I understand correctly, the workaround mentioned requires that all types being serialized specify custom JsonSerializerOptions. However, this would not be possible for internal types, or types where serialization is not controlled by the developer.
This seems like an issue that Unity would need to address holistically, since the workaround would only apply to public types. Please let me know if there is a suggestion you have about how this could be addressed in the SDK.

@christothes  I believe the workaround involves writing customer converter for JwtPayload::ExpiresOnRaw value type.    This type is part of  the Azure Communication Chat SDK

        internal class JwtPayload
        {
            [JsonPropertyName("exp")]
            public long ExpiresOnRaw { get; set; }

            [JsonPropertyName("acsScope")]
            public string ScopesRaw { get; set; } = "";

            public DateTimeOffset ExpiresOn => DateTimeOffset.FromUnixTimeSeconds(ExpiresOnRaw);
            public string[] Scopes => ScopesRaw.Split(',');
        }

It seems like a custom converter could be specified and used in the Chat SDK, regardless of JwtPayload being internal.  Something like:
            //Serialization options
            JsonSerializerOptions serializeOptions = new JsonSerializerOptions()
            {
                // ValueTypeConverter described in the issue @ https://github.com/dotnet/runtime/issues/49772
                Converters = { new ValueTypeConverter<long>() }
            };

            JwtPayload myObject = new JwtPayload();

            //Serialize the object
            string theSerializedObject = JsonSerializer.Serialize(myObject, options: serializeOptions);
            Debug.Log(theSerializedObject);

            //Then deserialize again
            JwtPayload myObjectDeserialized = JsonSerializer.Deserialize<JwtPayload>(theSerializedObject, serializeOptions);

I'm not sure if there's a more generic to support this for all SDKs, or if this just makes sense in SDKs that want to support Unity (i.e. in the Chat SDK)

Thanks @AMollis - The issue with being internal is that the developer cannot provide the custom serialization. I don't think we'd want to set this by default or implement custom logic to switch between the custom serialization and the default.
The other thing to note is that this type is just one of many that would encounter this problem. It just happens to be the first one we'll hit because it is related to authentication.

Makes sense.  There can easily be many other instances of value type serializations.  Managing all these special cases for Unity is not sustainable.
Do you see any other workaround for a developer, other than forking the Chat SDK and making custom build, or the app developer calling REST APIs directly?

@RezaJooyandeh Do you have any thoughts here?

@RezaJooyandeh @DominikMe @petrsvihlik do you have any idea how to resolve it?

@christothes @tomaschladek
If the problem is caused by generics and the Common library is the only place that's causing the problem, we can work around it by replacing
return JsonSerializer.Deserialize<JwtPayload>(Base64Url.DecodeString(tokenParts[1]));

with something like
// For compatibility with Unity, avoid using JsonSerializer.Deserialize<JwtPayload>
var jsonDoc = JsonDocument.Parse(Base64Url.DecodeString(tokenParts[1]));
jsonDoc.RootElement.TryGetProperty("exp", out var exp);
jsonDoc.RootElement.TryGetProperty("acsScope", out var scp);
exp.TryGetInt64(out var expVal);
var jwt = new JwtPayload()
{
  ExpiresOnRaw = expVal,
  ScopesRaw = scp.ToString()
};
return jwt;

A longer-term solution that we're currently working on for different reasons, would be avoiding any kind of JWT parsing. The goal is to make the token completely opaque to SDKs.

@AMollis do you, by any chance, have a testing project at hand that would allow reproducing the issue? I'd like to test the fixes suggested above and possibly include one of them in the Common lib,

What would it help if we work around the Unity compatibility issue in Common and then the credential gets passed into Chat which itself uses JSON serialization that breaks Unity?

What would it help if we work around the Unity compatibility issue in Common and then the credential gets passed into Chat which itself uses JSON serialization that breaks Unity?

Yeah, that's why I'm saying that the fix would make sense only if Common is the only place that's causing the problem. Anyway, I've got access to the sample code so I'm gonna run a couple of tests and see how big of an issue this is.

@tomaschladek I was able to reproduce the behavior, apply a fix and successfully receive a message sent from Teams.
UnloadTime: 2,787700 ms
End showing splash screen.
[ACS Test] Status updated: Logging in
[ACS Test] Obtained auth token.
[ACS Test] Status updated: Logged in
[ACS Test] Joining teams meeting (https://teams.microsoft.com/l/meetup-join/19%3SECRET)
[ACS Test] Status updated: Connecting
[ACS Test] Status updated: InLobby
[ACS Test] Status updated: Connected
[ACS Test] Starting teams chat...
[ACS Test] Started teams chat
[ACS Test] (Petr Svihlik)
test message

It seems that the fix in Common could unlock some scenarios (like Chat). However, there is no guarantee that we won't run into it in the future at a different place. Before we make any changes, here's what I suggest:

perform a static analysis of the .NET ACS codebase to search for similar problems
based on the results, decide whether to fix them or not
if yes, introduce automatic tests for Unity compatibility

I'm on vacation today and the next two weeks. Please let me know your thoughts in the meantime and let's discuss when I get back.

@petrsvihlik thank you very much for the test. Lets proceed with the proposed process. Can you please track the work with Anitha?

@tomaschladek tracking internally as https://skype.visualstudio.com/SPOOL/_workitems/edit/2884882


Finished task 1

Sorry about this but I can't find out how to merge it. There's no button in the pull request and when I try to do it through the command prompt (swapping to trunk, using git merge develop, and then git push -u origin trunk) it tells me that I don't have write permission.
This is my first time actually using Github, sorry again!
If I'm doing something wrong, please let me know. Thank you!
Also included is a screenshot of the command prompt.


Question about the purpose of xscratch CSR

Hello, according to RISCV-ISA, purpose of mscratch is as follows : "Typically, it is used to hold a pointer to a machine-mode hart-local context space and swapped with a user register upon entry to an M-mode trap handler".
My question is what about nested exceptions? Woudn't it swap back to the original user register value upon entry to second exception? Or is there a flag where software can query to know that it is about to enter a nested exception/trap, and skip swapping mscratch value out?

In the Linux kernel, the invariant is that sscratch holds a nonzero value when executing in user-space and holds zero when executing in the kernel.  So the nested case can be detected and handled separately by branching on the zeroness of sscratch.
There's obviously a transient state where the invariant doesn't hold, but interrupts are always disabled when in the transient state, and the code is written such that a synchronous exception can't occur.
https://github.com/torvalds/linux/blob/0bb80ecc33a8fb5a682236443c1e740d5c917d1d/arch/riscv/kernel/entry.S#L17

"Code is written such that a synchronous exception can't occur."
By this do you mean the Linux kernel exception handlers themselves are guaranteed to not generate exceptions, hence there is no need to support nested exceptions?

That requirement applies only to the window where sscratch is in a transient state—-roughly speaking, until the context has been spilled to memory. I suggest reading the code.


merge from template-coveralls

.github/dependabot.yml

chore: (updates)
chore: (updates)

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

npm package (@latest dist-tag)
GitHub release
v4.2.24

Your semantic-release bot :package::rocket:


SQL Error: ERROR:  operator is not unique: smallint[] @> smallint[]

Hello, I'm getting this issue while trying to compact my table:

[Tue Feb 27 11:17:51 2018] (mydb:public.call_project_cases) SQL Error: ERROR:  operator is not unique: smallint[] @> smallint[]
LINE 26: ...SELECT string_to_array(indkey::text, ' ')::int2[] @> array[0...
^
HINT:  Could not choose a best candidate operator. You might need to add explicit type casts.
[Tue Feb 27 11:17:51 2018] (mydb:public.call_project_cases) Table handling interrupt.

Is there anything I can do to get rid of it?
postgresql-9.6      9.6.7-1.pgdg16.04+1 amd64
Ubuntu 16.04.3 LTS

Hello, are you using intarray extension?

Yes, we do

ok, I'll push a fix for this in an hour or two.

Thanks!

Could you please also explain what means next entries:
WARNING:  relation "mobile_phones" page 164340 is uninitialized --- fixing
WARNING:  relation "mobile_phones" page 164341 is uninitialized --- fixing
WARNING:  relation "mobile_phones" page 164342 is uninitialized --- fixing

please check if latest version has this problem.

Could you please also explain what means next entries:
most likely DB crashed during table extension leaving uninitialized pages at the end of table. may be it happened because there was no free space.

Works great, thanks a lot.

most likely DB crashed during table extension leaving uninitialized pages at the end of table

Can you recommend any tool to periodically use for checking against such pages?

Hello
Uninitialized pages are handled postgresql itself during vacuum or autovacuum. Here is no necessary further checking.


Show errors to user if invalid scene data is loaded

It's not difficult for a user to trigger a validation error when loading a scene.  At the moment, Isoflow fails silently (errors can only be seen in the console).  Users will appreciate seeing an error message if Isoflow can't load their scene (probably best displayed in a modal).  We use Zod for input validation, and ideally we would let the user know where the error is in their input (e.g. connector with id {xxx} references a node which doesn't exist), but at this point that would be a nice-to-have.
At minimum Isoflow should display an error message if the scene fails to load.

To recreate a validation error, pass in the following initialData object (validation will fail because the nodes property is missing):
const initialData = {
  icons: [],
  connectors: [],
  rectangles: []
}


Robostack Compatibility?

Feature Description
Hi!
We would very much like to use aerostack2 for teaching, but we are currently struggling with cross-platform issues and how most students only have windows or mac...
We have previously tried docker, but its still not ideal as a teaching tool for the number of things that can go wrong.
We have recently been looking into Robostack (https://robostack.github.io/) as a potential solution to this problem. It uses conda (bleh...) but it reportedly just works with gazebo, rviz etc! Its only downside is that it does not have the full set of packages usually available (https://robostack.github.io/humble.html)
I have been trying to build AS2 within robostack, but I've been struggling with dependencies. In particular geographiclib. I was wondering if you have tried to build within robostack?
p.s. are you guys going to roscon? I heard you were at IMAV in Bristol where I worked previously - would be great to meet!
Implementation Considerations
No response

Hi @mhl787156 ,
We are doing some teaching with Aerostack2 too. If we want to dive into ROS programming we use docker, check this repository used in a workshop a couple of weeks ago. If ROS is omitted we use Unibotics (or its offline version RoboticsAcademy). It is mainly to teach robotic algorithms with no focus in the middleware.
We didn't try Robostack, but please share your progress if you keep trying to integrate them.
No, we are not going to ROSCON this year... And yes, @javilinos went to this IMAV, other team members went to local Spanish ROSCON. We will more opportunities to meet in the future for sure :)

Hi @pariaspe thanks for the pointers! Your repo looks really good too, if we can procure some laptops for teaching I might just use that...
In the meantime for robostack, I'm getting the following error on build:
--- stderr: as2_alphanumeric_viewer
CMake Error at /home/mickey/dev/aerostack2_ws/install/as2_core/share/as2_core/cmake/export_as2_coreExport.cmake:61 (set_target_properties):
  The link interface of target "as2_core::as2_core" contains:

    GeographicLib::GeographicLib_SHARED

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /home/mickey/dev/aerostack2_ws/install/as2_core/share/as2_core/cmake/ament_cmake_export_targets-extras.cmake:9 (include)
  /home/mickey/dev/aerostack2_ws/install/as2_core/share/as2_core/cmake/as2_coreConfig.cmake:41 (include)
  CMakeLists.txt:28 (find_package)

Looking into things, it looks like the version of GeographicLib on conda is much newer (2.4) than the one provided on Ubuntu 22.04 (1.52). There have been a number of updates and I'm not sure if things are compatible anymore.
I'm not sure how robostack works with rosdep, but it doesn't manage to grab GeographicLib
Having a look online I'm still unsure as to why GeographicLib_SHARED might be missing. Would you guys have any experience with this?
I have tried to link it to the Ubuntu version which kind of works (with some modifications), but its not ideal as its not cross-platform.

Having a look online I'm still unsure as to why GeographicLib_SHARED might be missing. Would you guys have any experience with this?

We install it using rosdep which uses the apt version (check how the dependency is defined in ROS Index). As you said, the version installed using apt is v1.52 on Ubuntu 22.04 (package at launchpad). I'm sorry to say that we are forced to use that version in ROS Humble.
I would suggest to use the same version to avoid incompatibilities. However, it seems that as2_core is building but packages that depend on as2_core can't found GeographicLib. Weird...

Okay, so I have made some additional discoveries:

the CMAKE PROJECT_DEPENDENCIES variable should include GeographicLib. The moment I include GeographicLib within this variable, all of the downstream geographiclib errors go away! I think because it wasn't in that variable, the ament_export_dependencies on line 119 wasn't eposing geographiclib

When colcon building, we have to ignore as2_rviz_plugins there is some QT OpenGL issue which I don't want to get into... we don't use this package right now, so will ignore it! Command: colcon build --symlink-install --packages-ignore as2_rviz_plugins

There is an issue with as2_behaviors_perception but  has an opencv version issue with the detect_aruco_markers_behaviour .

error: no match for 'operator=' (operand types are 'cv::Ptr<cv::aruco::Dictionary>' and 'cv::aruco::Dictionary')
   88 |   aruco_dict_ = cv::aruco::getPredefinedDictionary(cv::aruco::DICT_6X6_250);

Which according to online is a problem with >v4.7.0 if the code has been written for 4.5.1 (ubuntu default). It should be the case that the opencv imports in the HPP file for detect_aruco_markers_ehaviour can be updated to the new import paths, but im not sure what the new imports should be. - Maybe you've come across this if you porting to newer ROS version?
If we ignore behavious perception it actually builds! Though there are some more issues to ge through to get as2 working properly. Will update if we get any closer.

the CMAKE PROJECT_DEPENDENCIES variable in as2_core should include GeographicLib. The moment I include GeographicLib within this variable, all of the downstream geographiclib errors go away! I think because it wasn't in that variable, the ament_export_dependencies on line 119 wasn't eposing geographiclib

We will take a look at this, thanks for the report.

Which according to online is a problem with >v4.7.0 if the code has been written for 4.5.1 (ubuntu default). It should be the case that the opencv imports in the HPP file for detect_aruco_markers_ehaviour can be updated to the new import paths, but im not sure what the new imports should be. - Maybe you've come across this if you porting to newer ROS version?

It sounds familiar, we did face some issues when trying Jazzy. I don't remember exactly which error we got.
Good to hear that you get it working! Kudos :+1:


add fio

I'm hoping to create a "new standard" for new users being introduced to Crucible for the first time.  I'm basing this around the fio workload based on the thinking that it is much simpler than most of our other workloads which either require multiple engines (ie. uperf), cpu partitioning (ie. oslat, cyclictest, trafficgen, etc.), or special hardware (trafficgen).
The intent here is that this runs a simple workload with multiple iterations and samples to show how that works and then the README.md walks the user through how to do some simple querying.
Please provide feedback on any and all aspects of this since this is intended to be a gateway for new users to the Crucible world.


Custom domain transfer Issue

[Enter feedback here]
Hello, I have a registered Wordpress domain and am trying to transfer the domain to Azure. I can get the Azure site to accept www cname host, but it won't accept the domain without the www. I would like potential visitors of the site to type in the domain without the www and be sent to the Azure static page I have created.

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

ID: 190b1ed3-0712-2f19-4e8f-a2a8519d136e
Version Independent ID: b02adbf4-d2a8-6c84-e70a-ff59fb3cbb7b
Content: Setup a custom domain in Azure Static Web Apps
Content Source: articles/static-web-apps/custom-domain.md
Service: static-web-apps
GitHub Login: @burkeholland
Microsoft Alias: buhollan

@LukeShe Thanks for the feedback! We are currently investigating and will update you shortly.

@LukeShe Thanks for asking question! If I have understood right you are looking for root domain support.
If so, While root domain support is not available during preview, you can see the blog post Configure root domains in Azure Static Web Apps for details on how to configure root domain support with a Static Web App
Let us know if you have further query on this.

@LukeShe Since we did not hear from you. We will now close this out but if you feel you need more information please just let us know


Ansible core 2.12+ can't manage /etc/crontab

This is the same issue as in https://github.com/ansible-lockdown/RHEL8-CIS/issues/160
As stated in the docs:

If specified, uses this file instead of an individual user’s crontab. The assumption is that this file is exclusively managed by the module, do not use if the file contains multiple entries, NEVER use for /etc/crontab.

This PR changes the cron file to /etc/cron.d/cis_aide.

Hi @davidolrik
Thank you for picking up on this issue and finding documenting the solution. We have been working through the open issues this morning and noticed that the PR you have submitted is not signed (I will fix the pipeline error).
I have therefore added this into the new PR and credits will be given.
Many thanks once again
uk-bolly

For future reference, how do I sign a PR? (My commit was signed)


My mouse is fubar

My mouse is hyper-sensitive with the Beta client, it seems to have a slow response time, it's at least double-sensitive, and seems to have a quadratic response instead of linear.  Cowbell is my name!
Imported from trac ticket #216,  created by<EMAIL_ADDRESS>on 08-11-2010 at 18:36, last modified: 08-11-2010 at 18:42

similar issue, i need to know if cowbell forces his vsync off in Nvidia driver control panel applet tracking #215
Trac comment by Imago on 08-11-2010 at 18:42


fix(tree): fix type error in tree

Comments addressed. Please take a look. Thanks!

Merged #10095 so close this pr now.


After changing Display Language to en, the refactor options still do appear in non-english

Accidentally I've agreed to install Polish language when VS Code asked me about it and now
even after switching to en, then

I receive mixed: English and Polish hints.

I have Roslynator installed
edit: even with Roslynator disabled it does happen

More Info:

Released on 13.08.2019, 19:21:08
Last updated 15.08.2021, 23:03:56
Identifier josefpihrt-vscode.roslynator

C# for Visual Studio Code (powered by OmniSharp).
Released on 26.02.2016, 17:20:58
Last updated 12.10.2021, 12:35:03
Identifier ms-dotnettools.csharp

dotnet --version
6.0.100-preview.4.21255.9

dotnet --info
Zestaw .NET SDK (odzwierciedlenie dowolnego pliku global.json):
 Version:   6.0.100-preview.4.21255.9
 Commit:    950e4949a7

Środowisko uruchomieniowe:
 OS Name:     Windows
 OS Version:  10.0.19042
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\6.0.100-preview.4.21255.9\

Host (useful for support):
  Version: 6.0.0-preview.4.21253.7
  Commit:  bfd6048a60

.NET SDKs installed:
  5.0.100-preview.8.20417.9 [C:\Program Files\dotnet\sdk]
  5.0.402 [C:\Program Files\dotnet\sdk]
  6.0.100-preview.4.21255.9 [C:\Program Files\dotnet\sdk]

@Swiftly1 Sorry this isn't the expected behavior. This issue is being tracked by https://github.com/OmniSharp/omnisharp-vscode/issues/2513


An ability to place not ActiveRecord models in the "models" folder

It gives an ability to place not ActiveRecord models in the "models" folder and use ar:translate task without the problems

Thank you!


UI bug on staked assets

Numeric error on UI with staked assets (specifically Staked Aave -stkAAVE)
I have a few Aave tokens staked in Gnosis (12.76 Aave to be exact) which should be $3443.286 at current prices. But on Gnosis it shows as 360,329,598,338,703.75 USD
Environment

Browser:
Safe: Gnosis Safe
production (mainnet)

Steps to reproduce

Have Aave in your safe
Stake said Aave and you will get stkAave back
View gnosis safe and the value displayed is way higher than the Aave you have

Thanks for the report! The reason is that we use on-chain Oracles from Uniswap/Kyber and seems like a wrong price is reported due to low liquidity. Still a bug and not ideal.
It's tracked in our backend service repo: gnosis/safe-transaction-service#195. Potentially also gnosis/safe-transaction-service#194 helps with it.

Thanks for the report! The reason is that we use on-chain Oracles from Uniswap/Kyber and seems like a wrong price is reported due to low liquidity. Still a bug and not ideal.
It's tracked in our backend service repo: gnosis/safe-transaction-service#195. Potentially also gnosis/safe-transaction-service#194 helps with it.


Recipe app

Hello from @Wahaj-Ali @Kashif-Saleem-Ghuman @SaeqaSultani 👋
We are pleased to welcome you to review our 'Recipe App' project.
Highlights

Use Ruby on Rails framework
Understand Rails RESTful design and router.
Use controllers to handle requests and render empty views.
Use params from browser requests in a safe way.
Use preprocessed HTML file with embedded Ruby code.
Use layouts and templates for shared content.
Use database migration files to maintain database schema.
Use validations for models.
Secure app from n+1 problems.
Write SQL queries with ActiveRecord.
Set up associations between models.
Use Devise gem for authentication.
Write unit tests using Rspec
Write integration tests with capybara gem

Main Features

A login page.
A registration page.
A food list.
A recipe list.
A list of all public recipes from other users with their names and total prices.
Inventories list
Inventory shopping list, a shopping list, but only taking into consideration a chosen recipe and inventory.

@nicupop729 thank you for validating my point. Cheers.


TextAlignment property added to NumberBox

The NumberBox was missing a TextAlignment property. Now it has one.
Description
I added the TextAlignment dependency property to the NumberBox. It needs testing and documentation. Don't know how to do this. Sorry.
Motivation and Context
Closes #1722
How Has This Been Tested?
Added two NumberBoxes to the test page with Center and Right TextAlignment.

You can add a test NumberBox which uses the TextAlignment property on the test page inside the NumberBox_TestUI project(which is under /dev/NumberBox), to verify that the changes work correctly.
What kind of information would have helped you on the source code structure documentation to make it easier understanding the source code?

You can add a test NumberBox which uses the TextAlignment property on the test page inside the NumberBox_TestUI project(which is under /dev/NumberBox), to verify that the changes work correctly.
@sonnemaf What kind of information would have helped you on the source code structure documentation to make it easier understanding the source code?

The source code is quite clear (although I have no real experience in C++. I just couldn't find the test app. I found the MUXControlsTestApp app and I can now test the app.

For the API review: @MikeHillberg and I are currently looking at an apparent mismatch between the documentation and the API behavior regarding the TextBox.HorizontalTextAlignment and TextBox.TextAlignment APIs. This is relevant here because the naming of this API perhaps should be changed to NumberBox.HorizontalTextAlignment instead (depending on how the mismatch will be resolved).

A spec for this is a good place to have a discussion about those two alignment properties. Also the InputScope property.

@SavoySchuler FYI

/azp run

@ranjeshj and @SavoySchuler I think the change looks good assuming the API does.

Should we also add an API test here?

@ranjeshj and @SavoySchuler I think the change looks good assuming the API does.

I think its fine to merge as a preview API.

Should we also add an API test here? (based on the current implementation: verifying that setting this API sets the corresponding API on the TextBox - for which I assume tests exist to verify its correctness.)

I think this is a valid consideration.  @sonnemaf do you have time to add a test?

Should we also add an API test here? (based on the current implementation: verifying that setting this API sets the corresponding API on the TextBox - for which I assume tests exist to verify its correctness.)

I think this is a valid consideration. @sonnemaf do you have time to add a test?

@sonnemaf Do you need help writing a tests?

/azp run


See if GHC 8.10.3 works on Windows

Try Windows 8.10 on CI
Thanks for the pull request!

If you care, my PR preferences are at https://github.com/ndmitchell/neil#contributions, but they're all guidelines, and I'm not too fussy - you don't have to read them.

Seems GHC 8.10.3 isn't yet on GitHub, so this PR will have to be paused until it is.

I found out that actions/haskell-setup is bad, but haskell/actions/setup is good. Confusing times, but we got there in the end.

I found out that actions/haskell-setup is bad, but haskell/actions/setup is good. Confusing times, but we got there in the end.


Fix error when global isFinite is undefined

Hi there!
I ran into an issue using this package with PhantomJS. Apparently, isFinite is not defined in the global scope or on Number in PhantomJS so, this change just defines a simple polyfill for that case.

Thank you for the PR! I'll take a closer look during the weekend.

@marlun78 Any progress on this PR? This fix allows me to use this package in IE which unfortunately is a requirement for me. Thanks!

Sorry guys, I've been super busy lately. I'll do it during the weekend.

I chose a slightly different implementation, but thanks for the PR.
This issue was resolved in f33ba917abfbc625e2cc1e1d46439caf15d284b6.

@jeremiahrhall @chris-garrett Please let me know if this didn’t solve your issues!


Add a warning when you try to create a CX11-based control plane

First of all, wow: great job on this controller! I'm surprised by the quality of it. Is this being developed by Hetzner employees?
User Story
As an operator I would like to test out the provider with CX11 instances because they are the cheapest. As this is not possible with the Kubeadm provider, I expect a warning or error to be thrown.
Detailed Description
Anyways: Provisioning control-planes on single core instances is not possible with kubeadm. They add a check to prevent these clusters from bootstrapping. It does not appear like this fact is propagated to any of the resource status's right now.
I've rebooted my cluster with cpx11 and now it works, nothing was logged anywhere with details that the singe core was the problem.
Proposed solution
I propose that a warning is logged periodically if someone tries to bootstrap a cx11-based control-plane. Secondly I propose a status message is added to some resource so operators will be able to identify that this may be an issue.
P.S. I wanted to PR this myself but as the code quality of this project is relatively high, it would probably create more overhead then just posting an issue about this.
EDIT: A note can also be added to the README.md getting started, this would probably also be sufficient!

Hi thanks for the positive Feedback! No we're not employees of Hetzner also this is not an officially supported repo from Hetzner. Unfortunately Hetzner has denied all requests that they want to provide a Cluster API integration by themselves. I think we'll put it in the readme first.

Wow, that's so disappointing! It's a really big business proposition to them... Feels a bit odd to me that the community is providing this free of charge :( Thanks for updating the readme though.


Pin to the same commit as loganalytics.

This PR pins the cosmos pipeline to use an old commit sha that is compatible with this long term servicing branch.

Just an FYI Scott. Let's chat about a better long term solution here, perhaps we can create a branch in azure-sdk-tools at some point in time that we then update all the ci.yml files to point to.


Use ChatGPT API Key

Description
OpenAI has API Support where authentication is performed with an API Key. This form of authentication and interaction would actually be better than using Email Address and Password Credentials, especially since OpenAI supports OAuth with Google, thus eliminating users who use this auth method from using this extension.
https://platform.openai.com/docs/introduction

Done in #27


[release-v1.15] Rerun Dockerfile generator

Rerun Dockerfile generator to get latest Dockerfile changes

/approve
/lgtm

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

Please upload report for BASE (release-v1.15@9c86c1d). Learn more about missing BASE report.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##             release-v1.15     #921   +/-   ##
================================================
  Coverage                 ?   66.65%
================================================
  Files                    ?      129
  Lines                    ?    11935
  Branches                 ?        0
================================================
  Hits                     ?     7955
  Misses                   ?     3018
  Partials                 ?      962

Flag
Coverage Δ

e2e-test
37.58% <ø> (?)

e2e-test-runtime-go
26.66% <ø> (?)

e2e-test-runtime-node
26.05% <ø> (?)

e2e-test-runtime-python
26.05% <ø> (?)

e2e-test-runtime-quarkus
26.14% <ø> (?)

e2e-test-runtime-rust
25.19% <ø> (?)

e2e-test-runtime-springboot
25.23% <ø> (?)

e2e-test-runtime-typescript
26.13% <ø> (?)

integration-tests
53.19% <ø> (?)

unit-tests
51.31% <ø> (?)

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

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


'Popular on GOV.UK' on the home page is too small

'Popular on GOV.UK' is 14px, dropping to 12px on mobile. Our own guidance on font sizes is not to go below 16px unless there's a user need
Suggest we go to at least 16px.

Specifically the heading, not the list below it:


Updating trials on "reward" updates all trials after the first reward

Updating trials on "reward" updates all trials after the first rewarded trial, regardless of their outcome.
This is caused by the rewarded state remaining on, as aborted trials do not update the reward state.
Problematic code on back end identified by Bruno 11/19/24

Fixed by 679f79b


Improve prompts for the init command

Splits prompts into sections
Adds more information to each section

See how it looks like below:

In the output gif you included, I still find it ugly that we print out all of the files that we generated - it just seems noisy. I guess if we want to keep them, we could make the paths relative to the project root, so they are less likely to get line wrapped.

I want to replace this with a progress bar, but will need some refactoring around the code. The idea is to get TwaGenerator to accept a callback function that reports the progress instead of it printing messages to the output. Focuses this PR on changes to init though.

Created #236 to track


[Feature Request]: Can not resolve @/xxxxxx from jsx file

What problem does this feature solve?
i am use @ for src folder in vite, here is my config.
and now i am tring to use farm but i got an error.
Can not resolve @/xxxxxx from jsx file.
can i do the same thing in farm?
alias: {
"@": path.resolve(__dirname, "src"),
},
What does the proposed API look like?
use @ as src

What's your farm.config.ts? You should use:
import { defineConfig } from '@farmfe/core';
import Vue from '@vitejs/plugin-vue'
import farmJsPluginLess from '@farmfe/js-plugin-less';
import path from 'path';

export default defineConfig({
  compilation: {
    resolve: {
+      alias: {
+       '/@': path.join(process.cwd(), 'src')
+     }
    }
  },
  plugins: [farmJsPluginLess()],
  vitePlugins: [Vue()]
});

see https://github.com/farm-fe/farm/blob/main/examples/vue-antdv/farm.config.ts

thx. close it.


Emit CCW entrypoint functions and populate vtbl

The new elements are the [UnmanagedCallersOnly] functions, the PopulateVTable method, and the ComHelpers class.
The PopulateVTable method skips initializing IUnknown and IDispatch inherited members because we have nothing to forward them to. We count on ComWrappers or the app to supply these.
Samples
Here is the ComHelpers class:
internal static unsafe partial class ComHelpers
{
    private static readonly winmdroot.Foundation.HRESULT COR_E_OBJECTDISPOSED = (winmdroot.Foundation.HRESULT)unchecked((int)0x80131622);
    private static readonly winmdroot.Foundation.HRESULT S_OK = (winmdroot.Foundation.HRESULT)0;

    internal static winmdroot.Foundation.HRESULT UnwrapCCW<This, TInterface>(TThis* @this, out TInterface @object)
        where TThis : unmanaged
        where TInterface : class
    {
        @object = ComWrappers.ComInterfaceDispatch.GetInstance<TInterface>((ComWrappers.ComInterfaceDispatch*)@this);
        return @object is null ? COR_E_OBJECTDISPOSED : S_OK;
    }
}

Here is a relatively small and straightforward COM interface with just a couple unique methods:
[Guid("00020403-0000-0000-C000-000000000046")]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.2.162-beta+74a0fe322c")]
internal unsafe partial struct ITypeComp
{
	/// <inheritdoc cref="QueryInterface(global::System.Guid*, void**)"/>
	internal unsafe winmdroot.Foundation.HRESULT QueryInterface(in global::System.Guid riid, out void* ppvObject)
	{
		fixed (void** ppvObjectLocal = &ppvObject)
		{
			fixed (global::System.Guid* riidLocal = &riid)
			{
				winmdroot.Foundation.HRESULT __result = this.QueryInterface(riidLocal, ppvObjectLocal);
				return __result;
			}
		}
	}

	public unsafe winmdroot.Foundation.HRESULT QueryInterface(global::System.Guid* riid, void** ppvObject)
	{
		fixed (ITypeComp* pThis = &this)
			return ((delegate *unmanaged [Stdcall]<ITypeComp*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])(pThis, riid, ppvObject);
	}

	public uint AddRef()
	{
		fixed (ITypeComp* pThis = &this)
			return ((delegate *unmanaged [Stdcall]<ITypeComp*,uint>)lpVtbl[1])(pThis);
	}

	public uint Release()
	{
		fixed (ITypeComp* pThis = &this)
			return ((delegate *unmanaged [Stdcall]<ITypeComp*,uint>)lpVtbl[2])(pThis);
	}

	/// <inheritdoc cref="Bind(winmdroot.Foundation.PWSTR, uint, ushort, winmdroot.System.Com.ITypeInfo**, winmdroot.System.Com.DESCKIND*, winmdroot.System.Com.BINDPTR*)"/>
	internal unsafe void Bind(winmdroot.Foundation.PWSTR szName, uint lHashVal, ushort wFlags, winmdroot.System.Com.ITypeInfo** ppTInfo, out winmdroot.System.Com.DESCKIND pDescKind, out winmdroot.System.Com.BINDPTR pBindPtr)
	{
		fixed (winmdroot.System.Com.BINDPTR* pBindPtrLocal = &pBindPtr)
		{
			fixed (winmdroot.System.Com.DESCKIND* pDescKindLocal = &pDescKind)
			{
				this.Bind(szName, lHashVal, wFlags, ppTInfo, pDescKindLocal, pBindPtrLocal);
			}
		}
	}

	[UnmanagedCallersOnly(CallConvs = new []{typeof(CallConvStdcall)})]
	private static winmdroot.Foundation.HRESULT Bind(ITypeComp* pThis, winmdroot.Foundation.PWSTR szName, uint lHashVal, ushort wFlags, winmdroot.System.Com.ITypeInfo** ppTInfo, winmdroot.System.Com.DESCKIND* pDescKind, winmdroot.System.Com.BINDPTR* pBindPtr)
	{
		try
		{
			winmdroot.Foundation.HRESULT hr = ComHelpers.UnwrapCCW(pThis, out Interface @object);
			if (hr.Failed)
			{
				return hr;
			}
			return @object.Bind(szName, lHashVal, wFlags, ppTInfo, pDescKind, pBindPtr);
		}
		catch (Exception ex)
		{
			return (winmdroot.Foundation.HRESULT)ex.HResult;
		}
	}

	public unsafe void Bind(winmdroot.Foundation.PWSTR szName, uint lHashVal, ushort wFlags, winmdroot.System.Com.ITypeInfo** ppTInfo, winmdroot.System.Com.DESCKIND* pDescKind, winmdroot.System.Com.BINDPTR* pBindPtr)
	{
		fixed (ITypeComp* pThis = &this)
			((delegate *unmanaged [Stdcall]<ITypeComp*,winmdroot.Foundation.PWSTR ,uint ,ushort ,winmdroot.System.Com.ITypeInfo** ,winmdroot.System.Com.DESCKIND* ,winmdroot.System.Com.BINDPTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])(pThis, szName, lHashVal, wFlags, ppTInfo, pDescKind, pBindPtr).ThrowOnFailure();
	}

	[UnmanagedCallersOnly(CallConvs = new []{typeof(CallConvStdcall)})]
	private static winmdroot.Foundation.HRESULT BindType(ITypeComp* pThis, winmdroot.Foundation.PWSTR szName, uint lHashVal, winmdroot.System.Com.ITypeInfo** ppTInfo, winmdroot.System.Com.ITypeComp** ppTComp)
	{
		try
		{
			winmdroot.Foundation.HRESULT hr = ComHelpers.UnwrapCCW(pThis, out Interface @object);
			if (hr.Failed)
			{
				return hr;
			}
			return @object.BindType(szName, lHashVal, ppTInfo, ppTComp);
		}
		catch (Exception ex)
		{
			return (winmdroot.Foundation.HRESULT)ex.HResult;
		}
	}

	public unsafe void BindType(winmdroot.Foundation.PWSTR szName, uint lHashVal, winmdroot.System.Com.ITypeInfo** ppTInfo, winmdroot.System.Com.ITypeComp** ppTComp)
	{
		fixed (ITypeComp* pThis = &this)
			((delegate *unmanaged [Stdcall]<ITypeComp*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.System.Com.ITypeComp** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])(pThis, szName, lHashVal, ppTInfo, ppTComp).ThrowOnFailure();
	}

	internal struct Vtbl
	{
		internal delegate *unmanaged [Stdcall]<ITypeComp*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
		internal delegate *unmanaged [Stdcall]<ITypeComp*,uint> AddRef_2;
		internal delegate *unmanaged [Stdcall]<ITypeComp*,uint> Release_3;
		internal delegate *unmanaged [Stdcall]<ITypeComp*,winmdroot.Foundation.PWSTR ,uint ,ushort ,winmdroot.System.Com.ITypeInfo** ,winmdroot.System.Com.DESCKIND* ,winmdroot.System.Com.BINDPTR* ,winmdroot.Foundation.HRESULT> Bind_4;
		internal delegate *unmanaged [Stdcall]<ITypeComp*,winmdroot.Foundation.PWSTR ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.System.Com.ITypeComp** ,winmdroot.Foundation.HRESULT> BindType_5;
	}
	internal static void PopulateVTable(Vtbl* vtable)
	{
		vtable->Bind_4 = &Bind;
		vtable->BindType_5 = &BindType;
	}
	private void** lpVtbl;
	/// <summary>The IID guid for this interface.</summary>
	/// <value>{00020403-0000-0000-c000-000000000046}</value>
	internal static readonly Guid IID_Guid = new Guid(0x00020403, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
	[Guid("00020403-0000-0000-C000-000000000046"),InterfaceType(ComInterfaceType.InterfaceIsIUnknown),ComImport()]
	internal interface Interface
	{
		[PreserveSig()]
		unsafe winmdroot.Foundation.HRESULT Bind(winmdroot.Foundation.PWSTR szName, uint lHashVal, ushort wFlags, winmdroot.System.Com.ITypeInfo** ppTInfo, winmdroot.System.Com.DESCKIND* pDescKind, winmdroot.System.Com.BINDPTR* pBindPtr);

		[PreserveSig()]
		unsafe winmdroot.Foundation.HRESULT BindType(winmdroot.Foundation.PWSTR szName, uint lHashVal, winmdroot.System.Com.ITypeInfo** ppTInfo, winmdroot.System.Com.ITypeComp** ppTComp);
	}
}

The ITypeInfo interface is interesting because it defines methods that do not return HRESULT. In such cases, we throw and/or allow managed exceptions to propagate to the native caller:
[UnmanagedCallersOnly(CallConvs = new []{typeof(CallConvStdcall)})]
private static void ReleaseTypeAttr(ITypeInfo* pThis, winmdroot.System.Com.TYPEATTR* pTypeAttr)
{
    winmdroot.Foundation.HRESULT hr = ComHelpers.UnwrapCCW(pThis, out Interface @object);
    hr.ThrowOnFailure();
    @object.ReleaseTypeAttr(pTypeAttr);
}

In another case, the emitted interface includes properties declared as properties, so we emit special code to handle that case too:
[UnmanagedCallersOnly(CallConvs = new []{typeof(CallConvStdcall)})]
private static winmdroot.Foundation.HRESULT get_Data(IInkExtendedProperty* pThis, winmdroot.System.Com.VARIANT* Data)
{
    try
    {
        winmdroot.Foundation.HRESULT hr = ComHelpers.UnwrapCCW(pThis, out Interface @object);
        if (hr.Failed)
        {
            return hr;
        }
        *Data = @object.Data;
        return winmdroot.Foundation.HRESULT.S_OK;
    }
    catch (Exception ex)
    {
        return (winmdroot.Foundation.HRESULT)ex.HResult;
    }
}

[UnmanagedCallersOnly(CallConvs = new []{typeof(CallConvStdcall)})]
private static winmdroot.Foundation.HRESULT put_Data(IInkExtendedProperty* pThis, winmdroot.System.Com.VARIANT Data)
{
    try
    {
        winmdroot.Foundation.HRESULT hr = ComHelpers.UnwrapCCW(pThis, out Interface @object);
        if (hr.Failed)
        {
            return hr;
        }
        @object.Data = Data;
        return winmdroot.Foundation.HRESULT.S_OK;
    }
    catch (Exception ex)
    {
        return (winmdroot.Foundation.HRESULT)ex.HResult;
    }
}

Closes #751

@tannergooding one question I and Jeremy have for you particularly is whether I took the right approach for the CCW on methods that do not return HRESULT with regard to reporting errors to the caller. Is throwing managed exceptions back to them acceptable? If not, what is the alternative?

Is throwing managed exceptions back to them acceptable? If not, what is the alternative?

On Windows it is supported via SEH. I'm not a fan of evangelizing that support because it won't be present on other platforms and writing .NET code that is platform specific is generally a code smell for me. I get the "this is only for Windows" but that, to me, is a cheap trick rather than just doing what is correct for COM and that is fail fast. COM has long held exceptions don't propagate across binary boundaries and .NET has done a poor job of enforcing that behavior.
The TL;DR here is yes this will work but it is setting expectations that likely won't be met if we even port to another platform.

So you say the alternative is fail fast. So... you'd rather see the process exit immediately when an exception is thrown from managed code in a COM method that doesn't return HRESULT? I just want to clarify, because we do have an opportunity to have that behavior here. Although CsWin32 is currently scoped to Win32 and related metadata, so a Windows-only behavior isn't a bad thing. Although CsWin32 could be useful on other platforms eventually.... it's just not a priority or even a customer ask right now.

So... you'd rather see the process exit immediately when an exception is thrown from managed code in a COM method that doesn't return HRESULT?

Confirming here so we are on the same page, the implementation of the COM interface is in managed code, right? We are talking about CCWs.
Yes, I would prefer the fail fast on the managed side to throwing a managed exception and having it propagate. Coming back into unmanaged (i.e., native) code means we are assuming the caller is going to have set up an SEH handler. In my experience this is exceedingly rare and results in DMPs that aren't always that easy to root cause and if it was detected I'm not sure what the caller expects to do with that exception. It also assumes the transition from managed to SEH is something the caller thought about, also unlikely.
COM interfaces that don't return an HRESULT indicate they don't expect a recoverable error in any form, that is how I've always interpreted them. The ITypeInfo members that return void, such as ReleaseVarDesc(), indicate to me that the callee isn't expecting or designed to handle invalid input. One could debate whether NULL is valid or not, but it is taking an arbitrary pointer to release and giving a invalid pointer is expensive to detect and unlikely to have a lot of utility, so fail fast. Alternatively the callee could defer to the dependent memory allocator, which is typically "fail fast" also.
If we are looking to support COM, actual COM not any of the various "subsets", then a member either returns an HRESULT, doesn't expect to have invalid input or swallows all failures and nicely returns. Letting exceptions propagate out from a COM member isn't supported and isn't something the .NET Interop team is going to recommend.
/cc @jkoritzinsky @elinor-fung


[YouTube] Keep the first query showing after pressing enter.

Extension
http://www.raycast.com/tonka3000/youtube
Description
Keep the query keyword showing after pressing enter on Raycast,
for example yt test_query
2) pressing enter
3) test_query get removed from the search bar.
Who will benefit from this feature?
No response
Anything else?
No response

I can access the link weirdly enough: http://www.raycast.com/tonka3000/youtube


Can't run Osiris Launcher, this is probably the wrong place to post this

Hello,
When I run Osiris it fails to inject the osiris dll into PID 0. If there is a better way to make contact with whoever is behind this project let me know :)

"Sep 10 2016 " this seems to be an older build of the Osiris launcher despite the name of your folder saying 12thSeptember. Try a newer build or compiling from source.


Do not provide an AMD environment to ol.ext modules

This fixes issues with ol.source.Vector being unable to use ol.ext.rbush, but it also means that potential future external modules without node module loader support will not work (which they apparently don't do now either). If we ever depend on such a module, we can replace var define; with a minimal AMD define shim.
With #3848 also fixed, OpenLayers should finally work fine with RequireJS after this change.
Fixes #3155.

@ahocevar I cloned your repo with the fix and created a new ol3 build out of it. However, I'm still getting the error. The var define; statement you added didn't solve my issue.
Do I miss something here??
Btw, I'm using ol3 with requirejs. Something like
/*jshint unused: vars */
require.config({
  paths: {
    jquery: '../../bower_components/jquery/dist/jquery',
    ...
    ol3: '../../bower_components/ol3/build/ol-debug',
    ...
  },
  shim: {
    ...
    ol3: {
      exports: 'ol'
    },
   ...
  }
});

require([
  'angular',
  'ol3',
  ...
  'jquery'
], function(angular, app, ol) {
  'use strict';
  ...
});

Not sure whether that helps. (Tried with both, the ol-debug.js and ol.js...although there shouldn't really be a difference).
Thx for your help :smiley:

Please merge.

Thanks for this fix @ahocevar.  I'm merging now to get this in 3.8.


ERROR - USB pass-through to connect LimeSDR to WSL

In the INSTALL.md file, the following commands raise the error "usbipd: error: The 'wsl' subcommand has been removed. Learn about the new syntax at https://learn.microsoft.com/windows/wsl/connect-usb#attach-a-usb-device." :
usbipd wsl list
usbipd wsl attach --busid <busid>
usbipd wsl detach --busid <busid>

Commands in the mentioned link (https://learn.microsoft.com/fr-fr/windows/wsl/connect-usb#attach-a-usb-device) seem to work:
usbipd list
usbipd bind --busid 4-4
usbipd attach --wsl --busid <busid>
usbipd detach --busid <busid>

Thanks @colinrenard!


File transfer not working

The file transfer function does not seem to be working. The recipient sees that a file is available and clicking on it shows the progress bar, but the file never arrives. No error messages.
We use the services at letsmeet.no and edumeet.geant.org with Chrome, Vivaldi and Firefox.

The file transfer function does not seem to be working. The recipient sees that a file is available and clicking on it shows the progress bar, but the file never arrives. No error messages.
We use the services at letsmeet.no and edumeet.geant.org with Chrome, Vivaldi and Firefox.

It is these settings in the config.js file that does this. Try adding your own filetracker.
config.example.js in
// bittorrent tracker 	fileTracker  : 'wss://tracker.lab.vvc.niif.hu:443',

Hi, same issue here. I have manually installed the latest release. I have my own working webtorrent server, and I replaced the hardcoded link in RoomClient.js with the mine. I have a working turn server too. All log are enabled, and no errors appear. I see from log that the magnet link of file are correctly generated but the new torrent are not announced to my tracker. Everything seems ok, but no file arrives.

I am facing the same issue with develop branch.

You need to provide another tracker i.e. wss://tracker.openwebtorrent.com here, but of course, in your config.js created from config.example.js file.
It will be fixed soon in master and develop branches in config.example.js template.

Fixed as mentioned above. If you still have a problem, please reopen this issue.


ND4J Tests - NPE under Java 12 (Guava reflection can't find/list classes)

Exact same problem as this, but in tests: https://github.com/eclipse/deeplearning4j/issues/7572
https://github.com/eclipse/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/validation/OpValidation.java#L528
Using system classloader instead doesn't help. Getting all classes using .getAllClasses() instead doesn't help. In all cases, an empty set is returned.

This also causes OpValidation to give 0s for stats when ran with Java >8, like:
o.n.a.v.OpValidation - Op Validation:                        0 of 0 classes with adequate tests (NaN% coverage)
o.n.a.v.OpValidation - Forward pass tests:                   0 of 0 classes (NaN% coverage)
o.n.a.v.OpValidation - Gradient check tests:                 0 of 0 classes (NaN% coverage)

From https://github.com/google/guava/issues/2152#issuecomment-373385731, it looks like all that is needed is a guava update.


gnome2: do not add alias by default

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Please make a habit out of providing a description.
I've found this through your issue, but you're sending other maintainers looking when they come from the pr list.


Correct wrongful example for chunkBy

chunkBy short description displayed a wrong example. (As far as I understood chunkBy).

displayed a wrong example. (As far as I understood chunkBy).

Could you elaborate on this?
Maybe you were simply confused:
https://run.dlang.io/is/v4lWuz

Ah, I was incorrect as well. Forgot that it goes in order like uniq or groupby

Could you elaborate on this?
Maybe you were simply confused:
https://run.dlang.io/is/v4lWuz

Ah facepalm...


Researcher file breaks read_raw_eyelink

Description of the problem
A researcher has reported that their file breaks read_raw_eyelink. I'm reporting the details below, so apologies in advance for the lengthy explanation:
Problem
In the specification for their ASCII format, EyeLink states that recording periods (where gaze/pupil data are actually being recorded) should always be demarcated by “START” and “END” lines, as shown below:
START
xpos ypos pupil
xpos ypos pupil
END
...
START
xpos ypos pupil
xpos ypos pupil
END
...
START
xpos ypos pupil
xpos ypos pupil
END

For us, this is important because lines in the ASCII file that occur outside these START…END recording sections are unstructured and, IMO, are difficult to parse.
In other words, read_raw_eyelink looks for the START events, and parses lines until it hits an END event. Per Eyelink's specification, we always assume that any given START event will eventually be followed by an END event (before another START event occurs).
This assumption has held up until now. In the problematic file that the researcher shared, it looks like one of the recording blocks in the file is missing an “END” event, resulting in a format like:
START
xpos ypos pupil
xpos ypos pupil
END
...
START
xpos ypos pupil
xpos ypos pupil
...
START
xpos ypos pupil
xpos ypos pupil
END

So what happens is that for the block that is missing an END event, read_raw_eyelink tries to parse lines would typically occur outside recording blocks (specifically, these lines contain information about an eyetracking calibration), and thus that it is not prepared for. This breaks the reader.
I'm not sure how easy it will be to make our reader robust to this case. I might try some other EyeLink ASCII readers out there to see if they are able to read the file. In the mean time I'm opening this ticket so that we have a record of it.
Steps to reproduce
# Get the link to the file from the MNE forum (linked below)

from pathlib import Path
import mne

fname = Path().home() / "path" / "to" / "downloaded" / "file"

raw = mne.io.read_raw_eyelink(fname)

Link to data
https://drive.google.com/drive/folders/15SpQuoXZlmH6ZBLcOEoc4nzEA7ewoHuK
Expected results
a raw object
Actual results
File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/mne/io/eyelink/eyelink.py", line 62, in read_raw_eyelink
    raw_eyelink = RawEyelink(
  File "<decorator-gen-202>", line 12, in __init__
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/mne/io/eyelink/eyelink.py", line 107, in __init__
    eye_ch_data, info, raw_extras = _parse_eyelink_ascii(
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/mne/io/eyelink/_utils.py", line 71, in _parse_eyelink_ascii
    raw_extras["dfs"]["samples"] = _adjust_times(
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/mne/io/eyelink/_utils.py", line 509, in _adjust_times
    return pd.merge_asof(
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 708, in merge_asof
    return op.get_result()
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 1926, in get_result
    join_index, left_indexer, right_indexer = self._get_join_info()
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 1151, in _get_join_info
    (left_indexer, right_indexer) = self._get_join_indexers()
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 2239, in _get_join_indexers
    right_values = self._convert_values_for_libjoin(right_values, "right")
  File "/Users/teichmanna2/anaconda3/envs/occ_beh/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 2182, in _convert_values_for_libjoin
    raise ValueError(f"{side} keys must be sorted")
ValueError: right keys must be sorted

Additional information
https://mne.discourse.group/t/mne-io-read-raw-eyelink-failure-adjust-times-sub-function-does-not-work-cant-merge/9012

Naively I would expect our reader to proceed line by line looking for START and parse until it hits a START or END block (formerly just END but we can assume if there's a START, it's like hitting an END and another START), in other words, it seems like it should be fairly easy to handle this case?

I don't think that would quite work because our reader can't currently parse the lines that are written between an END block and the next START block. So if there is no END block, our reader will try to parse these lines and error out (as in the case of the aforementioned researcher).
Usually the lines that are written in these non-recording blocks contain system information and/or information about a Calibration sequence (EyeLink will always stop recording gaze/pupil samples during a calibration sequence.. So if a user kicks out of an experiment to re-calibrate, and END block  should occur followed by information about the Calibration).
Calibration blocks in ASCII files look like this:
>>>>>>> CALIBRATION (HV5,P-CR) FOR LEFT: <<<<<<<<<
MSG	7446696 !CAL Calibration points:
MSG	7446696 !CAL -46.3, -67.7        -0,    400
MSG	7446696 !CAL -48.8, -97.0        -0,  -2854
MSG	7446696 !CAL -44.1, -38.3        -0,   3436
MSG	7446696 !CAL -111.0, -64.9     -5990,    400
MSG	7446696 !CAL  14.6, -61.2      5990,    400
MSG	7446696 !CAL eye check box: (L,R,T,B)
	 -124    27  -103   -32
MSG	7446696 !CAL href cal range: (L,R,T,B)
	-8985  8985 -4427  5009
MSG	7446696 !CAL Cal coeff:(X=a+bx+cy+dxx+eyy,Y=f+gx+goaly+ixx+jyy)
     -0  95.801 -7.7092  0.054973  0.022975
   400.06 -3.604  107.47 -0.12785 -0.13718

In the case of our user, an END block is missing right before they initiated a calibration. Knowing that calibrations occur outside of recording blocks, one idea is too adjust this if-condition to check if the line is the start of a calibration block. Something like:
if tokens[0] == "END" or tokens[1] == "CALIBRATION":  # end of recording block
    is_recording_block = False

Sure, if it fixes that file then that could work too


Windows: segfault in RtlGetLengthWithoutLastFullDosOrNtPathElement seemingly innocuous, but gets trapped anyways

Key
Value

Edition
Windows 11 Pro

Version
22H2

OS build
22621.1992

Experience
Windows Feature Experience Pack 1000.22644.1000.0

Processor
12th Gen Intel(R) Core(TM) i7-12800H   2.40 GHz

Installed RAM
64.0 GB (63.7 GB usable)

System type
64-bit operating system, x64-based processor

I've recently updated Windows and suddenly there are a ton of segfaults inside this ntdll function. I believe segfaults are innocuous because:

They do not occur or are handled seamlessly when running inside a debugger (Visual Studio, WinDbg)
Not enabling this library allows the application to run smoothly
A compliant call to a function like OutputDebugStringA triggers it

However, with this library loaded into the process, the application cannot run because of all the segfaults it detects.
I am not confident this library is still maintained, so I have not provided a minimal reproducible example for the sake of debugging, and am mostly just posting this issue so that search engines pick it up. However, if someone is interested in fixing this, I would be happy to provide such an example.

Did you resolve this issue anyway?

I resolved this issue by not using this library :)
Unsure if it still replicates, I think the above information might be enough to create an example though? It's been a while since I took a look at this.

Same issue here


I can't download the spanish caps from pluralsight

Hello, thanks for this tool, i have this issue, and i don't know how to fix it, i have tried with this command line
youtube-dl --username XXXXXXXXXXXXXXXXX --password XXXXXXXXXXXXX https://www.pluralsight.com/courses/bash-shell-scripting --all-subs -o "%USERPROFILE%\Downloads%(playlist)s%(chapter_number)s. %(chapter)s%(playlist_index)s. %(title)s.%(ext)s"
and it only downloads the english captions, thank you in advance.

http://www.nikse.dk/subtitleedit/


launch failed

RUST_BACKTRACE=1 alacritty                            101 ↵  1471  20:36:18
device_pixel_ratio: 1
thread 'main' panicked at 'assertion failed: (left == right) (left: 1, right: 0)', font/src/ft/list_fonts.rs:161
stack backtrace:
1:     0x556182a565f3 -
2:     0x556182a5bbed -
3:     0x556182a5b7eb -
4:     0x556182a5c078 -
5:     0x556182a5bf12 -
6:     0x556182a5be50 -
7:     0x556182a2697f -
8:     0x55618297e03c -
9:     0x556182a64996 -
10:     0x556182a5c8f8 -
11:     0x7f15fe914290 - __libc_start_main
12:     0x55618293ac39 -
13:                0x0 -

Thanks for the report! Have you setup an .alacritty.yml? In any case, the code here should probably handle bad font config and provide a helpful message.

No, I have not.  But it should be installed in either /etc/xdg/alacritty or
/etc/alacritty.  It should also be able to look for
XDG_CONFIG_HOME/alacritty or ~/.alacritty.yml
On Nov 25, 2016 12:01 PM, "Joe Wilm"<EMAIL_ADDRESS>wrote:

Thanks for the report! Have you setup an .alacritty.yml? In any case, the
code here should probably handle bad font config and provide a helpful
message.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jwilm/alacritty/issues/21#issuecomment-262998173, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFD6iLjSRgo7Z4JD-hFNZqMVS0SnICUhks5rBxRygaJpZM4K7Muz
.

I hadn't thought about having a system level configuration file; that's a good idea. Per user configuration is supported by reading from $HOME/.alacritty.yml or $HOME/config/alacritty.yml. You can copy the alacritty.yml from the project root.

it still fails

I'm guessing the font specified in the config isn't available on your system. Adding an issue to improve error messages on that front.

Just have "monospace" as the default font.  Let me try that
On Nov 29, 2016 9:27 PM, "Joe Wilm"<EMAIL_ADDRESS>wrote:

I'm guessing the font specified in the config isn't available on your
system. Adding an issue to improve error messages on that front.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jwilm/alacritty/issues/21#issuecomment-263764542, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFD6iIHwP8nvOELo8jlbpgRCRC59cymsks5rDN79gaJpZM4K7Muz
.

Alacritty's fontconfig wrapper has been rewritten to not panic at all, and I think that means the original error you encountered should be fixed. There's still some work to do on error handling in the font loading code, however.

it's launches now thankfully.  I just need to change the font to a nicer one to be more "Nerd Font"

it's launches now thankfully.  I just need to change the font to a nicer one to be more "Nerd Font"

Awesome. So others don't run into the same issue you did, I've updated the font loading code default to find whatever monospace font is default on the system and use that.


Attempting to deploying to Azure fails E0906 ?

Environment

Platform: azure
OS: container-linux
Release: 1.15.3
Terraform: v0.12.7
Plugins: ...

provider.azurerm v1.33.1
provider.ct v0.4.0
provider.local v1.3.0
provider.null v2.1.2
provider.template v2.1.2
provider.tls v2.1.0

Problem
We are trying to create our first cluster in azure, but the deployment fails a few minutes in with the following error,  and we are not sure why. could you help ?
module.ramius.null_resource.copy-controller-secrets[0]: Provisioning with 'file'...
module.ramius.null_resource.copy-controller-secrets[0]: Provisioning with 'remote-exec'...
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec): Connecting to remote host via SSH...
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec):   Host: 51.x.y.z
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec):   User: core
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec):   Password: false
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec):   Private key: false
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec):   Certificate: false
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec):   SSH Agent: true
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec):   Checking Host Key: false
module.ramius.null_resource.copy-controller-secrets[0] (remote-exec): Connected!
module.ramius.null_resource.copy-controller-secrets[0]: Creation complete after 5s [id=5021498959387503729]
module.ramius.null_resource.bootkube-start: Creating...
module.ramius.null_resource.bootkube-start: Provisioning with 'file'...
module.ramius.null_resource.bootkube-start: Provisioning with 'remote-exec'...
module.ramius.null_resource.bootkube-start (remote-exec): Connecting to remote host via SSH...
module.ramius.null_resource.bootkube-start (remote-exec):   Host: <IP_ADDRESS>
module.ramius.null_resource.bootkube-start (remote-exec):   User: core
module.ramius.null_resource.bootkube-start (remote-exec):   Password: false
module.ramius.null_resource.bootkube-start (remote-exec):   Private key: false
module.ramius.null_resource.bootkube-start (remote-exec):   Certificate: false
module.ramius.null_resource.bootkube-start (remote-exec):   SSH Agent: true
module.ramius.null_resource.bootkube-start (remote-exec):   Checking Host Key: false
module.ramius.null_resource.bootkube-start (remote-exec): Connected!
module.ramius.null_resource.bootkube-start: Still creating... [10s elapsed]
module.ramius.null_resource.bootkube-start: Still creating... [20s elapsed]
module.ramius.null_resource.bootkube-start (remote-exec): Job for bootkube.service failed because the control process exited with error code.
module.ramius.null_resource.bootkube-start (remote-exec): See "systemctl status bootkube.service" and "journalctl -xe" for details.
Error: error executing "/tmp/terraform_1522729076.sh": Process exited with status 1
If I ssh to the server I see..
Failed Units: 1
bootkube.service
and journalctl -f
Sep 06 20:54:44 BLAH-controller-0 systemd[1195]: Reached target Basic System.
Sep 06 20:54:44 BLAH-controller-0 systemd[1195]: Reached target Default.
Sep 06 20:54:44 BLAH-controller-0 systemd[1195]: Startup finished in 130ms.
Sep 06 20:54:44 BLAH-controller-0 systemd[1]: Started User Manager for UID 500.
Sep 06 20:54:44 BLAH-controller-0 systemd[1]: Started Session 1 of user core.
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.405318     828 volume_manager.go:243] Starting Kubelet Volume Manager
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.431979     828 desired_state_of_world_populator.go:130] Desired state populator starts to run
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.460641     828 kubelet.go:1822] skipping pod synchronization - [container runtime status check may not have complet>
Sep 06 20:54:44 BLAH-controller-0 etcd-wrapper[1146]: run: stat of host path /etc/ssl/etcd: stat /etc/ssl/etcd: no such file or directory
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:44.472353     828 kubelet.go:2169] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotRead>
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.535248     828 kubelet_node_status.go:286] Setting node annotation to enable volume controller attach/detach
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:44.535652     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.680748     828 kubelet.go:1822] skipping pod synchronization - container runtime status check may not have complete>
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:44.715106     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.789031     828 kubelet_node_status.go:72] Attempting to register node BLAH-controller-0
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.804851     828 kubelet_node_status.go:286] Setting node annotation to enable volume controller attach/detach
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.814588     828 cpu_manager.go:155] [cpumanager] starting with none policy
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.814761     828 cpu_manager.go:156] [cpumanager] reconciling every 10s
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.814836     828 policy_none.go:42] [cpumanager] none policy: Start
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:44.893021     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: W0906 20:54:44.910482     828 manager.go:546] Failed to retrieve checkpoint for "kubelet_internal_checkpoint": checkpoint is not f>
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: I0906 20:54:44.911941     828 plugin_manager.go:116] Starting Kubelet Plugin Manager
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:44.913763     828 eviction_manager.go:247] eviction manager: failed to get summary stats: failed to get node info: nod>
Sep 06 20:54:44 BLAH-controller-0 systemd[1]: etcd-member.service: Main process exited, code=exited, status=254/n/a
Sep 06 20:54:44 BLAH-controller-0 systemd[1]: etcd-member.service: Failed with result 'exit-code'.
Sep 06 20:54:44 BLAH-controller-0 systemd[1]: Failed to start etcd (System Application Container).
Sep 06 20:54:44 BLAH-controller-0 systemd[1]: Started OpenSSH per-connection server daemon (<IP_ADDRESS>:24199).
Sep 06 20:54:44 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:44.993385     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:45 BLAH-controller-0 sshd[1244]: Accepted publickey for core from <IP_ADDRESS> port 24199 ssh2: RSA SHA256:P7w+VmCP/49PLazKISVe+8u3Z0UhwP09O5lh0cOgKGg
Sep 06 20:54:45 BLAH-controller-0 sshd[1244]: pam_unix(sshd:session): session opened for user core by (uid=0)
Sep 06 20:54:45 BLAH-controller-0 systemd[1]: Started Session 2 of user core.
Sep 06 20:54:45 BLAH-controller-0 systemd-logind[753]: New session 2 of user core.
Sep 06 20:54:45 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:45.094709     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:45 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:45.194836     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:45 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:45.295000     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:45 BLAH-controller-0 systemd[1]: Started OpenSSH per-connection server daemon (<IP_ADDRESS>:52767).
Sep 06 20:54:45 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:45.395231     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:45 BLAH-controller-0 sshd[1250]: Accepted publickey for core from <IP_ADDRESS> port 52767 ssh2: RSA SHA256:P7w+VmCP/49PLazKISVe+8u3Z0UhwP09O5lh0cOgKGg
Sep 06 20:54:45 BLAH-controller-0 sshd[1250]: pam_unix(sshd:session): session opened for user core by (uid=0)
Sep 06 20:54:45 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:45.496585     828 kubelet.go:2248] node "BLAH-controller-0" not found
Sep 06 20:54:45 BLAH-controller-0 systemd[1]: Started Session 3 of user core.
Sep 06 20:54:45 BLAH-controller-0 systemd-logind[753]: New session 3 of user core.
Sep 06 20:54:45 BLAH-controller-0 kubelet-wrapper[828]: E0906 20:54:45.596833     828 kubelet.go:2248] node "BLAH-controller-0" not found

The issue tracker is for bugs and feature requests, rather than for support help (not provided).
Please invest some more time into checking your module definition (not shown), revisiting the tutorial, reading other user questions, and general due diligence to identify your misconfiguration. Dumping all journal logs isn't that helpful - if you've bootstrapped a cluster before, you'll know many subsystems report issues until a cluster is established. Check into etcd-member.service, kubelet.service, bootkube.service (terraform error points you to go look at this specifically), and the health of the apiserver load balancer health. Follow any leads, DNS resolution, containers running, isolate where you differ from the example, etc.
As is, the snapshot of logs look ordinary for early stage bootstrapping.

Thanks very much for the hints, I checked over the configuration and searched again using the various errors that I could find and found a previous Typhoon issue that identified the issue as a trailing slash on my assets path. We in Azure now !! :+1:
Apologies for raising a help request on your issue tracker, I rarely use irc and struggle using it as I use it so rarely. I guess if you use irc daily then why should you move but I wonder if you have considered using Slack ? I appreciate you're not a help desk but Typhoon is a really cool project and it would be good to have a community hangout. Do you have any plans around this ?

I'm glad you solved the issue :+1:

Yes, I'm aware of Slack's pros/cons, but I don't plan to create one. Folks (often innocently) ask questions to debug cluster X, fix datacenter Y, or use Kubernetes feature Z, creating pressure to provide support, and in a real-time way. I find it bubbles to me, even if I stay out - folks offload their problem and get frustrated without help or someone provides a sufficiently wrong answer that I step in.
I've run a commercial distribution in the past, but here and now, I think its best to just share free software that folks can use or not as they like, not too fancy :beers:


Missing LICENSE file

Hi @scuervo91 , thank you again for the effort. I would like to contribute and improve the integration with other packages.
Before we proceed, could you please add a LICENSE file to the root folder? If you don't have any particular preference for a license, I suggest the ISC license, which is equivalent to MIT, but uses a more succinct language. Most Julia packages use the MIT license.

@scuervo91 did you have a chance to look into this?

Hi @juliohm. I'm confused. This is the licence file, isn't it?

Yes, I don't know why I missed it. Closing the issue.


RunQueryFilter uses incorrect operand

The runqueryfilter for the runfilterparamaters in the request body uses an incorrect operand.
RunQueryFilter queryFilter = new RunQueryFilter()             {                 Operand = "RunStart",                 OperatorProperty = "Equals",                 Values = new List<string> { "InProgress" }             };
This means you're filtering on RunStart (a date) with the string "InProgress". This will always return no results.

Reviewed code fixed in #7,
Thanks Koen! Do lets us know if anything else pops up.


WIP DO NOT MERGE: DP travis fixes, #13273

See #13273

Looks good as far as I can tell.  BTW - better script in utils (simple_pattern_checker.py).  (Need to centralise all this so Python checking scripts pulled directly from DOSDP github).


feat(cellular): add support for CellularConnectionProperties

Add support to the CellularModems D-Bus service to retrieve the data
for io.edgehog.devicemanager.CellularConnectionProperties.
Closes #17

I've ported the previous PR. The biggest change is that we connect to the system dbus instead of the session, like for the other dbus services.


feature based vs creature based calculation of KL

still don't understand why they are equivalenet. see google slides for illustration. maybe needs to have a different implementation: https://docs.google.com/presentation/d/17ppW_03aqusB1FZOby3ucCrrlSbMDsDY9xslweVhUI8/edit?usp=sharing

they are indeed mathematically equivalent: https://www.overleaf.com/project/618b40890437e356dc66539d


Commit pre-built dlls for go-cosmwasm

We should at least support:

linux
osx

and windows if possible
Add the build instructions to the Makefile and commit the stable dlls to source.
Anyone importing a tagged release from a go program should not have to worry about rust setup - they just use the prebuilts.
Only people working on this repo (or trying to run from an unreleased master) should care.

It seems linux -> windows cross-compile is decently supported.
linux -> osx not so.
I found this article that might help: https://wapl.es/rust/2019/02/17/rust-cross-compile-linux-to-macos.html

Maybe I will have to make native compile on the other platforms... just run virtual machines

https://github.com/kholia/OSX-KVM
https://dennisnotes.com/note/20180614-ubuntu-18.04-qemu-setup/

Maybe this issue on osx rustc dylibs is relevant.
https://github.com/rust-lang/rust/issues/28640
In any case, I definitely need a mac system to test this on


SyncToy and TweakUI

Description of the new feature / enhancement
Hello,
I'm using sometimes the tool SyncToy and on Windows XP, 7, I used the tool TweakUI.
I was two fantastic tools.
Is it possible to implement them on the new Powertoys ?
Thanks for your fantastic idea to reborn the Powertoys. :-)
Scenario when this would be used?
SyncToy can be useful to synchronize folders.
TweakUi can be used to delete the arrow or manipulate easily some informations on the Registry.
Supporting information
No response

/dup #26


adding short paper from scivis 2018

VRGE: An Immersive Visualization Application for the Geosciences
SciVis 2018 Short Papers: Visual Abstractions, Perceptual Study and Immersive Visualization session
PDF: http://dabh.io/papers/vrge.pdf
Thumbnail: attached
Thanks for maintaining this nice resource for the community!

Thank you for offering to contribute. Unfortunately, the site is only for content that has been made available by the conference.


Switch between light and dark theme according to the system theme

The default Home Assistant theme can switch between light and dark automatically according to the system theme (at least on Firefox on Linux).  It would be awesome if Catppuccin similarly supported switching between the Latte theme and one of the dark themes (doesn't matter which one to me).

You can create a simple automation:
alias: Imposta tema predefinito all'avvio
description: ""
triggers:
  - trigger: homeassistant
    event: start
conditions: []
actions:
  - action: frontend.set_theme
    metadata: {}
    data:
      mode: light
      name: Catppuccin Latte
  - action: frontend.set_theme
    metadata: {}
    data:
      name: Catppuccin Mocha
      mode: dark
mode: single

It would be easier if there were variants of the themes with Latte as the light mode and Frappe/Macchiato/Moccha as dark mode.
Similar to https://github.com/catppuccin/home-assistant/issues/12


{Feature} Added devignetting demo

Addresses #99 and provides example of how to apply inverse vignette image to image in original .ipynb notebook.

Hi Nathan,
Thank you for creating the pull request. We are currently working on the pull request process.
In the mean time, vignetting mask is currently a general mask that is not calibrated per camera. So providing the capability as a tutorial could be misleading without understanding the risks.
Whats you thoughts on this? Does the devignetting work for your process without a problem?
Thanks
Cheng

Hi Cheng,
The devignetting works fully for my glasses without a problem, and the mask I utilized was based on the vignetting mask provided in #99. There could be further additions to the tutorial for accounting for various camera vignetting, but otherwise, at the moment, the current code works for my glasses.
Thanks,
Nathan

Is there a way to turn vignetting off when recording? I just spent a large amount of time filming data and I have come to believe I have fallen victim to the vignetting masks in my data, which has severely impacted my 3d reconstructions with gaussian splatting / neural radiance fields

Unfortunately, vignetting is naturally a result of the fisheye lens. This is why I wanted to create a demo for devignetting images/video frames. Feel free to look at my PR for a template for how to devignette the videos!

Hey, just wondering about the status of this PR -- Let me know if any edits are needed.

Addresses #99 and provides example of how to apply inverse vignette image to image in original .ipynb notebook.

Hi! where did you put the devignetting demo?


Type parameters of generic local function and function expressions cannot be used.

For example:
void main() {
  T f<T, U>(T a, U b) {
    new List<T>();
  }
}

The problem is that we translate all types (of the body of the function main) in advance, so at the time when we translate List<T>, the element of the local function f has not been built yet, so we cannot find T.
This is basically the same problem that forced us to step back from the idea of using single set of resolution data for the unit - the need of the correct context element. But it is apparent now, that we have to solve it anyway.
See test_local_function_generic and test_closure_generic.

I think we could solve this with a similar "binder" approach to what we've done with references to local variables and labels.  We would need to add methods to ResolutionStorer/Factory to handle the syntax of types, but we've been meaning to do that at some point anyhow.


require is not defined error

installed the package
npm install node-zillow
Tried this
var Zillow = require('node-zillow');
got this error
Uncaught ReferenceError: require is not defined

Moving the code to client side , resolves the issue