wysiwyg bug : table broken when double click && paste a word(react, vue, cdn)

Describe the bug
When using table, try to double click the cell and paste something,
table broke down
it happens in CDN, React, Vue
To Reproduce

make table in WYSIWYG
fill one cell
copy a word somewhere(anything)
double click filled cell
paste word in the cell and it breaks

( tried codesandbox, but it doesn't save table
https://codesandbox.io/s/toasteditorreact-nx8on?file=/src/App.js )
Expected behavior
Screenshots

Desktop (please complete the following information):

window, chrome

Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.

@joielee09 When I check it, it pastes well. It works well when I check it in Windows Chrome. Maybe the way to reproduce is wrong?

@joielee09 When I check it, it pastes well. It works well when I check it in Windows Chrome. Maybe the way to reproduce is wrong?

@seonim-ryu Can you try : copy a word - double click the header line (black cell) - paste the word

@seonim-ryu Can you try : copy a word - double click the header line (black cell) - paste the word

@joielee09 I checked. The problem occurred intermittently, so I initially thought there was no problem. Thanks for reporting the issue. I'll fix this. (If you are interested in contributing, I think there is a way for you to fix bugs and give PR 🙂)

@joielee09 I checked. The problem occurred intermittently, so I initially thought there was no problem. Thanks for reporting the issue. I'll fix this. (If you are interested in contributing, I think there is a way for you to fix bugs and give PR 🙂)

@seonim-ryu Okay let me take this one. Thanks for checking again!

@seonim-ryu Okay let me take this one. Thanks for checking again!

Thhis week has been a little busy for me and I'm working on it! Please give me some time thanks!

Thhis week has been a little busy for me and I'm working on it! Please give me some time thanks!

I tried to patch but found any luck.
If someone can fix this please do.
Sorry for being late.


Parametrize codedeploy max reversions

To allow changing max_revisions to save disk space
Related issue: https://github.com/skyscrapers/puppet/issues/4363

FYI you can already set that as codedeploy:: max_revisions.

reverted and instead fixed the params lookup, now codedeploy::max_revisions can be used. Already tested


Tracker bifacial modules models

Hello everyone,
I'm structuring a monitoring system for a photovoltaic plant with pvlib. As the modules are bifacial and are mounted on a solar tracker (2p), I am using pvfactors. I believe I have already resolved the dependencies: pvfactors 1.5.1, pvlib 0.7.0, and shapely reinstalled via conda.
As the modules do not have parameters for the Sandia model, I intend to use the de Soto model.
I plan to run the code automatically once a day with the weather data collected during the period.
I would like to know if anyone has any code developed with pvfactors and single diode models for the modules.
Sure of your attention, thank you in advance!
Ben Possatto

Fixing: pvlib version is 0.8.0

hello @bapossatto , thank you for using pvfactors!!
It sounds like you're looking for an end-to-end bifacial modeling implementation available in Python, and the closest thing to it I know is pvlib-python and its amazing models: https://pvlib-python.readthedocs.io/en/stable/modelchain.html
There are a lot of end-to-end solutions developed by the industry that you might want to take a look at too, but most of them are not free I believe:

SAM
SolarFarmer
Sunfig
PlantPredict

Hello @anomam thanks for the answer!
But my problem is precisely with the implementation of the Python code. I'm using pvlib and pvfactors. I tried using a pvlib.bifacial.pvfactors_timeseries function, but it's giving me a serious error.
I would like to know if anyone has any code for tracked bifacial modules...
Below I send a link containing the error and the code.
https://groups.google.com/g/pvlib-python/c/Elbbf5vekFI

Can you provide the code used in the article below?
Anoma, Marc Abou, et al. “View Factor Model and Validation for Bifacial PV and Diffuse Shade on Single-Axis Trackers.” 44th IEEE Photovoltaic Specialist Conference. 2017.

Hello @bapossatto ,
Maybe you're looking for the tutorials in the docs: https://sunpower.github.io/pvfactors/tutorials/Run_full_timeseries_simulations.html
All the notebooks are located in the tutorials folder in Github: https://github.com/SunPower/pvfactors/tree/master/docs/tutorials
Otherwise, another usage example I can provide is the study I made for the IEA PVPS Bifacial Study (2020): https://github.com/anomam/pvfactors_iea_pvps_study
Let me know if that helps!

hi @bapossatto , we will close this issue assuming that your problem is resolved. Feel free to reopen it if you have more questions.
@campanelli-sunpower looks like this issue has been open for >1 month with no activity; I don't have permissions to close it so could you do it please?

Closing per request.


[BUG] Qualification tool should treat translate function supported

Describe the bug
Currently Qualification tool 23.06.4 version shows translate function unsupported expression.
Actually translate function should be supported.
Steps/Code to reproduce bug
Generate a CPU eventlog by running below query in spark-sql:
SELECT translate(c_customer_id, 'abc', '123') from tpcds.customer limit 3;

Then use Q tool to process above CPU eventlog. translate is shown as Unsupported Expression.
Expected behavior
Q tool should treat translate function supported.

supportedExprs.csv and operatorsScore.csv is out of sync.
Related context:
rapids plugin PR https://github.com/NVIDIA/spark-rapids/pull/8035


Add state variable to Enable/Disable a custom rule in WAF policy

Related command
az network application-gateway waf-policy custom-rule
https://learn.microsoft.com/en-us/cli/azure/network/application-gateway/waf-policy/custom-rule?view=azure-cli-latest
Resource Provider
Network (NRP)
Description of Feature or Work Requested
Need to add support for a state variable with Enabled/Disabled values.
Minimum API Version Required
2022-09-01
Swagger PR link / SDK link
https://github.com/Azure/azure-rest-api-specs/pull/22457
Request Example
https://github.com/Azure/azure-rest-api-specs/blob/462e60d34f84a61f7ada0482c3df3a72aa14f1dd/specification/network/resource-manager/Microsoft.Network/stable/2022-09-01/examples/WafPolicyCreateOrUpdate.json
Target Date
2023-03-07
Additional context
No response

network feature

network feature

SDK with these changes was released. Just curious what is the ETA for CLI release for this? I need to understand this for our release planning.

network feature

SDK with these changes was released. Just curious what is the ETA for CLI release for this? I need to understand this for our release planning.

https://github.com/Azure/azure-cli/milestone/128


Clean out Docker cruft occasionally

_Set a cron job (or something similar) to regularly clean up storage in the container-service node _
The commands
docker system prune -all
docker volume prune

should do it
Assumptions:

Acceptance Criteria
Given..., when..., then...

Closing as stale - container service is out of the picture


Fix issue with completion suggester being parsed as term suggester.

This commit fixes the issue where a completion suggester search request was being parsed as a term suggester and failing due to "Missing required property 'TermSuggestOption.score'"
Description
Fixes failure of completion suggester due to being improperly parsed as a term suggester.
This solution was originally proposed by @apatrida, but due to the age of the original bug report and a pressing need for a fix, I created the PR as well as a corresponding integration test.
Issues Resolved
https://github.com/opensearch-project/opensearch-java/issues/107
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@iamdanhart could you please fix DCO check [1]? Thank you.
[1]  https://github.com/opensearch-project/opensearch-java/blob/main/CONTRIBUTING.md#developer-certificate-of-origin

@reta I think this is done.

I opened https://github.com/opensearch-project/opensearch-java/issues/348 for intermittent test failures and hit retry. Hope someone can take a look :)


Scatter with heat trigger

Describe the Feature
As Void is only being generated when seasons pass, I'd like to not skip time as long as possible.
The way I would do it manually is:

Scatter Crystals until max heat
Wait until heat is at 0 and get some void in between
Repeat

Currently it's not possible to do this because once we are at max heat, KS will advance the time in yearly increments and therefore void is never generated.
If the time skip feature would have a heat trigger, that would allow one to generate Void while also scattering time crystals.
Your Savegame
No response

Thanks for the clear explanation. I feel like this aligns very well with other open issues that relate to this area of automation. Let's see what we can make of this :D

For void farm, I do use "skip only on summer" - the game would go through spring, go into void farm, skip using maximum allowed by KS and repeat. Nice and easy. That being said, I would absolutely love a "minimum heat" setting as proposed, allowing the KS to wait till heat drops to-or-below trigger point - and only skip then. Not for void farming for me - but for general stability and experience, too. As of now, I skip very often to build up as fast as possible after restart, and that means skipping 1 year (useless) every 2-3 seconds, plus the darned chronoforges...
These are a bigger issue for clean void farming I think - having them on will auto-skip 1 year before the season ends, wasting the void charge. Keeping them off and turning them on manually on the other hand means having to baby-sit the game, since KS can hardly intervene while a chronoforge stack is burning through 50000 years 5 years at a time, maxing out resources. A similar min-max on-off approach would help greatly here, I believe - turn ChF on above X% heat stored but then turn it off when it goes below 100% - allowing you to set what "stacks" of years ChF should jump in-between activation.

Using the new Active Heat Transfer functionality, contributed in #550, void farming should work well in combination with time skips.


Replace github.com/pkg/errors with stdlib errors

Summary
The package github.com/pkg/errors is hosted in an unmaintained and archived repository.
This package has been taken over and included within the Go standard library.
Proposal
Usage of github.com/pkg/errors should be replaced by the Go standard library package: errors.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

I'm interested in opening a PR (my first) to fix this issue, but I have been unable to push my branch to the repo. I'm guessing it's a question of access rights, which I'm not familiar with. If it wouldn't be out of place, please advise what I can do to contribute.

I'm interested in opening a PR (my first) to fix this issue, but I have been unable to push my branch to the repo. I'm guessing it's a question of access rights, which I'm not familiar with. If it wouldn't be out of place, please advise what I can do to contribute.

Thank you for your interest in contributing! The easiest for you would to fork the repository and do the changes in a branch there. Once you're done you can open a PR to the main branch of this repository. If you are not familiar with this process, please check out GitHub's documentation on creating a pull request from a fork.

Calls to github.com/pkg/errors are being made in two files, modules/core/02-client/client/cli/tx.go and modules/core/03-connection/client/utils/utils.go. The calls in these files are to two functions:

errors.New: This is identical to the corresponding function in the standard library's errors package; the fix is trivial.
errors.Wrap: This functionality is subsumed in the standard library by fmt.Errorf's %w verb. fmt.Errorf("error message: %w", err) is equivalent to the old errors.Wrap(err, "error message").

github.com/pkg/errors remains as an indirect dependency in go.mod because it is used by cosmos-sdk.

Thanks for the analysis! I think it should be fine to replace errors.Wrap with fmt.Errorf. What do you think, @colin-axner?
And if the Cosmos SDK uses github.com/pkg/errors then we will have to live with the transient dependency... But we can also open an issue in the SDK repository and ask to deprecate the usage of github.com/pkg/errors.

All sounds good to me!


Fix #975 -- fix bug in filtering events by tag

@pbanaszkiewicz can this be merged without a test (I did manual test)?

Yeah, but will the next developer to touch this be as conscientious as
you? :-)

@chrismedrela I would have probably merged this without test, but since you asked I think we need one here :-)

@chrismedrela can you please add a test and then merge?


Disabling and enabling extensions for the workspace when changing the "state.vscdb" file are not applied

I am an extension developer Extension profiles which allows you to enable and disable extensions for the workspace by pre-created profiles. Changes are made directly to the file User/workspaceStorage/{uuid}/state_vscdb in accordance with the required format extensionsIdentifiers/disabled and extensionsIdentifiers/enabled. After that, the command workbench.action.reloadWindow is executed and it worked, but with the latest release VS Code stopped working. Now, in order for this to work, after applying the profile, you need to completely close VS Code and restart it.
Do you have any suggestions on how it would be possible to restore the work of the extension?

This can be correlated to a change I did a few weeks ago that workspace DBs no longer reload per window but only per application restart.
In general though, we do not support writing to the DB directly, and it is dangerous anyway because the DBs do not allow concurrent writes from different processes.

Is there any way to resume the work of the extension? Is there an API for enabling and disabling extensions?

I second @bpasero that writing into our internals is not recommended.

If there is no API for this, have you thought about adding native profile support in VS Code? I can rethink the necessary functionality, user experience and propose a new concept =)

Yes, we are exploring/working on this feature - https://github.com/microsoft/vscode/issues/116740


cycleComplete callback would be nice!

I have a list of different Marquee elements, and it would be nice to only have one active at a time.
to be able to do something like this for example would be great:
<Marquee play={activeMarquee === 0} onCycleComplete={handleCycleComplete} > first thing </Marquee>
<Marquee play={activeMarquee === 1} onCycleComplete={handleCycleComplete} > second thing </Marquee>
<Marquee play={activeMarquee === 2} onCycleComplete={handleCycleComplete} > third thing </Marquee>

I second that. This would also allow for easy pausing after a cycle for a few seconds. This is nice as we can give the user a better hint on where text begins and ends.


Update docs (type and symbol solving)

This is a successor to #1915.
We should update the docs regarding the usage of type and symbol solving.
What do we need to update?

[x] --plugins path
[x] Under what conditions does type and symbol solving work?
[x] Which detekt integrations allow type and symbol solving to work. (CMD, Gradle, Maven...)

Probably the last 4 issues all relate to this, so I'm going to work on it next.
But before updating docs I will need to:

add support for auto generating Gradle tasks for Android projects
update Gradle plugin so the bytecode target version can be set. This will avoid warnings (and possibly other problems) when detekt runs with type resolution

Kudos.
I think that’s the right way to go here and I really appreciate that.

The last created issues in this repo seem all to be related to type and symbol solving, since people use detekt via cmd line.

Closed, since the todos are done. Work is ongoing to improve the docs in #2259.


Fix plugin build error on Windows

Fixes https://github.com/flutter-tizen/plugins/issues/178.

Early merging to fix a critical issue.


Is this the best IConvBuilder?

Trying to decide between this and the 3

Indeed, it is currently the best IConvBuilder. However, I'm working on a new and improved IConvBuilder that'll be even better. In that it'll actually work.


Windows Alt Lasso Select

For a very long time through many versions of Drawio, Holding ALT key allowed you to "Lasso" select objects. The selection would only apply to those object that fit fully in the selection. This was useful if you had larger things stacked below the objects, you wouldn't select those things that didn't fully fall within your selection. Some time ago (many versions) this functionality disappeared. Holding Alt + selecting selects everything that falls within your "Lasso" selection at all.  So now the only way to select specific items stacked on other items is to hold CTL and click on each item one by one.   I assumed the change was a bug and would be someday fixed. But now I'm not sure. Perhaps this is intended? I hope not, hence the bug report. thanks

Try release the Alt key before releasing the mouse button. (Or just hold down the Alt key when pressing the mouse button to start the lasso select, then release the Alt key.)

Oh Wow. You're right. Duh. I guess somewhere along the line I forgot how
to do it (release alt first). Thank You
------ Original Message ------
From: "Gaudenz Alder" @.>
To: "jgraph/drawio" @.>
Cc: "matrixhalpia" @.>; "Author"
@.>
Sent: 5/7/2022 11:19:58 PM
Subject: Re: [jgraph/drawio] Windows Alt Lasso Select (Issue #2797)

Try release the Alt key before releasing the mouse button. (Or just
hold down the Alt key when pressing the mouse button to start the lasso
select, then release the Alt key.)
—
Reply to this email directly, view it on GitHub
https://github.com/jgraph/drawio/issues/2797#issuecomment-1120358610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK6NLUWK7N4W5KK5ZUYRDRTVI5MI5ANCNFSM5VK2WDJQ.
You are receiving this because you authored the thread.Message ID:
@.***>


feat: add types + linting & improve intellisense

This will allow

for type linting (via typescript)
better integration with typescript
to provides way better/nicer intellisense

Additional tasks done:

only put needed files in published npm packages (so there will be no linting errors for demo folder or so)
temporary forked dom5 (in building-rollup) as it has outdated type definitions (see issues/3385)
moved most testing-helpers files to src folder (only index.js & index-no-side-effects.js stay in root folder)

Note: adds a little time to CI as we now do type linting as well
Example:

closes: https://github.com/open-wc/open-wc/issues/302, https://github.com/open-wc/open-wc/issues/113

hmmm I have no clue why I can't find lit-html or chai
packages/testing-helpers/lit-html.js:1:33 - error TS2307: Cannot find module 'lit-html/lit-html.js'.

1 import { html as litHtml } from 'lit-html/lit-html.js';

packages/testing-helpers/test/elementUpdated.test.js:2:24 - error TS2307: Cannot find module '@bundled-es-modules/chai'.

2 import { expect } from '@bundled-es-modules/chai';

is there a special setting for the tsconfig you need for monorepos?

ok setting moduleResolution to node helped 🤗

I just installed package created from your branch instead of the stable version, and now it refuses to show any type at all, and my type check ends without any issue even if I make a mistake on purpose. It looks like fixture is marked as any. I'm not sure what the reason, I use the following tsconfig.json:
{
  "compilerOptions": {
    "allowJs": true,
    "allowSyntheticDefaultImports": true,
    "declaration": false,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "lib": [
      "dom",
      "es2018"
    ],
    "mapRoot": "dist",
    "module": "esnext",
    "moduleResolution": "node",
    "noImplicitAny": false,
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "outDir": "dist",
    "sourceMap": true,
    "strict": true,
    "strictFunctionTypes": false,
    "stripInternal": true,
    "target": "esnext"
  },
  "include": [
    "packages/**/*"
  ],
  "exclude": [
    "packages/**/dist",
    "packages/**/node_modules",
    "node_modules"
  ]
}

@Lodin thx for checking it out... I also made some additional tests and had the same experience
https://github.com/daKmoR/jsdoc-intellisense/issues/1
I reached out to some others and it seems to be a "bug/feature" with typescript
https://github.com/daKmoR/jsdoc-intellisense/issues/1
so we probably need to investigate this further before we can actually do it 🙈

Thats really unfortunate

sooo apparently that does work if you set
--maxNodeModuleJsDepth 2

but that would mean everyone using this will need to set it...
it leads to the nice intellisense and full type linting...
still it's a setting we need to teach everyone to set would we feel comfortable doing so?

@Lodin may I ask you again to test this but this time with something like this as the tsconfig.json
{
  "compilerOptions": {
    "target": "ES2015",
    "moduleResolution": "node",
    "lib": ["es2017", "dom"],
    "allowJs": true,
    "checkJs": true,
    "noEmit": true,
    "strict": false,
    "noImplicitThis": true,
    "alwaysStrict": true,
  },
  "include": [
    "**/*.js",
<EMAIL_ADDRESS>  ]
}

the important part is the include of @open-wc and that there is NO global ignore of node_modules as this would apparently override it.
with that you should get correct types in typescript and awesome intellisense... try hovering over any open-wc helper and use F12 (in vscode) to jup directly to the source code.

oh it probably needs to be
<EMAIL_ADDRESS>
as not every package from open-wc you probably include has the updated types yet...  if that works we will add support for all our packages

@daKmoR, yay, it works! Still less supported by IDE though, but I don't think it is a blocker.

However, as you said, it doesn't work with exclude: "node_modules" which could possibly cause issues.

hmmm if you do not specify an exclude it's still excluded right?
https://www.typescriptlang.org/docs/handbook/tsconfig-json.html

The "exclude" property defaults to excluding the node_modules, bower_components, jspm_packages and  directories when not specified.

so strange why it would not work if you specify it yourself?

@daKmoR, hmm, doesn't it mean that typescript ignores these directories by default if exclude option is not specified completely?

if you still want the exclude you could do it like this
/node_modules/!(@open-wc)/

Soooo this now allows tsc to work with all our files 🎉
Except for dom5 which is apparently outdated and include definition files (which expect no longer available files) you can see it here: https://circleci.com/gh/open-wc/open-wc/1464?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
@LarsDenBakker how hard would it be to get rid of dom5?
Also, we definitely need to explain how to set it up - but once you have it it's really really nice 🤗  awesome intellisense and type safety for js and ts :)

Looks good to me, a few questions about this though:
I worked with types in JS before, but my experience wasn't that great. I had to resort to a lot of casting and ignores, which is awkward to write in JS. Going full TS was a much nicer experience. For example this.shadowRoot is optional, in TS you can write this.shadowRoot!.querySelector() but with annotations you can't.
With this change I think we are making type annotations mandatory for the entire repository? How is your experience with it so far? One of the arguments against going full TS is the increased complexity for new devs coming to a project. Does this not introduce a similar complexity then?

For what we have in this library it was actually pretty butter smooth... we mostly offer helpers/tools and for those, the experience was really good. I especially liked the nicer intellisense (e.g. not only types but also a description and examples) and that you can hit F12 (in vs code) to go to the actual js source (without an in-between definition file) felt really useful and I hope it helps to reduce the distance to our code for our users (e.g. make it easier to fix bugs/make PRs as you can just do it directly in your node_modules and then you can just copy paste directly into github (if you are lazy)... but yeah we will probably need to have some teachings about this as people usually see node_modules as a magical black box)
For our users, they can choose to use TS or JS - whatever they prefer.
PS: Regarding what we should recommend to our users how they should create web component - let's move that to a dedicated discussion/issue/slack...

Not arguing against it at this point, but I do wonder about the benefits VS going full typescript if we anyway need to educate people and use tooling to check the types.
Bottom line is that our users get better IDE support out of the box with this, so that's a big win I think :)


can not  access to remote client

From<EMAIL_ADDRESS>on June 27, 2013 00:48:49
What steps will reproduce the problem? 1.Run RemoteControl UI.java,a new windows showed
2.Click the button "Connect"
3.See details in the console
What is the expected output?
What do you see instead?
Forwarding port from 'local:2411' to 'device/emulator:2410'
Attempting to initialize Android Tools...
toolHome is null, can't set it.
Setting Android Tools SDK Dir to F:\android\sdk
DroidSocketProtocol.createRemoteClientConnection(): Remote Runner seems to be connected!
DroidSocketProtocol.verifyRemoteClient(): Remote client did not verify in timeout period.
DroidSocketProtocol.createRemoteClientConnection(): Remote client did NOT verify itself as a remote SocketProtocolRunner! What version of the product are you using? On what operating system? 2012.12.12,on Win7 32bit Please provide any additional information below.
Original issue: http://code.google.com/p/robotium/issues/detail?id=477

From<EMAIL_ADDRESS>on June 27, 2013 05:32:06
There have been several updates to these protocols since December.  Robotium 4.2 support is being released in the next 24-72 hours.
However, did you properly apply the RobotiumRCUpdate2013.05.06 that is also available from that same 2012.12.12 Release location?  That would contain the protocol updates we hope would solve your issue.
Carl Nagle
SAS Institute
Planning, Operations and Strategy
General Applications and Tools

From<EMAIL_ADDRESS>on June 27, 2013 05:33:36
Updating Defect Owner
Status: Started
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on June 28, 2013 19:40:18
I ran into a scenario that was able to reproduce this symptom.  However, I don't have any way of knowing if my scenario had any relation to yours.
I have "quietly" provided an early-adopter release supporting Robotium 4.2 that also includes a fix for the scenario I ran into. http://sourceforge.net/projects/safsdev/files/Robotium RemoteControl/2013.06.28/ If you are interested, please give that release a try and let us know if you still experience the problem.
Carl Nagle
SAS Institute Inc.
Planning, Operations and Strategy
General Applications and Tools
Status: Accepted

From<EMAIL_ADDRESS>on July 02, 2013 22:38:21
Thank you for your reply ,But after I tested with your new release 2013.06.28,I still met the same issues；Obviously,the SAFSTCPMessenger runned in the android did not send a verify to PC, is there any other step to do before starting a connect from PC to Android by click the  button "Connect"?

From<EMAIL_ADDRESS>on July 03, 2013 02:27:52
I have a question in my mind,I find Remote Control is a tool that we can control every click ,touch ,press and input actions in PC that user can do,But can I control tests like that I control every testcase's method to control my testing by using RemoteControl ?(when I said testcase method ,I mean the method defined with "testXXX()")

From<EMAIL_ADDRESS>on July 03, 2013 06:09:46
When you installed your app (Spinner?), is it signed with the same cert as the TestRunner?  These do have to match.
Can you provide the full logcat showing the manual acts of installing and launching the app, Messenger, and TestRunner?
The symptom suggests there is something wrong with the configuration of these 3.
Have you successfully completed all the Release Notes setup and successfully run the MyTest example?

From<EMAIL_ADDRESS>on July 03, 2013 22:08:23
I have successfully run the MyTest example !

From<EMAIL_ADDRESS>on July 26, 2013 09:59:24
Great. Closing the issue.
Status: Invalid


Updated for 0.12

Minimal changes. As far as I can tell all the tests are passing.

@tgschultz amazing, thanks for this, I really appreciate it!
I think the tests should pass if you also update the zig version(s) from 0.11.0 to 0.12.0 in https://github.com/malcolmstill/zware/blob/master/.github/workflows/test.yaml

Looks like I missed some stuff that's part of the workflow and not the standard build option tests. I'll take care of that when I get a chance.

@tgschultz looks good now, thanks again!


Change SOFATracer version to 2.2.0-SNAPSHOT

Motivation:
Change SOFATracer version to 2.2.0-SNAPSHOT
Modification:
2.2.0-SNAPSHOT version
Result:
Fixes #47

Pull Request Test Coverage Report for Build 88

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 61.886%

Totals

Change from base Build 87:
0.0%

Covered Lines:
2080

Relevant Lines:
3361

💛  - Coveralls


Add microkernel dialect definition

@huanghaixin008 - please attach the PRs to the issue. @ZhennanQin - please follow up.


Generating blocks from inside a block ("anti-shadow"?), for procedures

One motif we have been using in Scratch is this one:

You can drag "number1", "number2", etc. into the workspace and it creates a new block that can be used in the body of the procedure. Any ideas about how we might implement such a thing in Blockly?
I can imagine we might also use this for a "for-each" loop where the reporter is the iterated value.

Track in #607


meaning of (nn)

Hi Justin,
May I know what does "(nn)" mean in your table, for example TITAN X (nn)?
Thank you.

That means that we are using the torch/nn backend for convolutions instead of cuDNN.

Noted with thanks!
On Aug 11, 2016 1:15 PM, "Justin"<EMAIL_ADDRESS>wrote:

That means that we are using the torch/nn https://github.com/torch/nn
backend for convolutions instead of cuDNN
https://github.com/soumith/cudnn.torch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jcjohnson/cnn-benchmarks/issues/5#issuecomment-239075607,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQyyHLN0FNJm1VEScF_JzAEtGDlgHxHbks5qeq_ogaJpZM4Jhy0h
.


refresh global memory usage periodically

Signed-off-by: qupeng<EMAIL_ADDRESS>What problem does this PR solve?
Refresh global memory usage periodically.
It introduces 2 functions record_global_mem_usage and get_global_mem_usage. The former is called periodically in the stat thread initialized in the server module, and the latter can be called anywhere to get the current memory usage.
BWT SysQuota is refactored to avoid lock the global SYS_INFO every times.
Related changes
Check List
Tests

No code

Side effects
Release note

No release note

"it’s much better to keep the same instance of System around instead of recreating it multiple times."
So I am not sure if it's the right way to recreate the system multiple times.

/run-all-tests

/lgtm

/merge


Optimize the generation of the hash

tags are now hard coded
create a helper method instead doing this in the method

So it looks like my brain was friend when coding this. calling json_encode on an array really does behave the same like JSON.stringify it seems. Add tests  to make sure we're sure.


Unable to get power consumption Entity

Hi Alexx,
First of all thanks for your excellent work. I am a beginner so if my question is simple I am sorry. I've tried my best to read all forums to find the answer. I have managed to connect my Sonoff Pow R2 without Flashing. After adding these lines in my cnfigurations.yaml, I am getting the power consumption values in Developer Tools => States

force_update: [temperature, power]
scan_interval: '00:05:00'  # (optional) default 5 minutes
sensors: [temperature, humidity, power, current, voltage]

Developer Tools => States

manufacturer: Sonoff
model: Pow_R2
sw_version: PSC-B67-GL v3.5.0
local: online
cloud: online
rssi: -49
power: 0
current: 0
voltage: 233.7
consumption: 3.17, 4.08, 9.41, 6.8, 6.13, 3.57, 4.31, 6.12, 2.41, 6.38, 4.64, 7.48, 6.01, 6.96, 5.18, 2.54, 10.29, 6.08, 4.97, 5.13, 6.11, 3.21, 4.03, 8.77, 8.3, 5.65, 8.85, 4.38, 4.67, 8.71, 6.58, 4.17, 7.53, 4.24, 8.15, 5.36, 4.42, 8.72, 5.77, 4.77, 9.01, 4.99, 4.23, 2.4, 4.31, 3.08, 5.84, 6.63, 2.45, 5.87, 5.05, 6.87, 4.91, 4.74, 3.68, 3.35, 5.12, 4.71, 4.68, 6.11, 4.14, 4.27, 4.57, 5.05, 3.78, 7.78, 4.18, 5.01, 4.98, 8.46, 0, 0, 7.75, 10.39, 4.87, 7.68, 3.73, 8.96, 3.55, 8.2, 7.34, 5.85, 1.73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
friendly_name: Ballon
icon: mdi:water-boiler
supported_features: 0

Now I am trying to create a card on my lovelace interface to show my current consumption. Unfortunately , I don't have any entity to show power consumption. I can only switch it On and Off. Can you please tell me How can I add the consumption values to my Dashboard ?
Thanks and Regards,

Hi,
This is my example of my configuration.yaml
sonoff:   username: !secret sonoff_user   password: !secret sonoff_pass   reload: always   force_update: [temperature, humidity, power, current, voltage, rssi]   scan_interval: '00:05:00'   sensors: [temperature, humidity, power, current, voltage, rssi]   devices:     switch.sonoff_xxxxxxxx:       name: Water Pump       force_update: True
After adding that, you have to restart your the server (Configuration --> Server Controls --> Restart')
After that go to lovelace interface and look for the entity that use voltage, current and power.
Hope it helps.

@devilization your devices section is wrong and shouldn't work.

@riyas1980 why you don't read my docs https://github.com/AlexxIT/SonoffLAN#sonoff-pow-power-consumption

@devilization Thanks for your help. By combining your method and AlexxIT's logs, I've managed to get some datas

sonoff:
username: !secret
password: !secret
reload: always
force_update: [temperature, humidity, power, current, voltage, rssi]
scan_interval: '00:01:00'
sensors: [temperature, humidity, power, current, voltage, rssi]
devices:
switch.sonoff_ballon:
name: ballon
force_update: True
sensor:

platform: template
sensors:
today_consumption:
friendly_name: Today consumption
unit_of_measurement: kWh
value_template: "{{ state_attr('switch.sonoff_ballon', 'consumption').0 }}"
ten_days_consumption:
friendly_name: 10 days consumption
unit_of_measurement: kWh
value_template: "{% set p=state_attr('switch.sonoff_ballon', 'consumption') %}{{ p[:10]|sum if p }}"

@AlexxIT I've read your docs many times before sending this message. I am a beginner so couldn't get it to work. Actually I am trying get consumption for 1 week for everyday (Consumption for monday, consumption for tuesday etc...). I don't know what I need to enter to get last 7 days consumption (Not total one, I need consumption per day)
Hope it's clear for you. I am not a native english speaker. Sorry if it's confusing.
Thanks again for your help.

sensor:
- platform: template
  sensors:
    today_consumption:
      friendly_name: Today consumption
      unit_of_measurement: kWh
      value_template: "{{ state_attr('switch.sonoff_ballon', 'consumption').0 }}"
    yesterday_consumption:
      unit_of_measurement: kWh
      value_template: "{{ state_attr('switch.sonoff_ballon', 'consumption').1 }}"
    day_before_consumption:
      unit_of_measurement: kWh
      value_template: "{{ state_attr('switch.sonoff_ballon', 'consumption').2 }}"

@AlexxIT thank you, for the point out. I've fixed the devices section as mentioned.
@riyas1980 Please refer below for my sensor.yaml configuration
#Room Air Cond Power Consumption
- platform: template
  sensors:
    today_Room_air_cond:
      friendly_name: Room Air Cond Today
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').0 }}"
    1_Room_air_cond:
      friendly_name: Room Air Cond 1 Day Ago
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').1 }}"
    2_Room_air_cond:
      friendly_name: Room Air Cond 2 Day Ago
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').2 }}"
    3_Room_air_cond:
      friendly_name: Room Air Cond 3 Day Ago
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').3 }}"
    4_Room_air_cond:
      friendly_name: Room Air Cond 4 Day Ago
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').4 }}"
    5_Room_air_cond:
      friendly_name: Room Air Cond 5 Day Ago
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').5 }}"
    6_Room_air_cond:
      friendly_name: Room Air Cond 6 Day Ago
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').6 }}"
    7_Room_air_cond:
      friendly_name: Room Air Cond 7 Day Ago
      unit_of_measurement: kWh
      value_template: "{{ state_attr('sensor.sonoff_XXXXXXXXX_power', 'consumption').7 }}"

@AlexxIT Thanks alot for this components really appreciate it.
Can you suggest a way to trigger an automation to run sonoff.update_consumption service with interval?

@AlexxIT @devilization Thanks a lot for your help. It looks good now.
Like @devilization I am now trying to trigger automatically  sonoff.update_consumption service with interval.

Hey, @devilization
Am looking for a way to call sonoff.update_consumption every 5min
i tried "numeric state" with power as a trigger it worked but it keep calling sonoff.update_consumption alot.
making the logs messy

@devilization Thanks for your help. Everything is working fine :-)

Thanks everyone for the help. Please close this thread


feature/WIFI-765

JIRA: WIFI-765
Description
Summary of this PR

Added a gre tunnel configuration card
Add GRE Config form

After this PR
Screenshots of what it will look like after this PR

you're missing the fields for greLocalInetAddr and vlanIdsInGreTunnel


Inverted Half Pyramid

Description
I have prepared a documentation on:
Inverted Half Pyramid
A fascinating pattern which can have as many equal number of rows and columns as the user wants. 👍
Do try it and enjoy! :
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Scaffolding Requirements missing

Hi,
I think in the article Your First ASP.NET 5 Web App Using Visual Studio https://github.com/aspnet/Docs/blob/master/aspnet/tutorials/your-first-aspnet-application.rst#add-scaffolding, could be mentioned that project.json needs to have Microsoft.Extensions.CodeGenerators.Mvc to see the option New Scaffoled Item... not sure if the additional packages are also not required according this https://github.com/aspnet/Tooling/issues/290#issuecomment-164725559.
Also here in this article Adding a model https://github.com/aspnet/Docs/blob/master/aspnet/tutorials/first-mvc-app/adding-model.rst#scaffolding-a-controller
Thanks :)

The first tutorial was removed: https://github.com/aspnet/Docs/commit/9b6065a4d2ed9965af1f417e95e7cec2ba5b3c1c

Add dependencies:
			    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
			      "version": "1.0.0-preview2-21343",
			      "type": "build"
			    },
			    "Microsoft.VisualStudio.Web.CodeGenerators.Mvc":  {
			      "version": "1.0.0-preview2-21343",
			      "type": "build"
			    }
			    "Microsoft.EntityFrameworkCore.Design": {
			      "version": "1.0.0-preview2-21343",
			      "type": "build"
			    },

Add tools entries:
			    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
			      "version": "1.0.0-preview2-21343",
			      "imports": [
			        "portable-net45+win8+dnxcore50",
			        "portable-net45+win8"
			      ]
			    }
			    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-21343",

Add UseDatabaseErrorPage
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0-rc3-21343",
Add /Views/Shared/_ValidationScriptsPartial.cshtml

We explain this now in https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-model


wrong positioning

Hi,
With Picker 1.6.0 there is no problem with the current settings, but when I use 1.7.2 the Picker is not positioned relative to the object. It is located in the middle of the screen.
function createColorPicker(el, opt, optForAssignToObject) {
    let options = {
        useAsButton: true,
        el: el,
        theme: 'monolith', // or 'monolith', or 'nano'
        position: 'bottom-middle',
        autoReposition: true,
        padding: 4,
        swatches: [
            'rgba(244, 67, 54, 1)',
            'rgba(233, 30, 99, 1)',
            'rgba(156, 39, 176, 1)',
            'rgba(103, 58, 183, 1)',
            'rgba(63, 81, 181, 1)',
            'rgba(33, 150, 243, 1)',
            'rgba(3, 169, 244, 1)',
            'rgba(0, 188, 212, 1)',
            'rgba(0, 150, 136, 1)',
            'rgba(76, 175, 80, 1)',
            'rgba(139, 195, 74, 1)',
            'rgba(205, 220, 57, 1)',
            'rgba(255, 235, 59, 1)',
            'rgba(255, 193, 7, 1)'
        ],

        components: {

            // Main components
            preview: true,
            opacity: true,
            hue: true,

            // Input / output Options
            interaction: {
                hex: false,
                rgba: false,
                hsla: false,
                hsva: false,
                cmyk: false,
                input: true,
                clear: false,
                save: true,
                cancel: true
            }
        },
        strings: {
            save: 'Seç',  // Default for save button
            clear: 'Temizle', // Default for clear button
            cancel: 'Vazgeç' // Default for cancel button
        }
    };
    function assignTo(dest, src) {
        if (src && typeof src == 'object') {
            for (item in src) {
                if (typeof dest[item] == 'object')
                    dest[item] = mergeRecursive(dest[item], src[item]);
                else
                    dest[item] = src[item];
            }
        }
    }
    assignTo(options, opt);
    let picker = Pickr.create(options);
    assignTo(picker, optForAssignToObject);
    picker.getPickerColor = function () {
        return this.getColor().toRGBA().toString();
    }
    return picker;
}

Environment:
Version (1.7.2):
Used bundle (normal):
Used theme (monolith):
Browser-version:  Chrome - 84.0.4147.13
Operating-system:  Windows 10

This is expected behaviour. It's one of the caveats of NanoPop that you'll normally have to handle this manually, in case of pickr it centers the popup in case there is no way of positioning it.
Anyway, could you drop me a JSFiddle example?

This seems not correct.

The picker is expected being above the button, rather than being clipped.
A JSFiddle example here https://jsfiddle.net/720g4ch8/
Thank you!

@yahoo0742 Huh, you either discovered an edge-case or somethings wrong on my side, everything is as expected:

What is your browser / OS version? Are you using the latest pickr version?
The positioning engine pickr uses has visual tests so that must have something to do with pickr (can anyone confirm this?)

@Simonwep, thanks for your response. I tested on 3 browsers on Mac OS 10.13.6:
Chrome Version 85.0.4183.121 (Official Build) (64-bit)
Firefox 81.0 (64-bit)
And Safari Version 13.1.2 (136<IP_ADDRESS>.5)
None of them worked as yours.
An extreme case is as the screenshot below shows

When I click the button, the picker is completely clipped.

Maybe this is related to #246? Because seeing it break on all browsers is kinda weird 🤔

how did you set this to go under the button i tried costum css and on('show') css override and always goes to middle of the page
why ?

The problem still exists. The picker is located in the middle of the screen. When I add height: 100vh to the outer container, the positioning is correct but adds scrolling

This happens on my application and from what I found, it's nanopop that does not compute a position but it's not his fault. In my case, it's document.body.getBoundingClientRect() that returns height: 0. If I manually set a height it will work properly.


[lib] integrate RAINS domain name resolution

When RAINS is ready, make the Dial() method resolve hostnames using RAINS istead of using the custom DNS field in the Transport.

Since 87c9760d4863e225f358617c983bca9e67e687f7 the DNS field was replaced by a hostname resolution based on parsing the etc/hosts file.
RAINS is not yet integrated.

In the meantime, this has been done.


chore(main): release 0.15.5

:robot: I have created a release beep boop
0.15.5 (2024-03-30)
Features

support dark mode for watch later, 404 page && adjust the regex rules (96a8504)

Bug Fixes

# suffix bilibili home uri (f5cfd2f)
adapt previously unadapted comments section (43878d6)
extension not working when accessing www.bilibili.com/#/ (d66e961)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hakadao/BewlyBewly/releases/tag/v0.15.5 :sunflower:


rf: ex and replace one statement with a couple of statements

hi,
I've tried to use rf ex to replace one statement with a pair of statements.
I tried the following:
      ex {
            import "gioui.org/op";
            import "gioui.org/op/clip";

            var o *op.Ops;
            var p clip.Path;
            var sty clip.StrokeStyle;
            var width float32;

            p.Stroke(width, sty).Add(o) ->  \
                    p.Op().Add(o)           \
                    clip.StrokeOp{          \
                            Width: width,   \
                            Cap: sty.Cap,   \
                            Join: sty.Join, \
                    }.Add(o);
      }

ie: replacing:
p.Stroke(width, sty).Add(o)

with:
p.Op().Add(o)
clip.StrokeOp{
    Width: width,
    Cap: sty.Cap,
    Join: sty.Join,
}

trying to run the above ex script, I get:
$> rf ex ...
ex: missing substitution in example: p.Stroke(width, sty).Add(o) ->

is this something that should be possible to achieve with rf ex (or with rf at all) ?

ex currently only supports replacement with a single statement.

I suppose we could make it so that if you do -> { ... } then maybe we could drop the { } during the insert, although then if you want braces you'd have to double them I guess. Worth keeping mind for the next iteration but for now unlikely to happen.


Feature/mdk 67

Adds compatibility for MMS4 artifacts

Build failure is caused by SourceForge outage (!), which is where FOP is downloaded from. Unrelated to changes in PR. Will re-run CI when it's back online and revisit.


adding vsphere upgrade rollout strategy

Issue #, if available:
https://github.com/aws/eks-anywhere/issues/6719
Description of changes:
Adding UpgradeRolloutStrategy knobs for workers and control plane to vsphere provider
Testing (if applicable):
Updated unit tests.
Documentation added/planned (if applicable):
Planning on adding docs on knobs for other providers following the Tinkerbell upgrade strategy format.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


KAFKA-10403 Replace scala collection by java collection in generating…

issue: https://issues.apache.org/jira/browse/KAFKA-10403
It seems to me the metrics is a "kind" of public interface so users should be able to access metrics of kafka server without scala library.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Can you please include more detail on how it fails currently? I assume it's some kind of deserialization error?

Can you please include more detail on how it fails currently? I assume it's some kind of deserialization error?

You are right. The root cause is deserialization error. Currently, the type of collection used by Log4jController#getLoggers  (a MBean object) is scala collection (toList.asJava) rather than java collection. Hence, the profiler has to load scala library (scala-library.jar) to deserialize the binary to origin scala collection. For example, if I don't add scala library to JMC's classpath, JMC fails to deserialize the attribute of Log4jController and it shows "N/A" instead.

javadoc: error - Error fetching URL: https://docs.oracle.com/en/java/javase/15/docs/api/
The link of API is a bit weird to me. I have filed #9185 to fix it.

retest this please

retest this please

Build / JDK 11 / org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.shouldAggregateSlidingWindows
Build / JDK 11 / org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.shouldAggregateSlidingWindows
Build / JDK 15 / org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.shouldAggregateSlidingWindows
Build / JDK 15 / org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.shouldAggregateSlidingWindows

unrelated error
@ijuma Could you take a look again?

Build / JDK 8 / org.apache.kafka.connect.mirror.MirrorConnectorsIntegrationTest.testReplication

unrelated error

The change looks good, can you please provide a test as well?

can you please provide a test as well?

done!

 Execution failed for task ':connect:mirror:integrationTest'.
01:19:16  > Process 'Gradle Test Executor 48' finished with non-zero exit value 1
01:19:16    This problem might be caused by incorrect test process configuration.
01:19:16    Please refer to the test execution section in the User Manual at

the error is unrelated to this PR


SHIELD Pipeline

Build a concourse pipeline for running the unit tests, managing versions and creating GH releases of (at the very least) the SHIELD CLI.
This may also need to feed a pipeline for the BOSH release.

@geofffranks did this this week.  Thanks Geoff!


Unify no-library-target error into no-target warn

What does this PR try to resolve?
Fixes #10958
as far as i checked gitub issues, source code and git log, it seems that there's no strong reason for cargo to emit hard-errors, not warns, only if --lib is given. This is an inconsistent behavior compared to other filters like --bins.
And the no-library-target error predates the generic no-target warn.
All being said, i think it's acceptable to demote the lib error into a generic warn.
How should we test and review this PR?
Updated existing unit tests demonstrate the new expected behavioral change (error => warn demotion)

Note that #10958 has not been marked Accepted and its generally best to build consensus on a solution in an issue and leave a PR for discussing the implementation.

Note that #10958 has not been marked Accepted and its generally best to build consensus on a solution in an issue and leave a PR for discussing the implementation.

thanks for the heads-up. I just replied there: https://github.com/rust-lang/cargo/issues/10958#issuecomment-2201839222

:umbrella: The latest upstream changes (presumably #14226) made this pull request unmergeable. Please resolve the merge conflicts.


Recipient of the message is not set

I have a question in here:
I have push message to many devices use sendMulticast , It can push sucess,but return 400 ```
error!
{
"error": {
"code": 400,
"message": "Recipient of the message is not set.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "message",
"description": "Recipient of the message is not set."
}
]
},
{
"@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
"errorCode": "INVALID_ARGUMENT"
}
]
}
}

What is the message you‘re trying to send, and how do you create it and call the sendMulticast() method?

@jeromegamez yes  my code is:
$pushTokens = ['token1',token2'];
        $firebase = (new Firebase\Factory())->create();
        $messaging = $firebase->getMessaging();
        $message = CloudMessage::new()
            ->withNotification(Firebase\Messaging\Notification::create('title', 'body'))
            ->withData($data);

        $tryMsg = $messaging->sendMulticast($message,$pushTokens);
        try {
            $messaging->validate($message);
        } catch (Firebase\Exception\Messaging\InvalidMessage $e) {
            $tryMsg = $e->errors();
        }

The order is a little bit messed up - you are currently first sending, and only after that validating the message (when it's already "too late").
If you call $messaging->validate() on the message as it is, the Firebase API will return the error you have, because $message doesn't include a recipient, so the error you are receiving is correct.
$messaging->sendMulticast() will loop over each token you provided and call withTarget() on the message to make it valid, and send the messages.
$messaging->sendMulticast() will also not throw exception but always return a MulticastSendReport - please see the documentation at https://firebase-php.readthedocs.io/en/latest/cloud-messaging.html#send-messages-to-multiple-devices-multicast for more information on how to use it.

If you want to validate the messages to all tokens before sending them, this is what you currently would have to do:
foreach ($pushTokens as $token) {
    try {
        $messaging->validate($message->withChangedTarget('token', $token));
    } catch (MessagingException $e) {
        // for example:
        print_r($e->errors();
    }
}

@jeromegamez  Thank you very much, I understand!


Admin should not receive a verification email

As first user admin created in the database, it should not receive verification email

Add condition that send verification emails only when the users are not admin


Update Readme.md to Demo Review version

What's the status of this issue? Is it still valid after 5 months?


fix contact_person checkbox was not checked correctly

This PR will fix https://github.com/antleaf/nims-mdr-development/issues/427 .

Dropped this because we plan to remove these properties


Strict test coverage

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.16%. Comparing base (70f72a0) to head (edfd05b).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #359   +/-   ##
=========================================
  Coverage     71.16%   71.16%
  Complexity      375      375
=========================================
  Files            29       29
  Lines          1231     1231
=========================================
  Hits            876      876
  Misses          355      355

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Make one call to export, and escape spaces in the cert path

Signed-off-by: Sven Dowideit<EMAIL_ADDRESS>this is from https://github.com/boot2docker/boot2docker-cli/pull/351 - OSX users (and I presume Windows users with spaces in their username fall over hard.

@ehazlett I think we can close this since we added the quotes?

Correct -- this should be resolved with the quotes.  Please re-open if you continue to see issues.


Added video game buttons issue-273

Resolved adding new video game buttons to the collection
#issue 273 under GSSOC 2023
do check it out !

Change your file name to index.css to style.css and it will get merged.

done check it out !

@ManishaSwain8 Amazing work 😎
This button looks amazing!
Thank you so much for your contribution.🌟
Make sure to ⭐ and follow me.

I would love to connect with you all ❤

https://www.linkedin.com/in/om-gawande/


Update uuid-creator to 3.7.3

Updates com.github.f4b6a3:uuid-creator from 3.7.2 to 3.7.3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.f4b6a3", artifactId = "uuid-creator" } ]

labels: library-update, semver-patch

Codecov Report

Merging #132 (a7b0ebf) into main (f55c14d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #132   +/-   ##
=======================================
  Coverage   89.07%   89.07%
=======================================
  Files          86       86
  Lines        2783     2783
  Branches       91       91
=======================================
  Hits         2479     2479
  Misses        304      304

Continue to review full report at Codecov.

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


Item doesn't show in Add New Item

Got some troubleshooting advice?  I use the wizard and verified it imported the exported item template, yet in the Add New Item dialog it's nowhere to be found. I restarted VS!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8e44d5ce-a797-8367-d4d0-0c3a29f0b18c
Version Independent ID: d3203ea3-2a1b-f418-62a9-0024c5e03685
Content: Create item templates - Visual Studio
Content Source: docs/ide/how-to-create-item-templates.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @gewarren
Microsoft Alias: gewarren

@cbordeman Thank you for the feedback, we're sorry your experiencing issues.
A few things to double-check...

Verify the template is located in the correct folder, for example, %USERPROFILE%\Documents\Visual Studio <version>\My Exported Templates

Check you're working with the correct version of Visual Studio (if multiple versions are installed)

Make sure your <TemplateID>, <ProjectType>, and <ProjectSubType> match the project you're using

Please include these details and any <VSTemplate> code to further help troubleshoot this issue.

Closing the the issue now, please comment below if there are any concerns.


Fix typos and markdowns

See a detailed description of the rules is available at
https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:

@Kaesebrot84 By the way, how did you generate this image, https://raw.githubusercontent.com/Kaesebrot84/iris/main/example_output.png?

@Kaesebrot84 By the way, how did you generate this image, https://raw.githubusercontent.com/Kaesebrot84/iris/main/example_output.png?

I did it by running cliris -f Lenna.png -i 3 html which generates a html file. Then I took a screenshot of the html file content.


[WIP][Refactor] Replan the insert to get rid of the metadata inconsistent between plan() and beginTransaction()

The metadata may be changed between plan() and beginTransaction(). When to beginTransaction(), the plan is not ready and the tablet is dropped by balanced. So we need to get txn first, to make the dropping tablet procedure to wait.
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 5 / 8 (62.50%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
2
5
40.00%
[1542, 1916, 1917]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
3
3
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 6 / 10 (60.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
2
5
40.00%
[1542, 1916, 1917]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
3
4
75.00%
[1629]

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)


Producer/Consumer settings impl

To be honest, I didn't like the way our Consumer/ProducerSettings build consumer or producer, with this implementation we have big problems scaling or adding new properties to Consumer/ProducerSettings.
  @Override
  public KafkaProducer<K, X> producer() {
    final Map<String, Object> config = new HashMap<>(3);
    config.put(
      "bootstrap.servers",
      new TextXpath(this.settings, "//bootstrapServers")
        .toString()
    );
    config.put(
      "key.serializer",
      new TextXpath(this.settings, "//keySerializer")
        .toString()
    );
    config.put(
      "value.serializer",
      new TextXpath(this.settings, "//valueSerializer")
        .toString()
    );
    return new KafkaProducer<>(config);
  }

Suppose I want to add a new property - ssl.key.password.
What should I do with it?
I should create a new class with an external name SslKeyPassword and add some code to that method:
config.put(
  "ssl.key.password",
  new TextXpath(this.settings, "//SslKeyPassword").toString()
);

I think the right way to implement this should look like this:
  @Override
  public KafkaProducer<K, X> producer() {
    final Map<String, Object> config = this.params.all()
      .stream()
      .collect(
        Collectors.toMap(
          ParamsAttr::name,
          param ->
            new TextXpath(
              new XMLDocument(this.params.asXml()),
              param.asXpath()
            )
          ).toString()
      );
    return new KafkaProducer<>(config);
  }

to do this, we just need to implement the asXpath method and refactor AttrEnvelope#nameInCamelCase() a bit
@h1alexbel wdyt

And I have another question, is the configuration through .xml a necessary item for our project?

@l3r8yJ I like your suggestion. And XML is not necessary, but simplifies the construction of consumers and producers

I agree with you, that code is not extendable

@h1alexbel then I have a theoretically good solution, i'll send a pr later

@l3r8yJ 3 puzzles #154, #155, #156 are still not solved.

@l3r8yJ 4 puzzles #155, #162, #163, #164 are still not solved; solved: #154, #156.

@l3r8yJ 3 puzzles #155, #162, #164 are still not solved; solved: #154, #156, #163.

@l3r8yJ 2 puzzles #155, #162 are still not solved; solved: #154, #156, #163, #164.

@l3r8yJ the puzzle #155 is still not solved; solved: #154, #156, #162, #163, #164.

@l3r8yJ seems that this issue was completed. Can I close this one?

@h1alexbel cheers!


[fix] Adding LeaderElectionNamespace to init of controllerruntime Manager

Fixes - https://github.com/aws/karpenter/issues/4216
Description
Add leader election namespace during initialization so that Kubernetes clusters where default service account tokens are not automatically mounted can run Karpenter with leader election. Issue -  https://github.com/aws/karpenter/issues/4216
How was this change tested?
Tested in our setup where we don't mount default namespace service account.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 81.457%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
7121

Relevant Lines:
8742

💛  - Coveralls


Include Templates in the SDK

Include the tests and code for incorporating templates into the SDK:
https://www.sparkpost.com/docs/templates

Closing out these parity-style tickets - if we have a need we'll address later.


fix issue 13122

Problem

Fixes #13122 Issues with Rotating ID testing

Change overview

Always print rotating ID when included in dns-sd response
Enable rotating ID by default in tv-casting-app

Testing

Testing using chip-tool discover commissionables and tv-casting-app

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/rebase


handling of water height in crevasse for small crevasse depths

Issue: solving for water height in crevasse--implemented with the class method Crevasse.calc_water_height()--becomes invalid for shallow crevasses < ~22 m.
Current (Kristin's solution), was implemented in Crevasse.calc_water_depth() where the water height was forced to be less than or equal to crevasse depth (return max(0,crevasse_depth-water_height)) and an extrapolation method for b (below) was included for crevasses<30m, implemented with an if-statement
Options added to function in conjunction with added plotting water depth required to balance KIC within crevasse for crevasse depths - utilizing Crevasse.calc_water_height()
Figure shows crevasse depth (d) and computed water height calculated from .calc_water_height() for an ice thickness of 600, and fracture toughnesses of 0.1MPa (blue), 0.15 MPa (orange), 0.2MPa (green). The gray dashed lines correspond to the b-approximation used for small crevasse depths (d<30m) and plotted against different values of sigmaCrev (Rxx or the applied stress to the crevasse) ranging from 0 (top curves) to 150000Pa (amplitude of crevasse field's stress field), bottom.

Fracture Toughness = 0.1MPa (Blue), 0.15MPa (orange), 0.2MPa (Green)

NOTE for small values of sigmaCrev whereby b never becomes null, there is a region within these low crevasse depths (d<~22m) where b>d which should not be allowed to occur. Kristin's model appears to use the b-approximation (dashed lines) to try and circumvent the areas where b is NaN, and the max(0,water_depth) restriction to fix b>d results. While this is probably fine, the b extrapolation is being computed when the results will be set to 0 by the max() conditional.
This may also not be an issue if we calculate a better initial crevasse depth (likely deeper than in this area of uncertainty) such that it is all avoided and we only use realistic crevasse depths.
 def extrapolate_b(crevasse_depth, rxx):
        d1 = 30
        d2 = 40
        b1 = Crevasse.calc_water_height(d1, Rxx=rxx)
        b2 = Crevasse.calc_water_height(d2, Rxx=rxx)
        return b1 + (b2-b1)/(d2-d1)*(crevasse_depth-d1)

This should be fixed if we implement a real initial crease depth in the model
This can be accomplished by changing the fracture equations to consider variable snow/ice density. This mainly changes the lithostatic term in the net stress intensity factor calculation.
However just adapting this initial crevasse depth for a dry crevasse rather than assigning a small value to iterate on would produce a crevasse that penetrates to at least >10m which fixes the issue of b>d in these equations (see panel a), even for solid ice (dark blue curves).

Panel a (left) shows the initial penetration depth for a single water-free crevasse. Calculation accomplished following van der veen 1998 by setting
$K_I^{(1)}+K_I^{(2)}$ and on the left $K_I^{(3)}$ is shown as defined with the code below:
from scipy.integrate import trapz
from numpy.polynomial import Polynomial as P

def f2(b,d,H, rhoi=917, rhos=350, C=0.02):
    """integral within the equation for KI(2) van der veen 1998
    Parameters
    -----------
    b : water height (m)
    d : crevasse depth (m)
    H : ice thickness (m)
    rhoi : ice density (kg/m^3)
    rhos : surface density (kg/m^3)
    """
    return (-b+(rhoi-rhos)/(rhoi*C)*(1-np.exp(-C*b)))*G(b,d,H)

def f3(a,b,d,H):
    return (b-a)*G(b,d,H)

def evaluate_KI1(d,H,Rxx):
    """
    Stress intensity factor for tensile normal stress
    d : crevasse depth in meters
    H : ice thickness in meters
    Rxx : resistive stress - normal stress responsible for crevasse opening
        defined as the full stress sigma_xx minus the weight-induced
        lithostatic stress, L

    Returns
    -------
    KI1 in units of MPa
    """
    p = P([1.12, -0.23, 10.55, -21.72, 30.39])
    return (p(d/H)*Rxx*np.sqrt(np.pi*d))/1e6

def evaluate_KI2(d,H,rhoi=917,rhos=350,C=0.02):
    """KI(2) in units of MPa"""
    x=np.arange(0,d,0.01)
    f=f2(x,d,H, rhoi=rhoi, rhos=rhos, C=C)
    i_trapz = trapz(f,x)
    return (((2*rhoi*9.81)/np.sqrt(np.pi*d)) * i_trapz)/1e6

def evaluate_KI3(a,d,H):
    """Units of MPa

    a : water depth below surface
    d : crevasse depth
    H : ice thickness

    """
    x=np.arange(a,d,0.01)
    f=f3(a,x,d,H)
    return ((2*1000*9.81)/np.sqrt(np.pi*d)*trapz(f,x))/1e6 if d>a else 0

def evaluate_KInet(d,H,Rxx,a,rhoi=917,rhos=350,C=0.02):
    """calculate the net stress intensity factor in units MPa"""
    return evaluate_KI1(d,H,Rxx) + evaluate_KI2(d,H,rhoi=rhoi,rhos=rhos,C=C) + evaluate_KI3(a,d,H)

Workaround implemented however this doesn't seem to be much of an issue because initial hydrofracturing appears do drive crevasse to depths >30 m in the first timestep. This may not be the case in all situations so it should be addressed/improved upon in the future.


❓👂 Question/Feedback - Management Group Diagnostic Settings Enablement - New Module

Question/Feedback
Hi,
I see that recently (4 days ago) a new module 4.1 was added to the deployment flow
I just completed an ALZ deployment without module 4.1 as I cloned the ALZ-Bicep repo from github last week
What are the consequences for my current deployment? Do I have to do something with module 4a?
(No alarm as we still are in tst/acc phase)
Possible Answers/Solutions?
Please advice.

Hey @jerrolmossel,
This is just a new feature add. No breaking changes as per the release notes

You can get notified of new releases following the guidance we have in the FAQ here in the Wiki

So if you would like to adopt the new feature, you certainly can, just update your fork/clone of the repo. And then just follow the steps in the deployment flow to deploy step/module 4.1.
This just adds diagnostic logging on the Management Groups and sends them to the Log Analytics Workspace for even more platform logging 👍
Let us know if this helps or if you have any questions
Cheers
Jack
cc: @lachaves

Hi Jack,
Yes, it helped. Thanks again!

Hi Jack,
Yes, it helped. Thanks again!


panic: runtime error: slice bounds out of range (0.9.5 stable)

I saw some git issues reporting this but some of them were quiet old, so feel free to close this and use the other git issues if you are working on any of them.
I upgraded to latest influxdb (0.9.5), we were running the nightly build for maybe 3-4 weeks but we were seeing the "panic: runtime error: slice bounds out of range" every now and then, not big deal. Now that we are on 0.9.5 (the "stable" version, not nightly) we seem to be getting this more often.
panic: runtime error: slice bounds out of range
Is there any work around? I'm guessing it is a bad HTTP request (query)?

Ths looks like a duplicate of #4869 which was reported 2 days ago, and which mentions there is a tsm1 refactor happening.  A strange situation for a new system recently declared stable, but there you go.

Just so there is no misunderstanding 0.9.5 is considered stable but not
with the tsm1 engine. That engine is not the default and is still
experimental. You must explicitly enable it.
On Monday, November 23, 2015, Dave Olszewski<EMAIL_ADDRESS>wrote:

Ths looks like a duplicate of #4869
https://github.com/influxdb/influxdb/issues/4869 which was reported 2
days ago, and which mentions there is a tsm1 refactor happening. A strange
situation for a new system recently declared stable, but there you go.
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/4890#issuecomment-159144827.

Thank you for that clarification, makes more sense
On Mon, 23 Nov 2015, otoolep wrote:

Just so there is no misunderstanding 0.9.5 is considered stable but not
with the tsm1 engine. That engine is not the default and is still
experimental. You must explicitly enable it.
On Monday, November 23, 2015, Dave Olszewski<EMAIL_ADDRESS>wrote:

Ths looks like a duplicate of #4869
https://github.com/influxdb/influxdb/issues/4869 which was reported 2
days ago, and which mentions there is a tsm1 refactor happening. A strange
situation for a new system recently declared stable, but there you go.
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/4890#issuecomment-159144827.

Reply to this email directly or view it on GitHub:
https://github.com/influxdb/influxdb/issues/4890#issuecomment-159145066

closing as duplicate of #4869


setState "List item changed"  but the view not invalidate

data class CheckedData(
    val id: Int,
    val name: String,
    var checked: Boolean = false
)

data class SomeState(val data: List<CheckedData> = emptyList()) : MvRxState

class SomeViewModel(initialState: SomeState) : MvRxViewModel<SomeState>(initialState) {
    fun setChecked(id: Int) {
        setState {
            copy(data = data.find { it.id == id }?.checked = true)
        }
    }
}

here is my code ,
I know the reason because the data of the two SomeState points to the same memory
but how can I elegantly solve the problem of  list item changed  ?

Make checked a val and change the item with copy(checked = true)

You can double check that this works by calling hashCode() on your data property before and after your call to show that it actually changed and that hashCode() works properly on your class


[BUG]: cannot pass 1d matrix (numpy shape (1,1)) across nanobind as Eigen::Matrix<double,-1,-1>

Problem description
I get a type error when I try to pass a 1d ndarray to c++ function's accepted Eigen::Matrix<double,-1,-1> (or Eigen::Array<double,-1-1>.
Behavior here seems unexpected to me -- I don't know if this might be too hard an issue to be fixable implementation wise ...
Thanks much!
Reproducible example code
c++

#include <nanobind/nanobind.h>
#include <nanobind/eigen/dense.h>

namespace nb = nanobind;

void processMatrix(const Eigen::Matrix<double, -1, -1> &mat)
{
    std::cout << "Received matrix: \n"
              << mat << std::endl;
}

NB_MODULE(test_native, m)
{
    m.def("process_matrix", &processMatrix, nb::arg("mat"));
}

python
    from test_native import process_matrix
    import numpy as np

    v = np.array([[1.0]])

    process_matrix(v)

    print("done")

Error
Exception has occurred: TypeError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
process_matrix(): incompatible function arguments. The following argument types are supported:
    1. process_matrix(mat: numpy.ndarray[dtype=float64, shape=(*, *), order='F']) -> None

Invoked with types: ndarray

please change your C++ function argument to
const Eigen::Ref<const Eigen::Matrix<double, -1, -1>>& mat
and see if that solves your issue.
I suspect that the ordering of the array is the problem, as Eigen uses a column major format and Numpy a row major format. You can also change the layout in Eigen with Eigen::RowMajor.

If that is the explanation, then I'm surprised that the Eigen type caster does not make an implicit copy (which is explicitly allowed in this case.) Maybe @WKarel knows?

please change your C++ function argument to
const Eigen::Ref<const Eigen::Matrix<double, -1, -1>>& mat
and see if that solves your issue.

Interesting -- that works!
I had thought that the row major vs column major ordering was implicitly handled with a copy where required -- honestly not sure if that's the issue because this signature doesn't work ...
void processMatrix(const Eigen::Matrix<double, -1, -1, Eigen::ColMajor> &mat)
{
    std::cout << "Received matrix: \n"
              << mat << std::endl;
}

I have never really worked on the type_caster for plain Eigen types (but mostly on Ref and Map), and there is surely room for improvement - see also https://github.com/wjakob/nanobind/discussions/504
As this type_caster makes a copy anyway, it should be most liberal on what to accept as nb::ndarray.

Thanks for the report. The issue was unrelated to the Eigen<->nanobind interface and is fixed in a76cfff860392cf279a157be2dd1966c3ccc88a4.


Ingestion image is missing Java

Describe the bug
Running the kafka connect ingestion fails
> docker run -it --user root -v /my/path/recipes:/temp linkedin/datahub-ingestion:v0.8.41 ingest run --dry-run -c /temp/kafka-connect-to-datahub-kafka.yml

[2022-10-28 09:47:42,927] INFO     {datahub.cli.ingest_cli:99} - DataHub CLI version: 0.8.41+docker
[2022-10-28 09:47:42,952] INFO     {datahub.ingestion.run.pipeline:160} - Sink configured successfully.
[2022-10-28 09:47:44,455] INFO     {datahub.ingestion.source.kafka_connect:866} - Connection to <address> is ok
[2022-10-28 09:47:44,456] ERROR    {datahub.ingestion.run.pipeline:126} - No JVM shared library file (libjvm.so) found. Try setting up the JAVA_HOME environment variable properly.
[2022-10-28 09:47:44,456] INFO     {datahub.cli.ingest_cli:115} - Starting metadata ingestion
[2022-10-28 09:47:44,456] INFO     {datahub.cli.ingest_cli:133} - Finished metadata pipeline

Failed to configure source (kafka-connect) due to No JVM shared library file (libjvm.so) found. Try setting up the JAVA_HOME environment variable properly.
No ~/.datahubenv file found, generating one for you...

To Reproduce
Steps to reproduce the behavior:

Try to run kafka-connect ingestion inside image.

Expected behavior
The ingestion would succeed
Additional context
Tested both v0.8.41 and v<IP_ADDRESS>
Somewhat related to: https://github.com/datahub-project/datahub/issues/4741

I fixed this in my own derived image by adding
RUN apt-get update && \
    apt-get install -y openjdk-11-jre-headless && \
    apt-get clean;

@anshbansal , let me know if adding this to the ingestion-base image is a satisfactory fix for you. Happy to make a PR for the fix.

@frsann yes please send a PR to add that in base image alongwith rest of the installs


Ergo worker names are not displayed correctly in miningcore

I've noticed strange behavior in Miningcore with workers: depending on your mining client, they will not show on miningcore CLI/Logs, however, I can confirm T-REX on windows (with the -w flag) does show up - but only on the logs.
when looking at the API under /api/pools/POOL_NAME/miners/ERGO_WALLET_ADDRESS/performance no worker names are displayed.
I have tested Lolminer 1.52+ on Linux and T-rex 0.26.14 on windows.

(sorry I did not include "performance" in original issue. I believe I have described it properly now, and you can see no workers are shown in the above screenshot)
Originally posted by @xmrstickers in https://github.com/oliverw/miningcore/issues/1378#issuecomment-1230724446

You must have something wrong in either your config or miningcore build. I just checked my pool and it works fine.

May I ask what mining software and version you are using to get the workers to show? @MiningCryptoLive

May I ask what mining software and version you are using to get the workers to show? @MiningCryptoLive
I can't imagine what config setting would be the issue here but I will look again.

I am using the latest version of miningcore. I really think it's probably a mining software setting that could be incorrect

I think so too, that is why I am asking what software is working on your end for mining.
T-Rex passes the -w flag for worker, for example, and I can see in miningcore logs that indeed, the worker name is present. So that is the reason I thought it was miningcore's fault.

Solution: Not miningcore's fault. Do not pass worker name by built-in flag with T-rex or Lolminer -- instead, use:
.
Closing issue. Thanks for your help either way @MiningCryptoLive !

Solution: Not miningcore's fault. Do not pass worker name by built-in flag with T-rex or Lolminer -- instead, use:
<address>.<worker_name>
Closing issue. Thanks for your help either way @MiningCryptoLive !

Glad you figured it out.


Expose the ingress and egress IPs in the terraform output.

We get requests for this information a lot. So it makes sense to print
them out during the deployment pipeline for easy reference.

are the ingress_ips the same as the DCS ingress IPs, or are they something else? (maybe they were manually provisioned?)
I ask partly because ingress_ips might be confusing if what we actually want are the DCS static ingress IPs

Following offline discussion we decided to rename it to provisioned_eips_marked_for_ingress.


Block search engines from indexing content on Netlify preview builds

See https://github.com/plone/documentation/issues/1619

https://deploy-preview-5725--volto.netlify.app/robots.txt looks good.
No headers got set. I'm looking into why.

Actually the header does get set on Netlify only. I looked in the wrong place:

I wonder if it would be enough in every Netlify "site" but plone/documentation to set the option "branch deploy" to none.

It remains the preview, which is per Netlify default prevented to be indexed by X-Robots-Tag: noindex.

There is always at least one production deploy, which is either 6.0 for docs or main for volto. Setting it to None would be the default branch. I set both docs and volto to do just that. These PRs are still needed.

See Netlify docs: https://docs.netlify.com/site-deploys/overview/#branches-and-deploys

Yes, one published deploy always seems to be provided by Netlify. I also do not see a way to prevent every deploy but the preview, which is indeed where handy.
Approving.


$this->database(''mysqli://root:abc@localhost/test?stricton=false'),in CI_DB_mysqli_driver class $this->stricton is not boolean

if I not use stricton sql_mode:
$this->database(''mysqli://root:abc@localhost/test?stricton=false')
buy,in system/database/DB.php line 138:
$val = var_export($val, TRUE);
}
$params[$key] = $val;
...
$driver = 'CI_DB_'.$params['dbdriver'].'_driver';
$DB = new $driver($params);
so,$this->stricton is 'false',is string,not boolean
so in file system/database/drivers/mysqli/mysqli_driver.php line 141
if ($this->stricton)   will  true

Yes ... It's not magic.
My advice - use proper configuration files, these connection strings are only for quick and dirty tests.


0.5.2 ios

@tallytalwar if you have a chance to do a world trip on this branch I would be curious about the memory usage compared to 0.5.1 :)

@hjanetzek you might also want to include the fixes for marker visibility (old ones already in master) or maybe your recent PR here.

@tallytalwar feel free to pick the needed commits - I cannot test here. We can sort the commits later

I'm rearranging these commits for a release now, hang tight!

And for documentation purposes (outside slack):
We see a memory usage improvement from 0.5.1 by about 56MB.

This was released here: https://github.com/tangrams/tangram-es/releases/tag/0.5.2
From this branch: https://github.com/tangrams/tangram-es/tree/0.5.2-patch


how to run test code with cpu?

@YantaoShen hello, I install pythorch for cpu version but when I test your code I get error:'AssertionError: Torch not compiled with CUDA enabled'
can you help me , how I can run code with CPU ?

Please try to refer to Pytorch's official guideline of using CPU. Considering the large computation requirement, we highly recommend you to run the code on the GPU platform.


remove methods from VelocyPackHelper that are also in VPackSlice

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/409/


ENH: Refactor command line and feature extractor

Commandline

Instantiate feature extractor in main loop and pass it to the worker processes (this will only load the parameter file once, including all checks etc.)
Simplify construction of caseGenerator (only contains case index and case, setting(overrides) are no longer needed as these are used to instantiate the extractor)
Remove function '_buildGenerator', as construction of the generator is now a one-line code. Deprecated commandline switch label is now handled inside the _parseOverrides function, which in turn is called in _processCases.

FeatureExtractor

RENAME CLASS FROM RadiomicsFeaturesExtractor TO RadiomicsFeatureExtractor, which shows better correspondence to the module name.
Ensure that the feature extractor instance can be sent over a Pipe using pickle:

logger object is now defined as a global variable, not a variable of the extractor instance. This is done because this object often contains stream objects, which cannot be pickled
define geometryTolerance as a global variable, as this will then be set separately for each worker thread, as necessary. This prevents the tolerance from being set once in the parent process, but not in the child-processes.
Reduce the number of instance variables in the extractor as much as possible. Current variables retained (and pickled) are settings, enabledImagetypes enabledFeatures, featureClassNames

Move parsing of shape-calculation settings to the function computeShape()
Update docstring of enableImageTypesByName to reflect additions to PyRadiomics' filters
Move the binCount warning to the instantiation of the extractor, resulting in 1 warning overall, instead of 1 warning for each extraction case.

Apply changes to rest of PyRadiomics' code to reflect changes made in feature extractor API.

@JoostJM I believe this branch is now in conflict, because I made few small fixes in eccdbc28d62d52ab59f1830b265e439ecbb17c0c (invalid variable name was used to write JSON output) and a542f691ccf5064717bd6e2d0b5762fe453c68dc (added indentation to the JSON output) to the pyradiomics script.
I rebased and resolved locally, but I feel very hesitant to force-push to your branch, so I will leave it to you to resolve.

Also, is this branch ready for testing? I actually need the batch extraction capability for a project (which we should discuss next Wednesday, by the way!) - that's how I came across the issues I fixed in the aforementioned commits.

@fedorov I'll rebase and merge.
Be aware that this PR also contains a name change to the feature extractor class (to make it more consistent with the module name)


Neural network assignment 1 dataset

https://github.com/open-academy/machine-learning/blob/main/open-machine-learning-jupyter-book/assignments/ml-fundamentals/ml-neural-network-1.ipynb


Document on modifying consents given by a user for a service provider

Related to: https://github.com/wso2/product-is/issues/2507
A user can remove consent for the attributes he/she already given consent to thought the dashboard.
If the user wants to add a consent for an attribute he/she has not given previously, the existing consent for the service provider should be revoked first and login again. Then the user will be prompted to with all the required claims for consent.

Documented under the "Accepting consent for new attributes" section in [1]
[1] https://docs.wso2.com/display/IS550/Using+the+End+User+Dashboard#UsingtheEndUserDashboard-Configuringconsentforservices


macOS Catalina: Can't open chipmunk from Finder's context menu, can't open a file via drag&drop

Prerequisites
affected version:
Version: 2.1.2
Electron: 8.1.0
Electron Rebuild: 1.10.0
ToolKit: 1.0.3
IPC: 0.0.42
Chipmunk Material: 0.0.1
Angular: 9.0.6
Angular Material: 9.1.3
make sure to check this before filing an issue:

[x] I am running the latest version
[x] I checked to make sure that this issue has not already been filed

Describe the issue
What did not work as expected?
a) I want to be able to open a .log file from the macOS Finder with chipmunk. But when I try to configure that, chipmunk is not a recommended app for this type of file, and when I force macOS to do it, chipmunk opens up but doesn't load the file.
b) I want to drag and drop a .log file from the macOS Finder to chipmunk, but then chipmunk doesn't open it.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
a)

right-click on a .log file in Finder, select "open with" -> "other..."
switch from "recommended apps" to "all apps" - this shouldn't be necessary
select chipmunk
-> chipmunk opens, but the .log file is not opened

b)

drag and drop a .log file into chipmunk
-> the file is not opened

Environment
version info from chipmunk's about menu
(see above)
macOS Catalina 10.15.3
Failure Logs
Please include any relevant log snippets or files here.
(if you tell me where chipmunk stores its logs, I'll attach them.)

Hi @mh-
thanks for reporting this issue! the "open with" is not yet available and does not work...but it's a good idea!
what is strange is that you cannot drag & drop files into chipmunk.
can you open files at all?
logs can be found in ~/.chipmunk/chipmunk.indexer.log
if possible please attach them.

Tried again with release 2.3.1.
Drag & drop worked.

@mh- Thanks for feedback!


recipes-demos: ti-apps-launcher: Bump up SRCREV

This SRCREV update improves UX for Camera App by enabling and disabling buttons on the go 1

Applied with https://github.com/TexasInstruments/meta-tisdk/commit/4346b8ea196c15e911e6d95cbb6be9fb6fd7aca0


UpdateUserCmd has a typo: hasing -> hashing

Description
A typo in a description.

:heavy_check_mark:  http://cloudstack.apache.org/api/apidocs-4.11/apis/createUser.html
:heavy_multiplication_x:  http://cloudstack.apache.org/api/apidocs-4.11/apis/updateUser.html

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

GitHub Issue/PRs

Screenshots (if appropriate):
How Has This Been Tested?

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
Testing
[ ] I have added tests to cover my changes.
[ ] All relevant new and existing integration tests have passed.
[ ] A full integration testsuite with all test that can run on my environment has passed.

Hi @greut, Thanks for correcting the typo. I think the same fix is present in #2597, This is redundant. You can close this PR. Thanks.

@nitin-maharana github editor tricked me... they meant to be separated.

@marcaurele k


Strange calculation with Ichimoku Indicator

Hi,
I've imported the library and tested Ichimoku Cloud, but it was mismatched with my own result.
So I tried to see your source for "AbstractIchimokuLineIndicator" class and I found a bug for "calculate" method like:
return periodHigh.getValue(index).plus(periodLow.getValue(index).dividedBy(Decimal.TWO));
I think it should be changed like:
return periodHigh.getValue(index).plus(periodLow.getValue(index**)).dividedBy(Decimal.TWO)**;
Regards,
JeongSuk Lee

My mistake... sorry and thanks

Thank you both:
@k830206 for pointing this out
@gcauchis for your reactivity


Tinyinfo Micro

Tinyinfo Micro
What is Tinyinfo Micro?
Tinyinfo Micro would be a version of Tinyinfo with less features and lower quality images.
Why?
Currently (Between V3 Prerelease 1 and 2) Tinyinfo is about 9.1 MB in size. This is quite big compared to v1.x or even v2.0 SP x. With optimizations and extras removed the size can be decreased significantly.

I think a smaller version of Tinyinfo is a great idea, but I think 9.1MB is still acceptable

I think a smaller version of Tinyinfo is a great idea, but I think 9.1MB is still acceptable

Thanks, will start working on a v3µ release

Tinyinfo Micro has been added to the latest prerelease and SECURITY.md.
I was able to reduce the final size to about 850kb which is a significant difference.
Closing this issue.


Keep reference to same object vs cloning it

Is it possible to keep a reference to the original object being dragged?

@johntdowney this is exactly what I'm doing; it becomes very obvious when you have a strongly typed class as the backing collection and look at the console to see a list of items with MyClass {} and then a simple object literal for the dragged item.


Update zio-sbt-website to 0.1.5+27-a79a4f13-SNAPSHOT

Updates dev.zio:zio-sbt-website from 0.1.5+10-49adf3d7-SNAPSHOT to 0.1.5+27-a79a4f13-SNAPSHOT.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-sbt-website" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "dev.zio", artifactId = "zio-sbt-website" }
}]

labels: sbt-plugin-update, early-semver-build-metadata, semver-spec-build-metadata, commit-count:1

Superseded by #800.


new contributors added

thanks @Abhishek-kumar09

Thanks @RohitShailesh for your PR, Welcome to the community.


Wafw00f fails when trying to detect against https via a http proxy.

$ wafw00f --proxy=http://<IP_ADDRESS>:8080 https://google.com

                                 ^     ^
        _   __  _   ____ _   __  _    _   ____
       ///7/ /.' \ / __////7/ /,' \ ,' \ / __/
      | V V // o // _/ | V V // 0 // 0 // _/
      |_n_,'/_n_//_/   |_n_,' \_,' \_,'/_/
                                <
                                 ...'

    WAFW00F - Web Application Firewall Detection Tool

    By Sandro Gauci && Wendel G. Henrique

Checking https://google.com
Traceback (most recent call last):
  File "/usr/local/bin/wafw00f", line 8, in <module>
    main.main()
  File "/usr/local/lib/python2.7/site-packages/wafw00f/main.py", line 419, in main
    if attacker.normalrequest() is None:
  File "/usr/local/lib/python2.7/site-packages/wafw00f/main.py", line 96, in normalrequest
    return self.request(usecache=usecache, cacheresponse=cacheresponse, headers=headers)
  File "/usr/local/lib/python2.7/site-packages/wafw00f/lib/evillib.py", line 320, in request
    r = self._request(method, path, headers)
  File "/usr/local/lib/python2.7/site-packages/wafw00f/lib/evillib.py", line 362, in _request
    h = conn_factory(connect_host, connect_port,**params)
TypeError: __init__() got an unexpected keyword argument 'context'

Thanks for reporting that @mnowrot .. let me get that fixed.

can you check the latest commit? 2ca7a4a3697928edb088679b655ba4c6a70b8a8c
The exception is now fixed but support for HTTPS URLs over HTTP proxies is not implemented. I've been looking for a clean way to implement this but did not find any good examples showing how to use set_tunnel properly. You're welcome to submit a fix of course ;-)


Add option to treat empty lists as nil for the purpose of the optional check

for has_many and list_of fields if we return an empty list from a data accessor and the field is not optional we don't error.
Arguably we should because it is empty. The problem is for some input types (like maps. json) there may be a difference between "the value was provided and it was []" and "the value does not exist in the input data". This is the difference between: %{preferences: []} and %{}. We don't want to lose this distinction.
In ecto they have an option when casting empty_values which lets the user specify which values we should consider to be empty. If a field has any of those values returned from the data accessor when casting we treat them as nil for the purpose of the optionality check.
I wonder if a similar thing here could be useful...

In https://github.com/Adzz/data_schema/pull/33 we introduce empty_values and in https://github.com/Adzz/data_schema/pull/36 we introduce defaults.
There is still some improvement, for now defaults are always functions called at runtime, but we could also allow compile time constants.
I'm not fully sure if these options are the best of all worlds - for example they make the fields verbose, but it works for now.


make sure actionable items have bg-pure-white

Codecov Report

Merging #912 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #912   +/-   ##
=======================================
  Coverage   99.76%   99.76%
=======================================
  Files         282      282
  Lines        7181     7181
  Branches     1759     1759
=======================================
  Hits         7164     7164
  Misses         17       17

Impacted Files
Coverage Δ

src/components/actionable-item/ActionableItem.tsx
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


not working in macos high sierra

The scripts are already in    _**~/.local/bin**_   but can't run command systemwide

This issue was fixed