Delta.EF NET 8 Support Issue

The latest update, 5.2.0 was supposed to add the ability to use the package with NET 8 as well.
It seems that this is not the case for Delta.EF: https://www.nuget.org/packages/Delta.EF#supportedframeworks-body-tab

As you can see the package has dependencies of NET 9 packages.
Is there any way around this?

the package has dependencies of NET 9 packages

Delta has a dependency on EF 9. Not NET 9.
EF 9 supports NET 8

You are right, I misread. Thanks!


Replace AppBar to CurvedNavigationBar

We have a old looking app, give it a modern look by replacing the AppBar to CurvedNavigationBar.
Check this one:
https://pub.dev/packages/curved_navigation_bar

we have to change it in lib/main.dart  ??

hi there! yes, what do you have in mind?

by changing this file's section

yes, instead of AppBar we change it to CurvedNavigationBar?

and use this

we will modify it ?

yes please, i'll assign you

we have to add background color and we have to add to this ?:
backgroundColor: Colors.blueAccent,
    items: <Widget>[
      Icon(Icons.add, size: 30),
      Icon(Icons.list, size: 30),
      Icon(Icons.compare_arrows, size: 30),
    ],
  ),
  body: Container(color: Colors.blueAccent),

Dont worry about the background color, don't assign anything to it.
We have a ThemeData that organizes all the colors:

how to fix this error and how to add text in CurvedNavigationBar

remove all these lines:

those are for the AppBar.

then, for Text ?

no more text

how will be print the title and all ?

is it fine ?

no need to print the title, its included in the appbar. we remove it completely.

change the Icon.* to home and calender

Done, Pls check it once

superb, looks good to me. do u have an emulator? what does it looks like now?

Thanks, but, sorry my laptop is unable to handle emulator.

oooh i see, need to check it out how it looks like. but overall good job

👍  thank you, I'll test it out soon tomorrow. It's late-night here right now.

fixed this at -> commit - ed74cb


Atomic write batch with CAS  for RawKV

FeatureRequest
Is your feature request related to a problem? Please describe:
We design a storage based on distributed transactional kv database to implement ETCD API used in apiserver. Though it works on TiKV,  the performance based on tikv is worse than the performance based on bytekv, because of the missing of some feature.
Describe the feature you'd like:

Support defining the rule of splitting. for example, the  boarder must meet the requirements that it end with first '@'，like '@', 'abd@', 'abe@'.
Support write batch with RawKV API. when the write batch is refer to only one partitions, it should be atomic and support cas（maybe implement as 1pc as write）
Support TTL with RawKV API, which could reduce the overhead of GC

Describe alternatives you've considered:

add some APIs for defining rule of picking split point to make it possible for user to config boarder. The go-style interface definition likes

type SplitService interface {
    SetSplitRule(*SplitRule)
    GetSplitRule() *SplitRule
}

And the msg likes
message SplitRule {
    oneof rule {
        SplitAtSubString sub_string = 1;
    }
}

message SplitAtSubString {
    uint32 index = 1;
    string sub_string = 2;
    bool   reverse = 1;
}

Support write batch, if all keys written in batch are in the same partition, implement it as 1pc to ensure the atomic. The go-style interface definition likes

type WriteBatch interface {
    Set(key []byte, val []byte)
    CAS(key []byte, old []byte, new []byte)
    Commit() error
}

Sounds cool. Please feel free to file an PR.

For the RawKV with TTL feature, which we have already supported, please check: https://github.com/tikv/client-go/blob/e38d2b07de3f2f86427696cc61a9c29bc73e3ba6/rawkv/rawkv.go#L300

Out project is open-source now. It runs on TxnKV API of TiKV.
We are trying to optimize the performance of KubeBrain on TiKV.
Maybe we can move the project forward to become a new storage implement of the official k8s-apiserver

We have a similar requirement, similar to a single region transaction, can you discuss the design in detail? Maybe we can help too!


unsanitized html fragment causing createElement failure

Describe the bug
Opening a notebook resulted in "Something went wrong" message with the text:
Failed to execute 'createElement' on 'Document': The tag name provided ('core::iter::adapters::genericshunt<i,r') is not a valid name.

It seems the left angular bracket there is being used as a tag name, or another character is invalid. The string itself is produced by the panic of a polars call, but I don't believe it is material to the bug itself - marimo should handle any python output.
I'll try to create a minimal reproducer, reporting hoping the error itself might be enough.
marimo 0.4.7
Environment
{
"marimo": "0.4.7",
"OS": "Linux",
"OS Version": "6.8.7-300.fc40.x86_64",
"Processor": "",
"Python Version": "3.12.2",
"Binaries": {
"Browser": "--",
"Node": "v20.12.2"
},
"Requirements": {
"click": "8.1.7",
"importlib-resources": "missing",
"jedi": "0.19.1",
"markdown": "3.6",
"pymdown-extensions": "10.8.1",
"pygments": "2.17.2",
"tomlkit": "0.12.4",
"uvicorn": "0.29.0",
"starlette": "0.37.2",
"websocket": "missing",
"typing-extensions": "4.11.0",
"black": "24.4.2"
}
}
Code to reproduce
none yet.

I do have a stack trace from the developer console but it is the minified / obfuscated version so not sure it helps:
2index-BSODrr5r.js:46 DOMException: Failed to execute 'createElement' on 'Document': The tag name provided ('core::iter::adapters::genericshunt<i,r') is not a valid name.
    at QRt (http://crete:2718/assets/index-BSODrr5r.js:46:16897)
    at h6e (http://crete:2718/assets/index-BSODrr5r.js:46:40391)
    at O6e (http://crete:2718/assets/index-BSODrr5r.js:46:40140)
    at CRt (http://crete:2718/assets/index-BSODrr5r.js:46:40001)
    at a7 (http://crete:2718/assets/index-BSODrr5r.js:46:39849)
    at zre (http://crete:2718/assets/index-BSODrr5r.js:46:36178)
    at u6e (http://crete:2718/assets/index-BSODrr5r.js:46:35117)
    at S (http://crete:2718/assets/index-BSODrr5r.js:31:1548)
    at MessagePort.D (http://crete:2718/assets/index-BSODrr5r.js:31:1907)

thanks for reporting - ill look into this. if/when you can send a repro with code, that would be super helpful - even if it is partial code.

This sounds likes its coming from html-react-parser. And we might not be sanitizing the error coming from polars (or from anywhere), and polars just happens to output a tag-looking text. This is helpful

What browser are you using? This doesnt fail for me on chrome/safari. It could be an OS thing as well. Regardless, we should sanitize this to be safe

I have a fix now https://github.com/marimo-team/marimo/pull/1275
Thanks for the details issue - it helped in tracking this down

I added a command to build from source unminified - I will merge this into main: https://github.com/marimo-team/marimo/pull/1287
NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=development make fe -B

This looks pretty much expected (minus the missing "unamed" text)
Those messages from React are just warnings and actually expected. React doesn't support custom elements (yet, next release they will).
But the render should no longer fail on an unnamed element.

We can/should sanitize < and > so unamed will appear, as it should. But quickly adding a sanitize on the way out in the backend does make other colorized stacktrace appear so i need to investigate the best way to do that

I dont think it's the cleanest, but this will sanitize it correct https://github.com/marimo-team/marimo/pull/1297

Yea that's a known warning tht fixing will break some interactions so we leave it.


Taking the attendee's name and surname [Feature]

For my example, the optical form is created by a private school and I am testing this program on the templates for my project. I have succeed at all other sections of the code but unfortunately I cannot find any info about taking the attendee's name and surname as a character input. Can you help about that?

Hello @youzank, a similar feature request was raised for OCR support in omrchecker. I'll cross link that issue here and close this one. You can share your sample images there so that someone may be helped to pick it up for contribution

https://github.com/Udayraj123/OMRChecker/issues/99


fix: let animation finish before hiding toasts

Not sure if there's a better way of doing this, suggestions appreciated
Closes #174

The other solution would be to add callback that is called when the exiting animation is finished.
https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/custom-animations#reference
This callback would have to be drilled a bit on the other hand. Since the origin would be the toaster. But it would be a better solution than just estimating 300ms then hiding it I suppose.
I can easily test that out since the projekt is in expo 51 and my expo go app does not work with that anymore :S

That's a good point. I took a quick look at it and it doesn't look trivial to me how that'd be accomplished without quite a big rewrite.
I'll be using the effect there for now, but change it to use the ANIMATION_DURATION constant.

Nice work! Thanks for the quick fix 🥳


Order of

Possible approach: collect all edits in vue language service, sort by position in the file, rebase all edits to assuming all preceding edits have been applied.

Already fixed.


[EXP] How to display a component below or above a text selection

What is the example you wish to see?
Showing a component above/below a selection is a behavior that many extensions use, for example google translator, dictionary, grammarly, etc.
I would like to see an example of how this behavior should be implemented.
I would also like to know if there is an easy way to do it using something specific to plasmo, since I have seen that it is a common functionality.
Thank you so much.

Is there any context that might help us understand?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

maybe you need @floating-ui/react-dom
and there is a repository：translate-ext

bump, also interesting in how this should be implemented using Plasmo, I've created a thread asking the same question in the discord, but didn't really get the proper answer, but maybe it will be useful for you @MiniSuperDev

This could done using this: https://github.com/PlasmoHQ/examples/blob/main/with-content-scripts-ui/contents/plasmo-inline.tsx

Identify the selected text using window.getSelection()
Insert a custom HTML element before on after that text div/span

<selected-text data-text-selected=""></selected-text>

Now using Inline Content script you can render components inside <selected-text/>

export const getInlineAnchor: PlasmoGetInlineAnchor = () =>
  document.querySelector(`selected-text`)

This could done using this: https://github.com/PlasmoHQ/examples/blob/main/with-content-scripts-ui/contents/plasmo-inline.tsx

Identify the selected text using window.getSelection()
Insert a custom HTML element before on after that text div/span

<selected-text data-text-selected=""></selected-text>

Now using Inline Content script you can render components inside <selected-text/>

export const getInlineAnchor: PlasmoGetInlineAnchor = () =>
  document.querySelector(`selected-text`)


Question about how to combine streams

I've read all the documentation I can find and have experimented quite a bit, but I just can't figure out what's going on. I posted my question on StackOverflow and I'm posting here with the hope of getting my issue some attention. If my problem can be solved I think it would make a good use example to go in the wiki.

Looks like Tomas responded to your comment on his original post.

Yeah, I meant to close this. Thanks.


DS-118: remove unused height utils and fix docs

Jira
https://pegadigitalit.atlassian.net/browse/DS-118
Summary
Removed xxsmall to xxlarge height utility classes.
Details

Removed the options in CSS.
Updated docs to not used the removed classes.
Updated small layout quirks on code snippet and tooltip doc page.

How to test
Run the branch locally and make sure these classes no longer work:

.u-bolt-height-xxsmall
.u-bolt-height-xsmall
.u-bolt-height-small
.u-bolt-height-medium
.u-bolt-height-large
.u-bolt-height-xlarge
.u-bolt-height-xxlarge

And their responsive options such as: .u-bolt-height-xxsmall@[breakpoint].
Release notes
The following utility classes are no longer supported.

.u-bolt-height-xxsmall
.u-bolt-height-xsmall
.u-bolt-height-small
.u-bolt-height-medium
.u-bolt-height-large
.u-bolt-height-xlarge
.u-bolt-height-xxlarge

And their responsive options such as: .u-bolt-height-xxsmall@[breakpoint].

It's not used downstream, at least in the code base: https://gitlab.com/search?utf8=✓&snippets=false&scope=blobs&repository_ref=&search=u-bolt-height-*&group_id=5804310
Good to go @mikemai2awesome! cc @remydenton


Feature/Update default language models to UD 2.5

Update default language models to versions trained on Universal Dependencies 2.5

Refactor code (mostly add type hints)

Update tests

Update README.md

Update LICENSE

Quick question, is this part of the latest PyPi release? Thanks

Quick question, is this part of the latest PyPi release? Thanks

Quick answer: yes (see latest release notes) :smiley:

Ah, great. I wasn't sure whether these release are also pushed to PyPi immediately. Thanks!


Update docs to reflect new UUID + proguard settings magic

Explain how our UUID stuff works
Remove notes about failed uploads due to duplicate proguard files, shouldn't happen anymore with new UUID system
Remove notes about "proguard configuration" since we automatically add -keepattributes stuff now

Proguard configuration is still there?

Yeah, I left it there because it explains what the plugin changes about your build process. We could use a different heading that makes it clearer that it's just purely informational, but I couldn't think of one.


Readme.md - git clone link is wrong

The git clone example code lists the wrong repo

Should be fixed!


Clean up spacing, fix a few typos

For example "MOVEMNET_TYPE_RETURN_LEN" -> "MOVEMENT"

Thank you for your contribution~


AiCoverGen Portable Version

Will there be a portable version of AICoverGen?

what do you mean by portable version?


[nnpack] Preallocate workspace buffer

This PR preallocates workspace buffer for input/output winograd transform, which can take a significant amount of time on android.
@ajtulloch, please review

Thanks @hlu1 , this is merged


Angular 13: Add ability to generate esm5 bundle

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
As IE11 is no longer supported by Angular 13, there is no way to generate esm5 bundle.
Therefore, generated esm2020 bundles is not compatible in the projects with an old version of angular.
🔬 Minimal Reproduction
Run the following command in any project:
nx build some-lib
🔥 Exception or Error
See generated bundle, there are no esm5 and lib bundles with .js files inside (not .mjs):

- esm2020
- fesm2015
- fesm2020
- lib
...

🌍 Your Environment
nx report:

  Node : 14.15.0
  OS   : darwin x64
  npm  : 6.14.8

  nx : 13.3.6
  @nrwl/angular : 13.3.6
  @nrwl/cli : 13.3.6
  @nrwl/cypress : 13.3.6
  @nrwl/devkit : 13.1.3
  @nrwl/eslint-plugin-nx : 13.3.6
  @nrwl/express : undefined
  @nrwl/jest : 13.3.6
  @nrwl/linter : 13.3.6
  @nrwl/nest : undefined
  @nrwl/next : undefined
  @nrwl/node : undefined
  @nrwl/nx-cloud : 13.0.0
  @nrwl/react : undefined
  @nrwl/react-native : undefined
  @nrwl/schematics : undefined
  @nrwl/tao : 13.3.6
  @nrwl/web : undefined
  @nrwl/workspace : 13.3.6
  @nrwl/storybook : 13.3.6
  @nrwl/gatsby : undefined
  typescript : 4.4.4
  rxjs : 7.4.0
  ---------------------------------------
  Community plugins:
         @angular/animations: 13.1.1
         @angular/cdk: 13.1.0
         @angular/common: 13.1.1
         @angular/compiler: 13.1.1
         @angular/core: 13.1.1
         @angular/elements: 13.1.1
         @angular/forms: 13.1.1
         @angular/platform-browser: 13.1.1
         @angular/platform-browser-dynamic: 13.1.1
         @angular/router: 13.1.1
         ng-zorro-antd: 12.1.0
         @angular-devkit/build-angular: 13.0.0
         @angular-eslint/builder: 13.0.1
         @angular-eslint/schematics: 13.0.1
         @angular/cli: 13.1.2
         @angular/compiler-cli: 13.1.1
         @angular/language-service: 13.1.1
         @storybook/angular: 6.4.9

tsconfig.base.json

...
"target": "es2015",
"module": "esnext",
"typeRoots": ["node_modules/@types"],
"lib": ["es2015", "es2019", "dom"],
...

Angular Package Format has not included ES5 sources for quite some time (Angular 10) and this is unrelated to IE11 support.
The CLI will automatically downlevel ES2020/ES2015 library code to ES5 when bundling an application that requests an ES5 output format.

Therefore, generated esm2020 bundles is not compatible in the projects with an old version of angular.

A library should never be used in older versions of Angular than they were build in.


Firefox: SSL_ERROR_RX_RECORD_TOO_LONG

Hi, trying out your fork with below code, returns either Secure Connection Failed or SSL_ERROR_RX_RECORD_TOO_LONG. Anything I am doing wrong? No logs from mps.
	proxyInstance := mps.NewHttpProxy()
	mitmHandler, err := mps.NewMitmHandlerWithCert(
		proxyInstance.Ctx,
		crtBytes,
		keyBytes,
	)
	if err != nil {
		log.Panic(err)
	}
	proxyInstance.HandleConnect = mitmHandler
        log.Fatal(http.ListenAndServe(fmt.Sprintf("<IP_ADDRESS>:%d", config.ListenPort), proxyInstance))

Has the certificate file been imported into the system?

Yes, using:
	crtBytes, err := ioutil.ReadFile(config.CACertPath)
	if err != nil {
		log.Fatal(err)
	}

	keyBytes, err := ioutil.ReadFile(config.CAKeyPath)
	if err != nil {
		log.Fatal(err)
	}

The MITM proxy needs to import the certificate file into the trusted Root Certificate Authority in the system.
You can look at this MITM readme

@telanflow thanks, I drilled it down to signHost hardcoding the key/cert-size to 2048 bits while my CA was 4096 bits.

Ok, I'll try to modify it later.


Write tests and run CI

PR #8 is clearly a proof for the need for these. Things seem fine on local with some broken manual tests but didn't work out in deployment.

Tests are clearly not complete. CI is not running properly. This issue is yet to be closed.


Disabling auto-registration?

The Nuxt 2 PWA module has an autoRegister setting which determines if the Service Worker should auto-magically be registered or not. This also appears to be the default behavior in this module, but as far as I can tell, there's no option to turn it off and register manually.

Will implement it :)

Released on v0.7.0 ✨

Amazing, and much appreciated!


chore(sidecar): bump reth/alloy types, remove trace call manager

bolt-sidecar:

chore: bump alloy to 0.2.0 and reth to 1.0.2
chore: remove deprecated call_trace_manager.rs and state_root.rs

Tested also locally with the devnet:

preconf via builder working
blob preconf via builder working
self built with preconf working
TODO: self built with blob preconf in progress (will be addressed in another PR)


swap nwm app feature with matlab

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Navigate to hydroshare.org/home and validate the nwm featured app no longer shows and is replaced with a feature for matlab online

hot deployed to beta. https://beta.hydroshare.org/home/


ModuleSet with no sources or binaries specified

Expected behavior
No warnings during build.
Actual behavior
[INFO] --- maven-assembly-plugin:2.6:single (distro-assembly) @ distribution ---
[INFO] Reading assembly descriptor: src/assemble/bin.xml
[INFO] Reading assembly descriptor: src/assemble/src.xml
[WARNING] Encountered ModuleSet with no sources or binaries specified. Skipping.
[INFO] Building tar: /Users/masakazu/git/pulsar/all/target/apache-pulsar-1.20.0-incubating-SNAPSHOT-bin.tar.gz
[INFO] Building tar: /Users/masakazu/git/pulsar/all/target/apache-pulsar-1.20.0-incubating-SNAPSHOT-src.tar.gz

Steps to reproduce
mvn install -DskipTests

System configuration
Pulsar version: master c51eaad
OS: macOS 10.12

We have change the distribution packaging modules. so this is probably not valid anymore. closing it now. If it happens again, we can open a new issue for it.


Return null and send warning when financial statements are not available

Added this issue to #75 since it's the same part of code we are editing and can easily be done at the same time.


feat: add support for several new models

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/automl/artman_automl_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/automl-v1beta1.
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test-grpcjs.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test-grpcjs.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
Skipping: README.md
codecov.yaml
renovate.json
Skipping: samples/README.md
synthtool > Replaced 'https:\\/\\/cloud\\.google\\.com[\\s\\*]*http:\\/\\/(.*)[\\s\\*]*\\)' in src/v1beta1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced 'toISOString\\]' in src/v1beta1/doc/google/protobuf/doc_timestamp.js.

><EMAIL_ADDRESS>install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using needle for node-pre-gyp https download
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

><EMAIL_ADDRESS>postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall

npm notice created a lockfile as package-lock.json. You should commit this file.
added 879 packages from 915 contributors and audited 2784 packages in 17.898s
found 3 vulnerabilities (1 low, 2 moderate)
  run `npm audit fix` to fix them, or `npm audit` for details

><EMAIL_ADDRESS>fix /tmpfs/src/git/autosynth/working_repo
> eslint '**/*.js' --fix

/tmpfs/src/git/autosynth/working_repo/samples/test/automlVision.test.js
  19:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/vision/automlVisionDataset.js
   33:26  error  "@google-cloud/automl" is not found  node/no-missing-require
   87:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  126:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  160:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  201:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  239:26  error  "@google-cloud/automl" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/vision/automlVisionModel.js
   34:26  error  "@google-cloud/automl" is not found  node/no-missing-require
   94:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  113:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  188:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  256:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  289:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  320:26  error  "@google-cloud/automl" is not found  node/no-missing-require
  321:24  error  "mathjs" is not found                node/no-missing-require
  401:26  error  "@google-cloud/automl" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/vision/automlVisionPredict.js
  34:26  error  "@google-cloud/automl" is not found  node/no-missing-require

✖ 17 problems (17 errors, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>fix: `eslint '**/*.js' --fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2019-04-02T11_08_29_606Z-debug.log
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

There's been a new update upstream to the protos. I'll generate locally and create a new PR.


Self-hosted Win 10: Warning 'gh' is not recognized as an internal or external command

Bug description
When I try to build a Unity game on a self-hosted Windows 10 runner, I get the following warning message:
'gh' is not recognized as an internal or external command,
operable program or batch file.

Workaround
Installing GitHub CLI for Windows solves the problem.
Error Log
Run game-ci/unity-builder@v2
Warning:
      Library folder does not exist.
      Consider setting up caching to speed up your workflow,
      if this is not your first build.

Using android versionCode 0
[Client] Error: Command failed: gh auth status -t
'gh' is not recognized as an internal or external command,
operable program or batch file.

Error: Command failed: gh auth status -t
'gh' is not recognized as an internal or external command,
operable program or batch file.

Thanks for sharing this issue with us.
You can install gh (GitHub CLI) to unblock this issue immediately.
I will hotfix this so the check for the GitHub CLI doesn't fail like this shortly and update this ticket.

Should be resolved in cloud-runner-develop latest. Will include fix in:
https://github.com/game-ci/unity-builder/pull/387


--force-formatter not working in daemon mode

Description
Running the chef-client with --force-formatter option in daemon mode still gives logger output instead of formatter output.
chef-client -d -i 60 -l info -L /var/log/chef/client.log --force-formatter

Chef Version
12.14
Platform Version
Redhat 6
Replication Case
Run the chef-client in daemon mode with --force-formatter option.
chef-client -d -i 60 -l info -L /var/log/chef/client.log --force-formatter

Expected output - Chef should use the default formatter instead of logger output.

-l info is going to give info message output which is not the default for the formatter.  you probably want -l warn or -l auto or just leave that option off.

It seems formatter does not get activated unless the chef-client is run from a tty and Chef daemon does not log anything to STDOUT which means I cannot do >> /var/log/chef/client.log either.

validated that this fails for some reason, going to need to be fixed as part of #2514 in Chef 13

Is there a workaround I can try for Chef 12 now? I just need to capture the live_stream of the execute resource to a log file in the chef events handler. Should I hook on to stream_output event handler? Our client has bought enterprise Chef license and its critical for us to log everything as much as we can which will help them to debug their business operations.

@railsmith The formatter output is only intended for humans and would be very difficult to parse/search in an automated way. If they have a premium features license you want to be using the DataCollector system which is enabled automatically with Chef Automate I think.

I have done the following workaround for now.
 chef-client -d -i 60 -l info -L /var/log/chef/client.log -F doc --force-formatter

and capturing the live_stream in the chef-client event handlers
 Chef.event_handler do
     on :stream_output do |stream, output, options|
     end
  end

I'm assigning this to the sustaining team to see if this is still an issue after our most recent logging cleanup.

labelled as "Critical" just to get the replication done soon because I want to work on fixing this stuff soon.

(this is one that i'll proably wind up working so only the replication is critical)

should be addressed as part of #9126


Fix per-core variable usage when using higher core counts.

Currently FS is literally the core id: https://github.com/mythril-hypervisor/mythril/blob/master/mythril/src/percore.rs#L84
This is incorrect as FS should hold an actual segment selector. Failing to do so causes a fault when the ID we are trying to load is beyond the defined segment number (note: I'm honestly a bit unclear on what exactly is wrong here, as the spec doesn't say anything about checks on FS in long mode, but apparently there's some kind of issue there or maybe KVM just prohibits it. Either way, we need to fix it).

This has been fixed

This has been fixed


feat: search with only field specified

This commit is for: https://github.com/Ouest-France/querydsl-postgrest/issues/13

rename branch


setup being executed again after useAsyncData triggered by watch data source

Environment
- Operating System: Linux
- Node Version:     v18.18.0
- Nuxt Version:     3.8.1
- CLI Version:      3.9.1
- Nitro Version:    2.7.2
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      devtools
- Runtime Modules:  -
- Build Modules:    -

Reproduction
online link: https://stackblitz.com/edit/github-rgp9a2-8enc26?file=pages%2Fproduct%2F[pid].vue
step:

click product 1 link
open devtools and in Console tab, it should logged [fire]
click next product link
in Console tab, [fire] logged again means setup script is being executed again

In this case,
computedDataBaseOnApi should be the correct one
and simpleDataBaseOnApi should be the incorrect data for losing the connection with res without being wrapped by computed.
Describe the bug
After useAsyncData refetched data when watch data changed, the whole setup script is being executed again.
According to my understanding setup should only be executed once.
Not sure if this is a bug need to fixed cause this is little confused.
If so, happy and willing to open a PR and try to fix it.
Thank you guys.
Additional context
No response
Logs
No response

Hello ! the page is reinstantiated on page change so it is normal for the setup function to be rerun.

@huang-julien
Sorry, I got confused here.
When page Paramus changed.
Shouldn’t vue reuse the page component and only called useAsyncData agained?
Could not understand that why page component is reinstantiated, is there any reference in doc?

@bchen1029 Vue should indeed not reload the page component since it is the same. However, changing params is still technically a page change so we do force refresh it.
If you really need it to not change, you can set a page-key on NuxtPage : <NuxtPage :page-key="some-key" />

@huang-julien Oops...my bad! just founded that in nuxt2 doc, and nuxt3 doc.
btw, I think the default page-key value might be an important info to everyone.
It is clear in nuxt2 doc, hope we could also have this info in nuxt3!
really appreciate for your help! Thank you.

:+1: yes, actually it is on the NuxtPage component's documentation


UI/UX design - suggestions welcome!

This is a general issue to discussion ideas/comments regarding the user experience of backlight - primarily focused on the CLI for now. See #4 for discussion of a backlight library / API.
The general philosophy of the current implementation is to trace everything by default, and when the user starts filtering remove everything that isn't explicitly asked for. I think this provides a reasonable balance of discoverability and control.
I'll start things off with some questions/thoughts I've had so far:

Are the current CLI short flags a good choice (this can easily get bikeshed-y but meh)?
Should we try to mimic the ltrace API, or move away from it?
How to best help the user when they add library or syscall filters?

What if they filter by a library function that never gets linked? We have to be careful here because the tracee could always dlopen/dlsym and call something at runtime based on some condition which we don't always see

I often don't care about tracing anything before main

There should at least be an option for this, but perhaps it should be the default?

Filters currently require an exact match, should they be assumed *SEARCH_TERM*?

Or should we support regex or some other format? (I think ltrace does something fancy here)

Currently backlight has a subcommand trace, which is for now the only subcommand and thus redundant - should this be removed? Or else what other subcommands might there be?

I'm open to feedback on any of the above, as well as any new thoughts/opinions!

I think the current behavior makes sense. However, I think a way to suppress certain events would also be good while still tracing all others.
In addition I think that an aggregation mode would be nice to have to get an overview without having to suppress a long list of events that come too often. The aggregation mode could count the events that happen per second (or a configurable duration) and then print them delayed with annotations of how often they have been seen.


Advanced Styling

Value Proposition
As a user I want to have a pretty design of the app so I have a good user experience.
Description
Acception Criteria

[ ] A pretty start page that asks for SignIn
[ ] A survey that looks good.
[ ] A pretty "Thank You" page

Tasks

[ ] create feature-branch feature/advancedStyling
[ ] design start-page, survey-page, thank-you-page

Hey Roland, you might think about explicit things you want to change about your styling to make the restyling process more structured.


[Question] Struggling getting play and pausing working

Hi
I'm having trouble getting .play() and .pause() working. I'm using an icon as a button to playwhatever track is current paused on the users current device. I am doing this using React. I have managed to get this api working fine so far until this. Here is the code for my button (it works fine for calling other functions)
 spotifyApi.play()}> play_arrow
When I then click on the button I get the following error:

TypeError: right-hand side of 'in' should be an object, got undefined

After looking at the documentation of this library and the spotify api docs it seems that the device Id is optional and that if I call .play() it will just unpuase the music on whatever the active device is?
I tried passing the device object to .play() from getMyCurrentPlaybackState and this didn't give me an error but didn't actually unpause the music.
Any help would be appreciated.

@Yarael-Poof This is a bug in the library, that shouldn't require options to be defined.
A work-around for now is to pass {} as the first parameter:
 spotifyApi.play({})}> play_arrow


Merge models together

Hi there,
I pre-trained two different models.(both of them output a vector with shape (1,4)). Additionally, I have another  external vector with fixed values, with shape (1,2)
Now I want to use them together as follows,

Turn the two outputs from the pre trained dnns to matrix(didn't succeed with 'concat')- now the shape of the matrix will be (2,4).
Multiple the external vec with the matrix  - output shape now is supposed to be (1,4)
Train all this together.

I tried to merge the two models outputs with concatenate, then another merge layer with dot product between the first merge and the external vec. It doesn't let me because the first merge does not turn into matrix.
I'll be happy for some advise.

When merging using concat, you must choose the axis with concat_axis
The mul mode of merge is a element-wise multiplication (take two Tensor with equal sizes and multiply element by element)
I always recommend to design the net as a Graph when using merge. See a simple example:

input1 = Input(shape=(1, 128, 128))
input2 = Input(shape=(1, 128, 128))

conv1 = Convolution2D(1, 3, 3, border_mode='same')(input1)
conv1 = Convolution2D(1, 3, 3, border_mode='same')(conv1)
conv1 = Convolution2D(1, 3, 3, border_mode='same')(conv1)

conv2 = Convolution2D(1, 3, 3, border_mode='same')(input2)
conv2 = Convolution2D(1, 3, 3, border_mode='same')(conv2)
conv2 = Convolution2D(1, 3, 3, border_mode='same')(conv2)

merged = merge([conv1,conv2],mode='concat',concat_axis=1) #or 'concat' or 'mul'

model = Model(input=[input1,input2],output=merged )

I found an answer here :[( https://github.com/fchollet/keras/issues/3225)]


[tests] fix wrong usage of ping timeouts

In tests/scripts/thread-cert/node.py, the timeout parameter of ping() function is in seconds. However, in some test cases they called ping() with a timeout in milliseconds.
I used the following command to list ping() usages with a specified timeout:
grep -rn "ping.*timeout=" tests/scripts/thread-cert/*

Any clue why isn't the github actions running? @superwhd

Any clue why isn't the github actions running? @superwhd

I've no idea. I wondered if there was something wrong with this PR/branch, so I created a more new PR https://github.com/openthread/openthread/pull/6383. However, the result seems no difference. The latter PR doesn't have more workflows executed as well.

@jwhui
Somehow this PR can not have GitHub Actions running. I created #6384 to run checks for this PR.
Will close #6384 when this PR is merged.

Somehow this PR can not have GitHub Actions running. I created #6384 to run checks for this PR.
Will close #6384 when this PR is merged.

@simonlingoogle , it appears the checks have passed on this PR.

Somehow this PR can not have GitHub Actions running. I created #6384 to run checks for this PR.

Will close #6384 when this PR is merged.

@simonlingoogle , it appears the checks have passed on this PR.

This is because of #6384. There's no check of this PR without #6384. GitHub shows the checks of #6384 in this PR too.

This is because of #6384. There's no check of this PR without #6384. GitHub shows the checks of #6384 in this PR too.

Let me send a message to GitHub Support to see if they can provide any insight.

This is because of #6384. There's no check of this PR without #6384. GitHub shows the checks of #6384 in this PR too.

Let me send a message to GitHub Support to see if they can provide any insight.

@simonlingoogle @superwhd , can we get this PR back into a state where the GitHub Actions are not triggered? I'd like GitHub Support to investigate this issue. Thanks.

@jwhui I previously reached out to GitHub Support and they said they "detected a violation of one or more prohibited uses of GitHub Actions" so they disabled my ability to run Actions. They said they'll get back to me when there's an update.


Why to setup vcpkg if its included in VS 2022?

Hey there,
This is confusing for person who do not have a lot of experience with cpp + vs.
Page:
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vs?pivots=shell-cmd#1---set-up-vcpkg
It took my a while to understand that:

There no need to pull vcpkg since now its comes with VS (yay package manager for cpp in 2023, sorta).
And if you do you will get warnings and errors - because VS using UI config path which is not mentioned here at all and
For some reason we trying set custom vcpkg path in CMD which will be ignored when you try to build the project from VS ui.

This need to updated to by in sync with current dev of vcpkg integration

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

ID: 94e7a328-84e7-33e6-9e9f-9bb95cbd99cb
Version Independent ID: 94e7a328-84e7-33e6-9e9f-9bb95cbd99cb
Content: Install and use packages with CMake in Visual Studio
Content Source: vcpkg/get_started/get-started-vs.md
Product: vcpkg
GitHub Login: @JavierMatosD
Microsoft Alias: javiermat

There are some reasons to use a standalone vcpkg. For one, classic mode is not supported by the VS copy of vcpkg (since the install location must remain immutable). I'll add an explanation to existing articles to clarify.

Related to #251

Just to comment:  I had no idea at all that vcpkg came included with Visual Studio 2022 until I stumbled upon this issue.
I'm kind of glad I didn't, because I followed the instructions at https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vs?pivots=shell-powershell#1---set-up-vcpkg , and ended up with something that works, and I can observe how it is actually something that is completely independent of Visual Studio.  (I was able to find the copy which is included with Visual Studio; I was worried that I didn't know which copy I was actually invoking when following the tutorials.)
I do agree that it is rather baffling that it is not mentioned that it comes included with Visual Studio.  I am too much of a novice to offer an opinion as to whether or not it should be included in the "out of box" experience.


CBORObject.NewOrderedMap() counterpart when reading from bytes?

Sometimes, mainly for "easy display usage", the order of a map is also useful.
Creating CBOR objects, this could be achieved by using CBORObject.NewOrderedMap().
Is it possible, to achieve that also when reading the CBOR object from bytes?

Maybe a flag, to switch to CBORObject.NewOrderedMap() by default when reading?

That is what I had in mind already -- an option to preserve key order when decoding a CBOR object from bytes.

Implemented.

Great! Works for me ;-).


BAAS-14096: add hidden 'profiles list' command

jamie.anderson@M-C02F15DGMD6M mongodb % ./realm-cli-next profiles list
Found 6 profiles
  default.yaml
  dev.yaml
  local.yaml
  local_dev.yaml
  prod.yaml
  qa.yaml

thoughts on making this a table instead of a list output and showing the public api key next to the profile name?
I often find myself opening the profile.yaml just to check which api keys are used (so I can log in to the ui with them)
@makesitgo

I'd be curious to see what the table output looks like compared to this list output

here's what the table output could look like:
mongodb ./realm-cli-next profile list
Found 13 profile(s)
  Profile        API Key
  -------------  -----------------------------------------------
  default        fdnxgyfs (********-****-****-****-3af5d01d2a93)
  dev            bovvwwyq (********-****-****-****-51d2293df943)
  dev_bovvwwyq   bovvwwyq (********-****-****-****-51d2293df943)
  dev_hsxtnfab   hsxtnfab (********-****-****-****-d9f860aae509)
  dev_jypmqyzr   jypmqyzr (********-****-****-****-dd1f4f0bac88)
  dev_rcymllrh   rcymllrh (********-****-****-****-1001af33d5a2)
  local          bovvwwyq (********-****-****-****-51d2293df943)
  local_dev      -
  p1             -
  prod           fdnxgyfs (********-****-****-****-3af5d01d2a93)
  prod2          -
  prod_nrkgkfyl  nrkgkfyl (********-****-****-****-24a8a260a7cb)
  qa             kfqyyhlf (********-****-****-****-3a0830881cd9)

we could also add a flag for showing api keys (similar to what we did for the whoami --show-projects output)

I don't think I have a strong opinion on one output format over the other, what do you think?
my only other thought would be to maybe have two separate sections of output: logged in profiles (read: profiles with api key data associated with them) and logged out profiles (read: profiles with the api key data cleared from them).  in that sense, you could likely do a best of both and table the logged in profiles while listing out the logged out profiles (no extra data to show anyways)

I don't think I have a strong opinion on one output format over the other, what do you think?
my only other thought would be to maybe have two separate sections of output: logged in profiles (read: profiles with api key data associated with them) and logged out profiles (read: profiles with the api key data cleared from them). in that sense, you could likely do a best of both and table the logged in profiles while listing out the logged out profiles (no extra data to show anyways)

hhmmm im not sure I like two separate tables/lists. how about something like this, indicating the profile is logged out?
➜  mongodb ./realm-cli-next profile list
Found 13 profile(s)
  Profile        API Key
  -------------  -----------------------------------------------
  default        fdnxgyfs (********-****-****-****-3af5d01d2a93)
  dev            bovvwwyq (********-****-****-****-51d2293df943)
  dev_bovvwwyq   bovvwwyq (********-****-****-****-51d2293df943)
  dev_hsxtnfab   hsxtnfab (********-****-****-****-d9f860aae509)
  dev_jypmqyzr   jypmqyzr (********-****-****-****-dd1f4f0bac88)
  dev_rcymllrh   rcymllrh (********-****-****-****-1001af33d5a2)
  local          bovvwwyq (********-****-****-****-51d2293df943)
  local_dev      (logged out)
  p1             (logged out)
  prod           fdnxgyfs (********-****-****-****-3af5d01d2a93)
  prod2          (logged out)
  prod_nrkgkfyl  nrkgkfyl (********-****-****-****-24a8a260a7cb)
  qa             kfqyyhlf (********-****-****-****-3a0830881cd9)

I think (logged out) looks fine!


made endpoints

#229
If you feel like removing any info let me know or You have any other field you want to add .

fetched events

fetched Projects

I will work on displaying projects now as for events Let me know as I have currently classified them as ongoing, finished, and upcoming. Would that be okay

Projects Done PR completed from my side Please just verify the events info and I will make a new page for events according to their status.

please fix the conflicts

hi 240(this) still has conflicts please fix

@rishicds Resolved It was just The id that I added later on

@rishicds Please merge it I have resoved the conflicts already

Merged


babel-jest should compile react-native.

This changes it so react-native always gets compiled properly.
I thought long and hard about whether there should be an explicit whitelist, and yeah, probably there should be, but I don't want to overcomplicate things for now. One of the goals of Jest is to simplify the setup process, especially around Facebook's open source projects, and this helps greatly. New documentation for react-native testing is coming probably tomorrow.
see #770.

@facebook-github-bot shipit


PBREffect tutorial lesson

As the PBREffect is a little complicated, it would be useful to build a tutorial for it. Since you really need an HDR rendering pipeline for PBR, it would come after the last "Using HDR" tutorial in the graphics portion.

Also want a reference page on PBR content, specifically the types of maps used to explain what they all do. The tutorial itself should use prebaked textures to simplify it.

Should also cover NormalMapEffect

I can just use PBREffect in the Using HDR Rendering as the example content which would cover the basics.

I added NormalMapEffect to this tutorial

https://github.com/microsoft/DirectXTK/wiki/Physically-based-rendering
https://github.com/microsoft/DirectXTK12/wiki/Physically-based-rendering


tar: bash-4.4.012-2/depends: Not found in archive

System: Acer Chromebook CB5-571
Architecture: x86-64
Commands:
cd ~/Downloads
wget https://api.github.com/repos/drinkcat/chroagh/tarball -O chroagh.tar.gz
tar xvf chroagh.tar.gz
cd drinkcat-chroagh-*
sudo sh -e installer/main.sh -n arch -r arch -t xfce -M 'http://archlinux.ip-connect.vn.ua/$repo/os/$arch'
Output:
Installing arch-x86_64 chroot to /usr/local/chroots/arch
Fetching repository packages list...
Fetching core...
######################################################################## 100.0%
Fetching community...
######################################################################## 100.0%
Fetching extra...
######################################################################## 100.0%
Downloading and extracting packages...
Downloading and installing bash...
######################################################################## 100.0%
tar: bash-4.4.012-2/depends: Not found in archive
tar: Exiting with failure status due to previous errors
tar: bash-4.4.012-2/depends: Not found in archive
tar: Exiting with failure status due to previous errors
Downloading and installing gawk...
######################################################################## 100.0%
tar: .BUILDINFO: Cannot open: File exists
tar: Exiting with failure status due to previous errors

Exactly same issue. Acer Chromebook 15, CB5-571. Tried with -t x11,audio

Exact same issue with Pixelbook i5 with xfce target

@dbaynard thank you, it works well :D

@dbaynard  @bosniandoge
i had the same trouble with it,i tried to amend to tar -I zstd,but failed since i know nothing about the sh script,
would pls be kind to send the fixed file to me: jinitalk@gmail.com,many tks

The archive format changed. This is fixed in my fork (although the fork as a whole isn't working yet).

I won't be able to help, @jinigithub. Best of luck.


[Project question] is gio.Task available?

From https://discourse.gnome.org/t/what-is-the-proper-way-to-run-event-functions-without-freezing-the-main-thread/7499

If you have a long running operation, you can use GTask 56, which will run a function in a thread and, once the function returns a value or an error, will invoke a callback in the thread that created the GTask instance. This, typically, means you create a task in response to an event or any other signal; run it; and then update the UI once the task terminates.

I only saw examples with IdleAdd but this slows down my UI. I think I need to use Task.
Thanks for all the work, gotk3 is amazin' 💘

Maybe I'm misunderstanding your requirement, but won't something like this be sufficient?
func myLongRunningOperation() {
    // Do whatever takes a long time.
    // It won't block ui processing as it's running in a goroutine, and therefore not on
    // the same thread as the main event loop.
    ...
    ...

    // The long operation has finished, and we're ready to update the ui.

    glib.IdleAdd(func () {
        // This is running in the main event loop context, the main thread.
        // So it is safe to update the ui in here.
        ...
    })
}

go myLongRunningOperation()

Indeed, tysm @pekim! Much appreciated ✌


contribute jarychen

added contribution into the package.json. Thank you for working with me and I had a good time working with you! :)

Thank you so much! Likewise.


ESP32 and ESP8266 no longer working with my Dot v2

Original report by James Arnott (Bitbucket: [James Arnott](https://bitbucket.org/James Arnott), ).

My previously working ESP8266 strip light controller which uses the fauxmoESP library no longer works, I have since tried using my ESP32 with the demo that previously worked and that also no longer works. I assume this would most likely be an update that my dot has had which made it no longer detect my boards as devices, I’m not sure if everyone is having this issue or just me but I think if it is an update to alexa, this library urgently needs an update to be functional again, thanks for reading this and please reply if you are having the same problem.

I can confirm that it is working fine on ESP32 with both Gen2 and Gen3 devices. I don't have an ESP8266 close at hand to test with at the moment.

I have an ESP8266 and a Gen2 Dot and cannot get Alexa to discover the device. It was working for several months and then stopped working somewhat recently (about a month ago). I have tried multiple ESP8266 boards and none of them get discovered via Alexa.

I have an ESP8266 and a Gen2 Dot and cannot get Alexa to discover the device. It was working for several months and then stopped working somewhat recently (about a month ago). I have tried multiple ESP8266 boards and none of them get discovered via Alexa.

Update: I got it working after several hours of debugging. It turns out if you use capital letters in the device name Alexa will NOT discover the device.
Maybe a check can be added to the library that can detect capital letters and automatically convert them to lowercase so this issue does not happen to anyone else.

Update: I got it working after several hours of debugging. It turns out if you use capital letters in the device name Alexa will NOT discover the device.
Maybe a check can be added to the library that can detect capital letters and automatically convert them to lowercase so this issue does not happen to anyone else.

I routinely use capital letters in my device names (Example: LED Strip). Can you duplicate this issue?

I routinely use capital letters in my device names (Example: LED Strip). Can you duplicate this issue?

Yes I can duplicate it easily.
Any time I use the word "Blinds" for example, the device is not discovered by Alexa either through the app or with an Echo Dot, no matter how many times I try re-discovering, or resetting the ESP8266. If I change the name to "blinds" Alexa discovers the device on the first try without any issues. I have also tested other variants of capitals/lowercase with the same result.

Yes I can duplicate it easily.
Any time I use the word "Blinds" for example, the device is not discovered by Alexa either through the app or with an Echo Dot, no matter how many times I try re-discovering, or resetting the ESP8266. If I change the name to "blinds" Alexa discovers the device on the first try without any issues. I have also tested other variants of capitals/lowercase with the same result.

I routinely use capital letters in my device names (Example: LED Strip). Can you duplicate this issue?

I tried example "fauxmoEsp_Basic"  from your git repository with latest library files ,  given device name in lower cases still not working for me.
here is all hardware and software configuration i am using
ESP32 DevkitV1
ESP32 core version 1.0.4
Arduino IDE version 1.8.13
Arduino IDE Tool Setting
Board: ESP32 Dev Module
Upload Speed: 921600
CPU Frequency : 80Mhz
Flash Mode : QIO
Flash Size: 4MB(32Mb)
Partition Scheme : Default 4MB with SPIFFS(1.2MB APP/1.5MB SPIFFS)
Core Debug Level : None
PSRAM : Disable

I routinely use capital letters in my device names (Example: LED Strip). Can you duplicate this issue?

I tried example "fauxmoEsp_Basic"  from your git repository with latest library files ,  given device name in lower cases still not working for me.
here is all hardware and software configuration i am using
ESP32 DevkitV1
ESP32 core version 1.0.4
Arduino IDE version 1.8.13
Arduino IDE Tool Setting
Board: ESP32 Dev Module
Upload Speed: 921600
CPU Frequency : 80Mhz
Flash Mode : QIO
Flash Size: 4MB(32Mb)
Partition Scheme : Default 4MB with SPIFFS(1.2MB APP/1.5MB SPIFFS)
Core Debug Level : None
PSRAM : Disable


RabbitMQ Container doesn't preload exchanges configuration if provided

Hi fellows
First, I want to congratulate you guys for the hard work on this.
Having said that, I was using testcontainers-scala-rabbitmq for spinning up a container for test purposes when I noticed the exchange configuration I was trying to preload in the containers was not working.
The following is the container bootstrap code I used to provide a test-exchange exchange
val container: RabbitMQContainer = RabbitMQContainer(
    dockerImageName = DockerImageName.parse("rabbitmq:3-management"),
    adminPassword = RabbitMQContainer.defaultAdminPassword,
    queues = Seq.empty,
    exchanges = Seq(Exchange(
      name = "test-exchange",
      exchangeType = "direct",
      autoDelete = false,
      internal = false,
      durable = true,
      arguments = Map.empty,
      vhost = Some("test-vhost")),
      Exchange(
        name = "pinga",
        exchangeType = "fanout",
        autoDelete = false,
        internal = false,
        durable = true,
        arguments = Map.empty,
        vhost = Some("test-vhost"))),
    bindings = Seq.empty,
    users = Seq(User(
      name = "test-user",
      password = "test-password",
      tags = Set("administrator"))),
    vhosts = Seq(VHost(name = "test-vhost")),
    vhostsLimits = Seq.empty,
    operatorPolicies = Seq.empty,
    policies = Seq.empty,
    parameters = Seq.empty,
    permissions = Seq(Permission(
      vhost = "test-vhost",
      user = "test-user",
      configure = ".*",
      write = ".*",
      read = ".*"))
  )

I  used the Rabbit's web admin interface to recover the instance configuration json and, as you can see, below. There was no exchange configuration being delivered to the container.
{
  "rabbit_version": "3.7.18",
  "users": [
    {
      "name": "guest",
      "password_hash": "<hash>",
      "hashing_algorithm": "rabbit_password_hashing_sha256",
      "tags": "administrator"
    },
    {
      "name": "test-user",
      "password_hash": "<hash>",
      "hashing_algorithm": "rabbit_password_hashing_sha256",
      "tags": "administrator"
    }
  ],
  "vhosts": [
    {
      "name": "test-vhost"
    },
    {
      "name": "/"
    }
  ],
  "permissions": [
    {
      "user": "guest",
      "vhost": "/",
      "configure": ".*",
      "write": ".*",
      "read": ".*"
    },
    {
      "user": "guest",
      "vhost": "test-vhost",
      "configure": ".*",
      "write": ".*",
      "read": ".*"
    },
    {
      "user": "test-user",
      "vhost": "test-vhost",
      "configure": ".*",
      "write": ".*",
      "read": ".*"
    }
  ],
  "topic_permissions": [],
  "parameters": [],
  "global_parameters": [
    {
      "name": "cluster_name",
      "value": "rabbit@bc156650f5aa"
    }
  ],
  "policies": [],
  "queues": [],
  "exchanges": [],
  "bindings": []
}

I got curious and started looking under the hood in then I realised that exchanges initialization happens before vhost initialization. Since my exchange was tied to a vhost initialized later one it seemed possible this was the root cause of the issue.
I played with a local implementation pushing vhost initialization upwards in the JavaRabbitMQContainer bootstrapping code  and it worked like a charm.
If you don't mind I'll push a PR fixing this issue later Today

Thanks for reporting! Please push a PR when you have a chance

Done @dimafeng ! Workflow is awaiting approval

Closing this one since #187 addressed it


Added at(size_type)

I'm so sorry that I want to add this member to facilitate debugging, and this member is required according to the C++ Core Guides. Thank you!

I see no tests.

I see no tests.

Sorry, I have added tests now.

I suspect there may be a good reason why the reference return comes before the bool return in the definitions of operator [], so I would recommend using the same ordering for the at() method.  It's also possible I'm just being a little paranoid. :)

OK, I have changed the order of at().

@mclow this looks good to me, would you like to review it again?


Encodes the stacktrace, if available.

Also provides the possibily to provide an own mb_detect_order for a more reliable detection of encoding.

This change is

You can stop opening multiple PR's just change commit to the same branch if you want to change something please! Lot's of spam this way 😉

I apologize for spamming. This is the final commit now ;)

This looks good to me. Thanks!


Horreum report mixes CPU limit and request

Describe the bug
The report puts on of the deployment parameters to the wrong target, see:

jq -n --arg cpu_limit "{{ .KC_CPU_REQUESTS }}"...

This results in
"cpuLimitPerPod": 6,

Where it should be cpuRequestedPerPod.
Please check
Version
main
Expected behavior
For CPU, report both requested and limit
Actual behavior
Reporting requested as limit.
How to Reproduce?
No response
Anything else?
No response

@andyuk1986 - could you please have a look? Once this is fixed, please also update the old data for the runs in the result-data branch.
Thanks!

@ahus1  Thanks for reporting this. Sure, will do.

@ahus1 a question: the KC_CPU_LIMITS variable  is set by default to empty string. But as far as I understand, in case it is set , it is will have a numeric value. So I wanted to ask, how do you want to show it in JSON in case it is not set - as null or empty string as well (I think 0 is not an option or yes)?

@andyuk1986 - as you suspected, "0" is not an option. If it is not set, it is unbounded. In the JSON, use it as a number or null if not set.

PR sent: https://github.com/keycloak/keycloak-benchmark/pull/703


Remove de-duplication from Chisel

@azidar @jackkoenig @chick @aswaterman @sdtwigg
This PR is opened because module instance de-duplication will be implemented in FIRRTL.

Even with approval, wait to merge this until the accompanying changes are merged to Firrtl so this can be retested and pass

I believe the changes have been made to Firrtl - can this be merged now?

retest this please

This breaks de-duplication in Hwacha. Chisel3/master firrtl/master works as expected but chisel3/remove-deduplication and firrtl/master fails to deduplicate properly. I'll investigate a little more and hopefully get closer to a root cause to help track down the issue.

I found two Arbiter instances that are identical except for their name. Do we need to reopen the FIRRTL PR/issue ?

See https://github.com/ucb-bar/firrtl/issues/371

The breakage was caused by building with the onetrueliteral pr. Building
with master looks ok.
On Fri, Nov 18, 2016 at 11:54 AM, Jack Koenig<EMAIL_ADDRESS>wrote:

@jackkoenig requested changes on this pull request.
Don't merge this yet, it looks like chisel3 + rocket-chip is broken on
jenkins.
Anyone blocked by this can point to this commit though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ucb-bar/chisel3/pull/347#pullrequestreview-9295274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGh1wAy-o-W21JNKG_j2cPJKQxgohbqlks5q_gKQgaJpZM4Kmqtc
.


Requests from referer https://www.youtube.com are blocked

After following every step of the Readme instructions, I get
Spotify tracks: 4/4
Traceback (most recent call last):
  File "C:\Users\phara\git\spotifyplaylist_to_ytmusic\YouTube.py", line 191, in <module>
    main()
  File "C:\Users\phara\git\spotifyplaylist_to_ytmusic\YouTube.py", line 182, in main
    videoIds = ytmusic.search_songs(playlist['tracks'])
  File "C:\Users\phara\git\spotifyplaylist_to_ytmusic\YouTube.py", line 70, in search_songs
    result = self.api.search(query, ignore_spelling=True)
  File "C:\Users\phara\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\ytmusicapi\mixins\browsing.py", line 135, in search
    response = self._send_request(endpoint, body)
  File "C:\Users\phara\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\ytmusicapi\ytmusic.py", line 133, in _send_request
    raise Exception(message + error)
Exception: Server returned HTTP 403: Forbidden.
Requests from referer https://www.youtube.com are blocked

Is there something more to do to avoid the Forbidden error message?

Are you sure you followed the setup for ytmusicapi correctly? Step 5 in the instructions

Spotify tracks: 28/28
Traceback (most recent call last):
File "YouTube.py", line 190, in
main()
File "YouTube.py", line 182, in main
videoIds = ytmusic.search_songs(playlist['tracks'])
File "YouTube.py", line 70, in search_songs
result = self.api.search(query)
File "C:\Users\Pavel\AppData\Local\Programs\Python\Python36\lib\site-packages\ytmusicapi\mixins\browsing.py", line 141, in search
response = self._send_request(endpoint, body)
File "C:\Users\Pavel\AppData\Local\Programs\Python\Python36\lib\site-packages\ytmusicapi\ytmusic.py", line 142, in _send_request
raise Exception(message + error)
Exception: Server returned HTTP 500: Internal Server Error.
Internal error encountered.
I followed the step 5 and attempted to get the headers from different browsers, but still get the error. Am I missing something else?

Your headers are almost certainly the issue. Try starting from scratch. You can also use search without headers by just calling YTMusic() without parameters

After further troubleshooting, I figured out why I was getting the Internal Server Error. In the settings.ini.example, I misunderstood the purpose of this line:
user_id =
I thought it was supposed to have my Google user_id, but that was not the case. The line needs to remain empty as specified in the example.

user_id is used for brand accounts, which you can create under your main account. If you don't have one, it's fine to leave it empty. So that means everything is working for you?

That's helpful to know. Yes, after leaving the user_id blank, everything started to work fine.
I was following Find your YouTube user & channel IDs guide to identify the user_id value, however after entering the corresponding user id, I was getting that 500 error.

No, that's not related. See here for the correct procedure for brand accounts: https://ytmusicapi.readthedocs.io/en/latest/usage.html
But doesn't matter for you since you're not using a brand account.


Reconnection of clients

How can we reconnect when the redis servers stop and restarts? It seems when we create a global redis.Client, it doesn't reconnect to the server.

Hi, is anyone fix this ? I meet this problem too. Redis can't reconnect automaticaly.


LastState property

https://github.com/thefuntastic/Unity3d-Finite-State-Machine/blob/53a80d9bbc5353db534a8d9919ee7b74c33ca2ec/example_project/Assets/MonsterLove/StateMachine/StateMachine.cs#L350
This never evaluates to true, so always the next return line is executed, which produces undesirable behavior:
https://github.com/thefuntastic/Unity3d-Finite-State-Machine/blob/53a80d9bbc5353db534a8d9919ee7b74c33ca2ec/example_project/Assets/MonsterLove/StateMachine/StateMachine.cs#L352
The condition should check if the lastState.state is null:
if (lastState.state == null) return default(T);

This is an old ticket, but the LastState field has been updated with enhanced test coverage. This should no longer be an issue


False positive for "Style/HashSyntax" EnforcedShorthandSyntax consistent - when only one key (or in method args?)

I set EnforcedShorthandSyntax to the value consistent and could not get code that sends variables similarly named as the keyword arguments to a method, even though all of them consistently used this Style

Expected behavior
EnforcedShorthandSyntax: consistent
rubocop should allow this code:
foo = "bar"
format("string", foo: foo)

Actual behavior
rubocop reports an offense
result:
C: [Correctable] Style/HashSyntax: Omit the hash value.

debug output:
configuration from .rubocop.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-performance-1.18.0/config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-performance-1.18.0/config/default.yml
Default configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-1.56.0/config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-rails-2.20.2/config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-rails-2.20.2/config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-capybara-2.18.0/config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-capybara-2.18.0/lib/../config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-factory_bot-2.23.1/config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-factory_bot-2.23.1/lib/../config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-rspec-2.23.2/config/default.yml
configuration from ~/.rvm/gems/ruby-3.2.2/gems/rubocop-rspec-2.23.2/config/default.yml
Use parallel by default.
Skipping parallel inspection: only a single file needs inspection
Inspecting 1 file

Steps to reproduce the problem
with the config
Style/HashSyntax:
  EnforcedShorthandSyntax: consistent

RuboCop version
$ [bundle exec] rubocop -V
1.56.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.29.0, running on ruby 3.2.2) [arm64-darwin22]
  - rubocop-performance 1.18.0
  - rubocop-rails 2.20.2
  - rubocop-rspec 2.23.2

Oh. I see it now in the docs

consistent - forces use of the 3.1 syntax only if all values can be omitted in the hash

🤦 uhm yeah, the word confused me, I can change this into a feature request


error: cannot inherit from class 'NSLock' because it has overridable members that could not be loaded

The following code snippet builds successfully with the 2024-07-15 nightly toolchain, but fails to build with 2024-07-22. I'm not sure how to check or verify this was caused by the switch to swift-foundation, but the timing seems to line up.
import Foundation

class FooLock: NSLock {}

Actual behavior:
/project/repro.swift:3:7: error: cannot inherit from class 'NSLock' because it has overridable members that could not be loaded
1 | import Foundation
2 |
3 | class FooLock: NSLock {}
  |       |- error: cannot inherit from class 'NSLock' because it has overridable members that could not be loaded
  |       `- note: could not deserialize 'mutex'
4 |

Worth noting that it does seem specific to Linux, because the same snippet builds successfully with recent toolchains on macOS.
Expected behavior:
Code builds successfully.
Configuration:
OS: Linux Ubuntu 22.04
Toolchain: swift-DEVELOPMENT-SNAPSHOT-2024-07-22-a-ubuntu22.04-aarch64 or newer

Realizing that NSLock comes from swift-corelibs-foundation. Filed a new issue over there -- https://github.com/apple/swift-corelibs-foundation/issues/5076


Large titles for timeline

Closes #966

Make navigation bar translucent

Set navigation bar to use large title

Add custom title view to navigation bar

Pending: Fix collapse when scrolling and don't show large title and collapsed title view at the same time

Hey @juanlaube I see this is done through the NavigationController, so the change takes effect in all sections at the same time.
Could you try implement the rest of the sections in this PR as well, see what other problems we find?


[CWS] Add new process.is_thread field

This PR adds the process.is_thread field to test whether a process is a child process that hasn't been replaced by another program.
Improvement to follow:
Add the is_thread field directly to the process and track its value with the corresponding process events (fork/exec).

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Thanks for the review @urseberry, I updated the code documentation and generated the documentation files.


netexp-2635:Fix Associated clients in case of roaming

Associated clients list decrements when client roams
from vifX to vifY. In this case, the client is
first added to the global client list as part of it
associating with vifY (but in actual it doesnt add as
the entry for client already exists) and then deleted
from the same as part of dissassociating from vifX.
Fix is to change the vif the client entry points to
instead of add/delete the client entry.
Signed-off-by: Chaitanya Godavarthi<EMAIL_ADDRESS>

Merged to pending. Thanks.


Bad link for k3d on windows

The reference is missing .exe from the download link https://github.com/rancher/k3d/releases/download/v5.1.0/k3d-windows-amd64
arkade get k3d
Downloading: k3d
2021/11/25 19:06:49 Looking up version for k3d
2021/11/25 19:06:49 Found: v5.1.0
Downloading: https://github.com/rancher/k3d/releases/download/v5.1.0/k3d-windows-amd64
Error: incorrect status for downloading tool: 404

PR: https://github.com/alexellis/arkade/pull/590

Thanks @jlogelin please use "Fixes: #589" in the future, which was part of the PR template that you deleted :confused:
Likewise, please fill out the issue templates otherwise it sets a poor example for others if we let this slide. You may feel like in this instance it didn't add anything, but for many issues it does - things that the submitter hasn't considered.


Ftrack: Events are not processed if project is not available in OpenPype

Changelog Description
Events that happened on project which is not in OpenPype is not processed.
Additional info
We should not run automations on ftrack projects which are not synced to OpenPype.
Testing notes:
Ftrack project which is not synchronized to OpenPype should not trigger any event handlers.

sync of hierarchical <> non hierarchical attributes
task to version / version to task status propagation
thumbnails updates
first version status
next task status

Looks good, only an error appears when a new project on Ftrack is created

Looks good, only an error appears when a new project on Ftrack is created

I think that's caused by having default value of Avalon auto-sync custom attribute to true. That should not happen...


Add code styling tools

Hey @nacimgoura.
I added a couple of things here:

Editorconfig
Eslint
Prettier
A pre-commit hook that runs prettier to all staged files
Run prettier on all files

After this, everything should be consistent in terms of code styling.
NOTE: This is using 2 spaces which IMO looks more readable than what we had before, but if you don't like it I can revert this change.

Thanks but I already use xo for the lint. Why used eslint instead of xo would be better?

Oops, I missed XO on your devDependencies.
Let’s stick with it, XO uses eslint under the hood. I’ll update the PR then.

Thanks 😉


ARROW-17172: [C++][Python] test_cython_api fails on windows

Tis PR adds CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1 to the AppVeyor setup to make test_cython.py succeed as the extension module being built fails loading in a subprocess otherwise.

I guess a suggestion from @jorisvandenbossche to use CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1 fixes AppVeyor failure also. The difference between the CI and the error I had locally is that in this case the importing failure happens in the subprocess for the extension module and locally I wasn't even able to run the tests or import pyarrow in the python console 🤷♀
@pitrou what do you think?

@github-actions crossbow submit -g wheel-windows-*

Revision: 2628b615b06ad3eb0a4d28c77841028668b6699f
Submitted crossbow builds: ursacomputing/crossbow @ conda-dll-search-0

Task
Status

wheel-windows-cp310-amd64

wheel-windows-cp37-amd64

wheel-windows-cp38-amd64

wheel-windows-cp39-amd64

CI seems green @AlenkaF ;-)


Add pre-commit hook to prevent submited secrets in the backend

Added https://github.com/awslabs/git-secrets


randomly select a port for the wrapper communication on win

This looks good, I'm going to go ahead and merge since it's clearly an improvement in itself, and we can always get the async stuff working later.

 :) Oh well, this should be more correct than before, although I read somewhere that the port picked by server.listen(0) is guaranteed to be free on all OSs...

Whoops, forgot to actually do the merge. Anyway, this looks good, and I don't think the continuation is too bad.

Good thing you didn't, I probably wouldn't have tried to do this in a sensible manner otherwise ;)

Silly question: The solution in getFreePort looks good, but is there a similar way to do the same thing in Julia? I'm considering some agent-based models and there could be a lot of ports used.

I think that if you don't specify a port, Julia will try to pick a free one for you. Could be wrong about that, but I've definitely seen some port-picking logic in Base somewhere.

listenany(123) should do the trick.


Issue with deploying Mxnet Model using Cloudformation

Hi,
We are trying to deploy a mxnet model on sagemaker endpoint through cloudformation. The error we see is 'The primary container for production variant AllTraffic did not pass the ping health check. Please check CloudWatch logs for this endpoint.' There's not much information in the Cloudwatch logs.
Here the details:
Location of inference code image:<PHONE_NUMBER>38.dkr.ecr.us-west-2.amazonaws.com/sagemaker-mxnet:1.2-cpu-py3
Region: us-west-2
Location of Model artifacts: https://s3-us-west-2.amazonaws.com/mxnet-temp/model.tar.gz
CF template: https://s3-us-west-2.amazonaws.com/mxnet-temp/endpoint_check.json
To add more context, we only have issues with this algorithm, we were able to deploy models on endpoints successfully using sagemaker built-in algorithms.
Could you help us in debugging the issue?

Hi @SudheerBondada - Creating an AWS Support Case is likely to help you resolve your problem quickest.  They'll be able to investigate in more depth based on the information you've provided above.  Thanks!

Hi @djarpin - Thanks for the quick response. We already raised a support request for the same issue with another endpoint. Here is the response from support team, looks like they see the same error as I mentioned above:
The Sagemaker service team was able to dig through the backend logs and find the following error message.
{EndpointName: Retail-RelevanceToCustomer22,EndpointArn: arn:aws:sagemaker:eu-west-1:167270772459:endpoint/retail-relevancetocustomer22,EndpointConfigName: Retail-RelevanceToCustomer22,EndpointStatus: Failed,FailureReason: The primary container for production variant AllTraffic did not pass the ping health check. Please check CloudWatch logs for this endpoint.,CreationTime: Fri Jul 27 21:43:08 UTC 2018,LastModifiedTime: Fri Jul 27 21:55:22 UTC 2018}
Could you please check if there are any meaningful CloudWatch logs for the endpoint? Due to security and privacy reasons, we are unable to access your CloudWatch logs. If you wish to share the logs with us for further support, please refer to the following link for how to export the logs. If not, then please recreate the CloudFormation stack with Rollback on Failure disabled and we can go from there

Thanks @SudheerBondada - I think sharing the CloudWatch logs would be the way to go here.  Sometimes the actual error is just a single line in CloudWatch that gets overwhelmed by the "/ping" lines.

Hi @djarpin - Here are the complete cloudwatch logs:
2018-08-22 22:04:24,963 INFO - root - running container entrypoint
2018-08-22 22:04:24,964 INFO - root - starting serve task
2018-08-22 22:04:24,964 INFO - container_support.serving - reading config
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:25,094 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTP connection (1): <IP_ADDRESS>
2018-08-22 22:04:25,200 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:25,844 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:26,598 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:27,761 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:29,708 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:33,270 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:40,032 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:04:53,236 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:05:19,279 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:06:10,904 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:07:11,346 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:08:11,856 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com
Downloading s3://sagemaker-us-west-2-558967440381/Mxnetmodel/source/sourcedir.tar.gz to /tmp/script.tar.gz
2018-08-22 22:09:12,269 INFO - botocore.vendored.requests.packages.urllib3.connectionpool - Starting new HTTPS connection (1): sagemaker-us-west-2-558967440381.s3.amazonaws.com

hi @SudheerBondada, have you tried using a larger instance type? It seems possible the instance is just running out of memory.
I'll try to reproduce on my end later, but I was having issues downloading the model tar you linked to.

Thanks @laurenyu. We did use ml.m4.xlarge ..but that's not huge memory increase from ml.t2.medium. Let me try with a larger instance.

Hi @laurenyu..We tried ml.m5.12x.large and it failed with the same error as above..let us know when you reproduce this issue at your convenience.
If the s3 public link for model artifacts has access issues, please use this:
https://drive.google.com/file/d/1kjEUthc-qJ0apadJmTcX_I5zMC5IdVSZ/view?usp=sharing

hi @SudheerBondada, cool, I was able to download it from Google Drive. Can you also provide your entry script (or something similar but simplified if you need to conceal anything private)?

Hi @laurenyu ,
Here are all the scripts:
Jupyter Notebook :
Notebook.zip
CF template: https://s3-us-west-2.amazonaws.com/mxnet-temp/endpoint_check.json

@SudheerBondada does the notebook succeed for you? It looks like from the output that the endpoint was successfully created.
I was able to create an endpoint locally with what you provided. One thing I noticed in the CF template was that the entry point is an S3 URL - is there a way you can provide that locally instead? I'll try to play around with CF when I next get a chance.

@laurenyu Yes..The model and endpoint are being successfully created from the Notebook.  We have issues when we are trying to do the same with CF..Now when you say 'locally' I am not aware if there is a way to pass a local script to CF which deploys a model in PROD..for me S3 url seems to be the only way. Please let me know if I am missing something.
FYI - Not only through CF even if I try to create the endpoint from existing model artifacts we get the same error.

@SudheerBondada I'm less familiar with CF but yeah, I think S3 is the way to go. Sorry, I think what I was thinking is we should find a way to provide a relative path, like with how the Estimator allows for a source_dir that can be S3, and then just a relative path for the entry point. What happens if you change the value for SAGEMAKER_PROGRAM to just "recommender.py" in the CF template?
fwiw, I was able to create an endpoint from the existing model artifacts with
from sagemaker.mxnet import MXNetModel

m = MXNetModel('s3://<bucket>/model.tar.gz', 'SageMakerRole', 'recommender.py')
m.deploy(1, 'ml.m4.xlarge')

Thanks @laurenyu,
What happens if you change the value for SAGEMAKER_PROGRAM to just "recommender.py" in the CF template?
I believe this would throw an error because CF cannot pick the location..Please let us know if this particular model and endpoint can be deployed through CF instead of code.

@SudheerBondada sorry I wasn't clear. I was suggesting to set SAGEMAKER_PROGRAM to just "recommender.py" while keeping SAGEMAKER_SUBMIT_DIRECTORY as "s3:///Mxnetmodel/source/sourcedir.tar.gz" - SageMaker will look for the file in the uncompressed source dir.
There's not a good way to do this with the MXNetModel class in the Python SDK, but I was able to do it through the generic Model class after uploading the script to S3 separately:
from sagemaker.model import Model

env = {
    'SAGEMAKER_CONTAINER_LOG_LEVEL': '20',
    'SAGEMAKER_ENABLE_CLOUDWATCH_METRICS': 'false',
    'SAGEMAKER_PROGRAM': 'recommender.py',
    'SAGEMAKER_REGION': 'us-west-2',
    'SAGEMAKER_SUBMIT_DIRECTORY': 's3://<bucket>/ops-0161284928/sourcedir.tar.gz',
}

m = Model('s3://<bucket>/ops-0161284928/model.tar.gz',
          '520713654638.dkr.ecr.us-west-2.amazonaws.com/sagemaker-mxnet:1.2-cpu-py3',
          'SageMakerRole',
          env=env)

m.deploy(1, 'ml.m4.xlarge')

This did succeed in creating an endpoint for me. My sourcedir.tar.gz simply contained the recommender.py file (not in any directory).

@laurenyu Based on your suggestion I modified the template as below, it still failed with the same error.
CF template: https://s3-us-west-2.amazonaws.com/mxnet-temp/endpoint_check.json
Model artifacts: https://s3-us-west-2.amazonaws.com/mxnet-temp/model.tar.gz
Sagemaker submit directory: https://s3-us-west-2.amazonaws.com/mxnet-temp/sourcedir.tar.gz (contains recommender.py)
All the above links are public, could you try to launch the CF template on your end?

@SudheerBondada I was able to launch an endpoint through CF with the following template:
{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Description": "Endpoint creation",
    "Parameters": {
    },
    "Mappings": {
        "RegionMap": {
            "us-west-2": {
                "MXnetTest": "520713654638.dkr.ecr.us-west-2.amazonaws.com/sagemaker-mxnet:1.2-cpu-py3"
          }
        }
    },
    "Resources": {
        "MxnetModel":{
            "Type" : "AWS::SageMaker::Model",
            "Properties" : {
                "ExecutionRoleArn" : "arn:aws:iam::<account>:role/SageMakerRole",
                "PrimaryContainer" :
                {
                    "ContainerHostname" : "MxnetContainer",
                    "Environment" : {"SAGEMAKER_CONTAINER_LOG_LEVEL": "20",
                                     "SAGEMAKER_ENABLE_CLOUDWATCH_METRICS": false,
                                     "SAGEMAKER_PROGRAM": "recommender.py",
                                     "SAGEMAKER_REGION": {"Ref": "AWS::Region"},
                                     "SAGEMAKER_SUBMIT_DIRECTORY": "s3://<bucket>/sourcedir.tar.gz"},
                    "ModelDataUrl" : "s3://<bucket>/model.tar.gz",
                    "Image": { "Fn::FindInMap" : ["RegionMap",{"Ref": "AWS::Region"}, "MXnetTest"] }
                },
                "ModelName" : "Mxnetmodel"
            }
        },
        "MxnetEndpointConfiguration":{
            "Type" : "AWS::SageMaker::EndpointConfig",
            "DependsOn": "MxnetModel",
            "Properties" : {
                "ProductionVariants": [
                    {
                        "ModelName" : {"Fn::GetAtt":["MxnetModel","ModelName"]},
                        "VariantName": "AllTraffic",
                        "InitialInstanceCount" : 1,
                        "InstanceType" : "ml.m4.xlarge",
                        "InitialVariantWeight" : 1
                    }
                ],
                "EndpointConfigName" : "MxnetEndpointConfig"
            }
        },
        "RetailRelevanceToCustomerEndpoint26": {
            "Type": "AWS::SageMaker::Endpoint",
            "DependsOn": "MxnetEndpointConfiguration",
            "Properties": {
                "EndpointName": "MxnetEndpoint",
                "EndpointConfigName": { "Fn::GetAtt" : ["MxnetEndpointConfiguration", "EndpointConfigName" ] }
            }
        },
        "Handle": {
            "Type": "AWS::CloudFormation::WaitConditionHandle"
        }
    },
    "Outputs": {
    }
}

where I downloaded recommender.py and model.tar.gz from your links, and tar-ed up recommender.py on its own into sourcedir.tar.gz

Thanks for the help @laurenyu..this works for me as well. Fixed some issues with tar utilities on my local while packing source.dir.tar.gz.


Update Secrets Management use Xcode Build Configuration Files

Is your feature request related to a problem? Please describe.
This is to improve ease of contribution & initial setup when the repo is first cloned.
Describe the solution you'd like
Move secrets to use Xcode Build Configuration Files.
Add a script to generate these files after you've first cloned the repository.

Please assign me to this issue, if the issue is approved.


add a cmake option to allow dynamic link

Add a DYNAMIC_LINK option to allow dynamic link, as some linux distro (such as archlinux) does not package static librariy by default.

Hi @btstream!
Thanks for your contribution.
I tested in other platforms and this issue will be merged. Please, keep an eye on the main repository. I will send more modifications for the Fortran flags soon related to another project that will be merged into the develop branch. Please if you have issues with ArchLinux again let us know.
Thank you.
Fabio Oliveira

No problem，it is my pleasure.


AppBar's showMenuIconButton property also disable the right-side icon button

Based on the documentation, the showMenuIconButton property for AppBar should only disable the button next to the title. When I set showMenuIconButton to false the right-sided button also gets disabled.

@ryancole Did you find a solution to this? I am having a similar issue

I'm having this problem too!

Any workarounds?


Started documentation with petstore as template

Not necessary anymore. Please refer to http://mensaupb.herokuapp.com/docs/swagger-ui/index.html?url=/assets/swagger.json#/metalonly


[TikTok] Add subtitles support

Checklist

[X] I'm reporting a site feature request
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Example URLs
https://www.tiktok.com/@hankgreen1/video/7047596209028074758
Description
TikTok has built-in captioning support which is used widely since you can automatically generate captions when posting. They only show up in the mobile apps (not the web version) and the creator can choose the vertical position at which they appear.

Supporting these in yt-dlp would be great for accessibility.
Verbose log
[debug] Command-line config: ['-Uv', '--list-subs', 'https://www.tiktok.com/@hankgreen1/video/7047596209028074758']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Lazy loading extractors is disabled
[debug] Python version 3.9.6 (CPython 64bit) - Linux-5.13.12-arch1-1-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4 (setts), ffprobe 4.4, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [TikTok] Extracting URL: https://www.tiktok.com/@hankgreen1/video/7047596209028074758
[TikTok]<PHONE_NUMBER>028074758: Downloading video details
[debug] Sort order given by extractor: quality, codec, size, br
[debug] Formats sorted by: hasvid, ie_pref, quality, vcodec, acodec, filesize, fs_approx, tbr, vbr, abr, lang, res, fps, hdr:12(7), asr, proto, vext, aext, hasaud, source, id
7047596209028074758 has no subtitles

I just went back to this to find that this has broken again. Just an FYI.


add Bazaar to VCS

From<EMAIL_ADDRESS>on 2012-05-04T17:54:49Z
add Bazaar to available VCS: https://code.google.com/p/spyderlib/source/browse/spyderlib/utils/vcs.py
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1015

From ccordoba12 on 2014-08-23T13:56:13Z
Bazaar has too few users, so I don't think it's worth it, sorry.
Status: WontFix

From pierre.raybaut on 2012-05-17T08:31:30Z
Status: HelpNeeded
Labels: -Type-Defect Type-Enh


Use of modules and /apps

keyword_UtilsWG   |    by<EMAIL_ADDRESS>
The policy for what software should be managed as a module under /apps is not well defined.
H

Issue migrated from trac:233 at 2024-01-31 18:19:58 +1100

<EMAIL_ADDRESS>changed title from Use of modules to Use of modules and /apps

<EMAIL_ADDRESS>commented

This was raised by Damian Agius.
Later discussions with Tennessee Leeuwenburg also indicated that modules and /apps would be the preferred option
Given the plans for Australis with an operational partition, a staging(pre-operational) partitions and possibly a development partition as well this approach seems likely.
The full ramifications of this need to be explored:

Build expertise on constructing modules within R&D
Need to have greater support for R&D version of /apps as well as the ISS /apps


How to use EPEX SPOT SENSOR in an automation?

Hi Steffen,
I was able to install EPEX SPOT SENSOR successfully, and the sensor works fine.
But I struggle when using the sensor in a simple automation with a call service switch toggle on/off for a relay.
The relay turns on/off when the sensor 'Enabled' -attribute changes from 'false' to 'true', instead of following the sensor 'Data' -attributes start and end times.
I don't see what I'm doing wrong.
Would you please help me with this?
Below is the information about the sensor and the automations I made.
Thanks in advance for your help.
Kind regards,
Wim

You have to use the state of the sensor, not attribute.
Example (not tested!):
description: ""
mode: single
trigger:
  - platform: state
    entity_id:
      - binary_sensor.my_epex_spot_sensor
condition: []
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: binary_sensor.my_epex_spot_sensor
            state: "on"
        sequence:
          - service: switch.turn_on
            target:
              entity_id: switch.my_switch
            data: {}
      - conditions:
          - condition: state
            entity_id: binary_sensor.my_epex_spot_sensor
            state: "off"
        sequence:
          - service: switch.turn_off
            target:
              entity_id: switch.my_switch
            data: {}

Hello Steffen,
Thank you very much for your quick answer.
As you can see, I am an absolute beginner with HA and I still have a lot to learn... :-)
I added a new automation based on your YAML code.
Normally this automation should work perfectly.
I will confirm you tomorrow.
Kind regards,
Wim
alias: Relay 27 Switch toggle on/off (EPEX SPOT BINARY SENSOR 9PM - 6AM - CONTIGUOUS)
description: ""
trigger:

platform: state
entity_id:

binary_sensor.epex_spot_binary_sensor_epex_spot_data_price
condition: []
action:

choose:

conditions:

condition: state
entity_id: binary_sensor.epex_spot_binary_sensor_epex_spot_data_price
state: "on"
sequence:
service: switch.turn_on
target:
entity_id: switch.relay_27
data: {}

conditions:

condition: state
entity_id: binary_sensor.epex_spot_binary_sensor_epex_spot_data_price
state: "off"
sequence:
service: switch.turn_off
target:
entity_id: switch.relay_27
data: {}
mode: single

Thanks for your help Steffen!
The automation works perfectly.
Kind regards,
Wim