Removed outOfStateClia logic for CA and updated integration tests

This PR removes "Out Of State CLIA" logic for CA, since they no longer need to identify results coming from out of state.
If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.
Test Steps:

Run integration tests

The integration tests for messages coming out of state for CA. They have been updated to account for the new logic.

Changes

Removed out of state CLIA logic for CA
Updated integration tests

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[x] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

#11525

@jalbinson CA.yml is no longer needed. There was a separate ticket to clean that up https://app.zenhub.com/workspaces/platform-6182b02547c1130010f459db/issues/gh/cdcgov/prime-reportstream/11468.
I should've linked in the PR.


Dynamic imports of ".ts" files occurring in node_modules package fail with "TypeError: Unknown file extension ".ts"" in an ESM project

Describe the bug
Dynamically importing files with the ".ts" extension from a package dependency throws ERR_UNKNOWN_FILE_EXTENSION when starting a service through a Vitest setup file. Note that both the service and the package dependency are ESM.
To demonstrate, I have a dependency that exports the following importFile utility:
import { parse } from 'path'

export const importFile = async (filePath: string) => {
  const fileName = parse(filePath).name
  const exports = await import(filePath)
  return {
    [fileName]: exports,
  }
}

And I have a service that calls the importFile function:
import { importFile } from 'fake-dep';
import { dirname, parse, resolve } from 'path';
import { fileURLToPath } from 'url';

const fileName = fileURLToPath(import.meta.url);
const dirName = dirname(fileName);
const dir = resolve(dirName, './dir/');

importFile(`${dir}/some-file.ts`); // Throws ERR_UNKNOWN_FILE_EXTENSION with .ts extension

importFile(`${dir}/some-file.js`); // Throws ERR_MODULE_NOT_FOUND with .js extension

Running the service (with ts-node) works as expected and neither of these errors are thrown. But they are when running the Vitest suite.
But when exactly the same function exists directly in the service rather than in a dependency, it works as expected running with ts-node or through Vitest:
import { importFile as depImportFile } from 'fake-dep';
import { dirname, parse, resolve } from 'path';
import { fileURLToPath } from 'url';

const fileName = fileURLToPath(import.meta.url);
const dirName = dirname(fileName);
const dir = resolve(dirName, './dir/');

const localImportFile = async (filePath: string) => {
  const fileName = parse(filePath).name;
  const exports = await import(filePath);
  return {
    [fileName]: exports,
  };
};

// This works
localImportFile(`${dir}/some-file.ts`);

// This works too
localImportFile(`${dir}/some-file.js`);

// This doesn't work
depImportFile(`${dir}/some-file.ts`);

// Neither does this
depImportFile(`${dir}/some-file.js`);

Reproduction
https://stackblitz.com/edit/vitest-dynamic-import-in-node-modules-error?file=readme.md
System Info
System:
  OS: macOS 14.7.1
  CPU: (12) arm64 Apple M2 Pro
  Memory: 4.87 GB / 32.00 GB
  Shell: 5.9 - /bin/zsh
Binaries:
  Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
  Yarn: 1.22.22 - /opt/homebrew/bin/yarn
  npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
npmPackages:
  vitest: ^2.1.8 => 2.1.8

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Interesting repro. Two errors are probably due to difference causes.
The first one ERR_UNKNOWN_FILE_EXTENSION with .ts extension is about externalized (i.e. not transformed by Vite) fake-dep importing .ts file, which causes NodeJs to simply reject such import("xxx.ts"). This needs to be fixed by test.server.deps.inline: ["fake-dep"] since Vitest by default doesn't transform `node_modules.
Then 2nd one is probably about js -> ts resolution and it's being solved upstream by https://github.com/vitejs/vite/pull/18889. I tested with the pre-release and your repro works now https://stackblitz.com/edit/vitest-dynamic-import-in-node-modules-error-balcn66j?file=fake-service%2Fvitest.config.ts

I have similar problem, i try to test a webpack loader in integration with a webpack in the Vitest test. I have following configuration for webpack:
  return webpack({
 //...
    resolveLoader: {
      alias: {
        "@lingui/loader": path.resolve(__dirname, "../src/webpackLoader.ts"),
      },
    },
)

Somewhere inside of webpack loading of the "/src/webpackLoader.ts" happens, and similar error is thrown.
As far as i understand that is caused by similar reason, the call chain is vitest -> test -> webpack (node_modules) -> webpackLoader.ts which is not processed by Vitest.
I tried to add
test.server.deps.inline: ["webpack"] as well as test.server.deps.inline: ["loader-runner"] and test.server.deps.inline = true but nothing works, the loader from sourcecode is not processed by Vite.
Any ideas how to fix that? May be there is a way to manually instrument this import:
"@lingui/loader": path.resolve(__dirname, "../src/webpackLoader.ts"), so it will go thru the vitest server?

I probably got the reason. Most likely something inside a Webpack is importing a resolver using a require. Require is not hijacked by the Vite and Vitest, that's why nothing from what I've tried worked.


Bounty Claim button is missed after first claim

To Reproduce
Steps to reproduce the behavior:

Create Bounty proposal
Vote approve
Claim bounty

Expected behavior
Claim button should be present until all claims are filled
Screenshots

its by design, user cannot claim more than 1 bounty in time


Refine selections in search

Improve the selection in the search so that the note that is currently active is highlighted. In my opinion, this is a very convenient function that allows you to work with arrays of information that are selected through a search.

I agree that this would be great, unfortunately it is not possible because Obsidian does not have a CSS class for the active note in Search (same for Starred).
You will need to make this feature request from the Obsidian team via the Obsidian forum. I suspect this already exists as a feature request.

Good day! Thanks for the answer! The function is really useful I will write in Obsidian


Fix translations for zh-Hans

Serial在简体中文应当翻译为串行。请参考。

@changanmoon Please help me determine if this one is needed or if it is outdated and I should close it, thanks.

@changanmoon Please help me determine if this one is needed or if it is outdated and I should close it, thanks.

My PR that has been merged (#6742) includes this fix, so I think it's safe to close this PR now. :)


[Quest/Malawi Core] Reduce delay when pressing 'next' on a paginated questionnaire

Name of feature to enhance
Viewing a paginated questionnaire
Description of feature
On opening a paginated questionnaire, the user is able to move to the next page using the 'next' button
Describe the enhancement
When the questionnaire is first opened, there is a significant delay after tapping the 'next' button before the next page is shown.
See attached
https://user-images.githubusercontent.com/90775548/187177497-7fd88c1c-b075-43a5-846f-eed06c30fb9d.mp4

This sounds like an SDC component bug. Do you mind sharing

Questionnaire in use
What version of the SDC library are you currently using?
CC @Gental-Giant @KhumboLihonga

There is also a related ticket here https://github.com/google/android-fhir/issues/1100


Use globalThis instead of self

self works in the browser main thread and in workers. But it does not
work in NodeJS. :( globalThis was introduced as a variable that is
truly supported in all environments to represent the global context.
This makes our code more compatible with NodeJS.
I also renamed unrelated uses of self to zelf as to not overload the
aforementioned self. I added a comment in the places where we do this.

I am curious on why this came up only now? Supposedly we already use NodeJS for running jest tests where this works fine.

Yeah, this came up when I tried making a Jest test without jsdom, which is useful when trying to simulate a webworker environment for example. Of course in a webworker environment you would have self, but that is how I discovered that self doesn't work in a completely bare nodejs environment, and I figured it would be good to at least try to be compatible with that. I'm working on that jest test separately since it requires some more minor changes too.


TF-M: does not allow PSA Connect to proceed with IRQs locked

Describe the bug
If PSA Calls (psa_connect, psa_call, etc.) are invoked with interrupts locked in Mainline Cortex-M (that is setting BASEPRI register to a non-zero value), the PSA calls are not successful.
In particular, psa_connect calls are returning a zero (invalid) handle.
Also: the problem occurs If BASEPRI is set to a value less or equal to 32. For BASEPRI values larger than 32 the psa calls are running successfully.
This should not be a HW (core) problem, as TF-M boosts Secure priorities with AIRCR.PRIS setting at boot.
Impact
PSA calls can not execute with locked non-secure priorities.
This prevents us from calling directly sys_reboot() in non-secure builds, because this function does interrupt locking before calling reset. It might be that TF-M does not allow IRQ locking in PSA calls (unlikely, since this concerns non-secure world), but in that case this should be documented explicitly.
This is likely a TF-M  bug, but since it is a problem with the integration with Zephyr, this ticket is suppose to track the resolution of this issue (possibly in upstream TFM).

Note that this issue was not present in earlier versions of TF-M.


fix(diff): check base types

Check that an updated type still extends all of its previous base types,
so that objects of the updated type can still be assigned to variables
or passed into parameters of the declared supertype.
This check would have prevented a deployment failure during a big
refactoring of the CDK.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: b91121acd0e3bb6c825812c8a7c26e088c04ac8f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Cool. Now we just have to wait for @MrArnoldPalmer

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 9c95765e9001fd991104750c83ce42744a0474ed
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


[Bug] react-vchart render error after toggling direction

Version
1.9.3
Link to Minimal Reproduction
null
Steps to Reproduce
https://webide.bytedance.net/s/form.watch-oerwq6a4?file=/src/App.tsx
Current Behavior

Expected Behavior

Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

试了下，不是react-vchart 的bug，vchart updateSpec() 后，有问题


ibmi: Handle interface names longer than 10 chars

IBM i interface names are based off the associated line description.
Since line descriptions are objects, they have 10 character limit on
their names. However, since IBM i 7.2 interface names may be up to 16
characters long if the interface is for a a VLAN (eg. MYETHLINE1.4094).
To handle this, we must strip off a VLAN ID to get the actual line
description name, since that's what the QDCRLIND API wants. One issue
exists because line descriptions can contain periods and numbers; so
for interface names less than 10 characters long ETH2.4 could be a line
description name or it could be ETH2 with VLAN 4. We follow the
method that the XPF ioctls use: try the interface name directly first
and if an error occurs, try to strip off the VLAN ID.
https://www.ibm.com/docs/en/i/7.4?topic=ssw_ibm_i_74/apis/ioctl.htm#unotes

This fixes #3062

CI: https://ci.nodejs.org/job/libuv-test-commit/2143/


Port date library usage over to use luxon

As per adr010-luxon-date-library (discussed in #3401) we should convert existing usages of date libraries (e.g. momentjs, dayjs, etc.) over to use luxon.
Usages of moment.js

[x] plugins/auth-backend (#4386)
[x] plugins/catalog (#4389)
[x] plugins/circleci (#6022)
[ ] plugins/cloudbuild
[x] plugins/cost-insights (#6159)
[x] plugins/github-actions (#6224)
[x] plugins/scaffolder (#4606)

Usages of day.js

[ ] plugins/circleci
[x] plugins/cost-insights (#6159)

Usages of date-fns

[x] plugins/pagerduty (#4478)

Other

[x] plugins/sentry (uses timeago.js) (#6021)

I'll take a stab at this one!

Fantastic, thanks for the help @nwright-nz ! When you open a PR, if you can link back to this issue for tracking that would be great. Thanks so much!

Sorry, I missed @nwright-nz message, but I have created a PR for migrating the auth-backend plugin. #4386

@nwright-nz wanted to check in, how is this one going? Have you had any time to carve out to look into it, or should we open it to the community for further help?  Let us know!

hey, @andrewthauer @adamdmharvey I just opened a PR migrating the sentry plugin! 👍
please let me know if I missed something

Hi @andrewthauer,
I created a PR for the cost-insights plugin. Please let me know if I missed out anything.

Hey,
I created a PR (#7140)  for the cloud build plugin. Please let me know if I missed anything or did anything incorrectly.

I'm going to pick up the remaining CircleCI plugin now.

PR created for the last plugin ☝

WOW!  An effort across a large number of team members, both core and the community, and we seem to have met the ADR 🎉 🎉 👍🏻
I triple checked, and the only references left in the raw code are a few package-lock elements, which infers they are being imported by being deps of ANOTHER 3rd party package. But the Backstage code itself involves no imports for these packages any longer.
Given this, I'm closing this issue and want to thank everyone who helped make this cleanup and alignment possible.  WAY TO GO TEAM!!!!!!!!


about Remote Control

Hi!
I am learning Remote Control.
To the instructions, I did:
$ git remote set-url origin https://github.com/chyny /hello-world
,but the result is as follows.
No evidence of push             ! = "Bingo! Detected a push."
FAIL
How can I overcome this issue?
Waiting for your help.
Thank you.

Hi!
Thank you so much.
I passed Remote Control thanks to your help!
Another question:
In case of private repository, it charges $ 7.00/a Month.
What's the difference between a public repository and a private repository?
There are any benefits or merits from a private repository ?
And,
I want to learn PIXI.js Engine to make animations someday in the future.
Do you have any idea what is the most  effective way to learn  PIXI.js engine?
Your recommendation will be very appreciated.
Thank you.

Awesome!

What's the difference between a public repository and a private repository?

A public one is one that is accessible to anyone—like this one for Git-it. A private repository is only accessible to you and those you specifically add as collaborators. The private repository cannot be found by someone who hasn't been added to it and it won't be listed anywhere as even existing except to you and those you've added to it.
There are any benefits or merits from a private repository ?
It's totally up to you and your needs. If you need your repository to be hidden then it makes sense. If you don't then you don't :)

Do you have any idea what is the most effective way to learn PIXI.js engine?

Sorry, I don't know anything about it.
I'm glad you passed the challenge! :tada:

Thank you so much.
It is very kind of you.
Thank you again.

Hi!
I am learning  "Branch are not just for birds" .
 The result is :
    FAIL

What is the wrong I did?

Another result is :
 Username for 'https://github.com': chyny
 Password for<EMAIL_ADDRESS>error: src refspec add-chyny.txt does not match any.

error: failed to push some refs to 'https://github.com/chyny/hello-world.git'
Thanks.

Hi!
Now I am on "It's a small world".
By the instruction, I input my username, then clicking "Add collaboration".
The URL is :
        GitHub, Inc.[US] https://github.com/chyny/patchwork/settings/collaboration

but the result is FAIL.
What is my wrong doing?
Thank you.

By the instruction, I input my username

You should be adding @reporobot as a collaborator, and therefore it's username and not yours. Hope that helps!


SAPI output for en-GB is incorrect

As described here, the SAPI output for en-GB and en-US is identical, even though US and GB accents are different.
Here is the SAPI output that I currently receive.
The documentation here describing the phonetic alphabet for en-GB does not use SAPI, but based on the information there I would expect the output to differ as follows for en-GB:

There should only be two phonemes in "tour": t ʊə
There should only be three phonemes in "bird": b ɜː d
There should only be five phonemes in "ernest": ɜː n ɪ s t
There should only be two phonemes in "hear": h ɪə
There should only be two phonemes in "hair": h ɛə
There should only be five phonemes in "driver": d r aɪ v ə

Thanks for reporting the issue @peterolson . We have noticed it because we wrongly copied the en-US phoneme table. Currently, we do not expose the en-GB SAPI phoneme name.
If you still need the en-GB phoneme name. It's a new request. Because we need some bandwidth to prioritize the new request, we only support new features for big customers, i.e., the usage on pronunciation assessment is larger than 1k/month or reach the minimum bar of the Commitement Tiers. Once you reach this bar, welcome to contact us again by<EMAIL_ADDRESS>

@wangkenpu At the time that I originally reported this issue, the documentation stated that en-GB was supported. I now see that this information was removed recently to make it easier to dismiss this issue as a feature request rather than a bug.
This has been a very frustrating experience, getting mixed messages about what is supported and what is not supported, and having bugs reclassified as feature requests to avoid dealing with them.

@wangkenpu @iamwwn Was en-GB earlier included in the SAPI support table by accident even though it was not really available? Do you need to actually develop SAPI phoneme support for en-GB, it does not exist yet?

Closing the item since it doesn't seem useful to expect any further response from the service side.
@peterolson Sorry about the bad experience, certainly not the best example of handling customer issues here. In case of similar service incidents in the future, please consider creating an Azure support ticket (ref. https://azure.microsoft.com/en-us/support/plans/) as those are guaranteed to go through a systematic review and more formal processing.
@wangkenpu @iamwwn FYI


fix: better bundling of types

Reduces the bundle size (and time for build), since we no longer bundle the same Vitest type (and its dependencies).
Before:
➜ du -sh dist/
1.5Mb    dist/

After:
➜ du -sh dist/
1.4Mb    dist/

Possible fix for #1619?

Looking for a way to fully ignore dist folder 🤔

Looking for a way to fully ignore dist folder by TypeScript 🤔

I found a wonderful flag --explainFiles 🔥


Accessibility issues on the Post a Job page

Describe the bug
There are currently accessibility violations on the post a job page.
To Reproduce
Steps to reproduce the behavior:

Install the WAVE browser extension for.
Navigate to https://protege.dev/post-a-job or localhost:3000/post-a-job if your local development server is running.
Click on the WAVE icon in the list of extension of your browser.

The WAVE extension will open a side bar on the left of your browser window. Click on the Details tab to see a detailed list of accessibility violations.

Expected behavior
There should be no accessibilty violations on the page.
Screenshots

Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A

A @drewclem or @pickleat, would it be possible to add an accessibility label for this issue and the other accessibility issues I logged? Thanks!

Hi @drewclem @pickleat @nickytonline is this issue still open

I believe so!

Assigning it to you @Nelson-Chinedu. For contrast issues, just check with @drewclem for colour changes.

@nickytonline okay

Hi @nickytonline I tried testing locally on my machine but running the server I do get 'bin' is not recognized as an internal or external command, operable program or batch file.  any heads up on what to do.
P:S have installed the dependencies

Yes, this relates to #127, we're all Mac users and not sure how to solve or test that issue honestly.

I think there is a workaround in that Issue, but I'm not certain. Wish I had a better answer for you 😬 .

I'll look into getting #127 sorted out.

Hi @nickytonline, have you sorted #127 out

Hi @nickytonline, have you sorted #127 out?

I'll have a PR up for it tonight. For now, if you want to get started on this, just remove the prestart script temporarily in package.json

@Nelson-Chinedu, #127 has been resolved.

@Nelson-Chinedu @nickytonline  Is this issue still open? If so, let me know if I can help out. -- Karen

If it's still open and it looks like it is, can i jump in and work on it?

@kldickenson, it is still open. @Nelson-Chinedu has been pretty silent, so I can assign this to you. @JoeChuCodes, since @kldickenson asked first, I've assigned it to them. Karen if you'd like to team up with Joe on this, I leave that up to you.

Sure that would be awesome. First time contributor but long time learner. Doesn't seem to hard to fix this :)

Accessibility audit was done with Axe Chrome extension and PR submitted:
#224
Issues that could not be solved:
Buttons must have descriptive text (x16) - All related to the Job Description editor created with react-quill, see quilljs/quill, Suggestions for toolbar accessibility #2038
With these changes, Lighthouse score has improved to 94 (from 92). When Quill.js fixes their toolbar a11y issues, this should get up to at least 98. Remaining 2 points will be the H2s with the background images. Axe cannot decern the contrast between the text and the background images.
@JoeChuCodes , the PR has all the details of the changes I made. If you have any questions, feel free to reach out to me.

Not really you went the same route I did. What about adding descriptors to
the H2's images
On Mon, Nov 30, 2020 at 5:57 PM Karen Dickenson<EMAIL_ADDRESS>wrote:

Accessibility audit was done with Axe Chrome extension and PR submitted:
#224 https://github.com/drewclem/protege/pull/224
Issues that could not be solved:
Buttons must have descriptive text (x16) - All related to the Job
Description editor created with react-quill, see quilljs/quill,
Suggestions for toolbar accessibility #2038
https://github.com/quilljs/quill/issues/2038
With these changes, Lighthouse score has improved to 94 (from 92). When
Quill.js fixes their toolbar a11y issues, this should get up to at least
98. Remaining 2 points will be the H2s with the background images. Axe
cannot decern the contrast between the text and the background images.
@JoeChuCodes https://github.com/JoeChuCodes , the PR has all the
details of the changes I made. If you have any questions, feel free to
reach out to me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/drewclem/protege/issues/151#issuecomment-736105398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQYZYVD6G2IMMCWZJZOFEG3SSQPMHANCNFSM4QPLGRPQ
.

@JoeChuCodes Thanks for thinking about the H2s with backgrounds. I don't think a descriptor is necessary on the H2s as the backgrounds are decorative, applied via CSS background-image, and will NOT be perceivable by screenreaders. The text is perceivable since it is not part of the background image.
See WCAG2.0, 1.1.1 Text Alternative for Decoration, Formatting, Invisible


Remote Submission Elaboration

Hello, I may be completely noobish in asking -- But I don't see very good direction around the remote submission option. I would love to be able to point this plugin to a file on my server vs locally. Putting the address to a log file with write permissions doesnt seem to do the trick, and just outputs some errors.
Is there a specific format that I should be following? TIA

Nvm, I needed to create a php file that dumped the post contents <3

Would you be able to elaborate on what you did to get this working? I'm also having trouble understanding what's needed for this feature

For remote submission see the README for the remote payload  being submitted to whatever server is defined in the config field Remote => Endpoint.
Then do whatever you wish on the server side to handle that data


Most Popular discussions posts

Description
This PR integrates the most popular discussions from the discuss forum
Notes for Reviewers
Signed commits

[X] Yes, I signed my commits.

@asubedy what do you think?

@kayceeDev are we using the same json file for popular post and reset post?

@kayceeDev are we using the same json file for popular post and reset post?

Yes. It has same data. I am just sorted them on number of views.

@kayceeDev are we using the same json file for popular post and reset post?

Yes. It has same data. I am just sorted them on number of views.

I think this should not be the case since the overall popular post could be different from the popular post from the recent topics

@kayceeDev are we using the same json file for popular post and reset post?

Yes. It has same data. I am just sorted them on number of views.

I think this should not be the case since the overall popular post could be different from the popular post from the recent topics

I think it's same API for posts. Not like different API's for posts.

So long as the objective is "the most popular posts (by like) with 'meshery' tag", then we're ok. But, if it's not with 'meshery' tag, then, we're misrepresenting.

Good deal. Ping when you've made your final update. 👍


I propose Marko.
Advantages

It is trivial to combine a Marko Run and Hono server: npm run build src/server.ts, and in there something like

import * as Run from "@marko/run/router" // Run uses Request and Response
import { Hono } from "hono" // So does Hono
app.use("/", (c, next) => Run.fetch(c.req.raw) ?? next()) // i think? I had something before that worked I need to test more

Marko lets you stream pages. This means, for example, we can send the CSS of a preview page before we have the metadata
Marko's Tags API has reactivity like Svelte
Marko 5 (current) won't hydrate components that don't have JS
Marko 6 (future) is resumable - no hydration at all

Disadvantages

Data loading not clear when combining it with Hono (if we want to use idiomatic Marko Run) although we could simply do whatever we do in Svelte since we aren't using SvelteKit anyway
Less Marko developers
No transitions

Thank god marko starts with an M every new improvement we make regarding frameworks must have a related pun on monofile or fyle

For Markofile, since we'll be using Marko Run (probably), let's take care of account management (and maybe the file list display) on separate routes
I think this should make #28 easier (or slightly less of a weird problem) to solve

Also @nbitzz I reccomend you read https://github.com/marko-js/run#path-structure

actually the whole readme

actually the whole readme

was planning on it, dw

I'm rewriting monofile in SvelteKit instead, when Marko Run improves I will revisit it


[WFLY-12610] adding properties and operations to set up and run tran…

Note This PR is a clone of #14773. Please, close the old PR
This PR addresses https://issues.redhat.com/browse/WFLY-12610
With this PR, an extra functionality is added to execute the transaction recovery process from the jboss cli without opening a socket. Moreover, the need to restart WildFly when some parameters of the recovery subsystem are modified has been removed. Last but not least, when WildFly is suspended (e.g. WFLY is in graceful shut-down), this PR introduces a way to avoid the suspension of the recovery manager.

Sorry @jmfinelli I didn't get around to this today - I will have another go at scheduling it tomorrow.

Thanks @mmusgrov! I should add that I think this PR is not ready yet. WildFly's CI highlighted a couple of problems that I need to fix. I will ping you when I have good news :-)


added more tests and fixed typos

PR-Codex overview
Focus of this PR:
Update the dependencies in the deps_tests.py file and make some changes to the workflow in the releases.yml file.
Detailed summary:

Added new dependencies org.eolang:eo-files:0.4.0 and org.eolang:eo-hamcrest:0.4.0 in deps_tests.py
Updated the assertion in the test function of AutoPullTest class in deps_tests.py
Removed the print statement in deps_tests.py
Updated the command to run auto_pull.py in the pull releases step of the workflow in releases.yml
Removed the setup-python step and added a step to install Python in the workflow in releases.yml
Updated the command to run auto_pull.py in the pull releases step of the workflow in releases.yml
Updated the condition in the compare function in auto_pull.py

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 13min)


[5.0][CSDiag] Always attempt to erase open existentials after re-typecheck

All of the open existentials should be removed, along with their
opaque value expressions, after sub-expression type-check. Because
diagnostics might pick next sub-expression from constraint and its
anchor could point to sub-expression which has only opaque value
without enclosing open existential, which is going to trip up sanitizer.
Resolves: rdar://problem/46544601
(cherry picked from commit 09cb803e792ff97a1023f6126af87b8f951c73f6)

@swift-ci please test


Support deletion of .bakfiles

Currently original file gets renamed to .bak. Would be nice to support removal of original files, e.g. by renaming them to unique extension such as .ccbak and then removing by find command

a nice alternative exists in my fork : https://github.com/toxic0berliner/chromecastize

it does not create a .bak file (original file is kept as is, transcoded file has .mp4 extension)
you can turn --autodelete on and it will automatically delete all transcoded files
if you do not turn autodelete on, it will generate a script that you can run later, the script launches mplayer for you to check video quality and audio sync, and after playback it asks you if you want to delete the original file, if not it asks if you want to delete the transcoded file, and if not it will not delete anything.

Alson the ffmpeg options have been reworked : I'm doing 2 pass for video ensuring the best quality possible for transcode...

Fixed in #58


Hotels: add hotel names to the search output

It also updates GraphQL introspection containing schema for hotels.

Please test these changes in Expo after build has finished:


Bug: Server accepts invalid response type + doesn't validate output

Given this operation:
  /healthz:
    get:
      operationId: healthCheck
      tags:
        - system
      summary: Health check endpoint
      description: Check if the API is up and running
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: "OK"

And this implementation
import * as api from "generated";

export const healthCheck: api.server.HealthCheckOperationHandler<{}> =
  async () => {
    return [200, "OK"];
  };

The client receives this response:
HTTP/1.1 200 OK
Connection: close
Content-Type: application/json
Date: Mon, 23 Sep 2024 08:41:06 GMT
Transfer-Encoding: chunked

[200,"OK"]

I would expect:

A typescript error because type string does not adhere to Record<'status', string>.
An error response from the server

Am I missing something maybe?

fixed in https://github.com/LuvDaSun/SkiffaGenerator/commit/003b9a38139574b6b493cfbcb830de65579065b8


Error installing on node 0.12.0

Trying to install i2c on raspberry pi with latest raspbian (3.18 kernel) and nodejs version 0.12.0 results in the following error:
<....cut...>
i2c.target.mk:81: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed
make: *** [Release/obj.target/i2c/src/i2c.o] Error 1
make: Leaving directory '/home/pi/i2c/node_modules/i2c/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.18.7-v7+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/i2c/node_modules/i2c
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.18.7-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "i2c"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the i2c package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls i2c
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/i2c/npm-debug.log
Installed on Raspberry pi v2
npm  v2.5.1
nodejs v0.12.0
Most likely it is because the library is not compatible with the latest nodejs version , or is there anything I am not seeing?
Thanks!

Not compatible with the latest version of node.

0.12 is now supported in the current release thanks to @emersion

Thanks for letting me know!

On 03 Mar 2015, at 05:40, Kelly<EMAIL_ADDRESS>wrote:
0.12 is now supported in the current release thanks to @emersion
—
Reply to this email directly or view it on GitHub.


[1.10.2] Loosen restrictions for flight with motion limits

Patch the "Moved too quickly" check to be forgiving, as Spigot does, for a better user experience.
For reference: #688

@bloodmc @Zidane: Should this be a configurable patch, or be always on?

@Aaron1011 Add a config option for it.

Will this be added in a next version of spongeforge? Currently I can see that we can change an entity's speed, but nothing on  player movement (or vehicles of said players).
I believe it is causing perfomance issues.


Possibility to scroll inside large modals

Example to reproduce that it does currently not work:
https://codesandbox.io/s/5woo5q4xll
Is it possible to make modals scrollable?
Just found this approach but didn't got it running: https://github.com/Semantic-Org/Semantic-UI/issues/5112

Modify <sui-modal-content> to <sui-modal-content class="scrolling"> enables the ability to scroll inside the modal content which is one of the possible solutions to scroll inside big modals.
This look like the following:

Anyways i can get the second example from https://semantic-ui.com/modules/modal.html#/examples (section Scrolling Modal) running. Anyone got a tip?


Warn url is blacklist even though I can view the post in my chrome

Hey, great app.  Sadly I am unsure if it's getting all of them. I feel like for a few I should have way more downloads/ files but that's not why I am here. I'm here because when downloading I got  2022-06-18 12:12:54.4363 WARN Url is blacklisted: https://www.patreon.com/posts/22378242 even though I am able to view it in my own browser. On top of that, I got a lot of Warn users who cannot view this post even though I can. No idea how to fix either problem  Any help would be appreciated

As for the user cannot view this post issue - please try latest test build from #125.

Thanks for the reply. Good to know I can ignore the 1st part. As for the second part about using the test build from #125 I was looking at that but unsure how to incorporate it into the main build. A quick small tutorial on how to add test builds into the main build would be appreciated. Unless I just download it and use and I am overthinking it.
Thanks again for all the help and a big thanks for this awesome tool.

Test build is completely standalone, extract it into a separate folder and use it the same way you would use the regular one. If you want to replace the regular build with it remove everything but .local-chromium, chromedata, download, logs, GoogleDriveToken folders as well as gd_credentials.json and mega_credentials.json files.
Note: --verbose command line option has been replaced with --log-level Trace

Awesome. Thank you for the help. Can't wait to get it working. Thanks a ton!


Document an example of custom UI symbols in the readme

This can be useful for those who don't have the custom / patched font and want to use their current font's Unicode symbols for UI elements.
I managed to make it work with something like this:
local ui_config = {
  icons = { expanded = "🞃", collapsed = "🞂", current_frame = "→" },
  controls = {
    icons = {
      pause = "⏸",
      play = "⯈",
      step_into = "↴",
      step_over = "↷",
      step_out = "↑",
      step_back = "↶",
      run_last = "🗘",
      terminate = "🕱",
      disconnect = "⏻"
    }
  }
}

require("dapui").setup(ui_config)

It can be useful to document in the readme, so users won't need to dig through documentation to find how to configure it, since it looks like a common thing someone would want to do.

@shmerl thanks a lot for this!


precompile assets

Dear netguru, thanks for this nice gem.
my Problem:
After deploy i have to execute  RAILS_ENV=staging rails assets:precompile manually on the production-Server.
Capistrano makes precompilition good enough for the rails app, but not sufficient for the ember-app inside rails.
i tried gem 'capistrano-local-precompile' (https://github.com/stve/capistrano-local-precompile) or https://gist.github.com/uhlenbrock/1477596, but that all works, i see the out seems not to be good enough for ember.
Do you have a soulution for this?
Best Regards
Christian

Sorry, was my mistake!
is solved


'stop_log' command sometimes not being received by Main Host

Summary: The ‘stop_log’ command is not received by the Main Host application.
Description: Sending ‘stop_log’ (0x01, 0x40) does not always stop the log file and seems to be ignored. There is no feedback from the Main Host if the logging was closed successfully.
Additional / related question: Is this a symptom of an underlying timing-related issue – e.g., are some commands ignored if sent in a certain order?
code to replicate this issue found in test5.m at https://gist.github.com/floesche/874531bf83aba604a747d9d92e7bca68#file-test5-m and also included below:

%% script to demonstrate a problem

clear all;

connectHost;

Panel_com('change_root_directory', 'C:\matlabroot\G4');
Panel_com('start_log');

Panel_com('start_display', 0.5);
pause(1);
Panel_com('stop_display');
pause(0.1);

allOn = Panel_com('all_on');
pause(0.1);
allOff = Panel_com('all_off');

% This stop log isn't received by G4 Host unless there is an additional
% pause added:
% pause(0.2)
hasLogStopped = Panel_com('stop_log');
disconnectHost;

I cannot replicate this issue with the following Python code. This suggests it's not a "Main Host" issue, but rather somewhere on the Panel_com or PanelController side.
import socket, time

HOST = 'localhost'
PORT = 62222

def msnd(sck, snd, verbose=True):
    sck.sendall(snd)
    if verbose:
        rspns = sck.recv(1024)
        print(f"Response to '{snd}' is '{rspns}'")

def get_cmd_rootdir():
    root_directory_name = 'C:\matlabroot\G4' # actual path
    root_dir = root_directory_name.encode('utf-8')
    dir_length = len(root_dir)
    my_command = b'\x43' + dir_length.to_bytes(2, 'little')
    return my_command + root_dir

with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
    try:
        s.connect((HOST, PORT))

    except ConnectionRefusedError:
        print(f"G4 Host doesn't appear to be running on {HOST}:{PORT}")
    print(f"Successfully connected")

    # Set dir
    msnd(s, get_cmd_rootdir())
    # Start Log
    msnd(s, b'\x01\x41')

    # Start Display 0.5
    msnd(s, b'\x03\x15' + int(.5*10).to_bytes(2, 'little'))
    time.sleep(1)
    msnd(s, b'\x01\x30')
    time.sleep(0.1)

    # All on
    msnd(s, b'\x01\xff')

    time.sleep(0.1)

    # All Off
    msnd(s, b'\x01\x00')
    # Stop Log
    msnd(s, b'\x01\x40')

Pretty sure this has been resolved with last years updates removing Panel_com and using the panels controller instead.


handle-generic-xml roottag option does not work with namespace-prefix

|handle-generic-xml(emitnamespace="true",attributemarker="@",recordtagname="mets:mets") does not work:
https://metafacture.org/playground/?flux="https%3A//raw.githubusercontent.com/TobiasNx/metafacture_workflows/b2f8776294ee50aa2e14a43fc2a08d6bfdc81775/replaceXSLTTransformation/xsltOutput/UBi_01_Beispiel_Ergebnis.xml"
|open-http
|decode-xml
|handle-generic-xml(emitnamespace%3D"true"%2Cattributemarker%3D"@"%2Crecordtagname%3D"mets%3Amets")
|encode-json(prettyPrinting%3D"true")
|print
%3B
while |handle-generic-xml(emitnamespace="true",attributemarker="@",recordtagname="mets") works:
https://metafacture.org/playground/?flux="https%3A//raw.githubusercontent.com/TobiasNx/metafacture_workflows/b2f8776294ee50aa2e14a43fc2a08d6bfdc81775/replaceXSLTTransformation/xsltOutput/UBi_01_Beispiel_Ergebnis.xml"
|open-http
|decode-xml
|handle-generic-xml(emitnamespace%3D"true"%2Cattributemarker%3D"@"%2Crecordtagname%3D"mets")
|encode-json(prettyPrinting%3D"true")
|print
%3B
Not sure how problematic this is, but at least it should be documented.

I think it works as intended, as the recordtagname is matched against the "localName", i.e. the fields name bare a namespace. See
https://github.com/metafacture/metafacture-core/blob/master/metafacture-xml/src/main/java/org/metafacture/xml/GenericXmlHandler.java#L177 .
So "mets:mets" doesn't exists (thus don't yield a result (your first example)) while your second example identifies <$whatever.mets>...</$whatever.mets> as a record.


Thecookingguy refactor ingredient groups

Resolves #15
Overview:
Refactors the ingredient_groups() method to use find_previous_sibling(). Cuts down on ~20 lines of code.
Changes:
'recipe_scrapers/thecookingguy.py'

consolidated both finding grouped and ungrouped ingredients into one for loop

Testing:
Ran the following commands in the python console and got the expected output of a list of strings representing the ingredient group list. Also tested with https://www.thecookingguy.com/recipes/chicken-shawarma.
from recipe_scrapers import scrape_me
scraper = scrape_me("https://www.thecookingguy.com/recipes/chili-cumin-lamb")
scraper.ingredient_groups()

Did extra testing with https://www.thecookingguy.com/recipes/cheater-pad-thai, https://www.thecookingguy.com/recipes/buffalo-chicken-soup


No output in vcf

Hello,
I am trying to call SNVs from my nanopore data with the variants command (v0.13.3) and it's been working on my whole cohort apart from 1 sample and I can't figure out why.
After indexing I use the command:
nanopolish variants -d 27 -t 16 --ploidy 2 -w chr1:161450000-161750000 --reads $fastq --bam $bam --genome $genome -o ${output}.vcf

I think indexing is successful but the .vcf is empty and these were the only messages printed:
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_cas9_design2_run1/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run1/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run2/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run3/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run4/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.1.7_SUP_5mc/CRA93/CRA93_AdaptSamp_run5/fast5_all/
[readdb] num reads: 14856339, num reads with path to fast5: 14856339
Number of variants in span (18) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
Number of variants in span (21) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
slurmstepd-ruby049: error: *** JOB 1970772 ON ruby049 CANCELLED AT 2022-11-07T06:11:41 DUE TO TIME LIMIT ***

Since then I have tried:

Increasing max haplotypes up to 100,000
Increasing wall time to 40hrs, then 60hrs and then 120hrs
Adding the --faster flag to minimise compute time
Adding the --snps flag to only identify SNPs
Increasing minimum depth to 32x with -d
Increasing threads to 32 with -t
Adding the --verbose option to try find out what the issue is

And still there is nothing in the .vcf and it appears to max out of time.
Unfortunately the only messages that are printed in all these attempts is:
Number of variants in span (18) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
Number of variants in span (21) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
slurmstepd-ruby052: error: *** JOB 2342262 ON ruby052 CANCELLED AT 2022-12-24T05:47:15 DUE TO TIME LIMIT ***

It's also very strange the .vcf is completely empty, with not even the header being printed.
Any advice you have to help narrow down what's causing this problem or how to resolve it would be much appreciated. Thank you!

Hi,
How large is the region that you're trying to variant call? What is the
sequencing depth?
Jared
On Thu, Jan 12, 2023 at 4:58 PM smf96 @.***> wrote:

Hello,
I am trying to call SNVs from my nanopore data with the variants command
and it's been working on my whole cohort apart from 1 sample and I can't
figure out why.
After indexing I use the command:
nanopolish variants -d 27 -t 16 --ploidy 2 -w chr1:161450000-161750000 --reads $fastq --bam $bam --genome $genome -o ${output}.vcf
I think indexing is successful but the .vcf is empty and these were the
only messages printed:
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_cas9_design2_run1/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run1/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run2/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run3/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.0.1_basecalling_SUP/CRA93/CRA93_AdaptSamp_run4/fast5_all/
[readdb] indexing /mainfs/cansci/Sarah_Frampton/GUPPY_v6.1.7_SUP_5mc/CRA93/CRA93_AdaptSamp_run5/fast5_all/
[readdb] num reads: 14856339, num reads with path to fast5: 14856339
Number of variants in span (18) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
Number of variants in span (21) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
slurmstepd-ruby049: error: *** JOB 1970772 ON ruby049 CANCELLED AT 2022-11-07T06:11:41 DUE TO TIME LIMIT ***
Since then I have tried:

Increasing max haplotypes up to 100,000
Increasing wall time to 40hrs, then 60hrs and then 120hrs
Adding the --faster flag to minimise compute time
Adding the --snps flag to only identify SNPs
Increasing minimum depth to 32x with -d
Increasing threads to 32 with -t
Adding the --verbose option to try find out what the issue is

And still there is nothing in the .vcf and it appears to max out of time.
Unfortunately the only messages that are printed in all these attempts is:
Number of variants in span (18) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
Number of variants in span (21) would exceed max-haplotypes. Variants may be missed. Consider running with a higher value of max-haplotypes!
slurmstepd-ruby052: error: *** JOB 2342262 ON ruby052 CANCELLED AT 2022-12-24T05:47:15 DUE TO TIME LIMIT ***
It's also very strange the .vcf is completely empty, with not even the
header being printed.
Any advice you have to help narrow down what's causing this problem or how
to resolve it would be much appreciated. Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/jts/nanopolish/issues/1051, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC7DHYEUO7YJ75D6IZYRB3WSB5BFANCNFSM6AAAAAATZXOOPU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello Jared,
Thank you for such a rapid response.
The window I specify in the nanopolish command is 300kb but my focus is the 200kb region shown in the IGV screenshot below. I just call variants for the 300kb to include flanking regions so I can try phase all the way across.

Average depth is about 140x. The reads distribution pattern may look a bit strange and that's because this sample has had both WGS and cas9-targeting performed on it and is suspected to harbour a large SV.
All the best,
Sarah

So, the way nanopolish variant calling works is that it finds candidate variants (according to the thresholds listed in the help message), then groups these variants together by position and tries to enumerate all possible haplotypes for each group (controlled by -x). This seems to be quite a variable region, so the number of possible haplotypes is likely extremely high. The parameters to try are increasing -m to reduce the number of candidates, or decreasing -x so it doesn't try all possible haplotypes. But really you might be better off using a program like clair3 that uses a different method of variant calling.

Great thank you,
So I tried changing -x to 500 which successfully ran in 6 minutes, producing 1172 SNVs in my .vcf and 10 of those Number of variants in span (X) would exceed max-haplotypes messages.
I also I tried changing -m to 0.25 and 0.3. Both successfully ran in about 30 mins producing 1066 and 876 SNVs respectively, with no max-haplotype messages.
I'm now trying -m as 0.21, 0.22, 0.23 and 0.24 as I'd like this single sample to be as close to the rest of my cohort which worked with the default. Only 0.24 has completed in 33 mins, the rest have been running for >20hrs. I'm assuming they'll be like my original issue where they time out at 120hrs with nothing printed in the .vcf.
I have also been trying to explain this process to my supervisor and was wondering if you are able to help clarify. Am I able to say that a form of polishing happens before the variants are called? Isn't that why the fast5 files are needed as well? Does that make this tool more accurate than simply using the bases in a pileup?

Brilliant thank you.
I was also wondering about filtering based on quality scores...
I have seen in a previous issue (#405) you commenting that scores of 20-50 aren't great. Are you able to elaborate further? Mine typically range from 20-5000 but can sometimes be nearer 20,000. Is that normal?
Thank you!

The quality score depends on read depth. If you have high depth, and the ALT allele is much better supported than the REF allele, then a QUAL of >5000 isn't unexpected. If you have high depth and QUAL is 20, it means the REF and ALT are very difficult to separate in signal space. In general QUAL / TotalReads is a good measure of how easy the variant is to call.


Docs missing refernce for set_cookies and get_cookeis

I have been trying to set_cookies  but i can't any reference for the same in the docs. I have been trying with
"""
cookies_value='{"domain":"tester.com", "session":"zxvvdedadadda124"}
set_cookies $cookies_value
"""
Is this the correct way of doing it?

@jakre1234
Thanks your issue!
Sorry I forgot to create documentation.
I add new cookies functions! please see this PR!
And I create the document here.
https://shellnium-site.vercel.app/doc#cookies
Thanks!


Porting to ROS2

Hi!
Thanks for creating this repo!
I'm starting the port to ROS2-Foxy. Maybe I'll need some support, I'll contact you if needed. :)
https://github.com/JLBicho/theta_driver/tree/ros2_foxy

Hi again!
I'm a little stuck in my branch. Maybe you can provide some help.
I've updated the source code and the CMakeList for ROS2-Foxy, but I'm not able to finalize the compilation steps. The linker cannot find the uvc functions.
Do you have any idea of what could be going wrong here?
Thanks!
https://github.com/JLBicho/theta_driver/issues/1

I think the content of ament_target_dependencies is wrong.
https://github.com/JLBicho/theta_driver/blob/f6f308b349820d91b1447452a4b4db3f17a78d0a/CMakeLists.txt#L55-L59

Hi! Thanks for the feedback. I also think there is something wrong there but I cannot figure out what. If I put the same elements as in catkin, I get the following during compilation:
`Starting >>> theta_driver
--- stderr: theta_driver
CMake Error at /opt/ros/foxy/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:77 (message):
ament_target_dependencies() the passed package name 'gstreamer-1.0' was not
found before
Call Stack (most recent call first):
CMakeLists.txt:53 (ament_target_dependencies)
make: *** [Makefile:340: cmake_check_build_system] Error 1
Failed   <<< theta_driver [0.56s, exited with code 2]
Summary: 0 packages finished [0.63s]
1 package failed: theta_driver
1 package had stderr output: theta_driver
`
And the same with each element: Boost, OpenCV, gstreamer, etc...
However, with the names I have written, everything except the uvc works. I've done some "testing" changing OpenCV to "opencv" and it says this:
`Starting >>> theta_driver
--- stderr: theta_driver
CMake Error at /opt/ros/foxy/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:77 (message):
ament_target_dependencies() the passed package name 'opencv' was not found
before
Call Stack (most recent call first):
CMakeLists.txt:53 (ament_target_dependencies)
make: *** [Makefile:340: cmake_check_build_system] Error 1
Failed   <<< theta_driver [0.53s, exited with code 2]
Summary: 0 packages finished [0.60s]
1 package failed: theta_driver
1 package had stderr output: theta_driver
`
So I assume that it finds OpenCV but not opencv. Same thing happens with the other elements, if I change one letter for example, it says it cannot find it, but with the correct name there is no error.
Additionally, if I don't put the GSTREAMER_1_0 and GSTREAMER_1_0_APP, the error message is:
Starting >>> theta_driver --- stderr: theta_driver                              /usr/bin/ld: CMakeFiles/theta_driver_node.dir/3rd/libuvc-theta-sample/gst/thetauvc.c.o: in function thetauvc_find_devices':
thetauvc.c:(.text+0x3f): undefined reference to uvc_find_devices' /usr/bin/ld: thetauvc.c:(.text+0x76): undefined reference to uvc_free_device_list'
/usr/bin/ld: thetauvc.c:(.text+0xb1): undefined reference to uvc_get_device_descriptor' /usr/bin/ld: thetauvc.c:(.text+0x118): undefined reference to uvc_free_device_list'
/usr/bin/ld: thetauvc.c:(.text+0x124): undefined reference to uvc_free_device_descriptor' /usr/bin/ld: thetauvc.c:(.text+0x184): undefined reference to uvc_free_device_descriptor'
/usr/bin/ld: thetauvc.c:(.text+0x1d6): undefined reference to uvc_ref_device' /usr/bin/ld: thetauvc.c:(.text+0x1f3): undefined reference to uvc_free_device_list'
/usr/bin/ld: CMakeFiles/theta_driver_node.dir/3rd/libuvc-theta-sample/gst/thetauvc.c.o: in function thetauvc_print_devices': thetauvc.c:(.text+0x29a): undefined reference to uvc_perror'
/usr/bin/ld: thetauvc.c:(.text+0x2f4): undefined reference to uvc_get_device_descriptor' /usr/bin/ld: thetauvc.c:(.text+0x332): undefined reference to uvc_free_device_descriptor'
/usr/bin/ld: thetauvc.c:(.text+0x367): undefined reference to uvc_free_device_list' /usr/bin/ld: CMakeFiles/theta_driver_node.dir/3rd/libuvc-theta-sample/gst/thetauvc.c.o: in function thetauvc_find_device':
thetauvc.c:(.text+0x3fc): undefined reference to uvc_free_device_list' /usr/bin/ld: thetauvc.c:(.text+0x428): undefined reference to uvc_ref_device'
/usr/bin/ld: thetauvc.c:(.text+0x451): undefined reference to uvc_free_device_list' /usr/bin/ld: CMakeFiles/theta_driver_node.dir/3rd/libuvc-theta-sample/gst/thetauvc.c.o: in function thetauvc_find_device_by_serial':
thetauvc.c:(.text+0x523): undefined reference to uvc_get_device_descriptor' /usr/bin/ld: thetauvc.c:(.text+0x562): undefined reference to uvc_free_device_descriptor'
/usr/bin/ld: thetauvc.c:(.text+0x582): undefined reference to uvc_ref_device' /usr/bin/ld: thetauvc.c:(.text+0x59e): undefined reference to uvc_free_device_list'
/usr/bin/ld: CMakeFiles/theta_driver_node.dir/3rd/libuvc-theta-sample/gst/thetauvc.c.o: in function thetauvc_get_stream_ctrl_format_size': thetauvc.c:(.text+0x62b): undefined reference to uvc_get_stream_ctrl_format_size'
/usr/bin/ld: CMakeFiles/theta_driver_node.dir/3rd/libuvc-theta-sample/gst/thetauvc.c.o: in function thetauvc_run_streaming': thetauvc.c:(.text+0x674): undefined reference to uvc_open'
/usr/bin/ld: thetauvc.c:(.text+0x6d2): undefined reference to uvc_start_streaming' /usr/bin/ld: thetauvc.c:(.text+0x6e4): undefined reference to uvc_close'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_buffer_copy_deep' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_app_src_set_caps'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_buffer_map' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_pipeline_set_clock'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to uvc_init' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_error_free'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_pipeline_get_bus' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_object_unref'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_pipeline_get_type' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_element_set_state'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_type_check_instance_cast' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_buffer_unmap'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_main_loop_quit' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to uvc_exit'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_sample_get_buffer' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_main_loop_new'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_signal_connect_data' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_bin_get_by_name'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_caps_new_simple' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_system_clock_obtain'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to uvc_stop_streaming' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_parse_launch'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_free' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_bin_get_type'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_buffer_new_allocate' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_mini_object_unref'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_message_parse_error' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_init'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_print' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to _gst_fraction_type'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_timer_new' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_bus_add_watch'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_is_initialized' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_signal_emit_by_name'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_app_src_get_type' /usr/bin/ld: libtheta_driver_lib.so: undefined reference to gst_app_sink_pull_sample'
/usr/bin/ld: libtheta_driver_lib.so: undefined reference to g_source_remove'
As you can see, the gst functions are also not found. So when my understanding is that when I write GSTREAMER_1_0 and GSTREAMER_1_0_APP in the dependencies, it is able to find the gst functions.
I think that libuvc is correctly installed because the libuvc-theta-sample works perfect, so i believe it has something to do with the linker.
I hope something of this big comment can help you help me :) I appreciate greatly your support.

@ymd-stella
Thank you for your work.
I'm trying to get my ricoh theta z1 working with ros2 foxy by following the readme on github, but it won't streaming after the following statement.
[INFO] [1712757387.217201940] [theta_driver]: Initializing
[INFO] [1712757387.236832637] [theta_driver]: index: 0
[INFO] [1712757387.236859398] [theta_driver]: product: RICOH THETA Z1
[INFO] [1712757387.236864787] [theta_driver]: serial: 32101106

I think I've satisfied all the dependencies, so what's the problem?

@JLBicho @JLBicho
The same is true if i change the streaming variable to true in your code.
The RICOH THETA Z1 is also set to LIVE MODE.

@JLBicho @ymd-stella
The same is true if i change the streaming variable to true in your code.
The RICOH THETA Z1 is also set to LIVE MODE.

Hi @Lee-JaeWon,
I actually can't help you a lot because the only thing I did was changing ROS 1 functions to ROS 2.
However, I can suggest the following steps.

Check the USB cable. To stream the video you need USB 3.0 cable, at least.
Check QoS. Set in Rviz2 the QoS to Best effort.
Check with ros2 topic echo if the message is being published.

It's been a long time since I've worked with this camera and maybe some packages have been updated and they don't work anymore.
Please, when you launch the camera again send a screenshot of the output of ros2 topic list and check it the camera screen says anything more about the streaming.
I hope this helps.

@JLBicho
Thank you so much for your response.
The problem is that the node that I run in the terminal before checking with rviz2 or topic is turned off immediately after turning on.
Do you have any experience with this?

This may be a segmentation fault or something similar.
Please, run the node in debug mode adding --ros-args --log-level debug at the end of the command and paste the output here.
Additionally, make sure all your packages are updated and upgraded with
sudo apt update && sudo apt upgrade -y


Remove custom basemaps for google users

Don't let google users add a custom basemap.
Fixes https://github.com/CartoDB/cartodb-platform/issues/1132.
Fixes https://github.com/CartoDB/cartodb-platform/issues/1320.
cc @luisbosque @yasharora73
CR: @javierarce

:eyes: looks good


feat(security): security contexts are now configurable

Fixes #446
Users can now specify security contexts in Cryostat CR to overwrite defaults.

I added the spec field under Advanced. Any thoughts?


Set up Project with KanBan Board

we've Set up the project with KanBan Board, and distributed the tasks.
we also created milestones to ensure we stay on track with our progress
Link to the Project
For this project, there are only two members on our team @rebaz36 & @ndorrh

Hi @rebaz36 @ndorrh 👋,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights

Card created properly 👍

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

thanks for the review @Davidosky007


ronin: init at 2.0.1

Description of changes
Add ronin to nixpkgs.
Ronin is a free and Open Source Ruby toolkit for security research and development. Ronin also allows for the rapid development and distribution of code, exploits, payloads, etc, via 3rd party git repositories.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Please squash into two commits.


more docs/examples?

I might be missing something obvious, but the documentation would greatly benefit from the set of "building blocks", e.g. "how to match quoted string with escapes", "comma-separated list", "how to match right-associative infix operators" etc.

+1


win10 fail to install aim

How to install aim in Windows10, I am using pip install aim command error. The error message is as follows:
Collecting aim
Using cached aim-3.17.3.tar.gz (1.6 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
ERROR: Could not find a version that satisfies the requirement aimrocks==0.4.0 (from versions: 0.2.0)
[end of output]
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

A short solution would be comment out the aim installation in requirements.txt.

The same problem will arise again

The error message is as follows：
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/75/5d/0de5877f6aa71678ccaa230058f802a9405f7f60d07a990e4a28a5771d97/aim-3.17.3.tar.gz (1.6 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting setuptools
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/47/6a/dfaf9838b6dd1f04537c0a66cf880dd24acd829f8a39d468c11fc0b7d8c6/setuptools-67.7.1-py3-none-any.whl (1.1 MB)
---------------------------------------- 1.1/1.1 MB 5.3 MB/s eta 0:00:00
Collecting cython==3.0.0a11
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b6/50/97fec65cbde210f6bf71db1970ce8f6461a0594c619b6c6834d03742f1bd/Cython-3.0.0a11-py2.py3-none-any.whl (1.1 MB)
ERROR: Could not find a version that satisfies the requirement aimrocks==0.4.0 (from versions: 0.2.0)
ERROR: No matching distribution found for aimrocks==0.4.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

The error message is as follows： Using cached https://pypi.tuna.tsinghua.edu.cn/packages/75/5d/0de5877f6aa71678ccaa230058f802a9405f7f60d07a990e4a28a5771d97/aim-3.17.3.tar.gz (1.6 MB) Installing build dependencies ... error error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting setuptools Downloading https://pypi.tuna.tsinghua.edu.cn/packages/47/6a/dfaf9838b6dd1f04537c0a66cf880dd24acd829f8a39d468c11fc0b7d8c6/setuptools-67.7.1-py3-none-any.whl (1.1 MB) ---------------------------------------- 1.1/1.1 MB 5.3 MB/s eta 0:00:00 Collecting cython==3.0.0a11 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b6/50/97fec65cbde210f6bf71db1970ce8f6461a0594c619b6c6834d03742f1bd/Cython-3.0.0a11-py2.py3-none-any.whl (1.1 MB) ERROR: Could not find a version that satisfies the requirement aimrocks==0.4.0 (from versions: 0.2.0) ERROR: No matching distribution found for aimrocks==0.4.0 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

I'm not quite sure about this issue since I don't have a. windows environment. Maybe try to google it or ask chatGPT :)

Windows10怎么安装aim，我用pip install aim命令报错。错误信息如下：
收集 使用存档的 aim-3.17.3.tar.gz (1.6 MB) Installing build dependencies ... error error: subprocess-exited-with-error
× 用于安装构建依赖项的 pip 子进程未成功运行。 │ 退出代码：1 ╰─> [6 lines of output] ERROR: Could not find a version that satisfy the requirement aimrocks==0.4.0 (from versions: 0.2.0) [输出结束] [输出结束]
注意：此错误源于子程序，可能不是 pip 的问题。 错误：子程序因错误而退出
× 用于安装构造依赖项的 pip 子进程未成功运行。 │ 退出代码：1 ╰─> 输入见上。
注意：此错误源自子进程，可能不是 pip 的问题。

在windows环境下的pycharm中安装指定版本的aim==2.4.0，高于这个版本的都装不上

感谢大佬，安装成功了


Changed generation of policySetDefinitions and improved whatif error handling

Overview/Summary
Closing #418 and #396
This PR fixes/adds/changes/removes

Changed so policySetDefinitions generate parameter files instead of regular deployment templates to overcome escaping issues (#418)
Improved WhatIf/Validate error handling to throw terminating errors on template errors (#396)

As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[X] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located in the Enterprise-Scale repo in the directory: /docs/wiki/whats-new.md)

/azp run


Query Parameters Element doesn't set initial values to state

Describe the Issue:
If we didn't edit the query params element, it submits empty when the form submits. The initial values get lost on the way.

This issue has been resolved in 5.11.0-Beta3 SNAPSHOT.


SD crashes! due to refiner loading

I installed everything perfectly even started with a fresh install but sd crashes when trying to load refiner due to out of [ram]. colab has a 12gb ram limit for free usage which is sufficient for base sdxl tasks but too less for using refiner too.
After installing the refiner too there the stable diffusion goes into infinte loop of crash, changing the settings manully is too much of hassel and not meant for everybody. if this issue occurs only option is to reinstall the whole stable diffusion. apparantely it worked after that.
my suggestion is to make a fail safe which loads only base-sdxl next time once the startup crashes

you may try to disable the refiner on startup loading in the settings tab

you may try to disable the refiner on startup loading in the settings tab

You cannot disable the refiner in the GUI if it allways crashes


[IN-10220] Make API Docs changes for search Use-Cases

Make sure you've checked off all these things before submitting:

[x] This pull request isn't for a company's fork, it's intended for the upstream Slate shared by everybody.
[x] This pull request is submitted to the master branch.
[x] If it makes frontend changes, this pull request has been tested in the latest version of Firefox, Chrome, IE, and Safari.
[x] If it is an API related fix, the shell and python code have been tested

(Slack)
(Jira)
-Before

After-


[BACK-58] Integration of more data sources to the dbUpdater

Description of Issue
Integration of hackernews sentiment, and linkedin data.
Increased the number of entries in the star-history from 10 to 25.
<...>
How I implemented
ABABABABABABABABABABABABABABABABABABAB
<...>
Other
ABABABABABABABABABABABABABABABABABABAB

Will wait for the other data sources to become available as well before I make it ready for review.

Wait with reviewing for now, have another one ready in the next hours

Is included entirely in BACK-70


Dimension Mismatch error in [image_captioning.ipynb]

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

TensorFlow version:2.2.0 alpha
Doc Link: https://colab.research.google.com/github/tensorflow/docs/blob/master/site/en/r2/tutorials/sequences/image_captioning.ipynb

I am running this example with the Google colab and getting this issue:
InvalidArgumentError                      Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in _create_c_op(graph, node_def, inputs, control_inputs)
   1818   try:
-> 1819     c_op = c_api.TF_FinishOperation(op_desc)
   1820   except errors.InvalidArgumentError as e:

InvalidArgumentError: Dimension 0 in both shapes must be equal, but are 1 and 32. Shapes are [1,1] and [32,1]. for 'rnn__decoder/concat' (op: 'ConcatV2') with input shapes: [1,1,256], [32,1,256], [] and with computed input tensors: input[2] = <-1>.

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
<ipython-input-40-bdc59db794fd> in <module>()
      6
      7     for (batch, (img_tensor, target)) in enumerate(dataset):
----> 8         batch_loss, t_loss = train_step(img_tensor, target)
      9         total_loss += t_loss
     10

/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py in __call__(self, *args, **kwds)
    412       # In this case we have created variables on the first call, so we run the
    413       # defunned version which is guaranteed to never create variables.
--> 414       return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
    415     elif self._stateful_fn is not None:
    416       # In this case we have not created variables on the first call. So we can

/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py in __call__(self, *args, **kwargs)
   1285   def __call__(self, *args, **kwargs):
   1286     """Calls a graph function specialized to the inputs."""
-> 1287     graph_function, args, kwargs = self._maybe_define_function(args, kwargs)
   1288     return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
   1289

/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py in _maybe_define_function(self, args, kwargs)
   1609           relaxed_arg_shapes)
   1610       graph_function = self._create_graph_function(
-> 1611           args, kwargs, override_flat_arg_shapes=relaxed_arg_shapes)
   1612       self._function_cache.arg_relaxed[rank_only_cache_key] = graph_function
   1613

/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py in _create_graph_function(self, args, kwargs, override_flat_arg_shapes)
   1510             arg_names=arg_names,
   1511             override_flat_arg_shapes=override_flat_arg_shapes,
-> 1512             capture_by_value=self._capture_by_value),
   1513         self._function_attributes)
   1514

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/func_graph.py in func_graph_from_py_func(name, python_func, args, kwargs, signature, func_graph, autograph, autograph_options, add_control_dependencies, arg_names, op_return_value, collections, capture_by_value, override_flat_arg_shapes)
    692                                           converted_func)
    693
--> 694       func_outputs = python_func(*func_args, **func_kwargs)
    695
    696       # invariant: `func_outputs` contains only Tensors, IndexedSlices,

/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py in wrapped_fn(*args, **kwds)
    315         # __wrapped__ allows AutoGraph to swap in a converted function. We give
    316         # the function a weak reference to itself to avoid a reference cycle.
--> 317         return weak_wrapped_fn().__wrapped__(*args, **kwds)
    318     weak_wrapped_fn = weakref.ref(wrapped_fn)
    319

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/func_graph.py in wrapper(*args, **kwargs)
    684                   optional_features=autograph_options,
    685                   force_conversion=True,
--> 686               ), args, kwargs)
    687
    688         # Wrapping around a decorator allows checks like tf_inspect.getargspec

/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py in converted_call(f, owner, options, args, kwargs)
    390     return _call_unconverted(f, args, kwargs)
    391
--> 392   result = converted_f(*effective_args, **kwargs)
    393
    394   # The converted function's closure is simply inserted into the function's

/tmp/tmp3uq18dwt.py in tf__train_step(img_tensor, target)
     15       dec_input_1 = ag__.converted_call('expand_dims', tf, ag__.ConversionOptions(recursive=True, verbose=0, strip_decorators=(tf.function, defun_6, ag__.convert, ag__.do_not_convert, ag__.converted_call), force_conversion=False, optional_features=(), internal_convert_user_code=True), (target[:, (i)], 1), {})
     16       return dec_input_1, loss_1, hidden_1
---> 17     dec_input, loss, hidden = ag__.for_stmt(ag__.converted_call(range, None, ag__.ConversionOptions(recursive=True, verbose=0, strip_decorators=(tf.function, defun_3, ag__.convert, ag__.do_not_convert, ag__.converted_call), force_conversion=False, optional_features=(), internal_convert_user_code=True), (1, target.shape[1]), {}), None, loop_body, (dec_input, loss, hidden))
     18   total_loss = loss / ag__.converted_call(int, None, ag__.ConversionOptions(recursive=True, verbose=0, strip_decorators=(tf.function, defun_7, ag__.convert, ag__.do_not_convert, ag__.converted_call), force_conversion=False, optional_features=(), internal_convert_user_code=True), (target.shape[1],), {})
     19   trainable_variables = encoder.trainable_variables + decoder.trainable_variables

/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/operators/control_flow.py in for_stmt(iter_, extra_test, body, init_state)
     79     return _dataset_for_stmt(iter_, extra_test, body, init_state)
     80   else:
---> 81     return _py_for_stmt(iter_, extra_test, body, init_state)
     82
     83

/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/operators/control_flow.py in _py_for_stmt(iter_, extra_test, body, init_state)
     88     if extra_test is not None and not extra_test(*state):
     89       break
---> 90     state = body(target, *state)
     91   return state
     92

/tmp/tmp3uq18dwt.py in loop_body(loop_vars, dec_input_1, loss_1, hidden_1)
     11     def loop_body(loop_vars, dec_input_1, loss_1, hidden_1):
     12       i = loop_vars
---> 13       predictions, hidden_1, _ = ag__.converted_call(decoder, None, ag__.ConversionOptions(recursive=True, verbose=0, strip_decorators=(tf.function, defun_4, ag__.convert, ag__.do_not_convert, ag__.converted_call), force_conversion=False, optional_features=(), internal_convert_user_code=True), (dec_input_1, features, hidden_1), {})
     14       loss_1 += ag__.converted_call(loss_function, None, ag__.ConversionOptions(recursive=True, verbose=0, strip_decorators=(tf.function, defun_5, ag__.convert, ag__.do_not_convert, ag__.converted_call), force_conversion=False, optional_features=(), internal_convert_user_code=True), (target[:, (i)], predictions), {})
     15       dec_input_1 = ag__.converted_call('expand_dims', tf, ag__.ConversionOptions(recursive=True, verbose=0, strip_decorators=(tf.function, defun_6, ag__.convert, ag__.do_not_convert, ag__.converted_call), force_conversion=False, optional_features=(), internal_convert_user_code=True), (target[:, (i)], 1), {})

/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py in converted_call(f, owner, options, args, kwargs)
    265
    266   if not options.force_conversion and conversion.is_whitelisted_for_graph(f):
--> 267     return _call_unconverted(f, args, kwargs)
    268
    269   # internal_convert_user_code is for example turned off when issuing a dynamic

/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py in _call_unconverted(f, args, kwargs)
    186     return f.__self__.call(args, kwargs)
    187
--> 188   return f(*args, **kwargs)
    189
    190

/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py in __call__(self, inputs, *args, **kwargs)
    610                       base_layer_utils.AutoAddUpdates(self,
    611                                                       inputs)) as auto_updater:
--> 612                 outputs = self.call(inputs, *args, **kwargs)
    613                 auto_updater.set_outputs(outputs)
    614

<ipython-input-33-dc6f8641457a> in call(self, x, features, hidden)
     22
     23     # x shape after concatenation == (batch_size, 1, embedding_dim + hidden_size)
---> 24     x = tf.concat([tf.expand_dims(context_vector, 1), x], axis=-1)
     25
     26     # passing the concatenated vector to the GRU

/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/dispatch.py in wrapper(*args, **kwargs)
    178     """Call target, and fall back on dispatchers if there is a TypeError."""
    179     try:
--> 180       return target(*args, **kwargs)
    181     except (TypeError, ValueError):
    182       # Note: convert_to_eager_tensor currently raises a ValueError, not a

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/array_ops.py in concat(values, axis, name)
   1269               tensor_shape.scalar())
   1270       return identity(values[0], name=scope)
-> 1271   return gen_array_ops.concat_v2(values=values, axis=axis, name=name)
   1272
   1273

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_array_ops.py in concat_v2(values, axis, name)
   1215   _attr_N = len(values)
   1216   _, _, _op = _op_def_lib._apply_op_helper(
-> 1217         "ConcatV2", values=values, axis=axis, name=name)
   1218   _result = _op.outputs[:]
   1219   _inputs_flat = _op.inputs

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py in _apply_op_helper(self, op_type_name, name, **keywords)
    798         op = g.create_op(op_type_name, inputs, output_types, name=scope,
    799                          input_types=input_types, attrs=attr_protos,
--> 800                          op_def=op_def)
    801       return output_structure, op_def.is_stateful, op
    802

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/func_graph.py in create_op(self, op_type, inputs, dtypes, input_types, name, attrs, op_def, compute_shapes, compute_device)
    450     return super(FuncGraph, self).create_op(
    451         op_type, inputs, dtypes, input_types, name, attrs, op_def,
--> 452         compute_device=compute_device)
    453
    454   def capture(self, tensor, name=None):

/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py in new_func(*args, **kwargs)
    505                 'in a future version' if date is None else ('after %s' % date),
    506                 instructions)
--> 507       return func(*args, **kwargs)
    508
    509     doc = _add_deprecated_arg_notice_to_docstring(

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in create_op(***failed resolving arguments***)
   3477           input_types=input_types,
   3478           original_op=self._default_original_op,
-> 3479           op_def=op_def)
   3480       self._create_op_helper(ret, compute_device=compute_device)
   3481     return ret

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in __init__(self, node_def, g, inputs, output_types, control_inputs, input_types, original_op, op_def)
   1981           op_def, inputs, node_def.attr)
   1982       self._c_op = _create_c_op(self._graph, node_def, grouped_inputs,
-> 1983                                 control_input_ops)
   1984
   1985     # Initialize self._outputs.

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in _create_c_op(graph, node_def, inputs, control_inputs)
   1820   except errors.InvalidArgumentError as e:
   1821     # Convert to ValueError for backwards compatibility.
-> 1822     raise ValueError(str(e))
   1823
   1824   return c_op

ValueError: Dimension 0 in both shapes must be equal, but are 1 and 32. Shapes are [1,1] and [32,1]. for 'rnn__decoder/concat' (op: 'ConcatV2') with input shapes: [1,1,256], [32,1,256], [] and with computed input tensors: input[2] = <-1>.

I checked different thing but can't able to solve this issue
We welcome contributions by users. Will you be able to update submit a PR (use the doc style guide) to fix the doc Issue?

I am unable to access your image_captioning.ipynb. Hence, it is difficult to rectify your issue without seeing your code. From your error message I can suggest you that check dimensions of each layer. You did mistake in defining input shapes and corresponding output shapes. Concentrate in the below error lines.
InvalidArgumentError: Dimension 0 in both shapes must be equal, but are 1 and 32. Shapes are [1,1] and [32,1]. for 'rnn__decoder/concat' (op: 'ConcatV2') with input shapes: [1,1,256], [32,1,256], [] and with computed input tensors: input[2] = <-1>.

@muneeb699 Please provide the correct google colab link to reproduce the issue reported here. Thanks!

Hi Here is the link :
https://colab.research.google.com/drive/1lORosF4OMpsG2iEhyJzAXikEQEcViWE2

@muneeb699 Still the colab link that you have provided is not correct. Please provide correct link. Thanks!

Copy the link and paste it. It will not be open when you click it.
https://colab.research.google.com/drive/1lORosF4OMpsG2iEhyJzAXikEQEcViWE2

Your problem has been solved. Change BATCH_SIZE = 48
feel free to change these parameters according to your system's configuration
BATCH_SIZE = 48
BUFFER_SIZE = 1000
embedding_dim = 256
units = 512
vocab_size = len(tokenizer.word_index) + 1
num_steps = len(img_name_train) // BATCH_SIZE
# shape of the vector extracted from InceptionV3 is (64, 2048)
# these two variables represent that
features_shape = 2048
attention_features_shape = 64

Why this problem is occured in the first place? Because you just change the batch size and it gives an error. Doesn't seems right

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.

The batch size missmatch was fixed in tensorflow/docs@9e7ea7c446e7f40b3d1


"Please Update. You are running an old version" message on output image

"Please Update!
You are running an old version. Please update FaceApp to the latest one."

I updated him, get working version - https://github.com/frozyeah/Faces

Hello!
Thanks for contributing this one. I will close discussion here so it can be continued in PR section.

I found that the user agent now needs to be FaceApp/3.2.2 (Linux; Android 8.1), and the URL needs to be changed to https://node-03.faceapp.io/api/v2.11/photos. They also changed the JSON in the newer versions, so instead of body.filters, you would use body.objects[0].children. The fixes have already been applied in faceapp.js.

@TheEssemCraft thanks for the reference. @re1ard had fixed that and master branch now is operational.

It is still relevant

Ditto.


Test coverage is not covering the intended files

Test coverage is not covering all src files as intended. Right now, it only covers the tests that you include in the tests. Resulting in false coverage report.
Type of issue
Bug
Description
You just need to specify collectCoverageFrom in jest config. Something like this:
{
  "collectCoverageFrom": [
    "!**/node_modules/**",
    "<rootDir>/src/client/**/*.js",
    "<rootDir>/src/server/**/*.js",
    "<rootDir>/src/shared/**/*.js"
  ]
}

Current behavior
Only report coverage on the included files in the test.
Expected behavior
Coverage report should cover the whole project.
Steps to reproduce
fusion test-app --coverage
Your environment

fusion-cli version: 1.1.0

Node.js version (node --version): 8.9.4

npm version (npm --version): 5.6.0

Operating System: Mac OS

Great bug report, thank you for the code example!

Np!
I just realized that on my project too. I was so happy I got to 48% line coverage until I realized that it's just what I've included in the test.
Looked around online and finally fixed it with some tweaks on the report coverage combination and jest collectCoverageFrom, and voila, 14% line coverage now 😄 😄 😄


Fix panics. Fix computation of median lifetimes in activity report.

LGTM. Will merge once test pass. (Had to restart Darwin)

It's server-side only. We don't care about anything but Linux :-)

Something that was recently added to the dominator library is linux specific ..
/Dominator/lib/net/bind.go:234: undefined: syscall.TCP_KEEPINTVL
../Dominator/lib/net/bind.go:239: undefined: syscall.TCP_KEEPIDLE
../Dominator/lib/net/bind.go:244: undefined: syscall.TCP_KEEPCNT
Need to make dominator net cross platform or remove this dependency

Yeah, I just noticed that. Will fix...

Fix pushed to Dominator. Build pending...
BTW: we can't remove that dependency since the logger depends on lib/srpc which depends on lib/net :-)

Build is fixed!


Multer crashes node (Cannot read property 'headers' of undefined)

Koa and multer cause node to crash because req.headers is undefined.
The error happens here (node_modules/type-is/index.js:93:13):
function hasbody (req) {
  return req.headers['transfer-encoding'] !== undefined ||
    !isNaN(req.headers['content-length'])
}

My simple node code:
const router = require('koa-router')()
const multer = require('koa-multer')
const upload = multer({ dest: 'uploads/' })

router.post('/files', upload.any(), function (next) {
   console.log(this.request)
   this.body = 'done'
})

When a the multipart request arrives at the endpoint, this error is thrown:
API Error { TypeError: Cannot read property 'headers' of undefined
    at hasbody (/Users/John/test/node_modules/type-is/index.js:93:13)
    at typeofrequest (/Users/John/test/node_modules/type-is/index.js:127:8)
    at multerMiddleware (/Users/John/test/node_modules/multer/lib/make-middleware.js:18:10)
    at Promise (/Users/John/test/node_modules/koa-multer/index.js:32:33)
    at Object.<anonymous> (/Users/John/test/node_modules/koa-multer/index.js:31:14)
    at Object.dispatch (/Users/John/test/node_modules/koa-router/lib/router.js:329:52)
    at next (native)
    at onFulfilled (/Users/John/test/node_modules/co/index.js:65:19)
    at /Users/John/test/node_modules/co/index.js:54:5
    at Object.co (/Users/John/test/node_modules/co/index.js:50:10)
    at Object.toPromise (/Users/John/test/node_modules/co/index.js:118:63)
    at next (/Users/John/test/node_modules/co/index.js:99:29)
    at onFulfilled (/Users/John/test/node_modules/co/index.js:69:7)
    at /Users/John/test/node_modules/co/index.js:54:5
    at Object.co (/Users/John/test/node_modules/co/index.js:50:10)
    at Object.toPromise (/Users/John/test/node_modules/co/index.js:118:63)

Does this have to do with Koa changing req to this.request?

For anyone stumbling upon this, I also had this error and it's because I was using koa-multer 1.x with koa 1.x. For those using koa 1.x, you need to use koa-multer 0.x


Add support for NodeJS-style require

This makes it easier to integrate with tools that use NodeJS packages, like webpack and browserify. This also makes the style of this package consistent with native Angular packages distributed through npm, e.g.
angular.module('myApp', [require('angular-cookie')]);`

Thanks


Fix #1077 : Solve the bad route selection based on acceptType.

Try to fix #1077
I am not sure whether it is a bug, because it is tagged as Bug ..?, but I think it conflict with the documentation, so I try to fix it.
In short, we expect the input with empty acceptType will match any possible types as follows:
curl -i -H "Accept: application/json" http://localhost:4567/hello : Hello application json
curl -i -H "Accept: text/html" http://localhost:4567/hello : Go Away!!!
curl http://localhost:4567/hello : Hello application json
Now the first and second are right, but the last command will get output: Go Away!!!
I think it is not reasonable because the empty acceptType should match every possibilities and use the earliest match principle, it should match the first possible acceptType.
So I change the codes to match "/" with the earliest acceptType.
Co-Authored-By: Bugjudger https://github.com/Bugjudger

There are some mistakes and I will try it again for some reasons


Migrate session store

will accept we keep session store state in containers since migrating session store client is too much of a hassle it seems


simplify mdf_reader.codetables

Current state
There are many duplicated json-files in mdf_reader.code_tables.
Possible solution
Clean up  mdf_reader.code_tables.

done in #65


Consider moving the theme into its own git repository

What is the motivation for adding / enhancing this feature?
Upgrading upstream changes from the default theme into a project specific custom theme is painful manual work. How about simply moving the default theme into its own git repository? Custom themes could be forked from it, and then upgraded simply by doing a git pull from upstream repository.
It would even be possible to extract the theme without losing the commit history. See: https://help.github.com/en/articles/splitting-a-subfolder-out-into-a-new-repository
Can you complete this feature request by yourself?

[ ] YES
[X] NO

I don't have permission to create new repos under DivanteLtd. I could however do the splitting if someone else creates the repo.

Most likely there are some dependency issues, that would need to be solved in order for this to work?

This is (maybe?) a bit off topic, but how are themes meant to work with multistore sites?
Does VSF already support having a separate theme for each storeview? So the config file would have separate entries for each:
storeViews.en.theme = 'theme-left-to-right' // English
storeViews.ar.theme = 'theme-right-to-left' // Arabic
I just started wondering, if it indeed is possible to define a separate theme for each storeview, having a separate repo would indeed be a good idea. Different branches from the theme repo could be installed into separate directories within VSF, and then enabled for specific storeviews.
All store specific themes would share all basic components from upstream, site specific stuff from some site base branch, and then would have storeview specific customizations in their own branches.
Changes would flow downstream like this:

Upstream (default theme) ->

Site base theme ->

Storeview theme A
Storeview theme B
...

@juho-jaakkola hey, thanks for your feedback. Fortunately this is exactly what we're working on for version 2.0  along with moving core to npm and multistore capabilities you mentioned ;) Stay tuned