(GH-2436) Document OpenSSH config options used by Bolt

This adds a section to the Bolt transport configuration reference page
documenting which OpenSSH configuration options are picked up by Bolt.
OpenSSH configuration takes lowest precedence of all Bolt configuration,
so is overridden if values for corresponding configs (like port) are
conifgured in Bolt. These options are read, parsed, and applied by the
net-ssh library we use.
I got this list from https://github.com/puppetlabs/bolt/pull/1588/files and verified that the Net::SSH::Config class hasn't changed since that writing.
Closes #2436
!no-release-note

https://github.com/puppetlabs/bolt/commit/5d52ded288cabfa191d1a4e59c85097b514babbb Original PR


recursive json objects and arrays, debug info

I was having unknown issues with my mock definitions.
This adds the error to the output in a couple of spots to ease debugging.
This adds some debugging logging. If env var DEBUG=true then you will get the additional logs.
This also adds a recursive step to allow the same evaluation to nested json objects and arrays.

Hi @jdietrich-tc  many thanks for your contributions.
I was wondering if we could split this PR into three:

One with the new feature you added with its tests and the updated readme, adding you as a contributor of course :-)
The second with the comments reformat.
The third with the debug extra info.

Regarding the debug extra info, rather than use it only in one file and add a lot of if DEBUG what do you think about adding a wrapped fmt.Printf something like debug.Printf() or Dprint() that only prints if the DEBUG env is true, I think will keep the code more clean and simple for future uses in other files.

Will open 3 new PRs


Error "Waiting for DNS-01 challenge propagation: dial udp: address udp/53': unknown port"

The deployment was working okay suddenly the certificate is not working. It is throwing an error

Cert manager controller logs:

Extra args passed

Helm chart details:

The cluster is running on Talos on AWS EC2 instance. Double checked all the security group and everything looks okay as the same infra is running okay on Dev environment.

also seeing this.

For some unknown reason the Deployment args became the following (see multiple single quotes):
    spec:
      containers:
        - args:
            - '--dns01-recursive-nameservers=''<IP_ADDRESS>:53'''

I updated the flag to the following and propagation succeeded:
spec:
  containers:
    - args:
        - '--dns01-recursive-nameservers=<IP_ADDRESS>:53'


Help Needed: How to markdown @mention like this [@xyz1234]

Hi @jpuri ,
I need your help regarding markdown of @mention and #tags.
As per your documentation i have implemented the code. and I am getting this kind of output.
INPUT text in draftjs Editor:

Hi @juliandoesstuff  and @nikgrafs , wish you #happynewyear 2018.

OUTPUT text in markdown format:

Hi@juliandoesstuff  and@nikgrafs , wish you#happynewyear 2018.

But as per my project requirement,
EXPECTED Output in markdown format should be like this:

Hi [@juliandoesstuff] and [@nikgrafs] , wish you #happynewyear 2018.

Note:

at mention should be enclosed with square brackets []
hash tag should be plain text

Please help me,  how I can customize the mention and hash tags.
my code is mention below:
My Editor
<Editor  placeholder="Write a comment..." editorState={that.state.editorState}   onChange={that.onChange}   plugins={plugins} ref={(element) => { that.editor = element }}/>
My Button
<button onClick={that.showMarkdown}>MARK DOWN</button>
Function to generate markdown
`showMarkdown=()=>{
var draftRaw = localStorage.getItem('content');
let hashtagConfig = {
trigger: '#',
separator: ' ',
}
let markup = draftToMarkdown(JSON.parse(draftRaw), hashtagConfig );
console.log("markup :",markup);
}`

Separator should be space character and not string of length 0. I think fixing that will fix the issue.

Hi @jpuri ,
Thanks for quick response. Hash tag issue is resolved . But now how to markdown my mention tags as per desired format. see my attached screenshot.

It should already do this except for @ https://github.com/jpuri/draftjs-to-markdown/blob/master/js/index.js#L48

Hi @jpuri ,
Yes mentions are working as specified in module.  But can you help me to modify the mention output
from;
Hi @juliandoesstuff and @nikgrafs , wish you #happynewyear 2018.
to (mention should be enclosed with square brackets)
Hi [@juliandoesstuff] and [@nikgrafs] , wish you #happynewyear 2018.
I have created one live code for you specially. Please have a look. (working example)
https://codesandbox.io/s/q3p9ww4w6j

Hi @jpuri ,
Alright I have achieved my expected output bypassing your generated markdown output from the given below regex code;
var draftRaw = localStorage.getItem("contentState");
let markup = draftToMarkdown(JSON.parse(draftRaw));

//Generated  markup = Hi @juliandoesstuff and @nikgrafs , wish you #happynewyear 2018.;

const regex = /(^|\s)@([A-z,0-9]+)\b/gi;
const subst = `$1[@$2]`;
const result = markup.replace(regex, subst);

console.log("markup :", result);

//Expected output markup = Hi [@juliandoesstuff] and [@nikgrafs] , wish you #happynewyear 2018.;

Updated working example
https://q3p9ww4w6j.codesandbox.io/
Updated working code:
https://codesandbox.io/s/q3p9ww4w6j
Thanks for your help.


Allow -1 as valid amqpMinLargeMessage value

Extends acceptor.AMQPMinLargeMessageSize condition because acceptor.AMQPMinLargeMessageSize > -1 is not valid condition, since if not amqpMinLargeMessageSize is set, then 0 is be the default value.
Ref #717

@pabateman your PR LGTM, could you add the issue number to your commit message to fix the PR check failure?
i.e.
[#717] allow -1 as valid amqpMinLargeMessage value

Sure!

@pabateman thanks for your contribution!


Redefine Macros in Makefile

Redefine OPERATOR_NAME and OPERATOR_NAMESPACE  macros in Makefile.
Add mew target, bundle-cleanup, for removing a bundle installed via bundle-run target.

/test 4.15-openshift-e2e

/test 4.15-openshift-e2e

Nice commits re-organization :clap:
/lgtm

/retest


Broken link to NUG Definition of Coordinate Variables

Hello all,
While searching for defining characteristics of a coordinate variable versus a geospatial variable, I found this issue. I marked it as a defect. My search also brought me to related issue #174, which seems to not have been resolved yet.
Hyperlink to the NetCDF Users Guide (NUG) Definition of coordinate variable is broken
Technical Proposal Summary
The aforementioned broken link,
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf_data_set_components.html#coordinate_variables
should be replaced with the working link
https://www.unidata.ucar.edu/software/netcdf/documentation/NUG/_best_practices.html#bp_Conventions
Benefits
Removal of broken link
Status Quo
The current stable CF Document, version 1.8, section 1.2 defines a coordinate variable and provides a hyperlink to the NetCDF Users Guide (NUG) definition of a coordinate variable in the following block:

coordinate variable
We use this term precisely as it is defined in the NUG section on coordinate variables. It is a one-dimensional variable with the same name as its dimension [e.g., time(time) ], and it is defined as a numeric data type with values that are ordered monotonically. Missing values are not allowed in coordinate variables.

Said link is broken and returns a 404 error.
Detailed Proposal
Replace broken link with working link as detailed above.

@daltonkell thanks for pointing this out. According to the rules for correcting errors defects such as this should be merged automatically after a proposed change if nobody objects after being given the opportunity to do so for 3 weeks.
That being said, I checked the links in your issue and don't get a 404, so I don't see what this defect would correct. Am I looking at the right part of the document (Section 1.2, link in entry "coordinate variable")?

@erget Well that's a pleasant surprise! When I had submitted this issue, the link was broken on the 1.8 stable version and 1.7 version. I just checked 1.9, 1.8, and 1.7 and it seems that the Unidata link is no longer returning a 404 error, which is great news, so I'll close this one out. Thanks for the attention 👍


Some sounds drop fairly soon after playing

In my app, I noticed the kick drum would sometimes drop, and no longer work until I restarted.
This seems to be happening in r12 and r13.  Haven't had it in r11 yet.
I happened to stumble on a fairly reliable case.
To recreate it, go to my jsfiddles below, and replace the drum pattern with this: K|K|S||K|K|S
Solo the drums, play, and the kick stops working after about 10-25 seconds.
(In my developing app running locally, it seems to fail after exactly 3 kicks, very reliably.)
R11: https://jsfiddle.net/Ecafracs/9una8zbt/
R12: https://jsfiddle.net/Ecafracs/r62ub31k/
R13: https://jsfiddle.net/Ecafracs/stq8udL2/
Interestingly enough, variations to this pattern don't seem to break as quickly as this one.  Tone must really hate the basic rock beat. ;-)

lol. tone tries to keep an open mind about all the beats people might make :)
Ok i think i identified a problem where the underlying oscillator was being turned off in some situations. pushed a change yesterday which seems to have fixed this issue: https://jsfiddle.net/w81s6kyx/
For the future, please pair down your example as much as possible to just the part of the code which exhibits the issue, it'll help me debug it much faster.


Do not manage the version of facter used for testing

Pull Request Checklist
This allows testing to use the ruby based facter so it can run. Without
this patch, tests cannot use facter 3 and will fail.
Description
Remove facter bits from Gemfile
Related Issue
PR #977 is failing and this PR is meant to fix that.

The facts we use come from facterdb and the version of facter facts used is hardcoded at 3.8.0:
https://github.com/sensu/sensu-puppet/blob/sensu2/spec/classes/backend_spec.rb#L4
The version of facter loaded should have little to no impact on class unit tests.  There may be some behavior changes with unit testing the sensu_version fact.

Looks like RPM based acceptance tests are having issues, something unrelated to this PR.

Puppet RPMs are broken.  They now install GPG key to /etc/pki/rpm-gpg/RPM-GPG-KEY-puppet5-release but the repo file still references /etc/pki/rpm-gpg/RPM-GPG-KEY-puppet5.  I've brought this up on Puppet Slack.

Puppet fixed RPMs and tests now pass.


use correct project for openshift build

This change is

fixes #1093
should be back ported to 1.3

fixes #1093
should be back ported to 1.3


Auto-Scrape

Have an option to select a game folder and it will check all games and scrape them. Not just one but all games

You can already do this, select categories.


Update files for 1.7

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@JimmyCYJ: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.7
b5ee2c05fc45642760b81546277cfa942a1685c8
link
/test release-notes_istio_release-1.7

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

@JimmyCYJ: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.7
22791b1d3e7e6760f927d52f79d22d4b8a914c1e
link
/test gencheck_istio_release-1.7

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

@JimmyCYJ: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.7
22791b1d3e7e6760f927d52f79d22d4b8a914c1e
link
/test gencheck_istio_release-1.7

unit-tests_istio_release-1.7
22791b1d3e7e6760f927d52f79d22d4b8a914c1e
link
/test unit-tests_istio_release-1.7

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

@JimmyCYJ: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.7
22791b1d3e7e6760f927d52f79d22d4b8a914c1e
link
/test unit-tests_istio_release-1.7

gencheck_istio_release-1.7
76d28502c9738208ce0c7fb31fe3b319e632c032
link
/test gencheck_istio_release-1.7

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

@JimmyCYJ: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.7
76d28502c9738208ce0c7fb31fe3b319e632c032
link
/test gencheck_istio_release-1.7

unit-tests_istio_release-1.7
76d28502c9738208ce0c7fb31fe3b319e632c032
link
/test unit-tests_istio_release-1.7

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


initialy loads urls as [object Module]

Description
At the initial screen render, img's src are loaded as "[object Module]"

Problem disappears if you try to edit a file and save it, so page hot-reloads and reappears after usual page reload.
How to repeat
https://github.com/laSinteZ/nuxt-svg-bug
yarn
yarn dev

Look at the broken link, try editing nuxt page, try reloading page.

I'm sorry for the delay on solving this, I'll be able to get to this later this week.


An user should have an easy way to verify a circuit is compatible with a target backend

What is the expected feature or enhancement?
If I am given a circuit, I would like an easy way to verify if it is, or is not, compatible with a given backend.
Tket has such functionality: https://tket.quantinuum.com/api-docs/backends.html#pytket.backends.Backend.valid_circuit and it would be nice to include it here as well.
Acceptance criteria
There is an easy way to verify a circuit will run on a target backend.

I'll take a look into this. I'm assuming we could evaluate the instructions present in the circuit, as well as the parameters bound to them, with the Target's instruction_supported method.

This is what's done in qiskit-ibm-runtime, you can copy from there (up to a potential bug).

Fwiw, we have the GatesInBasis transpiler pass, which is most of the logic of the ask here already:
from qiskit.transpiler.passes import GatesInBasis

def is_supported(circuit, target):
    pass_ = GatesInBasis(target=target)
    pass_(circuit)
    return pass_.property_set["all_gates_in_basis"]

(or something like that).  Maybe the next step of discussion is whether this can be done purely by documentation, or if there should be a helper function, and if so, what its API should be.

Thanks @jakelishman, does the pass take into account also connectivity?

Yeah, if the input is a Target we check things precisely.  It also handles control-flow, etc.

@jake-lishman I'm not familiar with the DAG representation that the pass is using. In qiskit-ibm-runtime we skip instructions with calibrations: https://github.com/Qiskit/qiskit-ibm-runtime/blob/157233c731433067f6e2860b7795d8fd14efcf0d/qiskit_ibm_runtime/utils/utils.py#L63.
Will the pass do something equivalent?


StudentsImporter: Workaround upstream data quality bug for Bedford

Who is this PR for?
Bedford educators
What problem does this PR fix?
One Bedford educator reported not all students were appearing on the school roster page.  In looking at this, it appears there are three separate issues interacting.
First, the Bedford export scripts are exporting "Not Eligibile" (with typo) for the free_and_reduced_lunch field.  This results in a violation of the Insights validations, and the record is not imported.  This is a bug upstream in their data systems or the export code.
Second, the RecordSyncer in Insights handles incoming validation failures by not marking the record as synced (see comments in #validate_mark_and_sync).  This is intentional, and I think still what we want here, but can result in large numbers of records being removed if the validation changes or there are upstream data quality issues.  We log stats on this, but there's no monitoring of large changes here (like this case where the logs show :validation_failure_counts_by_field=>{:free_reduced_lunch=>1052}).
Third, for Bedford StudentsImporter marks student records that are missing from the current export with missing_from_last_export: true.  This will happen if the record is invalid and not marked.  While other importers would delete the record, StudentsImporter preserves these records, and doesn't currently handle cases where the Student record is marked as missing, but then comes back.  This meant that in order to address this issue for Bedford, I manually flipped missing_from_last_export for these records, but this should be handled by the import process.
What does this PR do?
Adds a mapping to work around the upstream data quality bug for now.  We can resolve the upstream error with Bedford staff separately.
A separate PR, https://github.com/studentinsights/studentinsights/compare/patch/missing-from-last-export-students-importer?expand=1, updates StudentRow to set missing_from_last_export: false for imported rows, depending on the export setting for the district.
Checklists

[x] Core student data

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

[x] Included specs for changes

selfie


Unable to delete comments on functionalities part

Problem description: Unable to delete comments on functionalities part
Actual Result:

Go on functionalities tab
Click on the pencil to edit a feature (Take a feature that already a comment)
Delete the comment and click on save button
Comment is not deleted ==> Video Here

Expected Result:
Comment must be deleted

Hi @TroyonGuillaume !
Thx for your issue ! I can still reproduce this behavior in version 4.0.0 of ARA.
I'll start the fix of it and it will be included in version 4.1.0 :)
dktsni

It seems, that in the backend and database, the comment is correctly deleted, but what leads you to the fact it isn't, is that the frontend isn't refreshed automatically.
If you refresh it manually, you'll see that the comment is deleted.
PR on the way.

Fix implemented in version 4.1.0


Gua 220 fixes to ci

Three quick changes:

Extend conditionality to the create oidc provider (following github docs)
Tiny refactor to put amazon region at the top
add aud to trust policy
Finally it seems we couldn't find the secret because we weren't telling the job to run in the right env.

These have been SAM deployed and checked within AWS.

I have extremely cheekily turned off branch protection and will merge this one... someone can tell me off later.


Use extension methods to clean up Web Program.cs file

Addresses #34

Thanks!

@ardalis We can close this one


node issue

Hi thx for these tool,
i try to write an simple node-server example, but got an node issue on linux system, maybe someone could help.
Cant find any documentation, how to use Resemble.js.
node-version: v8.9.4
ISSUE
Unhandled promise rejection (rejection id: 2): Error: Cannot find module 'canvas-prebuilt'
(node:11924) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:11924) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Invalid ignore: nothing

CODE
const compareImages = require('resemblejs/compareImages');
const fs = require("fs");
const Canvas = require("canvas");

async function getDiff(){

  const data = await compareImages(
    await fs.readFileSync('./image1.png'),
    await fs.readFileSync('./image2.png'),
  );

 const buffer = data.getBuffer();

 console.log(data.isSameDimensions, buffer.length);
}

getDiff();

similar issue here:
(node:32005) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: The module '.../node_modules/canvas-prebuilt/canvas/build/Release/canvas.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 51. Please try re-compiling or re-installing
the module (for instance, using npm rebuild ornpm install).
(node:32005) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
although, it finds canvas-prebuilt / canvas.node. but it has an issue with node versions. I switched to nearly every possible version I got from nvm and did reinstall... nothing helped!

I am not sure if this helps but since I have had similar problems it may works for you @stephanfriedrich .

update npm and node
delete your node_modules folder
force clear npm cache
fresh npm install

Closing ticket, assuming it's a Node build issue


Implements pagination on the availability page.

Allows the user to schedule their availability for a month (4 weeks) ahead of the current day.

This is ready for another review.


Alien Shooter

I launched the game (Europe) and expansions not working. It's trying to take me to PS Store

You did something wrong then

I wrote all the lines, uncomment europe version, rebooted taihen config and launched the game


Cannot read property 'configure' of null

Hi, i have this error when importing Exponea
ERROR  TypeError: Cannot read property 'configure' of null, js engine: hermes
import Exponea from 'react-native-exponea-sdk';
const exponeaConfiguration = {
  projectToken: 'your-project-token',
  authorizationToken: 'your-authorization-token',
  baseUrl: 'https://api.exponea.com',
};
async function configureExponea(configuration: Configuration): Promise<void> {
  console.log('Start configuring Exponea SDK...');
  try {
    if (!(await Exponea.isConfigured())) {
      console.log('Configuring Exponea SDK...');
      Exponea.configure(configuration);
    } else {
      console.log('Exponea SDK already configured.');
    }
  } catch (error) {
    console.log(error);
  }
}
configureExponea(exponeaConfiguration);

"react-native": "0.72.4",
"react-native-exponea-sdk": "1.8.0",

Found out that sdk wasn't linking properly, manual linking solved the problem

Manual linking on iOS worked, but on Android doesn't work. Maybe i'm doing something wrong?
settings.gradle
include ':react-native-exponea-sdk'
project(':react-native-exponea-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-exponea-sdk/android')

app/build.gradle
implementation 'com.exponea.sdk:sdk:3.14.0'
MainApplication.java
import com.exponea.sdk.Exponea;
import com.exponea.sdk.models.ExponeaConfiguration;

here i'm trying to init Exponea, but i get an errors "cannot find symbol init()" or "Exponea is private" so i actually cannot call it in any way
Exponea exponea = new Exponea();
ExponeaConfiguration configuration = new ExponeaConfiguration();
Exponea.init(this, configuration);

when trying to import com.exponea.ExponeaPackage;
i get an error about "cannot find symbol"
If i remove Exponea init in MainApplication.java, i can build android app, but i get immediately an error from the first message above. It disappears, when i remove import Exponea from 'react-native-exponea-sdk';

Hi @radekzz,
Can you tell us more about how your environment is set up? I am curious mainly about why automatic linking doesn't work for you. Could you check the example app inside the repo and compare how the setup differs from yours? Thanks.

At the end it turned out that i was combining Android SDK and react-native-exponea-sdk, as there is no troubleshooting in this package.
If i use only yarn install react-native-exponea-sdk it doesn't allow me to build the android and also ios project due to errors.
I had to do the steps i described above.
Now it work and i can build both apps and access Exponea from import Exponea from 'react-native-exponea-sdk';
However now i have another problem with Bitrise failing on AuthorizationProvider:
> Task :react-native-firebase_analytics:generateReleaseRFile
> Task :react-native-exponea-sdk:compileReleaseJavaWithJavac FAILED
/Users/vagrant/git/apps/mobile/node_modules/react-native-exponea-sdk/android/src/main/java/com/exponea/RNAuthorizationProvider.java:3: error: cannot access AuthorizationProvider
import com.exponea.sdk.services.AuthorizationProvider;
                               ^
  bad class file: /Users/vagrant/.gradle/caches/transforms-3/dc8155b2e996409b0e29fe79ea29cbc3/transformed/jetified-sdk-3.14.0-api.jar(/com/exponea/sdk/services/AuthorizationProvider.class)
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/vagrant/git/apps/mobile/node_modules/react-native-exponea-sdk/android/src/main/java/com/exponea/RNAuthorizationProvider.java:5: error: cannot find symbol
public interface RNAuthorizationProvider extends AuthorizationProvider {
                                                 ^
  symbol: class AuthorizationProvider
2 errors

It's probably caused by Bitrise default Java version 11, but your SDK requires Java version 17.
Some troubleshooting section would be appreciated.

From your previous message, I am not quite sure if you are using SDK properly, initialization of SDK should be done on the React Native side and not directly on "Native" parts of your app as it is mentioned in the documentation. If there is problem to make it work recommended way, please let us know.

Did you manage to solve it? Can I close this issue?

@roland-misica It works after removing specific version in build.gradle
implementation project(':react-native-exponea-sdk')


Cumulative acknowledgement on batched acknowledgements produce unexpected behavior

Describe the bug
When the messages in a topic are batched, cumulative acknowledgments do not acknowledge messages as expected. Two behaviors arise when acknowledging a message in the middle of a batch:

A cumulative acknowledgment for the current message is not sent, instead, an individual acknowledgment for the previous message in the batch is sent.
If the consumer disconnects and reconnects at this point, the cursor picks up at the next batch instead of at the last acked message.

To Reproduce
Steps to reproduce the behavior:

Add messages to a topic with batching enabled
Create a consumer on the topic with ackGroupTime set to 0.
When a message is received, expose the underlying BatchMessageIdImpl on the MessageId to know where the message is in a batch.
If the message is in the middle of a batch, call a cumulative ack on it, then on return close the consumer and restart it on the same subscription.

Expected behavior
The pulsar consumer should send a cumulative acknowledgement for the correct message id. On disconnect, when a cumulative acknowledgment has been sent for a message in the middle of a batch, the consumer should start receiving messages from that point, not from the next batch.
Desktop (please complete the following information):

OS: linux

I want to add a similar behaviour:
Let's say we have 10 messages in a batch sent by some producer, also we have MaxRedeliverCount is 1. Consumer acked 9 messages and 1 nacked.
Current behaviour
All 10 messages will be redelivered which will lead to double processing of 9 messages.
Expected behavior
Only 1 message should be redelivered

I think this issue can be addressed by batch-index level acknowledgment. @codelipenghui can double-check.

Closed as fixed.


Text selection issues

There is a huge problem in text selection that was a bit smoother with enhanceTextSelection. Now that it's gone, is there any intention of working on enhancing this? It's clearly problematic to select any text where there are white spaces in the document.
The example I show is a good PDF in the demo provided by the lib itself, other PDFs tend to go even worse behavior.
Attach (recommended) or Link to PDF file here:
https://mozilla.github.io/pdf.js/web/viewer.html
Configuration:

Web browser and its version: Chrome Version 107.0.5304.87 (Official Build) (x86_64)
Operating system and its version: MacOS 12.6
PDF.js version: 3.1.71 (the one provided in the site demo https://mozilla.github.io/pdf.js/web/viewer.html)
Is a browser extension: no

Steps to reproduce the problem:

Try to highlight anything passing through empty areas

What is the expected behavior? (add screenshot)
To not start selecting random portions of text.
What went wrong? (add screenshot)

I noticed the same problem. Is there a workaround for this issue or is there a plan to fix it ?

how did you solve this issue  please help


multiple gpu is not  as fast as I imagine when run train_minst.py

I found 4 gpus is not as fast as I imagine when run on my data,the speed ratio only can be up to 1.5。
My network is mlp,no any convolution.
So I tried to run minst datas in example folders.But when run it ,4 gpus are the same as single gpu.
Is it a issue?How can it make possible to accelerate when using 4 gpus.

small networks doesn't benefit from multi gpu due to communication cost. Try bigger networks like inception or use a very large batch size

I have tried bigger networks and bigger batchsize in my work.But the speed raito is only 1.5.And I've tried to debug using nvprof command.
Here is the 1 gup output
==13156== API calls:
Time(%)      Time     Calls       Avg       Min       Max  Name
43.77%    5e+03s    522660  9.1269ms  20.472us  106.29ms  cudaMemcpy2DAsync
38.15%    4e+03s   9002163  461.91us  8.8080us  100.61ms  cudaLaunch
15.21%    2e+03s   6941616  238.85us  2.9410us  3.8387ms  cudaStreamSynchronize
1.97%  214.897s    234840  915.08us  16.025us  85.512ms  cudaMemsetAsync
0.31%  34.2274s  59479312     575ns     171ns  10.093ms  cudaSetupArgument
0.21%  22.6694s  11272351  2.0110us     433ns  1.2894ms  cudaSetDevice
0.10%  10.8445s   1369878  7.9160us     760ns  6.6984ms  cudaEventRecord
0.09%  9.89906s   9002163  1.0990us     221ns  4.7842ms  cudaConfigureCall
4gpus output
==53185== API calls:
Time(%)      Time     Calls       Avg       Min       Max  Name
66.79%    5e+03s   9605552  532.99us  7.6460us  463.35ms  cudaMemcpy2DAsync
22.27%    2e+03s  16494176  103.51us  3.0010us  2.1129ms  cudaStreamSynchronize
7.53%  577.109s  16699600  34.558us  9.3840us  446.26ms  cudaLaunch
1.08%  83.0077s  1.54e+08     537ns     176ns  1.5361ms  cudaSetupArgument
0.86%  66.0404s    939360  70.303us  13.680us  442.35ms  cudaMemsetAsync
What is the bottleneck from the above output?cudaStreamSynchronize?
Can it pipepline between copy data from cpu to gpu and gpu compution?
@piiswrong

try examples like cifar or imagenet, you will likely to get a better speedup

I‘ve run cifar,The speed ratio is 3.Seem better speedup.
4gpus:Time cost=40.951
1gpus:Time cost=122.265
So gpu accelation can only be fit to conlution layers?
Could you help to give some advice why my mlp network can't speedup.How can I debug?
@tqchen

Usually it depends on communication cost(parameter size) vs computation.
If it takes more time to copy the parameters than computation, you cannot get speedup.  This is what happens in the mlp case
For speeding up data parallel code in MLP mechanisms like gradient compression will be needed, but not yet available in mxnet.

So what u mean is that mxnet havn't supported pipeline between communication and computaion yet?
Can it possbile to support it in future?
BTW,how can I get the time about copy the parameters and computation?And commands?
I can't get it by nvprof command.
@tqchen

It support the overlapping of communication and computation. But the case
is when communication costs more than computation, it can slow things down
On Thu, Jun 9, 2016 at 10:20 AM liumilan<EMAIL_ADDRESS>wrote:

So what u mean is that mxnet havn't supported pipeline between
communication and computaion yet?
Can it possbile to support it in future?
BTW,how can I get the time about copy the parameters and computation?And
commands?
I can't get it by nvprof command.
@tqchen https://github.com/tqchen
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/issues/2363#issuecomment-224965139, or mute
the thread
https://github.com/notifications/unsubscribe/ACdUIAT1B5M2XHdnZ03mvEj0xcHnM6SIks5qKEtugaJpZM4Ivpqc
.

how can I can get the communication costs durning trainning in mxnet?
Could u give me some commands?
@tqchen

unfortunately we do not have the exact code to get the cost on the communication side due to the async nature of the two operations

I'd like to make sure one things.
does mxnet support pipeline between cpu copy data to gpu and gpu computaion default? or does it need to add some configuration in mxnet code?
@tqchen

yes, make sure everything starts in mxnet's array, then everything will happen concurrently

hi,tianqi
i have tried to do more experiment. There are costs during one epoch in every case as below:
Time cost=164.686  1 machine 1gpu
Time cost=81.730    2 machine 1 gpu
Time cost=121.668  1 machnine 2gpus(gpu0,gpu1)
Time cost=117.28     1 machine  4gpus
And 2 gpu ,the ratio can be 1.35,it seemed also ok.
And 4gpus,the ratio is the same as 2 gpus.
And 2 machine 1 gpu, the ratio can also be reduced to half.I guess it is becasue every machine load half data,so the time should be reduced.
But why it can't be occured in 4gpus? every gpu has also load its data in fact.
as you pointed copy parameters will take some time.And 2 machines also need to take some time?
Could you give me some more explanation? i am still so confused.
@tqchen

i think i find the root.
The root cause is nothing to do with parameters copy and computaion.This time are only take 10% in my network.The most of time are taken in io read in this funtion for data_batch in train_data:
The time in 4gpus is the same as 1 gpu .But in face 4gpus ,every gpus load 1/4 data,it should be reduce to 1/4 when io reading.
Could you give some more advice on this?Is it possible to optimize it?
@tqchen


feat(zone-egress): Added information about zone egress in standalone mode

Added documentation on how to setup ZoneEgress in standalone mode. Currently, we have documentation on how to configure ZoneEgress only in the Multi-zone setup but after the test, it looks that it also works for standalone mode.

Also you should really backport this change with ./backport.sh dev 1.5.x as it applies to both.


Update plotting.py

handle padding, when pie_im width is smaller than summary_im

Thanks for the fix!


Fix potential decoding and reencoding issues in query params when using SimpleHostRoutingFilter

Follow up of https://github.com/spring-cloud/spring-cloud-netflix/pull/1409, fixes https://github.com/spring-cloud/spring-cloud-netflix/issues/971. Sorry for the noise with the closed PR.

Current coverage is 74.39% (diff: 92.85%)

Merging #1464 into master will decrease coverage by 0.01%

@@             master      #1464   diff @@
==========================================
  Files           191        191
  Lines          5907       5912     +5
  Methods           0          0
  Messages          0          0
  Branches        886        888     +2
==========================================
+ Hits           4395       4398     +3
- Misses         1192       1194     +2
  Partials        320        320

Powered by Codecov. Last update aec8ec4...1f7404c

I've added more documentation and fixed the formatting issues @ryanjbaxter, english is not my mother tongue so feel free to comment some more :)

Did you have a chance to look it again @spencergibb ? Thanks :)

Not yet, but I plan to soon.


PumpOneSidedRDMATransactions 'putOp' undeclared on Cray GNI

Original author: Jim Phillips (@jcphill)
Original issue: https://charm.cs.illinois.edu/redmine/issues/1891

On gemini_gni-crayxe-persistent-smp:
../bin/charmc  -optimize -production   -I. -o machine.o machine.c
In file included from machine.c:4663:0:
machine-onesided.c: In function 'PumpOneSidedRDMATransactions':
machine-onesided.c:302:18: error: 'putOp' undeclared (first use in this function)
free(putOp);
^

Original date: 2018-05-01 18:55:15

Fix: ~~https://charm.cs.illinois.edu/gerrit/#/c/charm/+/4092/~~ https://github.com/UIUC-PPL/charm/commit/dd38b668429c32b24141b7c2656c15ffe99b6f38


Error while installing node v12.2.0, npm 6.9.0

It was node version problem, I used node version 10.16.0 it's working fine.

Error message : ../src/FindGitRepos.cpp:155:58: error: too few arguments to function call, single argument 'context' was not specified
Newv8::FunctionTemplate(FindGitRepos)->GetFunction()
Sorry, but I still getting this error message, with your specified node version. Could you let me know of the other changes you tried?

Sorry, but I still getting this error message, with your specified node version. Could you let me know of the other changes you tried?

@manukashyap, see #5.


Extension causes high cpu load

Issue Type: Performance
Extension Name: sublime-keybindings
Extension Version: 4.0.3
OS Version: Linux x64 5.0.0-25-generic
VSCode version: 1.37.1

:warning: Make sure to attach this file from your home-directory:
:warning:/home/claquirou/ms-vscode.sublime-keybindings-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

hi!  it doesn't look like you've attached the cpu profile, can you upload?


Basics of allowing a promo to be attached to an installment and being…

… applied at order charge time.

Obviously in no way finished but here is a proposal for how we can begin to address https://github.com/solidusio-contrib/solidus_subscriptions/issues/8.
If we're happy with the approach I'll finish this off with clean code, controller end points and specs.


Failed to create partition error in realme 9 4g

I don't why I cannot install gsi in my mobile using dsu sideloader with Root and also without root.Does anyone know how to resolve this issue

Can you send installation logs? with that we can analyze this problem further

I don't know how to know or capture installation logs file Can you give me some instruction. But when I am installing latest version dsu sideloader it is force stop.When i resolve it says failed to create partition

Hey my dsu sideloader app is not working now it is crashing after set up after just clicking set up button. I have given it superuser rights still.I think I have flashed dsu in magisk any solution also installed dsu of different versions but after deleting the app and reinstalling the app and also removing the dsu from magisk flash it doesn't work.In other same mobile it is working

I always gave all superuser rights still after crashing it shows denied superuser rights


Updated README: Changed Loader option in the withAuthUser HOC to LoaderComponent

Hello.
What?
I changed Loader option in the withAuthUser HOC to LoaderComponent in the README Doc.
Why?
While using the package, using Loader didn't work. After checking out the Example application, I noticed that LoaderComponent was used instead.
Thanks.

Thanks for the fix!

Thanks for the fix!


Does Adding Data Build on Training?

I was wondering if I train a network using an initial data set and save the network to JSON.  Can I load the network from JSON then train the network using only new data and save that result to JSON?  Will the network after the new training be only the result of the new data or will it build on the previously trained network?
I have researched this question, but have found answers that are out of date or didn't clearly answer my question.

You need to include all the data each time you train for it not to start being overfit for the new data.


[BUG] Optional forgein key cause ReferenceError in ESM mode

Describe the bug
my project is run in ESM, I using Prisma create a  optional forgein key relation between two Model，after npx prisma migrate, then throw following error on start up project.
file:///Users/duwan/Workspaces/babelcloud/babel-agent/node_modules/.pnpm/@tsed+prisma@7.83.3_@prisma+client@5.20.0_prisma@5.20.0__@tsed+core@7.83.3_@tsed+di@7.83.3_@t_vf7jy3uhtsnnr6bz5e5qbyw76e/node_modules/@tsed/prisma/lib/.schema/models/ConversationModel.js:119
    __metadata("design:type", AssignmentModel)
                              ^

ReferenceError: Cannot access 'AssignmentModel' before initialization
    at file:///Users/duwan/Workspaces/babelcloud/babel-agent/node_modules/.pnpm/@tsed+prisma@7.83.3_@prisma+client@5.20.0_prisma@5.20.0__@tsed+core@7.83.3_@tsed+di@7.83.3_@t_vf7jy3uhtsnnr6bz5e5qbyw76e/node_modules/@tsed/prisma/lib/.schema/models/ConversationModel.js:119:31
    at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
    at async loadESM (node:internal/process/esm_loader:28:7)
    at async handleMainPromise (node:internal/modules/run_main:113:12)

To Reproduce
model Conversation {
  id           String      @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
  assignmentId String?     @map("assignment_id") @db.Uuid
  assignment   Assignment? @relation(fields: [assignmentId], references: [id], onDelete: NoAction, onUpdate: NoAction)

  @@map("conversation")
}

model Assignment {
  id                String         @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
  conversations     Conversation[]

  @@map("assignment")
}

cause following error
file:///Users/duwan/Workspaces/babelcloud/babel-agent/node_modules/.pnpm/@tsed+prisma@7.83.3_@prisma+client@5.20.0_prisma@5.20.0__@tsed+core@7.83.3_@tsed+di@7.83.3_@t_vf7jy3uhtsnnr6bz5e5qbyw76e/node_modules/@tsed/prisma/lib/.schema/models/ConversationModel.js:119
    __metadata("design:type", AssignmentModel)
                              ^

ReferenceError: Cannot access 'AssignmentModel' before initialization
    at file:///Users/duwan/Workspaces/babelcloud/babel-agent/node_modules/.pnpm/@tsed+prisma@7.83.3_@prisma+client@5.20.0_prisma@5.20.0__@tsed+core@7.83.3_@tsed+di@7.83.3_@t_vf7jy3uhtsnnr6bz5e5qbyw76e/node_modules/@tsed/prisma/lib/.schema/models/ConversationModel.js:119:31
    at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
    at async loadESM (node:internal/process/esm_loader:28:7)
    at async handleMainPromise (node:internal/modules/run_main:113:12)

I found that if remove the '?' after String and Assignment as following, it will not cause the error.
model Conversation {

  assignmentId String     @map("assignment_id") @db.Uuid
  assignment   Assignment @relation(fields: [assignmentId], references: [id], onDelete: NoAction, onUpdate: NoAction)

}

Expected behavior
file:///Users/duwan/Workspaces/babelcloud/babel-agent/node_modules/.pnpm/@tsed+prisma@7.83.3_@prisma+client@5.20.0_prisma@5.20.0__@tsed+core@7.83.3_@tsed+di@7.83.3_<EMAIL_ADDRESS>...
__decorate([
    Property(() => AssignmentModel),
    Allow(null),
    __metadata("design:type", AssignmentModel)
], ConversationModel.prototype, "assignment", void 0);

if i change the secord AssignmentModel to Object manually, everything is well。
...
__decorate([
    Property(() => AssignmentModel),
    Allow(null),
    __metadata("design:type", Object)
], ConversationModel.prototype, "assignment", void 0);

Code snippets
No response
Repository URL example
No response
OS
macOS
Node version
v20.11.1
Library version
v7.83.3
Additional context
ESM mode

Hi @vangie
Thanks for the issue.
Metadata are generated by typescript not by the plugin, so how I supposed to fix that? Have you a recent typescript version?
See you

Hi @vangie Thanks for the issue. Metadata are generated by typescript not by the plugin, so how I supposed to fix that? Have you a recent typescript version?
See you

@Romakita
❯ npx tsc --version
Version 5.5.3

@vangie It seems to be solved by that:
  if (isRequired && !isList && !isNullable && hasCircularRef && ["inputObjectTypes", "enumTypes"].includes(location)) {
    hasCircularRef && !isList && field.model.addImportDeclaration("@tsed/core", "Relation", true);
    TSType = `Relation<${TSType}>`;
  }

But in this case, the code isn't generated as expected. You should have a Relation in the generated code.
See:
https://github.com/tsedio/tsed/blob/dfa942b3f891ba0fa9cc5c642f73633ca4db0dc9/packages/orm/prisma/src/generator/transform/transformScalarToType.ts#L44
Maybe the condition isn't correct in your case.

PR https://github.com/tsedio/tsed/pull/2864

:tada: This issue has been resolved in version 7.83.4 :tada:
The release is available on:

v7.83.4
GitHub release

Your semantic-release bot :package::rocket:

@Romakita My problem is resolved, Thanks!

:tada: This issue has been resolved in version 8.0.0-beta.10 :tada:
The release is available on:

v8.0.0-beta.10
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 8.0.0 :tada:
The release is available on:

v8.0.0
GitHub release

Your semantic-release bot :package::rocket:


⚠ Avatar API Endpoint has degraded performance

In a9bda76, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5120 ms

Resolved: Avatar API Endpoint performance has improved in 50271a6 after 6 minutes.


Convert short names of modules to the full name

Converted short names of modules to the full name to improve readability.
For example, from utils import dockerfile as df >> from utils import dockerfile.
Changed global variable dockerfile to dockerfile_global, because line
from utils import dockerfile as df was changed to from utils import dockerfile.
Resolves issue #29.

Thank you for your patience and for the help. I've amended the last commit, signed off on it and ran all the changes through PEP8. Is there anything else?

@vladn90 looks good. Thank you for taking the time!

Thank you and you're welcome. Glad I could help.


Missing MAINTAINERS file

I'm working on preparing the open source repositories for the new centralized maintainers file, but noticed this repository does not yet have a MAINTAINERS file.
I can create a PR to fix this, but I'm not sure who should be included as maintainer(s).
@konstruktoid @diogomonica are you the maintainers, of this project, or should I add other people here?
for reference, see docker/opensource#35 and docker/docker#18321

I guess me and @diogomonica are the mantainers, so it looks good to me.


SEO: Go through our URL parameters list

@sarawb: Do you know what our "URL parameters list" is? Is this a webmaster's tools thing, or something else?

Yep: https://support.google.com/webmasters/answer/6080548?hl=en

It seems to me that setting canonical URLs for all our content will do the trick. We don't have parameters in the way that this describes them — clothing sizes, colors, etc. In our case, I could see a parameter being something like "printable," but we don't use anything like that.

Going to relate this to #145

Reviewed the list, flipped appropriates switches for Google's clarification. Also updated robots.txt to disallow ?ACT URLs.


add text augmentor

add initial version of text augmentor + documentation as readme.md

Very nice. Thanks @sitongye

Perhaps you can put all code in a file called augmentation.py in the main package folder.

The .md file (documentation) should be at docs/source/.
Later we can build a Sphinx page from it.

Text_Augmentation_Class_Diagram.png can be at docs/source/imgs please

@sitongye I made some fixes

now there are "only" pylint issues remaining.
You can see them with pyling <filename>.
Maybe you can check them.

TODO

[ ] extend 3rd party libs file

Hey @sitongye
the static code checks are almost ok.
Can you please have a look at the last 2 inline comments I made?

rebased on main

I think the tests fail because it does not manage to install some pip packages. Maybe fasttext....

@PhilipMay I think it's that I imported "math" but did not use it. last time the imports of libraries did not throw a problem. I will use this afternoon to check it and also test the functionalities

@PhilipMay I think it's that I imported "math" but did not use it. last time the imports of libraries did not throw a problem. I will use this afternoon to check it and also test the functionalities

For some reason spacy has problems to be installed. Now that I removed it the tests pass but only the linting has some issues. When spacy is in optional dependencies it does not even install in the CI pipeline.

rebased on main

I think fairseq has issues with py 3.9.
Maybe we should remove it for now and focus on fasttext word replacement first.

I think fairseq has issues with py 3.9.
Maybe we should remove it for now and focus on fasttext word replacement first.

@PhilipMay Hi philip, seems the transformers import failed, since naming of the "transformers.py" under "transformer_tools" conflicts with the "transformers" library, how shall I resolve that?

@PhilipMay Hi philip, seems the transformers import failed, since naming of the "transformers.py" under "transformer_tools" conflicts with the "transformers" library, how shall I resolve that?

Do you mean the failure in the CI pipeline here in GH?


KeywordManager keeps listening when inactive

The current implementation of KeywordManager starts listening for voice commands when the script's Start function is called. However, the underlying KeywordRecognizer object is only stopped when the script is being destroyed - if the script (or any parent in the hierarchy) is deactivated, it keeps responding to voice commands (key bindings work correctly though, since these are processed in the Update method).
KeywordManager should check when it is deactivated and stop responding to voice commands until it is activated again.

Hello @HodgsonSDAS, I have just submitted a PR with the fix (#360) - not sure if it would be better than integrating it in @aalmada's one.

As long as you sign the CLA you should be good @r2d2rigo.  I just thought it'd save on a PR, but really they should be separate if addressing different issues.

Thanks, I'm on it - just waiting for the DocuSign email to arrive.

Fixed with #360


[ BUG ] Styles don't seem to be applied

Describe the bug
I have an expo project in a monorepo using Yarn workspaces. Over the past couple of days been trying to implement NativeWind using the expo router v4 guide along with react-native-reusables setup guide. Using tailwind by itself works, but not when using the components provided by react-native-resuables ~ styles are not applied. I continue to get the warning WARN  "hsla(0)" is not a valid color or brush. Unsure why this is happening.
Any help would be greatly appreciated.
bable.config.js
module.exports = function (api) {
  api.cache(true);
  return {
    presets: [
      ["babel-preset-expo", { jsxImportSource: "nativewind" }],
      "nativewind/babel",
    ],
    plugins: [
      // Required for expo-router
      "expo-router/babel",
      "react-native-reanimated/plugin",
    ]
  };
};

metro.config.js

const projectRoot = __dirname;
const workspaceRoot = path.resolve(projectRoot, '../..');

const config = getDefaultConfig(projectRoot, { isCSSEnabled: true });

config.watchFolders = [workspaceRoot];

config.resolver.nodeModulesPaths = [
  path.resolve(projectRoot, 'node_modules'),
  path.resolve(workspaceRoot, 'node_modules'),
];

config.resolver.disableHierarchicalLookup = true;

module.exports = withNativeWind(config, { input: './global.css'});

tailwind.config.js

const { hairlineWidth } = require('nativewind/theme');

/** @type {import('tailwindcss').Config} */
module.exports = {
  darkMode: 'class',
  content: ['./app/**/*.{ts,tsx,jsx}', './components/**/*.{ts,tsx,jsx}'],
  presets: [require("nativewind/preset")],
  theme: {
    extend: {
      colors: {
        border: 'hsl(var(--border))',
        input: 'hsl(var(--input))',
        ring: 'hsl(var(--ring))',
        background: 'hsl(var(--background))',
        foreground: 'hsl(var(--foreground))',
        primary: {
          DEFAULT: 'hsl(var(--primary))',
          foreground: 'hsl(var(--primary-foreground))',
        },
        secondary: {
          DEFAULT: 'hsl(var(--secondary))',
          foreground: 'hsl(var(--secondary-foreground))',
        },
        destructive: {
          DEFAULT: 'hsl(var(--destructive))',
          foreground: 'hsl(var(--destructive-foreground))',
        },
        muted: {
          DEFAULT: 'hsl(var(--muted))',
          foreground: 'hsl(var(--muted-foreground))',
        },
        accent: {
          DEFAULT: 'hsl(var(--accent))',
          foreground: 'hsl(var(--accent-foreground))',
        },
        popover: {
          DEFAULT: 'hsl(var(--popover))',
          foreground: 'hsl(var(--popover-foreground))',
        },
        card: {
          DEFAULT: 'hsl(var(--card))',
          foreground: 'hsl(var(--card-foreground))',
        },
      },
      borderWidth: {
        hairline: hairlineWidth(),
      },
    },
  },
  plugins: [],
};

global.css
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --accent: 240 4.8% 95.9%;
    --accent-foreground: 240 5.9% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 5.9% 90%;
    --input: 240 5.9% 90%;
    --ring: 240 5.9% 10%;
  }

  .dark:root {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 240 3.7% 15.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 240 4.9% 83.9%;
  }
}

React Native: 0.72.10
Expo: 49
Tailwindcss: 3.4.10
Nativewind: 4.0.1

Could you run npx expo start --clear and try again?

Hey! Ran the command, and got the following: Warning: Failed prop type: Invalid prop color supplied to Text: hsla(240) Valid color formats are:
- '#f0fc' (#rgba)
- '#ff00ff' (#rrggbb)
- '#ff00ff00' (#rrggbbaa)
- 'rgb(255, 255, 255)'
- 'rgba(255, 255, 255, 1.0)'
- 'hsl(360, 100%, 100%)'
- 'hsla(360, 100%, 100%, 1.0)'
- 'transparent'
- 'red'
- 0xff00ff00 (0xrrggbbaa)

Bad object: {
"fontSize": 14,
"lineHeight": 21,
"color": "hsla(240)",
"fontWeight": "500"
}```

I reproduced the error by:

Running the npx create-expo-app@latest command to create a starter expo router template.
Creating a development build running the command: npx expo run:ios
Installing and configuring NativeWind.
Setting up react-native-resuables per docs

Still don't get styles completely applied.

I reproduced the error by:

Running the npx create-expo-app@latest command to create a starter expo router template.
Creating a development build running the command: npx expo run:ios
Installing and configuring NativeWind.
Setting up react-native-resuables per docs
Import components and use them

Still don't get styles completely applied.

Could you re-build your app? Maybe it should work.

Still unfortunately doesn't work.

Try to update Nativewind 4.0.36, I think it will be solved. I had a similar issue with css styling and it was due to Nativewind bugs. After updating to 4.0.36, the problems disappeared.

Try to update Nativewind 4.0.36, I think it will be solved. I had a similar issue with css styling and it was due to Nativewind bugs. After updating to 4.0.36, the problems disappeared.

Thanks a lot for the reply! Looks like I am no longer receiving that error, but some styles are still not applied as shown below.

@Enrique-Ambrocio This looks like a NativeWind caching issue. Try using npx expo start --clear again.

@Enrique-Ambrocio Please provide a minimal reproduction repo

@Enrique-Ambrocio Please provide a minimal reproduction repo

I think it is due to my metro configuration file. It just seems that styles are not applied thoroughly. I tried reproducing the error in a single application and it worked well. But when I apply then in my app (monorepo) styles are not applied thoroughly.
const path = require('path');
const { withNativeWind } = require('nativewind/metro');

// Define the project and workspace directories
const projectRoot = __dirname;
const workspaceRoot = path.resolve(projectRoot, '../..');

// Get the default config
const config = getDefaultConfig(projectRoot, { isCSSEnabled: true });

// 1. Watch all files within the monorepo
config.watchFolders = [workspaceRoot];

// 2. Let Metro know where to resolve packages and in what order
config.resolver.nodeModulesPaths = [
  path.resolve(projectRoot, 'node_modules'),
  path.resolve(workspaceRoot, 'node_modules'),
];

// 3. Force Metro to resolve (sub)dependencies only from the `nodeModulesPaths`
config.resolver.disableHierarchicalLookup = true;

// Apply NativeWind configuration
module.exports = withNativeWind(config, { input: './global.css' });```

@Enrique-Ambrocio Please provide a minimal reproduction repo

Tried reproducing the error multiple times using a single application, and everything worked just fine. Thinking it might be some configuration with my mono repo because styles are not applied completely. Mind if I share it with you?

Closing due to inactivity.

I got the same error, but I am not sure when or how it was introduced, I installed a couple of different components to my app recently

I got the same error when I used the select component.
I used it based on the latest docs without any change.

Might be since some of the colours in global.css has % and it's not being parsed for native wind

@a0m0rajab Seems like a monorepo or a NativeWind issue. I would try using NativeWind v4.1.16 or v4.0.36

@mrzachnugent thanks for the comment, I think it's mostly a native wind issue, it was not there before using select,  I would check the version and report back.


[bug] fix test_patching routines for intelex-only sklearnex estimators

Description
New sklearnex-native estimators are now allowed in the patch map, a recent refactor of test_patching will block this new rule (as shown by #1656). This PR modifies the necessary files to allow test_patching to handle sklearnex-native estimators and functions.
Changes proposed in this pull request:

modify sklearnex/tests/_utils.py
modify sklearnex/tests/test_patching.py

/intelci: run


No homebrew updates and no cs binaries since 2.0.0-RC6-24?

@alexarchambault I want to test coursier/coursier#1834 didn't break scala-runners. Is it intentional that the homebrew formula is still on 2.0.0-RC6-24 and/or that there's no native cs build associated to the releases?

That's because the CI jobs building the launchers are currently broken… That can be fixed later this week hopefully.

Ah, ok.  How do I follow when that's done?  No rush from me, but just want to be reminded to check this again.  Ping me?

When https://github.com/coursier/coursier/pull/1853 gets merged, new releases should work again. I'd like to set up automated tests of the native CLI prior to that.

This is now fixed! The switch to GitHub actions fixed the native launcher generation. Launchers and an updated brew formula were generated for 2.0.0-RC6-27.


Lens distortion attributes

Can you help me find the correlation between the lens distortion attributes defined in Carla and radial/tangential distortion coefficients?
OpenCV documentation defines k1-k6 for radial distortion and p1, p2 for tangential distortion:
https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html
I would like to define these values, can you help me calculate the attributes needed for Carla camera sensor?
Can you provide a more detailed description of these values?
Maybe lens_k = k1 and lens_kcube = k2 ?
I could not find these Carla attributes in Unreal engine documentation either.

@marcgpuig which model did you follow to implement the lens distortion?

For a while, pinhole camera model was sufficient for me, but I would like to generate images with a given radial and tangential distortion according to the Brown–Conrady model. I would like to mimic a real-world sensor which has defined k1, k2, p1, p2, k3 parameters.

@marcgpuig are we using the Brown–Conrady model to create the lens distortion?

I have the same problem about the lens distortion attributes defined in CARLA.
If the default value of the lens_k and lens_kcube mean without distortion, the assumption of the lens_k=k1 and lens_kcube=k2 are unreasonable.
In addition, I am also confused about the other attributes.

@marcgpuig do you have 10 min to answer this?

@marcgpuig do you have 10 min to answer this?

Hi, I have found that the distortion model is "plumb_bob".
I used the ros-bridge, ran rostopic echo /carla/ego_vehicle/rgb_view/camera_info and get something like this:

header:
seq: 10
stamp:
secs: 435
nsecs: 313154742
frame_id: "ego_vehicle/rgb_test"
height: 480
width: 848
distortion_model: "plumb_bob"
D: [0.0, 0.0, 0.0, 0.0, 0.0]
K: [431.4655346201811, 0.0, 424.0, 0.0,<PHONE_NUMBER>201811, 240.0, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [431.4655346201811, 0.0, 424.0, 0.0, 0.0,<PHONE_NUMBER>201811, 240.0, 0.0, 0.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi:
x_offset: 0
y_offset: 0
height: 0
width: 0
do_rectify: False

We changed K  (and hence P) by setting the fov and image size. Specifically, K1, K5 (fx, fy) by fov (fov = 2 arctan (fx/2f)) and K3, K6 (cx, cy) by image size (halve). Definition of D,K,R,P and more information of plumb_bob distortion model can be found in http://docs.ros.org/en/melodic/api/sensor_msgs/html/msg/CameraInfo.html.
Question remained: we still cannot set D, the distortion model. I have tried to set the CARLA Camera lens distortion attributes as mentioned above, but that does not lead to changes in nor D or other matrix in the above camera information.
Can you help on this? It would be very helpful for the community if the camera distortion section documentation can be improved.
Many thanks in advance!

Hi all, we are on the way of changing the lens distortion algorithms as we found some issues and inaccurate results with the current implementation. We plan to expose these parameters so that they can be tuned easily.

Hi all, we are on the way of changing the lens distortion algorithms as we found some issues and inaccurate results with the current implementation. We plan to expose these parameters so that they can be tuned easily.

Hi @Axel1092 , any update on this! I'm very interested in getting basic lens distortion with matching OpenCV parameters!

I am also interested in this issue.

Hi, I am also interested in this topic/issue. any updates ! Thanks

Hi all, we are on the way of changing the lens distortion algorithms as we found some issues and inaccurate results with the current implementation. We plan to expose these parameters so that they can be tuned easily.

I'm very interested your method, please

I am still interested in this!

Does any one know any update on this? I just checked the latest Carla version 0.9.13, and it still uses the old model

so upset to see that no updates with such a basic concept

also sad

Looking forward to distortion model of opencv used in carla

Hi all, we are on the way of changing the lens distortion algorithms as we found some issues and inaccurate results with the current implementation. We plan to expose these parameters so that they can be tuned easily.

Hello sir,
Is there any update? Which model was used in CARLA to model distortion? How can
we modify it?

any updates

Hi all, we are on the way of changing the lens distortion algorithms as we found some issues and inaccurate results with the current implementation. We plan to expose these parameters so that they can be tuned easily.

any updates on the distortion model?

It seems that carla use this distortion model: https://www.ssontech.com/content/lensalg.html

Any update for such an important property?

I am still interested in this!

I am interested in this!

Still interested in this issue


Update tmosXcRules.json

Adding informational notice to look for ICMP monitors.

changes added to pending v3.17.0 release


Pinch zoom feature request

Is your feature request related to a problem? Please describe.
I'm currently using PdfRendererView in my project. I want to add pinch-to-zoom functionality to it.
Describe the solution you'd like
I would like to enable this feature with a boolean flag, such as:
pdfRenderView.isPinchZoomEnabled = true
Describe alternatives you've considered
Not possible currently.

Closing since this feature is existing, but couldn't perform pinch zoom on an emulator. Seems like only possible on real device.

You can perform pinch and zoom by pressing control and dragging the cursor on Emulator.
Thank you for checking out the library.
🙌🏻


return call break the for loop

return call in a for loop will break the loop and only return the first value.
  return(modifiedName)

changed it to cat for the purpose of verbose.


Reduce gossip message sizes

We don't need to send out all data in every gossip message. We need to reduce the average size of the gossip messages by only sending out the full state every now and again.

This would be a minor enhancement that might have far reaching effects. If gossip bandwidth becomes an issue, the gossip interval can be reduced.


CORGI-843 container errata builds

This might be easier to review commit-wise. It's a fairly small change to the ErrataTool collector to use a different url for non-rpm Errata. It also adds a migration which finds all streams with brew_tags and tries reloads their errata. I limited it to streams with brew_tags as they are the ones with released container errata.
I wanted to reuse some existing code from the prod_defs task and loaderratadata management command so I refactored some functions there so I could call them from the migration.

I added a bunch of tests for the new slow_load_stream_errata task.

I ended up dropping the actual code change here to switch the endpoints based on type as the issue of missing builds described in CORGI-843 was fixed in Errata Tool. I kept the rest of the refactoring so that we could utilize the new slow_load_stream_errata task. I also kept the migration so that we could reload the data fixed in ET.


[Android Studio 1.0.2] jcenter() problem

I added to Gradle it 'com.sothree.slidinguppanel:library:2.0.4':
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:21.0.3'
    compile 'com.sothree.slidinguppanel:library:2.0.4'
    compile 'com.android.support:support-v4:21.0.3'
    compile 'com.nineoldandroids:library:2.4.0'
}

Root build.gradle:
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.0.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

Import class occurred, but somehow methods:
sLayout.setShadowHeight(0);
sLayout.setGravity(Gravity.BOTTOM);

Highlighted in red and write 'Can not resolve method'
How to solve this problem?
Thank you!

Can you update to version 3.0.0 and see if its still an issue.

You are right.
Thank you!


Remove statement that opt-level 0 turns on debug

See https://github.com/rust-lang/cargo/pull/9020#issuecomment-751513035

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

@bors r+

:pushpin: Commit fb550f7a8d41dc9afdec9b0115bf8a136592d4ce has been approved by Eh2406

:pushpin: Commit fb550f7a8d41dc9afdec9b0115bf8a136592d4ce has been approved by Eh2406

:hourglass: Testing commit fb550f7a8d41dc9afdec9b0115bf8a136592d4ce with merge 68767abf36b6ce336f32b4ca7c6f47a10d921281...

:hourglass: Testing commit fb550f7a8d41dc9afdec9b0115bf8a136592d4ce with merge 68767abf36b6ce336f32b4ca7c6f47a10d921281...

:sunny: Test successful - checks-actions
Approved by: Eh2406
Pushing 68767abf36b6ce336f32b4ca7c6f47a10d921281 to master...

:sunny: Test successful - checks-actions
Approved by: Eh2406
Pushing 68767abf36b6ce336f32b4ca7c6f47a10d921281 to master...


How to generate eosio.system.abi

How to generate the eosio.system.abi ? eosiocpp or eosio-abigen ?

eosio.system.abi is hand-written at present.  To my knowledge neither of the generating tools can create it successfully.  Enhancements to eosiocpp are planned.


User should get only 1 G$ a day - no accumulation of tokens over time

When user claim he should get only 1G$ doesn't matter how many days he claimed

dup #1589


docker stuff should be load or test after rhiot cmd boot stuff

with docker machine we can change our docker instance via docker-machine name
docker-machine env default provide correct env to manage docker

Can you elaborate this one? :) I'm not sure if I get it.

we should be sure we have got every rhiot config, env
before start any docker tools


⚠ ClamAV has degraded performance

In 4404665, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 469 ms

Resolved: ClamAV performance has improved in 1158dbe.


Update Authorization  to 1.9.0 and Resiliency to 1.8.0

Description
Adding 1.9 authorization to test files and removing 1.6
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

dell/csm#1012

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[x] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

Performed manual unit test.
Manually Installed Operator
Deployed Authorization and Resiliency(driver enabled)

LGTM.
Can the "How has this been tested?" section be filled in? Unit tests and/or manual installation tests?

Unit test is done manually and also triggered by git actions. @EmilyKatdell had done a manual deploy on Auth. @EmilyKatdell
Could you do the same again for resiliency included?

@atye  testing has been done  by Manually Installing Operator and Deploying Authorization and Resiliency(driver enabled)


Add a new "Import" filter

There seems to be an issue with the ItemCount of the Imports and the amount of Allocations that the platform is showing to the users in the frontend. To be able to further analyze this issue there is a need for a new Filter that is only listing all Allocations from one given Import.

Note: If the new Filter is not listing any Allocations that could have been missed by the DateFilter I`ll open a new Issue that adresses this problem.

The filter has been added a while ago but gets "lost" in interaction with all the other filters from the filter factory. So it needs to be added there. Due to better oversight it should not be added to the FiltersForm in the frontend.


⚠ GitHub has degraded performance

In 17c5a4c, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 141 ms

Resolved: GitHub performance has improved in f5d09cc after 1 hour, 3 minutes.


SDK 479 changes - request object

@fundthmcalculus can this be merged?

Yes

There are conflicts to be resolved


Fix typo in spelling of "allocator"

I figured this wouldn't be controversial.

No controversy, just shame... T.T


Different font size of math symbol and text in pdf

Mini example of math font size problem
That is Normal Text, but the math symbol, e.g., \(a + b = c\) and the block math equation
$$
a + b = c
$$
looks like perfect in the .md file. But it is much smaller than that of normal text when saving as .pdf.
Mini example of math font size problem.pdf
Do you have any clue how to fix this problem? Thansk.

https://github.com/mike-ward/Markdown-Edit/issues/185#issuecomment-258404637 has some discussion of small math


Verify if it is Friday the 13th

Issue https://github.com/scrabill/how-many-days-until-halloween/issues/390
It verifies if today is Friday the 13th and it if it is, it appends "Happy Friday the 13th!" to the final message.
On the screenshot below I simulated December 13, 2019 which is a Friday 13th.

I have fixed the merge conflicts @scrabill :)


Can I use fastBPE in Chinese?

This should be fine, although in Chinese it may be simpler to just work at character level.

@glample would you mind elaborating what you mean by "work at character level"?


Lock.acquire() might cause clients could not acquire the lock forever

In code do_acquire()
It is possible that the client crash between setnx and pexpire, in this case, the timeout does not effect. Other clients will failed to acquire the lock forever.
A solution is when a client fails to get the lock, the client should check the expiration on the lock, and if it is not set, set it.
Refers to book Redis in Action, section 6.2.5 Locks with timeouts

I think you create the lock without a timeout https://github.com/andymccurdy/redis-py/blob/2.10.5/redis/lock.py#L17 and you don't release the lock after use it?

A simple solution is using newly version of set with option NX and PX, supported in Redis 2.6.12 and later

@andymccurdy

This seems solved since 2014 by 2139d817f58fbecc1b708d488af5ba514f3329cd (3.0.0)

Thanks for pointing that out. Yes, this should have been resolved in 3.0. Please re-open if it wasn't.


fix nullable not adjust in output exprs in result sink node

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run p0


Add instructions for installing Siesta using git submodules.

After discussing how I integrated Siesta using git submodules with Paul over email he asked me to write up instructions and add them to the readme.

Thanks, Jon! Nicely written. See the one minor note in the code, and then it’s next stop mergeville.

Changes made. Sorry for the extra commit. I was using the Atom editor which apparently likes to make extraneous tab changes.

Done. Thanks!


Update libappindicator dependency

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information
This addresses my comment https://github.com/tauri-apps/tao/pull/411#issuecomment-1192208890, in that PR ayatana support was removed as "unnecessary", but it is only the case with libappindicator >= 0.7.1, which wasn't bumped, so in our project old version was used even after Tauri upgrade.

so in our project old version was used even after Tauri upgrade.

Yeah you need to run cargo update so cargo picks up the changes. But you're right, we should've included this in 0.10, thanks!

shouldn't 0.7 resolve to 0.7.1 also?

Yeah, but only if you remove the lockfile (or don't have one), or run cargo update. if your project is a little older with a lockfile that was just dragged along, cargo won't update it

I now vaguely remember that 7.0.0 was broken or something and we had to release a patch version, right?

Thanks for the PR.

Oh well, it doesn't hurt to merge anyways. I guess cargo update should be enough for ppl to fix?

Yep it's enough 👍


I can't run the app !

Hello,
I am following the guide for Requirements and Install, but I have an error with this  command :
npm run build
error : TARGET is not recongnized as an internal or external command, operable program or batch file.
I know that npm run build will use the script found in package.json file : TARGET=build webpack

It's an old error I guess, I already solved on my repo.
I will do the PR at least this week with the fix and another fixes related with webpack.
Thanks @Taieb

Did you get around to that, @davesnx?

I think so... but there are a PR opened, I'm not sure about the actual state of this project on the master branch. I will merge tomorrow If I have time for finish the Redux Router thing.
Thanks for asking @adamkdean


Genome metadata added module to produce a docx file from a genome note template file and genome metadata parameter file

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

The tests are failing but go ahead and merge. The error is due to FASTK_FASTK, this is an ongoing issue with how it works with scratch space. I have a ticket to work on this next sprint.


from flask import current_app appears to have side effects

I have been trying to document my project with sphinx, but it seems that when sphinx reads a file that contains import current_app it breaks with the following message:
[$]>>> make html
sphinx-build -b html -d build/doctrees  -W -v source build/html
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 5 source files that are out of date
updating environment: 5 added, 0 changed, 0 removed
reading sources... [ 20%] index
reading sources... [ 40%] modules
reading sources... [ 60%] quizApp
Traceback (most recent call last):
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/ext/viewcode.py", line 28, in _get_full_modname
    return get_full_modname(modname, attribute)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/util/__init__.py", line 300, in get_full_modname
    __import__(modname)
TypeError: __import__() argument 1 must be string, not None
viewcode can't import None, failed with error "__import__() argument 1 must be string, not None"
Traceback (most recent call last):
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/ext/viewcode.py", line 28, in _get_full_modname
    return get_full_modname(modname, attribute)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/util/__init__.py", line 300, in get_full_modname
    __import__(modname)
TypeError: __import__() argument 1 must be string, not None
viewcode can't import None, failed with error "__import__() argument 1 must be string, not None"
Didn't find ParticipantExperiment.activities in quizApp.models
Didn't find Question.explantion in quizApp.models
Didn't find User.name in quizApp.models
Didn't find User.authenticated in quizApp.models
reading sources... [ 80%] quizApp.forms
reading sources... [100%] quizApp.views

Traceback (most recent call last):
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/cmdline.py", line 244, in main
    app.build(opts.force_all, filenames)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/application.py", line 297, in build
    self.builder.build_update()
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 251, in build_update
    'out of date' % len(to_build))
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 265, in build
    self.doctreedir, self.app))
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/environment.py", line 569, in update
    self._read_serial(docnames, app)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/environment.py", line 589, in _read_serial
    self.read_doc(docname, app)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/environment.py", line 742, in read_doc
    pub.publish()
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/core.py", line 217, in publish
    self.settings)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/io.py", line 49, in read
    self.parse()
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/readers/__init__.py", line 78, in parse
    self.parser.parse(self.input, document)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/__init__.py", line 172, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 170, in run
    input_source=document['source'])
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2726, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 327, in section
    self.new_subsection(title, lineno, messages)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
    node=section_node, match_titles=True)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
    node=node, match_titles=match_titles)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 195, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2726, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 327, in section
    self.new_subsection(title, lineno, messages)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
    node=section_node, match_titles=True)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
    node=node, match_titles=match_titles)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 195, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2299, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2311, in explicit_construct
    return method(self, expmatch)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2054, in directive
    directive_class, match, type_name, option_presets)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2103, in run_directive
    result = directive_instance.run()
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 1613, in run
    documenter.generate(more_content=self.content)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 963, in generate
    self.document_members(all_members)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 855, in document_members
    if cls.can_document_member(member, mname, isattr, self)]
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 1458, in can_document_member
    isdatadesc = isdescriptor(member) and not \
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/util/inspect.py", line 101, in isdescriptor
    if hasattr(safe_getattr(x, item, None), '__call__'):
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/sphinx/util/inspect.py", line 113, in safe_getattr
    if name in obj.__dict__:
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/werkzeug/local.py", line 343, in __getattr__
    return getattr(self._get_current_object(), name)
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/werkzeug/local.py", line 302, in _get_current_object
    return self.__local()
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/flask/globals.py", line 37, in _lookup_req_object
    raise RuntimeError(_request_ctx_err_msg)
RuntimeError: Working outside of request context.

This typically means that you attempted to use functionality that needed
an active HTTP request.  Consult the documentation on testing for
information about how to avoid this problem.

Exception occurred:
  File "/home/alyosha/.virtualenvs/quizApp-new/lib/python2.7/site-packages/flask/globals.py", line 37, in _lookup_req_object
    raise RuntimeError(_request_ctx_err_msg)
RuntimeError: Working outside of request context.

This typically means that you attempted to use functionality that needed
an active HTTP request.  Consult the documentation on testing for
information about how to avoid this problem.
The full traceback has been saved in /tmp/sphinx-err-iI83eY.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [Makefile:53: html] Error 1

It looks like something weird is going on at import time with current_app. I'm not 100% sure if this is a sphinx error or flask error, but I'm leaning towards flask.
I made the following example to reproduce it.
https://github.com/PlasmaSheep/sphinx-error
Instructions for running it are in the README.md file.

at first glacne it looks like it dies at inspecting current_app, what happens if you tell sphinx to ignore the current_app member of that module?

It doesn't seem that there is a way to ignore an import in sphinx, see this question:
https://stackoverflow.com/questions/15889621/sphinx-how-to-exclude-imports-in-automodule

After some testing, it seems that this is a sphinx bug. In fact, this has been fixed in git, but not yet pushed to pypi (to be exact, sphinx 1.4.5 has the bug). I'm going to mark this closed.

@PlasmaSheep: Could you point me to the Sphinx git commit that fixed this problem? Thank you!

@MartinBorg Funny I just came across this issue today. If you still really need this working my solution was to just install the latest dev-version of sphinx via pip
pip install git+https://github.com/sphinx-doc/sphinx@stable

its occure due to : If you put statement out side of a function/methode
example:
class User_Register(Resource):
request_data = request.get_json()
print(request_data)

Obviously what you are trying to do makes no sense and isn't possible. You are defining a class and trying to assign the result of request.get_json() to a class attribute at class definition time. There is no request at that point...


test(cluster_mgr): fix the TestClusterManager_SuccessfulReconcile which was failing in dev env

Description

Review the test so that:

The cluster is auto created by the reconciler
Control the provider and region to avoid loads of cluster being created
Align integration and dev env scaling config
Only assert for standard capacity info and leave out developer because soon enough the cluster will be created in accordance to fleet isolation
Cleanup clients created in sso

Verification Steps

Run the tests with OCM_ENV set to development and observe that they pass
TEST_SUMMARY_FORMAT=standard-verbose TEST_TIMEOUT=2h make test/integration/kafka TESTFLAGS="-run TestClusterManager_SuccessfulReconcile"

NOTE: make sure that the sso is correctly set up.
Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA have been completed
[ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] All PR comments are resolved either by addressing them or creating follow up tasks
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has been created for changes required on the client side

@pawelpaszki this should fix the latest nightly failure. Please have a look when you can.

Thanks for looking


Review buffering with model/exit events

We still need to get model/exit event in the event stream, but since it acts as a signal to stop buffering, it's not received by the model.
It was done in this way:
Kefir.combine([ a, b, c ])
     .bufferWhileBy(Kefir.merge([
        a.map(x => false),
        b.map(x => true).flatMap(x => Kefir.later(1, x))
     ]), { flushOnChange: true }).log()

where a is model/enter event stream, b is model/exit event stream and c is model events stream.
From this talk: https://gitter.im/pozadi/kefir?at=55a71fce003280a056fa8053

Roman Pominov: well this indeed problematic. We don't currently have api for that neither internal nor external. It may start to "just work" if we do rpominov/kefir#120 , but probably wont work in all cases anyway.
The fix you have is not quite safe, I think it will work only if events in the stream won't come in synchronous groups.
Btw, instead of s.flatMap(x => Kefir.later(1, x)) you can do s.delay(1), or actually s.delay(0) is even better.

It could be the option of model/refer node?

See comments in #120

I've added delay(0) there for the moment.


Can we have the same kind of impelemntaion for sql databse instead of postgres

PG content works fine, but i there any specific reason for choosing postgres as backend, can we have my sql or other databases as backend storage for jupyter. What effort would be required to move from postgres to my sql based implementation? And come some one please explain is it only the alembic versions query that should change or are there any other things also that we need to consider

I'm not particularly interested in maintaining support for a second database here.  My guess is that you could fork pgcontents and port it to another backend without a huge amount of effort, but I haven't spent much time investigating other possible sql databases.  There are a few functions in db_utils.py that depend on postgres specifically because we use postgres' error codes to distinguish between unique and foreign key violations.  I'm also not sure if MySQL supports all the different kinds of constraints that we apply in schema.py.


python311Packages.s3transfer: 0.6.1 -> 0.6.2

Diff: https://github.com/boto/s3transfer/compare/0.6.1...0.6.2
Description of changes

Things done

Built on platform(s)

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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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

[ ] Fits CONTRIBUTING.md.

Already in python-updates: https://github.com/NixOS/nixpkgs/pull/251694


zot: run GC after manifest removal

Clients today expect the repo to clean up if there are unused blobs, not to
manually delete things they think are unused. Let's do that, and use
umoci's code to do it since it's tested and works.
Signed-off-by: Tycho Andersen<EMAIL_ADDRESS>

Now is that run locked against other actions on the same repo?  I.e. if someone else starts adding an image a moment after you've started the umoci.Clean for your delete, will you risk removing blobs which the add is expecting to be there (bc it had done a HEAD)?

(Note that the distribution spec specifically says you should push the blobs first, then push the manifest referencing them, so the blobs could be GC'd in the meantime)

I think you're right that there are some races here. The only thing I can think is to lock while GC is running, and stop any parallel blob Put()s?

So longer term, maybe the way to go about this is (a) keep all the blobs in one shared directory, hardlinking them into repo blob dirs as needed.  (b) when we gc, take all shared blobs which have nlink=1 and move them into purgatory/ ,  (c) when a blob in purgatory is checked for (HEAD) , move it back to shared, (d) when a manifest is uploaded, any blobs it refers to that are in purgatory are moved back, and then (d) after some time (an hour?) rm -rf jigoku; mv purgatory/ jigoku/ .  That way we won't keep any blobs around too long but avoid ever losing something that's in the process of being uploaded.
Shorter term what you (Tycho) have might work, I need to re-read.

No, I don't think what you have works.  The problem is that we'd have to lock across the client's 'upload' routine, which from our point of view i just a bunch of HEAD gets followed by the manifest PUT.  Just locking those individually does not prevent the case of:
HEAD b1 -> ok
HEAD b2 -> absent
POST b2
HEAD b3 -> ok
[gc runs, b1 gets deleted]
POST manifest

Posting a manifest with non-present blobs will be rejected, won't it? So I
don't think this scenario is possible.
On Thu, Mar 5, 2020, 9:26 PM Serge Hallyn<EMAIL_ADDRESS>wrote:

No, I don't think what you have works. The problem is that we'd have to
lock across the client's 'upload' routine, which from our point of view
i just a bunch of HEAD gets followed by the manifest PUT. Just locking
those individually does not prevent the case of:
HEAD b1 -> ok
HEAD b2 -> absent
POST b2
HEAD b3 -> ok
[gc runs, b1 gets deleted]
POST manifest
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/anuvu/zot/pull/77?email_source=notifications&email_token=AAF7VV36OATDLN65ZL62PD3RGB3NVA5CNFSM4LCSFIF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAAWGY#issuecomment-595594011,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF7VV2N3R5SIL6HOX2PYM3RGB3NVANCNFSM4LCSFIFQ
.

Posting a manifest with non-present blobs will be rejected, won't it? So I don't think this scenario is possible.

All right, yes, I guess that pkg/storage/storage.go:PutImageManifest() will return an ErrBlobNotFound in that case.  That's #notnice, and I don't think any client will not then assume that the repo must be busted, so the skopeo copy will fail - but at least the repo will be ok, so I guess it's sufficient for now.

pkg/storage/storage.go:442:3: not enough arguments to return

	have (error)

	want (string, error)

pkg/storage/storage.go:447:3: not enough arguments to return

	have (error)

	want (string, error)

https://github.com/tych0/zot/pull/1
@tych0 to fix bazel build failures against this PR.

Hrm. The test failure looks legit; the GC is deleting the blob it's failing to open right before it. I must not understand how something in zot works: seems like the manifest should have a tag in the sub-oci-repo for that thing, right?

This PR superseded by https://github.com/anuvu/zot/commit/bbed38cfa0c5481a2d91c2dee075ffe3ca151ad9.