hikari: 2.3.1 -> 2.3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hikari/versions.
meta.description for hikari is: "Stacking Wayland compositor which is actively developed on FreeBSD but also supports Linux"
meta.homepage for hikari is: "https://hikari.acmelabs.space"
meta.changelog for hikari is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/dbvllhpys9d24i2h2aqdpl87568vn8rj-hikari-2.3.2/bin/hikari passed the binary check.

Warning: no invocation of /nix/store/dbvllhpys9d24i2h2aqdpl87568vn8rj-hikari-2.3.2/bin/hikari-unlocker had a zero exit code or showed the expected version

1 of 2 passed binary check by having a zero exit code.

1 of 2 passed binary check by having the new version present in output.

found 2.3.2 with grep in /nix/store/dbvllhpys9d24i2h2aqdpl87568vn8rj-hikari-2.3.2

found 2.3.2 in filename of file in /nix/store/dbvllhpys9d24i2h2aqdpl87568vn8rj-hikari-2.3.2

directory tree listing: https://gist.github.com/ebfda4dd88eeb17c26ea7138a9735027

du listing: https://gist.github.com/983764759866c6dca7e391569f7a5420

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
hikari

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dbvllhpys9d24i2h2aqdpl87568vn8rj-hikari-2.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hikari https://github.com/r-ryantm/nixpkgs/archive/2c7fc12b468cdb29d9f9bd5464454b76f1057bb6.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dbvllhpys9d24i2h2aqdpl87568vn8rj-hikari-2.3.2
ls -la /nix/store/dbvllhpys9d24i2h2aqdpl87568vn8rj-hikari-2.3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

hikari

Maintainer pings
cc @jpotier for testing.

Result of nixpkgs-review pr 131302 at 2c7fc12b run on x86_64-linux 1

1 package built successfully:

hikari

1 suggestion:

warning: unused-argument
Unused argument: fetchpatch.
Near pkgs/applications/window-managers/hikari/default.nix:1:26:
  |
1 | { lib, stdenv, fetchzip, fetchpatch,
  |                          ^


(on xxxhdpi device) xxxhdpi resources aren't used when there are alternatives with lower density

the same layout but done in Android Studio doesn't invoke this issue.
more details here: http://stackoverflow.com/q/28607550/1418097
(APK file: http://dropbox.com/s/lqdj9w7iimh2gj9/magicgoose-example-debug.apk?dl=0
Source code: http://dropbox.com/s/cs4pngpkvkoe5q2/dpi-example-src.zip?dl=0)
I don't understand how the SBT & this plugin can cause this, but… it does happen. Maybe the plugin does something special to the resources?

What drawable is having the problem in particular.

This looks immediately wrong:
$ aapt d badging magicgoose-example-debug.apk
package: name='magicgoose.example' versionCode='1' versionName='1.0' platformBuildVersionName='5.0.1-1624448'
sdkVersion:'10'
targetSdkVersion:'1'

targetSdkVersion should be at least 19 or higher if you want xxxhdpi

What drawable is having the problem in particular.

There's only one, except launcher icon.

This looks immediately wrong:

Hmmm, I don't know how it got there… let me check…

You set min sdk in sbt, don't, set it in manifest
--
Sent from my phone
On Feb 19, 2015 8:43 PM, "magicgoose"<EMAIL_ADDRESS>wrote:

What drawable is having the problem in particular.
There's only one, except launcher icon.
This looks immediately wrong:
Hmmm, I don't know how it got there… let me check…
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/146#issuecomment-75188910
.

Looks like the problem is gone if I also change minimum SDK to 14. Okay… let me experiment for some time. Thank you for help!

by the way, it's strange that target SDK is not set to latest by default… (my two cents)

What does latest mean, it's independent of the plugin, don't set the wrong
values, or even not at all.
--
Sent from my phone
On Feb 19, 2015 9:05 PM, "magicgoose"<EMAIL_ADDRESS>wrote:

by the way, it's strange that target SDK is not set to latest by default…
(my two cents)
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/146#issuecomment-75190280
.


Lint user configuration files

Linting rules should also be applied to user-defined configuration in ~/.atom.

This seems to still be an issue - .editor is not being flagged in my keymap.cson.


implemented mission switch

This functionality allows to store 4 missions on the sdcard. Simply pushing roll in standby mode changes between stored missions.
In order to make data migration more stable a version number is added to the dataman file. For now migration between two versions means deleting all data and setting up a new database.
As a consequence all stored data by dataman is deleted by running this feature for the first time.

Anything I can help to get that merged? Maybe adding a parameter that allows to configure the number of missions with default 1, so that nobody gets confused?

@friekopter Sorry for missing to answer you! Please rebase on master and add the parameter, yes. We will also add a MAVLink command later, once the GCS integration has caught up with this.

I have now added a parameter that allow to configure the number of missions. Default is 1. So for the user there are no changes from prior version.
@LorenzMeier Will you now be able to merge that?

@LorenzMeier Sorry for asking again, but I would like to know if you still plan to merge that in. I would be happy if you would do that soon because its always some effort for me to resolve conflicts etc.
I think this functionality has some benefit for the community.

@thomasgubler @AndreasAntener @LorenzMeier
Any answer?
You did breaking changes in this area recently and it is a lot of effort for me to merge that in.
So it would be nice to let me know if it makes sense to do the work.

I'm closing this for now. We currently think its adding more complexity than necessary and we don't have the bandwidth to integrate it properly. We would need GCS support for this, so without further coordination in the community I don't think it makes sense to merge, sorry for initially misguiding you!


Rationalize owner name

Currently, the code creates a "short CN" from the user's CN to avoid trouble with clients. This isn't great, though, since it's pretty likely that the mangled one won't correspond to an actual username, and it certainly loses hierarchical information.
This may be okay on its own, but it may be best instead to see if LDAP-style names are treated better, or if it'd be worth looking up a user's short name from the directory.

This is a bit too fiddly to properly deal with, at least for now. With SFTP, I think that a lot of clients parse the ls -l output, which is space-delimited. For now, I modified name support to use the CN with + delimiters.


CI is failing for activation of environments

https://dev.azure.com/ms/vscode-python/_build/results?buildId=24352&view=logs&j=0c8e534f-a3f5-527e-29c9-797ede0d6e54

[ ] temporarily disable test
[ ] investigate


[FLINK-34513] GroupAggregateRestoreTest.testRestore fails

This addresses FLINK-34513 by changing testMaterializedData to only check the data after the restore.

What is the purpose of the change
Fix intermittent test failures.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@bvarghese1 This approach fails since it breaks the JoinRestoreTest.


[declarative-hack] Remove references to .bot files

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.next
Describe the bug
Remove references to .bot files as they are history.
To Reproduce
Steps to reproduce the behavior:

scan the code for .bot pattern and replace instructions/comments accordingly

Expected behavior
.bot references are gone with the feature.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Sample search:
[BF]c:\workspace\botroot\BBJS4.next\samples>findstr /sip /C:".bot file" *

sendActivity\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
sendActivity\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
FINDSTR: Cannot open 01. sendActivity\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetConversationMembers_should_fail_with_invalid_conversationId.nock.js
sendActivity\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
sendActivity\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
textInput\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
textInput\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
FINDSTR: Cannot open 02. textInput\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetConversationMembers_should_fail_with_invalid_conversationId.nock.js
textInput\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
textInput\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
ifCondition\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
ifCondition\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
FINDSTR: Cannot open 03. ifCondition\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetConversationMembers_should_fail_with_invalid_conversationId.nock.js
ifCondition\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
ifCondition\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
intentRule\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
intentRule\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
FINDSTR: Cannot open 04. intentRule\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetConversationMembers_should_fail_with_invalid_conversationId.nock.js
intentRule\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
intentRule\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
beginDialog\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
beginDialog\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
FINDSTR: Cannot open 05. beginDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetConversationMembers_should_fail_with_invalid_conversationId.nock.js
beginDialog\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
beginDialog\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
codeStep\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
codeStep\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
codeStep\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
codeStep\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
FINDSTR: Cannot open 10. sidecarDebugging\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_CreateConversation_should_return_a_valid_conversation_ID.nock.js
FINDSTR: Cannot open 10. sidecarDebugging\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetActivityMembers_should_fail_with_invalid_conversatoinId.nock.js
FINDSTR: Cannot open 10. sidecarDebugging\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetConversationMembers_should_fail_with_invalid_conversationId.nock.js
FINDSTR: Cannot open 10. sidecarDebugging\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_ReplyToActivity_should_fail_with_invalid_conversationId.nock.js
FINDSTR: Cannot open 10. sidecarDebugging\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_SendToConversation_should_fail_with_invalid_conversationId.nock.js
stateMachineDialog\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
stateMachineDialog\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
FINDSTR: Cannot open 30. stateMachineDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_CreateConversation_should_return_a_valid_conversation_ID.nock.js
FINDSTR: Cannot open 30. stateMachineDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_DeleteActivity_should_fail_with_invalid_conversationId.nock.js
FINDSTR: Cannot open 30. stateMachineDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetActivityMembers_should_fail_with_invalid_conversatoinId.nock.js
FINDSTR: Cannot open 30. stateMachineDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_GetConversationMembers_should_fail_with_invalid_conversationId.nock.js
FINDSTR: Cannot open 30. stateMachineDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_ReplyToActivity_should_fail_with_invalid_conversationId.nock.js
FINDSTR: Cannot open 30. stateMachineDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_SendToConversation_should_fail_with_invalid_conversationId.nock.js
FINDSTR: Cannot open 30. stateMachineDialog\node_modules\botbuilder-dialogs-adaptive\node_modules\botframework-connector\tests\recordings\Bot_Framework_Connector_SDK_Conversations_UpdateActivity_should_fail_with_invalid_conversationId.nock.js
stateMachineDialog\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
stateMachineDialog\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
todo-bot\lib\index.js:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
todo-bot\lib\index.js:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.
todo-bot\src\index.ts:    console.log(\nTo talk to your bot, open echobot.bot file in the Emulator.);
todo-bot\src\index.ts:// See https://aka.ms/about-bot-adapter to learn more about .bot file its use and bot configuration.

[bug]

Samples in botbuidler-samples do not have any reference to .bot files.


Improve Google Sign In error logging

Details
@Julesssss reported that Google Sign-In was not working on ad hoc builds: https://expensify.slack.com/archives/C01GTK53T8Q/p1692302447001879
Errors that didn't have specific handling weren't being logged properly. Update logging and print all status codes so we can also see errors we aren't specifically handling.
Fixed Issues

$ https://github.com/Expensify/App/issues/7079
PROPOSAL:  https://github.com/Expensify/App/issues/7079#issuecomment-1683070515
Tests

Install the app to a device/an emulator with Play Services installed and a Google account signed in
Click the Google Sign-In button, then click the background to close the sign-in modal and go back
Check that the Log.info message for Google sign-in cancelled shows up
Edit the code to remove the if branch for the google sign-in error in src/components/SignInButtons/GoogleSignIn/index.native.js so that all errors use the Log.alert statement instead
Refresh the app and repeat step 2
See that the Log.alert for the cancellation error shows up, this time with an error code included in the message

[x] Verify that no errors appear in the JS console

Offline tests

n/a, not affected by offline status.
QA Steps

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos
n/a, no user-facing changes

Use the links below to test this build in android and iOS. Happy testing!

:test_tube::test_tube: Use the links below to test this build in android and iOS. Happy testing! :test_tube::test_tube:

android :robot:
iOS :apple:

❌ FAILED ❌
❌ FAILED ❌

The QR code can't be generated, because the android build failed
The QR code can't be generated, because the iOS build failed

desktop :computer:
web :spider_web:

https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/25446/NewExpensify.dmg
https://25446.pr-testing.expensify.com

@lindboe we had a temporary issue with our AdHoc builds. Would you mind pulling main and merging it into your PR? Thanks

Merged main 👍

Run adhoc build again, the new QR codes will be available soon

:test_tube::test_tube: Use the links below to test this build in android and iOS. Happy testing! :test_tube::test_tube:

android :robot:
iOS :apple:

https://ad-hoc-expensify-cash.s3.amazonaws.com/android/25446/index.html
https://ad-hoc-expensify-cash.s3.amazonaws.com/ios/25446/index.html

desktop :computer:
web :spider_web:

https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/25446/NewExpensify.dmg
https://25446.pr-testing.expensify.com

Perhaps we just need to add the AdHoc signing key to Google Cloud for the AdHoc app. Though I'm not sure if that even exists :/

@Julesssss A signing key of some kind definitely exists, but it may not work the same way as prod.
Debug mode builds are given a generated key (https://developer.android.com/studio/publish/app-signing#debug-mode), so if adhoc builds are in debug mode, (which I would be surprised by, but it's not impossible), then the debug cert might be different per machine and I suppose that could cause problems?
But otherwise, a key of some kind does need to be provided for release builds.
When I looked last, the SHA-1 of the ad-hoc build I had was 14:66:BB:ED:3F:8A:DD:50:72:AA:02:66:86:B8:3B:43:19:FC:EC:0B. These docs also allow you to double-check that against a new APK if you'd like to confirm that it's consistent.
Are you able to access the Google cloud console to change the SHA-1 value for the adhoc app's OAuth config? Can't really do any harm to test new values if the current one isn't working.

Thanks for explaining.
Yeah, I'll creat an issue for trying that AdHoc key.

I fixed the AdHoc SSO issue in the Google Console, but I think this improvement could still be merged to simplify debugging of future issues

I'm going to merge this. The PR checklist has changed since it was added, so I'm going to ignore that check.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.84-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀

platform
result

🤖 android 🤖
skipped 🚫

🖥 desktop 🖥
skipped 🚫

🍎 iOS 🍎
skipped 🚫

🕸 web 🕸
skipped 🚫

🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.85-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/francoisl in version: 1.3.85-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


import ROLO_utils as utils ImportError: No module named ROLO_utils

When I run the codes, there is always a mistake:  import ROLO_utils as utils ImportError: No module named ROLO_utils,  would you tell me how to solve this problem?
Thank you and look forward to your answer.

there is a ROLO_utils.py ,use it.

change it to
import utils.ROLO_utils as utils

or you can add utils folder to PYTHONPATH variable

You may also need to add __init__.py files to treat the directories as python packages. Also try to  use from utils import ROLO_utils as utils

change it into:
import sys
sys.path.append("/path/to/utils")
import ROLO_utils as utils

Thank you very much, I have solved it.

@Kerrwy I also meet the problem，can u tell me how do you slove it?thanks

How to address the problem?Now I have the same problem,I also add the Path variable,but it doesn't matter.

@stanifrolov  @sharmarochan I have the same problem . how can I access to init.py files?

Add blank py files to both folders, with name "init.py"

__ init __

anyone p;ease help me when i run this code i face this error.
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Input file with correct format not found.\n")?


ERROR 1105 (HY000) at line 1: unknown error: expecting "EOF" but got 'V' instead

mysql -h'<IP_ADDRESS>' -u'user' -p'pass' homestead -e"SHOW VARIABLES WHERE Variable_name ='language'"
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1105 (HY000) at line 1: unknown error: expecting "EOF" but got 'V' instead
run with example:
func main() {
driver := sqle.NewDefault()
driver.AddDatabase(createTestDatabase())
config := server.Config{
    Protocol: "tcp",
    Address:  "localhost:3306",
    Auth:     auth.NewNativeSingle("user", "pass", auth.AllPermissions),
}

s, err := server.NewDefaultServer(config, driver)
if err != nil {
    panic(err)
}

s.Start()

}

@acczefly This project is not maintained anymore, but you can try with the liquidata fork:
https://github.com/src-d/go-mysql-server/issues/873


Add commands

Description
Commands like /join channel are missing
Passing criteria
Type /join #osu in chat and instead of sending a message, it will open #osu tab
Type /join Tillerino in chat and instead of sending a message, it will open Tillerino tab

Refer to https://osu.ppy.sh/help/wiki/Chat_Console/ for complete list of commands

[ ] /addfriend [user]
[ ] /delfriend [user]
[ ] /away [message]
[ ] /chat [user]
[ ] /clear
[ ] /j [channel] or /join [channel]
[ ] /p or /part
[ ] /me [action]
[ ] /msg [user] [msg]


include actool and docker2aci binaries to CoreOS

actool and docker2aci binaries should be included to CoreOS as rkt docs have many references to them,
which brings a confusion when you try to use them and they are not found

This issue was moved to coreos/coreos-overlay#1209


Feature Request: Auto Update

Feature Requested
Dear developer，
Vitorgalvao has built an alfred-workflows namely OneUpdater（https://github.com/vitorgalvao/alfred-workflows/tree/master/OneUpdater）. Is it possible to integrate it into your workflow? This can be upgraded automatically.
Thank you for your awesome work!
Relevant Screenshot
No response
Checklist

[X] The feature would be useful to more users than just me.

It ahead is integrated!


Is it possible attaching agent on the fly?

Hi,
Maybe this is dump question,
Is it possible implementing Agent_OnAttach in the agent.cpp and supporting hones-profiler agent attaching on the fly via VirtualMachine::loadAgentPath(String agentPath, String options programmatically?
As far as I see, the required capabilities by the honest-profiler are also available at live phase if I am not missing something. Can you verify it?
https://github.com/RichardWarburton/honest-profiler/blob/master/src/main/cpp/agent.cpp#L105
    caps.can_generate_all_class_hook_events = 1;

    caps.can_get_source_file_name = 1;
    caps.can_get_line_numbers = 1;
    caps.can_get_bytecodes = 1;
    caps.can_get_constant_pool = 1;
    caps.can_generate_compiled_method_load_events = 1;
#ifdef GETENV_NEW_THREAD_ASYNC_UNSAFE
    caps.can_generate_native_method_bind_events = 1;
#endif

Regards.

Hi, it should be possible. Issue #22 is supposed to track the implementation of this feature.


Handle FDF files, not just PDF

PDF::Tools have a currrent bias towards processing only PDF documents. FDF is another related format that we should be able to handle. Both formats have different DOM structure. PDF files are normally indexed. FDF files aren't.
With just a little more flexibility and a few more tests, I think that we should be able to handle both through the tool-chain (Reader, Storage, & Writer)

Commit a131c7d introduces basic support and tests for FDF content.


nixos/wireguard: add test

Motivation for this change
After working on the last wireguard bump (#57534), we figured that it's
probably a good idea to have a basic test which confirms that a simple
VPN with wireguard still works.
This test starts two peers with a wg0 network interface and adds a v4
and a v6 route that goes through wg0.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test wireguard
Now using ULA addresses for v6 as suggested by @WilliButz.


:memo: Modify README example for session function in API Routes section

#327

That change is actually the same as before. Both of them created one session middleware. The problem arises only if one calls session() in multiple places, in which case  he/she should create the middleware only once and export it for other places.
Perhaps a note like: If you are going to call session() in multiple places, consider do it only once and export it to other places.

I had added a note, but then felt maybe I was cluttering the docs too much, Ill add one now

I added the note while keeping the example as I modified it before since I feel like users "by default" use what is in the example. Let me know if you prefer that the example be like it was previously though

Looks great, how did you get the checks to pass

Our integration test is kinda flaky so sometimes it does not pass. Don't mind the check.


Renerate weights and use benchmarks

Part of the SBP review

https://github.com/ImbueNetwork/imbue/issues/127


It is possible to set custom message for one kind validation?

e.g. govalidator.CustomTypeTagMessageMap.Set("required", "Can't be blank")
All column tagged as "required", will show "Can't be blank" if invalid.
So you don't need to use required~Can't be blank anywhere.

Take a look at  #121

Take a look at #121

I known this. But using this way you need to write required~Can't be blank multipart times, right?
I need a way to custom on global. such as govalidator.CustomTypeTagMessageMap.Set("required", "Can't be blank").

Hello guys!
I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back
Link to my repo: create issue there and we'll discuss it.


Document passing a custom app wrapper

I think fresh should allow passing a custom document wrapper in the same manner next does.
See https://github.com/denoland/fresh/blob/8d118a2d3055a7b5e734a9f2af838fdc14fe5c32/src/server/render.tsx#L270.
This would for example allow to set twind classes on the html element to support light/dark color schemes at a system level via media preferences, and also manually (see https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually=)
It would probably need abstracting of this template function some more since it contains parts that you might want to hide from the user (i see some dangerouslySetInnerHTML etc)
To give a bit more of an idea about the context the first thing I tried after generating a project with twind is changing the darkMode to media and setting a dark mode background class property on the page, however to handle changing the background of the html element i would need to set the class on there or on the body at least. Currently the only way this would be possible is to make a container that has the same size as body which I find a bit "hacky" and not really intended practice from what I gather from tailwind docs.
It would probably allow for more flexibility outside of this specific use case also.
See https://nextjs.org/docs/advanced-features/custom-document for inspiration maybe.
EDIT: this appears to actually be possible already although not documented (as far as I could tell) https://github.com/denoland/fresh/commit/04a32f34987fbd59ce646967f216b2cca072a58f

Facing the same issue with dark mode and also repeating element like title, etc.
I would love to have a more Remix approach where the DOM is completely exposed rather than the Next.js one with a _app.jsx, but this is just an opinion

+1 would be cool to see this. but it's already kind of possible by using a custom wrapper component for every route

There is limitation on what you can do with custom wrapper though. For example changing property on the root html tag like lang and dir property

Facing the same issue with dark mode and also repeating element like title, etc.

Same here. Was excited to see first class support for Twind, but Fresh doesn't seem to allow developers to easily set the CSS class of the <html> or <body> so no global styles for me.

I would love to have a more Remix approach where the DOM is completely exposed

I agree. An exposed DOM also seems like a much more maintainable approach than adding fields to TemplateOptions for everything that could possibly be changed in the template.
Disclaimer: I come from a server-rendered ASP.NET Core background with no experience in JavaScript middleware frameworks. Not being able to change the template (we call it _Layout.cshtml in ASP.NET Core) was really confusing to me. But I might just be biased.

I don't know if this is a recommended approach or not, however creating an _app.tsx within the routes/ directory the class attribute can be added to the html tag with the following code:
/** @jsx h */
import { h } from 'preact';
import { AppProps } from '$fresh/server.ts';

export default function App(props: AppProps) {
    return (
        <html class='dark'>
            <props.Component />
        </html>
    );
}

Hope this helps in the meantime!

There does in fact appear to be an undocumented app wrapper feature available since https://github.com/denoland/fresh/commit/04a32f34987fbd59ce646967f216b2cca072a58f (did not pick this up at first quick glance at the source oops)
I guess it would be more adequate to switch this issue to adding documentation about it.

Relevant comment from a separate issue: https://github.com/denoland/fresh/issues/491#issuecomment-1181769820

Close with documenting _app.tsx. https://github.com/denoland/fresh/pull/494
Please reopen this issue if you think it doesn't meet your needs.


Add windows specific plugin installation for dashboards

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Add windows specific plugin installation for dashboards
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/2306
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2730 (c50fad5) into main (7a4f4dc) will decrease coverage by 0.32%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2730      +/-   ##
==========================================
- Coverage   94.10%   93.77%   -0.33%
==========================================
  Files         156      156
  Lines        4208     4212       +4
==========================================
- Hits         3960     3950      -10
- Misses        248      262      +14

Impacted Files
Coverage Δ

.../assemble_workflow/bundle_opensearch_dashboards.py
100.00% <100.00%> (ø)

src/system/temporary_directory.py
64.44% <0.00%> (-28.89%)
:arrow_down:

src/system/os.py
93.75% <0.00%> (-6.25%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

The test failed for Task :jacocoTestReport FAILED, this is a know error CC @gaiksaya @jordarlu.

The groovy test is not related, merging now.


WkWebView menus and download

Fix some non working contextual menu items (Download image, Open image in new window, Download linked file…)
Reorganize customization of contextual menu
Integrate browser's downloads into download manager
Improve Javascript used to identify link and/or image being clicked

Can you elaborate a little on the idea of the reorganization?

Can you elaborate a little on the idea of the reorganization?

I removed references to function contextMenuItemAction (which was not implemented, anyway)
The main change is in WebKitContextMenuCustomizer. I made separate routines for dealing respectively with links and images : each routine goes through the existing menu items (generated by macOS), identifies them and adapt their behavior as needed.


python37Packages.dulwich: 0.20.11 -> 0.20.14

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.dulwich is: "Simple Python implementation of the Git file formats and protocols"
meta.homepage for python37Packages.dulwich is: "https://samba.org/~jelmer/dulwich/"
meta.changelog for python37Packages.dulwich is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.20.14 with grep in /nix/store/2c9dj3zyvp28i7iawxczyhwchkz1p0jy-python3.7-dulwich-0.20.14

directory tree listing: https://gist.github.com/fa38dc72c279a1f08eb63f7a5efa7372

du listing: https://gist.github.com/5a42a4ca0388afbf403eb8a0d5860924

Rebuild report (if merged into master) (click to expand)

85 total rebuild path(s)

22 package rebuild(s)

22 x86_64-linux rebuild(s)
22 i686-linux rebuild(s)
19 x86_64-darwin rebuild(s)
22 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
breezy
cabal2nix
dep2nix
devpi-client
errbot
flatpak-builder
hydra-unstable
klaus
nix-prefetch-bzr
nix-prefetch-scripts
nix-update-source
python37Packages.breezy
python37Packages.check-manifest
python37Packages.dulwich
python37Packages.klaus
python38Packages.breezy
python38Packages.check-manifest
python38Packages.dulwich
python38Packages.klaus
reno
vcstool
xandikos

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2c9dj3zyvp28i7iawxczyhwchkz1p0jy-python3.7-dulwich-0.20.14 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.dulwich https://github.com/r-ryantm/nixpkgs/archive/7e81b55207d222dc5bfece6d5c6c487ce4c493e9.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2c9dj3zyvp28i7iawxczyhwchkz1p0jy-python3.7-dulwich-0.20.14
ls -la /nix/store/2c9dj3zyvp28i7iawxczyhwchkz1p0jy-python3.7-dulwich-0.20.14/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

20 packages built:

breezy (python38Packages.breezy)
cabal2nix
dep2nix
devpi-client
errbot
flatpak-builder
hydra-unstable
klaus (python38Packages.klaus)
nix-prefetch-bzr
nix-prefetch-scripts
nix-update-source
python37Packages.breezy
python37Packages.check-manifest
python37Packages.dulwich
python37Packages.klaus
python38Packages.check-manifest
python38Packages.dulwich
reno
vcstool
xandikos

Maintainer pings
cc @k0ral for testing.

Result of nixpkgs-review pr 105388 run on x86_64-darwin 1

1 package failed to build:

cabal2nix

16 packages built:

breezy (python38Packages.breezy)
dep2nix
devpi-client
klaus (python38Packages.klaus)
nix-prefetch-bzr
nix-prefetch-scripts
nix-update-source
python37Packages.breezy
python37Packages.check-manifest
python37Packages.dulwich
python37Packages.klaus
python38Packages.check-manifest
python38Packages.dulwich
reno
vcstool
xandikos


Add steps to set up example project

Right now, it is unclear how to setup the tables needed to run the example project.

Thanks for feedback. I'm working on that. So it will be done soon.

Steps can be found here.


python2 fails to build

When I try to install python2 I get an error since the file python27.lib seems to be missing.
I can see the file in the path without win32, i.e. buildtrees\python2\src\Python-2.7.15\PCbuild
C:\dev\vcpkg>vcpkg.exe install python2
The following packages will be built and installed:
    python2[core]:x86-windows
Starting package 1/1: python2:x86-windows
Building package python2[core]:x86-windows...
-- Using cached C:/dev/vcpkg/downloads/Python-2.7.15.tar.xz
-- Applying patch C:/dev/vcpkg/ports/python2/001-build-msvc.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/dev/vcpkg/ports/python2/002-build-msvc.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/dev/vcpkg/ports/python2/003-build-msvc.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Building C:/dev/vcpkg/buildtrees/python2/src/python-2.7.15/PCBuild/pythoncore.vcxproj for Release
-- Building C:/dev/vcpkg/buildtrees/python2/src/python-2.7.15/PCBuild/pythoncore.vcxproj for Debug
CMake Error at ports/python2/portfile.cmake:67 (file):
  file COPY cannot find
  "C:/dev/vcpkg/buildtrees/python2/src/python-2.7.15/PCBuild/win32/python27.lib".
Call Stack (most recent call first):
  scripts/ports.cmake:71 (include)

Error: Building package python2:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: python2:x86-windows
  Vcpkg version: 0.0.113-nohash

vcpkg install python2 --triplet x64-windows-static
The following packages will be built and installed:
    python2[core]:x64-windows-static
Starting package 1/1: python2:x64-windows-static
Building package python2[core]:x64-windows-static...
-- Downloading https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz...
-- Extracting source E:/tools/vcpkg/downloads/Python-2.7.15.tar.xz
-- Applying patch E:/tools/vcpkg/ports/python2/001-build-msvc.patch
-- Applying patch E:/tools/vcpkg/ports/python2/002-build-msvc.patch
-- Applying patch E:/tools/vcpkg/ports/python2/003-build-msvc.patch
-- Applying patch E:/tools/vcpkg/ports/python2/004-static-library-msvc.patch
-- Applying patch E:/tools/vcpkg/ports/python2/006-static-fix-headers.patch
-- Applying patch E:/tools/vcpkg/ports/python2/005-static-crt-msvc.patch
-- Building E:/tools/vcpkg/buildtrees/python2/src/python-2.7.15/PCBuild/pythoncore.vcxproj for Release
-- Building E:/tools/vcpkg/buildtrees/python2/src/python-2.7.15/PCBuild/pythoncore.vcxproj for Debug
-- Performing post-build validation
-- Performing post-build validation done
Building package python2[core]:x64-windows-static... done
Installing package python2[core]:x64-windows-static...
Installing package python2[core]:x64-windows-static... done
Elapsed time for package python2:x64-windows-static: 5.499 min

git pull ?

I'm gonna check that. gimme a second

I got the same error after
I removed the python2 folder, ran git pull, and ran install python.

I noticed that you use x86 so I will test it tomorrow. Try to compile again and post the list of files in directory, maybe this x86 builds are saved somewhere else.
Btw, this port is 99% based on python3 port so there csn be similar problem.

Ok, found the problem... The fix is coming.

@bitsrules try now :D


Save schema version of geopackage

So we can decide whether some version is incompatible in the (far) future.

This is addressed by adding ribasim_version to the TOML in #1178.
In that issue adding the version to the GeoPackage was also discussed, but decided against.


Variety of fixes to README

Fix references to ecurtin/spark-bench
More info on setting environment variables
updating instructions for examples

Codecov Report

Merging #116 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   86.74%   86.74%
=======================================
  Files          27       27
  Lines         581      581
  Branches       26       26
=======================================
  Hits          504      504
  Misses         77       77

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea1ff10...42305ac. Read the comment docs.


Example on Using API

Hi,
Would be great if there was a simple example on how to use the package to make requests against the Hatch Rest.
Thanks,
M.

https://github.com/dahlb/hatch_rest_api/blob/master/src/hatch_rest_api/stub.py is a simple example of using this api package, you can look at it's history for extra examples as it has changed as new features have been added and tested


[vertexai] Unexpected SafetyRating Format in Vertex AI GenerateContentResponse

This issue reports a discrepancy in the format of the SafetyRating protobuf field within the GenerateContentResponse object. When using the Vertex AI library (google-cloud-vertexai), the SafetyRating field lacks additional information like probabilityScore and severityScore  present in the actual response by the GenerativeModel
The following sections detail the steps to reproduce the issue, provide environment information, and include code examples from the Vertex AI library, as well as an example of WebClient usage (with json-formatted request/response) for comparison. Additionally, references to relevant API documentation are provided.
Environment details

Using the google-cloud-vertexai imported with maven com.google.cloud libraries-bom 26.34.0 (see below)
OS type and version: Windows 11
Java version: 21

Steps to reproduce

Instantiate a GenerativeModel object
call the generateContent method
to make a comparison, create a similar request to a WebClient working with json data

Code example
Request made using the google-vertexai library

private static String jsonFilePath = ""; // the path to the authentication json

    private static String apiUrl = ""; // see below for further information

@Test
    public void example() throws IOException, Descriptors.DescriptorValidationException {

        OAuth2Credentials credentials;
        credentials = ServiceAccountCredentials
                    .fromStream(new FileInputStream(jsonFilePath))
                    .createScoped(Arrays.asList("https://www.googleapis.com/auth/cloud-platform"));
        credentials.refreshIfExpired();

        try (VertexAI vertexAi = new VertexAI("my-project", "europe-west9", credentials)) {
            GenerationConfig generationConfig =
                    GenerationConfig.newBuilder()
                            .setMaxOutputTokens(2048)
                            .setTemperature(0.9F)
                            .setTopP(1F)
                            .build();
            GenerativeModel model = new GenerativeModel("gemini-1.0-pro", generationConfig, vertexAi);

            GenerateContentResponse response = model.generateContent("say Hi!");
            System.out.println(response);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

Response received
candidates {
  content {
    role: "model"
    parts {
      text: "Hi there! How can I assist you today?"
    }
  }
  finish_reason: STOP
  safety_ratings {
    category: HARM_CATEGORY_HATE_SPEECH
    probability: NEGLIGIBLE
    5: 0x3cef378b
    6: 1
    7: 0x3d1dda8b
  }
  safety_ratings {
    category: HARM_CATEGORY_DANGEROUS_CONTENT
    probability: NEGLIGIBLE
    5: 0x3db8d6b0
    6: 1
    7: 0x3cf5a644
  }
  safety_ratings {
    category: HARM_CATEGORY_HARASSMENT
    probability: NEGLIGIBLE
    5: 0x3d3f0787
    6: 1
    7: 0x3c6205f4
  }
  safety_ratings {
    category: HARM_CATEGORY_SEXUALLY_EXPLICIT
    probability: NEGLIGIBLE
    5: 0x3e4374af
    6: 1
    7: 0x3d401970
  }
}
usage_metadata {
  prompt_token_count: 3
  candidates_token_count: 10
  total_token_count: 13
}

Request made using the springboot WebClient
@Test
    public void example() throws IOException {

        GenerateContentRequest generateContentRequest = getGenerateContentRequest();

        SslProvider sslProvider = SslProvider.defaultClientProvider();
        HttpClient client = HttpClient.create()
                .responseTimeout(Duration.ofSeconds(100))
                .secure(sslProvider);

        WebClient.Builder webClientBuilder = WebClient.builder()
                .baseUrl(apiUrl)
                .clientConnector(new ReactorClientHttpConnector(client));

        GoogleCredentials credentials = ServiceAccountCredentials
                .fromStream(new FileInputStream(jsonFilePath))
                .createScoped(List.of("https://www.googleapis.com/auth/cloud-platform"));
        credentials.refreshIfExpired();
        String auth = credentials.refreshAccessToken().getTokenValue();

        WebClient webClient = webClientBuilder
                .defaultHeader("Authorization", "Bearer" + " " + auth)
                .build();

        WebClient.ResponseSpec responseMono = webClient.post()
                .bodyValue(JsonFormat.printer().print(generateContentRequest))
                .retrieve();

        Mono<JsonNode> monoJson =  responseMono.bodyToMono(JsonNode.class);

        System.out.println(monoJson.block().toPrettyString());

    }

private GenerateContentRequest getGenerateContentRequest() {
        Part textPart = Part.newBuilder()
                .setText("Say hi!")
                .build();

        Content content = Content.newBuilder()
                .setRole("user")
                .addParts(textPart)
                .build();

        GenerationConfig generationConfig = GenerationConfig.newBuilder()
                .setTemperature(0.4f)
                .setTopP(1.0f)
                .setTopK(32)
                .setMaxOutputTokens(2048)
                .build();

        GenerateContentRequest generateContentRequest = GenerateContentRequest.newBuilder()
                .addContents(content)
                .setGenerationConfig(generationConfig)
                .build();

        return generateContentRequest;
    }

Response received
{
  "candidates" : [ {
    "content" : {
      "role" : "model",
      "parts" : [ {
        "text" : "Hi there! How can I assist you today?"
      } ]
    },
    "finishReason" : "STOP",
    "safetyRatings" : [ {
      "category" : "HARM_CATEGORY_HATE_SPEECH",
      "probability" : "NEGLIGIBLE",
      "probabilityScore" : 0.030502057,
      "severity" : "HARM_SEVERITY_NEGLIGIBLE",
      "severityScore" : 0.03782129
    }, {
      "category" : "HARM_CATEGORY_DANGEROUS_CONTENT",
      "probability" : "NEGLIGIBLE",
      "probabilityScore" : 0.09334688,
      "severity" : "HARM_SEVERITY_NEGLIGIBLE",
      "severityScore" : 0.03204008
    }, {
      "category" : "HARM_CATEGORY_HARASSMENT",
      "probability" : "NEGLIGIBLE",
      "probabilityScore" : 0.047869004,
      "severity" : "HARM_SEVERITY_NEGLIGIBLE",
      "severityScore" : 0.015365342
    }, {
      "category" : "HARM_CATEGORY_SEXUALLY_EXPLICIT",
      "probability" : "NEGLIGIBLE",
      "probabilityScore" : 0.20386598,
      "severity" : "HARM_SEVERITY_NEGLIGIBLE",
      "severityScore" : 0.047074173
    } ]
  } ],
  "usageMetadata" : {
    "promptTokenCount" : 3,
    "candidatesTokenCount" : 10,
    "totalTokenCount" : 13
  }
}

External references such as API reference guides
I got the apiUrl from this link: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini
Guide to the maven import: https://cloud.google.com/java/docs/reference/google-cloud-vertexai/latest/overview

@ZhenyiQ PTAL

Thanks @RikJux for raising the issue! This is likely due to the client lagging the API version. We'll update the client in our next release.

The client version was updated.


Fix ArrayIndexOutOfBoundsException from HdrHistogram

Motivation:
DoubleRecorder from HdrHistogram can throw
ArrayIndexOutOfBoundsException even if auto-resize is enabled for its
DoubleHistograms when the range of values is too wide. For example, when
a histogram contains 0.000000001 (1 nanosecond), it can only contain up
to 16, which is way too small for our use case.
Modifications:

Limit the minimum value to 0.001 (1 millisecond)
Limit the maximum value to the extent that does not trigger
ArrayIndexOutOfBoundsException
Fix an overflow bug in rotate() method due to incorrect cast order

Result:
ArrayIndexOutOfBoundsException should not be raised even if too small or
big value is recorded.

Do we have any chance of releasing new 0.54.x binaries?

Working on 0.55. Would 0.55 work for you?

Depends on how difficult catching up zipkin2 upgrade is since it contains zipkin API changes..

Ah, I see. Let me release 0.54.2.


[BUG]: Helm chart does not allow mounting TLS certificates

Contact Details [Optional]
No response
System Information
Helm chart version 0.71.0
What happened?
The Helm chart does not support mounting TLS certificates for using MySQL SSL encrypted connections.
The docs suggest adding certificates to the chart root, which is not feasible - we should not repackage the helm chart to enable such simple functionality.
Alternatively, the app could use the CA certificates already available on the pod, eg. /etc/ssl/certs/ca-certificates.crt when ?ssl=true or a similar argument is present in the DB connection URL.
At the moment we had to make SSL encryption optional and sacrifice the security.
Reproduction steps
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@stefannica wdyt? We might consider customizing the Helm chart to mount the existing CA certificates directory from the pod into the application container. This would allow the application to use the pre-existing certificates without needing to repackage the Helm chart.


docs: update README installation instructions

Because nuxt-vitest is included as a module in the nuxt.config.{ts,js}, the package is needed as a production dependency for the Nuxt build to succeed.
Is there a way to add nuxt-vitest for a production Nuxt app, while keeping it as a devDependency?

I think devDependency is saying it's tooling dependencies for development that are not shipping to the production server. I think we better keep the -D for most of the case, while users could always change as they want.

@antfu Thanks for your feedback! That makes sense - users can always choose to configure it differently, and it's definitely preferable to keep a testing tool as a devDependency. This PR can probably be closed then.
I just wanted to have a conversation because the way the README suggests setting it up, I wouldn't be able to omit the dev dependencies and have a production Nuxt build succeed.


Refactoring the code to improve the functionality and maintainability

Project and Installation level details are stored in different documents and linked together.
Code have been refactored for the change in the storage system
Changes have been Tested
Includes the typescript fixes from #181 and #192

Following are the recent changes

Merge main in this branch
Changes to the variable names  'workflow_name' and 'workflow_title' respectively as 'template_title' and 'template_name'.


Format Code Invalid Cast Exception

Setup.exe's Format Code option causes an invalid cast exception.  I'm currently testing it on a different computer but I have to set everything up all over again and compiling is taking a while... I'll edit this description with the results once it has finished!
For reference, here is the log file
Also, after some testing I've determined that the error is not isolated to a single .cs file or even files that I have edited.

Format code is regretfully broken at this point in time, I should probably hide it

I would also suggest removing it from README.md so that people like me who are interested in contributing don't get confused and waste time trying to debug.  Thanks for the quick response!

https://github.com/bluemagic123/tModLoader/commit/dbefd62132cce8ca9d6d901c342f7c326174c7a8


Add "Save" functionality

Have a "Save" button next to submit.

Code pointers:

FormPage is the component that renders a single form: https://github.com/epicfaace/CFF/blob/d654bc14abcbca36e82b76c73eedf6f1afee2b3b/scripts/src/form/FormPage.tsx#L413
It calls CustomForm, which renders the submit button here: https://github.com/epicfaace/CFF/blob/d20fa3b9c34d6bc29fe632b94d23454c087216a1/scripts/src/form/CustomForm.tsx#L182
We will need to make the form show a "Save" button when this.props.formOptions.responseSaveEnabled is equal to true.
When the "Save" button is clicked, it should do the same thing as the submit button does, but the form page should just stay the same rather than going directly to the confirmation page.


Directory containing plane embedding dataset

Thank you for the great work!
I am trying to run your training code, but was unable to find script to setup your dataset. Could you elaborate more? Thanks!

Thank you for reaching out! We use the same dataset as SparsePlanes for training our model and evaluating it in the two view case. Please refer to their repository for details on downloading the raw images and annotation files.
An additional step required for training this model is extracting and saving plane embeddings which is done by running the PlaneRCNN from SparsePlanes on the images in the above dataset. Please refer to the attached file to see how we did that and the format for saving the embeddings.
After downloading the annotations and saving the embeddings, you should be able to run the training code using train.py with the correct paths for the annotation file folder and the embedding dataset folder specified in --json_path and --path respectively.


Create Function to allow InputBox or Selection

This is tied to #13 which will create a settings file.  It would be good to allow the formatting to be applied to an input or to the Selection.

I guess Application.InputBox takes a parameter Default:= which can be used to start the box with a value.  This works nicely for what I want, which is a default option to use Selection.  I will create a Function that works on this idea with code like:
Set rng = Application.InputBox("Range:", "Range", Selection.Address, Type:=8)

I will wrap it in a Function so that there is some error checking (e.g. Chart is selected) and consistency across all the places where this can be used.  That Function will also pair nicely with a settings file that can override the Input and default to Selection with no prompt.

That is a nice way to solve this. Is the .address required on the selection?

It looks like it.  The documentation claims that it can be a Range but I can't seem to get it to work.  It looks like it wants to coerce that default to its value and not take the Range object.
I will go ahead and create this Function and replace the various InputBox calls with it.

This has been added as GetInputOrSelection.  It still needs a little work to take a parameter for the InputBox prompt.  I did not replace any of the other places with this code yet.  I only used it twice for issues related to error handling (see #31).
The outstanding work on this is then:

[ ] add a parameter for the input box text and title
[ ] replace all of the current InputBoxes with this function

This has been added, so I should re-clone to be updated?

You probably want to sync your fork with this one to get up to date.  Depending on how you're configured, you should probably follow this and possibly this one first if you don't have upstream configured as a remote.
I try to use GitHub for Windows wherever possible (I'm lazy) but am not sure how it handles syncing a fork;  I have not done that yet with it.

I just went and did a pull request on my from yours (web interface). All my projects are in my dropbox folder so syncing one machine will sync all machines. I don't have the client at work so I always end up in teamviewer syncing commits from my w7 home box, ha. The fork syncing process seems a little more complicated than the regular process, what with the upstream and everything. I tried setting it up in osx a while back with terminal and I think I ended up breaking something and backed it out.

I thought it might be more useful to add a parameter to the function -
Function GetInputOrSelection(msg As String) As Range
'etc
Set GetInputOrSelection = Application.InputBox(msg, Type:=8, Default:=strDefault)

This will help with subs like CategoricalColoring where the user needs to identify more than one range for different reasons.

I think this issue is fairly resolved.  There are probably a couple additional things to consider for this Function going forward:

Provide a parameter for the default range (maybe a boolean to use Selection or not).  This will help with those second and third inputs where the selection is less meaningful.
Provide another parameter for the title on the InputBox.  This can default to nothing or "Select range" or something.

Regarding the error handlers, we can probably take a second look at where some of those are placed now.  Since the Function returns Nothing, we can now check for that (If ... Is Nothing Then : Exit Sub : End If) instead of having to catch a downstream error when Nothing.Value or something similar is attempted.

I was just struggling with something similar to the inputbox thing so I came back here looking for it. Apparently if you require Type 8 input (range) and have a range variable being set to the result, the inputbox will throw an error if the user hits cancel (and maybe when the range is blank). This makes it impossible to catch the error with an if this is nothing. I hate error handlers, so I broke the inputbox out into its own function. That way it handles its own errors and doesn't handle any other errors that pop up. Might be useful -
Private Function GetUserInputRange() As Range
    'This is segregated because of how excel handles cancelling a range input
    Dim userAnswer As Range
    On Error GoTo inputerror
    Set userAnswer = Application.InputBox("Please select a single column to parse", "Column Parser", Type:=8)
    Set GetUserInputRange = userAnswer
    Exit Function
inputerror:
    Set GetUserInputRange = Nothing
End Function

I did put this on SO http://stackoverflow.com/a/36630124/1161309

InputBoxes can be a pain. There is a function in butl called GetInputOrSelection that does something similar. It defaults the input to the currently selected range if there is one. Can't remember how I handle the errors though. (I may not)
I'll go over the commits tonight or tomorrow night. My work schedule has temporarily changed a bit and I am away from the computer most of the day.

On Apr 14, 2016, at 11:40, Ray Wise<EMAIL_ADDRESS>wrote:
I was just struggling with something similar to the inputbox thing so I came back here looking for it. Apparently if you require Type 8 input (range) and have a range variable being set to the result, the inputbox will throw an error if the user hits cancel (and maybe when the range is blank). This makes it impossible to catch the error with an if this is nothing. I hate error handlers, so I broke the inputbox out into its own function. That way it handles its own errors and doesn't handle any other errors that pop up. Might be useful -
Private Function GetUserInputRange() As Range
'This is segregated because of how excel handles cancelling a range input
Dim userAnswer As Range
On Error GoTo inputerror
Set userAnswer = Application.InputBox("Please select a single column to parse", "Column Parser", Type:=8)
Set GetUserInputRange = userAnswer
Exit Function
inputerror:
Set GetUserInputRange = Nothing
End Function
I did put this on SO http://stackoverflow.com/a/36630124/1161309
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub


Verify and document the default value of imagePullPolicy

As per the document link http://kubernetes.io/docs/user-guide/images/#updating-images above  "The default pull policy is IfNotPresent which causes the Kubelet to not pull an image if it already exists"
But when i create a deployment , the default value i see for imagePullPolicy is "Always"

The document seems OK now. It has this about latest and Always:
If you did not specify tag of your image, it will be assumed as :latest, with pull image policy of Always correspondingly.


While on Live Share, docstring quotes always auto-inserted at host's cursor

TL;DR: On Live Share, if a remote machine types three quotes, a matching set of three quotes appears at the host machine's terminal instead of the remote machine.
First reported in: https://github.com/microsoft/vscode/issues/127910#issue-936117695
Check there for additional details.
Environment data
Host machine:

VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:07.755Z)
Extension version (available under the Extensions sidebar): 2021.6.944021595
OS and version: Windows_NT x64 10.0.19042
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.1 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python-related VS Code extensions and their versions: vsliveshare v1.0.4583
Value of the python.languageServer setting: default, which is I think pylance

Remote machine:

VS Code version: Code 1.58.2
Extension version (available under the Extensions sidebar): 2021.6.944021595
OS and version: 11.1 macOS Big Sur
Relevant/affected Python-related VS Code extensions and their versions: vsliveshare v1.0.4583

Expected behaviour
While using Live Share, if one of the participants types quote (") three times to create a docstring, the other three quotes should appear at their cursor.
Actual behaviour
The second set of three quotes appears at the host's cursor. See full description in: https://github.com/microsoft/vscode/issues/127910#issue-936117695.
The issue was moved to the live-share repo: https://github.com/MicrosoftDocs/live-share/issues/4353.
Steps to reproduce:

With VS Code on a host machine and remote machine, start a Live Share session and connect with remote.
Have both machines open the same Python file.
On host machine, type three quotes. Docstring should insert correctly.
On remote machine, type three quotes.
Expected behavior is that three more quotes appear at remote machine's cursor, but instead they appear at host's cursor.

I suspect this is an issue with the Python extension - they're probably listening for the triple quotes being typed, and then inserting the closing triple quotes. They should only be doing that if the opening triple quotes were typed by the local user.

This one is interesting; I don't know if the event stream indicates who is the one typing...

I should be able to fix this by not using the cursor at all, but instead use the location of the typing.

This issue has been fixed in version 2021.7.5, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202175-22-july-2021

@jakebailey, good news and bad news.
Good news: The original bug was fixed. Docstring quotes are now inserted at the remote cursor instead of at the host.
Bad news: There's now a new bug where the host's cursor gets moved to the remote's cursor when the docstring quotes are inserted.
Would you like me to submit a new issue for that?

Ugh, so close. Do file a new issue.
I'm a bit at a loss of how to prevent that. VS Code text edits are really finnicky when they are at the cursor. Best would be for VS Code to support multi-character auto-close itself, rather than me implementing it.

Opened ticket #1592


[Release] sdk/resourcemanager/dashboard/armdashboard/0.1.0

Fixes https://github.com/Azure/sdk-release-request/issues/2657

/azp run prepare-pipelines

/azp run go - armdashboard - ci


Restrict access to grunt configuration

Description

Questions
Answers

Why?
Some developers using grunt on live enviroment and they dump the config. The dump is accessible by everyone. That allows the user to see which less and js files are loaded from which plugin and can download easily all resources uncompiled

BC breaks?
no

Tests exists & pass?
yes

Related tickets?
#995

How to test?
Dump the config and request config_[SHOP_ID].json

Requirements met?
Yep!

Thanks @shyim.
For regular customers, it won't have any effect since the file won't be generated without dumping it manually via cli. If you are using grunt in production, make sure to remove the config file or customise your .htaccess file.


Reorg Index on Small File

Description of the issue
When reorganising an index on a database where the file group has multiple files but the index is contained a file that is to small (and cannot grow) to host the new index it just fails instead of attempting a rebuild - I appreciate this is a very particular set of circumstances so will be low priority.
SQL Server version and edition
SQL Server 2016 (SP2-CU5) (KB4475776)
Enterprise Edition
Version of the script
I can't find the version however it is from March 2018.
What command are you executing?
EXECUTE *********.dbo.IndexOptimize
@Databases = 'ALL_DATABASES',
@FragmentationLow = NULL,
@FragmentationMedium = 'INDEX_REORGANIZE,INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE',
@FragmentationHigh = 'INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE',
@FragmentationLevel1 = 30,
@FragmentationLevel2 = 50,
@SortInTempdb = 'Y',
@LogToTable = 'Y'
is executing "ALTER INDEX [PK__shipment__18EE3BAE3D5E1FD2] ON [Sherlock].[dbo].[shipment] REORGANIZE WITH (LOB_COMPACTION = ON)"
What output are you getting?
Could not allocate space for object 'dbo.'.'PK____********' in database 'Sherlock' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

I don't think that I can do anything in the stored procedure, if the filegroup is getting full.


(QUALITY-1395) Include partition_cmd file

@mesosphere-ci retest this please

@mesosphere-ci retest this please


Do not define '#' prefixed names outside autoload directory

Names prefixed with # are used for 'autoload' stuff.  For example, foo# prefix is assumed to be used in autoload/foo.vim.  Currently racer# prefix is used outside autoload directory in this repository, but it means that it may not work if autoload/racer.vim exists.
I removed racer# prefixes and simply add Racer prefix to define global functions.
Please see :help autoload for more detail

Thanks v much @rhysd. Sorry for the delay in merging

Thanks for merge!


race metadata

it might be cool to have race metadata - i'm thinking how many BBs each player got, whether the players PB'd, and maybe something like "hilarious event occurred"
in my imagination it looks something like this:

there's a new metadata fields table, which has columns like key, type, where type is e.g. "integer" or "string"

maybe we don't worry about the type and everything is just freeform

admins can create new metadata fields. probably the starting set is "p1 bb, p2 bb, p1 pb, p2 pb, hilarious events, restream VoD link"
there's a new metadata table taht's like race_id, metadata_field_id, value, who_set_it
admins can modify metadata on any races they want, preferably through the UI

possibly racers can also modify metadata on their own races
maybe non-admins can also set (but not update/delete) metadata on races, so that we can let viewers or archivists provide data

oh, i guess we could also treat rtgg room as race metadata instead of having it attached to the race model...

vods data (incomplete) https://docs.google.com/spreadsheets/d/1gCL22o-T3c8Lw1eyLhdMwg4SSpMdcvN5Oo-W42FFJAo/edit#gid=1573367913


⚠ Bofrost.nl has degraded performance

In 486b2a3, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1164 ms

Resolved: Bofrost.nl performance has improved in 55af514.


Fix parse error if a docstring occurs at EOF without a newline

There's currently a bug in the parser in that a feature file that ends in a docstring without a final newline is a parse error. This PR fixes that.

Thanks!


Use logging.ERROR as default logging level

Fixes #14

Codecov Report

Merging #15 into main will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff          @@
##            main     #15   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          4       4
  Lines         76      76
=====================================
  Misses        76      76

Impacted Files
Coverage Δ

src/opentelemetry/lightstep/configuration.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e954cbb...a24476f. Read the comment docs.


"crosstool_wrapper_driver_is_not_gcc" build fail

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian 10 Buster, backports kernel 5.6.0
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Source
TensorFlow version: HEAD git branch
Python version:3.8
Installed using virtualenv? pip? conda?: included scripts with git clone
Bazel version (if compiling from source): 3.1.0
GCC/Compiler version (if compiling from source): GCC-8.3.0
ROCm/MIOpen version: 3.5.0
GPU model and memory: Radeon VII, 16GB

git clone https://github.com/ROCmSoftwarePlatform/tensorflow-upstream
cd tensorflow-upstream
./build_rocm_xla_python3 or ./build_rocm_python3 (both have the same failure)

This is the kicked off error:
ERROR: /home/charlie/tensorflow-upstream/tensorflow/python/tools/BUILD:226:1 C++ compilation of rule '//tensorflow/core/kernels:cwise_op_gpu' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command
Let me know if there's a fix! Everything i've seen online was for nvidia GPUs.

You have two options:

To compile by yourself, make sure to copy over the the workaround as indicated here.
To use a pre-built docker, start with below:
$ docker pull rocm/tensorflow-autobuilds:latest


how to train on my own dataset

hello everyone!I want to train this model on my own dataset(3D organ-segmentation),I want to know which do I need to modify?And I hope to know the pre-processed methods

+1

+1


proc macro not expanded: Proc macros are disabled

I see a warning when running [tokio::main]:
proc macro "main" not expanded: Proc macros are disabled.
Is there any way to disable this warning?

yeah same, this happens if i go to definition and it opens some other dep of the project, it starts building all the stuff and then I get this everywhere too. Super annpying

Yes I have this exact same problem, the macro expansion still works though even after it mentions this error...

I also have this problem. I use the original lsp-config without using rust-tools to solve this problem well, and it is faster than rust-tools.

I also have this problem. I use the original lsp-config without using rust-tools to solve this problem well, and it is faster than rust-tools.

Do u have inlay hinting there too? If yes, would you mind sharing this part of your config please! Cheers!

I also have this problem. I use the original lsp-config without using rust-tools to solve this problem well, and it is faster than rust-tools.

Do u have inlay hinting there too? If yes, would you mind sharing this part of your config please! Cheers!

You can refer to this：reddit
This post says that Native LSP Inlay Hint is already supported in the Nightly version of neovim.

Is there any way I can reproduce this?

Is there any way I can reproduce this?

yes ser, all u need to do is to open some rust project, for example, something that uses tokio::spawn(), and then do "go to definition" on "spawn()" method or any other method u r using from an external crate. Rust analyzer will start fetching everything and then it will produce this warning. The warning will stay until u restart the lsp and u will see this warning even in the original code from where you jumped from.

I'm not sure about the exact steps to reproduce but it happens pretty often to me. Any proc macro can trigger this, not necessarily tokio::main. LspRestart doesn't always help when that happens, only restarting neovim reliably does.


Capture character distribution within strings in SSTs

Extends the structural treatment of strings in SSTs to widen strings shorter than stringMaxLength to an array of their characters allowing the preservation of positional character distributions. This enables SSTs to capture much of the structure that may be embedded in a string (i.e. SSNs, phone numbers, UUIDs, temporal, etc).
#qz-3719 Done.

Cool!

We aren't currently using SSTs in the frontend so :+1:


Fixed possible null pointer exception in testing center

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Support for stepped execution?

Is it possible to step through execution (to form the basis for a debugger)?

A little bit difficult. Actually debugger statement is supported, but I just found there's a bug and I will fix it soon

Debugger statement has fixed for minimized version. I will try to add a step method for executing the code step by step in the future.

@Siubaak - Adding a mechanism for step-by-step execution (along with a callback API to process after each step operation and some API to examine locals on the stack, etc) would make this project very, very useful to me. I am trying to build a lite version of the Chrome DevTools debugging environment, so you can imagine what type of API I would need to introspect the stack, locals, etc. as the user steps.

I found a repo that may meet you guys requirement

JS-Interpreter by @NeilFraser is the best one I have found for stepped execution.

@carloslfu, JS-Interpreter only supports ES5 and you would have to transpile :/. Also the API is not as pleasant as with sval.

Is there any update here?

Is there any update here? +1

这里是否有任何更新？+2

Currently I don't have spare to finish this

Currently I don't have spare time to finish this feature.

Currently I don't have spare time to finish this feature.
If you guys want to step through execution or debug scripts in browser/node.js/jscore... environment, highly recommend vDebugger. @beetaa @ShotiQ @scgm0 @bedney @djMax


Can't separate numbers from strings

Hi
I have trained a RandomForest algoritm and it won't separate numbers from strings.
This is my class:
<?php
declare(strict_types=1);

namespace PhpmlExamples;

include '../../vendor/autoload.php';

use Phpml\Classification\Ensemble\RandomForest;
use Phpml\Dataset\CsvDataset;
use Phpml\Dataset\ArrayDataset;
use Phpml\FeatureExtraction\TokenCountVectorizer;
use Phpml\Tokenization\WordTokenizer;
use Phpml\CrossValidation\StratifiedRandomSplit;
use Phpml\FeatureExtraction\TfIdfTransformer;
use Phpml\Metric\Accuracy;

$dataset = new CsvDataset('../data/languages.csv', 1);
$vectorizer = new TokenCountVectorizer(new WordTokenizer());
$tfIdfTransformer = new TfIdfTransformer();

$samples = [];
foreach ($dataset->getSamples() as $sample) {
    $samples[] = $sample[0];
}

$vectorizer->fit($samples);
$vectorizer->transform($samples);
$tfIdfTransformer->fit($samples);
$tfIdfTransformer->transform($samples);

$dataset = new ArrayDataset($samples, $dataset->getTargets());

$randomSplit = new StratifiedRandomSplit($dataset, 0.1);

$classifier = new RandomForest();
$classifier->setFeatureSubsetRatio('log');
$classifier->train($randomSplit->getTrainSamples(), $randomSplit->getTrainLabels());

$predictedLabels = $classifier->predict($randomSplit->getTestSamples());

$examples = [
    ['content' => 'I need to build this english sentence by myself'],
    ['content' => 'Italiano pizza pasta margeritta'],
    ['content' => 'Do I have to change?'],
    ['content' => 'Je voudrais une boîte de chocolates.'],
    ['content' => 'irewhgewruhgiee e retyrtyrt'],
    ['content' => '64564'],
    ['content' => '5476'],
    ['content' => '9925'],
    ['content' => '24'],
];

foreach ($examples as $example) {
    $newSample = [$example['content']];
    $vectorizer->transform($newSample);
    $tfIdfTransformer->transform($newSample);
    echo $classifier->predict($newSample)[0] . '<br>';
}

var_dump($examples);

echo 'Accuracy: '.Accuracy::score($randomSplit->getTestLabels(), $predictedLabels);
?>

And this is my training data:
`"content","label"
"123","number"
"6546","number"
"548","number"
"5678","number"
"583","number"
"38","number"
"454","number"
"28655","number"
"65","number"
"3568","number"
"5679","number"
"5679","number"
"96","number"
"Where's the nearest railway station?","string"
"The storms caused flooding.","string"
"Where is the duty free shop?","string"
"I witnessed it happening.","string"
"I would like two postcards, please.","string"
"How about going to the cinema?","string"
"Où est la boulangerie?","string"
"Je voudrais une boîte de chocolates.","string"
"Y a-t-il un autre hôtel près d'ici?","string"
"Vérifiez la batterie, s'il vous plaît.","string"
"La banque ouvre à quelle heure?","string"
"Est-ce que je peux l'écouter?","string"
"Vous devez faire une déclaration de perte.","string"
"Combien des élèves y a-t-il dans votre collège?","string"`

Any ideas why RandomForest recognise all strings as numbers?

moved to:
https://github.com/php-ai/php-ml/issues/282


Minor updates

Updates version of node so the runtime is not deprecated anymore.
Makes better error message

Oh wait, you'll need to update the dist index.js as well

Yep - done! How is this released? just creating a a GH release?


KeyErrors in scheduler with large dataset and sklearn

I am running ElasticNetCV.fit() in parallel using Dask client.submit, and continue to see KeyErrors in the scheduler. I'm not sure if this is a problem, but it seems to be for large datasets. The fits finish despite the errors on smaller datasets, but with with higher NxP and default tolerance, I have yet to see the fit complete. On a single box using pandas/sklearn, it always completes.
Note that my call to client.submit includes an int parameter that isn't used in the process method. Without it, I would only see one instance of process() running, even though the results would include 2 models
The errors:
distributed.scheduler - ERROR - 'ndarray-e2403ddc588fc5516afcb36223c43bf3'
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/distributed/scheduler.py", line 1753, in update_graph
resources=resources,
File "/opt/conda/lib/python3.7/site-packages/distributed/diagnostics/graph_layout.py", line 48, in update_graph
deps = dependencies[key]
KeyError: 'ndarray-e2403ddc588fc5516afcb36223c43bf3'
distributed.scheduler - INFO - Plugin failed with exception
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/distributed/scheduler.py", line 4359, in transition
plugin.transition(key, start, finish2, *args, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/distributed/diagnostics/graph_layout.py", line 91, in transition
self.state_updates.append((self.index[key], finish))
KeyError: '_path_residuals-batch-923e2deb56564bd2923f7337cdffc9fb'
...errors repeat
Example code. On my test cluster of 2x96 cores, it completes, but logs the above errors.
import numpy as np
import dask.array as da
from dask.distributed import Client
from sklearn import linear_model
from joblib import parallel_backend
from dask_glm.utils import make_y

client = Client(<scheduler>)

N = 200000
P = 10000
chunks = 3e3

beta = (np.random.random(P) - 0.5) * 3
X = da.random.random((N,len(beta)), chunks=(chunks,P))
y = make_y(X, beta=np.array(beta), chunks=chunks)

def process(x, y, i):
    enet = linear_model.ElasticNetCV(fit_intercept=True, tol=0.5, normalize=True, n_jobs=-1, max_iter=50000, selection='random')

    with parallel_backend('dask'):
        enet.fit(x, y)
    return enet

results = [client.submit(process, X, y, i) for i in range(2)]
client.gather(results)

Thanks for raising this. The scheduler will retry failed tasks a couple of times, so you may be seeing an intermediate failure which ends up succeeding on retry.
@TomAugspurger or @mrocklin may be able to advise more here.

@kaptravis what version of joblib are you using?
We have a few of these issues open I think. https://github.com/scikit-learn/scikit-learn/issues/15383 is one, though that's a CancelledError.

We're using joblib 0.14
I've seen similar issues like the one you mention, but it's difficult to tell if it's related

This is a bug in the graph layout code in the dashboard, I think because of different key types.  It shouldn't affect actual operation.  It would be great if someone were to fix this, but it's not critical.


Fix electron v8

Goal
Fix the electron tests on v8 branch
Design
Set max_body_size: 25mb on the verdaccio config (local npm where packages are published for the electron tests) to allow for the increased size of @bugsnag/react-nativein v8.
Note the increase in size is expected and is because it contains both prefabs (which are unstripped and have a ton of extra debug info), and the classic JNI .so files. Depending on peoples builds only one gets used, and prefabs are processed before being included in the app. The size of .apk files doesn't get affected, just the .aar files.

@djskinner you can resolve the electron issue by pinning @vercel/webpack-asset-relocator-loader to 1.7.3 - a new version was released last week and seems to have introduced this issue. I also have the fix in https://github.com/bugsnag/bugsnag-js/pull/2143


More bad links on the API doc site.

https://www.textmagic.com/docs/api/

TextMagic SMS API (at the top of the page) - this links to a test environment
The node.js and CSharp links don't go anywhere, presumably because those APIs are still a work in progress.

https://www.textmagic.com/docs/api/sandbox/
The TextMagic Sandbox at the bottom of the page 404s.

https://www.textmagic.com/docs/api/distribution-lists/
The marketing site link 404s.

https://www.textmagic.com/docs/api/contacts/
Comma-separated list ID - this link 404s.

https://www.textmagic.com/docs/api/sub-accounts/
Array of user resources	See Account section for details.  The Account link here 404s.

https://www.textmagic.com/docs/api/invoices/
You can now check our Code libraries - another 404.

https://www.textmagic.com/docs/api/response-codes/

Current user has no rights to perform the specified action. For example, regular users cannot view Invoices 404 or Sub-Accounts 404 - these two links 404.

https://www.textmagic.com/docs/api/restrictions/
The Encoding link at the bottom of the page points to the test site too.

https://www.textmagic.com/docs/api/perl/
The Download link 404s.

Fixed.


Client.cancel_document() raises "Only drafts and cancelled documents can be deleted"

There's a slight error with the workflow for Client.cancel_document(), it passes through to Client.delete_document() but then the if statements throw an error before checking whether the cancel flag is set.
This line https://github.com/eversign/eversign-python-sdk/blob/master/eversign/client.py#L348 throws:
Exception: Only drafts and cancelled documents can be deleted
This line https://github.com/eversign/eversign-python-sdk/blob/master/eversign/client.py#L352 needs to be higher up.

Fixed in #7


Any uppercase characters in urls breaks oauth signatures

all the url components are set to lowercase before the base signature is computed, so the signatures don't match on the server side

Is it standard behavior for server implementations to lowercase the URL components?

I don't think so. That would seem to break oauth, but I'm not an expert. I just know this fixed my situation.

Most of my experience is coming from the oauth-plugin gem for rails, which doesn't.


Support older browsers; string deserialisation broken on Firefox < 30

We would need support for older browsers, which are not supported by buffer.js. There's better support e.g. in the buffer package in npm. Could pbf use that instead of buffer.js?
The concrete issue with Firefox < 30 is that toString cannot be overridden by buffer.js, resulting in all strings deserialising as "[object Uint8Array]" instead of the actual data.
Another browser supported by buffer but not buffer.js is IE9.

I made buffer.js instead of buffer because of some performance optimizations tailored specifically for pbf, and to make the build as lightweight as possible. Not sure if it's worth supporting old browsers in this library. As a workaround, you can put a compatible Buffer into a global scope, and it will be used instead: https://github.com/mapbox/pbf/blob/master/index.js#L5

Based on the browser version usage stats, I don't think it's worth significantly complicating the code to support unused legacy versions like this. E.g. IE9's usage is 0.51%. And there's a workaround above for those who need it.


Add Quantum Computer Mechanics

QForcers
QCrackers
IBM Quantum Experience account stuff

 Quantum Computer Mechanics:

Will reopen when relevant