Mapveu/mouse modes

Re my previous comment about edge cases (literally)...
I see there's an autoPan option for the Popup component.
I tried it and see that the autoPanning takes the mouse pointer away from the marker and that's obviously a problem.
Also it seemed to be buggy (storybook black screen of death)

This edge popup crash is exactly the issue I was going to bring up that one dev meeting, but then solved it during the meeting before we got to it. Once I found autoPan was causing the issue, I just set it to false. Because the user can scroll to see the popup, I saw it as less than ideal but acceptable. (I also was going to play on literal edge case :)

Re my previous comment about edge cases (literally)...
I see there's an autoPan option for the Popup component.
I tried it and see that the autoPanning takes the mouse pointer away from the marker and that's obviously a problem.
Also it seemed to be buggy (storybook black screen of death)

This edge popup crash is exactly the issue I was going to bring up that one dev meeting, but then solved it during the meeting before we got to it. Once I found autoPan was causing the issue, I just set it to false. Because the user can scroll to see the popup, I saw it as less than ideal but acceptable. (I also was going to play on literal edge case :)

I've merged in the master (multiple worlds magic) and prepared for merge back to master, which I will do in a minute.
I didn't see any magnifying mouse pointer in FF Ubuntu 18.04 and I see that a magnifying glass isn't a standard CSS pointer
https://css-tricks.com/using-css-cursors/
Maybe a custom pointer could be used but I'm going to merge anyway.

I've merged in the master (multiple worlds magic) and prepared for merge back to master, which I will do in a minute.
I didn't see any magnifying mouse pointer in FF Ubuntu 18.04 and I see that a magnifying glass isn't a standard CSS pointer
https://css-tricks.com/using-css-cursors/
Maybe a custom pointer could be used but I'm going to merge anyway.


Errors at nested writes

Hello!
Don't you think that throwing an error in the following cases is not worth it?

nested update of a non-existing record

Error:
Invalid `photon.()` invocation in /home/vadim/Projects/Temp/index.js:11:36

Reason: AssertionError("Expected a valid parent ID to be present for nested update to-one case.")

    at PhotonFetcher.<anonymous> (/home/vadim/Projects/Temp/node_modules/@generated/photon/index.js:54:27)
    at Generator.throw (<anonymous>)
    at rejected (/home/vadim/Projects/Temp/node_modules/@generated/photon/index.js:6:65)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

disconnection/nested deletion of a non-existing record

Error:
Invalid `photon.()` invocation in /home/vadim/Projects/Temp/index.js:11:36

Reason: RecordsNotConnected { relation_name: "PostToUser", parent_name: "User", child_name: "Post" }

    at PhotonFetcher.<anonymous> (/home/vadim/Projects/Temp/node_modules/@generated/photon/index.js:54:27)
    at Generator.throw (<anonymous>)
    at rejected (/home/vadim/Projects/Temp/node_modules/@generated/photon/index.js:6:65)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Related to https://github.com/prisma/prisma/issues/5015

For "nested update of a non-existing record", we're tracking that in #5015
For disconnection/nested deletion of a non-existing record, I think the error is better now:
PrismaClientKnownRequestError2 [PrismaClientKnownRequestError]:
Invalid `prisma.user.update()` invocation:

  The records for relation `PostToUser` between the `User` and `Post` models are not connected.
    at cb (/Users/m/dev/src/github.com/prisma/qa-errors/node_modules/@prisma/client/runtime/index.js:78689:17)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  code: 'P2017',
  clientVersion: '2.17.0',
  meta: {
    relation_name: 'PostToUser',
    parent_name: 'User',
    child_name: 'Post'
  }
}


Feature request: Suggest namespace import for files with no default export

VSCode Version: 1.20.1
OS Version: macOS 10.13.4 beta 17E160e

It’d be neat if the TypeScript import suggestion suggested namespace imports for TypeScript files with no default export.

Please provide some example code that explains the desired behavior

Sure thing.
Say there’s a file, Settings.ts, with the following content:
export function get(key: string) { /* ... */ }
export function update(key: string, value: any) { /* ... */ }

At the moment, VS Code will suggest importing the individual functions, but the way I use them everywhere is with a namespace import:
import * as Settings from './path/to/Settings';

// in use
Settings.get('thing');

Unless I’m mistaken, VS Code only suggests importing named exports and default exports. My feature request is for VS Code to suggest namespace imports as well. Suggesting namespaces imports for every TS file would create far too much clutter, though, which is why I proposed only suggesting namespace imports for files with no default export.

Thanks. I believe that https://github.com/Microsoft/TypeScript/issues/19630 is already tracking this

ah yep, this is a dupe. Thanks!


RetPal Glyph of seal

Glyph of Seal of Rightousness is not working how it works in game.
without any glyph for example and with sanctified retribution aura (+3% to damage) it hits for 550 damage.
with glyph it should hit for 605 damage. Accurate formula is:
base_speed * (0.022 * ap + 0.044 * spd) * (1 + seals_of_the_pure) * (1 + glyph_seal)
your sim hits for 600 damage, I suppose your formula is:
base_speed * (0.022 * ap + 0.044 * spd) * (1 + seals_of_the_pure + glyph_seal)

Thanks, I'll look into this.

After some brief testing I've determined you're correct, this should be fixed in https://github.com/wowsims/wotlk/pull/2041

👍


Support webpack_public_path

When webpack's publicPath option is set, HTMLWebpackPlugin will correctly inject assets with the full path. However, publicPath has a dynamic equivalent that allows specifying the public path at runtime, e.g. when one instance of the app is available under different domains, you can do:
webpack_public_path = document.location.origin + "/";
and webpack itself will use this dynamically set public path for all assets. However, HTMLWebpackPlugin does not support it and will generate plain relative paths when webpack_public_path is used.

Open for pull requests

Is this resolved and available? Because we are using the __webpack_public_path__, but the path is not set dynamically.

Unfortunately this feature request was closed because of inactivity.

But closing due to inactivity will not give clue about the whether the issue still persists. Would request to make it open and add a label for "help_wanted". At least someone can come forward.

Agreed but this way its easier to track important issues.. if no one is interested in implementing __webpack_public_path__ it's not really important. would you like to prepare a pull request?

I might, if I can manage to get some time, but trust me, it's good to add a label saying "help_wanted" rather than closing an issue, which still persists. It's not about no one is interested, it's whether people stumble upon the fact that, this library has this issue which isn't fixed.
IMHO, even when closed, you should specify "No one is helping to fix this" or "Cant fix".


Feature: minimize daemon runtime capabilities

Signed-off-by: Jim Ma<EMAIL_ADDRESS>
Description
Minimize daemon runtime capabilities.
Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #421 (6ccb84b) into main (bb3c0f3) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #421      +/-   ##
==========================================
+ Coverage   38.44%   38.49%   +0.04%
==========================================
  Files          80       80
  Lines        6211     6211
==========================================
+ Hits         2388     2391       +3
+ Misses       3486     3482       -4
- Partials      337      338       +1

Flag
Coverage Δ

unittests
38.49% <ø> (+0.04%)
:arrow_up:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_base.go
32.76% <0.00%> (-0.73%)
:arrow_down:

client/daemon/peer/peertask_stream.go
58.11% <0.00%> (+2.26%)
:arrow_up:


Sixth lol ppp

resolves #276

bors r+
I'm going ahead and publish it

Published, thanks for all the feedback :)
https://makers.bolt.fun/story/ppps-week-6-10101--426

bors r+


monitoring/grafana: Added additional_json_data variable in datasource

Describe your changes
Used to set parameters such as timeInterval
Issue ticket number and link if any
Checklist before requesting a review

[x] Document introduced changes / variables in role README.md if any
[x] Increment role version in vars/main.yml (a.b.c: +1 to b for a feature added, +1 to c for a bug fix)
[x] Update changelog inside role README.md
[x] If not present, please also add your name in the related collection authors list in galaxy.yml

Dear @aldarrie
Thank you for this PR !🙂
It seems there is a conflict, can you solve it so I can merge it ? Code is ok to me.


Create An-overview-of-the-SQL-Engine-in-Open-Distro-for-Elasticsearch

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @vrphanse, so for files to show up in the blog, they need to be dated and (probably) end with the .md extension. So in this case, a file name of something like 2020-06-12-SQL-overview.md would be appropriate.
You need spaces after header indicators, so ## Query Tools instead of ##Query Tools and no spaces between links, so [**Delete**](https://opendistro.github.io/for-elasticsearch-docs/docs/sql/delete/) instead of [**Delete**] (https://opendistro.github.io/for-elasticsearch-docs/docs/sql/delete/).
There's also no need to bold your links. Just plain [Delete](https://opendistro.github.io/for-elasticsearch-docs/docs/sql/delete/) is fine.
Under Interfaces, the language could use some tweaks:
Explain end point allows translating SQL into Query DSL (Elasticsearch Query-Domain Specific Language), and cursor helps obtain a paginated response for the SQL query result

Probably should be:
Explain shows the translated SQL query as Elasticsearch Query DSL, and cursor helps obtain a paginated response


Using angle bracket type assertions causes parsing error

Hej, I love this plugin and prefer using this with TypeScript ESLint Parser over TSLint.
I only have the following error when using angle bracket type assertions.
Current behavior
ESLint reports the following:
/projectRoot/src/testCase.ts
  10:9  error  Parsing error: '}' expected

Expected behavior
According to the rule no-angle-bracket-type-assertion I expected something like
/projectRoot/src/testCase.ts
  10:9  error  Prefer 'as View' instead of '<View>' when doing type assertions

How to reproduce
class View {
  id:string;

  name:string;
}

const base = { id: '1'};
const another = { name : 'View 1'};
const view = <View>{
  ...base,
  ...another
};

cc// @nicolaisueper

I believe this is an issue with eslint/typescript-eslint-parser that should be tracked in that repo as well, but could someone with more expertise/understanding of the typescript-eslint-parser confirm that please?
Here's a reproducible AST explorer as well.


Top to bottom icon hides footer

Is your feature request related to a problem? Please describe.
Top to bottom icon hides footer
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.

Hello @Priyaaa1 please assign this issue to me under gssoc 24

Hello @Priyaaa1 i raised pr #625 please check


The errors need to be FIXED, NOT remove the console.log


"Secret is not supplied by SDS" causes 503 to upstreams in istio-ingressgateway pods

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
"GET / HTTP/1.1" 503 UF,URX "-" "TLSrror: Secret is not supplied by SDS" 0 91 67 -

After we restart the deployment of istio-ingressgateway, we had such issue. Although we are not using TLS anywhere in the cluster. But still we we had lots of 503 to the upstream.
After deleting the pod, the issue is gone.
Affected product area (please put an X in all that apply)
[X] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior

Ingressgateway pod should get the secret for the upstream connections.
If for some reason it cannot get the secret from istiod through SDS, then it should NOT become ready and serve the traffic.

Steps to reproduce the bug
It's difficult to reproduce.
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
Control plane: 1.6.3
Istio ingressgateway: 1.6.2
How was Istio installed?
istioctl
Environment where bug was observed (cloud vendor, OS, etc)
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

On your gateway, what secrets are present? Can see it at the bottom of config dump or istioctl pc secret. If its just default and ROOTCA, the fact it becomes ready is a bug tracked in https://github.com/istio/istio/issues/22443

@howardjohn Thanks for the reply. Yes, I can only see the two secrets. I'll follow that issue instead.


Does Redisson 3.24.1 supports, AWS Elastic Redis 7.x version? OR which version of Redisson supports AWS Elastic Redis 7.x?

Yes, it does. Let me know if you have any issues.

Thanks @mrniko , So I won't need to update my Redisson client to latest?

No

@mrniko Does Redisson supports exponential-backoff-strategy on retry?


HTML script tags are async by default

Hi, I'm using Flems for some code examples on a project's documentation. Recently my examples broke, apparently because some script tags added in HTML don't appear to be blocking anymore (the second one executes when the first one is still loading). For example:
<script
  src="https://code.jquery.com/jquery-3.6.0.js"
  integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="
  crossorigin="anonymous"></script>

<script>
  console.log(window.$);
</script>

This logs a function in both a test webpage and on editors like jsfiddle or similar. However on Flems it logs undefined (I actually got the expected result once or twice, I assume it's not 100% consistent since it looks like a race condition).
(I'm not saying that this is a reasonable way to use jquery, it's just to provide a minimal case where the issue is reproduced)
I think this is caused by commit 7620dcb4d7c2784a4929d04053b4d0d205044a96 and in particular by this change:
@@ -339,7 +340,7 @@ function create(tag, options) {
   const el = document.createElement(tag)

   for (const key in options)
-    el[key] = options[key]
+    options[key] && (el[key] = options[key])

   return el
 }

This means the async attribute is not added to the generated script tag anymore when it's false and, since (if I'm not mistaken) all script tags created via js are async by default, it causes script tags to load/execute out of order (which causes the above behaviour). I tried building my own version of Flems with this slight change (key === 'async' || options[key]) && (el[key] = options[key]) and it fixes the issue.
Can you take a look to validate if that's an issue or not? If more info are needed feel free to ask. Thanks!

Fix also pushed to flems.io 🙂

Fix also pushed to flems.io 🙂

Does this also affect possible issues when integrating Flems like described here? https://github.com/porsager/flems#getting-started
I had similar "timing" issues that randomly occured.


From normalize: Line-height should be 1.5 to comply the WCAG guideline

Original issue in Normalize: https://github.com/necolas/normalize.css/issues/864
Particularly the bit about Turkish characters is interesting.
The guideline in question: https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html
Currently using 1.15 in this repo (https://github.com/resetercss/reseter.css/blob/main/css/reseter.css#L10)

Just as an update, it seems like the right link where the line-height property is being used now is this one.

That line-height not for the normal text, it is for the sub and super script:
https://github.com/krshoss/gardevoir/blob/main/src/components/text.scss#L14-L19
But this is there in: https://github.com/krshoss/gardevoir/blob/main/src/components/global.scss#LL10
If anyone is interested for contributing please change the
line-height: 1.15

with
line-height: 1.5

Marking this as a gfi


CUS-42: Change cutoff time from 6 to 1 day

This PR changes the default OLD_RUN_FAILURE_CUTOFF_TIME and RUN_INACTIVE_CUTOFF_TIME values from 6 days to 1 day.
This change is so that tasks are not showing as still around when they have failed days ago.
The documentation for these variables has been updated.

Note: the majority of line changes are due to automatic formatting


Scheduled task not created if incorrect domain / user

Hi,
I got an error post inputting the user details for the scheduled task:

The syntax of the username I input was:
COMPUTERNAME\Username
eg.
SERVER1\jim
Post this error, the scheduled task was NOT created - can someone please provide the details of the scheduled task so I can manually create it?
AFAIK, it's batch file that executes 'letsencrypt.exe --renew' daily, but I would like to have some confirmation before I muck around too much.
Cheers!

I had the same thing happen.  I just created another cert.
Task run 9:00 AM Daily
C:\full\path\letsencrypt.exe --renew --baseuri "https://acme-v01.api.letsencrypt.org/"

Error handling on this should be a little better.


Fix column choice when passing list of files to fastparquet

Came up while testing Intake stuff

[x] Tests added / passed
[x] Passes flake8 dask

Will merge this tomorrow if no objection (was just fixing my own fault)


Could Twitter emoji be switched off automatically in specified cases?

Hi, I really like those Twitter emojis! However I'm using a reading list implemented by @cumany based on dataview, where the Twitter emojis are poorly rendered:

I guess it could be hard to resize them in the dataview generated table, so maybe it's possible that this plugin could automatically turn off twitter emojis in such cases?
The code for dataview:
table without id ("![](" + cover + ")") as Cover,  "<progress value=" + pageprogress + " max="+pagecount+"  class='yellow'>" as progress,file.link as Name, status as Status,publish,grade as Grade
from #book
where !contains(file.folder, "88-Template")
sort rating desc

Hi @Einspieler19 - Have you tried turning off twemoji in the plugin settings?

I also noticed that emojis inside code blocks are removed in reading mode (probably because the actual emoji "character" is replaced with a twemoji "image"). What do you think about having an option to disable twemoji in specific elements? Specifiying elements can be done by using their html tags, css classes or even page meta attributes.


Can't filter rowgroup for parquet prune for some data type

Describe the bug
In the RowGroupPruningStatistics, we use the statistics to prune the row group for parquet file.
In the below logical:
https://github.com/apache/arrow-datafusion/blob/f386f7a7344d54455fe04d92248e373fac990e6d/datafusion/core/src/physical_plan/file_format/parquet.rs#L392
to get the min and max for a column.
But the logic has bug for the data type.
In the parquet, we can use INT32、INT64 or BINARY to store decimal value, but in the below logical, we can't get the right type of the ArrayRef.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

@alamb
Regarding the parquet row group pruning, the current pruning logic covers the stats pruning which is common for any columnar storage who provides stats and can be reused. But for parquet format, it also has specific pruning like dict pruning, bloom filter pruning, those two types of pruning is not implemented yet.  Maybe those two types of pruning should be part of the parquet arrow project.  And in the current parquet reader implementation, I do not find a method we can use to read the dictionary page out and use it to construct a Set for filtering purpose.

Maybe those two types of pruning should be part of the parquet arrow project.

I suspect additional filter pushdown will require changes in both the parquet reader and then datafusion
I think there is work underway by @Ted-Jiang @liukun4515  @thinkharderdev and @tustvold  to implement "Page Pruning" which I think may be what you are referring to here (it allows the parquet reader to skip materializing/decoding positions based on evaluating the predicates) -- the work is partially described in https://github.com/apache/arrow-rs/issues/1191
In terms of using parquet bloom filters, I suspect that would also need work in parquet and datafusion, and I don't know of any efforts underway to do so. @shanisolomon added initial support to expose the bloom filter metadata in https://github.com/apache/arrow-rs/pull/1309 and follow on PRs, but I believe they then implemented the Bloom Filtering in a closed source project (cc @zeevm who might know more)


Unable to specify remote-debugging-port via Spectron

Remote-debugging-port of Electron is always random when launch the Electron app via Spectron.
I wish to use Chrome lighthouse CLI to work with Spectron. Chrome lighthouse can access Electron via remote debugging port.
I want to start the application by Spectron, and then use lighthouse to measure performance of some components.
However, I cannot specify the remote debugging port for Electron. It looks like the port is random.
Here is my code:
this.app = new Application({
            path: this.appPath,
            args: '--remote-debugging-port=11210',
            requireName: 'electronRequire',
            chromeDriverLogPath: this.options.ChromeDriverLogPath,
            startTimeout: this.options.StartTimeout,
            quitTimeout: this.options.QuitTimeout,
            waitTimeout: this.options.WaitTimeout
        });

the issue


Protocol 390 for MCPE 1.14.60, PMMP ver 3.12.0

Added protocol 390 in plugin.yml

I write changes for release and release to poggit, so please wait...
Anyway, thank you for your PR!

Oh lol okay
I have no idea how github branches work sorry :p


Make a release?

It's been many months since the last release of this theme. @jorisvandenbossche what do you think about cutting a new version? I think the next should be a minor (not patch) version bump, since some of the visual styling has changed. What do you think?

Yes, good idea (I actually basically promised it last week at https://github.com/conda-forge/pydata-sphinx-theme-feedstock/pull/20, but then forgot about it ..)
I would personally still like to get in https://github.com/pydata/pydata-sphinx-theme/pull/485, since that's an issue (kind of a styling regression) with more recent sphinx.

Released! -> https://github.com/pydata/pydata-sphinx-theme/releases/tag/v0.7.0

And github actions succeeded, so available on PyPI: https://pypi.org/project/pydata-sphinx-theme/


Client does not return anything meaningful (on some servers)

Minimal test code to reproduce the issue:
// ldap.js
const ldapjs = require("ldapjs");
const bunyan = require("bunyan");

const ringbuffer = new bunyan.RingBuffer({ limit: 1000 });
const log = bunyan.createLogger({ name: 'ldap', level: 'trace'});
log.info('Logger active');

const client = ldapjs.createClient({ url: 'ldap://ldap.sk.ee:389', log });

client.search('c=EE', { filter: `(serialNumber=38603252768)`, scope: 'sub', attributes: ['cn'] }, (error, response) => {
    response.on('error', (e) => console.log('ERROR', e));
    response.on('searchEntry', (entry) => {
        console.log('RESPONSE', entry.object)
    });
    response.on('end', () => console.log('END'));
});

This works on one of three development servers. This the output of the successful request. As you can see, there is a proper response object there with meaningful data.
$ node ldap.js
{"name":"ldap","hostname":"ivo-dev","pid":25166,"level":30,"msg":"Logger active","time":"2017-11-09T08:03:35.741Z","v":0}
{"name":"ldap","hostname":"ivo-dev","pid":25166,"clazz":"Client","ldap_id":"1__ldap://ldap.sk.ee:389","level":20,"msg":"connected after 1 attempt(s)","time":"2017-11-09T08:03:35.761Z","v":0}
{"name":"ldap","hostname":"ivo-dev","pid":25166,"clazz":"Client","ldap_id":"1__ldap://ldap.sk.ee:389","level":10,"msg":"sending request {\"messageID\":1,\"protocolOp\":\"SearchRequest\",\"baseObject\":{\"rdns\":[{\"attrs\":{\"c\":{\"value\":\"EE\",\"name\":\"c\",\"order\":0}},\"spLead\":0,\"spTrail\":0}],\"_format\":{}},\"scope\":\"sub\",\"derefAliases\":0,\"sizeLimit\":0,\"timeLimit\":10,\"typesOnly\":false,\"filter\":\"(serialNumber=38603252768)\",\"attributes\":[\"cn\"],\"controls\":[]}","time":"2017-11-09T08:03:35.763Z","v":0}
{"name":"ldap","hostname":"ivo-dev","pid":25166,"clazz":"Client","level":10,"msg":"data event: <Buffer 30 62 02 01 01 64 5d 04 3b 63 6e 3d 4b 55 4e 44 5c 32 43 49 56 4f 5c 32 43 33 38 36 30 33 32 35 32 37 36 38 2c 6f 75 3d 61 75 74 68 65 6e 74 69 63 61 ... >","time":"2017-11-09T08:03:35.771Z","v":0}
{"name":"ldap","hostname":"ivo-dev","pid":25166,"clazz":"Client","level":10,"msg":"parse: data=<Buffer 04 3b 63 6e 3d 4b 55 4e 44 5c 32 43 49 56 4f 5c 32 43 33 38 36 30 33 32 35 32 37 36 38 2c 6f 75 3d 61 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 2c 6f 3d ... >","time":"2017-11-09T08:03:35.773Z","v":0}
{"name":"ldap","hostname":"ivo-dev","pid":25166,"clazz":"Client","level":10,"msg":"Parsing done: {\"messageID\":1,\"protocolOp\":\"SearchEntry\",\"objectName\":\"cn=KUND\\\\2CIVO\\\\2C38603252768,ou=authentication,o=ESTEID,c=EE\",\"attributes\":[{\"type\":\"cn\",\"vals\":[\"KUND,IVO,38603252768\"]}],\"controls\":[]}","time":"2017-11-09T08:03:35.774Z","v":0}
{"name":"ldap","hostname":"ivo-dev","pid":25166,"clazz":"Client","ldap_id":"1__ldap://ldap.sk.ee:389","level":10,"msg":"response received","time":"2017-11-09T08:03:35.774Z","v":0}
END

This is what happens on two different servers the script is ran on.
$ node ldap.js
{"name":"ldap","hostname":"battlestar","pid":5961,"level":30,"msg":"Logger active","time":"2017-11-09T08:05:12.842Z","v":0}
{"name":"ldap","hostname":"battlestar","pid":5961,"clazz":"Client","ldap_id":"1__ldap://ldap.sk.ee:389","level":20,"msg":"connected after 1 attempt(s)","time":"2017-11-09T08:05:12.867Z","v":0}
{"name":"ldap","hostname":"battlestar","pid":5961,"clazz":"Client","ldap_id":"1__ldap://ldap.sk.ee:389","level":10,"msg":"sending request {\"messageID\":1,\"protocolOp\":\"SearchRequest\",\"baseObject\":{\"rdns\":[{\"attrs\":{\"c\":{\"value\":\"EE\",\"name\":\"c\",\"order\":0}},\"spLead\":0,\"spTrail\":0}],\"_format\":{}},\"scope\":\"sub\",\"derefAliases\":0,\"sizeLimit\":0,\"timeLimit\":10,\"typesOnly\":false,\"filter\":\"(serialNumber=38603252768)\",\"attributes\":[\"cn\"],\"controls\":[]}","time":"2017-11-09T08:05:12.870Z","v":0}
{"name":"ldap","hostname":"battlestar","pid":5961,"clazz":"Client","level":10,"msg":"data event: <Buffer 30 0c 02 01 01 65 07 0a 01 00 04 00 04 00>","time":"2017-11-09T08:05:12.902Z","v":0}
{"name":"ldap","hostname":"battlestar","pid":5961,"clazz":"Client","level":10,"msg":"parse: data=<Buffer 0a 01 00 04 00 04 00>","time":"2017-11-09T08:05:12.905Z","v":0}
{"name":"ldap","hostname":"battlestar","pid":5961,"clazz":"Client","level":10,"msg":"Parsing done: {\"messageID\":1,\"protocolOp\":\"LDAPResult\",\"status\":0,\"matchedDN\":\"\",\"errorMessage\":\"\",\"referrals\":[],\"controls\":[]}","time":"2017-11-09T08:05:12.906Z","v":0}
{"name":"ldap","hostname":"battlestar","pid":5961,"clazz":"Client","ldap_id":"1__ldap://ldap.sk.ee:389","level":10,"msg":"response received","time":"2017-11-09T08:05:12.907Z","v":0}
END

There are no errors and nothing in the debugger to indicate any problems. Any idea if the behaviour of the client library can be affected by any libraries installed on the server? As I understand ldapjs should be pure javascript, so that does not sound plausible to me.
ldapjs version is 1.0.1 on all servers.

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Fix failing example

Stumped me when I started testing this as to why it was failing... Turns out the example was wrong :tongue:

Oooops. Thanks!


[Feature Request] Add an incremental modifier to the flanking action for each player involved

This is more the integration of a homebrew rule that me and other people use, if you like the idea but you don't want to waste time on it I can also try to prepare a PR, I still prefer to ask first =.=
After two players activate the flanking advantage as for the official rule to each additional player who joins them a +2 modifier (in hitting) is added to the advantage from the third player onward to everyone partecipate tot the flanking.

OPTIONAL: Add a module setting for set a maximum to the modifier for example I set as a maximum 4 and no matter the number participants will not have a bonus higher than 4 in hitting
OPTIONAL: Add a module setting to disable the advantage from the outset and add only the modifier. In this case instead of from the third player participating in flanking, from the second onward the increase in the modifier to hit is triggered (some people like it better that way).

It can definitely be added. It'll just take me a little bit due to being close to end of semester season. Though I'll gladly accept any prs. If I recall correctly adjacency check if O(n) in my implementation right now, so this shouldn't have any effects on performance for large scenes either.

Perfect, if I can this weekend I'll try to do something


Item 8638: Aliquot grid and lineage update

Rationale
A "isAliquot" column is now added to the samples grid to provide indication if a sample is an aliquot. Additionally, modifications to lineage query and graph are done to better support aliquot vs derivative differentiation.
Related Pull Requests

https://github.com/LabKey/platform/pull/2130
https://github.com/LabKey/labkey-api-js/pull/92
https://github.com/LabKey/labkey-ui-components/pull/485
https://github.com/LabKey/inventory/pull/212
https://github.com/LabKey/sampleManagement/pull/529

Changes

add "IsAliquot" query column to samples grid
add "materialLineageType" to lineage node response
support lineage filter option by MaterialRunType
fix broken lineage query when a seed has no child

Let's support filtering by other protocol LSIDs as well.

@kevinkrouse Kevin, can you please review this PR again so merge can be unblocked? Thanks.


[hotfix] [jobmaster] refactor suspendExecutionGraph and clearExecutio…

…nGraphFields

What is the purpose of the change
Adjust code between suspendExecutionGraph and clearExecutionGraphFields to keep them take corresponding responsibility. This is needed since clearExecutionGraphFields has one more use case and would forget to call #close.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (no)

cc @GJL @tillrohrmann

Thanks for your contribution @TisonKun. I'm currently working on https://issues.apache.org/jira/browse/FLINK-10498 where I will introduce an ExecutionGraphDriver. This change will touch these methods as well. In order to not cause any merge conflicts, I would like to not merge this hotfix.

@tillrohrmann ok, could you take over it and add as a hotfix of that branch?


⚠ Bofrost.be has degraded performance

In f9338bd, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1640 ms

Resolved: Bofrost.be performance has improved in 315c4f7.


Important notifications should be always shown.

Some notifications pushed to the notification list should be marked as important: those are immediately displayed, even if the list is hidden. User should be able to hide them. Some should define a time after which they will be hidden automatically.
Having such notification visible, when the list is shown, the already visible notifications should smoothly go to their place on the list. Then, if the user hides the list, no notifications should be visible until a new important notification arrives.
Acceptance Criteria
There should be a debug shortcut for pushing mocked important notification to the list

The tasks for https://github.com/enso-org/enso/issues/5733 should be redesigned for new GUI


Question with connections

Will twitch lib reconnect automatically if if it think it is disconnected?

It should, yes.


txmempool: Fix comparison between signed/unsigned int

Comparison between signed/unsigned int found in removeCoinbaseSpends
This commit is based on commit e617fe25 by Luke Dashjr in bitcoin.
Fixes: Dashpay github issue 540

Merged, thanks!


How do I use select in one-to-many or many-to-many

err := db.EntGoClient.Order.Query().
		Where(order.ID(orderId)).
		WithChecklist(func(query *ent.ChecklistQuery) {
		query.Select(checklist.FieldID,checklist.FieldCopNo).Scan(context.Background(),?????)
	}).
		WithWaybill().
		Select(order.FieldID,order.FieldAskSuccess,order.FieldCustomsStatus,order.FieldCustomsInfo).
		Scan(context.Background(), &order)
	if err != nil {
                 //
		return
	}

Please provide a partial of your schema and what you expect to return from the query.
Also note, that Select doesn't work with eager-loading.

Closing, please feel free to open if you still have question or need help.

@a8m, any plan to support the Select  in eager-loading? This can be critical to performance when fetching a large list of items with eager-loading.


Tiny simplification to serial.py

I made a tiny change to this file while investigating imports.  If we dumped this change I wouldn't care.  :-D

(And this time I'll make sure to wait till you write +1 for this pull request before checking in.  :-D)


update rewrite_assignment to return RewriteResult

tracked by #6206
Description
update rewrite_assignment to return RewriteResult

Thanks for leaving the note!
I've started the Diff Check


exposed_ports should accept integers when validating molecule.yml schema

Issue Type

Bug report

Molecule and Ansible details
ansible --version && molecule --version

ansible 2.7.8
  config file = None
  configured module search path = ['/home/olcla/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.6/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]
molecule, version 2.19.1.dev139

Molecule installation method (one of):

sudo pip install git+https://github.com/ansible/molecule

Ansible installation method (one of):

pip

Desired Behavior
As: a standard molecule user
Given: this molecule.yml extract
 platforms:
   - name: instance
     image: centos:7
     exposed_ports:
         - 9900/tcp
         - "9901/tcp"
         - 9902/udp
         - "9903/udp"
         - 9904
         - "9905"

When: I run molecule lint
Then: The command validates the schema of molecule.yml and exit without errors
Actual Behaviour
user@host$ molecule lint
--> Validating schema /home/user/dev/my_test_role/molecule/default/molecule.yml.
ERROR: Failed to validate.

{'platforms': [{0: [{'exposed_ports': [{4: ['must be of string type']}]}]}]}

exposed_ports should accept a list of integers or strings (integer should automatically be casted to strings).

OK, I think we can use http://docs.python-cerberus.org/en/stable/normalization-rules.html#value-coercion for this. Thanks for the report :+1:

OK, https://github.com/ansible/molecule/pull/1798 is out for this!


Update intel-haxm to 6.1.2,62:0b

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thanks for the quick merge <3


Segmentation fault (core dumped) on Ubuntu python only

Hi Team,
Thanks for this awesome framework. However I encountered error when running the Python Face Mesh solution on Ubuntu 20.04. Instead of re-open the issue #1720 , I create a new issue here and let me mention the detail problem.
Platform: Ubuntu 20.04
Python: 3.8.5
Solution: Face Mesh
Note that this error doesn't happen on MacOS and Windows 10.
below is the code I try to run:

and the error raised as below:

the mediapipe code that hits error:

Kindly advise since we need to run our program on Ubuntu.
Thank you

Hi @sufiaji , thank you for your interest in MediaPipe.
Could you please try to run Face Mesh sample on the same machine using pure C++? That should help to narrow down the problem. (If it runs correctly, then the problem is in python wrapper.)

Hello @gkarpiak ,
Thanks for the reply. Could you please advise the step to run example of face mesh C++ on Ubuntu? I am able to run the Hello World example on my Ubuntu, but struggling to find face mesh C++ example...
Thank you!

Closing this issue as we see you resolved!

Hi @sgowroji
This issue is not resolved yet, @gkarpiak asked to test using C++ to narrow down the problem, and I have tested with C++ sample and Ok. So now we know that the problem need to be resolved by the mediapipe team is on the python wrapper.
Thank you.

Do you run into this issue on a particular video or it crashes on every video or even webcam input? We need to a deterministic way to reproduce this issue first.

Hi @jiuqiant
Thanks for the mentioned steps to investigate. After several tests, this dump happen on every video. I create a simple python script to do the stress test, by iterating the subroutine screenshot above (up to 1000 iterations). So every iteration, the program will process all frames in a video file (from 1st frame into last frame), then next iteration it will repeat the same process. The dump hits on different iteration even on the same video. Sometimes the dump hits on iteration 19, 41, 98, or even 500.
I will continue to test from webcam.
Thank you.

I tested MP FaceMesh API on a clean GCP ubuntu 20.04 instance (https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts) with two test videos (a 7 seconds long and a 36 seconds long) and both of them look fine to me. I suggest that you can reproduce it on a clean ubuntu20.04 instance and report the detailed steps back.
My test video:
I trimmed  https://www.youtube.com/watch?v=n_Cn8eFo7u8 for testing. The short test video I use is from 31s to 39s and the long video is from 3s to 39s.
My test code:

My terminal outputs:

Hi @jiuqiant
Thanks for your video, I will test and report back.
Could you please also test mine?
https://youtu.be/kX6Jb-ziYVU
A 2 seconds video with 1080p resolution. It crash on iteration less than 100 on my Ubuntu.
Thank you

Hi @sufiaji , Can you share the status of this issue. Thanks!

Dear @jiuqiant @sgowroji
Apologize for being too long to response.
I tried the trimmed video as suggested by @jiuqiant , the 36s video... and it was dump on iteration 33 as below

This is the code:

We also tried on Docker as well and it was giving the same dump, although not on the same iteration.
Please advise.
Thank you

Hi @sufiaji, Could you please confirm your issue status. And where you need guidance. Thanks!

Hi @sgowroji
Thanks for replying.
This issue is still open, since I still encounter the error when trying the video suggested by @jiuqiant , even I run in Docker container. As mentioned above, the python error Segmentation fault raised on mediapipe/python/solutions/face_mesh.py and mediapipe/python/solution_base.py.
I need the guidance on how to eliminate those errors.
Thank you!

Hi @sufiaji, could you please mention the complete error details, so that @jiuqiant can have a look over. Thanks!

Hi @sgowroji ,
Please find below the detailed error in plain text:
Fatal Python error: Segmentation fault
Thread 0x00007fbe0a2dc700 (most recent call first):
File "/usr/lib/python3.8/threading.py", line 306 in wait
File "/usr/lib/python3.8/threading.py", line 558 in wait
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 232 in _on_run
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 46 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007fbe0aadd700 (most recent call first):
File "/usr/lib/python3.8/threading.py", line 306 in wait
File "/usr/lib/python3.8/threading.py", line 558 in wait
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 186 in _on_run
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 46 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007fbe0b2de700 (most recent call first):
File "/usr/lib/python3.8/threading.py", line 302 in wait
File "/usr/lib/python3.8/threading.py", line 558 in wait
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py", line 43 in _on_run
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 46 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007fbe0badf700 (most recent call first):
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 210 in _read_line
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 228 in _on_run
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 46 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007fbe0c2e0700 (most recent call first):
File "/usr/lib/python3.8/threading.py", line 306 in wait
File "/usr/lib/python3.8/queue.py", line 179 in get
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 339 in _on_run
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 46 in run
File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap
Current thread 0x00007fbe0da88740 (most recent call first):
File "/home/pradhonoaji/Documents/facespoof/facespoofenv/lib/python3.8/site-packages/mediapipe/python/solution_base.py", line 290 in process
File "/home/pradhonoaji/Documents/facespoof/facespoofenv/lib/python3.8/site-packages/mediapipe/python/solutions/face_mesh.py", line 238 in process
File "/usr/lib/python3.8/runpy.py", line 87 in _run_code
File "/usr/lib/python3.8/runpy.py", line 97 in _run_module_code
File "/usr/lib/python3.8/runpy.py", line 265 in run_path
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 285 in run_file
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 444 in main
File "/home/pradhonoaji/.vscode/extensions/ms-python.python-2021.3.658691958/pythonFiles/lib/python/debugpy/main.py", line 45 in
File "/usr/lib/python3.8/runpy.py", line 87 in _run_code
File "/usr/lib/python3.8/runpy.py", line 194 in _run_module_as_main

Hi @sgowroji , Hope you're doing good.
Any update on this matter?
Thanks!

Can you try pip install --index-url https://test.pypi.org/simple/ mediapipe==<IP_ADDRESS>.1?

Hi @sufiaji, Please try the above comment. Thanks!

Hi @sufiaji, Thank you for responding. Could you please confirm the above with the latest release. Thanks!


You may need an appropriate loader to handle this file type

Quite new to react... can anyone tell me why am i getting this error?
I guess I don't have the correct loader... but if I don't include material UI my react app works..
Any clues would be a great help
Line 30: Unexpected token (
You may need an appropriate loader to handle this file type.
   },

   getChildContext() {
     return {muiTheme: ThemeManager.getCurrentTheme()};
   },

are using es5 or es6?

I'm not 100% sure tbh, how do I check.
Sorry about the beginner question lol. I'm more of a ruby person :)

I'm going to say es5

what boilerplate are u using? the reason I ask is because if you're using es6 and you put a comma, it'll throw an error bc you don't need commas inside classes...the material ui samples are in es5.
here's a sample of my es6 class that i got working:
    import React from 'react';
    import styles from './Header.css';
    import mui from 'material-ui';

    let IconButton = mui.IconButton;
    let FlatButton = mui.FlatButton;

    let ThemeManager = new mui.Styles.ThemeManager();
    let AppBar = mui.AppBar;

    let injectTapEventPlugin = require('react-tap-event-plugin');
    injectTapEventPlugin();

    class Header extends React.Component{

      getChildContext() {
        return {
          muiTheme: ThemeManager.getCurrentTheme()
        };
      }

      render() {
        return (
          <AppBar
            title="Jefferies Strategic Investments"
            iconClassNameRight="muidocs-icon-navigation-expand-more" />
        );
      }

    }

    Header.childContextTypes = {
      muiTheme: React.PropTypes.object
    };

    export default Header;

I haven't used a boiler plate, do you have any that you would recommend?
After looking at your code i'm definitely using es5 not es6.

My main.jsx
require('./assets/app.css');
require('./assets/menu.css');
require('./assets/keywords.css');

var React = require('react');
var Router = require('react-router');
var routes = require('./config/routes.jsx');
var injectTapEventPlugin = require('react-tap-event-plugin');

//Needed for React Developer Tools
window.React = React;

injectTapEventPlugin();

Router.run(routes, Router.HistoryLocation, function(Handler) {
  React.render(<Handler/>, document.body);
});

You may as well hop on the es6 bandwagon if you're just getting started with React.
I'd recommend the following two boilerplates:
https://github.com/kriasoft/react-starter-kit
https://github.com/webpack/react-starter
the first is good if you're just starting out, the second I like because it gives me the option of having a hot dev server which is great if you have a diverse stack and just want to use the mini express server to serve up your assets and don't need the full blown Express/NodeJS server. I'm running React and Python Flask.

Thanks for your help, I will have a look at those!

I'm building react+material ui examples, so if you need examples:
https://github.com/liesislukas/ReactJs-boilerplate-and-examples/tree/master/examples

@raptoria I'm attempting to build a rails api with a react front end. The rails bit I'm fine with but the react part not so much. Would you recommend starting of with the first example?

@maxrosecollins  you should probably go with the first one.. the isomorphic stuff in the 2nd one is kinda complex, and you won't be needing it since you're doing rails on the backend. @liesislukas  thanks for the examples! keep them coming!

@raptoria Yeah that looks a bit too complicated for me right now. I will come back to that one

Thanks @liesislukas

@raptoria what makes it isomorphic?

@maxrosecollins  if you're using Javascript on the client and the server, then you can effectively set up your code to run on both, but that would require Nodejs/Express. Read more here:
http://nerds.airbnb.com/isomorphic-javascript-future-web-apps/

@maxrosecollins Are you all setup now? It seems like @raptoria and @liesislukas pointed you in right direction.
I'm doing some issue cleanup and since this looks like a general React/project configuration setup issue, I am going to close this for now. Thanks!

@newoga - while you're doing issue cleanup, it would be good to see as many issues and PRs as possible changed to using the [ComponentName] / [Docs] / [Core] etc prefix. It makes searching existing issues and PRs that little bit easier.

I would recommend to put rails away and make smaller app stack, use js for both server and client, api and ui and it will be easier in the end. @maxrosecollins at least it's the way i do stuff now days. It's really easier.

@mbrookes Will do, thanks!


Restrict ticking of tileentities to the cube?

some how people are able to get out of the cube if u can fix this that would be better but if not just disable ticking of things out of it :)

No, just no.
I really need a bot to auto-close these kind of issues:

Don't just ignore everything the template says OR accept that the dev ignores everything that's in your issue report.
You are already being teleported back inside automatically. Since you didn't specify anything, i assume you are running a version that does not have this feature included. Please update to the latest version.


Fix Windows build following db8970a

The Windows build of bindings-GLFW was broken due to commit db8970a713a032c1e0383a0214f7f47272718bb3. @JavierJF mentioned some ideas he had to prevent this in the future, but until that gets implemented, re-adding the code from #28 fixes the build.

Thanks, I will to fix this definitively as soon as possible.


1.3: Support key-based, cross-deliverable referencing

This requires enabling a multi-pass process by which the first pass for a given root map generates an intermediate data set (which could be a DITA map) that binds keys to locations in the deliverable being generated.
Maps that reference this deliverable can then use the intermediate data set to generate deliverable-specific links to the other deliverable. If the intermediate data set is itself a map, this can be implemented by simply including the intermediate map in the root map so that it has the highest key precedence.
There are some practical challenges. Eliot has defined a general abstract implementation approach and provide that as input to the design.
The main implementation challenge for the OT appears to be modifying the existing HTML and FO transforms to capture the mapping of source keys to deliverable-specific addresses, since this is something those processes were never architected to do.

+1 https://www.oxygenxml.com/forum/viewtopic.php?f=20&t=17932&p=50250#p50250
    Does the OT built into Oxygen support cross-deliverable links? Does any processor support this capability?

Linking to the DITA 1.3 specs:
http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/archSpec/base/links-between-maps.html#links-between-maps

I've commented elsewhere that I think the project mechanism is a prerequisite for implementing this as well, since you need some kind of project file to capture the details used to produce a given deliverable and thus serve as a persistent object that gives identity to the deliverable.
For example, there has to be a way to know where the deliverable was (or will be) delivered so that URLs to that deliverable can be correctly constructed as either absolute or relative URLs, depending on where the deliverable linking to the target deliverable is itself being delivered.
Conceptually, a deliverable is identified by the tuple of (root map, transform type, filter conditions, other runtime parameters). The project file can be an instance of that tupple (when all the runtime conditions are specified in the project file).
Of course, a single project file might configure multiple deliverable instances, so more generally, an element within a project file can serve as the identity of a deliverable.
But for simplicity it would be convenient to have a one-to-mapping  between project files and deliverables so that you could, for example, use the filename of the project file as the ID of the deliverable, rather than having to a project file/ID pair (not that that's a big deal since that could be a normal URL with an ID reference fragment ID). But in practice it tends to be convenient to have the file itself be the identity.

Sounds like you would produce a graph containing each topic produced by the pre-process and its final output?
This would roughly look like this (without the prefix declaration) in turtle:
dita:topicA.dita
  dita:referencedBy mapA.ditamap
  dita:filteredBy 3.ditaval
  ditaOt:transtype html5

Then you could refer to the declaration during processing of a peer reference to this topic.

I was not thinking about it on a per-topic level, but on a per-root-map/per-key level.
For the purposes of cross-deliverable linking you need to know, for each key reflected in the target deliverable, what its deliverable-specific anchor is.
So conceptually there needs to be a key-in-deliverable-to-deliverable-anchor mapping maintained for each deliverable.
Of course a link management system would want to capture the sort of where-used information you've shown (and that's what the DITA for Small Teams link management application does).

+1 another one of our end users asked for this feature.

Adding a link here to the project created by @chrispy: https://github.com/chrispy-snps/DITA-fix-xbook-html-links
for making peer links work in HTML based outputs.


Out of memory when running small network with mnist?

I work in Ubuntu14.04 with 1080Ti(12GB memory).
When I run a small network using mnist data set, at the beginning, everything is OK. But after nearly 3000
iterations with batchsize 128, tensorflow returns out of memory error. It looks something is accumulated into memory, but I don't know what it is. Here is the error log:
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 2492 Chunks of size 802816 totalling 1.86GiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 2492 Chunks of size 3211264 totalling 7.45GiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 1 Chunks of size 3212544 totalling 3.06MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 2 Chunks of size 3686400 totalling 7.03MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 1 Chunks of size 3937280 totalling 3.75MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 1 Chunks of size 6422528 totalling 6.12MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 1 Chunks of size 12845056 totalling 12.25MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] 1 Chunks of size 21105152 totalling 20.13MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:700] Sum Total of in-use chunks: 9.86GiB
I tensorflow/core/common_runtime/bfc_allocator.cc:702] Stats:
Limit:<PHONE_NUMBER>3
InUse:<PHONE_NUMBER>4
MaxInUse:<PHONE_NUMBER>0
NumAllocs:                 1438980
MaxAllocSize:            115605504

W tensorflow/core/common_runtime/bfc_allocator.cc:274] ****************************************************************************************************
W tensorflow/core/common_runtime/bfc_allocator.cc:275] Ran out of memory trying to allocate 3.06MiB.  See logs for memory state.
W tensorflow/core/framework/op_kernel.cc:993] Resource exhausted: OOM when allocating tensor with shape[128,32,14,14]

And here is part of my code:
def iterate_minibatches(inputs, batchsize, shuffle=False):
    if shuffle:
        indices = np.arange(len(inputs))
        np.random.shuffle(indices)
    for start_idx in range(0, len(inputs) - batchsize + 1, batchsize):
        if shuffle:
            excerpt = indices[start_idx:start_idx + batchsize]
        else:
            excerpt = slice(start_idx, start_idx + batchsize)
        yield inputs[excerpt]

X = np.load('mnist.npz')['x_train']
X = np.reshape(X,(-1,28,28,1))
epoch = 200
num = 0
for i in range(epoch):
    for batch in iterate_minibatches(X, batchsize, shuffle=True):
        Rng = np.random.rand(batchsize,100).astype('float32')
        if  num%6!=0:
            _, p_d, err_d = sess.run([train_d,p_real,d_loss/batchsize],{real:batch,rng:Rng})
        else:
            _, p_g, err_g = sess.run([train_g,p_fake,g_loss/batchsize],{rng:Rng})
            del _
        if (num+1)%200==0:
            _img = sess.run([fake],{rng:Rng})[0]
            img = np.reshape(_img,(-1,28,28))
            img = np.array(255*img,dtype='uint8')
            save_images(img,str(num+1)+'.png')

What is the problem? ( No other programs occupy GPU memory）

This question is better asked on  StackOverflow since this is likely a problem with your code and not a TensorFlow bug. Please reopen this issue if further investigation makes you think it is a bug after all. Thanks!


V3 after install @vue/cli I got 'vue' is not recognized as an internal or external command, operable program or batch file.

and I got another error my friend system

Please help to fix this issue

Please do not abuse pull requests. Next time, open an issue with our issue helper.
In your case, the problem is that the binary path that npm installs the global packages to (C:\Users\gvenunathan\'~\.npm-packages'\) is not in the System Variable Paths. It's not related to Vue CLI. See https://www.thewindowsclub.com/is-not-recognized-as-an-internal-or-external-command
In your friend's case, he/she needs to run the CMD program with Administrative privileges.

yes thanks;)
I just move the C:\Users\gvenunathan'~.npm-packages'\ vue.cmd and vue file into ..\AppData\Roaming\npm here now working fine


Cannot compile with Flutter 2.0

dart_chromecast is not compatible and there seems to be no other solution

Is there any solution for this yet?

Is there any solution for this yet?

I commented out all the problematic part of the code base, there are a lot of them...

Not all packages are updated to support null safety, and there are many compatibility issues. The easiest way is remove the dart_chromecast plugin


pcaudiolib: 2016-07-19 -> 1.1

Motivation for this change
Update a speechd dependency.
Tested with mumble.override { speechdSupport = true; }, also together with #75230 and #75213.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Thanks!


References view does not open

Issue Type: Bug
Menu: View -> Open View... -> view References
Result: Nothing happens.
Expected: References view appears on the sidebar
Mouse: Right-click on a variable
Result: A context menu pops up, but there is no "Find all references" item
Expected: There must be a "Find all references" item in the pop-up menu
My project is C++.  C/C++ extension version 0.20.1 is installed.
VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:49:48.319Z)
OS version: Linux x64 4.15.0-43-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (4 x 800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
7, 6, 5

Memory (System)
15.59GB (0.20GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

code-runner
for
0.9.6

vscode-clang
mit
0.2.3

cpptools
ms-
0.20.1

html-preview-vscode
tht
0.2.5

Fixed the first part (View -> Open View... -> view References).
Assigning @jrieken for the second part.

A context menu pops up, but there is no "Find all references" item

That depends on the extension, it must register a reference provider. @AlexanderAmelkin please try with a TypeScript file and check if you see the action in the context menu

Closing because no information was provided

I'm sorry for the delay with info regarding TypeScript (I don't use it), but isn't it wrong to close an issue regarding C++ because I haven't conducted the requested TypeScript experiment?
I've checked now and yes, it turns out that it indeed does work with TypeScript.
Does that excuse that it doesn't work with C/C++? I don't think so.

@jrieken, please re-open. The issue isn't resolved.

Does that excuse that it doesn't work with C/C++? I don't think so.

That means this issue is caused by the c/c++ extension and should be filed there

@jrieken, ok thank you.
I found that it is a long (very-very-long actually) existing issue: Microsoft/vscode-cpptools#15
I see that Microsoft has been working on it for THREE YEARS now without any progress. :(
IMO, there is no slightest chance that this feature will ever get implemented.
I'll go switch back to vim+cscope.
Thanks.

@AlexanderAmelkin
Have you tried using clangd with its extension. I have "configured" it few days ago and it works quite well, of course you have to disable this microsoft addon, and allow clangd do the stuff ;)


Implement Distributed Transaction Support

AdoScope is multi-targeted. DTC is only support on Windows and not at all on .NET 5 and 6; therefore, implementation is likely to need pre-processor directives and OS detection, but I will try and see what I can do.

Explicit DTC supported merged to main in PR: #5
Implicit DTC support still to do.


docs(samples): Dynamic destinations in Iceberg I/O for Dataflow

Description
Update the Apache Iceberg write sample to show the use of dynamic destinations, which is a new feature in Beam 2.60.
Relevant doc bug: b/371047621
Checklist

[ ] I have followed Sample Format Guide
[ ] pom.xml parent set to latest shared-configuration
[ ] Appropriate changes to README are included in PR
[ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[ ] Tests pass:   mvn clean verify required
[ ] Lint  passes: mvn -P lint checkstyle:check required
[ ] Static Analysis:  mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[ ] Please merge this PR for me once it is approved

Closing because it turns out this will need to be a separate snippet, so I will need to rework it.


Prometheus not scraping app metrics (no mtls)

Bug description
Following this FAQ entry ( https://istio.io/faq/metrics-and-logs/#prometheus-application-metrics ), I can't make prometheus scrape app metrics for non-mtls workloads (perhaps it works for mtls, I haven't tried).
FAQ says:

The kubernetes-pods job collects application metrics from pods in environments without mutual TLS. The kubernetes-pods-istio-secure job collects metrics from application pods when mutual TLS is enabled for Istio.

But I need to do some tweaks on the prometheus configmap to make it work. Basically, the problem is that non-mtls pods are supposed to fall under kubernetes-pods job, but that job drops all pods with istio sidecar:
  - source_labels: [__meta_kubernetes_pod_annotation_sidecar_istio_io_status]
    action: drop
    regex: (.+)

So it cannot work.
More than a year ago I did a PR to fix the exact same problem: https://github.com/istio/istio/pull/10492/files but these changes are not used now that istio is installed using manifest apply.
So I wonder, should I repeat the same PR, or am I doing something wrong?
PS: here's the annotations I used on my pods:
  template:
    metadata:
      annotations:
#        prometheus.io/scheme: "http"
        prometheus.io/scrape: "true"
        prometheus.io/port: "8080"
        prometheus.io/path: "/metrics"

And here's the error when prometheus tries to scrape: Get https://<IP_ADDRESS>:8080/metrics: http: server gave HTTP response to HTTPS client (so, this is under kubernetes-pods-istio-secure job whereas I would expect the job kubernetes-pods to be used, as per the FAQ entry)
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
Istio 1.5.0 to 1.6.0, kube v1.16.2 (minikube)
How was Istio installed?
istioctl manifest apply --set profile=demo on minikube

PS: I can see in yaml files prom's configmap depends on Values.prometheus.provisionPrometheusCert and Values.meshConfig.enablePrometheusMerge.
So, I guess if I install istio with enablePrometheusMerge , that should work. If so, it should probably be mentioned in the FAQ entry, as it doesn't work out of the box as FAQ suggests.

For the merge option, this is documented here https://preliminary.istio.io/docs/ops/integrations/prometheus/#option-2-metrics-merging. I wasn't aware of the FAQ, I'll need to update that

@jotak  In my case, I have given annotations in the deployment and service yamls and my application prometheus metrics is in http.Mtls is disabled.I expect the metrics targets to be in kubernetes-pods job but it is not showing there.Instead It is shown under kubernetes-pods-istio-secure job and the targets are down due to the same reason you have(http: server gave HTTP response to HTTPS client).
What changes should I make inorder to get these metrics (in the kubernetes-pods)?

Is this actually a bug or misconfiguration?

@sachinsaju so, if you have istio 1.6 you can install it with metrics merging enabled, which should fix this problem (e.g.: istioctl manifest apply --set meshConfig.enablePrometheusMerge=true --set profile=demo)
Prior to 1.6 I had to tweak the prometheus configmap in the same way that was done in this patch: https://github.com/istio/istio/pull/10492/files . If you don't want at all https scraping you can even completely remove the kubernetes-pods-istio-secure job and modify the kubernetes-pods to remove the following 'drop' rule:
      - source_labels: [__meta_kubernetes_pod_annotation_sidecar_istio_io_status]
        action: drop
        regex: (.+)

That should work

This is solved in 1.7 so for me issue can be closed, unless you plan some backporting to 1.6.x

@sachinsaju so, if you have istio 1.6 you can install it with metrics merging enabled, which should fix this problem (e.g.: istioctl manifest apply --set meshConfig.enablePrometheusMerge=true --set profile=demo)
Prior to 1.6 I had to tweak the prometheus configmap in the same way that was done in this patch: https://github.com/istio/istio/pull/10492/files . If you don't want at all https scraping you can even completely remove the kubernetes-pods-istio-secure job and modify the kubernetes-pods to remove the following 'drop' rule:
      - source_labels: [__meta_kubernetes_pod_annotation_sidecar_istio_io_status]
        action: drop
        regex: (.+)

Just do this change in prometheus config map and restart prometheus. That should work.

I am using istio 1.6 and add the meshConfig.enablePrometheusMerge=true config , it works now, thank you.

@sachinsaju so, if you have istio 1.6 you can install it with metrics merging enabled, which should fix this problem (e.g.: istioctl manifest apply --set meshConfig.enablePrometheusMerge=true --set profile=demo)
Prior to 1.6 I had to tweak the prometheus configmap in the same way that was done in this patch: https://github.com/istio/istio/pull/10492/files . If you don't want at all https scraping you can even completely remove the kubernetes-pods-istio-secure job and modify the kubernetes-pods to remove the following 'drop' rule:
      - source_labels: [__meta_kubernetes_pod_annotation_sidecar_istio_io_status]
        action: drop
        regex: (.+)

Just do this change in prometheus config map and restart prometheus. That should work.

I am using istio 1.6 and add the meshConfig.enablePrometheusMerge=true config , it works now, thank you.

Having this issue in Istio 1.9,
2021-04-11T13:49:15.082305Z	error	failed scraping application metrics: error scraping http://localhost:80/metrics: Get "http://localhost:80/metrics": dial tcp <IP_ADDRESS>:80: connect: connection refused
Any solution ??

Having this issue in Istio 1.9,
2021-04-11T13:49:15.082305Z error failed scraping application metrics: error scraping http://localhost:80/metrics: Get "http://localhost:80/metrics": dial tcp <IP_ADDRESS>:80: connect: connection refused
Any solution ??

Anyone found solution ?

having the issue in 1.11.5:
 istio-proxy error failed scraping application metrics: error scraping http://localhost:80/metrics: Get "http://localhost:80/metrics": dial tcp [::1]:80: connect: connection refused

and the pod shouting it has prometheus.io POD annotations:
metadata:
  annotations:
    prometheus.io/path: /stats/prometheus
    prometheus.io/port: "15020"
    prometheus.io/scrape: "true"

@Shahard2 Did you get any solution for this

ok


Fall back to CPU for unsupported regular expression edge cases with end of line/string anchors and newlines

Closes https://github.com/NVIDIA/spark-rapids/issues/5525
Through expanded fuzz testing, we recently discovered some edge cases that produce different results between CPU and GPU for regular expressions patterns with an end of line anchor $ immediately next to a newline, begin-of-line anchor ^ or repetition that could produce empty results.
New code is added in this PR that checks for these unsupported patterns so that we can fall back to CPU for these cases.

[x] Implement checks
[x] Update tests
[x] Update compatibility guide

Note: The checks for these edge cases are very broad and result in some regression and false positives which are outlined here #5659

build

I believe that the CI failures are related to recent changes in the container around UTF-8. I can reproduce them locally if I unset LANG.

build

build

build

build

build

build

build

build

@anthony-chang this is passing now but we'll need a follow-on issue to add the characters that I removed from the fuzzer to make this pass in CI

@NVnavkumar @anthony-chang I will retarget this to 22.08

build


Latest .zip (commit 2256522) won't compile.

Hi.
Just downloaded the latest .zip (commit 2256522 ) and now I can't get McLighting to compile. I'm getting multiple error messages (below), all reporting 'class Ticker' has no member named 'active'.
I've tried with NodeMCU and Wemos D1 Mini.
Please advise.
Kevin
Error log follows --->
Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200"
Build options changed, rebuilding all
In file included from /Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino:206:0:
sketch/request_handlers.h: In function 'void webSocketEvent(uint8_t, WStype_t, uint8_t*, size_t)':
request_handlers.h:404: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:419: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:444: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:463: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:522: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:578: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
sketch/request_handlers.h: In function 'void mqtt_callback(char*, byte*, unsigned int)':
request_handlers.h:807: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:831: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:845: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:869: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:888: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:942: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:993: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
/Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino: In lambda function:
McLighting:540: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
/Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino: In lambda function:
McLighting:567: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
/Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino: In lambda function:
McLighting:785: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
Multiple libraries were found for "ESP8266WebServer.h"
Used: /Users/kev/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.0/libraries/ESP8266WebServer
Not used: /Users/kev/Documents/Arduino/libraries/WebServer_tng
exit status 1
'class Ticker' has no member named 'active'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
<--- Error log ends

Ok, I jumped the gun a bit - sorry!
I deactivated Home Assistant and now can successfully compile. Maybe Home Assistant should not be defined by default to avoid fools like myself having problems :)
Again, sorry about that (and as always great project, you guys do amazing work). Thanks.

Hi @ke5,
which version of the ESP core are you using (boards manager in the Arduino IDE)? Latest version needs the 2.4.1 core. I have to add that in the documentation. The error message could be related to that.
Regards
Tobias

Updating ESP core from 2.4.0 to 2.4.1 fixed it for me :+1:

I was on ESP Core 2.4.0, updated to 2.4.1 but it still fails to compile if I have ENABLE_STATE_SAVE_SPIFFS and works with ENABLE_STATE_SAVE_EEPROM. However, the error message is different, 'DynamicJsonBuffer' was not declared in this scope, log below.
Begin error log --->
Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from /Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino:206:0:
sketch/request_handlers.h: In function 'bool writeConfigFS(bool)':
request_handlers.h:1222: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4));
^
request_handlers.h:1222: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4));
^
request_handlers.h:1224: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1224: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1224: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1225: error: 'mqtt_host' was not declared in this scope
json["mqtt_host"] = mqtt_host;
^
request_handlers.h:1226: error: 'mqtt_port' was not declared in this scope
json["mqtt_port"] = mqtt_port;
^
request_handlers.h:1227: error: 'mqtt_user' was not declared in this scope
json["mqtt_user"] = mqtt_user;
^
request_handlers.h:1228: error: 'mqtt_pass' was not declared in this scope
json["mqtt_pass"] = mqtt_pass;
^
sketch/request_handlers.h: In function 'bool readConfigFS()':
request_handlers.h:1259: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4)+300);
^
request_handlers.h:1259: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4)+300);
^
request_handlers.h:1261: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1261: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1261: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1266: error: 'mqtt_host' was not declared in this scope
strcpy(mqtt_host, json["mqtt_host"]);
^
request_handlers.h:1267: error: 'mqtt_port' was not declared in this scope
strcpy(mqtt_port, json["mqtt_port"]);
^
request_handlers.h:1268: error: 'mqtt_user' was not declared in this scope
strcpy(mqtt_user, json["mqtt_user"]);
^
request_handlers.h:1269: error: 'mqtt_pass' was not declared in this scope
strcpy(mqtt_pass, json["mqtt_pass"]);
^
sketch/request_handlers.h: In function 'bool writeStateFS()':
request_handlers.h:1290: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7));
^
request_handlers.h:1290: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7));
^
request_handlers.h:1292: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1292: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1292: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
sketch/request_handlers.h: In function 'bool readStateFS()':
request_handlers.h:1333: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7)+200);
^
request_handlers.h:1333: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7)+200);
^
request_handlers.h:1335: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1335: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1335: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
Multiple libraries were found for "ESP8266WebServer.h"
Used: /Users/kev/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.1/libraries/ESP8266WebServer
Not used: /Users/kev/Documents/Arduino/libraries/WebServer_tng
exit status 1
'DynamicJsonBuffer' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
<--- Error log ends

Apart from the problem described above I should add that using NeoAnimationFX instead of WS2812FX appears to be much more stable. I was experiencing random reboots and wifi hangups with the WS2812FX library using 512 WS2812B leds. It's been running perfectly for the past 4-5 hours so thank you and @debsahu for that.

@ke5 Regarding the compile errors when ENABLE_STATE_SAVE_SPIFFS is enabled, install latest Arduino Json

Ah! If I enable #define ENABLE_HOMEASSISTANT it compiles ok. I think the problem is that the ArduinoJson library is only loaded if HA is enabled at lines 30-32 of McLighting.ino. Is ENABLE_STATE_SAVE_SPIFFS only needed if HA is enabled? At the moment I don't need HA, MQTT or Button so my thinking is disable them to make the program smaller.

The Node-Red flow example no longer works properly anymore too - it works once then you have to refresh the page every time so of course you can't access modes, just the colour wheel.
Should I create a new issue about this? Could it be related to the above issue?
(It's not a big problem for me, I'm just playing with it at the moment but it is such a nice feature!)

Ahh I see, so many permutation and combination of options! I can fix the inclusion of library, create a PR. Regarding node red, start a new issue and tag @toblum as I don't use it.

Indeed, so many things to play with! Thanks for your help @debsahu
I'll attempt to solve the Node-Red thing before hassling toblum as I'd like to try to contribute in some small way if I can.


Upgrade Calcite to 1.21

This PR updates Calcite to 1.21.
Upgrading also fixes #8266
This patch introduces incompatible behavior in two areas:

The Calcite optimizer can remove the ORDER BY from subqueries when there is no limit or offset (https://issues.apache.org/jira/browse/CALCITE-2798). An example in our unit tests is shown here: https://github.com/apache/incubator-druid/pull/8566/files#diff-190f8eaf9dd09e8d7ae0564804286afcR808
The Calcite optimizer can make certain optimizations that assume SQL-compatible null handling behavior, e.g.:
https://github.com/apache/incubator-druid/pull/8566/files#diff-190f8eaf9dd09e8d7ae0564804286afcR1830
https://github.com/apache/incubator-druid/pull/8566/files#diff-190f8eaf9dd09e8d7ae0564804286afcR1888

The web console relies on the subquery ORDER BY being respected (it can wrap queries made in the query view with an outer query that has a limit), so this patch adds an internal query context flag that wraps a query with a limit-only LogicalSort if specified.
Before including this version upgrade in a release, I think we should expose the SQL compatible null handling mode in our docs (https://github.com/apache/incubator-druid/issues/4349) and update the web console to use the new context flag for applying limits.
This PR has:

[x] been self-reviewed.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths.

@jon-wei thanks. I'm reviewing this PR.


Change profile frequency to 5m

/assign @marseel
This time as a regular PR. Sorry for the misclick before.

/lgtm
/approve


Fix contact us page layout

Make the contact us form symmetrical and improve the overall layout. In the latter section, remove the labels like address, phone, email, and website. Fix the "go-to-top", change it to an arrow icon. Make the hamburger menu instead of menu button.

Hi, I would like to work on this issue. Please assign the same.

Sure, go ahead!! @aanchal-fatwani


feat: Allow deleting the copyright

Is it a ?

[ ] Bug Report

[x] Feature Request

[ ] Chore

Feature Request
Feature Description
Right now the application supports creating Copyright for an Event. It should also support deleting the copyright.
Would you like to work on the issue?
Yes
Parent issue
#619
To be done after #737

Please comment when ready

@iamareebjamal Please open this. Ready to send the PR

@iamareebjamal Please remove the unimplemented and waiting-for-status tags.


Calculate CRC using Intel DSA

Intel DSA(intel Data Streaming Accelerator) will be available in SPR, the DSA introduction can be found at https://01.org/blogs/2019/introducing-intel-data-streaming-accelerator
Using Intel DSA to calculate CRC offloading CPU and the CRC can be calculated during the DMA copy process. Data that does not pass the CRC can be discarded directly to reduce the cost of copying data into memory

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: beef9999:x: hhb584520You have signed the CLA already but the status is still pending? Let us recheck it.


Add messaging around custom babel config

Fixes https://github.com/fusionjs/fusion-cli/issues/84

!merge


rendering pdf : "Warning: Knockout groups not supported." pdf.js:201

redering seems not affected
http://www.100y.com.tw/pdf_file/39-Nordic-NRF51822.pdf
"PDF 44253951d25fcb334b58716166f84ff [1.6 Acrobat Distiller 10.1.4 (Windows) / FrameMaker 11.0] (PDF.js: 1.0.277)" viewer.js:3461
"Warning: Knockout groups not supported." pdf.js:201
"Warning: JavaScript is not supported" viewer.js:3401
"Warning: Knockout groups not supported." pdf.js:201

Thanks for the report!
This is a duplicate of issue #3136, hence I'm closing this one.


Crash bug when processing SSO return under Xcode 9.3

Fixed an issue that appears when compiled with Xcode 9.3, where the various "annotation" parameters are declared as "Any", which means that they cannot be nil. With the new version of the compiler, a nil value causes a runtime crash, and the source of this parameter, the application's incoming value for options[UIApplicationOpenURLOptionsAnnotationKey] is typically nil. Passing a nil value as annotation directly actually results in the following compilation error: "Null passed to a callee that requires a non-null argument", as further evidence of the issue. The fix is to make annotation an optional parameter ("Any?" instead of "Any") in the various places it is used.

Sorry about yesterday's pull request... I hadn't checked the test code to make sure it compiled.  Today's fixes that and catches a few more places where "annotation" was required to be non-nil.

No problem, thanks @lhasiuk!

Any blockers on merging this?

No blockers -- just my time. Sorry! 😅
I'll bump the version later today.


Type Error crashes home bridge on start.

Hello, I just got a new Pi and am only trying to put homebridge-camera-ffmpeg on it with no success.
I get this error with my config (posted below)
Error
pi@raspberrypi:~/.homebridge $ homebridge
[2019-6-18 10:16:11] Loaded config.json with 1 accessories and 1 platforms.
[2019-6-18 10:16:11] ---
[2019-6-18 10:16:13] Loaded plugin: homebridge-camera-ffmpeg
[2019-6-18 10:16:13] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[2019-6-18 10:16:13] ---
[2019-6-18 10:16:13] Loading 1 platforms...
[2019-6-18 10:16:13] [Camera-ffmpeg] Initializing Camera-ffmpeg platform...
[2019-6-18 10:16:13] Loading 1 accessories...
[2019-6-18 10:16:13] TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:50:12)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:297:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:91:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
[2019-6-18 10:16:13] Got SIGTERM, shutting down Homebridge...
Config
{
        "bridge": {
                "name": "Homebridge",
                "username": "CC:22:3D:E3:CE:30",
                "port": 51826,
                "pin": "031-45-154"
        },

        "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you$
        "ports": {
                "start": 52100,
                "end": 52150,
                "comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
        },
        "accessories": [{

        }],

        "platforms": [{
                "platform": "Camera-ffmpeg",
                "cameras": [{
                        "name": "Camera Name",
                        "videoConfig": {
                                "source": "-re -i rtsp://myfancy_rtsp_stream",
                                "maxStreams": 2,
                                "maxWidth": 1280,
                                "maxHeight": 720,
                                "maxFPS": 30
                        }
                }]
        }]
}

There is a problem with your config.json
Check it at config.json

I checked it. Just delete:
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you$

@mafyata Thanks for the reply. This did not end up working for me..
I also tried a config from my other home bridge setups and they also fail on this machine, I will try to wipe the Pi and start again and hope it was just a install error.

If you want I can send you txt file with comands for installing homebridge , nodejs and set it to start with system startup. Just copy/paste commands.

Yes please. Could you also link a FFMPEG install guide for Homebridge-Camera-FFMPEG

Which OS are you using ? With Desktop or no ?

Stretch Lite (No Desktop) I just got home bridge installed and found the FFMpeg install guide so I'm doin that currently.

###sudo apt-get install curl - if curl command don't work
sudo su
curl -sL https://deb.nodesource.com/setup_10.x | bash -
sudo apt-get install -y nodejs
node -v
apt-get install libavahi-compat-libdnssd-dev
npm install -g --unsafe-perm homebridge

This is for installing nodejs 10.16.0 and homebridge.

Cheers, gonna try it out :D

after that you must create config.json

cat >/var/lib/homebridge/config.json <<EOL
{
"bridge": {
"name": "Homebridge",
"username": "CB:22:3D:E2:CE:31",
"port": 51826,
"pin": "033-44-254"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "teal",
"restart": "sudo -n systemctl restart homebridge",
"tempUnits": "c",
"sudo": true,
"log": {
"method": "systemd"
},
"platform": "config"
}
]
}
EOL

Change parameters for your config

@mafyata Thanks so much for the help I got it all working!


DistributionNotFound error when running tox

Hi,
@pydanny discovered that the test suite is broken at the moment. The according tests are coincidentally skipped on Travis. :cry:
Running py.test itself doesn't show any errors at all. However tox -e py27 does:
...
tests/test_more_cookiecutters.py:67: AssertionError
...
pkg_resources.DistributionNotFound: click<4.0

git bisect reports that the suite broke back when we switched to click in 9317f39.
Apparently setting up a fresh virtualenv did the trick for me:
  py27: commands succeeded
ERROR:   py33: InterpreterNotFound: python3.3
  py34: commands succeeded
  pypy: commands succeeded
  flake8: commands succeeded

Can you confirm this?

Everything looks okay to me. Should we leave this open or close it?

I'd say we close this at this point.  :relaxed:
In case someone experiences this problem we know where to look first.


New package: trzsz.tssh version 0.1.7

Close #112317

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/112341&drop=dogfoodAlpha

@microsoft-github-policy-service agree

@wingetbot Why Validation-Executable-Error? Do I need to solve something?

[Policy] Needs Attention

@wingetbot waivers Add Validation-Executable-Error

@wingetbot run

@wingetbot run


VeggieSeasons sample app design question

In the VeggieSeasons sample app, there is a time display at the top of the list of cards on the home screen. I'm curious what the design intent of the this widget is?

I find it disconcerting to have a frozen time. I'd vote for either taking it out or making it live update. Thoughts?

This has been changed to a month/year display.
https://github.com/flutter/samples/blame/master/veggieseasons/lib/screens/list.dart#L38


Dependency: update node.js app insights sdk to 1.2.0

Description

Update version of node.js app insights SDK. Versions >= 1.1.0 are much more stable as it deprecates usage of zone.js.
https://github.com/Microsoft/ApplicationInsights-node.js/releases

If we're updating an npm package we probably want to commit the corresponding 'package-lock.json' change as well.

Pull Request Test Coverage Report for Build #2205

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.287%

Totals

Change from base Build #2203:
0.0%

Covered Lines:
3237

Relevant Lines:
3524

💛  - Coveralls


added qoute from The Wizard of Oz

Qoute from The Wizard of Oz: "Toto, I've got a feeling we're not in Kansas anymore."
Some whitespace fixes.

#3


MacOS: configuration directory isn't automatically created

commit:<PHONE_NUMBER>4299af9a1ab6ef511e491e43e5a3c3
OS: MacOS
When starting with esy run for the first time, the config directory isn't automatically generated, throwing the following error
Error loading configuration file: Failed to copy from /Volumes/Projects/oni2/src/assets/configuration/configuration.json to /Users/vincent/.config/oni2/configuration.json, encountered No such file or directory, whilst calling open with /Volumes/Projects/oni2/src/assets/configuration/configuration.json

The configuration directory shouldn't need making at all, its part of the repo (oni2/assets/configuration).
 If you have, its possible the recent changes to the CLI startup have caused an issue where we are looking in the wrong location for that file, since its looking in oni2/src/assets/ not oni2/assets/.

Per instructions, I ran:
git clone https://github.com/onivim/oni2
cd oni2
esy install
esy bootstrap
esy build
cd src/textmate_service
node install.js
npm run build
cd ..
esy run

When I created the directory on the command line, the error went away.

Ah!
On the initial run, we copy the bundled config by using GetExecutingDirectory() joined with configuration.json. However, since you were running from src, it looks in there rather than the root of the repo.
We should probably update the build instructions to say to do npm run build; cd ../.., and then also actually fix the code to always point to the repo root.
Running esy run from oni2/ works as expected and does copy the config for me, so we just need to make the finding of the root more robust. Perhaps with a GetGitBaseDirectory(), not the current directory.

Thinking about this again, what this actually needs is the ability to go from the default in the ConfigurationValues.re to JSON. That JSON can then be written out using YoJSON after being prettied.
That lets us skip the issue of pulling in configuration from a relative directory, as well as stopping the current issue of a duplication of configuration values (which causes issues like #402 to be more confusing to fix).
The snag with that is we need to translate the property names in default to the actual JSON setting name, ie editorTabSize -> editor.tabSize. Not sure if we could achieve that with the current config parser, so may need an extra one just for the converting of a property name to a JSON field.


Fix for Gradle 8.8

Before this PR
This plugin fails to work in Gradle 8.8, with the error:
Caused by: java.lang.NoSuchMethodError: 'void org.gradle.api.internal.tasks.testing.report.DefaultTestReport.<init>(org.gradle.internal.operations.BuildOperationExecutor)'
	at com.palantir.witchcraft.java.logging.gradle.testreport.TestReportFormattingPlugin.lambda$apply$0(TestReportFormattingPlugin.java:47)
	at org.gradle.internal.code.DefaultUserCodeApplicationContext$CurrentApplication$1.execute(DefaultUserCodeApplicationContext.java:123)

This plugin does heinous reflection of Gradle internal classes. In 8.8, they changed the constructor we reflectively access, meaning we get the NoSuchMethodError for the one we were trying to use.
After this PR
Either use the new or old constructor depending on the Gradle version.
Possible downsides?

👍

Released 2.12.0