If I want to migrate from the integration_test API to flutter_convenient_test, what do I need to do?

I was previously using integration_test and now want to try flutter_convenient_test. Will I need to make a lot of code changes? If the workload is too heavy, I might give up on using it.

IMHO no. Just look at the tutorials, it mimics the standard Flutter test a lot.

IMHO no. Just look at the tutorials, it mimics the standard Flutter test a lot.

I must use the API provided by flutter_convenient_test instead of the integration_test API, otherwise the test steps and screenshots will not be visible in the convenient_test_manager.

Oh if you mean this then yes. I meant the logic is almost the same (e.g. "find a widget and tap it")


Filter anytext ilike

Overview

When OGC API - Records receives a CQL request, detect wildcards and, if found, suppress FTS queries
update OpenAPI server info to pycsw version (which is different than the OpenAPI version per se)

Related Issue / Discussion
None
Additional Information
None
Contributions and Licensing
(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
[x] I have already previously agreed to the pycsw Contributions and Licensing Guidelines

Hi Tom, check also #881 and #882, hopefully we can solve both cases at once


Ops with SparseTensor on GPU gives result in CPU.

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock
example script provided in TensorFlow):  custom code
OS Platform and Distribution (e.g.,
Linux Ubuntu 16.04):  Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if
the issue happens on mobile device:
TensorFlow installed from (source or
binary): binary (conda)
TensorFlow version (use command below): 2.1.0
Python version: 3.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from
source):
CUDA/cuDNN version: CUDA 10.1
GPU model and memory: NVIDIA GTX 1060 6 GB

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
When executing operations on sparse tensors in the GPU (within a tf.device block), the result is stored in the CPU. This is causing a huge slowdown in my program, as the data is being copied around between GPU and GPU multiple times.
I have verified that this occurs with the functions tf.sparse.sparse_dense_matmul and tf.sparse.reduce_sum. It may also occur with others. Is this the intended behavior? I am missing something?
Describe the expected behavior
The result of an operation on a sparse tensor with the GPU should stay in the GPU.
Standalone code to reproduce the issue
See this Colab notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Thanks in advance.

Was able to replicate the issue with Tf 2.1.
Please find the gist here. Thanks!

Unfortunately this is by design, SparseReduceSum OP is not implemented for GPU, see declaration:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/sparse_reduce_op.cc
Very few sparse ops are supported on GPU.

See #24404

Thanks for the update. In this case I'm closing the issue.


Opportunity Page

No description provided.

@avinashjha1320 Any reference?

@yash982000 I have provided these two references to the project admin...she will choose the design and then I can proceed with the development part.

@yash982000 I have provided these two references to the project admin...she will choose the design and then I can proceed with the development part.

Okay, @avinashjha1320

@yash982000 can you please tell me which design should I continue and assign me this issue.

@yash982000 can you please tell me which design should I continue and assign me this issue.

@avinashjha1320 Take the 2nd one


Create CODE_OF_CONDUCT.md

Issue #643

Personally I see the need to formalize these kind of things only after the need arises.
But the document seems pretty standard and seems reasonable.

Personally I see the need to formalize these kind of things only after the need arises.
But the document seems pretty standard and seems reasonable.

what about the Pytest MSS/Test-MSS error?

what about the Pytest MSS/Test-MSS error?

what about the Pytest MSS/Test-MSS error?

We are currently setting everything up. The develop+stable branches must be fixed first, which should be completed tomorrow. Then further pull requests can be merged.

what about the Pytest MSS/Test-MSS error?

We are currently setting everything up. The develop+stable branches must be fixed first, which should be completed tomorrow. Then further pull requests can be merged.

I agree that the V2.0 is better suited.

I agree that the V2.0 is better suited.

Yes this https://www.contributor-covenant.org/version/2/0/code_of_conduct/ seems better

Yes this https://www.contributor-covenant.org/version/2/0/code_of_conduct/ seems better


[Source::Rubygems] Remove .gem if downloaded package is invalid

What was the end-user problem that led to this PR?
The problem was the user could (once) have downloaded a .gem file that isn't actually a .gem, and that package would poison their cache.
Closes https://github.com/bundler/bundler/issues/5941.
What was your diagnosis of the problem?
My diagnosis was we should remove the .gem right after downloading it if we can't open it.
What is your fix for the problem, implemented in this PR?
My fix rm_rf's the .gem on failure.
Why did you choose this fix out of the possible options?
I chose this fix because it won't accidentally nuke existing cache entries for a user, but it should help prevent Bundler propagating an issue.

How does this work as end user? Will bundler just try and download the gem again or will this raise an error?

If possible, I'd like to try to re-download one time, and then delete the file again and print an error explaining that we tried to download the gem  and the result was corrupted even on retry. 👍🏻

If possible, I'd like to try to re-download one time, and then delete the file again and print an error explaining that we tried to download the gem and the result was corrupted even on retry. 👍🏻

Sure! Should be possible. Fair warning, I might not be able to get around to that for  few weeks, so someone else is more than welcome to take this over!

Let's merge this for now, so that the cache will be cleared before the error, and hopefully it will work on the second run. I'll create a ticket for improving the UX.
@bundlerbot r+

@bundlerbot retry


Automatic configuration reloading on changes

Hello, it would be good if we had this with using FileSystemWatcher.So ppl dont need to restart or reload plugin :)

A hook wouldn't be used for it, the FSWatcher would just need to watch the config dir as well.

Can't we do like LoadDefaultConfig() hook?

Why is a hook needed at all? The best solution to me is just monitoring the configs just like how we do with the plugins themselves.

Plugin should now something changed.Maybe he do some operations @ Init

So we've thought about this more recently. We don't really see an ideal way to handle this without tracking every config file (some plugins have multiple) to link it to a plugin. A hook could be added without the tracking, but then you'd have to call that hook on every plugin that is loaded every time one config file changes.
Even if we added changes to make the filesystem watch for changes, there are concerns that this would cause more harm than good as users tend to safe frequently while editing, so any invalid changes could spur the plugin to reset the config to default.


Cleanup NetBeans license header for module java.examples

Review and cleanup the license header in java.examples
Oracle donated NetBeans to the Apache Software Foundation.
Your task now is to replace the old license header that has Oracle (and/or Sun Microsystems
and/or NetBeans) in it with the standard Apache Software Foundation license header.
For an empty file that supports headers you must add the Apache license header.
Note that you have to use the proper license header for Java, .properties or HTML files.
Look at the nearby files for templates and copy-paste the license header.
When done commit the changes with a commit message that starts with first line
"[NETBEANS-54] Module Review " and a message body describing your review.
See a longer explanation about what we are doing here: https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review
Please announce in a comment when you have started work.
Files that need to be looked at in java.examples:
java.examples/src/org/netbeans/modules/java/examples/FoldersListSettings.java
java.examples/src/org/netbeans/modules/java/examples/resources/GUIExamplesDescription.url

Working on

Done. PR #263


Error processing images on using gitlab ci and node with alpine

Description
Error processing images on using gitlab ci and node with alpine
Steps to reproduce
In .gitlab-ci.yml
using image: image: node:12.14.1-alpine3.11
add this package: apk -v --update util-linux to work lscpu command
after run: yarn build
Expected result
Build all the files
Actual result
Processing images (20 images) - 0% Error: Failed to process image uploads/example.jpg. write EPIPE
at pMap.concurrency (/builds/path/node_modules/gridsome/lib/workers/image-processor.js:113:13)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Job failed: exit code 1

Environment
$ gridsome info
  System:
    OS: Linux 4.19 Alpine Linux
    CPU: (1) x64 Intel(R) Xeon(R) CPU @ 2.30GHz
  Binaries:
    Node: 12.14.1 - /tmp/yarn--1578597320922-0.4357794108324313/node
    Yarn: 1.21.1 - /tmp/yarn--1578597320922-0.4357794108324313/yarn
    npm: 6.13.4 - /usr/local/bin/npm
  npmPackages:
    @gridsome/remark-prismjs: 0.3.0 => 0.3.0
    @gridsome/source-filesystem: ^0.6.2 => 0.6.2
    @gridsome/transformer-remark: ^0.4.0 => 0.4.0
    gridsome: ^0.7.11 => 0.7.12

did you figure it out how to solve it?

Having the same issue.
Here's part of my Gitlab yml:
build:gridsome:
    image: node:13-alpine3.11
    stage: build
    before_script:
        - apk add -U util-linux
        - apk add --no-cache git
        - apk add yarn
        - yarn install
    script:
        - yarn build
    artifacts:
        paths:
            - dist

Switched to node:13-buster and the issue was resolved.

Switched to node:13-buster and the issue was resolved.

That's what I did as well for now but it's not really a solution.
Debian is a much larger container than Alpine.

@bartvollebregt Wow it took me some hours. But finally, I have managed everything one needs for gridsome.
Just use: image: kujin1000/gridsome-docker:12
One simple gitlab-ci.xml:
image: kujin1000/gridsome-docker:12

production:
  stage: deploy
  cache:
    key: ${CI_COMMIT_REF_SLUG}-npm
    paths:
      - node_modules/
  script:
    - npm install
    - npm run build
  environment:
    name: production
  only:
    - master

And doing other stuff as well. But with this docker file you can use ssh as well.

Hello everyone,
I thought to use https://github.com/gridsome/gridsome.org for a hobby project but i couldn't deploy it to gitlab pages (2) or vercel.com (1)
gridsome.org already hosted in vercel https://github.com/gridsome/gridsome.org/deployments so i followed this guide https://gridsome.org/docs/deploy-to-vercel/ and according to the guide, i don't need to make any changes but failed
[13:46:02.650] Running build in Cleveland, USA (East) – cle1
[13:46:02.731] Cloning gitlab.com/itsnotsaved/gridsome-2 (Branch: master, Commit: fcc6169)
[13:46:02.970] Previous build cache not available
[13:46:04.377] Cloning completed: 1.646s
[13:46:04.583] Running "vercel build"
[13:46:05.045] Vercel CLI 32.1.0
[13:46:05.569] Warning: Detected "engines": { "node": ">=14" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
[13:46:05.571] Installing dependencies...
[13:46:05.828] yarn install v1.22.17
[13:46:05.890] [1/5] Validating package.json...
[13:46:05.893] [2/5] Resolving packages...
[13:46:06.216] [3/5] Fetching packages...
[13:46:07.538] warning<EMAIL_ADDRESS>Invalid bin field for "mini-css-extract-plugin".
[13:46:07.825] warning<EMAIL_ADDRESS>Invalid bin field for "url-loader".
[13:46:17.338] [4/5] Linking dependencies...
[13:46:17.343] warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[13:46:17.343] warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[13:46:17.344] warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".
[13:46:17.344] warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".
[13:46:26.078] [5/5] Building fresh packages...
[13:46:31.034] Done in 25.21s.
[13:46:31.069] Running "yarn run build"
[13:46:31.234] yarn run v1.22.17
[13:46:31.257] $ gridsome build
[13:46:31.613] Gridsome v0.7.20
[13:46:31.613]
[13:46:31.928] Initializing plugins...
[13:46:33.295] Load sources - 0.91s
[13:46:33.370] Create GraphQL schema - 0.07s
[13:46:33.429] Create pages and templates - 0.06s
[13:46:33.479] Generate temporary code - 0.05s
[13:46:33.479] Bootstrap finish - 1.87s
[13:46:33.480] Compiling assets...
[13:46:33.931] Browserslist: caniuse-lite is outdated. Please run:
[13:46:33.931] npx browserslist@latest --update-db
[13:46:33.931]
[13:46:33.931] Why you should do it regularly:
[13:46:33.931] https://github.com/browserslist/browserslist#browsers-data-updating
[13:46:34.150] /vercel/path0/node_modules/loader-runner/lib/LoaderRunner.js:114
[13:46:34.151] 			throw e;
[13:46:34.151] 			^
[13:46:34.151]
[13:46:34.151] Error: error:0308010C:digital envelope routines::unsupported
[13:46:34.151]     at new Hash (node:internal/crypto/hash:69:19)
[13:46:34.151]     at Object.createHash (node:crypto:133:10)
[13:46:34.151]     at module.exports (/vercel/path0/node_modules/webpack/lib/util/createHash.js:135:53)
[13:46:34.151]     at NormalModule._initBuildHash (/vercel/path0/node_modules/webpack/lib/NormalModule.js:417:16)
[13:46:34.151]     at handleParseError (/vercel/path0/node_modules/webpack/lib/NormalModule.js:471:10)
[13:46:34.151]     at /vercel/path0/node_modules/webpack/lib/NormalModule.js:503:5
[13:46:34.152]     at /vercel/path0/node_modules/webpack/lib/NormalModule.js:358:12
[13:46:34.152]     at /vercel/path0/node_modules/loader-runner/lib/LoaderRunner.js:373:3
[13:46:34.152]     at iterateNormalLoaders (/vercel/path0/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
[13:46:34.152]     at iterateNormalLoaders (/vercel/path0/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
[13:46:34.152]     at /vercel/path0/node_modules/loader-runner/lib/LoaderRunner.js:236:3
[13:46:34.152]     at context.callback (/vercel/path0/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
[13:46:34.152]     at /vercel/path0/node_modules/cache-loader/dist/index.js:118:7
[13:46:34.153]     at /vercel/path0/node_modules/graceful-fs/graceful-fs.js:61:14
[13:46:34.153]     at FSReqCallback.oncomplete (node:fs:200:23) {
[13:46:34.153]   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
[13:46:34.153]   library: 'digital envelope routines',
[13:46:34.153]   reason: 'unsupported',
[13:46:34.153]   code: 'ERR_OSSL_EVP_UNSUPPORTED'
[13:46:34.153] }
[13:46:34.153]
[13:46:34.153] Node.js v18.17.0
[13:46:34.172] error Command failed with exit code 1.
[13:46:34.172] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[13:46:34.190] Error: Command "yarn run build" exited with 1

I like to use gitlab pages so i followed this guide https://gridsome.org/docs/deploy-to-gitlab/ but failed too. Note: i didnt understand how to follow 2nd step, "2. Set outputDir in gridsome.config.js to 'public'." https://github.com/gridsome/gridsome.org/blob/master/gridsome.config.js
This is the gridsome-ci.yml. I also tried @pmochine's gitlab-ci
image: node:10.15.0

pages:
  cache:
    paths:
      - node_modules/
  script:
    - npm install
    - npm run build
    # Optional: this gzips all files, so GitLab can serve compressed assets.
    - gzip -k -6 $(find public -type f)
  artifacts:
    paths:
      - public
  only:
    - master

Running with gitlab-runner 16.3.0~beta.108.g2b6048b4 (2b6048b4)
  on green-3.saas-linux-small-amd64.runners-manager.gitlab.com/default Jhc_Jxvh, system ID: s_0e6850b2bce1
  feature flags: FF_USE_IMPROVED_URL_MASKING:true, FF_RESOLVE_FULL_TLS_CHAIN:false
section_start:1693895398:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image node:10.15.0 ...
Pulling docker image node:10.15.0 ...
Using docker image sha256:b826d251321b21e7c97be6deb759cc1144e19313e2f117e8aa8c864c73729153 for node:10.15.0 with digest node@sha256:c9a51b7f2f3774f39058bb436ed62d66f415f32b9386e5c35c3fb4854722ed84 ...
section_end:1693895416:prepare_executor
section_start:1693895416:prepare_script
Preparing environment
Running on runner-jhcjxvh-project-49071060-concurrent-0 via runner-jhcjxvh-s-l-s-amd64-1693895355-db2a5474...
section_end:1693895421:prepare_script
section_start:1693895421:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Initialized empty Git repository in /builds/itsnotsaved/gridsome-1/.git/
Created fresh repository.
Checking out 0307663c as detached HEAD (ref is master)...

Skipping Git submodules setup
$ git remote set-url origin "${CI_REPOSITORY_URL}"
section_end:1693895423:get_sources
section_start:1693895423:restore_cache
Restoring cache
Checking cache for default-protected...
WARNING: file does not exist
Failed to extract cache
section_end:1693895424:restore_cache
section_start:1693895424:step_script
Executing "step_script" stage of the job script
Using docker image sha256:b826d251321b21e7c97be6deb759cc1144e19313e2f117e8aa8c864c73729153 for node:10.15.0 with digest node@sha256:c9a51b7f2f3774f39058bb436ed62d66f415f32b9386e5c35c3fb4854722ed84 ...
$ npm install
npm WARN deprecated<EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @docsearch/js.
npm WARN deprecated<EMAIL_ADDRESS>This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated<EMAIL_ADDRESS>3.x is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This package is no longer maintained. We recommend using `graphql-http` instead. Please consult the migration document https://github.com/graphql/graphql-http#migrating-express-grpahql.
npm WARN deprecated<EMAIL_ADDRESS>3.7.3
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>Sorry but vue-analytics is no longer maintained. I would suggest you switch to vue-gtag, with love, the guy who made the package.
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
npm WARN deprecated<EMAIL_ADDRESS>Use String.prototype.trim() instead
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
npm WARN deprecated<EMAIL_ADDRESS>< 19.4.0 is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated

><EMAIL_ADDRESS>install /builds/itsnotsaved/gridsome-1/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz

><EMAIL_ADDRESS>install /builds/itsnotsaved/gridsome-1/node_modules/puppeteer
> node install.js

Chromium downloaded to /builds/itsnotsaved/gridsome-1/node_modules/puppeteer/.local-chromium/linux-722234

><EMAIL_ADDRESS>postinstall /builds/itsnotsaved/gridsome-1/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

><EMAIL_ADDRESS>postinstall /builds/itsnotsaved/gridsome-1/node_modules/preact
> node -e "console.log('\u001b[35m\u001b[1mLove Preact? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/preact/donate\u001b[0m')"

Love Preact? You can now donate to our open collective:
 > https://opencollective.com/preact/donate

><EMAIL_ADDRESS>postinstall /builds/itsnotsaved/gridsome-1/node_modules/cwebp-bin
> node lib/install.js

  ⚠ Command failed: /builds/itsnotsaved/gridsome-1/node_modules/cwebp-bin/vendor/cwebp -version
/builds/itsnotsaved/gridsome-1/node_modules/cwebp-bin/vendor/cwebp: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

  ⚠ cwebp pre-build test failed
  ℹ compiling from source
  ✔ cwebp built successfully

><EMAIL_ADDRESS>postinstall /builds/itsnotsaved/gridsome-1/node_modules/mozjpeg
> node lib/install.js

  ✔ mozjpeg pre-build test passed successfully

><EMAIL_ADDRESS>postinstall /builds/itsnotsaved/gridsome-1/node_modules/pngquant-bin
> node lib/install.js

  ✔ pngquant pre-build test passed successfully
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/sass/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN<EMAIL_ADDRESS>requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

added 2051 packages from 894 contributors and audited 2056 packages in 82.017s
found 40 vulnerabilities (1 low, 13 moderate, 21 high, 5 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
$ npm run build

><EMAIL_ADDRESS>build /builds/itsnotsaved/gridsome-1
> gridsome build

Gridsome v0.7.23

Initializing plugins...
Load sources - 0.9s
Create GraphQL schema - 0.13s
Create pages and templates - 0.09s
Generate temporary code - 0.06s
Bootstrap finish - 2.15s
Compiling assets...
ModuleError: Module Error (from ./node_modules/sass-loader/dist/cjs.js):
globalThis is not defined
    at Object.emitError (/builds/itsnotsaved/gridsome-1/node_modules/webpack/lib/NormalModule.js:173:6)
    at getSassImplementation (/builds/itsnotsaved/gridsome-1/node_modules/sass-loader/dist/utils.js:60:21)
    at Object.loader (/builds/itsnotsaved/gridsome-1/node_modules/sass-loader/dist/index.js:35:59)
    at LOADER_EXECUTION (/builds/itsnotsaved/gridsome-1/node_modules/loader-runner/lib/LoaderRunner.js:119:14)
    at runSyncOrAsync (/builds/itsnotsaved/gridsome-1/node_modules/loader-runner/lib/LoaderRunner.js:120:4)
    at iterateNormalLoaders (/builds/itsnotsaved/gridsome-1/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at iterateNormalLoaders (/builds/itsnotsaved/gridsome-1/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /builds/itsnotsaved/gridsome-1/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/builds/itsnotsaved/gridsome-1/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at writeFn (/builds/itsnotsaved/gridsome-1/node_modules/cache-loader/dist/index.js:118:7)
    at /builds/itsnotsaved/gridsome-1/node_modules/graceful-fs/graceful-fs.js:61:14
    at FSReqWrap.oncomplete (fs.js:141:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `gridsome build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!


switched from nanomsg to nng/compat

Switching from nanomsg to NNG compatibility mode.

Don't merge yet.
This needs to be merged at the same time as parodus.


Integration tests

Implements a simple framework for writing integration tests. The purpose is to test features and suites of behaviors against a real AMQP host. This should make it easier to write tests for complex features and bug fixes.
Right now, the "framework" is just a shell script that looks for executable test files in the integration directory. In the future, boilerplate may be extracted away so that users have control over the target host, virtual host, passwords and so on.
These tests live outside of the tests directory as they can't be run on Travis CI. They can be run from the root project directory by calling ./scripts/integration

@vitaly-krugl I'd like this or something like it as a basis for better tests on #80 and #82.

@awestendorf - it's great to have integration tests in the project! I have some feedback:

It would be awesome to get integration tests running on Travis CI (pika does this, for example). What is your reasoning for not running integration tests on Travis CI?
I would prefer a standard test framework. The asserts in test-get.py won't display useful info when the assertions fail. On the other hand, self.assertEqual, etc., in unittest (e.g.) automatically output useful information about the failure that helps tremendously with debugging. Builtin fixtures, such as addCleanup, setUp, and tearDown, are extremely useful.
Although I've somewhat adopted to Chai when working on Haigha unit tests, unittest would be my personal preference, because more developers are proficient with it, making it easier and faster to write quality tests.
On occasion, I find it useful to use mock in integration tests as well: e.g., mocking out a timeout duration constant with a much shorter value to run the integration test in practical amount of time.
I like py.test as a test runner. It has good options, such as "boxing" tests inside individual processes to prevent unintended side-effects from one test affecting other tests.

Hi Aaron, I left some feedback regarding integration tests in your PR https://github.com/agoragames/haigha/pull/85. I will add an integration test for my PR #82 (server-initiated basic.cancel).
Also, my PR #80 (https://github.com/agoragames/haigha/pull/80) was meant only as an example for Kevin Conway's PR #69. I just closed #80. I plan to review Kevin's PR #69 this week.
Best,
Vitaly
From: Aaron Westendorf <notifications<EMAIL_ADDRESS>Reply-To: agoragames/haigha <reply<EMAIL_ADDRESS>Date: Monday, July 6, 2015 at 7:25 AM
To: agoragames/haigha <haigha<EMAIL_ADDRESS>Cc: Vitaly Kruglikov <vkruglikov<EMAIL_ADDRESS>Subject: Re: [haigha] Integration tests (#85)
@vitaly-kruglhttps://github.com/vitaly-krugl I'd like this or something like it as a basis for better tests on #80https://github.com/agoragames/haigha/pull/80 and #82https://github.com/agoragames/haigha/pull/82.

Reply to this email directly or view it on GitHubhttps://github.com/agoragames/haigha/pull/85#issuecomment-118871664.

I didn't think Travis supported Rabbit, but knowing that, tests/integration is the right place to put the tests. I think the rest of your comments flow from there. Chai is a superset of unittest, you should be able to continue using all of its features.
I'm going to close this and open another one with new integration tests.

Aaron, please see this for simple instructions on starting RabbitMQ on Travis-CI: http://docs.travis-ci.com/user/database-setup/#RabbitMQ

Aaron, I enabled rabbitmq service in travis in PR #82, which has integration tests. See comments in #82.


when using docker + linking + golang it doesn't read /etc/hosts properly

Please see:

https://github.com/docker/docker/issues/19866

Please file a complete bug report with a summary that stands alone. Nobody likes chasing down a dozen links to guess which part the bug report might be about.
And if this is about the DNS resolver, please search to see if an existing bug is a dup. I suspect it might be in this case. I've seen some others open mentioning similar things.

Ran into this bug today. Why is the issue closed? This is definitely a showstopper for use of go apps in docker containers.

@bradfitz explained why it's closed:

Please file a complete bug report with a summary that stands alone. Nobody likes chasing down a dozen links to guess which part the bug report might be about.

The bug is closed due to lack of information.
If you have more information please file a new issue
Thanks.

@wildattire  https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/G-faJ0bthz0
The problem is with Alpine, specifically musl's DNS behavior, and not
Go. See e.g. https://github.com/gliderlabs/docker-alpine/issues/8. I
believe the issue will be fixed in Alpine in the near future.
I can confirm that Alpine 3.4 fixes the issue.

The problem seem still exist for golang with alpine after 3.4.

Please fill asnwers of questions in template at top of comment.
Please answer these questions before submitting your issue. Thanks!

### What version of Go are you using (`go version`)?

### What operating system and processor architecture are you using (`go env`)?

### What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

### What did you expect to see?

### What did you see instead?

URL doesn't match with using keywords on issue search.

Somebody, please file a real bug report. I'm freezing this noisy one.


Is the quick link still recent?

Hi, I see that the CloudFormation quicklink is trying to get a 21.01 next cloud version setup in CF? Is this quicklink still valid/maintained?

I changed 21.01 to 23.0.3 and that worked well for me


Update Create Run As Account instructions

Made a minor correction in the Create Run As Account instructions.

@AzureMentor : Thanks for your contribution! The author(s) have been notified to review your proposed change.


would like to be able to set withCredentials=true for remote datasource

Prevents accessing secured http endpoints.
Getting the results manually and using a local datasource works but presents some potential timing issues. i.e. [pause] must be set to a time where the results are certain to be back instead of updating as soon as they are available.

duplicate of #71


Problems when indenting cat<<-EOF

I have a code like:
function foo{
  cat <<-EOF >> file.txt
  text to insert into the text
  more text
  more
  EOF
}

when i try to indent the EOF for best practices from Shell Style Guide, the EOF is ignored and the rest of the code is highlighted as part of the text i want to insert into the file.
I hope this bug to be fixed as soon as posible,
thanks.

@emonto15 Thanks for reporting this.
The EOF must not be preceeded by spaces, only by tabs. See http://www.tldp.org/LDP/abs/html/here-docs.html#FTN.AEN17822 for that. It also states
The closing limit string, on the final line of a here document, must start in the first character position. There can be no leading whitespace. Trailing whitespace after the limit string likewise causes unexpected behavior. The whitespace prevents the limit string from being recognized.

two-spaces as defined in the style guide isn't possible for here-docs. As you're using <<- you could use tabs, but IntelliJ often converts those into spaces later on, which breaks the parsing again.
I could try to make the parsing a bit more robust to show a warning on leading spaces, but that will probably create some other, incorrectly flagged errors.


Add ReverseGeocoding Clojure sample function

Signed-off-by: Luc Juggery<EMAIL_ADDRESS>Description
Added function which performs a reverse geocoding of GPS coordinates
Motivation and Context
Was curious about how to add a Clojure function into OpenFaaS
How Has This Been Tested?
Function has been created and invoked through the UI.
Once the function is created, it can be tested with the following query:
$ curl -d '7.116703 43.581915' http://localhost:8080/function/ReverseGeocoding
20 Avenue Reibaud, 06600 Antibes, France

Types of changes
Added the ReverseGeocoding folder in sample-functions. This folder contains a Clojure project and the Dockerfile needed in order to build the image.
Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Looks good to me!
The project file still contains mention of the default "Eclipse Public License". I wonder if it would be preferable to remove that?

Yes, I'll remove that one.
Le 11 sept. 2017 2:44 PM, "Scott Walker"<EMAIL_ADDRESS>a
écrit :

Looks good to me!
The project file still contains mention of the default "Eclipse Public
License". I wonder if it would be preferable to remove that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexellis/faas/pull/181#issuecomment-328517559, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALIhoEECQmptq9h3k9RfJYHHXHB2dkFks5shSsqgaJpZM4PTEou
.

Done (sorry why AFK).

Hey @lucj I think this would be awesome to have in the showcase repository called faas-and-furious.
https://github.com/faas-and-furious
If you move this into your own repository I'll give you access to faas-and-furious and you can transfer the repo in.

Hi @alexellis, yes no problem.
Is this one fine https://github.com/lucj/faas-reverse-geocoding ?

You're now a member, please go ahead and transfer the repo and close out the issue. Bonus points for a GIF too :+1:

Please also PR to the community.md file with your repo in the last section along with the date and URL when ready.

Repo has been added. Animated Gif and PR on their way.

@alexellis just to be sure, you need me to close this PR and create a new one only with the changes of the community.md, correct ?


tests(cds): increase NewResponse coverage

Description:
This change adds new test cases to increase coverage of the CDS
NewResponse() function. The only remaining uncovered lines in
pkg/envoy/cds are handling errors returned by ptypes.MarshalAny().
Fixes #3409

Affected area:

Functional Area

New Functionality
[ ]

Documentation
[ ]

Install
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Ingress
[ ]

Egress
[ ]

Networking
[ ]

Observability
[ ]

SMI Policy
[ ]

Sidecar Injection
[ ]

Security
[ ]

Upgrade
[ ]

Tests
[X]

CI System
[ ]

Demo
[ ]

Performance
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Codecov Report

Merging #3495 (ad0f65f) into main (d68983d) will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3495      +/-   ##
==========================================
+ Coverage   65.83%   65.99%   +0.16%
==========================================
  Files         169      169
  Lines        7893     7898       +5
==========================================
+ Hits         5196     5212      +16
+ Misses       2666     2656      -10
+ Partials       31       30       -1

Flag
Coverage Δ

unittests
65.99% <ø> (+0.16%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/envoy/ads/stream.go
4.43% <0.00%> (-1.13%)
:arrow_down:

pkg/envoy/ads/grpc.go
0.00% <0.00%> (ø)

pkg/catalog/mock_catalog_generated.go
0.00% <0.00%> (ø)

pkg/envoy/ads/server.go
70.00% <0.00%> (+1.03%)
:arrow_up:

pkg/kubernetes/announcement_handlers.go
77.14% <0.00%> (+5.71%)
:arrow_up:

pkg/catalog/catalog.go
100.00% <0.00%> (+7.14%)
:arrow_up:

pkg/envoy/cds/response.go
89.13% <0.00%> (+28.26%)
:arrow_up:

Continue to review full report at Codecov.

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


Documentationupdatee doc about materialized-view's supported aggregate function

Proposed changes
pdatee doc about materialized-view's supported aggregate function
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Missing RPM packages

Expected behavior
Successful installation of Procdump on Fedora/CentOS/RHEL/openSUSE/SLES
Actual behavior
Package not found.
During the release of Procdump 1.1 we found an issue in our release pipeline that resulted in unsigned rpm packages being published. We have removed them and are working actively to resolve this issue and republish our rpm packages.

RPM packages have been republished for Fedora 29 & 30, RHEL 7 & 8, CentOS 7, openSUSE 15, and SLES 12 & 15.


Use sponge standards for permission names

Currently this plugin does not obey the sponge standards to permission names.
For example, a permission used by this plugin vanish.use should be changed to spongeessentialcmds.command.vanish or spongeessentialcmds.command.vanish.use
Something like spongeessentialcmds.vanish.use will suffice as well. At least include the plugin name

I'm not sure how users would react to me changing all the permissions when most of them have been actively using my plugin.

I know. It's a difficult thing to fix now that the plugin is released and being used.
One thing you could do is add a warning in the logs and in the release notes to warn users that a change is upcoming. Then in a week or two you could release the permission rename.
If you warn your users early enough about the addition of the spongeessentialcmds. prefix, i hope the transition will go smooth. I know it's a difficult thing to do, but i hope you kinda agree with me in that it should be changed sometime in the future :smiley:

I do agree with you, and have been considering this for a long time. I'll give the users a heads up in the thread, and will add something in the log when the server is starting. Thanks for the advice!


App configuration description component not showing data

Data always shown as Not Selected, but it should show the name of the data selected (data has always been selected in the screenshots below)
Observed in hmp v1-v3 across all compute apps

closed with https://github.com/VEuPathDB/web-monorepo/pull/545


Get Right-click Context Menu working for all shapes

We have a number of context menu features that are currently disabled.
The context menus that are shown are... well, context-specific, and what the menu shows is dependent on what you're clicking on.
Points
Lines
Areas

Added in a15db937a355c1e6575c72e1aff967bf45f18d1e. As it turns out, @bhousel's refactor of all the modes, operations, etc. did 99.9% of the heavy lifting here- I just needed to modify a couple of mouse event handler calls from the old d3 mouse code.


There is no token_reward in wordle train_bc file

Dear authors,
Thanks for your great job. However, when I try to run the train_bc.py in wordle file. I got the error that
  File "/data2/xxx/Implicit-Language-Q-Learning/src/wordle/load_objects.py", line 99, in load_human_dataset
    token_reward = load_item(config['token_reward'], device, verbose=verbose)
KeyError: 'token_reward'

Could you please tell me more about the solution?
I also have another question why we should run train_bc and get the weight first? Why cannot we train iql directly?
Thanks!

Ah apologies for the error!
I believe this issue can be fixed by changing:
model:
  transition_weight: 0.0
  dataset:
    name: wordle_human_dataset
    cache_id: d
  load:
    checkpoint_path: null
    strict_load: true

to:
model:
  transition_weight: 0.0
  dataset:
    name: wordle_human_dataset
    cache_id: d_train
  load:
    checkpoint_path: null
    strict_load: true

in config/wordle/train_bc.yaml
And as for why run bc first, of course you certainly can train IQL directly. But to run ILQL inference you need a BC model for the IQL value functions to perturb, which is why I recommend training BC first so that you can evaluate ILQL as it is training.

Hi Charlie,
Thanks for your reply. I am sorry I still meet some issues in the following two files when I tried to run the train_bc.py and train_iql.py in the toxicity dataset.
For train_bc.py, when I run it, it throws the exception that In 'train_bc': Could not find 'evaluator/bc_evaluator'. However, I found a @register('bc_evaluator') at https://github.com/Sea-Snell/Implicit-Language-Q-Learning/blob/main/src/load_objects.py#L82. I wonder why it will be like this?
For train_iql.py, I think it is a bug at https://github.com/Sea-Snell/Implicit-Language-Q-Learning/blob/main/src/toxicity/toxicity_env.py#L53. I think it may be because that RedditData cannot be random.choice?
The program will be stuck here.
Thanks for your help. I am looking forward to your reply!

Ok I just pushed a fix for your first error. However for the second, I suspect that this is related to your python version; I'm using python 3.9.7.


About those changes

I have created a branch, in which created a new file and made a commit, and finally opened a pull request

Read to be deployed


[Question] What is the possible method to get a llava with longer context length ~ 16k? #610

Question
Could I download the pre-trained connector weight and then finetune the new model(blip + connector + llm with long context > 4k) on my downstream task datasets? Is it plausible?

How were you able to achieve this? clipping a FT Language model is doable?


Multilingual IR with Machine-Translated FAQ

Building multilingual models (zero-shot, transfer learning, etc.) takes time.
So, in the meantime, as stated in #2 , we could machine-translate FAQs from English into other languages and add them to the search cluster, so that they can be retrieved at foreign language input. Translations in the background don't need to be perfect, but sufficient for retrieval (adequacy before fluency/grammar).
TODOs:

[ ] Scrape the English FAQ from data/scrapers repo
[ ] Build machine-translator tool (e.g. with https://pypi.org/project/googletrans/)
[ ] Translate some samples to check quality
[ ] Translate all English FAQ
[ ] Add data to ESC with columns: language, original_english_doc, is_machine_translated

Great idea. @stedomedo! Did I get this right, that we would still need language-specific models for question similarity with this approach?
Would it be an alternative to translate the user question live to English and then to the matching with our FAQs? With that approach we could easily leverage English models for question similarity.

Yes, that's an option.
Query translation quality could suffer though from short lengths.
I'm currently exploring translation quality.
Thanks!

The googletrans lib does not work reliably, so I made a free trial account on MS Azure, also because they offer up to 2M characters of translation for free per month.
Here is the English FAQ data including columns for Arabic:
https://github.com/stedomedo/COVID-QA/blob/auto_translators/data/faqs/MT_ar_faq_covidbert.csv

And the MS translator:
https://github.com/stedomedo/COVID-QA/blob/auto_translators/data/translators/ms_translate.py
MS Translator is supposed to be quite good for Arabic. For other languages, Google or DeepL are better options (afaik they don't offer free credits)
Checking which real-time translation option is best to use, incl. budget-wise

@tholor @Timoeller I have a question on the (desired) search workflow.
Is it:
user query -> match query to question with BERT -> search with elastic (tfidf, bm25)
?
So could a multilingual workflow be like this:
query -> detect lang
-> if EN -> match query to question with BERT -> search with elastic (tfidf, bm25)
-> if AR -> search directly with elastic (tfidf, bm25)
?
In this case, no multilingual-BERT or other-language-BERT or real-time translation would be needed.

Good points.
Can you create a PR with the translation and the script for doing so? I would merge it to have this functionality in the repo.
About the language detection and the switch between bert + ES and only ES: we could implement it this way if multilingual isnt working well for other languages.
Do you have experience with language detection and could write a script for this, so we can integrate this into the backend? We need lang detection there anyways, because we want to adjust output texts like "source" "cateogry" etc. The script should be rather efficient, since this will limit response time...

One idea for "simple" transfer learning:
In Machine Translation [this technique](One more comment on
https://www.aclweb.org/anthology/W18-6325/) is commonly used when you have a low resource language. Basically, you build a model for language Y on top of the model for language X by just continuing the training (1-2 epochs) with the Y language data. Vocabs would need to be pooled on all languages though.
This could work for small data sizes or/and maybe also machine-translated texts.

That is exactly the idea! : )
With multilingual models like mBert or XLM-R this "zero shot learning" is easily possible because the vocab is already in one pool for all supported languages.
See e.g. Table 1 or 3 in XLM-R paper for zero shot transfer.

You are probably aware of these datasets but heres some multilingual similarity data. I have a NMT model for english->swedish if you want me to I could NMT and add some data for better performance on scandinavian languages.
https://github.com/google-research-datasets/paws
https://www.nyu.edu/projects/bowman/xnli/


Default eval command is confusing when used in self-bot mode

When using Commando on a self-bot, the built-in eval command has a confusing quirk. When editable commands are enabled (i.e. commandEditableDuration isn't 0), the output of the eval command is deleted instantly, as soon as it's evaluated. This is because the code tries to edit the original command message with the output if it can, and then returns that same message as the response message.
But the act of editing the command message, which is now the response message, into something that isn't a command (the output of the eval command), causes the response message to be deleted, which is also the command message. Thus, the single message used throughout this process is sent by the user, evaluated, edited to the output, and then deleted, all within a very short time.
The obvious fix is to just set commandEditableDuration to 0, but I think that's a useful feature and this whole thing confused me for a good 10 minutes until I figured it out. It'd be nice if this little gotcha could be addressed somehow. Thanks

I never had this happen when I was testing it out, though that was ages ago - regardless, selfbot mode is going to be removed in the near future, as selfbots are no longer supported (even in plain d.js) and are against the Discord TOS.


Passing more than one argument in api action

Thanks for such a amazing package. It is the best  package  to which i understand solution for server side rendering .
I have a little issue . Images have been fetched  at /media route after passing one argument searchQuery in src/api/media/flickrImages api . I have need to pass one more argument like pageNum like this (searchQuery, pageNum) .
And in src/view/media/ file i have called redux call like this below
    class Media extends Component {
          componentDidMount() {
          this.props.dispatch(searchMediaAction('react' ,pageNum));
      }
     handleSearch(event) {
         event.preventDefault();
         if (this.query !== null) {
          this.props.dispatch(searchMediaAction(this.query.value, pageNum));
       }
    }

In api i have done like this
   export const flickrImages = (searchQuery, pageNum) => {
      searchQuery = searchQuery || 'new year 2018';
      pageNum = pageNum;
      const FLICKR_API_ENDPOINT =`${BASE_URL}method=flickr.photos.search&text=${searchQuery}&api_key=${FLICKR_API_KEY}&format=json&nojsoncallback=1&per_page=${pageNum}`;
        return fetch(FLICKR_API_ENDPOINT).then(response => {
                  return response.json();
                }) .then(json => {
                  const data = json.photos.photo.map(({ farm, server, id, secret, title }) => ({
                      id,
                       title,
                        mediaUrl: `https://farm${farm}.staticflickr.com/${server}/${id}_${secret}.jpg`
                     }));
                    return { data };
                })
                 .catch(ex => (
                     {
                          metadata: {
                           error: ex
                       }
                  }
             ));
       };

But unfortunately value of pageNum in api calling is coming as undefined  like this
https://api.flickr.com/services/rest/?method=flickr.photos.search&text=react&api_key=a46a979f39c49975dbdd23b378e6d3d5&format=json&nojsoncallback=1&per_page=undefined

Please suggest me to pass more than one argument in api call while i will not have to use routes params actually ..
Thanks a lot

Thank you for the feedback, @ajeetvarma !
Due to Redux documentation https://redux.js.org/docs/basics/Actions.html, action contains from type and some data only. But you always may pass data like an object to pass more details to API:
this.props.dispatch(searchMediaAction('react' ,{searchQuery: 'react', pageNum: 1}));
And use this in the API:
export const flickrImages = (payload) => {       const searchQuery = payload.searchQuery;       const pageNum = payload.pageNum;        ...
or using ES features just like this:
export const flickrImages = ({searchQuery, pageNum}) => {       ...
In this case you may pass everything you need. Hope it helps :)


SDK Roboflow integration

from depthai_sdk import OakCamera
API_KEY = 'd2OP8nbhA9rZcWd6G8p1' # Fake API key, replace with your own!

with OakCamera() as oak:
    color = oak.create_camera('color')
    model_config = {
        'source': 'roboflow', # We might later support other ML training platforms
        'model':'american-sign-language-letters/6',
        'key':API_KEY
    }
    nn = oak.create_nn(model_config, color)
    oak.visualize(nn, fps=True)
    oak.start(blocking=True)

lgtm


Fixing issue #150

Fixing the issue where the same frame would get processed multiple times, outputting the same bounding box repeatedly increasing the GPU usage, #150 . Fix suggested from @elpidiovaldez

Hi!
thanks for the PR. If this is a fix, shouldn't it be enabled by default?
Best,
Marko


Idle detection not detecting when computer is in standby or not working.

Users reported, that idle time isn't detected when you close the lid. (osx)

Desk #140965

works for me (master branch). please reopen if you can reproduce the issue. note that you can configure the minimum number of minutes in preferences


chore: Bump OAV version to 0.19.0

@sergey-shandar @NullMDR does this make sense to get in the latest OAV improvements?

@nschonni  please, bump package.json version as well.

@sergey-shandar that's what this PR is doing, or do you mean to the latest sub-patch version?

@nschonni I mean, a version of @azure/rest-api-specs-scripts.

Thanks, I bumped it to 0.4.2. If you prefer it as a 0.5, let me know


Add a flag to disable extensions at startup.

Title:
Add a flag to disable extensions at startup.
Description:
Many (all?) extensions can be removed from Envoy, but typical Docker images distributed by the Envoy project and getenvoy.io target a wide audience and can't be aggressive in removing extensions.
My proposal is to add a command-line flag --disable-extensions=NAME[,NAME...] to envoy so that the named extensions can be disabled (by nulling the pointer in the relevant factory registry) early in startup, before any configuration is parsed.
If the named extension isn't present in the envoy build, the startup check will log at warning level (i.e. it is not a fatal error).

Could you expand on the use case a bit? I am not sure I see what disabling at runtime buys the user, other than maybe preventing higher level users to not configure "not approved"/disabled extensions.

I think there are a variety of reasons why you might not want to expose all extension all the time.

If you are not ready to support an extension, then you might disable it, and only enable it (via configuration management tooling) when you are ready to support it.

If you are testing, you might want to verify how your application works with envoy if a specific extension is not present (e.g. if another party brings the envoy and might compile a set of custom extensions).

If there are security or operational issues with an extension, this provides a lightweight way to disable an extension without needing to build and deploy a whole new version.

Many envoy users don't build their own envoy, so distributors of envoy images need to include every extension. Consumers of these images don't have any practical way to disable extensions (e.g. you can either consume the official envoy docker image or trim the set of extensions, but not both).

Thanks, I was mostly thinking about 3/4.

In general I'm +1 to this feature, though it should come with some type of warning as there is nothing to prevent an extension from inject code into the binary via static linkage (though obviously it would be highly discouraged in code review other than for registration).

I have most of a patch for this, can you please assign to me?

Fixed by https://github.com/envoyproxy/envoy/pull/9125

I have a somewhat related question. Is there any way to know what extensions an existing compiled Envoy binary includes? A cli option? An API endpoint?

@antweiss if you run the binary from a command line with no options it flags it will report what extensions are in the binary

Great! Thanks a lot?


Some downloads don't work when Intra is active

Downloads that are implemented using DownloadManager and JobScheduler often don't work through Intra.  This appears to be because Intra's VPN, with its narrow routing, is not marked by Android as having the INTERNET capability.  (The Android source code indicates that a VPN must include 85% of the routing space to qualify for this mark.)  When the default network doesn't have the INTERNET capability mark, DownloadManager hangs (waiting for internet access).
It's not yet clear how we can mitigate this problem in Intra.

It seems like this problem only affects Android 7.0 - 8.1, and is related to the VPN being marked as not having the "INTERNET" attribute, because it only routes a small amount of the address space.


Strange $0$1 in generated query

I use storeness:meteor-postgres  0.2.1 in Meteor. The query I execute is constructed as follows:
return contacts.select().where("id != ? and status != ?", 1, 'deleted').order('firstname DESC').fetch();
this results in:
result = alasql(input, this.dataArray);
with input "'SELECT * FROM contact  WHERE id <> ? and status <> ? ORDER BY firstname ASC'", and the array having values 1 and 'deleted'.
this somehow results in the postgresql query:
SELECT * FROM contact  WHERE $0$1id != '1' and status != 'deleted' ORDER BY firstname DESC;
which obviously get rejected. For some reason I cannot de-minify the source in chrome or firefox, so cannot trace it.
btw leaving out the question marks makes no difference. how can i troubleshoot this further?

I'm sorry.  This is not an alasql problem of course.

Hope you found the solution.


Added service generator for plop, code and unit test examples

Change log:

Refactor plop templates folders and config to be more flexible.
Added sinon to npm dependencies (spy, mock and stub library).
Service Generator:

Added Service Template with $http calls and test.
Added Services folder and module declaration to group common services.
Added Service code example.
Added Component using a the Service which uses $http code example.
Added Unit Test, mocks and stubs examples for handling service injection and $httpbackend.

Update 1

Added Filter generator with Unit Tests

Added Filter module and Filter example

Update 2

Added Factory Generator
Refactor plop configuration

Update 3

Added Directive Generator

TODO:

Update README.md file
Filters generator
Factory generator
Directive generator

Why wasn't this merged??

@cooervo I hope i will find some time before weekend to review and merge this PR.
@thematho looks good so far.


MC-Edit wont start on second opening

When I open MC-Edit for the first time, it works great! I close and shut down. Then I go back the next day, I find that it can't open splash2. I look every where in the Documents folder and main folder for a python, or setup file on it so it will focus on the newer splash, but their is non. The problem fixes if I re-download it. This problem appeared on MC-Edit versions <IP_ADDRESS> and <IP_ADDRESS>. I'm running Win 10 x64 on a Laptop. I've never had this problem on a Desktop.
If it helps, I'm running on 3 GB of RAM, Intel Core Duo, and Intel Mobile 4 Series Chipset Family that is rolled back to the Win 7 version for OpenGL problems so minecraft runs fine.

Oh, also Win 10.

splash2 (in fact splash2.png) is referenced in the file splash. You can find it in the folder where MCEdit is installed.
To solve your issue, just open splash with notepad and delete the whole content, and save.
This issue is already fixed for the next release.

How do you open the folder with notepad?

There's a splashes folder containing images, but it does not matter for this bug.
splash is a text file and is alongside mcedit.exe.

Thx


brim: add version 0.21.1

this PR contains all fixes from https://github.com/lukesampson/scoop-extras/pull/5253
@Ash258 could you approve it?

For what reason you decided that you need to open new PR with invalid manifest??

For what reason you decided that you need to open new PR with invalid manifest??


Add explanations about how to generate tests in DAP

@st0012
Feel free to tell me if this explanation is not enough.

@ono-max thanks for the instructions! I have a question though: how do I know what steps were taken from the original tests?
the written tests are low-level requests/responses and it's hard to reverse-engineer the original actions. for example, how do I know if the scope request here was done by the client automatically (for UI), or it's triggered by clicking something?

for example, how do I know if the scope request here was done by the client automatically (for UI), or it's triggered by clicking something?

Well, if I want to know them, I run the command like $RUBY_DEBUG_DAP_SHOW_PROTOCOL=1 rdbg target.rb, then protocol messages will be outputted in the terminal. So, I compare the results of the tests with them, and I know them.

I mean the test case itself doesn't tell me what actions were performed originally. I can try recording it several times and select the most similar result. But that's not efficient because any mis-click or forgotten step means a restart.
I think we should have unit tests for individual commands. And they can be written with test helpers:
perform_dap_request "threads"
assert_dap_response {
  threads: [
    {
      id: 1,
      name: /#1 .*/
    }
  ]
}

perform_dap_request "stackTrace", {
  threadId: 1,
  startFrame: 0,
  levels: 20
}
assert_dap_response {
  stackFrames: [
    {
      name: "<main>",
      line: 1,
      column: 1,
      source: {
        name: /#{File.basename temp_file_path}/,
        path: /#{temp_file_path}/,
        sourceReference: nil
      },
      id: 1
    }
  ]
}

It'll be easy to add/update them, just like all the tests under test/debug/.
And the recording are for integration tests, probably something like
Script
class Foo
  def first_call
    second_call(20)
  end

  def second_call(num)
    third_call_with_block do |ten|
      forth_call(num, ten)
    end
  end

  def third_call_with_block(&block)
    @ivar1 = 10; @ivar2 = 20

    yield(10)
  end

  def forth_call(num1, num2)
    num1 + num2
  end
end

VSCode Actions
set breakpoints in line 20
continue
show backtrace
shoe info
quit

I think we should have unit tests for individual commands. And they can be written with test helpers:

You mean, we should prepare helper methods like dap_request(), or assert_dap_response()?
If it's your opinion, I have the following question.

How can we know if  threads: [ ... is the response of threads?

perform_dap_request "threads"
assert_dap_response {
  threads: [
    {
      id: 1,
      name: /#1 .*/
    }
  ]
}

First, I'd like to know your opinion in details.
Your opinion is

We should have unit tests.
We should use method instead of hash.

Is that correct?

For individual commands, we should use unit tests. Having threads request and response in break tests isn't necessary and it increases maintenance effort. For example, if we change the response of scopes command, all of these tests will be affected:

test/dap/next_test.rb
111:            command: "scopes",
120:            command: "scopes",
125:              scopes: [
550:            command: "scopes",
559:            command: "scopes",
564:              scopes: [

test/dap/break_test.rb
111:            command: "scopes",
120:            command: "scopes",
125:              scopes: [
400:            command: "scopes",
409:            command: "scopes",
414:              scopes: [
579:            command: "scopes",
588:            command: "scopes",
593:              scopes: [
739:            command: "scopes",
748:            command: "scopes",
753:              scopes: [

test/dap/boot_config_test.rb
185:            command: "scopes",
194:            command: "scopes",
199:              scopes: [

test/dap/detach_test.rb
114:            command: "scopes",
123:            command: "scopes",
128:              scopes: [
549:            command: "scopes",
558:            command: "scopes",
563:              scopes: [

test/dap/step_test.rb
111:            command: "scopes",
120:            command: "scopes",
125:              scopes: [
689:            command: "scopes",
698:            command: "scopes",
703:              scopes: [
826:            command: "scopes",
835:            command: "scopes",
840:              scopes: [

test/dap/finish_test.rb
111:            command: "scopes",
120:            command: "scopes",
125:              scopes: [
318:            command: "scopes",
327:            command: "scopes",
332:              scopes: [
484:            command: "scopes",
493:            command: "scopes",
498:              scopes: [

test/dap/step_back_test.rb
113:            command: "scopes",
122:            command: "scopes",
127:              scopes: [
404:            command: "scopes",
413:            command: "scopes",
418:              scopes: [
559:            command: "scopes",
568:            command: "scopes",
573:              scopes: [
725:            command: "scopes",
734:            command: "scopes",
739:              scopes: [
865:            command: "scopes",
874:            command: "scopes",
879:              scopes: [

test/dap/hover_test.rb
107:            command: "scopes",
116:            command: "scopes",
121:              scopes: [
332:            command: "scopes",
341:            command: "scopes",
346:              scopes: [
971:            command: "scopes",
980:            command: "scopes",
985:              scopes: [
1164:            command: "scopes",
1173:            command: "scopes",
1178:              scopes: [

And because the recording approach almost always generate certain commands, like scopes or threads, I don't think it's suitable for unit testing. Therefore, I hope we can have dap_request and assert_dap_response for those unit tests.

For integration testing, the recording approach is a great option. But currently it's hard to understand what operations were done in a test case (e.g. is the threads request made from the VSCode automatically, or it's generated by a user action).
I know we can figure it out by performing a similar operation with RUBY_DEBUG_DAP_SHOW_PROTOCOL. But it's not user-friendly and requires much manual work.
Since it's unlikely that we can record what the user does on an UI level (e.g. expanded a local variable). So I'd hope there is a standard to let test-author writing down what actions he/she performed to generate the test.

I think in the long-term, protocol-level testing (the current request/response tests) should mainly be used for unit testing. And integration testing should use something like vscode-extension-tester (here's an article for it) that performs real end-to-end testing from the VSCode. It'll be similar to how many developers tests frontend with selenium.
However, an obvious downside of this is the need to write javascript 😂

Thank you for explaining to me.
Let me rethink about it.

@st0012

protocol-level testing (the current request/response tests) should mainly be used for unit testing

Because we have already wrote some tests? From 1 and 2, I thought you want to change from protocol-level testing to using some methods such as dap_request and assert_dap_response.

Because we have already wrote some tests?

I'd be happy to rewrite them into simpler ones, like for stepping tests we only test related endpoints and wihout threads or scopes ones.

I thought you want to change from protocol-level testing to using some methods such as dap_request and assert_dap_response.

that'll be an improvement for sure and perhaps we can start from there. but I think the clear separation for unit/integration testing is more important.
for example, break_test.rb shouldn't contain dap_request("scopes") as it's irrelevant to the endpoint we want to test. and the recording approach can't clearly exclude those requests, so I think we shouldn't use it in command-specific tests like break_test.rb.

please continue the discussion on another ticket about the test data format.

or you can continue here.

Ahh, I got your points. I'll rethink it.

@ono-max if you think it's ok to convert most of the command-specific tests into unit-tests, we can do that as follows:

Open a PR to add dap_request and assert_dap_response helpers.
Start rewriting simpler tests like detach_test or hover_test.

By rewriting I mean using the new helpers + don't include unrelated request/response.

I think the current step_test and step_back_test are complicated enough to be used as integration tests.
Convert the rest of the tests into unit-tests.

I create a prototype to think about it. Could you give me some more time? Thanks.


Relax prevents Feed Me from enqueuing jobs [BUG]

With Relax enabled it's impossible to use the Craft Feed Me plugin.
Relax prevents Feed Me from enqueueing import jobs.
This happens when:

Clicking Run Feed in the control panel
Running console commands like craft feed-me/feeds/queue X

Disabling Relax causes the missing FeedMe jobs to be enqueued immediately.
There are no errors in web.log when this issue occurs.
In a dev environment, it is still possible to run a feed successfully in debug mode. But Relax and Feed Me are incompatible in production.

Thanks

Still having this issue - any idea if it's possible to fix, so we can take advantage of the benefits of Relax?
I forgot to mention what version we were on before.
We're currently using:

Craft <IP_ADDRESS>
Relax 1.0.1
FeedMe 4.5.4

Do you know if this is also an issue in Craft 4 using Relax 2.0.1?

Oh, I forgot about this.
Next week I'll find time to investigate it.

I this still an issue? Just now testing Relax, and we use Feedme.


LaggedStart animation bugs when using it on Line instance

Description of bug / unexpected behavior

I wanted to animate MathTex and Line class instances together using LaggedStart animation.
I set the line's z-index value (using optional parameter in constructor) to -1 so it will appear under the text (which has no z-index value set).
When I render this, text animation is fine, unlike line's. It appears that line animation does not work, until LaggedStart finishes it's duty - then line transforms to the state in which it should be after successful animation.
Expected behavior

LaggedStart animation playing text's and line's animation together with lag ratio of 1/2. Finally line appearing under the text.
How to reproduce the issue

Code for reproducing the problem
from manim import *
class MainScene(Scene):
    def construct(self):
        self.wait()
        text = MathTex("amogus", font_size=30)
        line = Line([-2, 0, 0], [2, 0, 0], color=RED_D, z_index=-1)
        self.play(LaggedStart( FadeIn(text), FadeIn(line), lag_ratio=1/2 ))
        self.wait()

Additional media files

Images/GIFs

https://github.com/user-attachments/assets/10681400-7372-4a32-aa92-8bf94e9092de

Logs
Terminal output

Manim Community v0.18.1

[08/25/24 10:23:33] DEBUG    Animation with empty mobject                                                                                animation.py:175
                    DEBUG    Hashing ...                                                                                hashing.py:352
                    DEBUG    Hashing done in 0.004607 s.                                                                                hashing.py:364
                    DEBUG    Hash generated :<PHONE_NUMBER>_123554531_631829896                                                                                hashing.py:367
                    INFO     Animation 0 : Using cached data (hash :<PHONE_NUMBER>_123554531_631829896)                                                                     cairo_renderer.py:88
                    DEBUG    List of the first few animation hashes of the scene: ['1264212857_123554531_631829896']                                                     cairo_renderer.py:97
                    DEBUG    Hashing ...                                                                                hashing.py:352
                    DEBUG    Hashing done in 0.024146 s.                                                                                hashing.py:364
                    DEBUG    Hash generated :<PHONE_NUMBER>_2813359024_4227516557                                                                                hashing.py:367
                    INFO     Animation 1 : Using cached data (hash :<PHONE_NUMBER>_2813359024_4227516557)                                                                   cairo_renderer.py:88
                    DEBUG    List of the first few animation hashes of the scene: ['1264212857_123554531_631829896', '1264212857_2813359024_4227516557']                 cairo_renderer.py:97
[08/25/24 10:23:34] DEBUG    Animation with empty mobject                                                                                animation.py:175
                    DEBUG    Hashing ...                                                                                hashing.py:352
                    DEBUG    Hashing done in 0.024582 s.                                                                                hashing.py:364
                    DEBUG    Hash generated :<PHONE_NUMBER>_1733944848_154931140                                                                                hashing.py:367
                    INFO     Animation 2 : Using cached data (hash :<PHONE_NUMBER>_1733944848_154931140)                                                                    cairo_renderer.py:88
                    DEBUG    List of the first few animation hashes of the scene: ['1264212857_123554531_631829896', '1264212857_2813359024_4227516557',                 cairo_renderer.py:97
                             '2725161996_1733944848_154931140']
                    INFO     Combining to Movie file.                                                                                scene_file_writer.py:617
                    DEBUG    Partial movie files to combine (3 files): ['/home/bartek/Projects/To Ten                                                                scene_file_writer.py:561
                             Bartek/filmy/kąt-środkowy-i-wpisany/media/videos/program_2/1080p15/partial_movie_files/MainScene/1264212857_123554531_631829896.mp4',
                             '/home/bartek/Projects/To Ten
                             Bartek/filmy/kąt-środkowy-i-wpisany/media/videos/program_2/1080p15/partial_movie_files/MainScene/1264212857_2813359024_4227516557.mp4',
                             '/home/bartek/Projects/To Ten
                             Bartek/filmy/kąt-środkowy-i-wpisany/media/videos/program_2/1080p15/partial_movie_files/MainScene/2725161996_1733944848_154931140.mp4']
                    INFO                                                                                scene_file_writer.py:737
                             File ready at '/home/bartek/Projects/To Ten Bartek/filmy/kąt-środkowy-i-wpisany/media/videos/program_2/1080p15/MainScene.mp4'

                    INFO     Rendered MainScene                                                                                scene.py:247
                             Played 3 animations
[08/25/24 10:23:35] INFO     Previewed File at: '/home/bartek/Projects/To Ten Bartek/filmy/kąt-środkowy-i-wpisany/media/videos/program_2/1080p15/MainScene.mp4'

System specifications
System Details

OS (with version, e.g., Windows 10 v2004 or macOS 10.15 (Catalina)): Linux Mint 21.3 (Cinnamon)
RAM: 16GB
Python version (python/py/python3 --version): 3.10.12
Installed modules (provide output from pip list):

Package           Version
----------------- -----------
click             8.1.7
cloup             3.0.5
decorator         5.1.1
glcontext         2.5.0
isosurfaces       0.1.2
manim             0.18.1
ManimPango        0.5.0
mapbox_earcut     1.0.2
markdown-it-py    3.0.0
mdurl             0.1.2
moderngl          5.10.0
moderngl-window   2.4.6
multipledispatch  1.0.0
networkx          3.3
numpy             1.26.4
pillow            10.4.0
pip               22.0.2
pycairo           1.26.1
pydub             0.25.1
pyglet            2.0.17
Pygments          2.18.0
pyrr              0.10.3
rich              13.7.1
scipy             1.14.0
screeninfo        0.8.1
setuptools        59.6.0
skia-pathops      0.8.0.post1
srt               3.5.3
svgelements       1.9.6
tqdm              4.66.5
typing_extensions 4.12.2
watchdog          4.0.1

LaTeX details

LaTeX distribution (e.g. TeX Live 2020): TeX Live 2022/dev/Debian
Installed LaTeX packages:

https://pastebin.ai/tuqw9trapp

Additional comments

I think checking out what does setting various z-indices for both mobjects actually result in, maybe we can learn something from the output behavior.

not a fix, but a work-around:
class MainScene(Scene):
    def construct(self):
        self.wait()
        text = MathTex("amogus", font_size=30)
        line = Line([-2, 0, 0], [2, 0, 0], color=RED_D, z_index=-1).set_opacity(0)
        self.add(line)
        self.play(LaggedStart( FadeIn(text), line.animate.set_opacity(1), lag_ratio=1/2 ))
        self.wait()

@uwezi Actually FadeIn animation was an example. Your solution works for that specific animation, but there are still plenty of them that are affected by this bug. I mean there is even simpler way of avoiding this bug - just use positive z-indices and everything works fine. But I will keep this issue opened, because z-index is supposedly an integer which can be non-positive.

If you already have isolated the z-index as the culprit, then perhaps the title of your posting here is a bit misleading...

Yeah you're right

Just ran into this and was scratching my head for a while. Bumping this issue. Definitely seems like a bug.


Example usability improvements

This pull request adds the ability to cloak api keys and makes relative urls of additional resources work for copy/paste and in JSFiddle.

LGTM @ahocevar please merge if Travis agrees

Some of the changes are also in your vector tiles PR, right, Andreas?

@marcjansen Right, I'm going to rebase that one afterwards - should simplify the review.

:+1:


Python crashes

I was using Macbook pro with M2 chip and got the following error and python also crashed:

I was using the following settings:

Can anyone help?

same as #4

same


Add Delay to Resync

In 2.3.5 RC1, when the resync button is clicked in the wallet, it returns so fast the user may not realize anything has happened. Add a delay so it's clear clicking it worked.

This is being causes by a bug, #1807


[K000360] Sen. Mark Kirk

Sen. Mark Kirk:
http://www.kirk.senate.gov
Likely contact form URL to start with:
http://www.kirk.senate.gov/?p=contact

YAML file lost. I am working on it.


Everytime I try to open Beeftext I get the error message "The procedure entry point CreateDXGIFactory2 could not be located in the dynamic link library dxgi.dll.  This issue first appeared in version 8.1 and remains in version 12.0.  I have uninstalled and re-installed several times with no change.    I was using Beeftext successfully up to this point. Window 7.

Expected behavior
Actual behavior
Steps to reproduce the behavior
Beeftext version (e.g. Beeftext v7.0 Portable Edition).
Operating system version (e.g Windows 10)

Hello.
There is probably a component missing somewhere in Windows, I used to test Beeftext in a VM with a fully patched version of 7 and never had this problem.
Please note that since v12, Beeftext is not supported on 7. See the announcement. I learned it to late to put an announcement in the application itself.


Stop Default Import within an Import Hook

I was wondering if there was a way to stop the default import process from occurring after our hook for before_import_save() was ran?
Due to the nature of how we are receiving our CSV files and how we are associating Questions to Answers (and vice versa), we had to plop some logic in to the before_import_save method and basically save them as it imports - in one specific case. We are using the default elsewhere for other items but this one was giving us fits.
Example:
def before_import_save(record)
    # create question first, then assign answers to it
	question = Question.create!(content: record[:question].strip, instructions: record[:lesson].strip)
	#question.id will be used on answers being saved from now on

    # if content_answers or is_correct_answers
	correct_answer = record[:answer_letter].strip.to_s

	#create answer - 4 times..unfortunately not really sure how this could be looped any better.
    answer_a = Answer.create!(content: record[:a].strip, is_correct: check_correct_answer("A",correct_answer), is_enabled: true, question_id: question.id, position: 1)
	answer_b = Answer.create!(content: record[:b].strip, is_correct: check_correct_answer("B",correct_answer), is_enabled: true, question_id: question.id, position: 2)
	answer_c = Answer.create!(content: record[:c].strip, is_correct: check_correct_answer("C",correct_answer), is_enabled: true, question_id: question.id, position: 3)
	answer_d = Answer.create!(content: record[:d].strip, is_correct: check_correct_answer("D",correct_answer), is_enabled: true, question_id: question.id, position: 4)
  end

This is by no means the final logic but, the gist of what's happening behind the scenes saving the answers AFTER a Question is saved. Once this runs, then the default import process tries to run and obviously throws errors that certain fields cannot be blank from this particular model.

It's hard to say, but could you build answer objects without saving them, add them to the answers collection in the question and let rails do the rest?

I'm not sure if this would solve your case, but you can now throw :skip from any hook to skip importing this record and continue


Deploy v4.1.0 of gsitemap

No new features has been introduces, only bug fixes. Don't you think the version should be 4.0.1 instead?

Some feature have been improved, and the number of modified files makes a new minor version more logical.

@Quetzacoalt91 I do understand now. Thank you :)

Do not merge today, as we do not want the new version to be deployed during the week end.


Train Rasa to detect intents for national holidays Common Service

[!NOTE]
This is a sub-task of #59

AS AN End Client
I WANT TO ask Bürokratt about national holidays
SO THAT I could use this information for whatever reason
Acceptance Criteria

[x] All use cases of #59 and its sub-issues are covered
[x] Rasa detects applicable intents

Samples generation

[x] Use Chat GPT to generate samples
[ ] Provide Chat GPT prompts to generate example question to train Rasa

OTher

[ ] Sample requests initially published in feature branch
[ ] Reviewed and confirmed samples published in dev branch

PR: https://github.com/buerokratt/Training-Module/pull/671
this was included as part of a larger PR.

Service is working as intended.
Inputs:
All public holidays: "Millal on selle aasta riigipühad?"
Upcoming public holidays: "Mis on järgmised tähtsad riigipühad sel aastal?"
Previous public holidays: "Millal toimusid eelmised riigipühad?"
The last public holiday: Mis oli viimane riigipüha?"
The next public holiday: Mis on järgmine riigipüha?"
Public holiday today: "Kas täna on riigipüha?"
By public holiday name: "Mis kuupäeval on jaanipäev?"
By public holiday month: "Mis riigipühad on veebruaris?"


add robot tests for fetching with doi

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


WARNING: API 'variantOutput.getProcessResources()

WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'

Dupe of #1431


Array indexing using signed bytes

Describe the bug
java.lang.ArrayIndexOutOfBoundsException: Index -88 out of bounds for length 227
	at ghidra.app.util.opinion.NeLoader.processEntryTable(NeLoader.java:542)

The actual line of code is:
				if (bundle.isMoveable()) {
					seg = st.getSegments()[pt.getSegment() - 1].getSegmentID();
				}

getSegment returns a byte.
Java bytes are signed (-128 to 127).  In context, it probably should have interpreted the value as a uint8_t (8-bit unsigned integer), using segment 168 rather than -88.   168 would have been within bounds.
More generally, it is possible that other parts of the code also index using a signed byte type rather than unsigned.

It seems like public byte getSegment() can be simply altered to:
    public int getSegment() {
        if (!etb.isMoveable()) {
            throw new RuntimeException("Entry point is not moveable!");
        }
        return segment & 0xff;
    }

with no detriment.

I don't think the fix in https://github.com/NationalSecurityAgency/ghidra/commit/62f476b674a05fd251af2943d24256dc8c90f1ce will solve the situation where the file uses more the 127 segments!

You'll also need to fix the line NeLoader:560 and repace;
		seg = st.getSegments()[bundle.getType()) - 1].getSegmentID();

with something like:
		int bundleIndex = Byte.toUnsignedInt(bundle.getType()) - 1;
		seg = st.getSegments()[bundleIndex].getSegmentID();

With this latest fixup, does your binary load successfully?


Showcase colors in docs

All brand colors present in variables.less should be showcased in the docs.

Inspiration: http://getbootstrap.com/css/#less-variables


Change --game to --game_string

It seems the --game flag is deprecated in favor of --game_string. This updates the Installation documentation.

Related: https://github.com/google-deepmind/open_spiel/pull/1161.

Just signed CLA. Is there a way to re-run the check? Thanks.

Thank you!


chore(deps): update the opentofu providers using the opentofu registry

https://github.com/opentofu/registry
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#git

PAT: Repository access: Public Repositories (read-only)

was hoping @dependabot would've verified changes in this pr. lets instead check back next month-

oh oops. i instead missed the registries as required with updates. praises to @dependabot once more. the check works 🙏

https://github.com/zimeg/endpoints/pull/5/checks?check_run_id=31324622154

Your .github/dependabot.yml contained invalid details
Dependabot encountered the following error when parsing your .github/dependabot.yml:
Git registries must specify a source in a format like https://github.com or https://gitlab.com. Please don't include a path.
Please update the config file to conform with Dependabot's specification.

i find this so interesting. how might @dependabot know which repo to use? i'll leave this as an open question.
the pat used isn't tied to a specific repo. just "public repositories". idk if that includes opentofu/registry 🤔


UNDERTOW-1529 - Don't let StatusCodes#getReason() throw an ArrayIndexOutOfBoundsException

The commit here fixes an issue reported in https://issues.jboss.org/browse/UNDERTOW-1529.
This also includes a testcase to reproduce the issue and verify the fix.

Retest this please


Automated Package Upgrade

:tada: This PR is included in version 7.7.288 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added asset

Added the image of my MSPaint challenge from Local Hack Day

Do you want to link to the image and display it?

Do you want to link to the image and display it?

@adityaraute I can merge as it is, but a link might make it more discoverable

@adityaraute I can merge as it is, but a link might make it more discoverable

How? I am not sure where to put the image for the link? Should I have the image in the folder, and then link in the Readme?

How? I am not sure where to put the image for the link? Should I have the image in the folder, and then link in the Readme?

@kcoder63 put a README in the assets folder to show the previews of the images, then in main README under Karuna's section put a link to the folder, this seems to work well

https://github.com/EddieJaoudeCommunity/Hackathons#karuna-tata
https://github.com/EddieJaoudeCommunity/Hackathons/tree/main/2021/01/localhackday/kcoder63

@kcoder63 put a README in the assets folder to show the previews of the images, then in main README under Karuna's section put a link to the folder, this seems to work well

https://github.com/EddieJaoudeCommunity/Hackathons#karuna-tata
https://github.com/EddieJaoudeCommunity/Hackathons/tree/main/2021/01/localhackday/kcoder63

Okay will definitely do this.

Okay will definitely do this.

Sorry for multiple commits. Did the needful.

No problem, I can squash them 🤓


Termux

how can this tool run on Termux?

You can do that

If your device is rooted, you can use following command: pm install IsTheApp.apk
if you don't have it rooted you can use adb : adb install IsTheApp.apk


configuration file for CLIP-Res50x4

Hi, two small questions,

I see that there is a configuration file for CLIP-Res50, but not for CLIP-Res50x4 (CLIP-ViL/CLIP-ViL-Direct/vqa/configs/).
Can you upload the file?

In addition, for how many epochs you fine tuned CLIP-Res50x4/pythia/vqa2 ?
It's not mentioned in the paper.

Thanks for your help.

Hi there, sorry for the late reply. I just update the config here. We use the default config for pythia finetuning, which is 22000 number of steps.


Feature request: Allow submission of toots/replies with Ctrl+Enter

As it says on the tin. Mastodon's main web client allows me to send a toot by pressing Ctrl+Enter while in the compose textbox, so why not Phanpy?
(This project is great so far btw, keep up the good work! :D)

Should be working now.


Correction for raw affiliation Department of Applied Research, Aeres University of Applied Sciences, P.O. Box 374, 9250 AJ Dronten, The Netherlands

Correction needed for raw affiliation Department of Applied Research, Aeres University of Applied Sciences, P.O. Box 374, 9250 AJ Dronten, The Netherlands
raw_affiliation_name: Department of Applied Research, Aeres University of Applied Sciences, P.O. Box 374, 9250 AJ Dronten, The Netherlands
new_rors: 03jnx2c74
previous_rors: 015d5s513
works_examples: W2994646252
contact: 9d25d4b38b74681ddecfefa1428e0842:889cc2925aaaae2d @ aeres.nl

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Preview of the verification request

Scope of the changes:

the last step in the wizard (PREVIEW step) renders all cleaned data from the previous steps.
new template for the PREVIEW step

Out of scope for now (will be delivered in the upcoming PRs):

printing of the summary to a file
"Edit" buttons for each section with hyperlinks to the corresponding wizard step

Implementation details:

new PreviewForm that has no fields or logic and only serves as a placeholder in order to render an additional template at the end of the wizard steps,
cleaned data from all previous steps is injected to the template context as unbound forms,
the preview template renders each form in a separate section on the page.

I added comments in the code to describe all the weird bits of this implementation and I hope this will make it easier to extend in the future if need be.

 Show preview of the verification request before submitting it

@mrchrisadams based on our discussion, I changed the template logic to display only selected services (https://github.com/thegreenwebfoundation/admin-portal/commit/6c226a19f3cf889218456bf658ac75806c03b97a) and added some basic developer docs for the verification request form (https://github.com/thegreenwebfoundation/admin-portal/pull/385/commits/61096ab5f94ab6111e496e0fa8c9bfc55db29330). Please feel free to merge this PR if you're happy with the changes

Hi @tortila - thank you for the extra bits, I'm happy to merge this in now.
Have a nice break!


Thows Command not found exception while command calling from Controller

Laravel Version: 5.7
PHP Version:7.1

Description:
I have created custom commad, While calling from Command Promt it execute Successfully, But while Calling from Controller It throws Command not Found Exception.
My code as below
$exitCode = Artisan::call('mentor:deletecachetables', [
       '--outlet' =>1
 ]);

When I debug it, I found that in Console\Application.php below code returns false.
if (is_subclass_of($command, SymfonyCommand::class)) {
       $command = $this->laravel->make($command)->getName();
}

You probably need to change
Artisan::call(
to
\Artisan::call(

Not Working
Also I have already include
use Illuminate\Support\Facades\Artisan;

Are you only loading your custom command if you are in the CLI perhaps.

I solved this issue, by using class name in as first argument as
$exitCode = Artisan::call(deletecachetables::class, [        '--outlet' =>1  ]);


getticktime tps seems to actually be mspt

hi i noticed the getticktime in this seems to actually get the time it took for a tick to complete rather than the tps, i noticed this because it was skipping backups because of low tps even though the tps was 20, but the mspt (or time per tick in ms) was about 5
https://github.com/ElectroluxV2/git-backup-fabric-mod/blob/b1b335107ebaa2dc6ce7de58a9fd5b3c3ad7874f/src/main/java/com/github/electroluxv2/utils/BackupScriptParameters.java#L16
i fixed it really simply by just changing this line from < 10 to > 50 (it would skip backups if tps is under 20, since tps 20 is the same as 50, mspt
https://github.com/ElectroluxV2/git-backup-fabric-mod/blob/b1b335107ebaa2dc6ce7de58a9fd5b3c3ad7874f/src/main/resources/backup-scripts/on-save.sh#L14
to get the intended functionality (skipping under 10tps, you would have to check if it's not over 100mspt)
sorry i didn't create a pull request, i don't have access to git on my windows machine i hope this helps

Thanks, will fix this soon.

Resolved in 1.2.0


[StackView] handle scale and origin

Scale and origin parameters passed to setStack are currently lost when users change the perspective. We need to either handle them properly, or prevent users from changing the perspective when these arguments are not the  default ones.
Related to #567

I would rename the method as setImageStack to keep the functionality and to clearly state that origin and scale are to be used as for images.

silx meeting: A more generic calibration will be needed. It is preferable to drop origin and scale in this release and forget about modifying names.


Vue test utils don't work with script setup sugar - property 'subTree' of undefined

Describe the bug
When using the <script setup> syntax sugar the Vue test utils throws an error. This is not a problem if using the regular syntax. Using Test Utils 2.0.0
Reproduction
Reproduction link:
https://github.com/martinszeltins/Vue-test-utils-vite-setup-error
Given that we have a Button component using

Maybe you should open this issue in https://github.com/vuejs/vue-test-utils/issues

Maybe you should open this issue in https://github.com/vuejs/vue-test-utils/issues

Ah, yes you're probably right. I will do that.

A fix has been released for this

vue-jest: https://github.com/vuejs/vue-jest/releases/tag/v5.0.0-alpha.7
test-utils: https://github.com/vuejs/vue-test-utils-next/releases/tag/v2.0.0-beta.12


Deprecated CommandResults.indicators and added CommandResults.indicator

Status
Ready
Description
Updated descriptions to match new CommandResults.indicator changes, and emphasized return_results support for list of CommandResults.

@kirbles19 can you please review docs/integrations/code-conventions.md?

@DeanArbel Looks good


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2022-03-17T15:51:03+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-istiodremote_istio
153e8604330d1fb1a453ef502623650807e88d53
link
true
/test integ-telemetry-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Compatibility with Jupyterlab 0.35

Hi! Nice theme, the extension does not work with latest jupyterlab
ValueError: This extension does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension        Package
>=0.19.1 <0.20.0        >=0.18.2 <0.19.0 @jupyterlab/application
>=0.19.1 <0.20.0        >=0.18.2 <0.19.0 @jupyterlab/apputils

Thanks for reporting. Version 0.3.10 should fix this. Let me know if you're still having problems.