Complete Week3 Step4 & 5

Implement a functionality for visitor to leave comments on the site.
Display all history comments on the page

Note that since data is only stored in a variable at this time, the data will be lost when the server restarts.
UI looks like:

I accidentally pushed my changes to this PR, so I guess I'll just continue on this thread.
The new commits include step5, which uses datastore to store the comments.

The thread safety problem mentioned before could be solved by datastore. So synchronized keyword is not used
Since I separate DataServlet into two servlets to handle get and post requests separately, and there will also be a DeleteServlet later in step6, I decided to keep Message.java as it is so as to increase code reusability.

Screenshot of the database admin page looks like:

UI looks like:

I accidentally pushed my changes to this PR, so I guess I'll just continue on this thread.
The new commits include step5, which uses datastore to store the comments.

The thread safety problem mentioned before could be solved by datastore. So synchronized keyword is not used

Screenshot of the database admin page looks like:

UI looks like:

A PR title is not the project title.
It should briefly illustrate what you have done.
Consider providing a more concrete title next time.


Fixes #174: Fixed playground didn't update editors.

It seems due to state updates (and triggered render) in Codemirror#componentWillReceiveProps being always executed asynchronously while our Editor component needs then to run in sync for consistent rendering according to local state.

Also filed https://github.com/JedWatson/react-codemirror/issues/47 about the source issue.
Published the playground with this patch, works fine: https://mozilla-services.github.io/react-jsonschema-form/.
r=? @leplatrem

It works and I can notice that the rendering is costly (keep a key pressed in the editor while rendering the large forms)
I would r+ since you seem sure about it :)

I've just applied the setImmediate trick to a bunch of other components and it seems to improve the performances; could you recheck the playground at https://mozilla-services.github.io/react-jsonschema-form/ to see if it's actually better for you? Don't forget to force-refresh the page.


Change default k8s schema source to be the builtin schema

This changes the default schema source for kpt to be the built-in schema rather than the cluster. This addresses reported issues about kpt being very slow.

/lgtm


fix: fixed word in Portuguese translation

fixed one incorrect translation, 'contas' for 'contar'

Thanks @bkmoises!


require function without module resolution

Currently, arguments in require are processed by tstl's module resolution. However, sometimes I want an escape hatch from tstl's module resolution and just use raw lua require behavior (due to the environment). There currently is no good way to do this. There is a workaround like below:
const modName = "someModule.foo"
const bar = require(modName)

This highlights the inconsistency in how string arguments in require functions are automagically processed, but variables are not.
Here are some possible solutions to this:

Let only import statements use module resolution, and leave require statements alone. This would be a backwards incompatible change. However, require() is a a function only defined in lualib, so it could make sense for it to follow the same behavior as plain lua. This would also remove the inconsistency between using/not using a string literal as an argument to require.

Looking through the code base, specifying require("@NoResolution:someModule)" is already a way currently to get around resolution. This could be officially supported/documented, and still allows requiring TS-style imports.

Invert the previous method and have only require("@ts:someTsModule") be processed by module resolution. This would get some of the best parts of the above 2 ideas, but would make it harder for tooling to detect such requires.

Introduce a language extension function $require that translates to plain lua require, and leave require currently as is. Or, inverted, $require should use module resolution and plain require does not.

Import assertions (in the future) could be cool, but I'm also talking about the require function itself for conditional/variable requires.

After further consideration, I think it would be best that a raw require in ts code always avoids tstl resoluton. My reasons are as follows:

require is only defined in lualib. It makes sense for lualib functions to have lua-equivalent behavior. It also returns any, so no type information is gained either.
This removes the confusing error message when require functions are used, and avoids the discrepancy between using/not using a string literal as argument to require.
One could still explicitly request tstl resolution by using a prefix in a string literal such as @TstlResolve.

I've made a pull request that drafts the above proposal as a proof of concept

Why was the pull request closed?
I'd also be interested in something like this as I'm working in an environment where the default lua require has been modified and would thus need a way to just call plain require without module resolution

This should be covered by #1475


Usergroups

Trying to continue from the previous work to support usergroups
Closes #63 #76

Turns out I can use a cool new Github feature to help on this.
Thanks a lot for the PR @whiteley, awesome job!


OSD Dialog doesn't show currently playing song

Hi! First of all, thanks for developing this great app!
I have a problem with displaying currently played song, nothing is shown, see the screen shot
OS: Mac OS X 10.10.5,
Radiant player 1.5.0

Hey @can3p - I believe this was fixed in https://github.com/radiant-player/radiant-player-mac/pull/400 and should be in the next release.
In the meantime, you can either build your own binary from the master branch, or save some time by using this version I built 2 days ago as part of a (now merged) PR https://github.com/chrismou/radiant-player-mac/releases/download/v1.5.0-cyan/RadiantPlayer.app.zip - it's tagged as 1.5.0 so you should be prompted to update as normal when the next release is out.

This build works for me, thanks a lot!

Thank you :+1:


CLOUD-43945 downgrade to Ambari 2.1.0

There is a bug in 2.1.1 which prevents using the attached disks

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1764/


Bad bitly links

https://docs.microsoft.com/en-us/archive/msdn-magazine/2013/february/microsoft-office-exploring-the-new-javascript-api-for-office
The bitly links take you to a camxhot url, a youtube, video, and other random bait.

Thank you for the report, the links should be fixed.


Typescript rewrite

While developing v3.0.0, I was experimenting with Typescript (which Vento happens to be written in) and could see the benefit of rewriting this plugin in TS in order to handle types in a more terse fashion, while also making generated .d.ts files available to anyone installing this package.
Development of this feature is tracked in refactor/typescript.

Experimental Typescript support (and types) are now available in 4.0.0-beta.0 and later!


Change text color to light gray

@qhho do you want me to make PRs for small changes like this, or just merge it directly into master?

I think we can merge it directly.


Add Get PCI Devices, Add Bold Green Color,  Rename White Color

Partially Fixes: ls* Family Issue

[x] Added Get PCI Devices Function

[x] Added Green Color and renamed White Color to match others

To see the output of PCI Devices:
do as
./termiboard.exe -pci-devices

I had to do some research, I feel this could be more optimised, we need to come up some kind of priority class to display only some devices info first, this full list could be a accessed by a separate flag command. @aryan9600 i don't think a table would help in listing out PCI devices.

Yeah a verbose flag makes sense to me. Basically wanted to avoid the output taking up the entire screen xD

@DarthBenro008 @aryan9600 Please review it, and let me know if there are any changes.


Schedule editor angular prototype

The basic functionality of the schedule editor is converted to Angular in this PR.
It's still a WIP since I'm trying to figure out the Jasmine stuff for our CI server, and also looking at the full PR, there is a lot of stuff that has changed that should probably be updated (such as the dollar_j.js).

The last update includes the following fixes -

Fixed calendar control to work correctly in the Angular environment
Fixed "Add a new schedule" crash
Added pristine/dirty checks for all fields
Created separate views for buttons and authorization that can be reused in the other Angular forms
(a DRYing-up effort for our views)
Added a new directive 'verifypasswd' that does a realtime password matching check
Fixed Jasmine specs

What's the ETA on this PR being reviewed?  As it is now, it's enormous and impossible to review so we'll have to test it in production and fix any fallout.  Thoughts?

@AparnaKarve As discussed, found a couple of issues with Cluster drop downs and adding duplicate named schedules.

@dclarizio The Cluster drop down issue is fixed.
As far as adding duplicate named schedules goes, as we discussed, its an issue in master as well and can be fixed in a separate PR since its not related to the angular changes.
Please review. Thanks.

@AparnaKarve The issue with selecting a cluster is fixed for Cluster Analysis, but not for Host or VM Analysis/Compliance Check.

To find the schedule editor, go to Configure->configuration->settings->Schedules
(adding this here since I can never find it, and none of the PRs that touch it mention where it is :))


Pin llvmlite and NumPy on release branch.

I did a manual conda build to verify the meta.yaml changes


doc: expose comment as API doc

Coverage remained the same at 100.0% when pulling 144c7ddceca38b2c660cc8aa15e70c601195b747 on tshepang:expose into 30fd98426b90576a8b5d5a43822309bb48896731 on softprops:master.


Bounding box position shifted

Hello,
I used your logic in converting labelme json file to yolo text file. The dimension of the box is not much changed but the position seems to be shifted from the actual locations. Hence the yolo model is not able to detect the actual object in the object detection task

Hi can you provide a concrete example?

Hello, Actually it was a mistake on my end in calculating the center points in the conversion code. I corrected the same, and now it's working well.

Oh I see. Thanks for your reply. Please close this issue.


Mm 49611

Summary
Remove lingering boards and intergrations limits code.
Ticket Link
https://mattermost.atlassian.net/browse/MM-49611
Related Pull Requests
This can be merged and deployed by itself. It doesn't depend on any server changes although there are some related PRs to remove the backend side of code:

customer-web-server: https://github.com/mattermost/customer-web-server/pull/1050
mattermost-server: https://github.com/mattermost/mattermost-server/pull/22054
enterprise: https://github.com/mattermost/enterprise/pull/1368

Screenshots
System console

Informational modal

Downgrade modal

Release Note
Do not mention boards cards as being limited in system console, limits usage modal, downgrade modal, or LHS menu.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

/update-branch

@yasserfaraazkhan gentle ping for review

/update-branch


Stack not appearing correctly

If I have 3 items in a stack only 2 items show in the stack and the 2nd item is very transparent.  If I have 2 items in a stack it shows as expected.
How can I fix this?

Describe the bug
A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
To Reproduce
<Carousel
          data={images}
          defaultIndex={0}
          renderItem={renderItem}
          vertical={false}
          loop={true}
          autoPlay={false}
          style={{
            width: '100%',
            height: imageHeight,
          }}
          width={
            fullScreen
              ? screenDimensions.width - 20
              : (screenDimensions.width - 20) / 2
          }
          mode="horizontal-stack"
          windowSize={5}
          snapEnabled
          pagingEnabled
          modeConfig={{
            snapDirection: 'left',
            stackInterval: 15,
            rotateZDeg: 0,
            scaleInterval: 0.01,
          }}
          customConfig={() => ({ type: 'positive', viewCount: imageCount })}
          panGestureHandlerProps={{
            activeOffsetX: [-20, 20],
            failOffsetY: [-20, 20],
          }}
        />

Expected behavior
3 item stack should show the same as a 2 item stack
Screenshots

Versions (please complete the following information):

react: v18.2
react-native: v0.72.10
react-native-reanimated: v3.6.2
react-native-reanimated-carousel: v3.5.1
react-native-gesture-handler: v2.12.0

Smartphone (please complete the following information):
All devices
Additional context

anyone else experience this?

+1. Wanna to have ability for count of previews and offsets between them


Florence 2 & New Release APK

Hello, awesome project the release last is from January can you release a new apk
also if you can add this model support too:
https://huggingface.co/microsoft/Florence-2-large

Thank you for your attention to our project. We have added Florence 2 to our Roadmap and will support it in the future.


Their is no footer in the website and also website is not responsiv in small device  and navbar UI could be better

Is your feature request related to a problem? Please describe.
THeir is no footer in the website and also website is not responsive
Describe the solution you'd like
I want to add footer in the website and also want to improve its responsiveness and want to improve navbar Ui.
Describe alternatives you've considered
The navbar and footer will be responsive

@1e9abhi1e10 I am writing to kindly request your attention and consideration in reviewing and accepting my pull request. I would greatly appreciate it if you could allocate some time to review the pull request and provide your feedback. If there are any areas that require further attention or modifications, please let me know, and I will be more than willing to address them promptly.

Go Ahead @lakhan06


Remove all of the build.release.yaml, use --release

Set min dependency on build_runner to 0.8.2 and build_web_compilers to 0.3.6
Configure dart2js in build.yaml iff you want special config https://github.com/dart-lang/build/blob/master/docs/getting_started.md#switching-to-dart2js
otherwise, do onthing
Set up any auto-build to pass in --release instead of --config release
Delete build.release.yaml

CC @natebosch @jakemac53

Unless these are the default dart2js_args, we cannot do that:
          dart2js_args:
          - --dump-info
          - --fast-startup
          - --minify
          - --trust-type-annotations
          - --trust-primitives

You can configure the defaults using build.yaml - https://github.com/dart-lang/build/blob/master/docs/getting_started.md#switching-to-dart2js

Ah got it. Pull requests welcome...

Closed by #1218, thanks @Kleak!


Memory Error in Initial Training Predictions

Code:
squared_differences = np.square(initial_train_preds - rating_train.values)
absolute_differences = np.abs(initial_train_preds - rating_train.values)

print("Random init MSE:", np.mean(squared_differences))
print("Random init MAE:", np.mean(absolute_differences))

Error:
MemoryError                               Traceback (most recent call last)
<ipython-input-35-efe9fecca146> in <module>()
      1 import numpy as np
      2
----> 3 squared_differences = np.square(initial_train_preds - rating_train.values)
      4 absolute_differences = np.abs(initial_train_preds - rating_train.values)
      5

MemoryError:

Dataset too large, hence I won't be conducting these operations anymore.


@types/moment seems to be removed.

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Mac OSX

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.11-webpack.2

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

npm install @types/moment --save-dev

The log given by the failure. Normally this include a stack trace and some
more information.

The @types/moment file didn't exist definition file (moment.d.ts)

Thanks! We'll be in touch soon.

This really isn't a CLI issue.  @types is managed by Microsoft.  (FYI, you can search for types at https://aka.ms/types)
@types/moment is a stub for the already included types in the moment package itself.

Okay, I know. I just think that taking npm install @types/moment --save-dev be example isn't a good choose.

Good point.  An example using a library without included type definitions would probably be more appropriate.

@myAoyue if there isn't a problem I would say we can close this issue.

Good point really, I didn't know types already had typings in at the time. I'll update it.

https://github.com/angular/angular-cli/pull/1813 updates the example to use d3, which does not package typings.


RWA-2184 push back to config version 3.3.7

Please remove this line and everything above and fill the following sections:
JIRA link
https://tools.hmcts.net/jira/browse/RWA-2184
Change description
This service fails to work with config later than 3.3.7 temporarily going back to 3.3.7 until a permanent fix can be implemented.
This also fixes the issues with Jenkins deprecated commands that will stop it building at the end of January 2023
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x ] No

This seems to work:
First the cve check that is run by Jenkins nightly
~/projects/cnp-jenkins-library/resources/uk/gov/hmcts/pipeline/yarn/yarn-audit-with-suppressions.sh
yarn audit v1.22.19
0 vulnerabilities found - Packages audited: 243
Done in 1.64s.
Then yarn start:dev with all the wa-kube-environment up, wa-ccd-definitions uploaded and with wa-workflow-api, wa-case-event-handler, wa-task-manager-api and wa-task-monitor all running happily.
yarn start:dev
yarn run v1.22.19
$ NODE_ENV=dev nodemon --config nodemon.json
[nodemon] 2.0.19
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): src/main/**/*
[nodemon] watching extensions: ts,js
[nodemon] starting ts-node ./src/main/server.ts
ApplicationInsights:APPINSIGHTS_INSTRUMENTATIONKEY is in path of deprecation, please use APPLICATIONINSIGHTS_CONNECTION_STRING env variable to setup the SDK. []
2023-01-26T13:42:31+00:00 - info: [applicationRunner] Attempting to read properties from volume: '/mnt/secrets/'
2023-01-26T13:42:31+00:00 - info: [applicationRunner] Could not find properties to load, check your config, you can ignore this if you don't expect any
Info: [services/task-monitor-service.ts]: environment variable job.name value is JOB_NAME
Info: [services/task-monitor-service.ts]: Attempting to create a job for task undefined
Info: [services/s2s-service.ts]: Attempting to request a S2S token
2023-01-26T13:42:33+00:00 - info: [server] Application started: http://localhost:9999
Info: [services/s2s-service.ts]: Received S2S token
Info: [services/task-monitor-service.ts]: Status: 200
Info: [services/task-monitor-service.ts]: Response: {"job_details":{}}
Info: [utils/exit.ts]: Job will now exit with code 0
[nodemon] clean exit - waiting for changes before restart


Both (npm run & gulp) docs commands no longer work.

Both (npm run & gulp) docs commands no longer work.

Hi @jakeNiemiec Thanks for tracking this. I just pushed up a couple things that help however it does not solve it. There are now errors related to rxjs... likely related to fact that beta.4 is being used here and not beta.2 as advised. I may wait this out until angular supports latest beta.6. I'll keep an eye on this, thanks.

@NathanWalker Thanks, this made me realize that you need a foundation of knowledge to work with this stuff; no one seed project is a silver bullet.

I was trying to get this to work, but it seems like TypeDoc is not being so friendly. They are using TS 1.6 and we're on 1.8 already. And it seems like TS 1.8 solves the Ambient modules cannot be nested in other modules issue. :/
Maybe consider moving to https://github.com/docscript/docscript or even better https://blogs.msdn.microsoft.com/typescript/2016/02/22/announcing-typescript-1-8-2/

@NathanWalker - FYI Blake officially has ownership of all things TypeDoc. It's been pulled ( prematurely imo ) so if we want this working, it's going to have to be a deviation from the parent seed.
Blake has published the TS 1.8 updates to make TypeDoc current again and there is no reason to question his ability to maintain an OSS project.
Assuming you want to keep TypeDoc, I can fix the docs stuff again after I fix #101

Thanks!


Upload success but file not found

I am getting a success response for the file upload but i cant find the file in my s3 bucket

The npm version of this package should make it easier for you to spot the problem https://www.npmjs.com/package/s3up also make sure you have the permissions on your bucket set correctly.


Field default value not working

Hi, I am trying to define default value for field but it is not working. I've tested this only on Boolean and Text field without any success.
Example code:

use Outl1ne\NovaSettings\NovaSettings;
use Laravel\Nova\Fields\Text;

NovaSettings::addSettingsFields([
    Text::make('Test', 'test')->default(fn() => 'default value'),
    Text::make('Another test', 'another_test')->default('default value'),
]);

Docs about default values: https://nova.laravel.com/docs/4.0/resources/fields.html#default-values

Insert your default value into the database instead. I don't think it's okay to show a setting having a value when in reality it's not in the database. ;)

I am trying to add setting for something that was enabled by hardcoded value in code. Now if I add Boolean field to settings and someone just click save it will store false value in database rather than true.
To be more I am developing something that is shipped as package and I cannot be 100% sure that someone will migrate default value to the database.

If anyone ever stumble upon similar issue then "default" method behavior can be reproduced using third parameter (resolve callback) of field:
NovaSettings::addSettingsFields([
    Boolean::make('Test', 'test_setting', fn() => $this->resolveTestSettingValue()),
]);

public function resolveTestSettingValue(): bool
{
	$value = NovaSettings::getSetting('test_setting', null);

	return $value !== null ? boolval($value) : true; // true is the default value
}

Very useful @Dartui this works
Number::make('Notifications Duration', 'notifications_duration', function () {
    return NovaSettings::getSetting('notifications_duration', 8000);
}),


Load a google proto file with imports

Hi,
I have an Issue that seems to be in Node 12 & 14.
I'm trying to load the proto of the embeddedAssistant and the imports are loaded with a wrong path.
My test code, that I used on RunKit:
`
const googleProtoFiles = require("google-proto-files");
const protobufjs = require("protobufjs");
const eaPath = googleProtoFiles.embeddedAssistant.v1alpha2;
googleProtoFiles.load(eaPath).then( PD => {
console.log(PD)
});
`
Error:
"(node:1) UnhandledPromiseRejectionWarning: Error: ENOENT: …assistant/embedded/v1alpha2/google/api/annotations.proto'"
On my own code I get the same issue.
So the import statements is getting looked up with "assistant/embedded/v1alpha2/" as root instead of the google-proto-files part.
Is there any option to set this? I also looked into the protobufjs but could not find anything helpful.

Maybe as a more direct question. How can I load a proto file that is part of this module?
I thought this should work:
const googleProtoFiles = require("google-proto-files");
const protobufjs = require("protobufjs"); // Only needed by RunKit

googleProtoFiles.load( googleProtoFiles.embeddedAssistant.v1alpha2 ).then( PackageDefinition => {
console.log(PD)
});

After some debugging, I could find out that because of some reason the imports are not getting correctly resolved of the protos, so the embedded assistant (also valid for others!) requires the LatLng, however if I add the type directly everything works with these modules:
const grpc = require('grpc');
const protoLoader = require('@grpc/proto-loader');
const protoFiles = require('google-proto-files');
const packageDefinition = protoLoader.loadSync( path.relative(process.cwd(), protoFiles.embeddedAssistant.v1alpha2) );

const packageObject = grpc.loadPackageDefinition(packageDefinition);
const embedded_assistant_pb = packageObject.google.assistant.embedded.v1alpha2;
const latlngPb = packageObject.LatLng;

Otherwise I get this Error:
no such Type or Enum 'google.type.LatLng' in Type .google.assistant.embedded.v1alpha2.DeviceLocation
at Type.lookupTypeOrEnum (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:410:15)
at Field.resolve (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/field.js:265:94)
at Type.resolveAll (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/type.js:304:21)
at Namespace.resolveAll (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:307:25)
at Namespace.resolveAll (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:307:25)
at Namespace.resolveAll (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:307:25)
at Namespace.resolveAll (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:307:25)
at Root.resolveAll (/...node_modules/@grpc/proto-loader/node_modules/protobufjs/src/namespace.js:307:25)
at Root.resolveAll (/.../node_modules/@grpc/proto-loader/node_modules/protobufjs/src/root.js:248:43)
at Object.loadSync (/.../node_modules/@grpc/proto-loader/build/src/index.js:218:16)

@alexander-fenster , can you please take a look? Thanks!

We added LatLng not too long ago and this package just needs to be updated to include it. I will do it.

Thanks for the bugfix! 👍


e10s limit cut dots only say ??? now

Just reporting.  No further information (sorry).

Since this is here, I'll confirm. This was the case both with and without head markers. More investigation tomorrow...

Since this is here, I'll confirm. This was the case both with and without head markers. More investigation tomorrow...

If it can't find your clone, it will always give you an early ??? so you know to look.  So, for some reason it can't find any clones (or it finds multiple of the same job, even when it shouldn't).  Probably adding some console logging to what gets returned from getCombatants might help here.  Maybe the combatant names changed or something else went awry?

Just curious: is it intended behavior to call out ??? when the player has the stack marker? I think I saw that happen before. Will record the fight later.


feature request - support remote persistent workers

Buck2 has support for persistent workers, however, these are only available for locally executed actions. In contrast, Bazel supports remote persistent workers, see also BuildBuddy docs.
Persistent workers can provide large performance benefits, the Bazel documentation reports 2-4x speed-ups for Java, preliminary experiments on our Haskell builds have shown about 3x speed-ups. Without support for persistent workers in remote execution environments, users have to make a trade-off between the speed-up provided by a persistent worker and the speed-up provided by scaling to many build nodes. It would be preferable if both speed-ups could be combined by supporting persistent workers in remote execution environments.

I'm also interested in participating in discussions surrounding remote persistent workers.

Please count me as interested as well (from the Bazel side).

To provide an update here. There's been progress on getting the prototype implementation in https://github.com/facebook/buck2/pull/787 closer to a mergeable state by adding testing in Buck2 CI. There is still a bit of coordination in progress on the CI side. Once that's in, the next thing I am planning to do on this topic is to review the existing persistent worker protocols, collect their capabilities, and think about potential additional needs for the remote execution use-case.


Footers not visible on android mobile

Hello,
Table works great on web, but on android mobile the footer is not visible?
Thank you very much!

do you still have issue with new version? re-open issue if you are


Can't copy_to local instance

Hello, trying to import data into local sparklyr instance.
Data size is 16.8 gb, memory size is 16gb, which is smaller than the data size.
Trying to copy the data into local disk not memory.
sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods
[7] base

other attached packages:
[1] sparklyr_0.9.1    dplyr_0.7.4       plyr_1.8.4
[4] data.table_1.10.4 ffbase_0.12.3     ff_2.2-13
[7] bit_1.1-12

I tried to do the following
config <- spark_config()
spark_dir = "C:/spark"

config$`sparklyr.shell.driver-java-options` <-  paste0("-Djava.io.tmpdir=", spark_dir)
config$`sparklyr.shell.driver-memory` <- "4G"
config$`sparklyr.shell.executor-memory` <- "4G"
config$`spark.yarn.executor.memoryOverhead` <- "1g"

sc = spark_connect(master = "local", config = config)
copy_to(sc, my_data, 'mi')

I tried to increase sparklyr.shell.driver-memory to 8G but still don't work.
Error message:
Error: cannot allocate vector of size 25.0 Mb
In addition: Warning messages:
1: In `[.ff`(p, i2) :
  Reached total allocation of 16307Mb: see help(memory.size)
2: In `[.ff`(p, i2) :
  Reached total allocation of 16307Mb: see help(memory.size)
3: In `[.ff`(p, i2) :
  Reached total allocation of 16307Mb: see help(memory.size)
4: In `[.ff`(p, i2) :
  Reached total allocation of 16307Mb: see help(memory.size)
5: In `[.ff`(p, i2) :
  Reached total allocation of 16307Mb: see help(memory.size)
6: In `[.ff`(p, i2) :
  Reached total allocation of 16307Mb: see help(memory.size)

I understand this is caused by not enough memory but i tried to copy the data to local disk instead of memory.

Hi, I think that you would want to read the data from file directly into Spark using something like spark_read_csv(), with the argument memory set to FALSE.  We have an article about that in our spark.rstudio.com site: http://spark.rstudio.com/guides/caching/#the-memory-argument

@edgararuiz , thanks a lot, it works very well if i use
spark_read_csv()

A quick question,  memory = FALSE will load data into disk, how could i find its location? It's not in the folder i set in config
spark_dir = "C:/spark"

config$`sparklyr.shell.driver-java-options` <-  paste0("-Djava.io.tmpdir=", spark_dir)

If i close my spark connection and later reconnect, do i need to run ```spark_read_csv`` again to load data? Or it will be there ready for use?
Just wondering if we could copy something already in memory to disk using copy_to. Right now, i'm using package ff/ffbase in R to handle very large dataset. Basically, my understanding is that it only stores "pointers" in memory and put actual data on disk drive. So small amount of memory is occupied compared with the actual dataset size.
If i want to use  spark_read_csv(),  i have to first load the ff data, and then write them to csv format. And then use spark_read_csv . This is kind of very inconvenient and takes a long time.
Is it possible to add a feature for copy_to that we could choose cache the data or not? Thanks.

Right, so the data is already on disk, Spark does not load or copy it anywhere else.  Spark just "maps" the files and saves that meta data on memory, so nothing is really imported.  That's what's so cool about it.  Because now, I can query files as if they were SQL, and also have the option to only load the needed columns and rows into memory if needed.  Having said that, a memory = FALSE copy_to() would not really make sense, because it would mean for Spark to "map" something that's already in memory.

Thanks @edgararuiz . It's very clear.


DCOS-10979: Networking section in Service Create modal

This introduces the start of the Networking section. So sorry for the huge PR! A lot of it is tests, as I wanted to make sure that we were catching all the corner cases I was discovering.
It adds JSONParser, JSONReducer and a FormReducer for portDefinitions and network type. And only JSONParser and JSONReducer for portMappings (since the form only handles one entry).

Note: That the portMappings take precedence in the JSON Editor. This is by design!

It seems there is something wrong with the path for serviceForm/PortDefinitions.
It's located under ServiceForm/ (capitol S), not serviceForm/ (lower cased s):

And this needs a rebase

@mlunoe Rebased and fixed the broken UI

mesosphere-ci Retest this please

mesosphere-ci Retest this please

I'm still seeing the same failure here @jfurrow. Maybe you have an idea why this is still failing.
Maybe it couldn't handle the subtle change of having a capital letter changed to a lower cased?

Can one of the admins verify this patch?

@mlunoe @jfurrow is there anything we can do to help you guys land this one? @nLight might has bandwidth to support you.

The form must not remove the service port nor overwrite the vip setting when editing any of the other options. Please use the following examples for testing:
Service Port
{ "id": "serviceport",
  "container": {
    "type": "DOCKER",
    "docker": {
      "image": "busybox",
      "network": "BRIDGE",
      "portMappings": [
        { "hostPort": 5514, "containerPort": 514, "servicePort": 10000 }
      ],
      "forcePullImage":true
    }
  },
  "instances": 1,
  "cpus": 1,
  "mem": 128
}

VIP
{
  "id": "/vip",
  "cpus": 0.001,
  "instances": 1,
  "mem": 128,
  "portDefinitions": [
    {
      "port": 0,
      "protocol": "tcp",
      "labels": {
        "VIP_0": "<IP_ADDRESS>:0"
      }
    }
  ]
}

We need a selection of the virtual networks that are available and also the ipAddress field needs to be populated in that case.
{
  "id": "/appname",
  "cpus": 1,
  "mem": 128,
  "instances": 1,
  "container": {
    "docker": {
      "image": "nginx",
      "portMappings": [
        {
          "containerPort": 8080,
          "protocol": "tcp",
          "name": "host",
          "servicePort": 8080,
          "labels": {
            "VIP_0": "/appname:8080"
          }
        }
      ],
      "network": "USER"
    }
  },
  "ipAddress": {
    "networkName": "dcos"
  }
}

I thought that applyPatch should preserve the fields we don't handle in reducers //cc @wavesoft

.. assuming they are not part of something that we delete on the baseConfig

We delete only labels and env

This is amazing! Nice work, @mlunoe!
In my first pass, I noticed the following:

Disabling "port mapping" after entering a host port doesn't reset the hostPort to 0. To reproduce: Select Virtual Network, then add a service endpoint, then enable "port mapping," then disable "assign automatically," then enter a port number, then disable "port mapping."

There is a period followed by a comma when more than one item is disabled in the network types:

Errors for service endpoint names appear in the JSON editor but not in the form:

Went over this in detail with @mlunoe, it looks 👌 👌 👌 💯 💯 💯
Few things to fix, but I think this is almost ready to 🚢
Awesome work!!

Ok, all comments addressed!

mesosphere-ci retest this please 🙏

@mlunoe the error handling should be fixed by #1470

@mlunoe please squash bbf16d2

Commit squashed!

@mlunoe I've rebased this branch and pushed a fix for the VIP label handling.

Let's get this one merged, now that all comments are address. Great work everyone! 💯✨🚢

@mlunoe noticed a few things when using the UI.

TCP/UDP checkboxes don't do anything when on bridge mode
The "ASSIGN AUTOMATICALLY" checkbox doesn't work on bridge mode either
Picking "Virtual Netowork: dcos" causes a validation error in JSON. Switching back to bridge or host causes that validation error to still be shown.

Almost there!

and 2. is fixed!

retest this please

🙌 awesome work @mlunoe!!


Set a value through javascript, without setValue()

I need to set the values as normal via document.getElementById('select').value = 2 and have it hit like a normal change event and have the Choice.js plugin recognize it perfectly and display it. I observe that the original select loses all the  and there is only one value left that I don't know why it leaves it or under what criteria, but if there are no other options left in the select I will never be able to assign a value through the method mentioned. I can't use setValue() on the instance (which I store one by one in an array of choices objects) because I need to maintain the normal assignment of values in each select, as if the component didn't exist.
The way to instantiate each choice is:
document.querySelectorAll('select').forEach((select) = > {
                            selectChoices.push(new Choices(select, {
                                allowHTML: false,
                                silent: true,
                                placeholder: true,
                                placeholderValue: '',
                                searchPlaceholderValue: 'Ingrese texto',
                                loadingText: 'Cargando...',
                                noResultsText: 'No se encontraron resultados',
                                noChoicesText: 'No hay opciones para elegir',
                                itemSelectText: '',
                                searchFields: ['label'],    // por defecto ['label','value']. Para buscar solo sobre las etiquetas innerText y no los values del option
                                // searchFloor: 2,
                                shouldSort: false,
                                // Para mejorar la busqueda de matcheo (ref: https://github.com/Choices-js/Choices/issues/135)
                                fuseOptions: {
                                    threshold: 0.1,
                                    distance: 1000
                                }
                            })
});

Thanks !!

@augustomauro, yes, that would also be a better solution for #277 @jshjohnson, doesn't Choices.js listen for change on the <select> element?


TypeError: upsample_bilinear2d() got an unexpected keyword argument 'align_corners' (occurred when translating upsample_bilinear2d)

Platform (like ubuntu 16.04/win10):
ubuntu 16.04/linux
Python version:
Python 3.5.6
Source framework with version (like Tensorflow 1.4.1 with GPU):
Pytorch:0.4.0
Caffe:1.0.0
mmdnn:0.2.3
Running scripts:
mmtoir -f pytorch -d my_model2IR --inputShape 3,400,400 -n my_model.pth
My model use torch.nn.functional.upsample(x, out_size[2:], mode='bilinear') in pytorch 0.4.0
After I saved my whole model to "pth" file, I used mmdnn(mmtoir command) to transform IR file. I met the error message
File "/home/miniconda3/envs/mmdnn/bin/mmtoir", line 11, in  sys.exit(_main())
File "/home/miniconda3/envs/mmdnn/lib/python3.5/site-packages/mmdnn/conversion/_script/convertToIR.py", line 192, in _main ret = _convert(args)
File "/home/miniconda3/envs/mmdnn/lib/python3.5/site-packages/mmdnn/conversion/_script/convertToIR.py", line 92, in _convert parser = PytorchParser(args.network, inputshape[0])
File "/home/miniconda3/envs/mmdnn/lib/python3.5/site-packages/mmdnn/conversion/pytorch/pytorch_parser.py", line 88, in init self.pytorch_graph.build(self.input_shape)
File "/home/miniconda3/envs/mmdnn/lib/python3.5/site-packages/mmdnn/conversion/pytorch/pytorch_graph.py", line 124, in build trace.set_graph(PytorchGraph._optimize_graph(trace.graph(), False))
File "/home/miniconda3/envs/mmdnn/lib/python3.5/site-packages/mmdnn/conversion/pytorch/pytorch_graph.py", line 74, in _optimize_graph graph = torch._C._jit_pass_onnx(graph, aten)
File "/home/miniconda3/envs/mmdnn/lib/python3.5/site-packages/torch/onnx/init.py", line 40, in _run_symbolic_function   return utils._run_symbolic_function(*args, **kwargs)
File "/home/miniconda3/envs/mmdnn/lib/python3.5/site-packages/torch/onnx/utils.py", line 368, in _run_symbolic_function return fn(g, *inputs, **attrs)
TypeError: upsample_bilinear2d() got an unexpected keyword argument 'align_corners' (occurred when translating upsample_bilinear2d)

dit the source

Hi ,I meet the sample problem.Can you tell me some details about how to modify the code? Thank you

A naive but workable way, edit the source code. Pop the item with key "align_corners" in the arguments dict() before passing it into onnx ops.

hi.I meet the sample problem.Can you tell me some details about how to modify the code? Thank you
@mshmoon

A naive but workable way, edit the source code. Pop the item with key "align_corners" in the arguments dict() before passing it into onnx ops.
hi


created issue reminder workflow

Title of the Pull Request
created issue reminder workflow

[ x] Have you renamed the PR Title in a meaningful way?

Related Issue

Closes: #1033
fixed #1033
Description
Description: Create a GitHub Actions workflow that sends reminders on open issues without updates for 7 days. The workflow should post a comment prompting assignees to take action.
How Has This Been Tested? ⚙

Screenshots 📷

Type of change
What sort of changes have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x ] My code follows the code style of this project.
[ x] I have followed the contribution guidelines
[ x] I have performed a self-review of my own code.
[ x] I have ensured my changes don't generate any new warnings or errors.
[ x] I have updated the documentation (if necessary).
[ x] I have resolved all merge conflicts.

Still @MastanSayyad you can give level 2 label

Still @MastanSayyad you can give level 2 label

Still @MastanSayyad you can give level 2 label

Ok I will make sure from next time.


root_simple unable to find root for tanh(x)

I can't get root_simple to find the roots of tanh(x) when given a positive initial guess. It will always exceed the maximum number of steps. However, for negative guesses it is fine. Any ideas on how to resolve this without changing the algorithm? I'm a little confused because tan and tanh have roughly the same behavior around x = 0 and I do not have this issue with finding the roots of tan

Sorry @WildJimmy , I have no idea about that.


Update C_ell functions to use primordial power parameters

The plot_derivs_cl example was written before A and ns were included as parameters, so should be updated to include them - just need to add a line here that has p.A*(k/kpivot)^p.n.

Haven't tested but since it works for Plin it should work here - closing this but can reopen if there are issues


Example app of React Router v4 with Redux

Hi,
It would be very helpful to create an example of app using RR4 with redux.
I'm trying to create app with react+redux+RR4 inc. server side rendering and it's impossible with the current documentation.
Thanks!

We're still in alpha on react-router-redux, so we don't want to build that out while the API is still in flux. We'll put something together eventually.

@idangozlan
This might be helpful to you regardless:
https://github.com/Sawtaytoes/Ghadyani-Framework-Webpack-React-Redux/tree/develop
server.jsx is what you'll wanna look at.

@Sawtaytoes thanks but it's not what i'm looking for.
Actually what i'm looking for is under development, as mentioned above, so the solution is still not exist till it will be stable :)
Thanks.


custom UAV shape and environment

Thanks for the great work, talented idea to leverage habitat-sim to build a UAV photo-realistic simulator !!!
i am of great interest to test my algorithm on your environment, mainly about MARL
but i need the function to change the shape of UAV (like a group of UAV chase another group of UAV in different shape), and the ability to test in some bigger environment (not limited in indoor scenes, may want some env that can fly longer like forest or big playground etc., or can we design our custom env by our own?)
i am new to the habitat-sim, could you please help me figure out if i can do the mentioned things in VisFly?
appreciate for the great work and kind opensource again!

Sorry for asking without fully researching the readme documentation, there already exist how to custom env, i will take a look at it, thanks for VisFly!


Support for breadcrumbs

Bugsnag has a cool breadcrumb feature to help determine the sequence of events leading up to the crash:
https://bugsnag.com/blog/introducing-mobile-breadcrumbs
Breadcrumbs have been available on Android since December, but they are absent from iOS. It would be great if iOS developers could also start logging breadcrumbs.

Hey @vocaro - thanks for opening this! It would be awesome to add this to the notifier. We do have plans to add it eventually, but currently we have no ETA. In the meantime, of course, we're open to PRs.

+1

+1

:+1:

:+1:

:+1:


Cairo not found error

can not compile example from webpage.
error: failed to run custom build command for `cairo-sys-rs v0.6.0 (https://github.com/gtk-rs/cairo#63055928)`
process didn't exit successfully: `/home/to/pomi/rust/one/target/debug/build/cairo-sys-rs-58b48a262e5646d7/build-script-build` (exit code: 1)
--- stderr
`"pkg-config" "--libs" "--cflags" "cairo >= 1.10"` did not exit successfully: exit code: 1
--- stderr
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found

Thank you. Now it compiles.
I missed the 'Requirements' link from Homepage. Important information for beginners.
Maybe you should put 'Requirements' link under 'Used'.


chore(master): release 1.11.3

:robot: I have created a release beep boop
1.11.3 (2024-05-09)
Bug Fixes

redraw events are processed in order (#1940) (122eb56)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/vscode-neovim/vscode-neovim/releases/tag/v1.11.3 :sunflower:


ed25519 support

Please add SSH key support for ed25519.   (see issue #277) EL9 requires newer cryptography SSH keys.  (and RSA is no longer best practice).   The following error is emitted when adding an ed25510 SSH key:  "error: Cannot save SSH key file: Missing dependency PyNaCl"

Try to install PyNaCl, but it looks like will not helped.
We are planning migration from paramiko-ng to paramiko in couple of months, there will should be fixed

Any update on this issue?

Unfortunately no, will do it in a month or about

Looks like paramiko can't work with ed25519 :( https://github.com/paramiko/paramiko/blob/3.4/paramiko/ed25519key.py

There is workaround: try to put your private key directly to /var/lib/roxy-wi/keys


Video: Themes Private

When attempting to access the hyperlink at the bottom of the read me the Video: Themes page references a private page.

@soidevpp Please provide the URL of the README that you are referring to.

Thank you for reaching out. The content has been updated.


x/playground: revise GeoIP blocking rules for China

Currently play.golang.org will check the origin of requests by header X-Appengine-Country (related code), which is set by GAE frontend, and is probably powered by GeoIP data used across Google. If X-Appengine-Country matches the code of China, the request will be denied and HTTP 451 Unavailable For Legal Reasons would be returned.
Such restriction was first introduced in golang/playground@64f7014affabd5446cabfe7b9e362502c77caa06, citing the reason that "[t]his will permit us to serve *.golang.org to Chinese users." The related code was later revised in golang/playground@bb2a4ed2d77c5ebb58ace5e1466acec69a729a68, citing similar need.
The reason was elaborated in https://github.com/golang/go/issues/31755#issuecomment-488188461 in May 2019 by @bradfitz:

A requirement for Google getting Chinese approval for golang.google.cn was that we didn't serve any user-generated content (UGC). That's why the playground is disabled on the Chinese domain, as play.golang.org's "Share" functionality lets people share user-generated content (code).

However, the current restriction does not reflect the fact that *.golang.org has already been blocked by the Great Firewall for years, which was acknowledged in the aforementioned issue and golang/playground@bb2a4ed2d77c5ebb58ace5e1466acec69a729a68. That's why a separate golang.google.cn has to be set up for users in Mainland China. The original cause for this restriction no longer exists. Playground is simply not provided in golang.google.cn.
Meanwhile, the GeoIP false-positives has caused inconvenience to multiple users, including a recent one #45378, and might pop up every time Google updates its GeoIP db.
I propose the restriction targeing CN users to be lifted, since GFW has already done its job to block unregulated user-generated content.

CC @toothrot who is listed as an owner of the playground.

currently available alternatives in china:

https://wide.b3log.org/playground
share: ✔
edit: ✔

https://translate.google.cn/translate?u=+playground sharing url
ex: https://translate.google.cn/translate?u=https://play.golang.org/p/NeviD0awXjt
share: ✔
edit: ✕

I'm in Finland and I'm getting the 451 for clicking "Share" in playground now.


Added localization file for pt_PT

Here goes a localization file for European Portuguese.
keep the good work.
regards!

Thanks a lot!


Support non-ASCII characters on Windows

Use CreateProcessW instead of CreateProcessA to create processes on Windows; allowing for non-ASCII characters in the command line and the environment.

Currently investigating the appveyor failures. The newly added test was passing OK on my Windows 2012R2 workstation.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Coverage increased (+0.1%) to 94.99% when pulling aa93f424352ac76ad1fe8501a5d2a2bb9e6c3c08 on james-stocks:CreateProcessW into 0bce27d3f84ffac06ee49aa4dcb9ce8608cc49d3 on enkessler:master.

Closing, have test fixes on a different branch, will open a new PR


Manage access to allow devs to only work on a specific environment.

Describe the feature you'd like to request
Lets say we have two environments, (prod and dev) and I want to give access to only dev environment to my team.
By default, in manage access section of amplify you can only give full access wich gives access to every environments...

But I want to restrict team permission to only be able to interact with the env environment
So far, only thread ive found about this were left with no answers.
Describe the solution you'd like

Add an option to manage access on specific environnement

or

Provide a step by step guide on how to do it either in the doc or simply in this feature request discussion, so people can refer to this..

Thank you in advance.
Describe alternatives you've considered
So far, only thread ive found about this were left with no answers.
I was thinking about creating a custom role for a specific environnment. Add required policies to the role then assign that role to users..

Hey @adeldueast, thank you for reaching out. Amplify Studio creates a full access role with Adminstrator-Amplify and full-access managed policy. We may need to add a inline policy with a deny rule to control the access.
Marking this as feature request and transferring to Amplify Studio repository.


Fix: the new snack bar hide too quick if clear previous snacks.

Hi, I have a fix when I using your library. The details is showing below. If I misunderstand your intention of this method, please let me know. And I'll be happy to hear if there is a better way to accomplish the work described in Background.
Thank you. ^_^

Background
When we need to show a bunch of toast one by one (eg, continuous remove
email), we don't want to have a delay between previous toast and latest
one. So we can clear previous snacks before show new one (by the API
SnackBar.clear).

Cause
mHideRunnable contains no context of snacks, postDelay runnable of
previous snack will affect latter snack. If we clear snacks without
remove there postDelay callbacks, the latter added snack will hide
quickly by receive callback of previous snack.

Fix
A simple fix is remove the callbacks of mHideRunnable when clear. This
logic is also seem in other part of SnackContainer (like 'hide' and
'onTouch').

I'm waiting for that merge...


release-19.2: opt: backport two pg compatibility fixes for GROUP BY

PR: https://github.com/cockroachdb/cockroach/pull/42694
From release notes:

It is now supported to specify selection target aliases as GROUP BY columns. Note that the FROM columns take precedence over the aliases, which are only used if there is no column with that name in the current scope. [#42694][#42694] {% comment %}doc{% endcomment %}

See https://github.com/cockroachdb/docs/issues/6180.


[Feature] Query Templates

Summary
A user wanted a way to run a single query across multiple data centers.
They have client data in data centers across the world and some of their tools cannot predict which center the query has to be run from till the client is selected

Related to #18646

Any updates on this?


[0.11.0/0.11.1] Render value doesn't update in markup

I'm using lit-element 0.6.0-dev.6/webcomponentsjs 2.1.1, and lit-element uses lit-html 0.11.0 at the moment.  I ran into an issue that might be a bug with lit-html.
Basically the value in the LitElement class increments/decrements (you can see from the console logging), but after lit-html renders the this.value initially, the property on the class doesn't display the changes in markup.
To make things easier, I built a repo to reproduce the issue:  https://github.com/aadamsx/meteor-lithtml
Just a note, even though I'm using lit-element's version of lit-html, I have lit-html version 0.11.1 installed in this project as well.  I tried using the lit-html 0.11.1 on it's own, but got the same results.
Also, I opened the same issue in lit-element as I'm not sure where the problem is: https://github.com/Polymer/lit-element/issues/174

@aadamsx any chance you can make a cliet-side only reproduction, ideally on something like Stackblitz, jsbin, Glitch, etc., so I can directly look at it?

Is there any way you could clone the repo to check it out, that way you can tell if the client side code is correct and has all the deps it needs?  I can help if you run into issue with the repo?
In this case Meteor is just the build tool.

I tried to pull something together on stackblitz, but it throws for some reason: https://stackblitz.com/edit/js-1uf5w3?file=index.html

I think I found the issue.  I believe it's with the decorators.  When I remove the decorator property and instead add it as a static get, the increment/decrement works as it should.
You can see it here, https://jsfiddle.net/aadamsx/9ny1axdr/15/.
If you look at the code in my original repo: https://github.com/aadamsx/meteor-lithtml, I have decorators set up correctly using babel.
Added the following dependencies:
// package.json
@babel/plugin-proposal-class-properties: 7.0.0
@babel/plugin-proposal-decorators: 7.0.0

and the .babelrc config:
// .babelrc
{
  "plugins": [
    ["@babel/plugin-proposal-decorators", { "legacy": true }],
    ["@babel/plugin-proposal-class-properties", { "loose": true }]
  ]
}

After added this into the project, it complies correctly and displays the inital value.  But it will not increment or decrement with the decorator.
// x-counter.js
class XCounter extends LitElement {
  @property({type: Number})
  value = 0;

  ...

Replacing the above with a static allows the increment and decrement values to DISPLAY.  I say that in caps, only to say if you console log, the value is actually changing, just not being displayed.
// x-counter.js

// THIS_WORKS
class XCounter extends LitElement {
  // @property({type: Number})
  // value = 0;

  static get properties() {
    return {
      value: 0
    }
  }

  ...

Here is the original repo with the static property added that now works: https://github.com/aadamsx/meteor-lithtml

Babel 7 implements the newer decorators spec. The LitElement decorators are still written to the older spec. We have an issue open to make them work: https://github.com/Polymer/lit-element/issues/156
Until then you can try to legacy: true option: http://babeljs.io/docs/en/babel-plugin-proposal-decorators#legacy

I do have legacy: true set on the babelrc config as you can see from my post just above. Is there something else I need in order to use this lib with Babel7?


Propagate logging level to subprocesses

Resolve #970 by implementing @oesteban's suggestion in https://github.com/nipreps/mriqc/issues/970#issuecomment-1215721010.

@ZviBaratz would it make sense to set config.file_path during the load(config_path) call? Other than that, I think this looks good to go


Fail to run azd init command for sample “OrleansVoting”

Describe the issue:
Run the azd init command and select no services to expose, the following error occurs:

Repro Steps:

Clone code.
Run command cd OrleansVoting.
Run command azd init -> choose use code from folder and accept the Aspire project -> When asking which services to expose, select none service -> leave all other services unchecked.

Environment:

Azd version: azd version 1.7.0-beta.1-daily.3564805 (commit 81f3efd1049889762d01ca46a35630005b45f0b5)
Aspire version: 8.0.0-preview.4.24156.9
Sample: OrleansVoting

Expected behavior:
azd init command can be executed successfully.
@rajeshkamal5050, @vhvb1989 for notification.

@davidfowl @DamianEdwards @vhvb1989 https://github.com/dotnet/aspire-samples/tree/preview.4/samples/OrleansVoting is this expected to work with Azd?

@bradygaster ?

will look at this and try to resolve asap.

I tried the recently-updated-to-9.0 code just now. azd init worked, and azd up is running. I noticed @Menghua1 mentioned their azd version being 1.7.0-beta.1-daily.3564805. I'm on version azd version 1.11.0 (commit 5b92e0687e1fa96dfc8292f4b900c0c58610b6a5). Could you update your azd and try again with these updated projects and let us know if the problem remains?

@bradygaster According to the latest code and azd version test, this issue can no longer be reproduced, thank you.


Not able to run BigchainDB using docker-compose up from master branch

Steps:

clone repository
cd in the repository root directory
docker-compose up

After a few minutes, the build process ends with the following error.
Complete output from command python setup.py egg_info:
    Download error on https://pypi.python.org/simple/pytest-runner/: [Errno 107] Transport endpoint is not connected -- Some packages may not be found!
    Couldn't find index page for 'pytest-runner' (maybe misspelled?)
    No local packages or working download links found for pytest-runner
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-gesz0xln/cryptoconditions/setup.py", line 84, in <module>
        'docs': docs_require,
      File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 128, in setup
        _install_setup_requires(attrs)
      File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 513, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
        replace_conflicting=replace_conflicting
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1057, in best_match
        return self.obtain(req, installer)
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1069, in obtain
        return installer(requirement)
      File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 580, in fetch_build_egg
        return cmd.easy_install(req)
      File "/usr/local/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 667, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-gesz0xln/cryptoconditions/
ERROR: Service 'bigchaindb' failed to build: The command '/bin/sh -c pip install --no-cache-dir -e .[dev]' returned a non-zero code: 1

Hey Gautam, seems like the connection dropped while downloading a package:
Download error on https://pypi.python.org/simple/pytest-runner/:
    [Errno 107] Transport endpoint is not connected -- Some packages may not be found!

Restarting the building process should work. On a side-note, instead of using docker-compose directly I suggest you to use make run.


User Data for Entities

It is often useful to differentiate entities from each other. For example scripting a behavior, based on the entity we touch (e.g. from physics). When working engine-only, its not much of an issue, as we can just modify the entity on instantiation, giving it extra properties needed. This feature is probably more beneficial for Editor projects.
At the moment, there are mainly two ways to differentiate entities under the same parent:

by tag
by name

Tags are pretty powerful, and allow filtering assets and entities, among other cookies. However, the tags are better suited for use during load times, rather than to be used during mid-life of the app:
// we have to first search the tag (e.g. we try to store a number in it)
if (entity.tags.has('intensity')) {
    // then convert string to number
    const str = entity.tags.list[0];
    const intensity = parseInt(str);
    // use intensity number
}

It would be much more efficient to allow to store a user defined number directly on the entity. Similar to how physics engines allow to store a user defined number for association, the entities could have a userData field for storing a plain number.
const intensity = entity.userData;

Users can easily do this, even though the data would not survive cloning / templates and similar. Purely runtime:
entity.userData = {
   intensity: 10,
   surname: 'citizen'

What else do you have in mind?

I mean there is no way to do that from Editor. You would first have to search for that entity, identify by tag/name and then add that userData property so it can be used by collision callback.

They can create a script and expose any attributes on it - would that not work?

It could. But then it is a whole script component for what could have been a simple primitive.


Implement functions from position/game_math for RoomXY

RoomXY should have equivalent functionality to Position for in-room stuff that we can do fully within native math. All of the functions from the game_math module would make sense on the RoomXY type.
Potentially as an enhancement, both types could use a manhattan range function in addition to the current chebyshev range function. Maybe we should even go as far as providing a euclidean range function?

Should add some of these to RoomName too

Resolved by #521


AutoHotkey

Describe the bug
Does not install autohotkey
No package found matching input criteria.
Expected behavior
Install autohotkey
Additional context
installed immediately after using choco

cannot install autohotkey
using version 23.08.08
Checking if Chocolatey is Installed...
Chocolatey Already Installed
Checking if Winget is Installed...
Winget Already Installed
No package found matching input criteria.

this might be the new command for version 2
winget install -e --id AutoHotkey.AutoHotkey
https://winget.run/pkg/AutoHotkey/AutoHotkey

installed manually
PS C:\Users\famil> winget install -e --id AutoHotkey.AutoHotkey
Found AutoHotkey [AutoHotkey.AutoHotkey] Version 2.0.4
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/AutoHotkey/AutoHotkey/releases/download/v2.0.4/AutoHotkey_2.0.4_setup.exe
██████████████████████████████  2.79 MB / 2.79 MB
Successfully verified installer hash
Starting package install...
Successfully installed
PS C:\Users\famil>

the current code doesnt work
PS C:\Users\famil> winget install -e --id Lexikos.AutoHotkey
No package found matching input criteria.
PS C:\Users\famil>


Styles converter not dealing with flex shorthand properly

It converts style flex: "0 0 auto" into invalid Griffel shorthand shortands.flex("0", "0", "auto").
This is invalid because  Griffel expects first 2 parameters to be numbers by type check and if not it bails out from generating that style.

The converter is actually not in this repo. I will create an ado task when I'm at my computer and then close this issue

ADO task 2995243 created


Add switch (for a siren) support to ring.

Breaking Change:
Removed the scan_interval from the camera platform, and moved it to the hub
Description:
Adds a switch platform to support controlling the ring sirens (both on the flood light and stick up cam)
Changes how updates are performed. We now check every camera for updates in the hub, and use the dispatcher to tell all platforms that they should now update
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#9993
Example entry for configuration.yaml (if applicable):
ring:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  scan_interval: 50

switch:
  platform: ring

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the [development checklist][dev-checklist]

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] [The manifest file][manifest-docs] has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hi there! Sounds like there is actually three features in this PR, could you break them apart to simplify review?

Hi there! Sounds like there is actually three features in this PR, could you break them apart to simplify review?

I can probably remove the light and add that as another pull request, but the changes to the updates probably don't make sense without have either the switch or the light platform added?

The breaking change still affects the camera right? So to keep it as small as possible it could be relevant?

I've removed the light platform to try and resolved some issues with the tests

Please note this uses assert_called in a test which is not support in python 3.5. Given that 3.5 is not going to be supported in the next release do I need to correct this?

We can't merge the PR unless the build passes. We don't have an ETA when we will update our CI to bump minimum supported Python version. I suggest to support Python 3.5.3 for now to get this PR merged.

Also note that it's error prone to use assertion methods on mocks unless they are specced.
https://docs.python.org/3/library/unittest.mock.html#autospeccing

Please don't add the switch platform in this PR. As said above, we want PRs as small as possible.

I thought we said this was ok in discord, but anyway I've removed it.


Does the Berendsen Barostat scale intramolecular configurations?

Since I just dove into position scaling for Monte-Carlo volume resizing, I was wondering if one does the same when using the Berendsen Barostat in MD (i.e. only resize the centers of mass, leaving the intramolecular configuration unchanged). Looking at the integration here, I found that currently all particle positions are scaled.

It currently does scale the all the particles positions. I have not seen it described or implemented with center of mass rescaling anywhere, I don't know why. Maybe the algorithm looses some desirable properties when doing that.

This make me think that scaling the molecules center of mass is not always the best thing to do even for MC, for example when simulating molecular crystals where the crystal "molecule" would span the entire simulation box. Here trying to do pressure control by rescaling the molecules center of mass would not work, we actually need to rescale the particles positions. This could be an option of the Resize move to add after #58 is merged.

Ok, I skimmed over the original paper (sorry, should have done that beforehand). Both, com-scaling and position scaling works. In the article, they argue that for small molecules with intramolecular constraints, com-scaling is preferable but for large molecules with flexible bonds, particle scaling leads to smoother responses.

This make me think that scaling the molecules center of mass is not always the best thing to do even for MC, for example when simulating molecular crystals where the crystal "molecule" would span the entire simulation box. Here trying to do pressure control by rescaling the molecules center of mass would not work, we actually need to rescale the particles positions. This could be an option of the Resize move to add after #58 is merged.

It's true, at the moment there would be no way to let the crystal "molecule" adapt to the external pressure using MC. We currently don't implement any moves to change intramolecular structure. It should be easy to modify the rescaling move to allow for intramolecular changes via scaling, but from my experience this leads to very small acceptances or very small amplitudes for volume changes.
For MD it would not be a problem, since intramolecular positions change based on the forces that are computed within the next iteration (before scaling).
There is another interesting passage in the paper though. They do position updates in different order, after updating the positions:
part.velocity += 0.5 * dt * self.accelerations[i];
part.position += part.velocity * dt;
// Scale all positions *after* update
part.position *= self.eta;

Interestingly, they also say that pressure computation should be done using the forces acting on the molecules' centers of mass (which excludes intramolecular contributions from what I can see). I'll read it more carefully.
Thanks for the comment, I am closing this issue. Maybe we should have a look at the order in which updates are performed to see if it changes anything.

Maybe we should have a look at the order in which updates are performed to see if it changes anything.

From what I remember, It had something to do with fitting Berendsen barostat in a Verlet scheme or in a Velocity-Verlet scheme. We are doing the later, the original paper might be doing the former.


Fix carthage build with Xcode 12

Our main issue concerning Carthage builds with Xcode 12 is described here : https://github.com/Carthage/Carthage/issues/3019
This PR applies the workaround given here: https://github.com/Carthage/Carthage/issues/3019

I get this error for Stevia
And the error Building for iOS Simulator, but the linked and embedded framework 'xxx.framework' was built for iOS. for Stevia and PryntTrimmerView both.
My suggestion is to remove carthage.

My bad I haven't linked the correct one here it is: https://gist.github.com/skymobilebuilds/61f4a95bd62a3db36b52719aeab7e0d5#gistcomment-3457422
Dependencies built with this Carthage wrapper should also build on the simulator :) Starting an rpm-only branch meanwhile.

Carthage is deprecated in https://github.com/Yummypets/YPImagePicker/releases/tag/5.0.0


APIError - Too much request weight used; current limit is 1200 request weight per 1 MINUTE. Please use the websocket for live updates to avoid polling the API

After moving the bot to AWS tokyo and setting it up to run, I am getting this error after a few moments of execution.
Tried to change some settings but no luck, did you consider to use websocket implementation instead?
Error Log
```File "/home/ubuntu/.local/lib/python3.8/site-packages/binance/client.py", line 324, in _handle_response
    raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=-1003): Too much request weight used; current limit is 1200 request weight per 1 MINUTE. Please use the websocket for live updates to avoid polling the API.```

OS: Ubuntu

Hello,
Change the frequency to 5 or 6 seconds and you should be good. The dev branch handles this error automatically but I haven't merged it yet.

That's not the issue, I have change to 6, 8 and even 10 and it's still happening.
I will try to look at the code to understand why, it seems that sometimes it's just not doing the sleep like it's supposed to.
I attached the whole log of the console output for you to see, below just a partial section where the sleep goes from 6 to 4 to no sleep at all and then the error occurs:
running.log
[DEBUG] 2021-11-10 14:44:47,635: [BINANCE]	Getting all tickers... [DEBUG] 2021-11-10 14:44:47,662: https://api.binance.com:443 "GET /api/v3/exchangeInfo HTTP/1.1" 200 56529. [DEBUG] 2021-11-10 14:44:47,710: [BINANCE]	No new tickers found... [DEBUG] 2021-11-10 14:44:47,711: Loop finished in [0.07616209983825684] seconds. [DEBUG] 2021-11-10 14:44:47,711: Sleeping for [6] seconds. [DEBUG] 2021-11-10 14:44:53,717: [BINANCE]	Getting all tickers... [DEBUG] 2021-11-10 14:44:53,744: https://api.binance.com:443 "GET /api/v3/exchangeInfo HTTP/1.1" 200 56528. [DEBUG] 2021-11-10 14:44:53,776: [BINANCE]	No new tickers found... [DEBUG] 2021-11-10 14:44:53,777: Loop finished in [0.05966067314147949] seconds. [DEBUG] 2021-11-10 14:44:53,777: Sleeping for [4] seconds. [DEBUG] 2021-11-10 14:44:57,781: [BINANCE]	Getting all tickers... [DEBUG] 2021-11-10 14:44:57,810: https://api.binance.com:443 "GET /api/v3/exchangeInfo HTTP/1.1" 200 56528. [DEBUG] 2021-11-10 14:44:57,843: [BINANCE]	No new tickers found... [DEBUG] 2021-11-10 14:44:57,844: Loop finished in [0.06286907196044922] seconds. [DEBUG] 2021-11-10 14:44:57,844: [BINANCE]	Getting all tickers... [DEBUG] 2021-11-10 14:44:57,868: https://api.binance.com:443 "GET /api/v3/exchangeInfo HTTP/1.1" 200 56528. [DEBUG] 2021-11-10 14:44:57,902: [BINANCE]	No new tickers found... [DEBUG] 2021-11-10 14:44:57,903: Loop finished in [0.05878949165344238] seconds. [DEBUG] 2021-11-10 14:44:57,903: [BINANCE]	Getting all tickers... [DEBUG] 2021-11-10 14:44:57,929: https://api.binance.com:443 "GET /api/v3/exchangeInfo HTTP/1.1" 200 56528. [DEBUG] 2021-11-10 14:44:57,961: [BINANCE]	No new tickers found... [DEBUG] 2021-11-10 14:44:57,962: Loop finished in [0.05839395523071289] seconds. [DEBUG] 2021-11-10 14:44:57,962: [BINANCE]	Getting all tickers...

I checked on my dev branch after commenting and it looks good - I just merged it into main.   Try pulling the new version and let's see if the issues are still there.
You may need to delete the JSON files, I made some changes to the models.  Also double check your config file is the same as the new one.

It's better now but I still observe the behavior of suddenly starting to do multiple requests with no delay between them:
`[DEBUG] 2021-11-10 15:54:49,295: [BINANCE]	Getting all tickers
[DEBUG] 2021-11-10 15:54:49,352: [BINANCE]	No new tickers found
[DEBUG] 2021-11-10 15:54:49,353: Loop finished in [0.058585] seconds
[DEBUG] 2021-11-10 15:54:49,353: Request Weight: 70
[DEBUG] 2021-11-10 15:54:49,353: Sleeping for [8] seconds
[DEBUG] 2021-11-10 15:54:57,362: [BINANCE]	Getting all tickers
[DEBUG] 2021-11-10 15:54:57,439: [BINANCE]	No new tickers found
[DEBUG] 2021-11-10 15:54:57,440: Loop finished in [0.078441] seconds
[DEBUG] 2021-11-10 15:54:57,440: Request Weight: 80
[DEBUG] 2021-11-10 15:54:57,440: [BINANCE]	Getting all tickers
[DEBUG] 2021-11-10 15:54:57,498: [BINANCE]	No new tickers found
[DEBUG] 2021-11-10 15:54:57,498: Loop finished in [0.058127] seconds
[DEBUG] 2021-11-10 15:54:57,498: Request Weight: 90
[DEBUG] 2021-11-10 15:54:57,499: [BINANCE]	Getting all tickers
[DEBUG] 2021-11-10 15:54:57,558: [BINANCE]	No new tickers found
[DEBUG] 2021-11-10 15:54:57,559: Loop finished in [0.060337] seconds
[DEBUG] 2021-11-10 15:54:57,559: Request Weight: 100
[DEBUG] 2021-11-10 15:54:57,559: [BINANCE]	Getting all tickers
[DEBUG] 2021-11-10 15:54:57,619: [BINANCE]	No new tickers found
[DEBUG] 2021-11-10 15:54:57,620: Loop finished in [0.060592] seconds
[DEBUG] 2021-11-10 15:54:57,620: Request Weight: 110
[DEBUG] 2021-11-10 15:54:57,620: [BINANCE]	Getting all tickers
[DEBUG] 2021-11-10 15:54:57,697: [BINANCE]	No new tickers found
[DEBUG] 2021-11-10 15:54:57,698: Loop finished in [0.07785] seconds
[DEBUG] 2021-11-10 15:54:57,698: Request Weight: 120`
And after a while:
`[DEBUG] 2021-11-10 15:55:07,028: [BINANCE]	Getting all tickers
[DEBUG] 2021-11-10 15:55:07,095: [BINANCE]	No new tickers found
[DEBUG] 2021-11-10 15:55:07,096: Loop finished in [0.06847] seconds
[DEBUG] 2021-11-10 15:55:07,096: Request Weight: 1080
[INFO] 2021-11-10 15:55:07,096: Bot request count above [75%] of rate limit
[INFO] 2021-11-10 15:55:07,096: Increasing FREQUENCY from [8] to [9] seconds
[INFO] 2021-11-10 15:55:07,096: Sleeping for [50] seconds until [2021-11-10 15:55:57.500000] to avoid exceeding rate limits
[DEBUG] 2021-11-10 15:55:07,096: Sleeping for [50] seconds`

The sudden multiple requests are by design.  You can turn this off if you'd like - look at the FRONTLOAD comments in the example config yml.

Thanks, this can be closed


German 3.23.0-ptu.9138466

Notes:
The following are false positives see #257

Unable to find key "Mtps_killallcreatures_multitype__hard_desc_01"
Unable to find key "Mtps_killallcreatures_multitype_hard_title_01"
Unable to find key "Mtps_killallcreatures_multitype_medium_desc_01"
Unable to find key "Mtps_killallcreatures_multitype_medium_title_01"

This one has a mistake in the English file:
- Unable to find placeholder "~mission(Detination)" in "Covalex_courier_todc_med_desc_001"


Add release and release_test flows

As title, it should create the release and release_test flows.

The release flow can publish the Python package to the https://test.pypi.org website when pushing the tag release.

For example, the tag format can be 0.0.1.

The release_test flow can publish the Python package to the https://pypi.org website when pushing the tag release.

For example, the tag format can be 0.0.1-test.

Closed via 55112553e0ccedda70d9c7e5978d3cd930aaabf1 and 820e06953b82a3be252adf9756c8c2e2d6afb2aa.


Provide sample configurations for spring project (not spring boot)

Swagger ui not coming up in spring application.
As per documentation, tried adding spring-boot,spring-boot-autoconfigure dependencies.
also configure those classes which are not auto configure in spring project.
Tried various combinations still swagger-ui is not coming up.
Sample project would be helpful as there is very less documentation for pure spring project.

Are there any updates on this? I am having the same problem with a non-spring boot spring project.  Thanks

for following  spring dependency it was throwing some parameter error which was caused by spring 6 deprecating the class which springdoc uses.

org.springdoc
springdoc-openapi-webmvc-core
1.8.0

so  here's what worked for me -

org.springdoc
springdoc-openapi-starter-webmvc-ui
2.5.0

also it needs following dependency since project is not spring boot project:

org.springframework.boot
spring-boot-autoconfigure
3.3.1

for configuration you need to add following configuration class:
@Configuration
@ComponentScan(
basePackages = {"org.springdoc"}
)
@EnableWebMvc
@Import({SpringDocConfiguration.class,
SpringDocWebMvcConfiguration.class,
org.springdoc.webmvc.ui.SwaggerConfig.class,
SwaggerUiConfigProperties.class,
SwaggerUiOAuthProperties.class,
JacksonAutoConfiguration.class})
public class OpenApiConfiguration {
@Bean
public OpenAPI openAPI() {
    return new OpenAPI();
}

}
Also all methods need @ResponseBody as annotation.
Methods without @ResponseBody were not showing in swagger ui.


[BEAM-646] Add Parameters to finishSpecifying

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

This removes use of getProducingTransformInternal() in TypedPValue.
Ensure that all nodes are finished specifying before a call to
Pipeline#traverseTopologically or PipelineRunner#run. This ensures
that all nodes are fully specified without requiring the PipelineRunner
to do so explicitly.
Use Coder Inference rather than explicitly setting Coders within
DirectRunner overrides.

R: @kennknowles


Added Always Visible property to ScrollContainer scrollbars

Dynamically changing ScrollContainer width/height can result in scrollbar not visible anymore and leaving unnecessary empty space which in some cases might not look that great. Now it's possible to have scrollbars visible all the time.

We also need to implement the "Never show scrollbars" mode (but so that the content can be scrolled with the mouse wheel).
enum ScrollMode {
    SCROLL_MODE_DISABLED,
    SCROLL_MODE_AUTO,
    SCROLL_MODE_SHOW_ALWAYS,
    SCROLL_MODE_SHOW_NEVER
};

ScrollMode scroll_horizontal_mode;
ScrollMode scroll_vertical_mode;

@dalexeev Out of curiosity, what do you need this for?

@dalexeev Out of curiosity, what do you need this for? Can you give some use case examples?

Also interested, scrollbars indicate that there is more content, from user point, this can be misleading.

@Calinou @Oen44 I need this to save space.

this can be misleading

In some cases, it is obvious that the content is not fully displayed.

@Calinou Also, scrollbars are not the only way to indicate that content is not fully displayed.

I agree that it makes sense to do this in some cases (there may be other custom ways that you might want to do to show there is more content) and an enum to always show and always hide (with default still to automatic) may be desired.
That said, this PR is entirely broken somehow, and as is this can't be merged.

This PR is entirely broken, I don't think this is the right code.

Let me quickly set it up again as I don't have this repo on my local machine anymore so I can resolve conflicts and fix whatever there is to be fixed. Everything was working (functionality wise) when I created this PR.

It can't be implemented like this. ScrollContainer has scroll_enabled property, the recently added scroll_visible (#48008) and now you want to add scroll_always_visible, which is conflicting with the two. The enum suggested by dalexeev would be the way to go IMO.

It can't be implemented like this. ScrollContainer has scroll_enabled property, the recently added scroll_visible (#48008) and now you want to add scroll_always_visible, which is conflicting with the two. The enum suggested by dalexeev would be the way to go IMO.

Yeah, my way won't work anymore, changes between creation of this RP and now are too significant.

Closing as it would need further work to follow up on #48008. Thanks for the contribution nevertheless!


something went wrong with your profile some features may be unavailable ???

System Details

OS: Archlinux
Thorium Version while upgrading from 110.0.5481.178-1 to 111.0.5563.111-1

Problem
When started browser after an upgrade got this dialog message
Ublock Origin refuses to load, twitter or web.telegram.org refuse to load, lots of session cookies that shouldn't expire disappeared.
Screenshots

Additional Notes
I'm going to rollback until further notice

@al3xxx What OS and window manager are you using, it looks unique.

@Alex313031 that's resolved already - there was background thorium process that was locking profile. Once I stopped it the problem went away.


Improve telemetry from RecordedDataQueueHandler

What does this PR do?
Add more details in the telemetry for it to be actionnable

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.25%. Comparing base (de8989f) to head (d8e62f3).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2053      +/-   ##
===========================================
+ Coverage    83.18%   83.25%   +0.07%
===========================================
  Files          494      494
  Lines        17734    17739       +5
  Branches      2685     2685
===========================================
+ Hits         14752    14768      +16
+ Misses        2243     2238       -5
+ Partials       739      733       -6

Files
Coverage Δ

...nreplay/internal/async/RecordedDataQueueHandler.kt
98.13% <100.00%> (+0.11%)
:arrow_up:

...sionreplay/internal/async/RecordedDataQueueItem.kt
100.00% <ø> (ø)

... and 21 files with indirect coverage changes


Transform [].forEach => for-in

Is your feature request related to a problem? Please describe.
Many [].forEach calls can be converted to a for...in safely.
const LANGUAGES = { javascript, json, xml };
Object.keys(LANGUAGES).forEach( key => hljs.registerLanguage(key, LANGUAGES[key]) );

Can be converted to...
const LANGUAGES = { javascript, json, xml };
for (key in LANGUAGES) { hljs.registerLanguage(key, LANGUAGES[key]) }

Describe the solution you'd like
This transform can be done safely so long as the inner function doesn't rely on this being auto bound.
It's worth investigating if there are cases where a function call can be generated that passes the scope as an argument and leverages it correctly as well.
Describe alternatives you've considered
Ignore this transform entirely.
Edit: If order is important, for...of is a better choice.

Because the order of iteration is implementation-dependent, iterating over an array may not visit elements in a consistent order. Therefore, it is better to use a for loop with a numeric index (or Array.prototype.forEach() or the for...of loop) when iterating over arrays where the order of access is important.

Note: Can create a unique key for all for ... of and leverage it in each instance.
x.forEach(v=>add(v)); => for(z of x){add(z)}
Pros: Shorter consistent syntax.
Cons: Global variable lookup, hoisted module locals are cheapest to assign/read.
Alternative: Create a local per module for this and let variable folding keep it terse.
let z;
for(z of x){add(z)}


Vault KV Secrets Engine Adds 'data.' to Key (Spring Boot Properties)

We are using the KV Secrets Engine with Vault. As I understand it, to insert my secret into Vault, I must wrap my secret in a data map (https://www.vaultproject.io/api/secret/kv/kv-v2.html#create-update-secret):
{
  "data": {
    "spring.datasource.username": "<username>",
    "spring.datasource.password": "<password>"
  }
}

When I retrieve the secret from Vault, from my Spring Boot Application, the keys are now prepended with data.. For example, spring.datasource.password becomes data.spring.datasource.password. This means they are not recognized by Spring as a Spring Boot property. For example in Actuator, I see:
{
  "name": "<path>/data/<more_path>",
  "properties": {
    "data.spring.datasource.password": {
      "value": "<password>"
    },
    "data.spring.datasource.username": {
      "value": "<username>"
    },
    "metadata.created_time": {
      "value": "2018-07-03T14:34:20.510237646Z"
    },
    "metadata.deletion_time": {
      "value": ""
    },
    "metadata.destroyed": {
      "value": false
    },
    "metadata.version": {
      "value": 5
    }
  }
}

Is there an easy way to ignore the data. prefix so the keys are reconginized as a Spring Boot property.

This question is an ideal fit for StackOverflow to make it accessible to a broader community.
Spring Cloud Vault 2.0 adapts Vault's versioned Key/Value API. It requires a specific configuration.
Please disable the generic backend support and enable the kv backend support:
spring.cloud.vault.generic.enabled=false
spring.cloud.vault.kv.enabled=true

The main difference between those two is that kv injects the data segment in the context path and unwraps nested data responses.
If you're running a version before 2.0, then you need to implement an org.springframework.cloud.vault.config.VaultConfigurer bean that is exposed to the bootstrap context. SecretBackendConfigurer accepts a path and a PropertyTransformer that transforms properties before exposing these as PropertySource.


Add a content-security-policy to prevent XSS

You can define this either in a <meta /> tag or as a response header from the webserver.

Fixed as part of #10


Docker Contextionary-Obsidian Errors

I'm not sure whether this is a logging issue, or whether there is a problem. But functionality seems to be working fine in Obsidian regardless of the errors.

    container_name: contextionary-obsidian
    environment:
      OCCURRENCE_WEIGHT_LINEAR_FACTOR: 0.75
      EXTENSIONS_STORAGE_MODE: weaviate
      EXTENSIONS_STORAGE_ORIGIN: http://weaviate-obsidian:8080
      NEIGHBOR_OCCURRENCE_IGNORE_PERCENTILE: 5
      ENABLE_COMPOUND_SPLITTING: 'false'
    image: semitechnologies/contextionary:en0.16.0-v1.2.1
    ports:
    - 9999:9999```

    Changing EXTENSIONS_STORAGE_ORIGIN from http://weaviate:8080 to http://weaviate-obsidian:8080 has stopped the errors.

    There will still be error when starting up the first time as it needs to wait until Weaviate-Obsidian is fully running. But after that, there should be no more access issues.

    Please do some more testing to see if this fixes the issue.


getaccountaddress is deprecated and will be removed in V0.18. To use this command, start litecoind with -deprecatedrpc=accounts.

There are no specific instructions for fixing this error. Any help me?
SSL Proxy listening on port 443
events.js:182
throw er; // Unhandled 'error' event
^
Error: socket hang up
at createHangUpError (_http_client.js:343:15)
at Socket.socketOnEnd (_http_client.js:435:23)
at emitNone (events.js:110:20)
at Socket.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1045:12)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)
Thank you very much!

dont use deprecated commands on prod

accounts is moved to accountserver. Deprecated rpc are not using in OpenTrade a long time ago


[BUG] Bigint calculation error prevents offramp twaps to go through

We can add very small xDAI to the bot contract.
We can move into JavaScript.
Third option is using some library to manage bigint correctly.
Python division doesn't work exactly in very small digits. The reason of error is that.
More details on the discussion here https://discord.com/channels/987730379182051408/1065140873811218532/1256271650530529331

Fixed with https://github.com/VolumeFi/offramp-eure-bot-script/pull/30


Update example to use AzureCredentials instead of CredFile

According to https://github.com/Azure/azure-sdk-for-net/blob/4c6f0794b9a27a386fc43ddd5396dcf327b9f340/AUTH.md
Using a credential file is not necessary the best practice for authenticating against Azure.  Programmatic keys are a good choice for any "API first" documentation, so this update makes that change.
It also includes a comment with the entire namespace of the AzureCredentialsFactory type because it exists in multiple namespaces.  They may all be valid, but this one works and a comment may lower the barrier of entry if someone were to hit that problem.

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as a link to the swagger spec, used to generate the code.
[ ] The project.json and AssemblyInfo.cs files have been updated with the new version of the SDK.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@azuresdkci add to whitelist

@azuresdkci test this please

@azuresdkci add to white list

@azuresdkci retest this please

@azuresdkci test this please

I like pretty much using the credential file, makes the things a lot easier.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Converted to a github issue.


is there any alternative to this library ?

It is now useless to me by the following problem:
https://github.com/ManuelPeinado/FadingActionBar/issues/90

+1


[MM-27261] fix: scrollbar click/drag in edit post modal

Summary
edit_post_modal was missing scroll/overflow detection that create_post has, which _post.scss uses to nudge .post-body__actions out of the way. Without this nudging, the scrollbar is covered by a div and is not interact-able.
Ticket Link

https://mattermost.atlassian.net/browse/MM-27261

Screenshots

@calebroseland Farhan and Jelena are off. Could another dev/QA review this?

@calebroseland One tiny issue - on Chrome and Desktop app (Windows), hovering the scroll bar shows the text selection cursor instead of the pointer (Firefox shows the pointer as expected).
This only repros on the PR, not seeing it on 5.27 or master. Could we fix that if it's related to this change or should we file that separately?

This PR is just syncing the UX between edit_post_modal and create_post.
I think it's technically separate, but I'm sometimes a fan of the "as long as we're here" mentality.
This is what I'm seeing in Chrome, Mac OS on Daily:

Ah, you're right - I see it now in the textbox on 5.27 & master (I only looked at the edit post modal previously).
Yes, I see the same thing in Chrome. Shouldn't it show the default cursor when dragging the scroll bar instead of the text cursor, like Firefox does?
This is what I see in Firefox:

@ogi-m Yes, the cursor change looks weird, I would expect it to display the default one.

@asaadmahmood @ogi-m those cursor oddities should be fixed now. (And description updated.)

@calebroseland
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-mattermost-webapp-#6188-upstream-release-5.27-1598378770
Branch 'automated-cherry-pick-of-mattermost-webapp-#6188-upstream-release-5.27-1598378770' set up to track remote branch 'release-5.27' from 'upstream'.

+++ About to attempt cherry pick of PR #6188 with merge commit 6b5117c9d167457dd3e9fb6c60242077c5b8a2ac.

+++ Conflicts detected:

UU components/create_comment/create_comment.jsx

+++ Aborting in-progress git cherry-pick.

+++ Returning you to the master branch and cleaning up.