Error: sdcard/sound.mp4: open failed: EACCES (Permission denied) when targetSdkVersion = 29 set

Version of react-native-audio-recorder-player
"react-native-audio-recorder-player": "^2.5.4",
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
No errors
Actual behavior
[Wed Nov 18 2020 16:34:32.284]  WARN     Possible Unhandled Promise Rejection (id: 0):
Error: sdcard/sound.mp4: open failed: EACCES (Permission denied)

Steps to reprodue the behabior
Error happening when set targetSdkVersion = 29 ❌
With targetSdkVersion = 28 everything is fine!  ✅
Other code is untouched, but I can share just for reference
const AudioRecorder: React.FC<Props> = ({ visible, onClose, onDone }: Props) => {
  const [recording, setRecording] = React.useState<boolean>(false)
  const [time, setTime] = React.useState<string | undefined>('00:00:00')
  const rec = React.useRef<AudioRecorderPlayer>()

  React.useEffect(() => {
    if (visible) {
      rec.current = new AudioRecorderPlayer()
    } else {
      rec.current = undefined
    }
  }, [visible])

  const onStartRecord = async () => {
    if (rec.current) {
      await rec.current.startRecorder()
      rec.current.addRecordBackListener((e: RecordEvent) => {
        setTime(rec.current?.mmssss(Math.floor(e.current_position)))
        return
      })
    }
  }

  const onStopRecord = async () => {
    const result = await rec.current?.stopRecorder()
    rec.current?.removeRecordBackListener()
    if (result) {
      onDone(result)
      onClose()
    }
  }

  const toggleRecording = () => {
    if (recording) {
      onStopRecord()
    } else {
      onStartRecord()
    }
    setRecording((prev) => !prev)
  }

  const iconName = !recording ? 'mic-outline' : 'stop-circle-outline'

  return (
    <Modal visible={visible} transparent animationType="fade" animated>
      <View
        style={{
          flex: 1,
          backgroundColor: 'rgba(0,0,0,0.5)',
        }}
      >
        <ModalBox visible>
          <View
            style={{
              backgroundColor: 'transparent',
              marginHorizontal: 12,
              marginTop: 12,
              alignItems: 'flex-end',
            }}
          >
            <TouchableOpacity onPress={onClose} hitSlop={hitSlop} disabled={recording}>
              <Icon
                name={'close-outline'}
                width={24}
                fill={!recording ? StyleGuide.colors.brand : StyleGuide.colors.grey}
                height={24}
              />
            </TouchableOpacity>
          </View>
          <View
            style={{
              flex: 1,
              justifyContent: 'center',
              alignItems: 'center',
              backgroundColor: 'transparent',
            }}
          >
            {!recording && (
              <Text style={{ marginBottom: 12 }} category="h6">
                Начать запись
              </Text>
            )}
            {recording && (
              <>
                <PlayingIndicator />
                <Text style={{ marginBottom: 12 }} category="h6">
                  {time}
                </Text>
              </>
            )}
            <TouchableOpacity
              onPress={toggleRecording}
              style={{
                width: 48,
                height: 48,
                borderRadius: 48 / 2,
                borderWidth: 1,
                justifyContent: 'center',
                alignItems: 'center',
                borderColor: StyleGuide.colors.brandDark,
              }}
            >
              <Icon name={iconName} width={24} height={24} fill={StyleGuide.colors.brandDark} />
            </TouchableOpacity>
          </View>
        </ModalBox>
      </View>
    </Modal>
  )
}

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.VIBRATE" />

Google says:
Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 29 https://developer.android.com/distribute/best-practices/develop/target-sdk

But upgrading to Api level 29 is required by Google to release an update for the App!

Dear all! This is kind critical, because API level of 29 is now required by Google.

Hello same error here. Pretty Critical, we will not be able to push in Prod

Hi the solution is to add the following to the Android manifest, application tag for API level 29.
android:requestLegacyExternalStorage="true".
See this for details

Hi the solution is to add the following to the Android manifest, application tag for API level 29.
android:requestLegacyExternalStorage="true".
See this for details

Worked for me. Thanks!

Hey! For API Level 30 is required "MANAGE_EXTERNAL_STORAGE" permission and the android:requestLegacyExternalStorage doesn't work anymore!
This is also critical!!

Hi the solution is to add the following to the Android manifest, application tag for API level 29.
android:requestLegacyExternalStorage="true".
See this for details

What if we want to increase the TargetSDKVersion to 31 or 32 and use this audio recorder feature as well? Is it possible to use this on new android devices?

I am testing the App on Android 12 with the targetSDKversion 31 but it's showing me the error Error: sdcard/sound.mp3: open failed: EACCES (Permission denied)
I have tried many solutions as suggested by many developers like adding requestLegacyExternalStorage permission in AndroidManifest file and also giving permission of MANAGE_EXTERNAL_STORAGE but still the error is same.
After decreasing the targetSDKversion to 29. App is working fine on Android 12 but since we can't upload it on Play Store, it's not useful and also some features becomes.
What should I do to make this feature work on Android 12 and above without decreasing the TargetSDKversion?
Can anybody help?

I am running into the same issues. @alishah514 and others, did anyoune find a solution?


Unable to generate token.js - error 1051

Hello,
I'm asking for help, I can't generate token.js
I'm not an expert in everything, so please bear with me.
node:internal/modules/cjs/loader:1051
throw err;  ^
Error: Cannot find module '/home/davys/MagicMirror/modules/MMM-GooglePhotos/generate_token.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
at Module._load (node:internal/modules/cjs/loader:901:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.8.0
Thanks

Solved.


fix links to chapters in References

Changes from https://github.com/openstax/cookbook/pull/263 are causing errors when web version is creating:

It's not related to the problem from issue. I'm closing it.


add create asset settings method

POST /assets/:id/settings
{
settings_ids: ["uuid1", "uuid2", ...]
}

@jessica-christie Don't know why the test keeps failing on circleci. It passes on local "go test".

@JHUShanZhong please fix circle failure.

@jessica-christie I think circleci loads github.com/SYNQfm/SYNQ-Golang/test_server from master branch for testing, which causes the mock server not updated and test fails. The only solution to pass circleci test is to merge the server update first then add in test.

@JHUShanZhong you're right. Please create a separate PR for the test_server so we can merge it first. Thanks.

 General : Add create asset settings method in SYNQ-Golang

Fixed the versioning issue.


bump R550 and R535 to the latest TRD releases

550.127.05 and 535.216.01 releases are now live.

For sure, I can do that in a follow up PR. I also need to clean up the CI pipeline yaml file to remove some unsupported distros

Should we remove R560 as I don't believe it will receive any more updates?

@cdesiniotis done


tasks for finetuning qm9

Hi, Thank you for your code for finetuning qm9, I have a small question on the corresponding relationship between task_idx and specific task.
do you mean that the correspondence is as follows?

Thank you for your kindest reply.

Yes, you are right. The task_idx denotes the corresponding target index in this table.


sequence simulator

is is true to say that  disturb with the constraints of k and m are the sequence simulator, As I have understood that disturb only adds substitution errors. Is there a place that shows that it adds  addition or deletion errors? I would so pleasured for your kind help.

The disturb function only adds substitution errors, since this code is designed for that. If you are interested in deletions and deletions, here is code that is designed for that: https://github.com/MLI-lab/noisy_dna_data_storage


Fix #194, Create Contributing.md

Describe the contribution
Fix #194
The Contributing.md file contains a table of contents and instructions on how to report bugs, request features, view security vulnerabilities, create pull requests, participate in discussions and ask questions, and how to write high-quality code.
Additional context
I would like to collaborate as a team on this file. Please review my main concerns and questions. Feedback is appreciated.
Code of Conduct example: https://www.contributor-covenant.org/version/1/4/code-of-conduct/
Main Concerns/Questions

I would like to finish the section "Writing High-Quality Code". It was written by @CDKnightNASA and @astrogeco. Thoughts/feedback on how it should look like?
What format do we want to use for commit message convention and PR convention. There are three different formats that were used throughout our documentation.

Fix-ISSUE_NUMBER-<FIX_SUMMARY>
Fix ISSUE_NUMBER, 50-ish-character-long summary of commit content
Fix #XYZ, SHORT_DESCRIPTION

Do we want to enforce a name convention for branches? I haven't seen developers using this.

Create a new branch in your fork to work on your fix. Please name your branch fix-ISSUE_NUMBER-<FIX_SUMMARY>.

For the Discussions and Questions section, it would be great to explore how cFS can allow for more discussions from the community. Some ideas include using gitter.im, discourse, or a discussions template to submit in the issues along with an appropriate label. Thoughts/feedback?
I would also like to work together to create a code of conduct before publishing this document. Thoughts on what it should look like?

Contributor Info - All information REQUIRED for consideration of pull request
Ariel Adams, ASRC Federal

I can't remember if we have this but another thing is, for now, to ensure that we have our "real names" associated with the github profile

Updates:

Updated Discussions and Questions so users do not submit GitHub issues, instead they should email us.
Update name convention for branches to recommend the convention rather than enforce it.
Ensure that we have our "real names" associated with the GitHub profile

Is there really a problem with user's submitting questions as issues?  We have the "question" category, and it's more publicly available than the community email list (some international users are unable to register to the community email list).  When/if we ever do get a real Q&A/FAQ system it may be easier to transfer issues over that are clearly marked than it would be to review all the community emails to prune useful correspondence... Also issues benefit from a clear thread and resolution marking, whereas community emails are much more freeform (not always clear when a question as been completely answered, often spawn multiple discussions).

@skliper I do not like users having to email us questions either. My issue with opening a question on GitHub is that most expert users do not check the issue tracker as often as developers. When asking a question on the issue tracker, developers will reply to it even if other users can reply to it. So, asking questions on issue tracker not only robs maintainers’ time but also robs chance of growing user community too. I noticed in the most recent question on the cFE repo was only answered by you, Jake, but when asking the same question through our email both David Jobe and Johnathan Wilmot answered the question. I prefer using a real Q&A system and forum as soon as possible. I mean we already have a core-flight-system tag on Stack Overflow. If we continue using GitHub for questions, I do want to provide a questions template as others have suggested.

We have the "question" category, and it's more publicly available than the community email list (some international users are unable to register to the community email list).

Are international users not able to email the community email list either?

@ArielSAdamsNASA - all good points, but sound more like process/resource issues than platform issues.  If someone was responsible for community interaction at a cFS management level perhaps they could manage a coordinated, high quality, official response in a much more effective manner?
Just a caution - stack-overflow is not always as "friendly" an environment as I'd prefer we promote for our stakeholders/customers.

@astrogeco Thoughts or comments?

I agree that going through github causes a lot of non-developers to never see them and that we should be trying to grow more community engagement. A dedicated forum would be best but using the email list in the short term is better than github in my opinion.

All valid points. I think it is more than just resources or process. The platform and its reach matters. I think having a community and engagement team or making that job explicitly part of our metrics as a program in some way is the right way to go. Like @zanzaben said the email list, though imperfect, is better than github for this at the moment.
Receiving questions in the mailing list gets people excited and creates an opportunity for people to connect which is what we want.
I agree with the stackoverflow perspective, I have seen some harsh interactions and behavior that does not align with where we want to go as a community

Like @zanzaben said the email list, though imperfect, is better than github for this at the moment.

While certainly a fair opinion from a specific perspective, I'd recommend objective criteria for determining "better".
The email list does not support the entire community that has access to GitHub.  I consider this a deal-breaker for relying solely on the email list or directing all queries to this platform, since that basically disqualifies a subset of our community from interacting or reaching out with questions.  Do we really want to promote this exclusivity?
We continue to all agree GitHub isn't perfect either, but it does provide "threads", "labels", easy searches, has the same reach as the code, can be curated, etc.  The email list also has downsides in that it's hard to tell what the "official" response is, searching is difficult, I'm not aware of a way to remove bad answers or out of scope issues, etc.  On either platform it's easy to manage/solicit responses from specific people.  Although the reach of the email list is in the 200-300's, GitHub and it's entire issue history is open has a much wider reach regardless of a "subscription" that may or may not even work for the user.

Another benefit of a "public" platform such as GitHub is search engine coverage.  The only way to search the email list is first off knowing where that search interface is, being a member, and using the antiquated interface.

While certainly a fair opinion from a specific perspective, I'd recommend objective criteria for determining "better".

The main objective is getting as many people as possible to interact with each other. People aren't currently doing that over Github, they are doing it over email.
All the other benefits you listed for github don't matter if no one is there to use them. Which is why in the short term using the system that people are currently using is the best option because getting people to move from one platform to another is an incredibly hard thing to do that gets exponentially harder the more times you do it so we shouldn't try to move them to github when we all agree it isn't a good long term option.

How about this for a compromise, let's make a "question" issue template that encourages the author to send the question by email to the community. I'm sure we could even find a workflow or a github bot that does the forwarding for us.

Another point to consider, and that I don't like, is that some companies might actually prevent their employees from posting to github as an open forum but are more lenient with the "closed" mailing list. How might we address this challenge?

I think we are agreeing neither the email list or GitHub individually address every issue.  It's for that reason I'm trying to advocate for continuing to allow questions to be submitted on GitHub.  Sure, you get a different crowd, but saying you can only submit issues on the email list cuts out a portion of the community's capability to even ask the question.

Let's continue the community conversation in https://github.com/nasa/cFS/issues/207

Removed the section Writing High Quality Code
Moved Discussions and Questions to the top of the Ways to Contribute
Add that users can submit questions to GitHub or email us. Add subscription information
Add code of conduct. Used standard template from https://www.contributor-covenant.org/version/1/4/code-of-conduct/

I think we are agreeing neither the email list or GitHub individually address every issue. It's for that reason I'm trying to advocate for continuing to allow questions to be submitted on GitHub. Sure, you get a different crowd, but saying you can only submit issues on the email list cuts out a portion of the community's capability to even ask the question.

I think it's good to leave both as options for this pull request.

@ArielSAdamsNASA do you want to ammend the commit so it shows you as author and me and Chris as coauthors?

The main objective is getting as many people as possible to interact with each other.

We have different main objectives, hence the reference to perspective.  I am not trying to get as many people as possible to interact nor am I trying to move everyone to GitHub, I just think it would be a step in the wrong direction to not allow questions to be submitted on GitHub until/unless there's a suitable replacement that's as easily accessible.  I'm advocating for a solution set that doesn't exclude portions of our community.

@ArielSAdamsNASA do you want to ammend the commit so it shows you as author and me and Chris as coauthors?

Updated the commit.


No getting the "export public pages to Hugo"

So I have installed the plugin but not getting an option to "export public pages to Hugo"

Also, the single-page export function is buggy. Here I am at some other page and it offers to export some other page and nothing happens when I click convert.

Export public pages to Hugo is accessible via the three dots in the top right corner. This will be there provided you're in a page.
On 14 Jul 2022 at 3:07 PM +0400, exist2021 @.***>, wrote:

So I have installed the plugin but not getting an option to "export public pages to Hugo"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Too buggy! No time to spare anymore. Appreciate the support.

okay the above screenshots explain the following

Even after setting all pages to the public, my pages are still private. I made a couple of pages public individually and exported them again but still, the local host doesn't any of my blogposts
The empty site is loading at the local host but not on https://exist2021.github.io/articulation/

Any support would be appreciayed


chore(deps): update terraform terraform-ibm-modules/kms-all-inclusive/ibm to v4.15.1

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/kms-all-inclusive/ibm (source)
module
patch
4.15.0 -> 4.15.1

Release Notes

terraform-ibm-modules/terraform-ibm-kms-all-inclusive (terraform-ibm-modules/kms-all-inclusive/ibm)
v4.15.1
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cbr/ibm to v1.23.1 (#523) (bf747e2)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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


Consider removing space elements in the default widgets

It is unclear what these accomplish that could not be easily accomplished by setting the margin on one of the adjacent elements or the spacing on the parent element.

We still need to do this.

We have decided to continue to use space elements, as they provide a simple and semantically clear way to add spacing to elements without dealing with side-specific and conditional margin. This also helps resolve #773.


json-file logging job - gating

This adds a gating logging job to run on every PR.  This configures
the operating system and OpenShift to use docker with
--log-driver=json-file.  The logging fluentd will automatically
detect this.
@stevekuznetsov @jcantrill ptal
[test]

Seems reasonable to me -- if you want to push it up and test it before we merge, let me know when you're happy with it

I pushed it up and tested it
one question - I had to duplicate a lot of code in order to implement this == tech debt - is there some way to parameterize config/test_cases/test_branch_openshift_ansible_logging so that I could run it both with json-file and without?

Not in the current framework. To DRY this out, we'd want to install with a different inventory, right? In the future @csrwng and I will make sure that is easy to do. Unfortunately the sjb tool is very poor at handling that situation.

right - different inventory, same job
ok, then just please merge and push as is

Done and done :)


sbt 1.3.3 ${packaging.type}

Hi all,
the issue has already been supposedly fixed (https://github.com/sbt/sbt/issues/4682), but I keep getting the following error with sbt 1.3.3:
[error] (update) java.net.URISyntaxException: Illegal character in path at index 104: https://repo1.maven.org/maven2/org/nd4j/nd4j-backend-impls/0.9.1/nd4j-backend-impls-0.9.1-linux-x86_64.${project.packaging}

Any ideas? Thanks!

@kamilkloch Thanks for the report. Please follow the template on https://github.com/sbt/sbt/issues/new?assignees=&labels=Bug&template=---bug-report.md&title=  following the issue reporting guideline - https://github.com/sbt/sbt/blob/develop/CONTRIBUTING.md#what-to-report

@eed3si9n I could not reproduce the error with sbt 1.3.4. Closing the issue. Thanks.


GraphQL integration for filtration

The implementation will consist of:

adapters (Default and GraphQL adapter) that will convert the incoming filtration parameters into Filter Request Wrapper;
Filter Request Wrapper object, that will handle the flow of the creation of Specification object for filtration in the database;
a default adapter - handles JSON's encoded filtration that is supported currently;
a GraphQL adapter that will convert the specific queries designed for GraphQL implementation into Filter Request Wrapper

Codecov Report
Attention: Patch coverage is 36.11111% with 23 lines in your changes missing coverage. Please review.

Project coverage is 29.91%. Comparing base (3cef1de) to head (f792289).

Files
Patch %
Lines

...ata/jpa/requery/adapter/JsonHttpFilterAdapter.java
35.29%
9 Missing and 2 partials :warning:

.../jpa/requery/adapter/GraphQLHttpFilterAdapter.java
0.00%
7 Missing :warning:

...a/requery/resolver/FilterJsonArgumentResolver.java
58.33%
4 Missing and 1 partial :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master      #14       +/-   ##
=============================================
- Coverage     57.93%   29.91%   -28.02%
+ Complexity       82       42       -40
=============================================
  Files            11       13        +2
  Lines           435      458       +23
  Branches         30       30
=============================================
- Hits            252      137      -115
- Misses          183      318      +135
- Partials          0        3        +3

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


feat(FormRequests): Allow custom FormRequest classes to include @bodyParam tags

PR to resolve https://github.com/mpociot/laravel-apidoc-generator/issues/584.
I really think this would be helpful to people, and am open to suggestions on the PR!

Sorry, had a spell of bad health and forgot about this. I think my major problem with this change is about people seeing that config key and thinking that this implies some sort of support for extracting parameters from form request rules. As it is, there's already enough confusion surrounding that. Ideally, your body params should be on the controller method. Also, the number of keys in the config file keeps increasing, so I want to eliminate any that aren't really important.
So, I know it's a minor feature, but I think I'll have to turn this down. I would like to leave it to the user to create a plugin that uses their custom formrequest class if they wish. They'd only need to extend the GetFromBodyParamTags and override the relevant parts. How's that?

+1 for the pull request
In Lumen without this the generator is not usable.
It's designed for APIs only, and placing all body params to the Controller, when you are having formrequest validators makes no sense, since you need to adjust the changes in two files.
But As jsiebach said, there are no FormRequest classes sadly in Lumen, so people are using forks.
Always changing the corresponding codes in the generator vendor code is not really an option when it comes to the CI/CD part, so we need a +1 fork for that.
It would be more handy if this custom option could come in.
Maybe hide it from the options, and only add it like a hidden option to the documentation for Lumen.


Prevent Stack Overflow

Resolves a problem that @sunxd3 encountered when generating a large unrolled IR.
I've yet to produce a MWR, but will attempt to do so before merging. @sunxd3 could you run this branch on your problem to confirm that it indeed resolves the issue? (it does on my machine, I'm just keen to ensure that it does also on other machines)
edit: I do not understand why this resolves the problem. Presumably there is some limitation of vcat(x...) that tends not to be hit.

can confirm that the fix works, thanks

Excellent. Since I really don't have any idea how to construct a MWE, and I don't have the time to dig around at the minute, I'm going to merge + tag this. If a similar problem appears, I'll try harder to great a MWE to tie it down.


Update to 1.17.1

just bumping the build to be against fabric 1.17.1
also bumped the release version to 1.0.3

Thanks for the pr! While I definitely will change what is built against, an update from 1.17 to 1.17.1 wouldn't include a version bump

Sorry about that; just reverted it now.


Support Investing BTC/ETH instead of USD every week

Fantastic tool there. Please also support mentioning the amount in BTC/ETH instead of in USD as most people compare with btc/eth

@luckymurari or just make it an option. I like USD 👍


Server db add pulling db login credentials via aws secrets:#107

Added a singleton class to retrieve secret key from aws

Obsolete. The issue has been addressed in #153.


auto-generate more docs

<EMAIL_ADDRESS>on 25 Aug 2011 at 9:11:
there might be some documentation that's still in the JSON that's not being
written into the auto-generated Go files

<EMAIL_ADDRESS>on 29 Mar 2015 at 3:06:
Closed - migrated to Github:
https://github.com/google/google-api-go-client/issues/5

Status changed to WontFix.

<EMAIL_ADDRESS>on 29 Mar 2015 at 10:42:
Reopening issue for auto-migration to Github.

Status changed to Accepted.

Successfully auto-migrated from code.google.com:
https://code.google.com/p/google-api-go-client/issues/detail?id=4


A small bug when exporting cameras in vmd.

The fov is now constant, but for some reason the cameras come out inverted (this only happens in vmd) I mean, it is the correct position, but look the other way, I found a way to fix it but it made me curious
Also: mmd does not read the camera the same as miku moving since miku moving apparently ignores the model name (model / camera) and loads them, but mmd does not load the cameras, since the model name does not match, it puts the error as if it were a normal motion instead of a camera
How to fix it in mmd:
https://mega.nz/file/OX52USbY#YZ9lWILSSd3KhG5cYlgGuaksPgjAQg_yIr0onG1F34E
I really don't know, I tried to see what the problem is by converting an mmd camera and one generated in million dance to readable text (vmd exploring tools) but despite having the same data both files had a different header

Thank you for the experiments and the guide! Now the camera works directly in MMD.
Apart from the positions and angles (so MMD and MMM are using different coordinate conventions), the "object name" field of motion data has to start with カメラ・照明 ("camera & lighting" in Japanese). Figured out by reading some valid camera motion files.


Implement parallelism hint and handling

We should consider refactoring some of this. There's a great deal of intertwined responsibility between the Executor and the ProcessorIteratorCollection with respect to processors and their availability.  There should be an appropriate separation of concerns here.


Categorize size of some bazel tests

This gets rid of the following warning:
"There were tests whose specified size is too big. Use the
--test_verbose_timeout_warnings command line option to see which ones
these are.
WARNING: //proxy/envoy:go_default_test: Test execution time (0.1s
excluding execution overhead) outside of range for MODERATE tests.
Consider setting timeout="short" or size="small".
"

Jenkins job manager/presubmit passed

Jenkins job manager/presubmit passed


Bump version to v2.19.1

@ydah, @pirj Should we push a bugfix release?

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

I apologize for the late appearance, I have some doubts regarding this change.

@bquorning @pirj Sorry for the delay in responding. I have opened a revised proposal on the matter as a PR. Please give me your feedback.

https://github.com/rubocop/rubocop-rspec/pull/1603

@pirj Does https://github.com/rubocop/rubocop-rspec/pull/1604 address your concerns?

@pirj @bquorning @Darhazer Sorry to bother you, but we would like to decide on a response plan and include it in the release.

@bquorning @pirj
I believe this has probably resolved the blockers for the release. Please let me know if I have missed anything.
The following PR is closed.

https://github.com/rubocop/rubocop-rspec/pull/1603#issuecomment-1507082570

No objections to releasing what we have.

I have updated this PR to now cut a minor release (v2.20.0). Are there any more pull requests we should merge for this release?

I think the following PR looks good to merge for this release.

https://github.com/rubocop/rubocop-rspec/pull/1618

@bquorning @pirj @Darhazer
I would like to extract the RuboCop FactoryBot for the v2.21.0 release. WDYT?

cc @rubocop/rubocop-rspec

#1610 and #1574 look solid.
#1527 is fine too, just needs a rebase. I never got to rubocop-rspec-rails extraction, so it doesn't make sense to keep holding it off.

All for the FactoryBot extraction in 2.21.0 🙌

The test that is now failing in CI / Edge RuboCop: spec will also succeed with https://github.com/rubocop/rubocop-rspec/pull/1620

#1619 is a small one, now green thanks to #1620.

Thanks for the feedback, I have updated this PR after merging the suggested PRs:

#1527
#1574
#1610
#1619
#1620

I also tried reordering the changelog entry for this release, to closer resemble what is recommended by https://keepachangelog.com/en/1.0.0/ (“The same types of changes should be grouped” they say, and list “Types of changes” as Added, Changed, Deprecated, Removed, Fixed, Security)


Fix campaign alias.

Related to #91

Codecov Report

Merging #124 into master will increase coverage by 0.08%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   72.85%   72.94%   +0.08%
==========================================
  Files          12       12
  Lines        3154     3156       +2
==========================================
+ Hits         2298     2302       +4
+ Misses        856      854       -2

Impacted Files
Coverage Δ

stix2elevator/convert_stix.py
70.3% <66.66%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit cbe4487:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit cbe4487:
:clock10: Full build: the average full build time is 7 min(s) 34 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit cbe4487:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add crawler_hints option to cloudflare_zone_settings_override

Current Terraform and Cloudflare provider version
Terraform v1.1.8
on linux_amd64

provider registry.terraform.io/cloudflare/cloudflare v3.13.0

Description
Crawler Hints is a beta caching option available in Zone Settings of Cloudflare Dashboard.
Use cases
Would be cool to be able to set that option with a setting when terraforming.
Potential Terraform configuration
resource "cloudflare_zone_settings_override" "website" {
    zone_id = "${var.cloudflare_zone_id}"

    settings {
        crawler_hints = "on"
    }
}

References
No response

would be really nice if we can get this in terraform, thank you!

any updates?

Waiting for this one to be implemented too

This issue has been closed as we are now tracking this internally with service teams directly. If you would like an update or to be notified when/if the product ships with this change, please reach out to Cloudflare Support or your account team who can watch the internal feature request for you.


SAK-34102 Disabled update details button when editing user details

Is it necessary to have doSave2?

@ern you are rigth isn't necessary. I've updated it


chore(chart): move legacy components inside legacy folder

Move legacy components like maya apiserver, admission controller snapshot operator, and volume provisioner inside the legacy folder.

@shovanmaity -- can you push this change into 2.x branch please.


Middleware assignment

Middleware belonging to a route now get assigned to that route instead of getting stored in a global list making it impossible for middleware to run on a route it doesn't belong to.
This also fixes the issue mentioned in #39

@lau1944


No select (apply) button when cropping image

Not visible apply(select) button

sorry, resolved by adding

to AndroidManifest.xml


UI Space no longer exists

The link https://uispace.net/ goes to a "domain expired" page

Closed with #65c7b47d2805b8dbd68f1ae92a8eb3fdbb83267e


I haven't been able to link conformance tests to corresponding requirements.
For example, taking Conformance test rta1 has no corresponding Requirement case,
these are the current markups:
Conformance test:
[[conformance_global]]
[conformance_test,id="rta1"]
====
[%metadata]
name:: G-Target
label:: <<conf_global,/conf/target_dependency>>
description:: There SHALL be no dependency between or among the individual
Standardization Targets.
test-purpose:: Verify that this requirement is satisfied
test-method:: Inspection
reference:: <<global,/req/target_dependency>>
classification:: Test Type:Conformance
====

Requirement:
[[global]]
[requirement]
====
[%metadata]
label:: <<req_global,/req/target_dependency>>
description:: There SHALL be no dependency between or among the individual
Standardization Targets.
====

First, I thought that the line reference:: <<global,/req/target_dependency>> would
be enough to make the link. Then I realized that is not and tried adding
subject:: <<global,/req/target_dependency>>, but still got the same result.
Is there something wrong with the markup?

@manuelfuenmayor why is the "label::" containing a cross-reference? A label is the identifier of the requirement/conformance test.

Well, like I said in the description, I have tried with this case:
[conformance_test,id="rta1"]
======
[%metadata]
label:: /conf/target_dependency
subject:: <<global,Requirement "Target Dependency">>
name:: G-Target
======

[[global]]
[requirement]
====
[%metadata]
label:: /req/target_dependency
description:: There SHALL be no dependency between or among the individual
Standardization Targets.
====

And yet, I'm getting the same result on compilation.

Bug, code was assuming type to be explicitly given, but it is implicit in [requirement].


updated sqlectron (1.6.1)

Changes to a cask
Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Merged as dcb034bd046c9ee49ba8fd46225208079deaec35.


Don't suggest to run application under Python 2

This message is invalid for Python 3 only apps. I know that developers
should do their own error handling, but this error could confusing
to users where such error handling was not done.

Thanks!

Fixes https://github.com/pallets/click/issues/659


Platform Release Notes 6/7/2016

@thomasbroadwell Why did you delete the 5.24 release notes as part of this pull request, was this intentional?
cc: @chrislittle

Not intentional.  I did not realize that I did that.  What should I do to correct that?
Tom
From: Rich DuBose<EMAIL_ADDRESS>Sent: Tuesday, June 07, 2016 8:02 AM
To: CenturyLinkCloud/PublicKB<EMAIL_ADDRESS>Cc: thomasbroadwell<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [CenturyLinkCloud/PublicKB] Platform Release Notes 6/7/2016 (#1035)
@thomasbroadwellhttps://github.com/thomasbroadwell Why did you delete the 5.24 release notes as part of this pull request, was this intentional?
cc: @chrislittlehttps://github.com/chrislittle
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/CenturyLinkCloud/PublicKB/pull/1035#issuecomment-224273057, or mute the threadhttps://github.com/notifications/unsubscribe/ALgueqBtfyx2WgDSL6WUTlND4CL2ZVe8ks5qJWvCgaJpZM4IvF8D.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.


File name out of sync when changing it without using the embedded explorer

VSCode Version: 1.46.1
OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:
1.Create a file called A.java
2.

Actually I found this bug when I was using the F2 refactor function. It might be a Java plugin bug, so I also posted an issue here

Does this issue occur when all extensions are disabled?: No(since the code template for Java is off), but renaming filenames outside Code will still make this kind of out of sync

Changing the case doesn't trigger refreshing at all...

Otherwise, the file name will refresh but refactor  won't be triggered.


Added required types in website/common folder

What kind of change does this PR introduce?
This PR introduces the addition of types to the website/common folder.

Summary
This PR adds required types to enhance the type safety and maintainability of the DisplayList, Footer, Navbar and Dropdown components

There is already a PR(https://github.com/vitessio/arewefastyet/pull/544) resolving this

Duplicate of #544


Keyrunner Uninstalling from User Computers

Describe the bug
Users are reporting Keyrunner being randomly uninstalled/removed from their Windows computers.
We are unable to find any event logs where the MSIInstaller was removed.
We are wondering if this could be caused by a failed update or it uninstalled itself for some reason.

@Mayo-API-Management Thanks for letting us know about the removals. To help us resolve this quickly, could you provide a few more details?

Approximately how many users have experienced Keyrunner being removed?
Are there any Group Policies in place?
Have any endpoint protection tools flagged Keyrunner or did users receive any security prompts when the removal happened?

Generally a failed update should not automatically uninstall the application and we are actively investigating this scenario

We will monitor this issue closely and with our upcoming release we will introduce detailed logging for both updates and any potential failures. This will help us narrow down the root cause of the problem if one exists. As of now we haven't observed this issue with any other users or within our internal team. Please let us know if this happens again with any other users.

Thanks for letting us know! We actually fixed an auto-update bug(https://github.com/launchiamenterprise/keyrunner/issues/50) in our previous release, so with the new .exe file, you shouldn’t run into this issue again.
Also as stated above we will introduce additional logging for updates and potential failures. Closing this issue for now. please reopen this issue if it happens again.


Classnames starting with numbers aren't highlighted

Take this bit of code :
class 30Rnd_556x45_Stanag {
    ...
};

The classname won't be colored, because it's starting with a number! I don't know if something can be done for this issue, but I'd love to see all my classes in the same color. It can be weird with files containing a large number of magazine classes.

Hello @acemod/maintainers. This ticket has been open for over 110 days without any activity.

Might be because c++ doesn't allow class names to start with digits.

could just copy and edit https://github.com/atom/language-c/blob/master/grammars/c%2B%2B.cson#L279

Hello @acemod/maintainers. This ticket has been open for over 100 days without any activity.


Implementation of Clone, Debug and documentation for structures

Resolves two cases from #19. I add only trivial implementations -- for example, for Drain implementing of Debug not trivial, so I do not add it

I added Debug for IntoIter using vec::IntoIter::as_slice() to access the items. I think we could also do Drain and IterMut if vec::Drain and slice::IterMut exposed slices, which I'll propose in std. For now, this seems good enough.
Thanks!


Stomp Component - Add support for virtual hosts in Apache Apollo

This change allows a Stomp endpoint to specify a virtual host that differs from the remote URI in order to allow this component/endpoint to be used with Apache Apollo (or any) brokers that have more than one virtual host.
Example usage:
stomp:queue:Q1?brokerURL=tcp://localhost:61613&login=user&passcode=pass&host=broker1

Thanks for this PR the code has been merged. Do you mind closing this?

Sure.  Any chance you can merge into 2.15.x?


aql: make E() take a list

Can you make sure the .E() behavior in aql.py matches the pattern of the .V() (which forces a list if the user passes a single id)

I will redo this after #70

Now in #82


Remove drop indexes. Fixes #90

The code wasn't needed as RDBMS will drop the index when the table is dropped.

Test failures suggest there is something more going on here than just the FKs.
In general I am not a fan of using "if exists..." in migrations (either the method or the second parameter) because it can hide issues. MigrationRunner should handle if/when the file runs, and at that point if it is "up" the table exists something has gone wrong prior.

It seems group causes an error on SQLite. This seems to be CI4 SQLite driver's bug.
ALERT - 2022-04-30 07:32:13 --> ALTER TABLE `db_auth_groups_users` RENAME TO `db_temp_auth_groups_users`
ALERT - 2022-04-30 07:32:13 --> CREATE TABLE `db_auth_groups_users` (
	`id` INTEGER NULL DEFAULT NULL,
	`user_id` INT NULL DEFAULT NULL,
	`group` varchar NULL DEFAULT NULL,
	`created_at` datetime NULL DEFAULT NULL,
	CONSTRAINT `pk_db_auth_groups_users` PRIMARY KEY(`id`)
)
ALERT - 2022-04-30 07:32:13 --> INSERT INTO db_auth_groups_users(id, user_id, group, created_at) SELECT id, user_id, group, created_at FROM db_temp_auth_groups_users
ERROR - 2022-04-30 07:32:13 --> ErrorException: SQLite3::exec(): near "group": syntax error in .../codeigniter-shield/vendor/codeigniter4/framework/system/Database/SQLite3/Connection.php:116

See copyData() in system/Database/SQLite3/Table.php

In general I am not a fan of using "if exists..." in migrations (either the method or the second parameter) because it can hide issues. MigrationRunner should handle if/when the file runs, and at that point if it is "up" the table exists something has gone wrong prior.

I get that and partially feel the same way, but I've had enough times where something fails in the middle of a migration during development that going back and cleaning up whatever had been done up to the failure point is a PITA. :)

That SQL for generating the table looks weird, not sure what the first null in each line is about, but something in there is causing an issue as it tries to recreate the table.
While we should dig into that bug in copyTable for now I've removed all drop foreign key instructions. Locally tests pass in SQLite, and I confirmed that the foreign keys are removed from MySQL's information_schema:key_column_usage table. I thought they stuck around but that doesn't appear to be the case.

I noticed that because disableForeignKeyChecks() is called, we don't need to delete foreign keys.
If tables are dropped, all keys also are deleted.


Update mypy

The only fix needed is to change our Feed dataclass so that it doesn't abuse the InitVar mechanism. Instead we declare data as an instance variable explicitly as part of __post_init__, which mypy does understand and correctly allows.

Coverage increased (+0.0002%) to 99.46% when pulling 2b8ead066b82368f17945b397b36aae98b669f9c on update-mypy into b9f2188cc460e7eb595470826093667c8d526ca3 on master.

Coverage increased (+0.0002%) to 99.46% when pulling 2b8ead066b82368f17945b397b36aae98b669f9c on update-mypy into b9f2188cc460e7eb595470826093667c8d526ca3 on master.


Made the role Ansible2 compatible

Ansible2 has some changes in naming and how it handles variables. These
changes make the role ansible2 compatible. This explicitly means that
the module is no logner compatbible with ansible1.

Tested this with an existing playbook where we use ansible 1.9.4 - works nicely.
Thanks!


Logging

A consistent logging experience, and helpers to support that, seems like a good goal (and a good fit for this repo :+1:). The way I see it:

The default Django logging configuration will likely never be sufficient for our production needs, so some sensible defaults (and a good API for extending those defaults) would be helpful. Something infrastructure-agnostic should be achievable
Some patterns like audit trail logs should be consistent across projects, baking these in to the default configuration and providing some helpers for wiring the logging in to our apps will help drive that consistency. For example:
- the discussion around audit log approaches in https://github.com/PHACDataHub/data-collection/pull/539
Lastly, there's lots of opportunity to get better logs through custom handlers. For example:

integrating with/providing structured (JSON) logging output (https://github.com/PHACDataHub/cloudrun-deployment-example/issues/15).
alerting devs on slack when an error or critical level log is written in prod

If we're agreed on moving forward with providing logging configuration/helpers in this package, I'm happy to flesh out some more specific work items and help grind them out!
Probably also worth taking a step back to survey what's already out there; I know some of the structure logging libraries are relatively drop-in and bring their own configurations. Maybe there's already a library suitable for giving us a consistent logging experience, and we just need to standardize around that.

I'd suggest we just upstream the logging configuration utils I've implemented in CPHO (https://github.com/PHACDataHub/cpho-phase2/pull/69), make sure it meets the needs of all the consuming projects, and then get everyone using this consistent logging configuration.

@AlexCLeduc can you take a look at the logging configuration in CPHO and provide some feedback?
Thanks

I don't know if every project is going to be interested in the slack integration but the cpho logging looks pretty good so far. I don't know if we should wait with more time-in-production with it before we standardize.
@Stephen-ONeil I think most projects are going to want a special logger for "interesting" events: someone's role is upgraded to admin, someone deletes an important record, etc. We'll want the ability to stream these logs to a different place with longer retention times and broader access.

All sounds doable, and I definitely would want to make the API easier to compose/inject additional logging configuration in to while adding it to the helpers repo, to leave flexibility on the project's end.

@Stephen-ONeil Love to see this! I've got all KINDS of stuff to add here 👍
Let me know if these DevOps links don't work....
Our SA&A Process to get our Authority-To-Operate for our applications have a number of controls to meet around Logging and Audits. We've captured most of the stuff in our CIRA Backlog
Parent Epic has links to many children, as well as the SRTM file that lists all the controls we must meet.
The main ones related to logging specifically are:
AU-3 Maintain Audit Records
AU-2 Auditable Events
AU-12 Audit Generation
AC-2.4 Account Audits
Every application we put into production will have to prove these requirements, so the more we can capture by using this library, the easier it'll be for future us.
Please take a look through and see if there's anything you can do to support these. If a meeting/chat would be helpful, let me know and I can set something up.

@tomcdona Sorry for the silence, had looping back this as the perpetual next thing down my list for a couple weeks, but stuff kept coming up. Got a bit of time now.
The DevOps links worked, skimmed though the work items and the more recent comments on them.
Funny that y'all ended up using OpenCensus; I recently set up OpenTelemetry for the HoPiC project, haha. A quick check just now turned up a status page listing Azure's OpenTelemetry support for python as being public-preview at the moment. OpenCensus was officially sunset in favour of OpenTelemetry at the end of July though, so fingers crossed that support should be official pretty quick and come with migration guides!
Some OpenTelemetry utilities will probably, eventually, make sense to have in the helpers repo. Maybe more than just utilities, but every cloud provider is going to have their own libraries and conventions for integrating it so there will be minor implementation differences. We'll need both GCP and Azure support in here, I expect. Shouldn't be too hard though, pending azure's support.
I wasn't actually using OpenTelemetry for logging in GCP, just for tracing. Over there, I just use the standard Python logging module with some handy output formatting and Django instrumentation libraries on top of that. In GCP, anything output to stdout is picked up and sent your logging storage automatically. Nice and simple, logging in prod looks the same as logging in dev. They have REST/RPC APIs and logging libraries too, but the console output logging is fully sufficient. I do have my tracing configuration injecting trace and span IDs in to all relevant logs, so everything's associated on the backend, but the logging side of things has no knowledge of the tracing side.
Some quick googling makes it seem like Azure's way of ingesting application logs is a little less straightforward and way more prescriptive. Seems like they deeply coupled logging to their Azure OpenCensus integration libraries. A little baffling because OpenCensus never actually got around to supporting logging, just did traces and metrics. Even OpenTelemetry's python libraries still list logging as experimental. They must have a custom logging backend, but I've not found any way (for Python at least) to write to it without their OpenCensus library. Not surprising that Microsoft is having a hard time moving to OpenTelemetry, bit of a mess, ha!
All that being said, it looks to me like OpenCensus itself isn't needed for an Azure project to start logging, just the logging handler from the Azure OpenCensus library (opencensus.ext.azure.log_exporter.AzureLogHandler) and a secret key for Azure application insights. Might be wrong about that, but the log handler itself should drop right in to the a standard Python logging module configuration. To be confirmed, but I think all the logging-specific utilities and configurations I worked out on GCP will work with Azure too, and the choice and configuration of OpenCensus vs OpenTelemetry should be irrelevant :+1:.
Happy to meet with you, @Dhanani, and anyone else on your end who's looked in to Azure's logging and OpenCensus! It'd be interesting to show eachother the Azure and GCP approaches to monitoring/telemetry.

All that being said, it looks to me like OpenCensus itself isn't needed for an Azure project to start logging, just the logging handler from the Azure OpenCensus library (opencensus.ext.azure.log_exporter.AzureLogHandler) and a secret key for Azure application insights. Might be wrong about that, but the log handler itself should drop right in to the a standard Python logging module configuration. To be confirmed, but I think all the logging-specific utilities and configurations I worked out on GCP will work with Azure too, and the choice and configuration of OpenCensus vs OpenTelemetry should be irrelevant 👍.

This is the approach we took. We created an application insights instance in Azure linked it to our App Service, and injected the secret key into the settings file


[FEATURE] Data migration from self hosted instance

Summary
A user thought it might be a good idea to be able to migrate his data from one ec2 instance to another or from an ec2 instance to our cloud instance
Motivation
Users are initially wary of giving the cloud version their db credentials but over time want to move to the cloud version because it's easier to manage or be able to restore their setup on another ec2 instance incase something un-foreseen happens to their instance
Additional Context
Sentry does a great job with this feature!

This is a great idea! Do you have any resources that link to how Sentry achieves this? Would love to learn from a good UX for this feature.
Also, from my initial understanding, this feature requires that we do the following first:

Create a backup of all the data in the DB.
Be able to restore the backup of the DB in another instance. The tricky part will be to preserve all the IDs.

Hi, so i think my question is related to this ticket. I am looking into running a system like appsmith to build various internal applications for my startup/scale-up.
Now we have a very experienced devops team but we dont want to spend time om worrying about databases if it can be prevented. Which is why I was wondering if you might know if i would run into any issues if I try to run appsmith against AWS DocumentDb instead of running a mongodb in a container?
What other backup/restore solutions would you recommend for me to look at for appsmith/mongodb?

Hi @crooy 👋
Your question is actually slightly different than this feature request.
Appsmith internally uses mongo to manage application data and performs all application logic on this db. So it is not a simple backup / restore option. All our application logic is written to interact with a mongo db so it wouldn't be possible to use a different DB. If you are worried about managing the application and database, we have a managed Cloud Version which you can use 😄

Wow, quick response!
Ok, first of all sorry for hijacking this ticket 😞.
From your answer I cannot be certain you know what AWS Document DB is so to be certain: AWS DocumentDB is a mongodb compatible hosted database, there are some differences.
The thing I want to pay for hosted services so I can show an SLA to my product owners. Hypothetically, if I do a daily dump of the mongodb, could i restore the database if i want to go back a week for example?

@crooy whoops my bad I might be wrong then. I definitely thought it was a new db. 😂 #TIL
@mohanarpit can you help answer this better?

@crooy I haven't tried Appsmith against DocumentDB. In theory, it could work but we can't guarantee longer term compatibility because DocumentDB is always a little behind on features supported by MongoDB itself. Hence, I wouldn't officially recommend it to you. But give it a shot and let us know your experience 😄 .
Having said that, incase you don't want to manage databases (who does?), you can either:

Use our cloud hosted version https://app.appsmith.com. In this case, you are transferring your problems of data management to us.
Use MongoDB cloud. Here you get a hosted MongoDB instance with all the bells & whistles around backup, restore etc. You can host it in the same region as your AWS servers as well to minimize latency.

Thanks! I will let you know in case we try and experience Documentdb! Although you make a good point that mongodb-cloud might be smarter.

This is not possible with import / export

@crooy did documentdb work?

@crooy did documentdb work?

DocumentDB doesn't work for me (tried yesterday with the last version).

havent tried, sorry.
On Sat, Jan 21, 2023 at 10:41 PM Christian Musa @.***>
wrote:

@crooy https://github.com/crooy did documentdb work?
DocumentDB doesn't work for me (tried yesterday with the last version).
—
Reply to this email directly, view it on GitHub
https://github.com/appsmithorg/appsmith/issues/488#issuecomment-1399338106,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGOZBWQTFDJEQ7WUMCIRSDWTRJZHANCNFSM4QTBJYEA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Bug]: Performance lags seen on v1.47 with postgres db

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Various actions on the appsmith local instance when configured with postgres db are having performance delays
Steps To Reproduce
Try the following actions after taking a pull of appsmith v1.47 locally, and setting it up to connect to postgres db

App creation,
Loading of app in edit mode,
Deploy mode,
Datasource test connection,
Send test email in admin settings

6:05
Public Sample App
No response
Environment
Production
Severity
Medium (Frustrating UX)
Issue video log
No response
Version
v1.47

Performance lag is also seen on git operations

Closing this, please open if we see this issue again!


Loading pretrained model fails due to memory error

I have a trained model on a dataset A and am trying to load the model as initialization on a different dataset B. Both A and B are of same size and the model file is exactly the same. However, the loading seems to fail due to memory issue [done via -mlp ${INIT_MODEL_PATH}  to ludwig train command ]. This seems strange because I would've though the loader should've simply worked since the dataset sizes are same. Any idea why it may be happening ? Does preloading this way needs twice as much memory for example ? The errors look like below
E tensorflow/stream_executor/cuda/cuda_driver.cc:828] failed to allocate 1.32G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
Are there any workarounds possible ?

@mangleddata thanks for posting this. In order to debug we need more information. Specifically, we need a way to reproduce the problem, be it a model_definition.yaml + data + command or a python script or notebook. If you can't share your data there's a script that synthesizes data for you in data/dataset_synthesyzer.py. Anyway, being it a tensorflow memory allocation problem, it's likely a model problem and not a dataset problem. In most cases the size of the dataset does not impact the size of the model.

Please take a look into https://github.com/mangleddata/repro_ludwig
The data is randomly created, so wont make sense. But you should be able to reproduce. Perhaps, you could take a look into the scripts to see if I am doing something basic incorrectly.
Thanks for looking into it.

Something I just found out. If I initialize and run without a distributed trainer [so horovodrun -np 1 --stall-check-shutdown-time-seconds 120 ludwig ...], it seems to work.

Something I just found out. If I initialize from a previous model and run without a distributed trainer [so horovodrun -np 1 --stall-check-shutdown-time-seconds 120 ludwig ...], it seems to work.

Thank you, this is pretty valuable for us to reduce the scope and identify where the problem lies. Will look into it and keep you psoted.

An update on this issue @mangleddata .
I was able to run your code, thank you for being really through with it, it helps a lot.
Unfortunately I was not able to replicate the error, most likely because either my machine has more RAM or my GPUs have more VRAM than yours.
Anyway, while running your rerun script I noticed a weird thing when using horovodrun.
[1,0]<stdout>:╒══════════╕
[1,0]<stdout>:│ TRAINING │
[1,0]<stdout>:╘══════════╛
[1,0]<stdout>:
[1,0]<stderr>:2020-03-05 14:07:50.483284: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
[1,0]<stderr>:2020-03-05 14:07:50.514970: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
[1,0]<stderr>:2020-03-05 14:07:50.515261: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x18ffe050 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
[1,0]<stderr>:2020-03-05 14:07:50.515284: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
[1,0]<stderr>:2020-03-05 14:07:50.519618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
[1,0]<stderr>:2020-03-05 14:07:50.927518: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x61600c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
[1,0]<stderr>:2020-03-05 14:07:50.927561: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
[1,0]<stderr>:2020-03-05 14:07:50.927571: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (1): GeForce RTX 2080 Ti, Compute Capability 7.5
[1,0]<stderr>:2020-03-05 14:07:50.929271: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties:
[1,0]<stderr>:name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
[1,0]<stderr>:pciBusID: 0000:02:00.0
[1,0]<stderr>:2020-03-05 14:07:50.930630: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 1 with properties:
[1,0]<stderr>:name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
[1,0]<stderr>:pciBusID: 0000:03:00.0
[1,0]<stderr>:2020-03-05 14:07:50.931131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,0]<stderr>:2020-03-05 14:07:50.933364: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
[1,0]<stderr>:2020-03-05 14:07:50.935192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
[1,0]<stderr>:2020-03-05 14:07:50.935716: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
[1,0]<stderr>:2020-03-05 14:07:50.938355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
[1,0]<stderr>:2020-03-05 14:07:50.939922: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
[1,0]<stderr>:2020-03-05 14:07:50.943993: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
[1,0]<stderr>:2020-03-05 14:07:50.947199: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1767] Adding visible gpu devices: 0, 1
[1,0]<stderr>:2020-03-05 14:07:50.947257: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,0]<stderr>:2020-03-05 14:07:50.949328: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:
[1,0]<stderr>:2020-03-05 14:07:50.949344: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186]      0 1
[1,0]<stderr>:2020-03-05 14:07:50.949350: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 0:   N N
[1,0]<stderr>:2020-03-05 14:07:50.949354: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 1:   N N
[1,0]<stderr>:2020-03-05 14:07:50.951589: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8565 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:02:00.0, compute capability: 7.5)
[1,0]<stderr>:2020-03-05 14:07:50.953408: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 10311 MB memory) -> physical GPU (device: 1, name: GeForce RTX 2080 Ti, pci bus id: 0000:03:00.0, compute capability: 7.5)
[1,1]<stderr>:2020-03-05 14:07:52.543080: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
[1,1]<stderr>:2020-03-05 14:07:52.571127: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
[1,1]<stderr>:2020-03-05 14:07:52.571545: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1c3d7eb0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
[1,1]<stderr>:2020-03-05 14:07:52.571572: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
[1,1]<stderr>:2020-03-05 14:07:52.575486: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
[1,1]<stderr>:2020-03-05 14:07:52.764596: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5273260 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
[1,1]<stderr>:2020-03-05 14:07:52.764649: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
[1,1]<stderr>:2020-03-05 14:07:52.764662: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (1): GeForce RTX 2080 Ti, Compute Capability 7.5
[1,1]<stderr>:2020-03-05 14:07:52.766768: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties:
[1,1]<stderr>:name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
[1,1]<stderr>:pciBusID: 0000:02:00.0
[1,1]<stderr>:2020-03-05 14:07:52.768520: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 1 with properties:
[1,1]<stderr>:name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
[1,1]<stderr>:pciBusID: 0000:03:00.0
[1,1]<stderr>:2020-03-05 14:07:52.769013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,1]<stderr>:2020-03-05 14:07:52.771443: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
[1,1]<stderr>:2020-03-05 14:07:52.772868: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
[1,1]<stderr>:2020-03-05 14:07:52.773229: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
[1,1]<stderr>:2020-03-05 14:07:52.775173: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
[1,1]<stderr>:2020-03-05 14:07:52.776662: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
[1,1]<stderr>:2020-03-05 14:07:52.781237: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
[1,1]<stderr>:2020-03-05 14:07:52.784516: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1767] Adding visible gpu devices: 0, 1
[1,1]<stderr>:2020-03-05 14:07:52.784575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,1]<stderr>:2020-03-05 14:07:52.786729: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:
[1,1]<stderr>:2020-03-05 14:07:52.786747: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186]      0 1
[1,1]<stderr>:2020-03-05 14:07:52.786754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 0:   N N
[1,1]<stderr>:2020-03-05 14:07:52.786758: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 1:   N N
[1,1]<stderr>:2020-03-05 14:07:52.789056: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8171 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:02:00.0, compute capability: 7.5)
[1,1]<stderr>:2020-03-05 14:07:52.790358: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 10164 MB memory) -> physical GPU (device: 1, name: GeForce RTX 2080 Ti, pci bus id: 0000:03:00.0, compute capability: 7.5)

As you can see both processes are trying to use both GPUs, while when training the first time with horovod each process was using one GPU:
[1,0]<stdout>:╒══════════╕
[1,0]<stdout>:│ TRAINING │
[1,0]<stdout>:╘══════════╛
[1,0]<stdout>:
[1,0]<stderr>:2020-03-05 14:01:28.909995: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
[1,0]<stderr>:2020-03-05 14:01:28.939007: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
[1,0]<stderr>:2020-03-05 14:01:28.939324: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56d54d0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
[1,0]<stderr>:2020-03-05 14:01:28.939352: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
[1,0]<stderr>:2020-03-05 14:01:28.942797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
[1,0]<stderr>:2020-03-05 14:01:29.219551: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xf398c70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
[1,0]<stderr>:2020-03-05 14:01:29.219592: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
[1,0]<stderr>:2020-03-05 14:01:29.221195: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties:
[1,0]<stderr>:name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
[1,0]<stderr>:pciBusID: 0000:02:00.0
[1,0]<stderr>:2020-03-05 14:01:29.222702: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,0]<stderr>:2020-03-05 14:01:29.263498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
[1,0]<stderr>:2020-03-05 14:01:29.279116: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
[1,0]<stderr>:2020-03-05 14:01:29.287012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
[1,0]<stderr>:2020-03-05 14:01:29.331148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
[1,0]<stderr>:2020-03-05 14:01:29.358297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
[1,0]<stderr>:2020-03-05 14:01:29.430127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
[1,0]<stderr>:2020-03-05 14:01:29.432621: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1767] Adding visible gpu devices: 0
[1,0]<stderr>:2020-03-05 14:01:29.432714: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,0]<stderr>:2020-03-05 14:01:29.436324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:
[1,0]<stderr>:2020-03-05 14:01:29.436352: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186]      0
[1,0]<stderr>:2020-03-05 14:01:29.436365: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 0:   N
[1,0]<stderr>:2020-03-05 14:01:29.438562: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8552 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:02:00.0, compute capability: 7.5)
[1,1]<stderr>:2020-03-05 14:01:30.694960: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
[1,1]<stderr>:2020-03-05 14:01:30.723104: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
[1,1]<stderr>:2020-03-05 14:01:30.723415: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5063230 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
[1,1]<stderr>:2020-03-05 14:01:30.723440: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
[1,1]<stderr>:2020-03-05 14:01:30.727007: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
[1,1]<stderr>:2020-03-05 14:01:30.885130: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5184550 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
[1,1]<stderr>:2020-03-05 14:01:30.885178: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
[1,1]<stderr>:2020-03-05 14:01:30.887298: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties:
[1,1]<stderr>:name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
[1,1]<stderr>:pciBusID: 0000:03:00.0
[1,1]<stderr>:2020-03-05 14:01:30.887833: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,1]<stderr>:2020-03-05 14:01:30.890398: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
[1,1]<stderr>:2020-03-05 14:01:30.892588: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
[1,1]<stderr>:2020-03-05 14:01:30.893213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
[1,1]<stderr>:2020-03-05 14:01:30.896081: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
[1,1]<stderr>:2020-03-05 14:01:30.898183: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
[1,1]<stderr>:2020-03-05 14:01:30.901979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
[1,1]<stderr>:2020-03-05 14:01:30.903680: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1767] Adding visible gpu devices: 1
[1,1]<stderr>:2020-03-05 14:01:30.903744: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
[1,1]<stderr>:2020-03-05 14:01:30.905820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:
[1,1]<stderr>:2020-03-05 14:01:30.905835: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186]      1
[1,1]<stderr>:2020-03-05 14:01:30.905852: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 1:   N
[1,1]<stderr>:2020-03-05 14:01:30.907516: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10311 MB memory) -> physical GPU (device: 1, name: GeForce RTX 2080 Ti, pci bus id: 0000:03:00.0, compute capability: 7.5)

So my current suspicion is that when loading for some reason the GPU assignment gets mixed up.
I will inspect more and keep you posted if that's the case and if I can find a solution.
One minor comment: your model is pretty complicated with dependencies between different outputs and heads with their own weights and different datatypes as inputs, it's really cool! These are the kind of things I would love users to be able to do with Ludwig :) I'm curious what it is actually used for, we can chat privately about it if you prefer. Anyway, there's one minor problem with the model definition. you define validation_field and validation_measure for each output feature, while they are parameters of the training section of the yaml file. Right now they are ignored. The logic is: when deciding if to do an early stopping, I have to keep track of a specific number to see if it improves, and that number can be any of the validation "cells" that are printed at the end of each epoch or all the features, so you have to decide which of the different output features to keep track of and which measure (loss, accuracy, etc.) and there's also a combined feature in which the loss is the weighted sum of all others. So you have to pick one of them fundamentally, if you don't know which one, pick validation_field: combined and validation_measure: loss.

Thanks for looking into this. The fix you made did fix the load issue. I am able initialize the model from previous model results and it works great! One issue though, something got broke if I simply did a reinstall - not sure if some dependencies are messed up. So I had to manually merge the changes and that's good enough for me. I understand you may not have time, but it would be great if someone could build a docker image or some cloud image with major versions. That way all the prereq would be baked in and it would be much simpler to launch.
As for the complex model, it's a hobby project and I would be happy to chat more. It is more complex than what it needs to be, but it has been lot of fun and I am still at it during my free time. Please reach out to<EMAIL_ADDRESS>and I will explain in detail what I am trying to do.

What got broke when you reinstall? Can you try to start a fresh venv and see if that solves the problem?
Regarding the docker, there is a dockerfile in the repo, that doesn't work for you?
Will reach out to you regarding the project, I'm curious.


Unable to access the download page

There is a certificate error with the download page for SSMS. Currently Chrome and Edge are not allowing me to reach it.

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

ID: 45daf2f0-bb22-338f-062b-a9fabcb71a92
Version Independent ID: b6e909fe-15d9-c1cf-c018-d4f6f36ff31f
Content: Download SQL Server Management Studio (SSMS) - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/download-sql-server-management-studio-ssms.md
Product: sql
Technology: ssms
GitHub Login: @dnethi
Microsoft Alias: dinethi

@hkonomi1 -- thank you for your feedback.  It appears to be working now.  Please try again.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.

It is not working, still the same error

Hi, @hkonomi1,
I'm not getting an issue either.
I know this is easier said than done, but any chance you can try on a different machine or clear the cache from your browsers?

This is the error I get with multiple browsers when clicking the download
link:
[image: image.png]
On Wed, May 13, 2020 at 9:16 PM Mark Ghanayem<EMAIL_ADDRESS>wrote:

Hi, @hkonomi1 https://github.com/hkonomi1,
I'm not getting an issue either.
I know this is easier said than done, but any chance you can try on a
different machine or clear the cache from your browsers?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/4724#issuecomment-628328751,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK3PW4YQ7WF65EAF7NPIZ6TRRNA7NANCNFSM4M22MXNA
.

I am in Canada

can you try downloading one of the different languages and see if that works for you? - https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017#available-languages
please let us know.
thank you.

Doesn't work for me either.
I have a fresh install of Server 2019 and am installing SQL Server 2017.
The Install SQL Server Management Tools link from the installer takes you to
https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?redirectedfrom=MSDN&view=sql-server-ver15
The Download SQL Server Management Studio (SSMS) link takes you to https://aka.ms/ssmsfullsetup
which fails on IE 11, the default browser for Server 2019

The download (https://aka.ms/ssmsfullsetup) worked for me in chrome.

@hkonomi1,
Are you still experiencing this issue?
@UnimplementedTrap,
Can I ask what error you are getting, please?
This is important if you can't download it.

I have a different error than before.
From the SQL Server 2017 installer I clicked "Install SQL Server Management Tools"
IE-11 Opens up and gets the following error.

Chrome opens the page just fine.
As a test I added go.microsoft.com to the trusted sites under Internet Options -> Security, then I set the Security levels to low for the trusted sites and I got the same error.

@UnimplementedTrap
Can you verify on the server under IE Enhanced security is set to OFF?

if that is not set you cannot download on a Windows Server via IE.

It is Off.
When I first commented https://github.com/MicrosoftDocs/sql-docs/issues/4724#issuecomment-635514876
Using IE-11, I could load the "Download SQL Server Management Studio (SSMS)" page, I just couldn't connect to https://aka.ms/ssmsfullsetup
Now I can't even load the "Download SQL Server Management Studio (SSMS)".
I have downloaded/installed everything I need, so I don't need any help.  I am happy to answer any questions if it helps you.

@UnimplementedTrap,
Thank you for clarifying and bringing this to our attention.
We will continue to investigate this situation with SSMS being downloaded via IE 11 on WS 2019.

@hkonomi1,
Since I cannot repro the issue, please open a support ticket for further assistance.
Please visit one of the following pages depending on your product or service.
On Prem users
SQL on Azure
Services Hub (Unified/premier customers)
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the UserVoice site.


Enclosure Group creation

Hello,
How can Ispecify the logical interconnect group(s) to use when creating an enclosure group?
Many thanks,
Vinicole

Please refer to enclosure-group playbook in examples folder. We have specified the logical interconnect group uri while creating enclosure group in line 46 of below mentioned file.
https://github.com/HewlettPackard/oneview-ansible/blob/master/examples/oneview_enclosure_group.yml

Thanks, it works when I add the LIG uris.
Do you have an example of an enclosure group creation using an address pool for interconnect configuration (instead of using "managed externally")?

@vinicole , You can capture the REST api payload from oneview UI and use the same payload with some syntax changes as per yaml.
I have added the playbook to create Enclosure Group with ip pool for interconnects.
name: Create an Enclosure Group with ip range uris
oneview_enclosure_group:
  config: "{{ config }}"
  state: present
  data:
      name: "EG-rangeuris_with_ip_pool"
      ipAddressingMode: "IpPool"
      ipRangeUris:
        - /rest/id-pools/ipv4/ranges/d4321a21-42b5-4a1e-9c44-9e8bf9339dfa
      ipv6AddressingMode: "External"
      enclosureCount: 3
      osDeploymentSettings:
        manageOSDeployment: true
        deploymentModeSettings:
          deploymentMode: "Internal"
      interconnectBayMappings:
        - interconnectBay: 3
          logicalInterconnectGroupUri: "/rest/logical-interconnect-groups/648058bc-58cc-42f9-961b-23d5c76b7952"
        - interconnectBay: 6
          logicalInterconnectGroupUri: "/rest/logical-interconnect-groups/648058bc-58cc-42f9-961b-23d5c76b7952"
delegate_to: localhost

Thanks for the updated script, it works fine.


Behaviour of start_date and end_date parameters of device.get_energy_data()

In an earlier issue (#221) we discussed on the meaning of the returned timestamps in the device.get_energy_data() response.
Now I have an issue with the input parameters of this API call.  Want to make sure that the returned daily energies belong to fully completed days. So, I set the end_date (which is default None) to yesterday. I notice that the reponse still contains zeroes for the energies of tomorrow and more days ahead.  That means that the data for today, which is also returned is not for a complete day.
I could live with that if I could relate the returned timestamps with the data items. However, I notice that the response nicely returns the start_date that I used as input, but that is not the timestamp belonging to the first data item in the response.
E.g. if I use a start_date of 5 days before now, the data still contains 35 items befor that of today. I did not yet investigate if the difference is alway 30 days (or a month).
It would be nice if the actual day belonging to a data item could be derived from the returned timestamps. Now I have to "remember" the time of the call and relate that to the last non-zero value in the data.
(the description is maybe pretty complicated, but I don't know how to make this more clear now)

I can state my issue in a different way:  when I try to set the start_date for the sequence, the device properly returns a timestamp (as start_timestamp) correponding with the input start_date. But I can not rely on the fact that the first item in energy_data_daily.data corresponds with the energy recorded for that day.

The only reference between returned energy values and the date is that the last non-zero item in the list coresponds with the (unfinsihed) day of the request.
A work-around that I pack the date of the request in an object together with the received response and create a routine to find the date corresponding with each data item.

Console output:
Energy data (daily): {'data': [287, 288, 287, 287, 288, 286, 286, 476, 292, 292, 290, 288, 287, 555, 292, 291, 291, 292, 294, 294, 294, 292, 290, 290, 292, 291, 291, 291, 291, 294, 294, 290, 292, 292, 290, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'end_timestamp':<PHONE_NUMBER>, 'interval': 1440, 'local_time': '2024-08-05T19:15:32', 'start_timestamp':<PHONE_NUMBER>}
start date_time: 2024-07-06 02:00:00 start_ts:<PHONE_NUMBER>
  end date_time: 2024-07-06 02:00:00   end_ts:<PHONE_NUMBER> (which is non-valid)

Visual Studio Locals:  (it is now:  2024/08/05  19:17)
+		start_date	datetime.datetime(2024, 7, 6, 23, 59)	datetime
+		end_date	datetime.datetime(2024, 8, 4, 23, 59)	datetime

+       energy_data_daily['data']

		00	287	int    expect this to be the value for 2024-07-06 (as requested with start_date), but according to the app and
		01	288	int    counting back from last non-zero value it is
		02	287	int
		03	287	int
		04	288	int
		05	286	int
		06	286	int
		07	476	int    expect this to be 07/08 (based on counting back from last non-zero item) which is OK according app screenshot.
		08	292	int
		09	292	int
		10	290	int
		11	288	int
		12	287	int
		13	555	int
		14	292	int
		15	291	int
		16	291	int
		17	292	int
		18	294	int
		19	294	int
		20	294	int
		21	292	int
		22	290	int
		23	290	int
		24	292	int
		25	291	int
		26	291	int
		27	291	int
		28	291	int
		29	294	int  07/29
		30	294	int  07/30
		31	290	int  08/01
		32	292	int  08/02
		33	292	int  08/03
		34	290	int  08/04
		35	233	int  this is the value of the unfinished day of today (2024/08/05)
		36	0	int
		37	0	int

And the screenshot of the Android app:

Daily intervals are quarterly based.
Therefore, start_date must be the first day of the month.
end_date is not required. The interval will run until the end of the quarter, and there's no flexibility on that, unfortunately.

OK. Thanks.
Does this mean that I only can select any specific quarter? Or can I only select only the current quarter?
If the latter is true it means that it is "hard "to get full day data for the last day of a running quarter. The request MUST then be done just before midnight of that last day.

You can select a specific quarter.


feat: add target selection to pipelines

k get pods -n mpas-sample-project
NAME                        READY   STATUS    RESTARTS   AGE
backend-6dd8f5fbf8-27lsz    1/1     Running   0          24s
backend-6dd8f5fbf8-pljjg    1/1     Running   0          24s
frontend-56ff5b9864-dh7ln   1/1     Running   0          7m20s
redis-7475dd84c4-qjms7      1/1     Running   0          7m20s

BOOM


Only render tip to error log if plain text renderer is used

If the logErrorRenderer is not the plain text renderer then we must not render the tips message as this will break the structured format of the message that's been rendered.
Closes #3317

coverage: 99.427%. remained the same
when pulling bb96d393c1270fe8e8aa68d248db61e7911dd9e1 on akrabat:3317-do-not-write-tips-message-to-formatted-output
into ad92887b00617246b2cb1be40bff4b4922a987a6 on slimphp:4.x.


[BUG] In search bar

Description
When I search for an image in search bar for eg. Games. Then it shows nothing and even if I enter travel It also shows nothing. That's the bug
Expected Behavior
If I search something which is not available then It should show not found and If I search something which exist it should show that particular Image with it's description.
What happens instead?
If you find it relevant please assign this to me and mark as hacktoberfest-accepted

 @RahulGIT24 its actually working

I think it's api key issue

Assign me this issue. I have checked locally...it looks i can fix it!

What's the issue its working fine for all. May be you added wrong api key

What's the issue its working fine for all. May be you

Yes I thik I entered a wrong one. I think we should ask user on client side to enter api key if it's not available.


storage-monitor: statvfs arithmetic bug fixed

Should fix: https://github.com/paritytech/substrate/pull/13082#discussion_r1085613384
blocks_available returns u32 for Apple/Darwin (https://docs.rs/libc/0.2.139/x86_64-apple-darwin/libc/type.fsblkcnt_t.html). This fix should solve this problem.

Thank you! yeah I'm using M1 Mac

bot merge


TS Server fatal error:  Debug Failure. False expression.

Issue Type: Bug
TypeScript Version: 3.7.3
Steps to reproduce crash

Have 4 tabs open with .tsx files
Work late into the night
Burn your pants with your flaming hot laptop
TS Server Error Stack

Error: Debug Failure. False expression.
    at ProjectService.applyChangesInOpenFiles (tsserver.js:138402:34)
    at Session.handlers.ts.createMapFromTemplate._a.<computed> (tsserver.js:139271:46)
    at tsserver.js:140929:88
    at IOSession.Session.executeWithRequestId (tsserver.js:140920:28)
    at IOSession.Session.executeCommand (tsserver.js:140929:33)
    at IOSession.Session.onMessage (tsserver.js:140952:35)
    at Interface.<anonymous> (tsserver.js:142267:27)
    at Interface.emit (events.js:203:13)
    at Interface._onLine (readline.js:316:10)
    at Interface._normalWrite (readline.js:461:12)
    at Socket.ondata (readline.js:172:10)
    at Socket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at Socket.Readable.push (_stream_readable.js:210:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:166:17)

VS Code version: Code - Insiders 1.44.0-insider (0926b534553f3ff2f0cff0a741550a97df199706, 2020-03-23T08:11:36.196Z)
OS version: Darwin x64 19.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
7, 4, 4

Memory (System)
16.00GB (3.62GB free)

Process Argv
-psn_0_536707

Screen Reader
no

VM
0%

Extensions (15)

Extension
Author (truncated)
Version

terraform
4op
0.1.8

vscode-eslint
dba
2.1.1

prettier-vscode
esb
3.20.0

case-sensitive-add-next
jac
0.0.6

vscode-peacock
joh
3.6.0

vscode-styled-components
jpo
0.0.29

chat
kar
0.32.1

dotenv
mik
1.0.1

vsliveshare
ms-
1.0.1783

vsliveshare-audio
ms-
0.1.80

vsliveshare-pack
ms-
0.3.4

material-icon-theme
PKi
4.0.1

scala
sca
0.3.9

metals
sca
1.8.4

vscode-status-bar-format-toggle
tom
2.0.0

(3 theme extensions excluded)

Do you see this with TypeScript 3.8+?

Nope, was 3.7.3. I had a lot of TS tabs open throughout the night, coding. At this particular point, I only had 4 open. But, I was probably giving the compiler a run for its money. The crash happened a couple more times, but I only logged this one.

Please test using 3.8+ too because this bug may have already been fixed


Delete gh-utility.ts

because it is a duplication of utils.ts file .

@epicallan , please approve and merge this before there is any pull.