pkg/dds/test/dap/integration/debug_exceptions_test went from flaky -> RuntimeError on unittest-asserts-release-win-arm64

The tests
pkg/dds/test/dap/integration/debug_exceptions_test RuntimeError (expected Pass)

are failing on configurations
unittest-asserts-release-win-arm64

https://dart-ci.appspot.com/log/pkg-win-release-arm64/unittest-asserts-release-win-arm64/1503/pkg/dds/test/dap/integration/debug_exceptions_test
https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release-arm64/1503/overview
I see two errors in the logs. The first is a SocketException:
00:02 +0 -1: debug mode does not pause on exceptions if mode not set [E]

  SocketException: Write failed (OS Error: The pipe is being closed.

  , errno = 232), port = 0

  dart:io-patch/socket_patch.dart 1246:34       _NativeSocket.write
  dart:io-patch/socket_patch.dart 2004:15       _RawSocket.write
  dart:io-patch/socket_patch.dart 2481:18       _Socket._write
  dart:io-patch/socket_patch.dart 2216:28       _SocketStreamConsumer.write
  dart:io-patch/socket_patch.dart 2168:11       _SocketStreamConsumer.addStream.<fn>
  dart:async/zone.dart 1407:47                  _rootRunUnary
  dart:async/zone.dart 1308:19                  _CustomZone.runUnary
  dart:async/zone.dart 1217:7                   _CustomZone.runUnaryGuarded
  dart:async/stream_impl.dart 365:11            _BufferingStreamSubscription._sendData
  dart:async/stream_impl.dart 541:14            _DelayedData.perform
  dart:async/stream_impl.dart 646:11            _PendingEvents.handleNext
  dart:async/stream_impl.dart 617:7             _PendingEvents.schedule.<fn>
  dart:async/zone.dart 1391:47                  _rootRun
  dart:async/zone.dart 1301:19                  _CustomZone.run
  dart:async/zone.dart 1209:7                   _CustomZone.runGuarded
  dart:async/zone.dart 1249:23                  _CustomZone.bindCallbackGuarded.<fn>
  dart:async/zone.dart 1399:13                  _rootRun
  dart:async/zone.dart 1301:19                  _CustomZone.run
  dart:async/zone.dart 1209:7                   _CustomZone.runGuarded
  dart:async/zone.dart 1249:23                  _CustomZone.bindCallbackGuarded.<fn>
  dart:async/schedule_microtask.dart 40:21      _microtaskLoop
  dart:async/schedule_microtask.dart 49:5       _startMicrotaskLoop
  dart:isolate-patch/isolate_patch.dart 118:13  _runPendingImmediateCallback
  dart:isolate-patch/isolate_patch.dart 185:5   _RawReceivePort._handleMessage

The second is a drive letter capitalization mismatch:
00:14 +5 -1: debug mode pauses on uncaught exceptions when mode=Unhandled (supportUris: false, sendFileUris: false)

Request "terminate" has taken longer than 10s

00:14 +5 -2: debug mode parses line/column information from stack traces [E]

  Expected: 'c:\\opt\\s\\w\\ir\\x\\t\\dart-sdk-dap-test5e2fb1cf\\app19a5c4a8\\test_file.dart'
    Actual: 'C:\\opt\\s\\w\\ir\\x\\t\\dart-sdk-dap-test5e2fb1cf\\app19a5c4a8\\test_file.dart'
     Which: is different.
            Expected: c:\\opt\\s ...
              Actual: C:\\opt\\s ...
                      ^
             Differ at offset 0

  package:matcher/src/expect/expect.dart 149:31                 fail
  package:matcher/src/expect/expect.dart 144:3                  _expect
  package:matcher/src/expect/expect.dart 56:3                   expect
  pkg\dds\test\dap\integration\debug_exceptions_test.dart 91:7  main.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 215:9              Declarer.test.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 213:7              Declarer.test.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/invoker.dart 258:9               Invoker._waitForOutstandingCallbacks.<fn>

cc @bkonyi and @DanTup

https://dart-review.googlesource.com/c/sdk/+/365804 should fix the drive letter mismatch (oddly that test hasn't changed in 2yrs.. not sure if the drive letter casing is somehow different on some bots for temp directory?).
Hard to tell what the other failure is - @derekxu16 is there a way to tell how frequently it's failing? We could enable verbose output on the bots temporarily to try to get a better idea of what's happening?

We have a flakiness dashboard. Unfortunately you have to log in with an @google.com account to access it, but here's a screenshot showing the run results of pkg/dds/test/dap/integration/debug_exceptions_test on Windows:

I don't know how many of these failures were caused by SocketExceptions specifically, but the test is failing frequently.

I guess many of those failures could be the drive letter issue. Let's land the fix above and then review the stats.. if there are still failures and that wasn't a one-off, I'll open a change to add verbose output and we can go from there.
(I'll ping back here a little after that fix lands)

A fix for the second issue (drive casing) has landed. I believe the first issue is the same as https://github.com/dart-lang/sdk/issues/55313 - let me know if we should close this as a dupe, or it's better to keep this open until that's also fixed (I don't know how the flaky test approval works if it might be tied to this?).

@derekxu16 are you able to review what this dashboard looks like now with some of the fixes above landed?

Clicking on the numbers in the RTE and TO columns shows me the last time a result in the specified category occurred. The test hasn't timed out on either win-x64 or win-arm64 since May 2, 2024 (https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release/28313/overview and https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release-arm64/1453/overview). There hasn't been an RTE on win-x64 since May 30, 2024 (https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release/28645/overview), but there was an RTE on win-arm64 on August 16, 2024 (https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release-arm64/2347/overview).

Thanks - if I'm looking at the right failure, the recent failure is "The pipe is being closed" which I think is the same issue discussed in https://github.com/dart-lang/sdk/issues/55313 (this needs some further input, as I've not been able to come up with any way to handle that error without the VM hanging at the end - I've added example code in that issue).

I think the original issue here may be resolved by the fix for https://github.com/dart-lang/sdk/issues/55313, however looking at https://dart-ci.firebaseapp.com/#showLatestFailures=false&test=pkg/dds/test/dap/integration/debug_exceptions_test, there are some different recent failures:
https://dart-ci.appspot.com/log/pkg-linux-release/unittest-asserts-release-linux-x64/28665/pkg/dds/test/dap/integration/debug_exceptions_test
00:10 +6 -1: debug mode parses line/column information from stack traces [E]

  Expected: '/b/s/w/itrrr2vys3/dart-sdk-dap-testDGOUGT/appUWATOH/test_file.dart'
    Actual: <null>
     Which: not an <Instance of 'String'>

  package:matcher/src/expect/expect.dart 149:31                 fail
  package:matcher/src/expect/expect.dart 144:3                  _expect
  package:matcher/src/expect/expect.dart 56:3                   expect
  pkg/dds/test/dap/integration/debug_exceptions_test.dart 91:7  main.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 229:9              Declarer.test.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 227:7              Declarer.test.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/invoker.dart 258:9               Invoker._waitForOutstandingCallbacks.<fn>

00:10 +6 -1: Some tests failed.

I'll try to repro this.


x:Bind not refreshing on interface types

Describe the bug
I have an interface with different viewmodels implementing it. The interface has two properties (IsActive and Name).
When I try to display the values in an ItemsControl with x:Bind (or also not working with ItemsRepeater) and update IsActive the UI is not refreshing as expected.
Changing to Binding however works as expected.
Steps to reproduce the bug
MainPage.xaml
    <Grid>
        <ItemsControl ItemsSource="{x:Bind ViewModel.Persons, Mode=OneWay}">
            <ItemsControl.ItemTemplate>

                <!-- this does NOT work with x:Bind -->
                <DataTemplate x:DataType="local:IPerson">
                <!-- this would work with x:Bind -->
                <!--<DataTemplate x:DataType="local:Person">-->
                    <StackPanel>
                        <!-- does NOT work with type IPerson -->
                        <!--<TextBlock Text="{x:Bind Name, Mode=OneWay}" />
                        <TextBlock Text="{x:Bind IsActive, Mode=OneWay}" />-->

                        <!-- does work with both types (IPerson and Person) -->
                        <TextBlock Text="{Binding Name, Mode=OneWay}" />
                        <TextBlock Text="{Binding IsActive, Mode=OneWay}" />

                    </StackPanel>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>

        <Button Click="{x:Bind ViewModel.GoToNext}" Content="Next"/>
    </Grid>

ViewModel:
    public class ViewModel : INotifyPropertyChanged
    {
        public ImmutableList<IPerson> Persons { get; set; }
        public IPerson CurrentPerson { get; set; }
        public ViewModel(ImmutableList<IPerson> persons)
        {
            Persons = persons ?? throw new ArgumentNullException(nameof(persons));
            CurrentPerson = Persons[0];
            CurrentPerson.IsActive = true;
        }

        public event PropertyChangedEventHandler PropertyChanged;

        public void GoToNext()
        {
            CurrentPerson.IsActive = false;

            var index = Persons.IndexOf(CurrentPerson);

            if(index < Persons.Count - 1)
            {
                CurrentPerson = Persons.ElementAt(index + 1);
                CurrentPerson.IsActive = true;
            }

            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Persons)));
        }
    }

    public interface IPerson
    {
        string Name { get; set; }
        bool IsActive { get; set; }
    }

    public class Person : IPerson, INotifyPropertyChanged
    {
        private bool isActive;

        public string Name { get; set; }
        public bool IsActive { get => isActive; set
            {
                isActive = value;
                PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IsActive)));
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }

Expected behavior
I would expect that x:Bind on interfaces behave the same way as Binding does.
Screenshots
With Binding after hitting the "Next" button twice:

With x:Bind after hitting the "Next" button twice:

Version Info
OS version: 1903 (Build 18362.1198)
Desktop
NuGet package version:
Microsoft.NETCore.UniversalWindowsPlatform 6.2.10

Every class/interface that are used in <DataTemplate x:DataType="local:IPerson"> and property changes on them are required should implement INotifyPropertyChanged interface, so basically change the IPerson interface to the following :
public interface IPerson : INotifyPropertyChanged
{
     string Name { get; set; }
     bool IsActive { get; set; }
}

@chr-knafl could you verify if the wor around provided by @shahabganji worked?

Yes - this worked perfectely fine. Thank you @shahabganji !


[python-package] add plot importance

#171

Hi @wxchan, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

@wxchan  can you also add a example code for plotting ?


Don't re-render course graph on dark mode toggle

=> Is this even possible

I don't think that's possible, dark mode impacts some node colors in the course graph

I don't think that's possible, dark mode impacts some node colors in the course graph

If we don't change the color and take out of useDarkMode() hook in the component, then it won't re-render

Maybe re-render wasn't the right word, it's mainly the startup animation we could probably get rid of


nixos/tests/zsh-history: Fix matching prompt

In commit fbbaa4d40f73a5350671f286b07ab3dc58f07321, the Zsh default prompt has changed from walters to suse. So instead of:
root@default>

... we now have:
root@default:~/ >

However, in the NixOS VM test, we are matching root@default>, which doesn't include the current working directory and thus eventually leads to a test failure after timing out.
To fix this, I changed the regex to include a newline at the beginning and made sure that the hostname ends with a word boundary. This way it doesn't matter whether the prompt is walters or suse, because after all the test is not about the prompt but about whether the history mechanism works (or not).

@ofborg test zsh-history


Request tracing

https://trello.com/c/Eddv2AiS/688-for-migrated-formats-update-for-request-tracing
This change makes it so that a request_id is passed into Sidekiq jobs so that we can send this as a header downstream, via GdsApi::GovukHeaders. Currently, this header is lost when the Sidekiq jobs run because they run in a separate process to the one in which the request was processed.
This is based on this pull request: alphagov/whitehall#2567

Out of interest, have any alternatives been looked at to doing this? It looks a little bit like a hack here.

As discussed offline, an RFC to perhaps add a govuk-sidekiq gem may be in order.

Hi @tijmenb, are you happy for this to be merged given we have an RFC to address your "shotgun surgery" concern as a follow-up action? Thanks


fix: Handle deletion of files gracefully on compile

Catch and display error when compileDirectory fails to delete a file.
What changed / motivation ?
When running the CLI on watch mode and making file system changes to the watched folder, the CLI consistently fails to delete a missing file. This causes the CLI to exit and not restart drastically reducing the usability of the tool during active development.
Linked PR/Issues

Additional Context
Old error:
Error: ENOENT: no such file or directory, lstat '<project-file>'
     at Object.rmSync (node:fs:1261:13)
     at <project-path>/node_modules/@stylexjs/cli/lib/index.js:199:12
     at Array.forEach (<anonymous>)
     at compileDirectory (<project-path>/node_modules/@stylexjs/cli/lib/index.js:196:19)
     at Client.<anonymous> (<project-path>/node_modules/@stylexjs/cli/lib/index.js:350:5)
     at Client.emit (node:events:519:28)
     at BunserBuf.<anonymous> (<project-path>/node_modules/fb-watchman/index.js:94:14)
     at BunserBuf.emit (node:events:519:28)
     at BunserBuf.process (<project-path>/node_modules/bser/index.js:292:10)
     at <project-path>/node_modules/bser/index.js:247:12 {
   errno: -2,
   code: 'ENOENT',
   syscall: 'lstat',
   path: '<project-file>'
 }

Pre-flight checklist

[x] I have read the contributing guidelines
Contribution Guidelines
[x] Performed a self-review of my code

Hmm. I'm pretty sure the failure in the CI is not due to your changes.

I'm not sure why that one signal is failing. I don't see any issue with the code change itself. Trying to rebase.

Something about this change is making that one signal fail. Not quite sure why this might be. The error message seems to be using an invalid Github URL so it feels like some strange edge-case.
I'll continue to try somethings to get this change merged.

I've patched and run the version currently in the repo and it works well. I looks like this problem has been solved.


Create profile Component

Create a basic React Component based on UI Design
The User should have Profile Information such as:

[ ] Account ID
[ ] Interests (String)
[ ] Reputation
[ ] Balance

Comment regarding initial findings on how data is pulled from the back-end.
navigate to src/substrate-lib
Check index.js within that path.
You can see that ContextProvider is being injected
Go TO substrateContext within the same folder
You can see how data is being passed via WebSocket
const connect = (state, dispatch) => { const { apiState, socket, jsonrpc } = state;

The JS API documentation is available here: https://polkadot.js.org/docs/
@slaveatanasov. Please read these documents to get more info on the data coming from Rust:

https://polkadot.js.org/docs/api/start/basics
https://polkadot.js.org/docs/api/start/api.rpc
https://polkadot.js.org/docs/api/start/keyring
https://polkadot.js.org/docs/api/start/types.basics

The documentation is pretty good.. so check it out.

The also expose Typescript types via API: https://polkadot.js.org/docs/api/start/typescript

Thins to clarify:

API response status codes, names, and order (which code to use to update UI)
Use JSON structure for sending and receiving data from the BE; all transformations to be done on the BE;

Some general information you must know...
Substrate JS API
One of the most important things to understand about the @polkadot/api is that most interfaces are actually generated automatically when it connects to a running node. This is quite a departure from other APIs in projects where the interfaces are static. While sounding quite scary, it actually is a powerful concept that exists in both Polkadot and Substrate chains, and allows the API to be used in environments where the chain is customized.
When the API connects to a node, one of the first things it does is to retrieve the metadata and decorate the API based on the metadata information. The metadata effectively provides data in the form of api... that fits into one of the following categories -

consts - All runtime constants, e.g. api.consts.balances.existentialDeposit. These are not functions, rather accessing the endpoint immediately yields the result as defined.
query - All chain state, e.g. api.query.system.account().
tx - All extrinsics, e.g. api.tx.balances.transfer(, ).
Additionally the metadata also provides information on events, these are query-able via the api.query.system.events() interface and also appear on transactions... both these cases are detailed later.

The metadata defines the calls with all the type names used in the various interfaces. At the moment (this is undergoing investigations and could improve in future versions of metadata), this also means that the types between the API and the node need to be aligned. For instance, by default Substrate defines a BlockNumber type as a u32 and the API follows the Substrate defaults - if a chain has a different definitions, the API needs to be aware of this so it can actually decode (and encode) the type.
Types
Everything returned by the API is a type and has a consistent interface: Codec. This means that a Vec (an array of u32 values) as well as a Struct (an pre-defined object) or an Enum has the same consistent base interface. Specific types will have values, based on the type - decorated and available.
As a minimum, anything returned by the API, be it a Vec<...>, Option<...>, Struct or any normal type will always have the following methods - as defined on the Codec interface:

.eq() - checks for equality against the other value. In all cases, it will accept "like" values, i.e. in the case of a number you can pass a primitive (such as 1), a hex value (such as 0x01) or even an Unit8Array
toHex() - returns a hex-base representation of the value, always prefixed by 0x
toHuman() - returns Human-parsable JSON structure with values formatted as per the settings
toJSON() - returns a JSON-like representation of the value, this is generally used when calling JSON.stringify(...) on the value
toString() - returns a string representation, in some cases this performs additional encoding, i.e. for Address, AccountId and AccountIndex it will encode to the ss58 address
.toU8a() - returns a Uint8Array representation of the encoded value (generally exactly as passed to the node, where values are SCALE encoded)

There is a Typescript definition generator tool that we can use to generate our type definitions for the API: https://polkadot.js.org/docs/api/examples/promise/typegen/
I have create a branch where we can extract the types: https://github.com/UniversalDot/universal-dot-front-end/tree/feat/types-definition

Profile component created. Closing this issue.


Error message on FIX IT Facebook login

I am getting the following error when I try to use FIX IT and login via Facebook:

It's because FB changed their rules to require SSL for callback URLs. I can fix it by adding a certificate.

@eyemyth, thanks for the quick response. Adding a certificate to fix the issue would be much appreciated.

Should be working now.


Can't use knex.schema.table to alter an existing table?

Getting this error when I try to run a migration file. Below is my latest migration file contents, the others are all using knex.schema.createTable which works just fine.
exports.up = function(knex, Promise) {
    return knex.schema.table('orders').then(function(t) {
        t.string('test_col');
    });
};

exports.down = function(knex, Promise) {
    return knex.schema.table('orders').then(function (t) {
        t.dropColumns('test_col');
    });
};

/*
$ ../node_modules/.bin/knex migrate:latest
Knex:warning - migrations failed with error: Cannot read property 'call' of undefined
TypeError: Cannot read property 'call' of undefined
    at TableBuilder.toSQL (C:\project\node_modules\knex\lib\schema\tablebuilder.js:36:11)
    at SchemaCompiler.alterTable (C:\project\node_modules\knex\lib\schema\compiler.js:59:19)
    at SchemaCompiler.toSQL (C:\project\node_modules\knex\lib\schema\compiler.js:46:26)
    at SchemaBuilder.toSQL (C:\project\node_modules\knex\lib\schema\builder.js:43:43)
    at C:\project\node_modules\knex\lib\runner.js:34:32
    at C:\project\node_modules\bluebird\js\main\using.js:176:30
    at tryCatcher (C:\project\node_modules\bluebird\js\main\util.js:26:23)
    at Promise._settlePromiseFromHandler (C:\project\node_modules\bluebird\js\main\promise.js:507:31)
    at Promise._settlePromiseAt (C:\project\node_modules\bluebird\js\main\promise.js:581:18)
    at Promise._settlePromises (C:\project\node_modules\bluebird\js\main\promise.js:697:14)
    at Async._drainQueue (C:\project\node_modules\bluebird\js\main\async.js:123:16)
    at Async._drainQueues (C:\project\node_modules\bluebird\js\main\async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (C:\project\node_modules\bluebird\js\main\async.js:15:14)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

$ ../node_modules/.bin/knex version
Knex CLI version:  0.10.0
Local Knex version:  0.10.0
*/

@anyong I believe this is the correct syntax
   return knex.schema.table('orders', function(t) {
        t.string('test_col');
    }).then(...);

From what I can tell from the stack, knex is trying to call the table function which is undefined, since you run .then() it's trying to run the querybuilder instance as an SQL to the database.
https://github.com/tgriesser/knex/blob/master/src/schema/tablebuilder.js#L15
https://github.com/tgriesser/knex/blob/master/src/schema/tablebuilder.js#L34

Just realized that. Sorry / thanks!


MainWindow focus status indicator

Now that JL can prevent getting the focus even on a mouse click ("Focusable") or get the focus automatically when needed ("Focus on hover"+"Focus on lookup"), this seems mostly unnecessary.


Question: Get Tracks Through Local

Is there a way to get all tracks from spotify through the local API, or do i have to create an instance of web API and use that.
Just thought the local was already connected to spotify, Should be a way to get tracks from it.

Hi @RGoertz ,
Sorry for the late response. There is no way to receive tracks through the local API, you need to fetch it via the Web-API.


Documentation: Add a page which specifically details the Windows Runtime (WinRT)

Hi team,
I recently created an issue for the Microsoft UWP Docs repo related to better promoting various technical aspects of the Windows Runtime.
Please see: https://github.com/MicrosoftDocs/windows-uwp/issues/2316
I'm interested in learning more about how this technology works under the hood and specifically why it's valuable. I'm aware @kennykerr offers courses for it, but wasn't sure if there are any first-party resources available to learn more about it.
Also, @BenJKuhn thank you for responding to the thread in the WinUI repo. I know many people who will ask some great questions in this repo very soon.

I also found this great information: https://docs.microsoft.com/en-us/archive/msdn-magazine/2012/windows-8-special-issue/windows-runtime-reimagining-app-development-with-the-windows-runtime#the-windows-runtime-is-fast-and-fluid-native-and-async

Hi Luke, yes you can visit https://kennykerr.ca/courses/ where there are links to various courses on COM and the Windows Runtime.
I am also starting a new project to better document the internals of the Windows Runtime. I hope to share more about that effort soon.

@kennykerr, I beg your pardon sir, are you no longer employed by Microsoft? Since you are selling your courses, through the "Pluralsight"... inside the issues thread of microsoft/xlang repo on the GitHub.
Most peculiar that is.

Not sure what you mean. Luke mentioned the courses, so I included a link to help anyone else to find them since they're best resource I can offer at the moment (and they're not for sale).
Anyway as I said, we're working on something new that should help folks better understand the Windows Runtime.

In all of my innocence, I thought they are for sale. Very clear now. Thanks.
In particular, I am interested in the architecture of it all. Architecture answers the why questions.
Can you please point me to the relevant material?
Btw, thanks for the astonishing work on C++WINRT.


upgrade mongo to newer version, now I get 2.6.10

thanks

What do you want now?

how about upgrade mongodb to 3.x+ :)

I have no idea how you get to 2.6.10, this image is running on 4.0 for quite some time already:
# docker run -ti --rm webhippie/mongodb:latest mongod --version
db version v4.0.9
git version: fc525e2d9b0e4bceff5c2201457e564362909765
OpenSSL version: OpenSSL 1.1.0g  2 Nov 2017
allocator: tcmalloc
modules: none
build environment:
    distmod: ubuntu1804
    distarch: x86_64
    target_arch: x86_64

I tried on my raspberry pi (arm 32bit system) two weeks ago,
db.getversion()==2.6.10
now I have a work around for this issue, so I closed it.
thanks for your contribution anyway. 👍


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make instancer instance the specified type

I saw your comment and this is the way you do it:
ClassDB.instance("type")

Thanks for the PR!
I had no idea ClassDB even existed, I'll look into it


Outdated Doc

This is for logs (classic) which is gone tom. What is the method in the new format?

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

ID: e6d60419-c998-1b94-ea14-1af4f095867c
Version Independent ID: 8dfdd853-13c3-ae83-f9a2-59864387987b
Content: Custom fields in Azure Log Analytics
Content Source: articles/azure-monitor/platform/custom-fields.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

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

@bwren any update on this?

Also looking for an update. Have a number of customers using Custom Fields as a business critical feature and it seems to have just vanished with the retirement of Classic Logs

We have a work item to update this article.  The feature is available as described in https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/log-search-transition#extract-custom-fields.  We will be getting the article updated.

#please-close


Support the work with Serilog's 3.1.0 properties TraceId & SpanId

The Serilog's release v3.1.0 brings us the new breaking change:

This release adds two new first-class properties to LogEvent: TraceId and SpanId. These are set automatically in Logger.Write() to the corresponding property values from System.Diagnostics.Activity.Current.

The major benefit of this change is that sinks, once updated, can reliably propagate trace and span ids through to back-ends that support them (in much the same way that first-class timestamps, messages, levels, and exceptions are used today).

The sinks maintained under serilog/serilog, along with formatting helpers such as Serilog.Formatting.Compact and Serilog.Expressions, are already compatible with this change or have pending releases that add compatibility.

In the current implementation we have a minimal version of Serilog - 2.12.0, in which those properties were not present.
So in the next place the are dropped out during the creation of the new LogEvent
https://github.com/serilog-contrib/serilog-sinks-grafana-loki/blob/1bbf8370dc311d6114daad9f7306005b4d0edb90/src/Serilog.Sinks.Grafana.Loki/Models/LokiLogEvent.cs#L49-L59
After the investigation, the decision was taken. As v9 (WIP) will reference v3.1.0 as a minimal, we will work with those properties from the beginning. As v8 would reach the end of the life after the v9 release, that version would not work with those properties.
Originally found in:
Discussed in https://github.com/serilog-contrib/serilog-sinks-grafana-loki/discussions/232

Originally posted by rolfwessels November 27, 2023
First, thank you to the creators for this package. It's been handy.
Unfortunately, I would like to add TraceId to the labels but I do not seem to be able to do this
// Serilog.Sinks.Grafana.Loki 8.2.0
builder.Host.UseSerilog((_, lc) =>
{
  lc.MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning)
    .Enrich.FromLogContext()
    .WriteTo.Console(
      outputTemplate: "{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}({TraceId:l}){NewLine}{Exception}")
    .WriteTo.GrafanaLoki(
      telemetrySettings.LokiUrl,
      labels: lokiLabels,
      propertiesAsLabels: PropertiesAsLabels(),
      credentials: FromUrl(telemetrySettings.LokiUrl),
      textFormatter: new MessageTemplateTextFormatter("{Message:lj} ({TraceId:l}){Exception}")
      );
});

Calling the following:
_log.Information("ScansSelect {trace}",Activity.Current?.TraceId);

The output to the console is as expected.
ScansSelect 1b24ba06553df0257f4d9604085d872d(1b24ba06553df0257f4d9604085d872d)

But the loki output is

Can someone please point me in the right direction?
Thanks

I would like to take a look at the issue. @mishamyte  it is assigned to you. I hope you don't mind.

Hey @px-mpavlovsky!
Yeah, no problems. If you have an idea how it could be added to v8 without changing the minimum Serilog's version, I would be happy to see the request from you.

Is there any progress on this? Would be really nice.


'eval': not enough elements in tuple

Sometimes debug buffer is filled with following:
error running command 'eval -buffer 'cmd.rs' -verbatim -- set buffer rust_analyzer_inlay_hints 360 '43.20+0|{InlayHint}{\}: Context' '43.58+0|{InlayHint}{\}op: ' '43.37+0|{InlayHint}{\}key: ' '44.31+0|{InlayHint}{\}client: ' '44.45+0|{InlayHint}{\}key: ' '55.19+0|{InlayHint}{\}: Option<String>' '55.53+0|{InlayHint}{\}: &str' '56.23+0|{InlayHint}{\}: &str' '57.24+0|{InlayHint}{\}: String' '58.26+0|{InlayHint}{\}string: ' '59.26+0|{InlayHint}{\}string: ' '62.19+0|{InlayHint}{\}: Option<String>' '62.58+0|{InlayHint}{\}: &str' '63.23+0|{InlayHint}{\}: &str' '64.24+0|{InlayHint}{\}: String' '65.26+0|{InlayHint}{\}string: ' '66.26+0|{InlayHint}{\}string: ' '70.16+0|{InlayHint}{\}: String' '82.15+0|{InlayHint}{\}: Sender<Result<String, Error>>' '82.18+0|{InlayHint}{\}: Receiver<Result<String, Error>>' '82.49+0|{InlayHint}{\}cap: ' '83.19+0|{InlayHint}{\}: JoinHandle<Result<(), Error>>' '83.49+0|{InlayHint}{\}is_err: ' '83.55+0|{InlayHint}{\}send_ch: ' '84.19+0|{InlayHint}{\}: JoinHandle<Result<(), Error>>' '84.49+0|{InlayHint}{\}is_err: ' '84.56+0|{InlayHint}{\}send_ch: ' '86.16+0|{InlayHint}{\}: Result<String, Error>' '86.36+0|{InlayHint}{\}op: ' '88.15+0|{InlayHint}{\}: JoinHandle<Result<(), Error>>' '90.21+0|{InlayHint}{\}msg: ' '89.18+0|{InlayHint}{\} Result<Result<(), Error>, …>' '98.18+0|{InlayHint}{\}: Child' '101.31+0|{InlayHint}{\} &mut Command' '101.16+0|{InlayHint}{\}cfg: ' '100.22+0|{InlayHint}{\} &mut Command' '99.19+0|{InlayHint}{\} &mut Command' '98.40+0|{InlayHint}{\} Command' '98.34+0|{InlayHint}{\}program: ' '104.18+0|{InlayHint}{\}: &mut ChildStdin' '105.19+0|{InlayHint}{\}: &mut ChildStdin' '109.17+0|{InlayHint}{\}kind: ' '110.17+0|{InlayHint}{\}error: ' '115.25+0|{InlayHint}{\}buf: ' '117.15+0|{InlayHint}{\}: ExitStatus' '131.17+0|{InlayHint}{\}: PathBuf' '133.19+0|{InlayHint}{\}path: ' '135.19+0|{InlayHint}{\}path: ' '138.21+0|{InlayHint}{\}: File' '139.20+0|{InlayHint}{\}: String' '147.22+0|{InlayHint}{\}op: ' '146.15+0|{InlayHint}{\} Result<(), SendError<Result<…>>>' '142.19+0|{InlayHint}{\}msg: ' '141.16+0|{InlayHint}{\} Sender<Result<String, Error>>'': 1:1: 'eval': not enough elements in tuple

Looks like some InlayHints cannot be applied?

I'm using kak-lsp compiled from latest master.

error running command 'eval -buffer 'cmd.rs' -verbatim -- set buffer rust_analyzer_inlay_hints ...

strangely, running that command seems to work fine, so we're probably gonna need a reproducer.
I don't see anything wrong in the way we produce rust_analyzer_inlay_hints.

I did undo, which spawned multiple cursors which I didn't notice, then I entered insert mode and start typing without realizing that there were multiple cursors. FWIW this is a hint of what I was doing, not a reproducer.


Kanzi not available on Maven Central?

Hello! I've got a Clojure project that I'd like to integrate Kanzi into. It uses Leiningen to manage dependencies, which requires it to pull from either a Maven repository (for Java projects, Maven Central is the default) or a Clojure one (for Clojure projects, Clojars is the default).
Is there a plan to get artifacts for Kanzi to be deployed into Maven Central?

Hi,
Two points about your email.
First, I am not a maven user (someone mavenized the project) so I do not
have plan to put artifacts in the maven central repo at this time.
Second, I am wondering how you kanzi because the bitstream is not yet
stable. So, with every new release you have to decompress/recompress your
files. Obviously, at some point I want the bitstream to be stable but  it
limits my ability to tinker with the code and improve compression. And that
leads back to maven. Having the code in the centralized repo while the
bitstream is unstable may be an issue.
Overall, I am not opposed to doing it but I need to understand the
needs/potential issues given the current status of the project,
Thanks.
On Thu, Jun 28, 2018 at 5:29 AM Stephen Starkey<EMAIL_ADDRESS>wrote:

Hello! I've got a Clojure project that I'd like to integrate Kanzi into.
It uses Leiningen to manage dependencies, which requires it to pull from
either a Maven repository (for Java projects, Maven Central is the default)
or a Clojure one (for Clojure projects, Clojars is the default).
Is there a plan to get artifacts for Kanzi to be deployed into Maven
Central?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flanglet/kanzi/issues/12, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJ5h6DE2_vpEqBrd1v3E9EQO6fj7rVMks5uBMwigaJpZM4U7S6e
.

Ahh.. thanks for that! I hadn’t read far enough to understand that the library wasn’t usable in that way.
I’ll hold off for now and work with standard GZip streams.
Appreciate your response!
Stephen Starkey, ACC
forgiveness | bravery | honesty | fairness | leadership | creativity
Sent from my iPhone

On Jun 28, 2018, at 20:34, flanglet<EMAIL_ADDRESS>wrote:
Hi,
Two points about your email.
First, I am not a maven user (someone mavenized the project) so I do not
have plan to put artifacts in the maven central repo at this time.
Second, I am wondering how you kanzi because the bitstream is not yet
stable. So, with every new release you have to decompress/recompress your
files. Obviously, at some point I want the bitstream to be stable but it
limits my ability to tinker with the code and improve compression. And that
leads back to maven. Having the code in the centralized repo while the
bitstream is unstable may be an issue.
Overall, I am not opposed to doing it but I need to understand the
needs/potential issues given the current status of the project,
Thanks.
On Thu, Jun 28, 2018 at 5:29 AM Stephen Starkey<EMAIL_ADDRESS>wrote:

Hello! I've got a Clojure project that I'd like to integrate Kanzi into.
It uses Leiningen to manage dependencies, which requires it to pull from
either a Maven repository (for Java projects, Maven Central is the default)
or a Clojure one (for Clojure projects, Clojars is the default).
Is there a plan to get artifacts for Kanzi to be deployed into Maven
Central?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flanglet/kanzi/issues/12, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJ5h6DE2_vpEqBrd1v3E9EQO6fj7rVMks5uBMwigaJpZM4U7S6e
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi,
Thanks for reporting the issue. I just pushed a fix that should address the broken tests.
I agree that tests should be added to the Github actions and will update the script in a few days.
With regard to my comment on the bitstream format (in 2018), it is obsolete and Kanzi has been backward compatible for several releases, so it is no longer a concern.
I will see if I can finally add Kanzi to Maven central after the next release (2.3).

Added maven workflow to Github actions.

Hello. I would also like to use Kanzi and is blocked by the fact that it is not on maven central. Any update on this issue?

Publishing to maven central is a PITA. I can't verify a registered namespace. No sure how to proceed from there.

Thanks so much for your work!
Here's the instruction from https://central.sonatype.org/publish/requirements/coordinates/#supported-code-hosting-services-for-personal-groupid

If you want to use a domain linked to a Hosting service we need you to prove ownership of the account by creating a temporary, public repository with the name of the ticket created to register the groupId. E.g. if you want to use io.github.myusername you must create the public repository OSSRH-TICKETNUMBER like this github.com/myusername/OSSRH-TICKETNUMBER.

The same applies for the other hosting services, E.g. if you want to use io.gitee.myusername you must create the public repository gitee.com/myusername/OSSRH-TICKETNUMBER.

At the end of the process when your groupId is registered you can simply delete the empty repository. It is only needed during the registration phase.

So I assume we need to create an OSSRH ticket first. If it is already created then we need to create a public repo with the specific format to verify ownership.

Deeply buried in the doc, it says somewhere that logging in to sonatype central with Github already assigns io.github.username ...
I deployed kanzi 2.3 ... failed. Will try to fix it.

The doc is a maze of outdated hyperlinks. The easiest way to create a namespace is to login to mvn central via Github. So far mvn deploy fails with an authentication error and publishing a bundle directly from the web page fails for reasons I need to understand.

After fighting with wrong or outdated information, self referencing links, incomplete error messages, etc ... for several hours, I finally managed to push a release to maven central. Even though it is called kanzi-2.3.0, it is a snapshot halfway through the development of 2.4.0 but is should not any visible effect (besides some rounding error in compressed size).

After fighting with wrong or outdated information, self referencing links, incomplete error messages, etc ... for several hours, I finally managed to push a release to maven central. Even though it is called kanzi-2.3.0, it is a snapshot halfway through the development of 2.4.0 but is should not any visible effect (beside some rounding error in compressed size).

Thanks so much for your hard work!
Having Kanzi on Maven Central really helps me and a lot others people who wants to use the library via Maven Central.


feat: changes to forms now that title code no longer mandatory

Closes #872

Please resolve all conflicts.


Fixed #1120, 3.x->4.0 migration, storage group setting, moved tests

Fixed #1120: Removed CCSID to allow DB2 to use default encoding
Fixed upgrade from 3.x to 4.0 Flyway schema_version for DB2 z/OS
Removed STGROUP definition in CREATE TABLESPACE to allow database to use schema default.
Moved tests to DB2zOSMigrationMediumTest overriding tests in MigrationTestCase to allow tests to run without having DB2-user with excessive permissions.

Thanks! Merged.


Export tab item component

:tada: This issue has been resolved in version 7.28.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


crystalperson.is-local.org

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description
Personal Project

Link to Website
crystalperson.is-local.org

I have read the CLA Document and I hereby sign the CLA


clusterIP check:when create Internal service clusterIP check prompt shoud be friendly

In GitLab by @liyanq528 on Mar 26, 2019, 10:28
clusterIP check:when create Internal service clusterIP check prompt shoud be friendly

In GitLab by @liyanq528 on Nov 8, 2019, 08:04
pr #2946

In GitLab by @cuiaq123 on Nov 8, 2019, 08:04
not fixed in 2.0-beta-181-g8ac1201

In GitLab by @sokril on Nov 8, 2019, 08:31
assigned to @wknet123

In GitLab by @liyanq528 on Nov 12, 2019, 03:14
mentioned in merge request !1229

In GitLab by @liyanq528 on Nov 13, 2019, 08:19
mentioned in merge request !923

In GitLab by @liyanq528 on Nov 13, 2019, 11:41
mentioned in merge request !1251

In GitLab by @sokril on Dec 26, 2019, 06:55
changed the description


Integrate with walletlink

Most prominent dapps already use it, we'd like to integrate with it as well and it seems like a very simple integrations.
See https://walletlink.org/#/ for additional info.

Found out that the current bnc-onboard library already supports walletlink. so, it would be shown during the wallet connect.

Found out that the current bnc-onboard library already supports walletlink. so, it would be shown during the wallet connect.


Unexpected dependency issues on arm64 instances

Hi!
I'm running on GitHub Actions ARM64 self-hosted runner. And dexter is run via docker container.
During execution, this error occurs. I've tested on both v0.5.4 and v0.5.5 and both have the same issue.
Help? 😅
<internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- google/protobuf_c (LoadError)
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf_native.rb:15:in `rescue in <top (required)>'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf_native.rb:12:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf.rb:57:in `<module:Protobuf>'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf.rb:15:in `<module:Google>'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf.rb:14:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pg_query-5.1.0/lib/pg_query/pg_query_pb.rb:5:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pg_query-5.1.0/lib/pg_query.rb:4:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pgdexter-0.5.5/lib/dexter.rb:3:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pgdexter-0.5.5/exe/dexter:6:in `<top (required)>'
	from /usr/local/bundle/bin/dexter:25:in `load'
	from /usr/local/bundle/bin/dexter:25:in `<main>'
<internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/3.3/protobuf_c.so) - /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/3.3/protobuf_c.so (LoadError)
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf_native.rb:13:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf.rb:57:in `<module:Protobuf>'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf.rb:15:in `<module:Google>'
	from /usr/local/bundle/gems/google-protobuf-3.25.3-aarch64-linux/lib/google/protobuf.rb:14:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pg_query-5.1.0/lib/pg_query/pg_query_pb.rb:5:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pg_query-5.1.0/lib/pg_query.rb:4:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pgdexter-0.5.5/lib/dexter.rb:3:in `<top (required)>'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/local/bundle/gems/pgdexter-0.5.5/exe/dexter:6:in `<top (required)>'
	from /usr/local/bundle/bin/dexter:25:in `load'
	from /usr/local/bundle/bin/dexter:25:in `<main>'

Hi @kwongtn, thanks for reporting! Pushed a fix in the commit above (and a new image to the latest tag).


Waypoint - Manage Packages with NPM - Step 10, npm publish breaks 'how-to-npm verify' command

Challenge http://www.freecodecamp.com/challenges/waypoint-manage-packages-with-npm has an issue. Please describe how to reproduce it, and include links to screen shots if possible.
For step 10 in the how-to-npm adventure, after entering the command 'npm publish' I get the following error

Then when I try to 'how-to-npm verify', it neither passes or fails but produces the following output:

I then try to skip that step via 'how-to-npm verify skip' command, and the same error occurs. 'how-to-npm' still works fine, but issuing the verify command has broken something.
Can't continue on with the tutorial with it being in this state.

I get the exact samme error. It is possible to continue issueing the 'how-to-npm' command again and skipping the parts about publishing but it is not possible to finish the tutorial

I am having exactly the same problem.  It's not possible to continue.

Is this still an issue?

This issue should be filed here: https://github.com/npm/how-to-npm
Happy Coding!

Yes is still an issue

Same issue

same issue.

i'm getting the same problem too.

This conversion should be moved to https://github.com/npm/how-to-npm/issues/46


Tab Improvements

What
This PR implements the following tab-related features:

Row and Column tabs now update their labels during shift events;
The corresponding Column/Row tab will now highlight (for now display at a darker color) when the Cursor is in the corresponding Column/Row;
As with 2, Rows and Columns that intersect with the current selection will have their tabs highlighted;
Locked Rows/Columns are now displayed in grid fashion using custom elements that span the grid;
Clicking on a Column or Row tab with automatically select that whole column or row.
Adjustable column width/row heights via Tabs

Implementation Notes
New sheet-view-shifted event
The GridSheet now dispatches a new custom event called sheet-view-shifted on itself whenever the PrimaryFrame shifts during the process of selection navigation.
The first consumer of this event is the GridSheet itself, which uses the handler to update the numbers and letters in the row and column tabs.
Column and Row Tab highlighted attribute
Tabs can now be styled by setting or removing the highlighted= attribute on their elements. This is what it set in order to track cursor and selection positions when higlighting corresponding tabs. The default styling is set by the CSS variable --tracking-highlight-color.
<locked-rows> and <locked-columns> selection elements
In order to fold styling of areas of locked rows and columns, we introduce two new elements called <locked-rows> and <locked-columns> in the GridSheet's shadow dom. Each of these is actually just a subclass of SelectionElement with a specific override on updateFromSelector(). These elements are updated during the GridSheets handler for the selection-updated event.
Adjustable Column Widths and Row Heights
The GridSheet now maintains a dictionary of "custom" column widths and heights for each data-relative row or column that sets its own custom property via mouse events. These values are now looked up during renderGridTemplate(), which sets up the grid lines for the rows and columns using inline CSS.
Within the RowTab and ColumnTab elements, there is an absolutely positioned element in the shadow dom that handles hovering and mouse events for resizing. When an appropriate movement has taken place, a new custom event (either row-adjustment or column-adjustment) is dispatched and handled by GridSheet, who uses the event's detail to set new measurement and calls renderGridTemplate() with updated values.
The advantage of this approach is that when we shift views, it is the data-relative column/row adjustments that are remembered and not the strict view columns and rows.
To try this out, hover near the right end / bottom end of a column / row tab to highlight the adjuster, then click-hold and move it.

@darth-cheney this looks good.
I wonder if we want these css vars around like --tracking-highlight-color if at some point we are going to have the user set colors on rows, cells, tabs, columns    maybe down the line this sort of data should live in the custom col/row data
but we can sort that out later


Perhaps add a 'alwaysRequire' configuration option.

To force every input to be required unless otherwise specified. This might need an optional class, but that might get sloppy.

Nah mang, I think it is gonna be messy.


ACS sensor policy

This policy can be used to alert whether the managed clusters have the sensor installed and configured for the Stackrox central server that manages the clusters that also managed by ACM.  It can help make sure there's management consistency across the clusters.

Something isn't write with my repo -- will have to delete and recreate.


A keyfile was given, but it does not contain a project ID. This can indicate an old and obsolete keyfile, in which case you should create a new one. To suppress

A keyfile was given, but it does not contain a project ID. This can indicate an old and obsolete keyfile, in which case you should create a new one. To suppress this message, set suppressKeyFileNotice to true in your client configuration. To learn more about generating new keys, see this URL: https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys

@zauradigozalov why do we need to suppress the message when we want the user to create a new keyfile and the message helps convey that? 🙂


SqlServerEndpointPermission: Fails with "Grant failed for Endpoint..."

Details of the scenario you tried and the problem that is occurring
This error is only reported on the first run, and is successful on the second run.
VERBOSE: [SQLTEST]: LCM:  [ Start  Set      ]  [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission]
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] Information: PowerShell module SqlServer not found, trying to use older SQLPS module.
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] Importing PowerShell module SQLPS.
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] Connected to SQL instance 'sqltest.company.local\SQL2016'.
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] 2018-07-04_17-38-38: Enumerating permissions for endpoint DefaultMirrorEndpoint
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] Information: PowerShell module SqlServer not found, trying to use older SQLPS module.
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] Importing PowerShell module SQLPS.
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] Connected to SQL instance 'sqltest.company.local\SQL2016'.
VERBOSE: [SQLTEST]:                            [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission] 2018-07-04_17-38-38: Grant permission to COMPANY\svc-SqlPrimary on endpoint DefaultMirrorEndpoint
Exception calling "Grant" with "2" argument(s): "Grant failed for Endpoint 'DefaultMirrorEndpoint'. "
    + CategoryInfo          : NotSpecified: (:) [], CimException
    + FullyQualifiedErrorId : FailedOperationException
    + PSComputerName        : sqltest.company.local

VERBOSE: [SQLTEST]: LCM:  [ End    Set      ]  [[SqlServerEndpointPermission]SQL2016-HADREndpointPermission]  in 0.6720 seconds.
The PowerShell DSC resource '[SqlServerEndpointPermission]SQL2016-HADREndpointPermission' with SourceInfo 'E:\DSC\DSC-SQLTestConfig.ps1::1570::17::SqlServerEndpointPermission' threw one or more non-terminating errors while running the Set-TargetResource functi
onality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
    + CategoryInfo          : InvalidOperation: (:) [], CimException
    + FullyQualifiedErrorId : NonTerminatingErrorFromProvider
    + PSComputerName        : sqltest.company.local

I saw this error on one of my lab servers several times, but always tested something differently so ignored it. I have not looked into why the error occur, but submitting it here for reference and reminder.
The DSC configuration that is using the resource (as detailed as possible)
My lab servers is using a large configuration file to test a lot of different scenarios (toggles "on or off"). Gonna try posting it to a Gist when I have cleaned it up to test this error.
                SqlServerEndpointPermission $resourceConfigName
                {
                    Name = $Node.MirrorEndpointName
                    Ensure = 'Present'
                    ServerName = $Node.NodeName
                    InstanceName = $Node."$($currentSqlInstance)InstanceName"
                    Principal = $SqlServiceCredential.UserName
                    Permission = 'CONNECT'

                    PsDscRunAsCredential = $SqlAdministratorCredential

                    DependsOn = "[SqlServerEndpoint]$($currentSqlInstance)-HADREndpoint"
                }

Version of the operating system and PowerShell the target node is running
Caption                                     OSArchitecture Version  MUILanguages $PSVersionTable.PSVersion
-------                                     -------------- -------  ------------ -------------------------
Microsoft Windows Server 2012 R2 Datacenter 64-bit         6.3.9600 {en-US}      5.1.14409.1005

SQL Server edition and version the target node is running
Edition  : Enterprise Edition
Version  : 13.2.5026.0
Language : 1033

Edition  : Enterprise Edition
Version  : 12.1.4100.1
Language : 1033

What SQL Server PowerShell modules, and which version, are present on the target node.
Name         Version Path
----         ------- ----
SQLPS        1.0     C:\Program Files (x86)\Microsoft SQL Server\130\Tools\PowerShell\Modules\SQLPS\SQLPS.psd1
SQLASCMDLETS 1.0     C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\SQLASCMDLETS\SQLASCMDL...
SQLPS        1.0     C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\SQLPS\SQLPS.psd1

Version of the DSC module you're using, or write 'dev' if you're using current dev branch
Dev

same issue here but mine does not succeed on the 2nd try!

[[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] Preferred module SqlServer found.
VERBOSE: [UATLDNVMPBSQL13]:                            [[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] Importing PowerShell module SqlServer.
VERBOSE: [UATLDNVMPBSQL13]:                            [[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] Connected to SQL instance 'node1\instance,portnumber'.
VERBOSE: [node1]:                            [[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] 2018-07-19_16-36-02: Enumerating permissions for endpoint HADR_AlwaysON
VERBOSE: [node1]:                            [[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] Preferred module SqlServer found.
VERBOSE: [node1]:                            [[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] Importing PowerShell module SqlServer.
VERBOSE: [node1]:                            [[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] Connected to SQL instance 'node1\instancename,portnumber'.
VERBOSE: [node1]:                            [[SqlServerEndpointPermission]SQLConfigureEndpointPermission_instancename] 2018-07-19_16-36-02: Grant permission
to UK\svcAccount on endpoint HADR_AlwaysON
Exception calling "Grant" with "2" argument(s): "Grant failed for Endpoint 'HADR_AlwaysON'. "
+ CategoryInfo          : NotSpecified: (:) [], CimException
+ FullyQualifiedErrorId : FailedOperationException
+ PSComputerName        : node1

@sqlbandit looks similar except that you are using SqlServer module, and instance name has port number (?).
Can you provide the configuration you are running?
If you add the permission manually using the same account that the resource are running as, does that work?


Can't copy and paste in DB Navigator

Until version 4.2.0 I can produce new connection in navigator via copy and paste.
Since 4.2.1 copy is available, but paste ???

Same issue here.

This was fixed as part of another issue.
See fix in 4.2.3.
Thanks for report anyway.


About the data structure of inside outside

Just a detail about the algorithm given in the paper which uses Esiner's data structure inside[span_start][span_end][left/right][complete/incomplete].
The paper mentioned that "The third dimension encodes whether  the root of subtree is the left or right index of the span."  However, the code shows the opposite way. For example, the partition \alpha[1][n][R][1] indicates the root is the right index, but I think it's left index since root symbol is the first element. It also happens in the iteration of the inside and outside value.
I guess the result is the same after all, but I just got little confused about the detail.
Any comments? Thanks

Hi! Actually the notation in the paper is consistent with the code--it's just that the first dimension of the tensor in the code encodes batch size.
Hope this helps!

Thanks for the response!
I may not make myself clear about this. Let me take the pseudocode provided in section B of the paper's appendices for example, the inside log table α is nn2*2 where the third dimension encodes whether the root of subtree is the left or right index of the span.
The problem is that in the equation you provided below, I found the "L" or "R" didn't actually mean the "root" of the subtree.
α[s, t, R, 0] ← logadd u∈[s,t−1] α[s, u, R, 1] ⊗ α[u + 1, t, L, 1] ⊗ θst
Specifically, I think it should be something like this where the third dimension is the opposite as the original according to the Eisner's algorithm.
α[s, t, L, 0] ← logadd u∈[s,t−1] α[s, u, L, 1] ⊗ α[u + 1, t, R, 1] ⊗ θst
Another evidence is that you take the value α[1, n, R, 1] as the log partition where the root index is obviously the left index 1 rather than right index n.
Thanks

Ah yes, L/R meant the direction of the arrow from the subtree root. The way I described it in the appendix is certainly confusing. Sorry about that!

Thanks.


Updated README.md Lower section

fixes : #12
Updated README.md Lower section for the contribution guidelines in a subtle manner as requested in issue#12.
I've updated the links to tutorials for installing and using git.
Apart from that, for a beginner along with the CONTRIBUTING.md I've summarized the process as well. please have a look and so notify me If I had misinterpreted the issue or if there's something more which needs to be changed.

I'm adding something more


Downloading the RNA database according to README instructions

In the README for downloading the RNA databases, there maybe a small typo:
When I do wget with the flag -C  (as shown below) I get invalid option. Should this be lowercase "c" for all??:
wget ftp://ftp.ebi.ac.uk/pub/databases/Rfam/CURRENT/Rfam.cm.gz -C ./RNA
wget: invalid option -- 'C'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
(RF2NA) [osu10269@pitzer-login04 RoseTTAFold2NA]$ wget ftp://ftp.ebi.ac.uk/pub/databases/RNAcentral/current_release/sequences/rnacentral_species_specific_ids.fasta.gz -C ./RNA
wget: invalid option -- 'C'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
(RF2NA) [osu10269@pitzer-login04 RoseTTAFold2NA]$ wget ftp://ftp.ebi.ac.uk/pub/databases/RNAcentral/current_release/rfam/rfam_annotations.tsv.gz -C ./RNA
wget: invalid option -- 'C'
Usage: wget [OPTION]... [URL]...

Sorry!  The installation instructions have been fixed.


why is there  a shift * math.cos(heading) in the localization?

Hello! Thank you for your great work about the carla bridge. The project is awsome, but I have some questions about the code.
child.transform.translation.x = x - shift * math.cos(heading)
child.transform.translation.y = y - shift * math.sin(heading)
Why we need to do this before sending to apollo? And how do you calculate the shift which is 1.355? Is this the key to make the bridge work properly?

Hello,
This shift is necessary to map the difference in the origin of two coordination systems. In Apollo, the origin of the vehicle's coordination system is in the middle of the wheels rear axis , while in Carla the origin of the vehicle's coordination system is in the middle of the vehicle. So to find the real location in Apollo map, you should always shift the origin.
I defined the sift value as 1.355 m after I have calculated the distance between rear axis and the center of the vehicle depending on "vehicle parameters" in Apollo.


python3Packages.bond-api: 0.1.17 -> 0.1.18

Description of changes
https://github.com/prystupa/bond-api/releases/tag/v0.1.18

Things done

Built on platform(s)

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

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

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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
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.

closes https://github.com/NixOS/nixpkgs/pull/173713

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

3 packages built:

home-assistant-component-tests.bond
python310Packages.bond-api
python39Packages.bond-api


Empty string encryption

The line here prevents us from encrypting an empty string, even though it was possible before 2.4.0?
https://github.com/danang-id/simple-crypto-js/blob/0ccd426da747a0f0c19e8c6fbc856b96c381c116/src/SimpleCrypto.ts#L51
I understand the reasoning behind this (as to prevent silly errors by developers), but this actually complicates my use case of doing E2EE, as live editing forms where users may clear a form, will throw an error.
Is there anyway I could make a PR that would disable this protection or at least add an an optional parameter to disable it?

Yup, this is come after 2.4.0 update with the assumption that empty string is not subject to encryption. I could agree to disable empty string check. As the goals of this library is to be simple, I don't see an optional configuration is coming.
Beside that snippet you provide, empty string check happens 3 times here.
https://github.com/danang-id/simple-crypto-js/blob/0ccd426da747a0f0c19e8c6fbc856b96c381c116/src/SimpleCrypto.ts#L51
https://github.com/danang-id/simple-crypto-js/blob/0ccd426da747a0f0c19e8c6fbc856b96c381c116/src/SimpleCrypto.ts#L172-L174
https://github.com/danang-id/simple-crypto-js/blob/0ccd426da747a0f0c19e8c6fbc856b96c381c116/src/SimpleCrypto.ts#L206-L208
You may, if you wish, provide a PR to remove empty string check.

@danang-id Thank you! PR coming shortly. 😁

@danang-id As I began working on this PR i noticed that this snippet you linked me:
https://github.com/danang-id/simple-crypto-js/blob/0ccd426da747a0f0c19e8c6fbc856b96c381c116/src/SimpleCrypto.ts#L172-L174
Isn't validating whether a plain string is empty, but whether the cypher text is empty. I don't think I should remove this, correct?

Merged PR #22

This snippet isn't validating whether a plain string is empty, but whether the cypher text is empty. I don't think I should remove this, correct?

@TransmissionsDev The empty string check of _dataBuffer in _decrypt() is actually useless because of the _dataBuffer length check that happens after the empty string check.
https://github.com/danang-id/simple-crypto-js/blob/0ccd426da747a0f0c19e8c6fbc856b96c381c116/src/SimpleCrypto.ts#L176-L178
Anyway, I will also remove this check in 2.4.2.

@danang-id Right. However, I would say that you could keep that check, as it provides useful debugging info. It's helpful to know the cipher text is empty vs it being too short.

@danang-id Thanks for all your hard work, and thanks for being so quick to respond. Closing this PR as no further work needs to be done. 👍


Compare versions properly

@OfficialEsco

Resolves #117

@OfficialEsco If you want me to rebase these on the latest to make testing easier LMK

Naah i cherry picked every branch into 1 on my repo ^^ Just doing testing under normal usage which is why some PR's gets approved slowly as they require a bit more stable testing

Naah i cherry picked every branch into 1 on my repo ^^ Just doing testing under normal usage which is why some PR's gets approved slowly as they require a bit more stable testing

Fair point; Just didn't know if it was easy for you

Edit: not sure how much you test your code, but if you do you'll probably pick a few that is mentioned, which doesn't always cover every corner (:

Depends on the case. If the issue is clear and easy to solve like the architecture bug, I do a little less testing. For more complex things, I do a little more testing.

Edit2: I daily drive every patch, however i'm not sure what the state of #112 is, also its probably a bit too early to use since we don't have all the areas covered (MS Side)

I'm thinking of waiting on #112 for a bit. I know there is a bug open for release date validation. I'm going to mark #112 as draft probably, just since it isn't critical to be merged in

Well, here is one issue https://github.com/microsoft/winget-pkgs/pull/36724
Also looks like i missed this one https://github.com/microsoft/winget-pkgs/pull/36633

2 of those are intentional; Yes
Can you describe the issuse with each of those three packages in a bit more detail?

Nevermind, all of those are actually a trigger of 1 version in the repo

Guilded: Dynamic url, AutoUpgrade
SubSync: there was 1 version in there, Simple Update
Sandboxie.Plus: I submitted 0.9.8d first, dragged those files into the folder and SimpleUpgraded to <IP_ADDRESS>.0 so i expected New version: instead of New package:

The .Count line should probably be last in the elseif's or rewritten so it dosn't trigger when there already is a version in there. (Because i regularly update Dynamic urls and it looks weird when it always says New package:)

Nevermind, all of those are actually a trigger of 1 version in the repo

Guilded: Dynamic url, AutoUpgrade
SubSync: there was 1 version in there, Simple Update
Sandboxie.Plus: I submitted 0.9.8d first, dragged those files into the folder and SimpleUpgraded to <IP_ADDRESS>.0 so i expected New version: instead of New package:

The .Count line should probably be last in the elseif's or rewritten so it dosn't trigger when there already is a version in there. (Because i regularly update Dynamic urls and it looks weird when it always says New package:)

Ahh, fair point. I’ll take a look at those cases and see where the logic needs to change

Guilded: Dynamic url, AutoUpgrade

I believe this is fixed

SubSync: there was 1 version in there, Simple Update

I believe this is fixed

Sandboxie.Plus: I submitted 0.9.8d first, dragged those files into the folder and SimpleUpgraded to <IP_ADDRESS>.0 so i expected New version: instead of New package:

Not entirely sure what happened here. I wasn't able to replicate.  If it is still happening, maybe we can chat on Gitter to figure it out?

The .Count line should probably be last in the elseif's or rewritten so it dosn't trigger when there already is a version in there. (Because i regularly update Dynamic urls and it looks weird when it always says New package:)

This actually was the root cause of both issues that were resolved. If there was only one version of the package, it was automatically casting the variables as strings. I explicitly cast them as arrays, which should have fixed the issue


More keybindings

Asked by @afranke, space should have the same effect as page down.

fixed by 25ffad943995ac6b2b2ddd43ee4fe26c9f78838e


Update RealmSwift.podspec: specify a Swift version '5.0'

What

This PR to fix cocaopods error when integrate with new swift project.

Error
[!] Unable to determine Swift version for the following pods:

RealmSwift does not specify a Swift version and none of the targets (dep) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

Step to reproduce

Create new swift project
Add realmcocoa to podfile
Run pod install
We will get the error.

Changes

[x] Update RealmSwift.podspec: specify a Swift version '5.0'

We do not set a swift version because we support building as whatever version the app consuming us is using. This error only occurs if the target depending on RealmSwift also doesn't have a swift version set.

We do not set a swift version because we support building as whatever version the app consuming us is using. This error only occurs if the target depending on RealmSwift also doesn't have a swift version set.

Thank you.
For any dev get this error and go here from google search :)  , here is how to bypass this error :
In podfile for new project , need set target like this and run pod install
`
Uncomment this line to define a global platform for your project
platform :ios, '9.0'
target 'realm_new_app' do
use_frameworks!
pod 'RealmSwift'
end
`
if no target is set , this error will occur


Solve at least one failing test

@pacman100 we have multiple failing tests, stemming from https://github.com/huggingface/accelerate/pull/1894 + related, especially when working off pypi. should we skip these tests, if (one) of the fixes in this PR is deemed unnecessary? We also fail on integration tests with pypi as well: https://github.com/huggingface/accelerate/actions/runs/6000691481/job/16273604914

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


feat: add ndarray/base/map

Progresses #2656.
Description

What is the purpose of this pull request?

This pull request:

Adds a base implementation of Array.prototype.map method for ndarrays

Related Issues

Does this pull request have any related issues?

This pull request:

Progresses #2656.

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

This is a work-in-progress pull request.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@kgryte As discussed, I've implemented the kernels up to 3d and the related files. Please review.

@headlessNode Thanks for working on this. What you have thus far looks great! Just made some minor edits to ensure the descriptions/conventions match other similar packages. Should be good to continue building this out. 🚀

@kgryte All kernels implemented. Please review, thanks!

@headlessNode Am I right in thinking that you'd like a review before we add tests?

@kgryte Yes. But if you'd prefer, I can implement the tests before your review.

I think you are right to wait, lest we need to make any changes.

Re: the failing benchmarks CI job. I can confirm that the benchmarks run as expected. I ran them locally and all succeeded. Given the number of benchmarks, we're simply at the mercy of GitHub CI time limits.

@kgryte I have started to work on the tests. I'll open a PR when completed.

I can confirm that the benchmarks run as expected.

Yes, I also checked multiple times on my end ran as expected.

Great! I'll go ahead and merge! 🚀

Lots of learning with this one. Thanks for your help @kgryte

Awesome! I know it's a slog, so thanks for persisting!


Make Flow and PropType types checks consistent for view style props.

Description:
While creating a custom component I added a prop style: ?ViewStyleProp. When I tried to pass the following object
style={{
  opacity: new Animated.Value(0),
}}

to this style prop I received a yellow box with the warning:
Warning: Failed prop type: Invalid prop `opacity` of type `object` supplied to `MyComponent`, expected `number`.

Then I browsed through the source code and found an inconsistency in types checks. Namely,
https://github.com/facebook/react-native/blob/master/Libraries/StyleSheet/StyleSheetTypes.js#L158 has the following declaration opacity?: number | AnimatedNode, whereas https://github.com/facebook/react-native/blob/master/Libraries/Components/View/ViewStylePropTypes.js#L50 is willing to accept only a number: opacity: ReactPropTypes.number.
Test Plan:

Create the following component:

import * as React from 'react';
import { View, Animated, ViewPropTypes } from 'react-native';
import PropTypes from 'prop-types';

class MyComponent extends React.Component {
  static propTypes = {
    style: ViewPropTypes.style,
  };
  render() {
    return null;
  }
}

export default class App extends React.Component {
  render() {
    return (
      <View>
        <MyComponent
           style={{ opacity: new Animated.Value(0) }}
        />
      </View>
    );
  }
}

Observe a yellow box warning saying that opacity is expected to be a number, not an object.
Apply the fix in this PR.
Observe the issue is gone and Animated.Value is accepted as a legit value for opacity without warnings.

Release Notes:
[ INTERNAL ] [ MINOR ] [ ViewStylePropTypes ] - Make view style props Flow and PropType checks consistent.

This looks good to me. I’ll land it at work tomorrow if nobody else has landed it by then.
Note that we are starting to deprecate the prop-types in favor of flow and will eventually be removing them. I’d recommend starting to think about not relying on these and instead leveraging flow or typescript. Many of the core components already are fully moved over to Flow.

@TheSavior Got it! Thanks!


Correct socked based db creation

Code labeled "create the database" was actually just a copy/paste of the
"create a user" blob. This is the actual createdb command including
setting the owner of the database to the right user.
Additionally the test code to connect to it does not need (and even
should not have) the username. The example uses peer authentication and
if it is going to work from the mattermost daemon it needs to work
without specifying the user based on the system user ID.

Hello @alerque,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Tested this and looks good to me.


Support for NFCActivator

This is basically a "Copy-Paste" from some of NFCBackground codes for the support of NFCActivator.

I don't think this fits with the goal of this project, which is to enable native background tag reading. In my opinion, a better course of action would be to update NFCActivator for iOS 13 (or fork it into NFCActivator13 to avoid apt dependencies). The only thing that needs to be done is to find a method in Springboard that receives the NFC event. of course, this should be discussed over there. Furthermore, by updating NFCActivator, we can avoid having 2 event delivery systems.

Yeah, that does make sense if you wanted to keep this project as native-background-tag-reading-only.

a better course of action would be to update NFCActivator for iOS 13 (or fork it into NFCActivator13 to avoid apt dependencies)

I did a pull request on NFCActivator, this should probably avoids the dependencies issue: https://github.com/arandomdev/NFCActivator/blob/c1e202d8fe47afdade5be74f1f5753639c4a4474/control#L3

Furthermore, by updating NFCActivator, we can avoid having 2 event delivery systems.
That make sense, if the method does exist. I haven't do much digging on there tbh.

Thanks for understanding

Ok did a bit more digging, apparently nfcd only sends out an event when the tag contains a valid URL scheme. So we would have to integrate NFCBackground for NFCActivator to work.


Support function expression when filter data.

What problem does this PR solve?
Support:
table_instance.output(["num", "name", "abs(score)", "score"]).filter("(abs(score) <= 90.0)").to_pl()
Issues: #1625 #1628
Type of change

[x] Bug Fix (non-breaking change which fixes an issue)

I've checked the latest code, abs() is now implemented. Do you still want to implement operator mod?


Replace the breadcrumb home icon with the breadcrumb shakespeare icon on the third and fourth level pages to shorten the breadcrumb

Home icon breadcrumb not showing up on “Activities”, "Circulation" and “Cards” tabs (on third level pages) – instead the “home” with the logo icon is shown on all pages.

Level of importance: This will be helpful to have since the breadcrumb does get long on the third and fourth level pages, but is not crucial.

i thought that we didn't need to do this on desktop, since we nearly always have space for the word "home"? it should get replaced with just shakespeare's face on mobile for sure.

I wouldn't mind if it is applied to all devices – but don't feel strongly either – only on mobile would be the minimum level of action taken on this, agreed it's more urgent on mobile!

It was already working properly on mobile, and I had already adapted that existing style from mobile to be applied when there are four breadcrumbs before you two discussed this.
I think it does help - even though we have space for it on desktop, that's a lot of text.
@gissoo test site is updated with my change, do you want to review and sign off?

@rlskoeser Thank you!! It looks SO much better now!! You're awesome!


How to evaluate in remote REPL and use output in local REPL?

This is possibly out of scope for this project but I'm curious to hear your ideas.
Concrete Example
I often use embedded databases (e.g. Datalevin). In production the way I access these from my local dev env is through a remote socket repl. So far so good. Often I want to pull some datoms or the whole DB from prod to test with locally. The way I've been doing this thus far is by scp'ing the entire prod DB onto my machine. But this can take a long time with a large DB. Often I just want part of it. Is there a way to have more of an RPC-like experience where I can run a query in the remote repl but get the output in my local repl such that I can write it to disk or transact it into another DB?

Toy can use clojure's built-in remote-prepl?

I'll explore that, thanks!


USB audio support is disabled in PulseAudio

Hi guys,
At the moment (at least in a fresh <IP_ADDRESS> on h8216) PulseAudio doesn't pick up external USB devices from ALSA. You can see them with aplay -l but not in pactl list short cards.
The following enables USB audio support with automatic switching:

Add the following module to /etc/pulse/arm_droid_default.pa

### Automatically load driver modules depending on the hardware available¬
.ifexists module-udev-detect.so¬
load-module module-udev-detect¬
.else

Enable the policy:

ln -s /etc/pulse/xpolicy.conf.d/usbaudio.conf{.disabled,}

Reboot or kill PulseAudio

P.S. I can see that /etc/pulse/arm_droid_default.pa is a part of the droid-config-h8216-pulseaudio-settings package but couldn't find it in the port infrastructure - happy to send a pull request if you point me to it!

Nice work!
To add the link, you would need to make PR to https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie and make it as in https://github.com/mer-hybris/droid-config-sony-ganges-pie/tree/master/sparse/etc/pulse/xpolicy.conf.d
As for .pa adjustments, I don't know why it is not needed for ganges. Can we add it as a separate config file? If we can, then add it to -configs package as well.

Actually ganges includes the pa adjustment in a separate file - https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/etc/pulse/arm_droid_card_custom.pa, which is in fact included by arm_droid_card_custom.pa. So we can follow the same pattern.
That said, I am starting to suspect that the fix is draining the battery. I've had noticeably worse battery life with collectd / SystemDataScope showing around 70% CPU load, and the pulseaudio process sitting around 2.2%-5% CPU usage according to Crest. I have now switched the udev module off to monitor the consumption and the initial testing confirms the theory.

This is a nice feature (plug DACs). Is the power consumption issue fixable easily or not?

It appears this feature is enabled by default in the AOSP 10 based 64 bit build <IP_ADDRESS> at least. Without any specific configuration changes mentioned here, a USB DAC seems to work on my device (XZ2c).
Following reports that this feature is somehow hard on the battery, wonder if disabling this would make the Tama devices more power efficient Power Consumption While Idling. I will try disabling this referring to the above instructions and monitor as time permits.

Is this still the case or we can close it?

Works by default in the 4.2 build. Also I didn't notice any difference in power consumption while daily driving with this feature disabled.

Thanks, closing


LastKnownSwitchName

The property 'LastKnownSwitchName' cannot be found on this object. Verify that the property exists.
At line:410 char:9

                            $VMSwitchName = $EthPortSettings.LastKnownSwitchName

                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException
FullyQualifiedErrorId : PropertyNotFoundStrict

What’s your Hyper-V/Management OS version? PowerShell version where you’re running the script?

`Name                           Value

PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.19170
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2 `
This is in a Windows 2012 R2 environment.  Fully Patched.

Fixed in 1.2


Authenticate as "test_ws_publicuser" with password

Unless the PostgreSQL host-based authentication configuration has a matching record with an auth-mode of trust, PostgreSQL throws an authentication failure when trying to connect without a password and Mocha's equality assertion fails.
Here are the  original errors, caused by the md5 auth-mode in the host all all <IP_ADDRESS>/0 md5 record.

Obligatory stacktrace.

I've read through #59, #171, and mapnik/mapnik#2179 to make sure that renderer_cache.test.js wasn't meant to cache the password somehow, but it might be worth having @strk take a look at this to make sure I'm not borking anything.
If you have Docker and Compose installed, you can reproduce the test failure with three commands.
git clone https://github.com/TerraSeer/steven-tiler.git
cd steven-tiler
docker-compose build && docker-compose up

Thanks!

Hi Christian,
First of all, thanks a lot for all your recent contributions! :grinning:
We relied on CartoDB's PostgreSQL recommended setup (https://github.com/cartodb/cartodb#install-postgresql) in terms of authentication/credentials. That's why we were expecting to have in it trust mode.
Anyway, happy to merge it as the fixtures were already creating the user with a password! :+1:


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-02-27)
Features

initial commit (2bdcf19)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/FreakeyPlays/healthy/releases/tag/v1.0.0 :sunflower:


TimeoutError and getting plenty of segmented videos without remux.

I‘m recording with local proxy using v2rayN, everything seems fine but encounter this exception:
(base) PS E:\FC2> autofc2 --config .\test.json
2022-09-06 10:46:52 [autofc2] starting
2022-09-06 10:46:52 [fc2 58861545] Fetching stream info
2022-09-06 10:46:53 [autofc2] Setting log level to info
2022-09-06 10:46:54 [fc2 58861545] Found websocket url
2022-09-06 10:46:55 [fc2 58861545] Received HLS info
2022-09-06 10:46:55 [fc2 58861545] Writing stream to 新作アニメ test/2022-09-06 104654 新作色々.ts
Task exception was never retrieved
future: <Task finished name='Task-10' coro=<AutoFC2.handle_channel() done, defined at e:\anaconda3\lib\site-packages\fc2_live_dl\autofc2.py:90> exception=TimeoutError()>
Traceback (most recent call last):
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\autofc2.py", line 93, in handle_channel
    await fc2.download(channel_id)
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\FC2LiveDL.py", line 193, in download
    raise exited.exception()
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\fc2.py", line 48, in wait_disconnection
    res = await self._task
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\fc2.py", line 85, in _main_loop
    msg = await asyncio.wait_for(
  File "e:\anaconda3\lib\asyncio\tasks.py", line 490, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
2022-09-06 10:50:08 [fc2 58861545] Fetching stream info
2022-09-06 10:50:09 [fc2 58861545] Found websocket url
2022-09-06 10:50:10 [fc2 58861545] Received HLS info
2022-09-06 10:50:10 [fc2 58861545] Writing stream to 新作アニメ test/2022-09-06 105008 新作色々.ts
......
(repeating this exception then restart again and again)

It got exception after starting writing stream for every several minutes, and then auto restart remaining a segmented video. And I get these files as the picture below. They contain the complete live stream, the next file has about 5 seconds duplication of the past's last 5 seconds (result from 'latency' tag I think).

And only the last video can be transfered to .mp4, others are still .ts file.
I've checked earlier issues about 'timeout' (issue #7 )but didn't find some help. The network should be okay, since I don't notice lags while watching FC2-lives on browser.
From:
Win10 21H1, anaconda 3.8 powershell prompt, latest ffmpeg, pip installing fc2-live-dl, and the test.json is:
{
  "autofc2": {
    "log_level": "info"
  },
  "default_params": {
    "quality": "2Mbps",
    "latency": "mid", (This is curious since low/high/mid refer to 0/1/2, which means mid is higher than high?)
    "threads": 1,
    "outtmpl": "%(channel_name)s %(_en_name)s/%(date)s %(time)s %(title)s.%(ext)s",
    "write_chat": false,
    "write_info_json": false,
    "write_thumbnail": false,
    "wait_for_live": true,
    "wait_for_quality_timeout": 15,
    "wait_poll_interval": 5,
    "cookies_file": null,
    "remux": true,
    "keep_intermediates": false,
    "extract_audio": false,
    "trust_env_proxy": true
  },
  "channels": {
	"58861545": { "_en_name": "test" }
  }
}

proxy environment vars are
HTTPS_PROXY = http://<IP_ADDRESS>:10809

FC2 requires a Websocket connection. Try setting both HTTPS_PROXY and WSS_PROXY to http://<IP_ADDRESS>:10809.

FC2 requires a Websocket connection. Try setting both HTTPS_PROXY and WSS_PROXY to http://<IP_ADDRESS>:10809.

Oh, I missed telling, my fault.
I've already set HTTP/HTTPS/WS/WSS all to http://<IP_ADDRESS>:10809. Or I'll get other mistakes, telling ’The semaphore timeout period has expired‘ which I fixed in the morning.
(Btw, I spent 1 hours just to notice it should use http:// not https:// in HTTPS_PROXY of aiohttp. Excellent.)
I'll try log_level debug later. Thanks!

Also try setting log_level to debug.

Well, I seems to fix this problem by changing 'heartbeat_interval' of 'line 10 in fc2.py' from 30 to 60. Then the exception disappeared.

And the video is fine.
heartbeat_interval affacts line 85 in fc2.py which calls asyncio.wait_for(url, timeout, ...) from asyncio\tasks.py where the exception from.
Besides, I reset it to 30, then used debug log_level and here is the log.
(base) PS E:\FC2> autofc2 --config .\karin.json
2022-09-06 17:23:56 [autofc2] starting
2022-09-06 17:23:56 [fc2 58861545] Fetching stream info
2022-09-06 17:23:57 [autofc2] Setting log level to debug
2022-09-06 17:23:57 [live] Using anonymous account
2022-09-06 17:23:57 [fc2 58861545] Found websocket url
2022-09-06 17:23:58 [ws] connected
2022-09-06 17:23:58 [ws] heartbeat
2022-09-06 17:23:58 [fc2 58861545] Received HLS info
2022-09-06 17:23:58 [fc2 58861545] Writing stream to 新作アニメ test/2022-09-06 172357 新作色々.ts
2022-09-06 17:23:58 [fc2 58861545] Starting 2 tasks
2022-09-06 17:23:58 [hls] init
2022-09-06 17:23:58 [hls] Starting queue worker
2022-09-06 17:23:59 [hls] Found 12 new fragments
2022-09-06 17:23:59 [hls] 0 Downloading fragment 0
2022-09-06 17:24:00 [hls] 0 Downloading fragment 1
2022-09-06 17:24:00 [hls] 0 Downloading fragment 2
......
......leave out
......
2022-09-06 17:26:10 [hls] 0 Downloading fragment 271
2022-09-06 17:26:10 [hls] 0 Downloading fragment 272
2022-09-06 17:26:10 [hls] 0 Downloading fragment 273
2022-09-06 17:26:11 [hls] Found 2 new fragments
2022-09-06 17:26:11 [hls] 0 Downloading fragment 274
2022-09-06 17:26:11 [hls] 0 Downloading fragment 275
2022-09-06 17:26:12 [fc2 58861545] Tasks exited
2022-09-06 17:26:12 [fc2 58861545] Cancelling pending task <Task pending name='Task-30' coro=<FC2LiveDL._download_stream() running at e:\anaconda3\lib\site-packages\fc2_live_dl\FC2LiveDL.py:247> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002174FA42EB0>()]>>
2022-09-06 17:26:12 [fc2 58861545] Exited task was <Task finished name='Task-29' coro=<FC2WebSocket.wait_disconnection() done, defined at e:\anaconda3\lib\site-packages\fc2_live_dl\fc2.py:47> exception=TimeoutError()>
2022-09-06 17:26:12 [hls] read cancelled
2022-09-06 17:26:12 [hls] _download cancelled
2022-09-06 17:26:12 [hls] worker 0 cancelled
2022-09-06 17:26:12 [ws] closed
2022-09-06 17:26:12 [fc2 58861545] Cancelling tasks
Task exception was never retrieved
future: <Task finished name='Task-6' coro=<AutoFC2.handle_channel() done, defined at e:\anaconda3\lib\site-packages\fc2_live_dl\autofc2.py:90> exception=TimeoutError()>
Traceback (most recent call last):
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\autofc2.py", line 93, in handle_channel
    await fc2.download(channel_id)
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\FC2LiveDL.py", line 193, in download
    raise exited.exception()
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\fc2.py", line 48, in wait_disconnection
    res = await self._task
  File "e:\anaconda3\lib\site-packages\fc2_live_dl\fc2.py", line 85, in _main_loop
    msg = await asyncio.wait_for(
  File "e:\anaconda3\lib\asyncio\tasks.py", line 490, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
2022-09-06 17:26:12 [fc2 58861545] Fetching stream info
2022-09-06 17:26:13 [live] Using anonymous account
2022-09-06 17:26:13 [fc2 58861545] Found websocket url
2022-09-06 17:26:14 [ws] connected
2022-09-06 17:26:14 [ws] heartbeat
2022-09-06 17:26:14 [fc2 58861545] Received HLS info
2022-09-06 17:26:14 [fc2 58861545] Writing stream to 新作アニメ test/2022-09-06 172613 新作色々.ts
2022-09-06 17:26:14 [fc2 58861545] Starting 2 tasks
2022-09-06 17:26:14 [hls] init
2022-09-06 17:26:14 [hls] Starting queue worker
2022-09-06 17:26:15 [hls] Found 12 new fragments
2022-09-06 17:26:15 [hls] 0 Downloading fragment 0
2022-09-06 17:26:16 [hls] 0 Downloading fragment 1
2022-09-06 17:26:16 [hls] 0 Downloading fragment 2
2022-09-06 17:26:16 [hls] Found 2 new fragments
2022-09-06 17:26:17 [hls] 0 Downloading fragment 3
2022-09-06 17:26:17 [hls] 0 Downloading fragment 4
2022-09-06 17:26:17 [hls] 0 Downloading fragment 5
......

It would be great if this could help some.
Anyway, thanks for replying!

Ah interesting, thanks for debugging. Now that I'm looking at that part of the code, I wonder why I wrote it that way, and why things have been working just fine so far lol. I'll leave this issue open until I fix up that part.

Got this when trying to download random ongoing streams for testing, and simply increasing timeout didn't really help much.
I'm guessing that the reason timeout could never get triggered for the duration of entire stream could be the chat messages.


improve git branch parsing and cargo config serialization

When it comes to git dependencies, cargo is very finicky, and it turns out you basically have to copy the exact logic of 'cargo vendor' to get it to work. This means:

The "precise" part of the URL, the part after the #, just gets ignored, for cargo-config purposes.
If either "branch" or "ref" are specified as ?key=value parts after the URL, these should be used as the "branch".
If neither is specified, the field should be omitted. Similarly, if the URL has no "?rev=" part, this should be omitted (NOT replaced by precise URL part).

I'm unsure what to do if both a tag and a branch are specified, since it looks like cargo vendor treats branch and tag references as disjoint things. Right now I just serialize both fields, but I believe this is incorrect and one should take precedence.
Next, when fetching dependencies via fetchGit, we need to interpret the URL data slightly differently:

If a precise part of the URL is given, that should supercede any "?rev=xyz" part of the URL.
If a tag or branch is provided we should use it as "ref". Otherwise I just set allRefs = true and hope for the best.

For reference, to justify my claims about what cargo does:

here is where cargo parses URLs. Later in the same file it returns this data via fn git_reference
... to here which is the cargo-vendor source which produces the cargo config file

Force-push to change tag refs to be refs/tags/${parsed.tag} rather than just parsed.tag.

Oh thank you very much for this! I think it might fix some issues I too was having.

The test failure is just a reformat, I will fix.


[BUILD] Avoid using lld as the linker on macOS

LLD is not supported on macOS. This addresses failures like

clang: error: invalid linker name in argument '-fuse-ld=lld'

See https://github.com/triton-lang/triton/actions/runs/11099205977/job/30833066194#step:10:61

how did the error showed up? Do we set TRITON_BUILD_WITH_CLANG_LLD in the CI build?

I wonder how it used to work. Github must have changed its macos image. Thanks for the fix!

I didn't investigate closely but we do install llvm via macOS homebrew and clang releases a new version recently. homebrew updates stuff fairly agressively; maybe we should consider ping to exact versions there for stability.

I think lld is supposed to work, and it actually speedups the installation process a bit (10%). I agree that we should pin the LLVM version.

Okay I played it a bit more in https://github.com/triton-lang/triton/pull/4831. Looks we can install lld there.