2.0 Refactor

Enough has changed here, that this would have to be 2.0.
Here's a summary:

Following the pattern of other Yii drivers like Redis, I separated all the Dynamo-specific stuff to it's own Connection component.
AWS_REGION is now automatically used if present
keyPrefix has been replaced with formatKey, which will allow more flexibility and is compatible with compound keys
Adding a default ttl is now possible via ttlAttribute and ttl.
The SDK's Marshaler is used, and is exposed as a property for use.
consistentRead is exposed an option (lifted from https://github.com/aws/aws-sdk-php/blob/3d0d24d9dad824ea4344cfc711b9989d92070aac/src/DynamoDb/StandardSessionConnection.php#L9)
compound keys are now supported, via partitionKeyAttribute/sortKeyAttribute.
Implemented deleteMany/ deleteExpired (Scan/batch). deleteExpired really shouldn't ever need to be used, as you should use Dynamo's TTL setting. DynamoDbSession->allowGc defaults to false.
Sessions now work, and will sync their ttl settings with Sesssion::timeout/ini session settings.
Implemented the minimum for queue, until we have a better idea of how that is going to work with Craft

Note: this branch is what is currently running on demos via dev-cloud-refactor

LGTM!


Add support button in user account sdk

Add zendesk_flutter button in user account modal.
Acceptance criteria

Show zendesk flutter button and open modal in example app.

https://user-images.githubusercontent.com/8357343/157513997-6102facf-b7c5-4948-b684-2bbb56c7fa49.mp4


Import latest theme via CI/CD

Theme updates are added in #107
This is a manual task.
This issue proposes we call update-theme automatically via CI/CD

closing as the general directionn of including theme has changed from building & pulling in the agent, to a simple npm dependency to the theme package once more.


Properly export LIBCLANG_PATH

Fixes #5.

I think I understand. The problem is that github CI doesn't support the export script. While we do run the export script, the changes will get lost as soon as the install.sh script finishes.
We have to use the supported github mechanism for updating environment variables for future CI steps. We were doing this for $PATH but we were not doing this for $LIBCLANG_PATH which I presume is a new required value that was introduced recently.
Confirmed this change fixes the problem for me.
I note that we do not preserve the $PIP_USER environment variable either. Which is set to "NO". But so far it doesn't look like this actually causes any problems.


Verify Xcode.app and component packages signature or developer

Currently, this tool does not verify Xcode.app and component packages signature.
The install subcommand can use the --url option.
I think that it is better to consider the possibility that the specified dmg is an application that mimics Xcode.
Especially in the case of pkg it may be a virus.
Fortunately Apple has signed them all.

This is great, we already verify if there is a signature with https://github.com/KrauseFx/xcode-install/blob/0f9636d8f718302dc86271c1fff395df34db4bd3/lib/xcode/install.rb#L452, but doing more is a great idea 👍

Thank you for your response.
I'll try to look into implementing them!

I added a patch (https://github.com/KrauseFx/xcode-install/pull/312).
And I will try to check signature of component packages too.


CallParams: more types

closes #138
Looking at: https://solidity.readthedocs.io/en/v0.5.9/abi-spec.html#types
Java/Solidity

[x] boolean/bool
[x] Signed integer types: byte/int<8>, short/int<16>, int/int<32>, long/int<64>, BigInteger,N/int<N>
[x] unsigned variants of the above
[x] <new Java type>/address
[x] <new Java type>/function
[ ] Array types of all of the above
[ ] Fixed size byte arrays
[ ] Test parameter encoding of all types and new FunctionSelector

Omitted:

Fixed point types are not currently implemented in the Solidity spec or EthereumJ

@gregscullard here's a more filled out CallParams API; I have yet to add array types. Do you want tuple types as well? (That method could take (Object... params) or something.)

@gregscullard here's a more filled out CallParams API; I have yet to add array types. Do you want tuple types as well? (That method could take (Object... params) or something.)

Tuple would be nice but not a priority.

Note that as far as I know, solidity allows any multiple of 8 for its data types up to 256, so int24 and int40 are valid types. I guess that if they don't fit into a standard equivalent java type, they'd fit into the next available one (int40 fits into long(int64)).
Wondering whether an add(int size, Object value) would make sense ? I don't know how often solidity programmers use "non standard" types to save memory/storage/execution costs.
Likewise for the return value which could be any multiple of 8.

The non standard types don't tangibly exist outside of the operational intrinsics in the contract. All the integer types are encoded and decoded equivalently (which, yes, is a huge waste of space).

@gregscullard that's the idea behind these methods:

https://github.com/hashgraph/hedera-sdk-java/pull/139/files#diff-d4afc6344cf4061b472222e651042b7aR111

https://github.com/hashgraph/hedera-sdk-java/pull/139/files#diff-d4afc6344cf4061b472222e651042b7aR134

https://github.com/hashgraph/hedera-sdk-java/pull/139/files#diff-d4afc6344cf4061b472222e651042b7aR220

https://github.com/hashgraph/hedera-sdk-java/pull/139/files#diff-d4afc6344cf4061b472222e651042b7aR241

These let you explicitly set the integer width, truncating or padding the value when passing long.
For widths less than 64 when passing a long it truncates the same as Java's semantics (literally just chopping it down to the last N bits with no regard for sign); this is safe even for negative numbers because if the user passes a negative int and it implicitly widens to a long, it gets sign-extended by Java so when it gets chopped down the sign bit is still correct.
For widths greater than 64 when passing a long the Solidity padding rules effectively sign-extend the value to a uint256 so it should still be correct.
I required supplying the width when using BigInteger as assuming the width to be the size of the byte representation of the bigint seemed error prone, even though that's what EthereumJ does. I figured it was better to require the user to explicitly set the width for the parameter and then just assert that the bigint fits into that.
@gregscullard if you'd like to merge this to be able to play around with it I'm fine implementing arrays and tuples in a separate PR. I can also rebase #111 so I can write tests for this (it'd be easier than writing tests here and then having to deal with merge conflicts when I'd have to rebase #111 anyway).

We've elected to do arrays (fixed-size and dynamic) in a separate PR.


How To Adopting New Architectures In Multi-Module Android Project?

New Version
0.68
Old Version
0.65.1
Build Target(s)
Android simulator in Debug flavor
Output of react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.22000
CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
Memory: 2.94 GB / 15.88 GB
Binaries:
Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.3.1 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: 17.1.32210.238 (Visual Studio Community 2022)
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.0 => 0.68.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Issue and Reproduction Steps
I have a multi-module android App with a react native activity in a sub-library. It was configured following the guide Integration with Existing Apps. And now I would like to upgrade the version and try new architectures. But don't know exactly which doc I should follow of ["Supporting the New Architecture in your Library
", "Supporting the New Architecture in your App"]. I also tried use react-native init to generate a new project and copy the configurations in *.gradle to my project but can't pass gradle sync. How can I achieve this goal?
My project directory is like this:

Android(project)

module-A(application)

module-B(library)

module-C(library&RN-activity)
And module-B and module-C is dependencies of module-A, the node_modules dictionary is under module-C.

Hey @zxcvbnm3057,
You can find documentation on the New Architecture here:
https://reactnative.dev/docs/next/new-architecture-intro


v1.2 senders with null flow_id not accepted by nmos-cpp-registry

The spec for v1.1 senders and upper allows senders to have flow_id = "null" but the nmos-cpp-registry does not like it, refusing to register the sender with a little warning in the logs: "JSON error: not a string".
Of course if one register a sender with flow_id null, how could it be rendered in v1.0?
Also, we need to provide a manifest file, and we certainly have enough information to create a flow.
So maybe it's not really an issue with nmos-cpp but rather with the spec?

The spec for v1.1 senders and upper allows senders to have flow_id = "null" but the nmos-cpp-registry does not like it, refusing to register the sender with a little warning in the logs: "JSON error: not a string".

That's absolutely a bug. Will fix and add to the nmos-testing test suite. Thanks for the report.

Of course if one register a sender with flow_id null, how could it be rendered in v1.0?

That's an open issue that we're already discussing in the spec and in the test suite.

Spec: https://github.com/AMWA-TV/nmos-discovery-registration/issues/67
Testing: https://github.com/AMWA-TV/nmos-testing/issues/114

Fixed in https://github.com/sony/nmos-cpp/commit/d6161defbf164f71b2d0b3c07791d89e97760d40
Test case added in https://github.com/AMWA-TV/nmos-testing/pull/165
Thanks again for the report, @thosil.


Group multiple events into one in month view and multiple day event with a horizontal line

Bug description / Feature request:

As you can see in the above screenshot i have more than one event for a single salesperson i might have many appointments for the same person on the single day instead of showing them separately can i group events for each sales person and show them on toggle ? In my case i don't need two pink dots instead a single pink dot with all the appointments for that person will do is it possible to do so ?
My scenario : So we will assign appointments for salesperson on daily basis a sales person can have any number of appointments per day so than cluttering the UI with multiple dots is it possible to have them grouped for each person so that will be a single dot for each person with all his appointments for the day ?
And with multiple day event is it possible to show a horizontal line with from and to date instead of a dot in each day ?
Thanks
Link to minimally-working plunker that reproduces the issue (starter template: http://plnkr.co/edit/LE4F4U7AnnD3tjM9ZH4G?p=preview)
Versions
Angular: 1.6.4
Calendar library:
Browser name and version: Chrome

It's not possible unless you modify calendarMonthCellEvents.html template, which is responsible for the dots.

Yes there is an option group month cell events which tried

But i am unable to see tooltip while doing this any idea why ?

My bad, I don't know how I missed that.
You have to provide ` parameter and a JS function that would group events by a field (i.e. by color):
    vm.groupEvents = function(cell) {
      cell.groups = {};
      cell.events.forEach(function(event) {
        cell.groups[event.color] = cell.groups[event.color] || [];
        cell.groups[event.color].push(event);
      });
    };

@burtek Thanks i have done the exact same thing and i almost achieved what i want but why is the tooltip not visible if i use cell modifier ?? Also in the screenshot i send previously you can see when the slide box is open it lists all the available events instead can i have only events based on particular color ??

I am not able to see different events by using groupEvents.
It's showing all the events as a single data.
===================HTML==================
<mwl-calendar
events="events"
view="calendarView"
view-title="calendarTitle"
view-date="viewDate"
cell-modifier="groupEvents(calendarCell)"
cell-auto-open-disabled="true"
>
</mwl-calendar>

=======================JS================

$scope.events = [
{
title: 'Event 1',
type: 'warning',
color: calendarConfig.colorTypes.warning,
startsAt: moment().startOf('month').toDate()
}, {
title: 'Event 2',
type: 'info',
color: calendarConfig.colorTypes.info,
startsAt: moment().startOf('month').toDate()
}, {
title: 'Event 3',
type: 'info',
color: calendarConfig.colorTypes.info,
startsAt: moment().startOf('month').toDate()
}, {
title: 'Event 4',
type: 'danger',
color: calendarConfig.colorTypes.important,
startsAt: moment().startOf('month').toDate()
}, {
title: 'Event 5',
type: 'success',
color: calendarConfig.colorTypes.success,
startsAt: moment().startOf('month').toDate()
}
];
$scope.groupEvents = function(cell) {
cell.groups = {};
cell.events.forEach(function(event) {
cell.groups[event.type] = cell.groups[event.type] || [];
cell.groups[event.type].push(event);
});
    };

=========================IN THE ATTACHED SCREENSHOT============
1 aug show 5 but it should show 1 2 1 1

@Neha-saini
It would show that if you used correct template. The event grouping example uses special template:
calendarConfig.templates.calendarMonthCell = 'groupedMonthEvents.html';

    $scope.$on('$destroy', function() {
      calendarConfig.templates.calendarMonthCell = 'mwl/calendarMonthCell.html';
    });

@iammelvin
I tried to reproduce your problem, but I was not able to. Could you provide plunker?

@burtek as you can see in the below image

When i click on a cell in month view the slide box opens with all event colors together instead can i open slide box for each color and show them alone ? And the next thing is when i hover over one event in that particular cell why i am not able to get a tooltip ??

I would still need a plunker. Or at least @mattlewis92's ideas...

@burtek i will have to write one give me some time i will come up with my code as plunker or a pen

Closed for no response.


Push registration on app launch

What
Ensures that we register for push notifications on app launch, so that we can have the most up-to-date push tokens.
Why
Previously, we only registered for push notifications once: when the user first sees the push registration dialog and hits "Ok". This means that the push tokens stored on the server could be invalid, since APNs issues new tokens under certain conditions: https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW3
We are now fetching an updated push token on every app launch if the user has authorized the app for push notifications.
*Also added some additional logging so we can easily see when push registration is happening in the logs 🤓

@justinswart thanks for thoroughly testing!


Allow serving asciinema from other than /

Fixes #296.
This is a set of patch to allow serving asciinema on other path than /.
It includes:

Fixing absolute links in the CSS
Fixing absolute routes in templates
Fixing absolute routes in controllers

I've tested with locally, including upload, play, registering and connection, all of which seem to work well.

I did a little bit of local as well and it seems to be working nicely.


18 digitalis will be round

9999999999999999999 ng-model value round to<PHONE_NUMBER>000000000

Yes it's an angular problem.  This directive use currency filter and seems that this round is done by that.  Please check adding {{9999999999999999999}} to some html to check it.
Please reopen this ticket if you have any problem.


Make device selection output constistent

Make vkcube print a string for device type, which is consistent with
vkcubepp.

CI Vulkan-Tools build queued with queue ID 10141.

CI Vulkan-Tools build # 652 running.

CI Vulkan-Tools build # 652 passed.


Avoiding repeated calls to EVP_CIPHER_CTX's Init & Final functions

I have a question regarding the usage of EVP_EncryptUpdate and EVP_DecryptUpdate.
If we were to set padding to 0 via EVP_CIPHER_CTX_set_padding,
could we avoid calling the final APIs, i.e. EVP_EncryptFinal_ex and EVP_DecryptFinal_ex ?
Reason I ask because, I'm writing an application where I would be performing Symmetric Encrypt/Decrypt on the incoming/outgoing packet payloads, and I'm trying to minimize these EVP_CIPHER_CTX API calls.
In my application, I'm trying to cache the EVP_CIPHER_CTX for a given cipher,
so that for any Encrypt/Decrypt operation, I could just call EVP_EncryptUpdate / EVP_DecryptUpdate and that's it.
I don't wish to repeat the cycle of calling Init, Update, Final every single time.
Also, going by the documentation, I believe there is no harm calling the Update APIs multiple times?
        int out_len;

        int ret = EVP_DecryptUpdate(cipher_ctx, decrypted_data, &out_len,
                                        encrypted_data, encrypted_data_len);
        if (ret != 1) {
                printf("Decryption process failed");
                return -1;
        }

        *decrypted_data_len = out_len;

        int out_len;

        int ret = EVP_EncryptUpdate(cipher_ctx, encrypted_data, &out_len,
                                        plaintext_data, plaintext_data_len);
        if (ret != 1) {
                printf("Encryption process failed");
                return -1;
        }

        *encrypted_data_len = out_len;

You could use EVP_Cipher(). However, how do you handle the initial vector?

Oh okay, I was not aware about the EVP_Cipher() , I'll check it out.
Currently, everytime I make a call to my encrypt/decrypt function, I pass the symmetric key and IV parameters to my function, which in-turn calls EVP_DecryptInit_ex /  EVP_EncryptInit_ex , followed by Update & Final call.
So, basically each session would have it's own key & IV, and it would go through the below series for encryption/decrytion.
        cipher_ctx = EVP_CIPHER_CTX_new();
        if (cipher_ctx == NULL) {
                printf("failed to create EVP Cipher context");
                return -1;
        }

        ret = EVP_EncryptInit_ex(cipher_ctx, EVP_aes_256_ctr(),
                                        NULL, sym_key, iv);
        if (ret != 1) {
                printf("failed to initialize encryption process");
                goto drop;
        }

        ret = EVP_EncryptUpdate(cipher_ctx, encrypted_data, &len,
                                plaintext_data, plaintext_data_len);
        if (ret != 1) {
                printf("encryption process failed");
                goto drop;
        }

        *encrypted_data_len += len;

        ret = EVP_EncryptFinal_ex(cipher_ctx, encrypted_data + len, &len);
        if (ret != 1) {
                printf("encryption finalize process failed");
                goto drop;
        }

        *encrypted_data_len += len;

        EVP_CIPHER_CTX_free(cipher_ctx);

        return 0;

Currently, I was thinking about, instead of storing key & IV per session, how about I store the EVP_CIPHER_CTX per session, and everytime I go for the above process, I would just call the Update function and move along, without having to do new/free & init, update, final cycle.
And since I would be setting padding to 0, I suppose I don't need to call the Final function either.

@t8m regarding EVP_Cipher() :-
Due to the constraints of the API contract of this function it shouldn't be used in applications,
please consider using EVP_CipherUpdate() and EVP_CipherFinal_ex() instead.

so is it not recommended to use EVP_Cipher() for practical applications?
If it's okay and not much difference, I'll go with the _Update API itself.
also, need a small clarification, if I'm right to assume that I don't need to call Encrypt/Decrypt Final API if I have set the EVP_CIPHER_CTX padding to 0 ?

I still think it is safer to use EVP_Cipher() instead of depending on particular behavior of EVP_CipherUpdate().
If you know the constraints of the EVP_Cipher() API contract and it works for you, it is IMO OK to use it.

@t8m just a suggestion.
I see the parameters of EVP_Cipher():-
int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
               const unsigned char *in, unsigned int inl)

I think it would be helpful if we could also pass int *outl as a parameter, similar to EVP_CipherUpdate() .
Going by the definition of EVP_Cipher(),  it uses local variable size_t outl internally.
Right now, the idea of int *outl missing in EVP_Cipher() is holding me back from using it,
which is not in the case of EVP_CipherUpdate().
Regarding Symmetric Ciphers, I understand in the case of AES-256-CTR (in my usecase), the encrypt/decrypt length are the same, but I'm not sure if it's the same for other Ciphers as well.
I think the EVP_Cipher() could use the extra int *outl parameter.

Why do you want to avoid calling final?
In general, you should call final.  Some cipher modes will buffer data internally and only output all of it when final is called.  It's not just the length that can change: some of the CTS modes swap the final two blocks e.g.
Look at EVP_CIPHER_CTX_dup() for a way to avoid having to call init repeatedly.  This depends on reuse of key and IV etc so it's not applicable in all circumstances.

If padding is disabled then EVP_EncryptFinal_ex() will not encrypt any more data

I have padding disabled in my EVP_CIPHER_CTX.
My EVP_CIPHER_CTX for a given session will remain the same (including key & IV),
I only require calling encrypt/decrypt on every payload it sends/receives.

We cannot change existing API calls to add more parameters. It would have to be a new call.
The EVP_Cipher API contract requires you to know what you're doing, i.e., what cipher/mode do you use and that means also whether the ciphertext length is the same as plaintext length (if you encrypt whole blocks) or not.

Oh okay, basically the usage of EVP_Cipher() is up to the caller to decide if it works for their usecase.
I'll proceed accordingly then. Thanks.


Azure Storage Track 2 client libraries

https://dev.azure.com/azure-sdk/public/_build/results?buildId=30661
/opt/hostedtoolcache/dncs/2.1.503/x64/sdk/2.1.503/Microsoft.Common.CurrentVersion.targets(4551,5): error MSB3030: Could not copy the file "/home/vsts/work/1/s/sdk/storage/Azure.Storage.Common/tests/Shared/TestConfigurations.xml" because it was not found. [/home/vsts/work/1/s/sdk/storage/Azure.Storage.Blobs/tests/Azure.Storage.Blobs.Tests.csproj]

Looks like you are missing this TestConfigurations.xml file but only on Linux. Where is that file supposed to come from?

Yes, I'm not sure why it didn't appear.  It's automatically created at https://github.com/Azure/azure-sdk-for-net/blob/d0c2b50da7059a28b7ceb2e9d046eaf901bd6da6/sdk/storage/Azure.Storage.Common/tests/Azure.Storage.Common.Tests.csproj#L12

It could be an ordering thing? What is it that makes Azure.Storage.Common the first project that gets built?Is there any reason we don't just check-in this file?

Don't the project references (Blobs.Tests referencing Common.Tests) cause them to be ordered correctly?  And we don't want to check this file in, for reasons.

Don't the project references (Blobs.Tests referencing Common.Tests) cause them to be ordered correctly? And we don't want to check this file in, for reasons.

Perhaps I'm missing it but I don't see Blobs.Tests doing a ProjectReference to Common.Tests project.

That's...  a good point.  We were referencing the Shared project but not Common.  Let me try working around this by copying *.xml because the test code is resilient enough to not care.

It could be an ordering thing? What is it that makes Azure.Storage.Common.Tests the first project that gets built?Is there any reason we don't just check-in this file?

TestConfigurations.xml holds credentials for testing, and must NOT be checked in.  Keeping it excluded from Git means there won't be any accidental leaks via this file.

TestConfigurations.xml holds credentials for testing, and must NOT be checked in. Keeping it excluded from Git means there won't be any accidental leaks via this file.

I'd suggest that we generate it as a pre-test step in each of the test projects then. I assume you pull in the secrets as environment variables from keyvault during the build setup, in which case I'd simply have msbuild write out the file based on those secrets.

TestConfigurations.xml holds credentials for testing, and must NOT be checked in. Keeping it excluded from Git means there won't be any accidental leaks via this file.

I'd suggest that we generate it as a pre-test step in each of the test projects then. I assume you pull in the secrets as environment variables from keyvault during the build setup, in which case I'd simply have msbuild write out the file based on those secrets.

Bad assumption :)
Typically, the credentials have to be created on the spot or handed around from server devs to us, since they're accounts for features-in-development.  Not stable enough to end up in KeyVault.


fixed topbar + coc picture

Fixed weird topbar error build by enabling it and filled it with some details, feel free to edit the text and the emojis. It is markdown formattable.
Also resized the Figure for the COC. #12
Erased the notconfig.toml

Beautiful touch with the emoticons. I love it, well done.


Conservatory Thermal Mass Project

Water blasted the terracotta pot I obtained from neighbour. Left outside upside down to dry for a day or so.

Moved the aforementioned pot into the conservatory entrance as it was beginning to rain. And I need it to be dry.

Mounted terracotta pot and tray on wooded spacers and moved into position within other end of conservatory.
Will allow to sit for a while before adding some sensor(s)?


Upgrade used JSS Angular Version to 14

Is your feature request related to a problem? Please describe.
The currently used version 11 will not get any more security updates, because the security support is end of life (since 11.05.2022).
Also frameworks which may be dependent to the angular version, will now longer get updates for older versions.
Its also not possible to use newer framework features with the old version.
Describe the solution you'd like
I would like to request an update of the used angular version to the newest version 14.x.
Describe alternatives you've considered
its not an alternative to stay on the current version for that long.
Additional information
Is there a roadmap for that?

Hi @monkey-ldb - Yes, we have this on our roadmap and are actively working on this effort, planned for an upcoming release (TBD).

Hi @ambrauer any update on this issue currently angular 11 is officially out of support and soon 12 will be out of support as well.

Hi @moh4sa - We are targeting to include this in a release of JSS before the end of the year.

Hi @ambrauer, do you have an updated ETA on this issue?

Hi @d3473r - ETA is early 2023 (now targeting end of January / February)

Hello guys, Is there any update on the angular upgrade for JSS?

Hi @d3473r - ETA is early 2023 (now targeting end of January / February)

Hey, do you have an update for us?
Its march and there is no update from your side yet.

Hi @monkey-ldb - We are planning to release JSS 21.1.0 next week, which will include the upgrade to Angular 14.
Upgrade to 15/16 is in our backlog for consideration.
cc @AlexandruPaun4Ness @d3473r @moh4sa

We are planning to release JSS 21.1.0 next week, which will include the upgrade to Angular 14

@ambrauer will JSS 21.1.0 be compatible with 10.1.2 or will we need to update to 10.3?

We are planning to release JSS 21.1.0 next week, which will include the upgrade to Angular 14

@ambrauer will JSS 21.1.0 be compatible with 10.1.2 or will we need to update to 10.3?

@williamsk JSS 21.1.0 will only be compatible with Sitecore 10.3. Please see compatibility matrix here for reference.

Hi @monkey-ldb - We are planning to release JSS 21.1.0 next week, which will include the upgrade to Angular 14.
Upgrade to 15/16 is in our backlog for consideration.
cc @AlexandruPaun4Ness @d3473r @moh4sa

Hey @ambrauer again the release of this version did not happen. Is there anything blocking it atm ? I am asking this because there are teams wanting to start using angular + Sitecore + jss and they just need a newer version of Angular.


Update to wgpu 0.20

I think this might also need to deal with the new features?

Unfortunately, I need to leave now unexpectedly to drive 250km and won't be back for some hours, so I won't be able to get back to this until about 24 hours from now at the earliest, so if anyone else can pick it up and run with it, they're welcome to it!

I pushed an update but forgot to mention it ... this at least passes tests but there may be a better way to do parts of it?

@Wumpf Just checking in on this if you have the time. We'd like to update Vello to wgpu 0.20 for the shader compilation improvements and this is needed for that.

(But I know everyone is busy with the run up to RustNL and other things!)

I'll try to have a close look and release a new version until Monday but don't want to promise anything ;-)
unfortunately not RustNL busy, just regular busy

ALL_WGPU_TIMER_FEATURES wasn't updated yet

(I'm on it, but looks like I stumbled over a bug; managed to violate an internal invariant 🤔 )

I am on a trip this weekend without my laptop. (First time without a computer in over a decade!)
I will try to visually review it via phone tonight.
thanks for doing all of this!

@Wumpf This seems to work once I fix up the code in the vello example that uses it. (It displays some stuff on screen visually.)


Support LLVM 16

Tested on x86_64-linux-gnu for some build between 16.0.0-rc3 and rc4 only. No changes were required in the compiler at all because we already switched to opaque pointers for LLVM 15.
This does not include the debug information stuff in #13174.

This workaround:
https://github.com/crystal-lang/crystal/blob/3a360b1bfc966474c2e9f21594c7b4030d29ac73/.github/workflows/win.yml#L309-L313
is also unnecessary for LLVM 16 due to https://reviews.llvm.org/rG36357c967cdb9006dd7de9be0dd52068da2a4f96

/mnt/llvm/bin/llvm-config: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
🤔


Add NOTE for deprecated in-tree openstack-cloud-provider

As the release note of v1.111, in-tree openstack-cloud-provider is
deprecated. So this adds the note for explaining it and recommending
to use the external openstack-cloud-provider.

/lgtm
/approve


Remove private_key_path from _conection_keys

resolves #949
docs dbt-labs/docs.getdbt.com/#

Problem
the field private_key_path could have a argument to be a qausi secret level like field that possibly should be removed from debug and being called in jinja

Solution

Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Hi Team!  If we are able to get this reviewed and implemented, I believe this issue is a blocking issue (or contributing) for several major customers from using parse caching for jobs, so high-value win potential. Thanks @McKnight-42 for getting this edit in the pipeline!

@McKnight-42 How long before this will be reflected in mt via dbt debug for versionless?

@will-sargent-dbtlabs I don't have a exact timeframe I think we are doing some releases tomorrow, so we will create the bundles and stuff then and usually takes a few days or so to populate throughout cloud once its all out so sometime mid next week possibly? similar timeframe for 1.7 and 1.6 adapters once the backports are merged


BVH automatic setup

When creating a BoundGeometryBVH, it would be interesting to have it automatically configured with the basic flags.
In this way, it is not necessary to configure these BVHs, unless the flags need to be configured manually for specific cases.
It would also be interesting if the shape margin was also set as default (0.005 if I'm not mistaken)

its a bad idea to automatically set the flag preset because not everything uses the default flags.

its a bad idea to automatically set the flag preset because not everything uses the default flags.

Yes but actually if you don't use the default Flags what do you do ? Do you select your BVH and apply specific Flags to it?
Well, that won't change for this kind of situation.
But in case you need to set your default Flags, you won't have to do anything. It's just a time saving in the Classic cases, and a non modification of your workflow in a specific case

its a bad idea to automatically set the flag preset because not everything uses the default flags.

Yes but actually if you don't use the default Flags what do you do ? Do you select your BVH and apply specific Flags to it? I think I'm saying right?
Well, that won't change for this kind of situation.
But in case you need to set your default Flags, you won't have to do anything. It's just a time saving in the Classic cases, and a non modification of your workflow in a specific case

An option was added for this in pr #499


Updated README.md

I changed step 6 and 7 to be more explicit about exactly where to find the appropriate release page. I'm sure the appropriate action is obvious to the more experienced but I have never touched the release page before and did not understand how that part of git hub's structure worked. I hope my syntax is ok, if not I'd be very interested in seeing a more appropriate way of implementing my recommendation.

I think is probably a good change.  On the one hand, step 0 (the note) suggests you search and replace iffy with your GitHub username.  On the other hand, when you're looking at the repo you won't have done that yet.
Thanks!

I agree completely that step 0 should have prompted me to do so but strangely when I searched for all instances of iffy in VS code and replaced all it didn't findAndReplace the README.md file which led to me to my moment of head scratching. Thanks for merging my PR, this is my first one. I'm stoked
Great repo, really helped speed up my progress with electron. Cheers!


Update polyfill to accept standard-compliant code

Fixes #50, #52, #53, #54
Alright, I've tried 20 different ways to re-package this into cleaner, easier-to-review chunks, but each time it ended up a mess and at this point it's preventing the code from being made more visible, so I'm just going to post this as one big PR for the moment. Apologies to anyone that was hoping to do a detailed review.
In terms of what this change does: It pulls in the work that @jacobcdewitt has done to make the polyfill compatible with the version of WebXR that will be in Chrome 76/77. This is not the same as the "VR Complete" version of the spec, but it's not too far off. It also includes a small shim to avoid the need for applications to specify a chrome-specific WebGL layer option that can be inferred from the session mode. This gets us to a point where any code written against the VR complete standard should actually be accepted by the polyfilled API, but some values are being ignored.
To get us to VR complete on top of this set of changes, we'll need the at least the following:

Parse and enforce the requiredFeatures and optionalFeatures in the XRSessionInit. (You can pass them now, but they're ignored.)
Update the gamepad integration to match the newest xr-standard layout and attribute values (There's already comments in the code to indicate the needed changes here.)
Implement the visibilityState session attribute and visibilityChange event

Oh, and we want to get the tests working again.
I'm sure there's some more minor changes in there that I've neglected to call out, but those are definitely the big ones.

wow! lovely, i'll take a look :smile:

Also for mergability, removing the build/* files from the commit and squashing will be nice :+1:

Took a bit, but I should have all the feedback addressed now. Thanks Jordan! And yes, this will absolutely be a squashed commit when all is said and done. 😄


GetValue For OptionSet field

Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online
UCI (XrmApp)
Online
Chrome
Is there any functionality to get the list of all possible value for an OptionSet field. For my dynamics 365 instance there is a status filed which have four possible values. I would like to get a list of all available values for that status filed.

@sakib5
var variable = xrmApp.Entity.GetValue(new OptionSet { Name= "mzk_visitstatus" });
you can getvalue of optionset like this


Failed to save log file

I'm receiving the following error when trying to reproduce a crash log generated by grinder:
[-D-] Error, unable to save the log file 'C:\Users\test\AppData\Local\Temp\L
ow\logger_14256.xml' (File doesnt exist)
[-D-] Failed to save the log file.
[*D*]
[*D*] Caught a Write Access Violation in  process 14256 at 2017-05-02 02:55:01 with a crash hash of 91245474.AAFA6CDF
[*D*] Posted crash to '<IP_ADDRESS>/grinder-server/status.php'

Updated with the following issues:
[+D+] Attached debugger to new 32-bit process 7772.
[+D+] JavaScriptCore.dll DLL loaded into process 7772 at address 0x69320000
[-D-] Unable to hook JavaScript parseFloat() in process 7772, logger dll not inj
ected.
[+D+] JavaScriptCore.dll DLL loaded into process 7772 at address 0x69320000
[-D-] Unable to hook JavaScript parseFloat() in process 7772, logger dll not inj
ected.
[+D+] JavaScriptCore.dll DLL loaded into process 7772 at address 0x69320000
[-D-] Unable to hook JavaScript parseFloat() in process 7772, logger dll not inj
ected.
[+D+] Logger DLL loaded into process 7772 @ 0x731F0000
[+D+] Logging process 7772 to log file 'C:\Users\test\AppData\Local\Temp\Low
\logger_7772.xml'
[+D+] JavaScriptCore.dll DLL loaded into process 7772 at address 0x69320000
[+D+] Resolved JavaScriptCore!parseFloat @ 0x69438100
[+D+] Hooked JavaScript parseFloat() to grinder_logger.dll via proxy @ 0x003F000
0
[+D+] Debug message from process 7772: Safari

[-D-] Error, unable to save the log file '' (can't convert nil into String)
[-D-] Failed to save the log file.
[*D*]
[*D*] Caught a Read Access Violation in SF process 7772 at 2017-05-04 05:46:40 with a crash hash of 557B44B1.557B44B1
[*D*] Posted crash to '<IP_ADDRESS>/grinder-server/status.php'

It appears the logger is not correctly writing to disk. I've seen the closed tickets but those fixes did not solve my issue, any thoughts?
Thank you

also the same error for me.
[-D-] Error, unable to save the log file '' (no implicit conversion of nil into String)
[-D-] Failed to save the log file.
[D]
[D] Caught a Read Access Violation in IE11 process 9740 at 2017-05-04 23:50:26 with a crash hash of 27CFCEF8.1E839C32
is there any solution for this?
thx

Not sure, although I'm still looking into it. Will update if I find anything. Hopefully someone else can point us in the right direction.

@stephenfewer any thoughts?


Terraform Provider rancher2 Ping Identity missing "Entity ID Field" in rancher2_auth_config_ping

If you provision a Rancher v2.6.8/9 instance and navigate to Users & Authentication -> Auth Provider -> Ping Identity, you can note the presence of the 'Entity ID Field'. Which does not appear to be exposed by the arguments on the rancher2_auth_config_ping resource of the Rancher2 Terraform Provider. (https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/auth_config_ping#argument-reference).
SURE-5596

Test steps described here. Please reach out to @eliyamlevy for any questions on testing this issue.

reopened for a TF rc to fix error:
│ Error: Unsupported argument │  │   on main.tf line 26, in resource "rancher2_auth_config_ping" "ping": │   26:   entity_id_field = "rancher_tf" │  │ An argument named "entity_id_field" is not expected here.

@ronhorton @eliyamlevy An rc has been cut to test this issue https://github.com/rancher/terraform-provider-rancher2/releases/tag/v3.1.0-rc4.

The rc is missing assets @a-blender

Pass verified on rancher2 provider 3.1.0-rc4
Created ping indentity authconfig using newly added field; 'entity_id_field'


[zh] Update hello-minikube.md

Signed-off-by: Guangwen Feng<EMAIL_ADDRESS>en PR https://github.com/kubernetes/website/pull/29811
/assign @tengqm
PTAL, thanks.

Thanks for the resync!
/lgtm
/approve


Proposing the addition of an API

Used for the random quotes zipline

Whats the use case for this?
I'm hesitant to add stuff like this as there are certainly api's out in the wild that already do this and probably do it better. I think the few randomApi's that we have are directly related to curriculum.

One example http://api.theysaidso.com/qod (although they use SOAP...)

Okay that alright then if there are some out there I just had trouble finding them myself alongside a hand full of other people but if subscription free ones exist then that's okay


Py file

Added a .py file of all the code and cleaned up the plots a small amount. Just want to test the pull request on GitHub.

Looks good, thanks for cleaning that up


Upgrade from 9.49.3 to develop: problem with email

Started with 9.49.3 from master, cloned counterparty_build scripts from develop and upgraded CW to develop:
Enter the number for the role you want to build:
1: Counterwallet server
2: counterpartyd-only
3: counterblockd basic (no Counterwallet)
Your choice: 1
Building a Counterwallet server
Build from branch (M)aster or (d)evelop? (M/d): d
Working with branch: develop
Run as (t)estnet node, (m)ainnet node, or (B)oth? (t/m/B): B
Setting up to run on testnet and mainnet
Email address where support cases should go (blank to disable):
Set up security hardening? (Y/n): Y
Autostart services (including on boot)? (y/N): N
2015-01-22 17:37:55,939|DEBUG: answered_questions: {'op': 'r', 'branch': 'develop', 'counterwallet_support_email': '', 'run_mode': 'b', 'autostart_services': 'n', 'role': 'counterwallet', 'security_hardening': 'y', 'counterpartyd_public': None}
2015-01-22 17:37:55,940|WARNING: STOPPING SERVICES
2015-01-22 17:37:55,940|DEBUG: RUNNING COMMAND: service iwatch stop

I did not provide my email address. Then:
From https://github.com/CounterpartyXCP/counterpartyd_build
 * branch            develop    -> FETCH_HEAD

*** Please tell me who you are.

Run

  git config --global user.email<EMAIL_ADDRESS>  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@ubuntu.(none)')
2015-01-22 17:39:40,697|ERROR: Command failed: 'cd /home/xcp/counterpartyd_build && git pull origin develop'

sudo git config --global user.email<EMAIL_ADDRESS>allows me to get past this, but I don't remember I had to do this before (and apparently not since I have existing 9.49.3 on this box)

This happened probably because I was actually running the old setup script (see https://github.com/CounterpartyXCP/counterpartyd_build/issues/189) and rebuilding from develop (while the original source was from master).
I'm not sure if in that case this problem would be expected. If yes, feel free to close this issue.

Yep that's it


Lockout Account in case of failed logins

User Story
As an Automate User, I should not be able to pass wrong password for more than 5 times.
On trying to login for more than 5 times will result in lock out account and can be unlocked by admin on password reset
Acceptance Criteria
Definition of Done

All things specified in User Story Acceptance Criteria should be fulfilled.
All Exceptions are Handled Properly
Ensure logs have no unnecessary data.
Test coverage for the new feature is done to at least 70%
If needed raise Docs PR and tag documentation.
Swagger Documentation updated
Smoke Test done.
Ensure Build and Integration Pipelines are Green.
PR has 2 approvers.
All Code Review Comments are Resolved.
README doc should be updated, if needed.

https://progresssoftware-my.sharepoint.com/:w:/r/personal/aazeez_progress_com/_layouts/15/Doc.aspx?sourcedoc={D0974801-95E0-4404-9E08-FBC4786444D3}&file=Failed Login Attempts Design.docx&action=default&mobileredirect=true


Multi content doesn't work with google generative ai flutter package

Description of the bug:
hello guy pls can some one help me when i use google generative ai package with gemini-1.5-flash model with text only the app work normally but when i try to add an image as an entry i get this error
An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting
error
sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3  throw packages/google_generative_ai/src/api.dart 583:54                            parseGenerateContentResponse
here is the code :
List<Part> parts = [TextPart(message)];
try {
if (image != null) {
parts.add(DataPart(image.extension!, image.bytes!));
}
} catch (e) {
log(e.toString());
}
var content = Content.multi(parts);
var response = myChat.sendMessageStream(content);

Actual vs expected behavior:
it supposed to work on both text only and text with image but currently it work with text only
Any other information you'd like to share?
No response

my add image function is working fine:
if (_selectedImage != null) {
final model = GenerativeModel(
model: 'gemini-pro-vision',
apiKey:"your api key",
);
        final imageBytes = await _selectedImage!.readAsBytes();
        final content = Content.multi([
            TextPart("your message"),
            DataPart('image/jpeg', imageBytes),
        ]);

        final response = await model.generateContent([content]);

This looks like a backend error unrelated to the SDK. Hopefully this was transient, but if this is still happening the best place to get help is at the https://developers.generativeai.google/guide/troubleshooting link form the error message.


cdml-prometheus-pumper to 0.0.3

Promote cdml-prometheus-pumper to version 0.0.3

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


The prompt selects are only available for the first user input; after ChatGPT responds, subsequent inputs won't have this option.

When using ChatGPT, I noticed that the prompt selects are only available for the first user input. Once ChatGPT responds, subsequent user inputs don't have this option.

The issue is that ChatGPT does not retain information effectively, therefore we must remind it of the necessary details with each new prompt we send

I am now investigating this issue!

No longer required as this project is archived


EE-1040: Update chainspec costs

Ref: https://casperlabs.atlassian.net/browse/EE-1040
This PR is continuation of work started in #190 and #279
This PR also changes chainspec format to include general wasm costs for all wasm VM instances, storage costs, and host function costs expressed as polynomials (as in: array of coefficients/variables with values).
Chainspec
WasmConfig now contains basic settings for each VM instance, and additionally contains OpCodeCosts, StorageCosts and HostFunctionCosts.
HostFunctionCosts right now does not have assumption regarding number of arguments, but my plan in follow up work is to make the arguments = [...] a fixed size array on rust size, or either a tuple whose size will be equal to the number of arguments given function expects. Arguments that indicates size would have actual weights, those which aren't used (i.e. pointers) would be equal to 0. This should make the accounting more safer and less error prone because we can use decomposition, and at the same time it will make serialization format simpler.
# ...
[wasm_config]
# Amount of free memory (in 64kB pages) each contract can use for stack.
initial_mem = 64
# Max stack height (native WebAssembly stack limiter).
max_stack_height = 65536

[wasm_config.opcode_costs]
# Bit operations multiplier.
bit = 1
# Arithmetic add operations multiplier.
add = 1
# Mul operations multiplier.
mul = 1
# Div operations multiplier.
div = 2
# Memory load operation multiplier.
load = 1
# Memory store operation multiplier.
store = 1
# Const store operation multiplier.
const = 1
# Local operations multiplier.
local = 1
# Global operations multiplier.
global = 1
# Control flow operations multiplier.
control_flow = 1
# Integer operations multiplier.
integer_comparsion = 1
# Conversion operations multiplier.
conversion = 1
# Unreachable operation multiplier.
unreachable = 1
# Nop operation multiplier.
nop = 1
# Get current memory operation multiplier.
current_memory = 23
# Grow memory cost, per page (64kb)
grow_memory = 240_000_000
# Regular opcode cost
regular = 210_000

[wasm_config.storage_costs]
# Gas charged per byte stored in the global state.
gas_per_byte = 630_000_000

# Host function declarations are located in smart_contracts/contract/src/ext_ffi.rs
[wasm_config.host_function_costs]
add = { cost = 5_800_000 }
# ...
print = { cost = 20_000_000, arguments = [4_600] }

lgtm assuming you fixup the failing tests


Destructured Function Parameters and String Literal Types don't mix

TypeScript Version:
Typescript 1.8.10 + VS Code 1.0.0
Code
interface xhrOptions {
  // this works:
  // method?: string;

  // this does not work:
  method?: "GET" | "POST";
}

function xhr(url: string, { method = "GET" }: xhrOptions = {}): Promise<any> {
  return new Promise((resolve, reject) => {
    // ...
  });
}

Expected behavior:
Either form of the "method" type should be valid.
Actual behavior:
The string form works as expected, but the string literal form is rejected.

Looks like it's fixed in master -- I can repro it on 1.8.10 but not on master. @KeepItOneHundred, can you try compiling with typescript@next?


Overlay shaders aren't always cleaned up

Anything that uses UseShader should set it to null afterwards ideally.

There's also a similar problem with the matrix transforms. I guess if the convention is to null shaders at the end of an overlay, the transforms should also be set to the identity at the end?


DROOLS-355 Import xjc in drools-core too to make OSGi happy

Congratulations on filing PR #1,000 :-)

jenkins retest this


adapt some examples to new API

there are still calls to Git.Reference.of_raw "refs/heads/upstream" (in deploy.ml and process.ml) which I can't find in the new API, but I was mainly interested in getting irmin_git_store to work

Hum, by looking at this code, it seems to me that the new API is not ideal yet :-) It seems that the previous API was simpler. I'll think a bit about that and will make a new PR.

@samoht What were you planning for this? I am happy to do some work to improve the API because I keep running into this issue. It seems like the easiest option would be to pass Irmin_unix.Git.G by default, but maybe there is a better way?

@zshipko if you have time to look at this that would be great yes. Passing Irmin_unix.Git.G by default seems indeed like a good idea and will allow to have something very similar to the previous API. As long as we have an easy way to git clone a store in memory and on disk and I am fine :-)

Superseded by #526


Update evfevent file parser to use @ibm/ibmi-eventf-parser

Changes
This PR removes the existing old/new event file parser and replaces it with the new @ibm/ibmi-eventf-parser maintained here. I have kept all existing tests and modified some of the mock input lines to have the trailing spaces removed as it will affect the parser.
Please let me know if there are additional event files that could be used for testing.
Fixes #405
Checklist

[x] have tested my change
[ ] updated relevant documentation
[x] Remove any/all console.logs I added
[x] eslint is not complaining
[ ] have added myself to the contributors' list in CONTRIBUTING.md
[x] for feature PRs: PR only includes one feature enhancement.

I have merged the conflict and retested. I am prepared to merge this.
Thanks for your work here @SanjulaGanepola!


Error in Fused Ring Systems

Thanks for the amazing work. I found out that in certain cases the encoding and decoding of SMILES strings is not consistent. For example, for the canonical string:
'CC1CCC2(C)C(CCC3C2CCC2(C)C(C(=O)CO)CCC32)C1'
In the canonical form, this string only has 3 integers, despite having 4 ring systems. The generated fragment has again 4 digits. Thus, the assignment of the attachment integer fails. Once you decode the safe string, you end up with a different molecule that now has a 7 & 4 membered ring and not as in the original a 6 and 5 membered ring.
Here is a small code snippet to reproduce the issue:
import safe
import datamol as dm
test_string = 'CC1CCC2(C)C(CCC3C2CCC2(C)C(C(=O)CO)CCC32)C1'

output_string = safe.decode(safe.encode(test_string))

print(output_string == test_string)
dm.viz.to_image([dm.to_mol(test_string), dm.to_mol(output_string)])

Original Molecule:

Decoded Molecule:

Hello @cbartmann,
Good catch. This is indeed a bug, I have pushed a fix here: https://github.com/datamol-io/safe/pull/38
Could you check if that solves the issue ? Then I will merge and release a new version.
Thank you.

@maclandrol Yes that solves the issue. Thanks for the quick response.


Correct Inception Reference for Pertained Model

Description
Update Model Zoo Documentation
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Remove 'v3' from reference documentation
[x] Update research bias link

Comments
I noticed that the symbols and parameters in the model zoo are in fact from https://github.com/apache/incubator-mxnet/blob/master/example/image-classification/symbols/inception-bn.py, which is not inception v3. It is inception + batch normalization.
In this commit, I update the documentation and link to the correct research basis.

@mxnet-label-bot add [pr-awaiting-review]
Thanks for your contribution @lou-k

@aaronmarkham for review
@lou-k could you check the failing CI?

@vandanavk it looks like the CI check was canceled:
ERROR: Queue task was cancelled
Finished: FAILURE

I rebased and push to trigger a new build.

@vandanavk CI passed. thanks for your eyes on this!

@mxnet-label-bot update [pr-awaiting-merge]


Unable to update the package to 4.0.1

I am getting the following error when trying to updating v3.0.1 to v4.0.1:
Could not install package 'Nito.AsyncEx 4.0.1'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile78', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Profile78 is .NET Framework 4.5, Windows 8.0, and Windows Phone Silverlight 8.0.
v4 dropped support for Windows 8.0. There isn't anything I can do about this - it's simply not possible to build AsyncEx for Windows 8.0 anymore; the tools no longer support it. Windows 8.1 is supported.
Unfortunately, since the PCL profiles are incomplete, you'll need to split up your single PCL into multiple PCLs in order to maximize platform coverage:

Profile31 for Windows 8.1 and Windows Phone Silverlight 8.1,
Profile44 for .NET Framework 4.5.1 and Windows 8.1, and
Profile49 for .NET Framework 4.5 and Windows Phone Silverlight 8.0.

You can use linked files to avoid duplication, and include the binaries from each build in the appropriate folders in your nuget file.
This kind of "PCL fracturing" is one of the driving forces behind netstandard, which will very shortly take over the world. AsyncEx v5 will support netstandard (and only netstandard).

Thanks a lot for the prompt thorough elucidation.  I actually need Profile31.  Unfortunately, Profile31 and a few other profiles require updates by VS2015.  VS 2015 leads to the following page for the update:
https://www.msn.com/?ocid=NEFLS000
I cannot find any relevant package on that page.  Do you happen to know where to download the required updates?

VS2015 shouldn't need any updates to work with any PCL; all PCLs are installed with the base VS2015 installation. What is it that says you need an update?

Here is the prompt:

How weird. If you don't have Update 3, I'd try installing that. Otherwise, you're probably going to have to uninstall/reinstall VS itself.

I installed VS with update 3 yesterday.
The following is the info of my instance of VS:
Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Community
Microsoft Visual Studio Tools for Applications 2015   00322-20000-00000-AA248
Microsoft Visual Studio Tools for Applications 2015
Visual Basic 2015   00322-20000-00000-AA248
Microsoft Visual Basic 2015
Visual C# 2015   00322-20000-00000-AA248
Microsoft Visual C# 2015
Visual C++ 2015   00322-20000-00000-AA248
Microsoft Visual C++ 2015
Visual F# 2015   00322-20000-00000-AA248
Microsoft Visual F# 2015
Windows Phone SDK 8.0 - ENU   00322-20000-00000-AA248
Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package   7.17.00119.9
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1   14.1.21111.0
ASP.NET and Web Tools 2015.1
ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.9.6   14.0.21111.0
Azure App Service Tools v2.9.6
Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio   2.2.2100.0
Microsoft Azure Data Lake Tools for Visual Studio
Clang with Microsoft CodeGen   14.0.25516
Clang with Microsoft CodeGen
Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
GitHub.VisualStudio   <IP_ADDRESS>
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info
Microsoft .NET Core Tools (Preview 2)   14.1.21111.0
Microsoft .NET Core Tools (Preview 2)
Microsoft Azure HDInsight Tools for Visual Studio   2.0.2600.0
An integrated development environment for HDInsight application development.
Microsoft Azure Hive Query Language Service   2.2.2100.0
Language service for Hive query
Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.41104.6
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
NuGet Package Manager   3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
Python Tools for Visual Studio   2.2.50113.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
Python Tools for Visual Studio - Django Integration   2.2.50113.00
Provides templates and integration for the Django web framework.
Python Tools for Visual Studio - Profiling Support   2.2.50113.00
Profiling support for Python projects.
SQL Server Analysis Services   13.0.1701.8
Microsoft SQL Server Analysis Services Designer
Version 13.0.1701.8
SQL Server Data Tools   14.0.61021.0
Microsoft SQL Server Data Tools
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 13.0.1601.5
SQL Server Reporting Services   13.0.1701.8
Microsoft SQL Server Reporting Services Designers
Version 13.0.1701.8
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript   <IP_ADDRESS>
TypeScript tools for Visual Studio
Visual C++ for Cross Platform Mobile Development (Android)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)
Visual C++ for Cross Platform Mobile Development (iOS)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (iOS)
Visual Studio Spell Check Everywhere   VSSpellCheckEverywhere
An extension that enables spell checking within any Visual Studio file editor or tool window that uses WPF text boxes.
https://GitHub.com/EWSoftware/VSSpellChecker
Visual Studio Spell Checker   VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type or interactively with tool windows.
https://GitHub.com/EWSoftware/VSSpellChecker
Visual Studio Tools for Apache Cordova   Update 10
Visual Studio Tools for Apache Cordova
Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

I don't know, then. I recommend contacting MS or posting a question on MS's forums or Stack Overflow.

I will.  Thanks again.

I have just found out that profile31 is acceptable to VS 2015, but one cannot edit the project file to change the profile to profile31 (that is what I was doing).  It needs to be changed by the "Change Targets" dialog:

Apparently  that process does much more than simply changing the profile name.


Add test to cover collect_failed_rows for validation errors

Problem
Closes #1752
Increase test coverage
Solution
Added a test to cover missing line.


How do i use a variable from the documentation like PlyCount

i am trying to use the variable PlyCount from the documentation but I cant figure out how to implement it into the code without giving an error like "PlyCount does not exist in the current context". sorry if this is a silly issue and has a really obvious fix but my C# knowledge outside of unity is very limited. any help would be appreciated.

Can you show me what you're trying to do?

its under Board (class) so board.PlyCount

You should be able to use var plyCount = board.plyCount;. Are you getting errors from this?

Have you maybe written Board.PlyCount (uppercase B) instead of board.PlyCount? It's an instance variable not static.

#50


[FLINK-16480] Improve error reporting on AZP

What is the purpose of the change
While debugging unstable e2e tests and crashing JVMs remotely, I came up with a bunch of improvements to our testing scripts, which I would like to add to the main repo.
Brief change log
The following changes are contained here:

[FLINK-16480][e2e] Always checks logs when test has failed: The e2e tests now check the logs for exceptions / errors etc when a test has failed (before, logs where not checked in error cases for some tests)
[FLINK-16480][AZP] fix log upload condition the log upload failed for e2e tests, when a bash e2e test failed.
[FLINK-16480] Collect debug files when JVM crashes (for IT cases): we now collect coredumps, jvm stacktraces, and other debugging files
[FLINK-16480][e2e] Collect java crashreports for e2e tests as well: same for e2e tests. This includes a refactoring of the log collection tools into a separate file.

Verifying this change
This run properly collects coredumps etc of a test that used to fail on master a few days ago: https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6137&view=results
Does this pull request potentially affect one of the following parts:
affects only tests

There might be some interference with the common_utils.sh / on_exit trap handling that I am currently looking into

I validated and there is no interference.

I'm closing this PR, re-opening parts of this PR as separate PRs.


RFC: Provide latest versions of some Haskell executables at the top level

Since we are quite often stuck on Stackage LTS (for better or worse), we tend to get stuck with certain major versions of packages that serve as both executables and libraries. We need to follow Stackage LTS to avoid breaking builds in haskellPackages, but normal users may want the latest and greatest versions of certain executables – here the API stability criteria of Stackage don't really apply. Anecdotically, users ask about latest versions of

pandoc
xmonad
hledger
more?

The question is now: Should we provide the latest version of these packages at their top level attributes? This should be possible via the versioned attributes hackage2nix generates, but may require extra overrides in many cases to account for breaking changes and discrepancies with the main package set.
My personal opinion is that this is a good idea, but we need to figure out, how this would work in terms of organization. I don't want to burden us (@NixOS/haskell) with even more, maybe nontrivial work, since the current amount of work is already more than enough (especially if other responsibilities get in the way). Ideally we'd have maintainers step up for the respective packages, but they would need to be

knowledgeable about Haskell in order to deal with build failures
knowledgeable about the (still underdocumented) Haskell infrastructure in nixpkgs to fix said failures
somewhat available, as build failures may crop up as we update the Haskell packages set which is on a schedule of every 1-2 weeks roughly.

Thanks for creating this issue!  I agree with basically everything you've written.
This would be really nice for xmonad, since we get asked how to use the latest version all the time.
I also agree that it would be ideal for there to be a specific maintainer for any of the packages we decide to do this with, since as you say the build failures for the latest versions of packages can get a little annoying.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/call-for-maintainers-xmonad/23499/1

I guess we are unwittingly trying this for pandoc now: https://github.com/NixOS/nixpkgs/pull/240387/commits/e003a7adc1f5caeee6c197098b23ce870d81437e


prettier applied

applies prettier, sadly had to fix up some stuff here

[x] pre-commit to run from the root. moved eslintrc and eslintignore here
Notable files changed:
pre-commit.yaml: https://github.com/keybase/client/pull/6980/files#diff-82c3b36709926de3a1b27bea0d8258cc
package.json: https://github.com/keybase/client/pull/6980/files#diff-83b50b9fdf029c1cf3c705fd882da098

@keybase/react-hackers

jenkins is fucked, making a new pr


wine64Packages.{stable,unstable,staging}: use the 14.4 SDK

Wine supports a form of futexes on Darwin when built with the 14.4 SDK and running on 14.4 or later. It will fall back automatically to other primitives when running on older systems.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Bisect says 0421ee2dd8b823e940659b4ad51fce968d036b20 wine64Packages.{stable,unstable,staging}: use the 14.4 SDK broke the wine instantiation on x86_64-linux in staging:
$ nix-instantiate -A wine
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'wine-9.0'
         whose name attribute is located at /tmp/z/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'NIX_LDFLAGS' of derivation 'wine-9.0'
         at /tmp/z/nixpkgs/pkgs/applications/emulators/wine/base.nix:121:3:
          120|   # LD_LIBRARY_PATH.
          121|   NIX_LDFLAGS = toString (map (path: "-rpath " + path) (
             |   ^
          122|       map (x: "${lib.getLib x}/lib") ([ stdenv.cc.cc ]

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Package ‘apple-sdk-14.4’ in /tmp/z/nixpkgs/pkgs/by-name/ap/apple-sdk/package.nix:111 is not available on the requested hostPlatform:
         hostPlatform.config = "i686-unknown-linux-gnu"
         package.meta.platforms = [
           "x86_64-darwin"
           "i686-darwin"
           "aarch64-darwin"
           "armv7a-darwin"
         ]
         package.meta.badPlatforms = [
           {
             cpu = {
               bits = 32;
             };
           }
         ]
       , refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.

Proposed possible wine eval fix for linux as:

https://github.com/NixOS/nixpkgs/pull/347843


[bug][core] fix the issue of Object not found when mocking statement

Purpose of the pull request

Fix the issue of Object not found when mocking statement
Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
Before:

After:

related issue: https://github.com/DataLinkDC/dinky/issues/3911


Excel Files generated with Excelize cannot be read anymore

Description

I've been using Excelize with Golang without problem for 2 years.
Recently, although I did not change anything, the excel files generated by my golang module could not be read with Excel for Mac.
The strange item: I did not change anything in my module, which worked perfectly before. It seems that some XML items are not supported any more.
It must be related to the new release of Excel 16.76 on August 15th:
https://learn.microsoft.com/en-us/officeupdates/release-notes-office-for-mac
Steps to reproduce the issue:

Run Go Module
Open Excel File
Get Error message

Describe the results you received:
Here is the message provided when I try to open the file with Excel:
Repair Result to Excel Test0.xml
Errors were detected in file ’pathtofile’
Repaired Part: /xl/worksheets/sheet2.xml part with XML error.  HRESULT 0x8000ffff
Microsoft Words for Mac
Version: 16.76 (23081101)
Message:
We found a problem with some content in ’Excel Test.xlsx’. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.
Excel was able to open the file by repairing or removing the unreadable content.
Describe the results you expected:
Output of go version:
(paste your output here)

Excelize version or commit ID:
v2.7.1
(paste here)

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Go module running with Ubuntu Linux
Excel for Mac 16.76 running with MacOS Ventura 13.4.1

I got the same problem, when I locally build the binary it all works fine, this is with version 1.20.6 (darwin/arm64).
When it is build by the gitlab runner, which uses the golang:latest which is currently at 1.21.0 the saving of excel files fails.  Both produce executable binaries.

Did some additional testing;

Upgrade Excelize from v2.7.1 to v2.8.0 made no difference.
Tried using the golang:1.20.6 container for the gitlab-runner (same version as on mine local system) - without succes.
Tried using the golang:1.20.7 container for the gitlab-runner  with succes (thanks @jintaokoong )

@RobM83 && jintaokong: Thanks a lot for the feedbacks.
If I understand it correctly, we have to compile on Golang 1.20.7 and it will work ?
If it does not work with Golang 1.21.0, is this a regression ?

@RobM83 && jintaokong: Thanks a lot for the feedbacks. If I understand it correctly, we have to compile on Golang 1.20.7 and it will work ? If it does not work with Golang 1.21.0, is this a regression ?

Yes, it will probably work with 1.20.7 (at least it did for me :-) ).
No idea if this is a regression.

If it does not work with Go 1.21.0, please reference the issues #1465, #1595, #1603, #1608, #1614, #1619, #1620, and #1621. There are some incompatible changes in the Go 1.21.0 encoding/xml library. I have given feedback to the Go team and created a patch for it (golang/go#61881), and the Go team has added golang/go#62051 to the Go 1.21.1 milestone. I suggest using the Go 1.20.7 and previous Go released version or waiting for the next Go minor releases.

I have added notice on the README and documentation website for this, and I've closed this. If you have any questions, please let me know, and reopen this anytime.

I did downgrade to 1.20.7 and it did work for me.
Thank you so much to everyone for your help and support.


Create a view with a similar report to Sparky

For:

https://github.com/hypothesis/report/issues/95

This is an attempt to replace Sparky with a job from Report.
If we can get this to work correctly, I think we can probably turn Sparky off, which might save us some money, and will definitely save us some headaches.
I think this is probably going to be much easier to adapt if people want changes (like showing various extra bits and bobs).
Before merging
We need to work out if we can disable the
Testing notes
You can't really get a run of this working locally for a few reasons:

The local organization ids aren't in the Hubspot QA
Therefore we end up with no data
Even if you create data it won't line up so no rows are produced

To see the script running but not doing anything:

Run the create from scratch in H, LMS and Report
You should see a warning about no rows being inserted in Hubspot

You can patch together a better test by:

Copying the SQL from inside the view: https://github.com/hypothesis/report/blob/4ac220962053492a72d8aa6ef8215be5b23b5d91/report/sql_tasks/tasks/report/create_from_scratch/99_hubspot_write/01_company_property_update/01_create_view.sql#L5
Paste that into: https://report.hypothes.is/question/new
Download the result as a CSV file and put it in the same directory called data.csv
Comment out the return in the no rows check
Replace csv_files=["report/sql_tasks/tasks/report/create_from_scratch/99_hubspot_write/01_company_property_update/data.csv"]
Run: tox -e dev --run-command "python bin/run_sql_task.py --task report/create_from_scratch/99_hubspot_write"
Visit: https://app.hubspot.com/import/21081992
You should see a new entry
You should expect a large number of errors as the ids don't match between live and QA
You should see some successes though
You can go to: https://app.hubspot.com/contacts/21081992/company/<company_id> and see the same numbers as from the spreadsheet (if it was a non error row)

Nice work Jon.
When we are ready, and there is no rush... Can we run it against the temp-business-intel RDS to get an idea of the impact it will have in production?

The impact is basically zero, there's no big number crunching going on here. You can try this out for yourself by snipping out the SQL query inside the view and running it in the new Metabase. It comes back in less than a second.
It'll take a few to upload to Hubspot, but the impact there will be the same as the impact of the current Sparky system. Which is it'll take a few seconds, but nothing intensive is happening.

I've split the portion that actually uses the view into a separate PR here: https://github.com/hypothesis/report/pull/106


New version: foxglove.studio version 1.52.0

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


How to set the sonnet as architect and deepseek as edit at the same time?

Issue
aider --sonnet --architect

Does the upper init command use the sonnet as the editing llm by default? If we'd like to use deepseek as the editing llm, how to set it?
Thanks,
Version and model info
No response

Does the upper init command use the sonnet as the editing llm by default?

Yes.

If we'd like to use deepseek as the editing llm, how to set it?

With a proper LiteLLM name for the editor model, e.g.
aider --sonnet --architect --editor-model deepseek/deepseek-chat

(note that deepseek-chat and deepseek-coder point to the same model now)

@fry69 Thanks for your reply. I think everyone would love to know after reading the blog.

Sorry, I forgot to add the link from aider's website. This is of course documented here ->
https://aider.chat/docs/usage/modes.html#architect-mode-and-the-editor-model

I'm labeling this issue as stale because it has been open for 2 weeks with no activity. If there are no additional comments, it will be closed in 7 days.

I'm closing this issue because it has been stalled for 3 weeks with no activity. Feel free to add a comment here and we can re-open it. Or feel free to file a new issue at any time.


Page meta is not reset on error page

Environment

Operating System: Darwin
Node Version:     v18.14.0
Nuxt Version:     3.2.0
Nitro Version:    2.2.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, app
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-sdk9yf?file=pages/index.vue
Describe the bug
I'm defining page meta (title) on normal pages located in the pages directory. They use the default layout from the layouts directory. In the layout, there is a div that displays a title which is set using definePageMeta. The same layout is also used for error.vue, but here is the problem. Page meta is taken from the last page that was visited.
Open app (/) -> Go to about page (/about) -> Go to the page that doesn't exist = title is taken from the about page
Open app (/) -> Go to about page (/contact) -> Go to the page that doesn't exist = title is taken from the contact page
There is no problem with page meta (even if it is not set) while navigating between normal pages.
Additional context
No response
Logs
No response

Hey,
I think @harlan-zw could share some light here 😉

Hey,
I think @harlan-zw could share some light here wink

Thanks, but I don't think this is really under my expertise, seems like a vue-router / nuxt core issue. The issue simply seems to be that the route isn't cleared when visiting a 404 page.

error.vue is not a route like the other routes in pages/, but rather a way to render an error. It sits outside the normal routing structure. You'll notice when an error is rendered the route doesn't change - as far as your app is concerned you're still on the previous route.
I don't think this is a bug, but it's possible the documentation could be improved. PR welcome.

So this won't be fixed or improved? How do I ensure the meta comes back after an error?

@ItzExotical What do you mean by 'ensure the meta comes back after an error'?

@ItzExotical What do you mean by 'ensure the meta comes back after an error'?

I mean, how to (if it is possible) make the original page title come back if the visitor manages to encounter an error. For example, on error 404, the page title will become 404 - Page not found, however, if the user presses on the Go back button, the title is still the same (the error), it does not change to the page's actual title or the global title set in app.vue. Writing this on phone, so let me know if you need further clarification.


Use more specific imports to allow deep imports to only pull in a sub…

…set of TypeScript files
This increases build performance dramatically.
For a sample project which created a S3 Bucket and a Lambda here
##Before
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

export const blogsTable = new aws.dynamodb.Table('some-table', {
    attributes: [
        {
            name: 'PK',
            type: 'S',
        },
        {
            name: 'SK',
            type: 'S',
        },
    ],
    billingMode: 'PAY_PER_REQUEST',
    hashKey: 'PK',
    rangeKey: 'SK',
    readCapacity: 5,
    writeCapacity: 5,
})

// Create an AWS resource (S3 Bucket)
const bucket = new aws.s3.Bucket("my-bucket");

// Export the name of the bucket
export const bucketName = bucket.id;

new aws.lambda.CallbackFunction('callback', {
    callback: async () => {
    },
})

Stats
pulumi-module-example node_modules/.bin/tsc --extendedDiagnostics
Files:                       1466
Lines:                     616374
Nodes:                    1713503
Identifiers:               616003
Symbols:                   388012
Types:                     146551
Memory used:              675092K
Assignability cache size:   45298
Identity cache size:            3
Subtype cache size:             0
I/O Read time:              0.79s
Parse time:                 2.84s
Program time:               4.50s
Bind time:                  0.91s
Check time:                 3.16s
transformTime time:         0.01s
Source Map time:            0.00s
commentTime time:           0.00s
I/O Write time:             0.00s
printTime time:             0.01s
Emit time:                  0.01s
Total time:                 8.59

After
import * as pulumi from "@pulumi/pulumi";
import * as s3 from "@pulumi/aws/s3";
import * as lambda from '@pulumi/aws/lambda'
import * as dynamodb from '@pulumi/aws/dynamodb'

export const blogsTable = new dynamodb.Table('some-table', {
    attributes: [
        {
            name: 'PK',
            type: 'S',
        },
        {
            name: 'SK',
            type: 'S',
        },
    ],
    billingMode: 'PAY_PER_REQUEST',
    hashKey: 'PK',
    rangeKey: 'SK',
    readCapacity: 5,
    writeCapacity: 5,
})

// Create an AWS resource (S3 Bucket)
const bucket = new s3.Bucket("my-bucket");

// Export the name of the bucket
export const bucketName = bucket.id;

new lambda.CallbackFunction('callback', {
    callback: async () => {
    },
})

Stats
pulumi-module-example node_modules/.bin/tsc --extendedDiagnostics
Files:                        210
Lines:                      87083
Nodes:                     275249
Identifiers:                96759
Symbols:                    76109
Types:                      25847
Memory used:              139730K
Assignability cache size:   38203
Identity cache size:            3
Subtype cache size:             0
I/O Read time:              0.02s
Parse time:                 0.47s
Program time:               0.64s
Bind time:                  0.26s
Check time:                 1.23s
transformTime time:         0.01s
Source Map time:            0.00s
commentTime time:           0.00s
I/O Write time:             0.00s
printTime time:             0.01s
Emit time:                  0.01s
Total time:                 2.15s

The AWS-SDK has similar issues, but is a bit harder to unpick

Thanks so much @JakeGinnivan! This is awesome :)

@JakeGinnivan it looks like our codegen is having a wee bit of difficulty here - I will look at sorting that out today

@stack72 another issue i spotted is the package.json version is v2.10.0, I was going to use https://github.com/ds300/patch-package to fix this locally in my projects but it doesn't work on @pulumi/aws because of the v in version. It should just be 2.10.0

@stack72 another issue i spotted is the package.json version is v2.10.0, I was going to use https://github.com/ds300/patch-package to fix this locally in my projects but it doesn't work on @pulumi/aws because of the v in version. It should just be 2.10.0

mmmhhhh I have a feeling we have some scripts that strip that V before we publish it :/

@stack72 dang, this approach is broken. https://github.com/pulumi/pulumi-aws/issues/772
Not going to be able to use this for now, unless #772 is also fixed

@stack72 who could sort out #772, would make a decent difference to anyone using TypeScript project references during build

Closing stale PR


Issues when running in Starfinder

Thanks for updating the system reference. After doing some testing I've found a few other things that need attention.

Starfinder uses a couple more types so in the switch statement in sfrpg.js  you should probably add cases for npc2 and drone. Not entirely sure where I would put drones for the fraction or descriptions but I settled on matching with the starship personally for now.

Also in sfrpg.js the system does not like the default t(" references for thresholdNames and vehicleNames and will crash unless I change it to a string.

in utils.js the if statement doesn't differentiate between vehicles and starships or use the vehicle thresholds if the option is checked.
Something like this on line 44?
if ([vehicleType, starshipType, droneType].includes(type)) {
descriptions = game.settings.get("healthEstimate", type === vehicleType && game.settings.get("healthEstimate", "starfinder.useThreshold") ? "starfinder.thresholdNames" : "starfinder.vehicleNames").split(/[,;]\s*/);

1

I've added them. Drone uses the same math as PC/NPC, but uses the Vehicles' descriptions.

2

I've missed an import there, it's a shortcut for game.i18n.localize

3

Threshold Names setting has been deprecated for some time now. It is only left there in case someone that used them needed to get the setting's value back.
The Use Threshold setting now only affects the Vehicle's fraction, you can see in the the fraction function. Its description could use a update to better describe it, but I'm not sure how. Also, I'm not sure if it should affect Starships and Drones since I don't play the system.

Awesome that seems appropriate.
Fantastic, not sure why I didn't think of looking for that
Aha, that makes sense. Drones and Starships are not affected by threshold. Using the same list for vehicles does make it a bit clunky though. Especially since you have to make sure you don't move broken from it's relative position in the description list and it feels weird to me (though not necessarily incorrect) that it reports as Pristine until half hp. Not sure the best path forward on that one, I think I will get some other opinions.

Thanks so much for the dialog and I will just re-open this one if I need to report anything further.

This should fix all those issues, update and check it out.

Missing an import for f in sfrpg.js

🤦♂ should be fixed now.

Lol, that did it.
Hope you don't mind me continuing to offer suggestions here.
Little change I will be putting in my local copy. Updating the isCombatRunning function to check for combats that are started in the scene being viewed or unlinked started combats.
isCombatRunning() {
	return [...game.combats].some((combat) => combat.started && (combat._source.scene == canvas.scene._id || combat._source.scene == null));
}

I don't mind it, but I'll close this issue soon, so if you get more suggestions, consider opening an Issue, PR or a Discussion.

Thanks a ton!


LinearEqualityToPenalty converter: accept list of penalty terms as input

Requested Feature
LinearEqualityToPenalty converter only accepts a single scalar input as penalty factor. Better results can be usually obtained by applying higher penalty factors to broken constraints. This requires LinearEqualityToPenalty to accept a list of penalty terms as input, including separate penalty factor for each constraint. If user provides none or a single value for penalty, the already existing process can be followed.
Why?
Once a solution is obtained, it is easy to evaluate the constraints and find the broken ones. Then the penalty terms for those broken constraints can be increased and the problem can be solved again. In the future, Qiskit may implement checking for broken constraints, but for time being this can be done by the user. Anyhow, having a list of penalties as input is mandatory for any iterative tuning.

Can I work on this?

Just to clarify, when the user provides a single value for penalty, should they use float or a a list with one float or it doesn't matter?

Sure. If you can help us, that would be great. It doesn't matter that much, but just a single float seems more reasonable.

I agree that single float is better. It will be then backward compatible. I added the following code to convert function (not committed) to create the list when it does not exist. You may use a similar approach or something better.
    # Create penalties list if a single penalty value is given
    num_constraint = len(self._src.linear_constraints)
    if not hasattr(penalty, "__len__"):
        penalty = [penalty] * num_constraint
    elif len(penalty) == 1:
        penalty = [penalty[0]] * num_constraint
    # check the length of penalties list
    if len(penalty) != num_constraint:
        raise QiskitOptimizationError('Penlaty vector length does not match the number of constraints.')

Hey @a-matsuo @HassanNaseri could you guys take a look at #1322? Thanks!


Increase button touch size to 48x48 (EXPOSUREAPP-3674)

Affects the statistics info button and the buttons on the contact diary bottom sheets

Ripple effect is not visible on my device Pixel 4a (Android 11)

Ripple effect is not visible on my device Pixel 4a (Android 11)

Ripple effect is not visible on my device Pixel 4a (Android 11)

I also can't see the ripple effect, but is this required? And is it even necessary? With my fingers I fill 48x48dp and wouldn't notice it if I wouldn't know...

Ripple effect is not visible on my device Pixel 4a (Android 11)

I also can't see the ripple effect, but is this required? And is it even necessary? With my fingers I fill 48x48dp and wouldn't notice it if I wouldn't know...

https://user-images.githubusercontent.com/49635654/105034758-36548f80-5a5a-11eb-8ad0-eb2961f5256b.mp4
Ripple effect

https://user-images.githubusercontent.com/49635654/105034758-36548f80-5a5a-11eb-8ad0-eb2961f5256b.mp4
Ripple effect


Fix null check in hipMemsetAsync API

hipMemsetAsync() gives hipSuccess and also Aborted(core dumped) when the first parameter is passed as NULL or 0. Ran all the tests in memory module under directed tests in my local machine and found no issues.
As suggested earlier, I made changes in ihipMemset().

@luckynikki this is fixed in #404 , is that not enough or working?

Since the fix has already been merged via #404, closing this PR.


Fix GitHub Pages build error

Addresses GitHub Pages portion of #3. (Travis portion of issue was addressed in #4 .)
Gem-based themes were introduced in Jekyll v3.2 . Prior to that version, /_includes, /_layout and /_sass directories were placed in the root of the Jekyll site.
This PR relocates these directories from the theme directory into the root to resolve the build error if it is a Jekyll version-compatibility issue.

Merging to test building against master.

Follow-up:
GitHub Pages build on master (Travis build #27]) passes - the site is now live.


Wrong license link in README.md

Hi,
just a small issue I just found by chance when looking throughout your projects. In the final section of README.md, the license is referenced using the link "https://github.com/jeroendesloovere/wunderlist-php-api/blob/master/LICENSE.md". However, the file only is called LICENSE, hence the correct link should be "https://github.com/jeroendesloovere/wunderlist-php-api/blob/master/LICENSE".
Best Regards
Daniel

@waza-ari Thanks for letting know. I just fixed it.


How can I get the code coverage of my project when doing ui automation tests on phantomjs

Is there any tool to get the code coverage when running ui tests on phantom

Thank you for submitting this ticket!
This issue tracker primarily serves as the tool to report and track bugs, defects, and development tasks.
For general question, code review request, build problem, or other related discussion, please post it to either:

the official PhantomJS users mailing-list
Stack Overflow (with phantomjs tag)

If you have not read it yet, please check also a few tips on Effective Q&A.


Replace tkinter for GUI?

I decided to use a Qt-based framework to replace tkinter. b31e960...0634919 replace tkinter with PySide.


PostgreSQL's JSONB_BUILD_OBJECT function does not seem to work

Version
1.10.0
What happened?
I was trying to generate from the following SQL query which uses the function JSONB_BUILD_OBJECT to form JSONB from columns. It was working when I run it in PSQL. but when I do sqlc generate it throws the following error. I'm guessing is it because SQLC is unable to detect the type for nested JSONB fields?
Relevant log output
# package db
db/query/listings.sql:13:4: function jsonb_build_object(unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown) does not exist

Database schema
CREATE TABLE public.listings (
    listing_id uuid NOT NULL,
    brand_id uuid NOT NULL,
    category_id uuid NOT NULL,
    active boolean NOT NULL,
    title text NOT NULL,
    image text NOT NULL,
    description text NOT NULL,
    rating double precision NOT NULL,
    created_at timestamp without time zone DEFAULT now() NOT NULL,
    updated_at timestamp without time zone DEFAULT now() NOT NULL
);

CREATE TABLE public.categories (
    category_id uuid NOT NULL,
    name character varying(100) NOT NULL
);

CREATE TABLE public.tags (
    tag_id uuid NOT NULL,
    name character varying(20) NOT NULL,
    description text NOT NULL,
    created_at timestamp without time zone DEFAULT now() NOT NULL,
    updated_at timestamp without time zone DEFAULT now() NOT NULL
);

CREATE TABLE public.tags_listings (
    tag_id uuid NOT NULL,
    listing_id uuid NOT NULL
);

SQL queries
-- name: GetListingByListingId :one
SELECT
    L.listing_id,
    L.active AS "listing_active",
    L.title AS "listing_title",
    L.image AS "listing_image",
    L.description AS "listing_description",
    L.rating AS "listing_rating",
    L.created_at AS "listing_created_at",
    L.updated_at As "listing_updated_at",
	(
		SELECT
			JSONB_BUILD_OBJECT(
                'brand_id', B.brand_id,
                'rating', B.rating,
                'name', B.name,
                'address', B.address,
                'profile_image', B.profile_image,
                'cover_image', B.cover_image,
                'created_at', B.created_at,
                'updated_at', B.updated_at,
                'email', B.email,
                'phone', B.phone,
                'website', B.website
            )
		FROM
			public.brands B,
			public.listings L
		WHERE L.listing_id = $1 AND
			B.brand_id = L.brand_id
	) AS "brand",
	(
		SELECT
			JSONB_BUILD_OBJECT(
                'category_id', C.category_id,
                'name', C.name
            )
		FROM
			public.categories C,
			public.listings L
		WHERE
			L.listing_id = $1 AND
			C.category_id = L.category_id
	) AS "category",
	(
		SELECT
			JSONB_AGG(
                JSONB_BUILD_OBJECT(
                    'tag_id', T.tag_id,
                    'name', T.name,
                    'description', T.description,
                    'created_at', T.created_at,
                    'updated_at', T.updated_at
                )
            )
		FROM
			public.tags T,
			public.tags_listings TL,
			public.listings L
		WHERE
			L.listing_id = $1 AND
			T.tag_id = TL.tag_id AND
			TL.listing_id = L.listing_id
	) AS "tags"
FROM
    public.listings L
WHERE
    L.listing_id = $1
LIMIT 1;

Configuration
version: '1'
packages:
  - name: 'db'
    path: 'db'
    queries: './db/query/'
    schema: './db/schema.sql'
    engine: 'postgresql'
    sql_package: 'pgx/v4'
    emit_json_tags: true
    emit_prepared_queries: true
    emit_interface: false
    emit_exact_table_names: false
    emit_empty_slices: false
    json_tags_case_style: 'snake'

Playground URL
https://play.sqlc.dev/p/dfba09f5f00a1a12625473f33782157047d713b8a3acd64695ee32c3bcd69ea7
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

I'm guessing is it because SQLC is unable to detect the type for nested JSONB fields?

Looks like the function signature for jsonb_build_object was incorrect. jsonb_build_array also had the same problem. Both have now been fixed.

Yup, just tested on the latest commit, it works perfectly fine now. Thanks for the fix ;)


Remove attribution from footer

(#39)

What this PR does / why we need it:
Attribution still displays even with false assigned to it. Fix for this is to completely remove it from config.toml

Special notes for your reviewer:
Release note:

That also works, but not completely the idea.
We want the attribution to be available, but want another check added.
The result should be, that the user can either remove the attribution config or set it to "false". Both should not display the attribution.
If it's set to "true" it should show the attribution.

Looks good. Great.


Kitchen docker gem - with SuSe support

When will these changes be included in the Ruby gems kitchen-docker.
https://github.com/test-kitchen/test-kitchen/issues/1239

any updates ?

It appears SuSE support was added with version 2.7.0.  Please open a new issue if a problem still exists. Thanks.