More datasets reported in Personal Workspace than actually exist

Hi,
I ran a script in my company's tenant to extract all workspaces, for each workspaces all datasets and then count the number of source types e.g. file, sql server to better understand what data our company is looking at.
I'm seeing some strange behavior though for Personal workspaces. I can see for example that I have a lot of dataset_id linked to my personal workspace even though in reality I only have one dataset. Thus I'm trying to understand the behavior of the commands here. I've listed it down below in a more structured format
Background:

I have one dataset in my personal workspace
I don't have any datasets shared with me
I am a member of several app workspaces
I am also using some Apps

I'm using the following command:
Get-PowerBIDataset -scope Organization -WorkspaceId ... logged in as a PowerBI admin
Expectation: to only see the dataset that I have in my personal workspace
Reality: I am seeing datasets that are in Apps that I use and in App workspace I am a member off
Questions

Do datasets in app workspaces you are a member off automatically appear when you query your personal workspace?
Do datasets in apps you use automatically appear when you query your personal workspace?

Hi Stefvsignup,
Regarding your questions:
Do datasets in app workspaces you are a member off automatically appear when you query your personal workspace?
o	This should not happen, and we are unable to reproduce this behavior. If it is indeed happening in your environment, would you be so kind to give me exact repro steps?
Do datasets in apps you use automatically appear when you query your personal workspace?
o	When you install an app, it is installed in the personal workspace. We hide the information in UI, but the dataset is linked to the personal workspace, and hence it would show up in the list of datasets. This is by design so that you can enumerate the datasets linked to an app.
Cheers,
Kay

Good idea—thanks! Done!
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/36390475-add-associated-appid-to-data-set-details


Code for setting a google font

Can you please give a sample of how to set the google font on the razor page variable?

Not sure what you mean exactly. This is the way google fonts work now:

This is the Geostar font

@code {
    private string geostar;
}

Are you looking for something more than that?


Provide a way to avoid a burst of calls to CreateMetricDescriptor from Stackdriver stats exporter

When an application has many processes that all use the OpenCensus Stackdriver stats exporter, it can create a burst of calls to Stackdriver's CreateMetricDescriptor RPC (https://cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#metricservice), which can exceed the limit on requests per minute.  It would be nice if there was a way to avoid the burst of requests.  For example, StackdriverStatsConfiguration could have an option to skip the call to CreateMetricDescriptor, and users could set it when they know that the metric descriptors already exist.


cli: Make destroy cluster useful even when the hostedcluster is gone

Before this commit, the destroy cluster command was incapable of deleting
infrastructure for a missing HostedCluster resource. Now, provided the user
supplies the required inputs, the command can tear down infrastructure for a
HostedCluster which doesn't exist.

/test e2e-aws

/test e2e-aws

/test e2e-aws

/lgtm


Use getDataPoint and getDataPointQty on loaded index

The functions getDataPoint and getDataPointQty work as expected when I am creating an index from scratch, but if I save the index to disk and load in different session getDataPointQty returns 0, and getDataPoint throws and error i.e. calling
index.getDataPoint(0))

gives
AttributeError: 'nmslib.dist.FloatIndex' object has no attribute 'getDataPoint'

Any ideas? or is this a known limitation of saving/loading
EDIT:
If I use nmslib.getDataPoint(index, 0) I instead get
IndexError: vector

Currently, these are mostly meta-indices (so, yes, it's the limitation). You have to reload data to get data points, see, e.g., here: https://github.com/searchivarius/nmslib/blob/master/python_bindings/notebooks/search_dense_nonoptim.ipynb
At some point, I play to make saving function to save data as well (as many people expect), but not in the current version.

ok thanks for the quick response @searchivarius

@rbrthogan no problem, hopefully, we will fix in the next major release.


CP4I catalog sources YAML names

Catalog source YAML names generated by ibm-pak have universal form for some of the capabilities - it is catalog-sources.yaml For the others capabilities the name is architecture specific, e.g. catalog-sources-linux-amd64.yaml
Current version always assumes  catalog-sources.yaml which causes error when we install the capability that does not have  the general form of the YAML name.

Updated automation-roles/50-install-cloud-pak/cp4i/cp4i-cluster/vars/main.ymal
Added new property in instance_types properties called catalog_source_yaml_name


add pr-easy-toggle-files feature

LINKED ISSUES:
Fixes #3738.

TEST URLS:
https://github.com/microsoft/TypeScript/pull/12114/files
https://github.com/sindresorhus/refined-github/pull/3750/files

SCREENSHOT:

Updated according to your suggestions @fregante.

Thanks! Generally here force pushing is not necessary and it makes reviewing only the changes harder

Thanks! Generally here force pushing is not necessary and it makes reviewing only the changes harder

You are welcome! Your extension is great and brings a lot of convenience.
@fregante no offense at all but for the "it makes reviewing only the changes harder" when I see some commits simply titled "shorten" and "lint" 😅 ...

when I see some commits simply titled "shorten" and "lint" 😅 ...

I use "lint" generously to describe "obvious" changes that are only meant to make the build, types or linter pass.
As for the "shorter" I just followed what my previous review suggested + I left a comment there explaining why === is enough.
We squash commits in the end, so my comment was more about being able to tell the difference between a review and the next, so that I don't need to review the same piece of code twice.

Thanks Mr Pan au Chocolate

Thanks Mr Pan au Chocolate

Noooo, damned! How is that possible 😄 ?!


Docs.MS Release Updates for azure-messaging-servicebus

Update docs metadata and targeting for release of azure-messaging-servicebus

Docs Build status updates of commit 1edd42c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/preview/messaging-servicebus-readme.md
:warning:Warning
View (azure-java-preview)
Details

package.json
:white_check_mark:Succeeded

docs-ref-services/preview/messaging-servicebus-readme.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 11, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'servicebus'.
Line 45, Column 2: [Warning-alt-text-missing] Missing alternate text for image 'http://azuredeploy.net/deploybutton.png'. Alt text is required for accessibility.
Line 160, Column 4: [Warning-bookmark-not-found] Cannot find bookmark '#receive-messages-and-renew-lock' in 'docs-ref-services/preview/messaging-servicebus-readme.md'.
Line 161, Column 4: [Warning-bookmark-not-found] Cannot find bookmark '#settle-messages' in 'docs-ref-services/preview/messaging-servicebus-readme.md', did you mean '#send-messages'?
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 36, Column 3: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable. Otherwise, remove the view parameter.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


-Dfdb flag in release builds

If it possible to exclude -Dfdb flag from release builds?
In Project properties, Pre-Build Command line contains
"$(CompilerPath)/haxelib" run lime build "$(OutputFile)" $(TargetBuild) -$(BuildConfig) -Dfdb
But in release version "-Dfdb" flag has no sense, and constantly changing line also not best way.
Thanks in advance

WIP


Better content type support for AsyncHttpClient

Adds text/plain and application/octet-stream support for AHC request and response bodies.
Also improves error reporting from the Java code formatter rather than just dumping a stack trace to console.
Contributing to Twilio

All third party contributors acknowledge that any contributions they provide will be made under the same open source license that the open source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

PR status check is broken, gonna create a new one.


fix(mse): handle possible undefined, upgrade packages

:tada: This PR is included in version 6.9.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add --stdout option OR option to remove delimiters from --preview-only

Hi, I wrote an extension supporting SML for the Zed text editor (https://github.com/omarjatoi/zed-sml) and want to use smlfmt to format the buffer on save. The editor expects the formatter to output the formatted buffer to stdout. I'm able to configure it to use --preview-only, but this has delimiters at the top and bottom.
For example, if I open a buffer with the contents:
signature MAIN_STRUCTS =
   sig
   end

signature MAIN =
   sig
      include MAIN_STRUCTS

      val main: string * string list -> OS.Process.status
      val mainWrapped: unit -> 'a
   end

and save the file, my buffer now has:
---- mlton/mlton/main/main.sig ----
signature MAIN_STRUCTS = sig end

signature MAIN =
sig
  include MAIN_STRUCTS

  val main: string * string list -> OS.Process.status
  val mainWrapped: unit -> 'a
end
--------

I also tried passing --force to format the file in-place, but since the editor is replacing the buffer with the contents of stdout the contents of the buffer get formatted and then immediately emptied out by smlfmts stdout (which is nothing).
If the existing behavior is desirable, we could add a new option --stdout or --preview-only-no-delimiters that sends the formatted contents to stdout without the bottom and filename at top delimiters. Alternatively, we could add a supplementary option for --preview-only like --no-delimiters.
If either of these options sound good I'd be happy to open a PR with the suggested changes. Thanks!

Closing this issue, I just realized I was passing the path to the file, and after seeing https://github.com/shwestrick/smlfmt/pull/84 I realized I could send the contents of the buffer instead of the path to the file instead, yielding the results I expected.
Sorry for missing the obvious!


Unsupported language for grammar 'HTML (Twig)' with extension '.twig'.

[Enter steps to reproduce below:]

...
...

Atom Version: 0.196.0
System: Mac OS X 10.10.3
Thrown From: atom-beautify package, v0.26.4
Stack Trace
Unsupported language for grammar 'HTML (Twig)' with extension '.twig'.
At Unsupported language for grammar 'HTML (Twig)' with extension '.twig'.

Error: Unsupported language for grammar 'HTML (Twig)' with extension '.twig'.
  at /Users/simon/.atom/packages/atom-beautify/src/beautifiers/index.coffee:351:28
  at tryCatcher (/Users/simon/.atom/packages/atom-beautify/node_modules/bluebird/js/main/util.js:24:31)
  at Promise._resolveFromResolver (/Users/simon/.atom/packages/atom-beautify/node_modules/bluebird/js/main/promise.js:427:31)
  at new Promise (/Users/simon/.atom/packages/atom-beautify/node_modules/bluebird/js/main/promise.js:53:37)
  at Beautifiers.module.exports.Beautifiers.beautify (/Users/simon/.atom/packages/atom-beautify/src/beautifiers/index.coffee:230:20)
  at atom-workspace.beautify (/Users/simon/.atom/packages/atom-beautify/src/beautify.coffee:133:16)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:178:20)

Commands
     -0:17 core:copy (atom-text-editor.editor.is-focused)
  2x -0:16.7.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:16.1.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:15.9.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:15.8.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:15.6.0 core:paste (atom-text-editor.editor.is-focused)
     -0:15 core:move-left (atom-text-editor.editor.is-focused)
  3x -0:14.4.0 bracket-matcher:close-tag (atom-text-editor.editor.is-focused)
     -0:10.8.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:10.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:08.7.0 core:save (atom-text-editor.editor.is-focused)
     -0:07.7.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:07.4.0 core:select-down (atom-text-editor.editor.is-focused)
     -0:06.8.0 core:delete (atom-text-editor.editor.is-focused)
     -0:06.7.0 core:save (atom-text-editor.editor.is-focused)
     -0:02.2.0 beautify:beautify-editor (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ],
    "disabledPackages": [
      "wrap-guide",
      "linter-coffeelint"
    ]
  },
  "atom-beautify": {
    "_analyticsUserId": "66fa6d09-0ca0-4bea-acf2-31fc546e7503",
    "css_newline_between_rules": true
  }
}

Installed Packages
# User
Sublime-Style-Column-Selection, v1.2.3
atom-beautify, v0.26.4
autocomplete-css, v0.6.0
autocomplete-plus, v2.12.1
autocomplete-snippets, v1.3.0
color-picker, v1.7.0
css-snippets, v0.8.0
file-icons, v1.5.5
go-plus, v3.3.9
highlight-selected, v0.9.2
javascript-snippets, v1.0.0
language-apache, v1.3.0
language-htaccess, v0.1.1
linter, v0.12.1
linter-js-yaml, v1.0.0
linter-jshint, v0.1.2
linter-php, v0.0.12
mate-subword-navigation, v3.0.1
php-getters-setters, v0.3.0
php-twig, v3.0.0
quickdoc, v0.0.1
symbols-tree-view, v0.9.2
trailing-spaces, v0.2.5

# Dev
No dev packages

See http://twig.sensiolabs.org/doc/templates.html
This looks kind of like ERB. @prettydiff is something like the following already supported:
<!DOCTYPE html>

        <title>My Webpage</title>

        {% for item in navigation %}

{{ item.caption }}

        {% endfor %}

My Webpage

        {{ a_variable }}

The syntax is close enough to other supported languages that Pretty Diff cannot tell it apart. As a result it is already supported.  The above code sample demonstrates an unrelated bug:
https://github.com/prettydiff/prettydiff/issues/85

@Zmaon , I can create a new supported Language for the grammar HTML (Twig) and have Pretty Diff support it. Example file: https://github.com/Glavin001/atom-beautify/blob/master/src/languages/erb.coffee
Please confirm for me that Pretty Diff works as expected for you, by changing your file's grammar temporarily to something like HTML (Rails) or HTML (Ruby - ERB) which is recognized as ERB in Atom Beautify and is supported by Pretty Diff.
To change a file's currently detected grammar in Atom: Menu --> Edit --> Select Grammar --> select your new grammar.
@prettydiff I prefer to select the language explicitly instead of using auto. Should I just consider this as markup? See https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/prettydiff.coffee#L42-L61 for details.

@Glavin001 I have the following error if I try to switch the grammar to HTML (Rails) or HTML(Ruby - ERB) and to beautify. Maybe am I missing something?:
Error: spawn htmlbeautifier ENOENT
  at exports._errnoException (util.js:734:11)
  at Process.ChildProcess._handle.onexit (child_process.js:1035:32)
  at child_process.js:1127:20
  at process._tickCallback (node.js:357:13)

Oh, my apologies. Could you try JavaScript Template instead. I forgot that ERB defaults to using htmlbeautifier.

Ok I installed htmlbeautifier and tester with grammer ´HTML (Rails)´. The only issue I see is that newlines are added at each beautify after "%}". Not sure if this could be fixed in the settings.

Use JavaScript Template, I want to see how Pretty diff handles this, as I will likely be using Pretty diff for this language's beautification support. Also @prettydiff has been great for support, so if there are any bugs we can look into tackling those next.

I don't see Javascript Template in my list of grammars. Is this available in a package?

Oh looks like that isn't installed in Atom by default. Here's the package: https://atom.io/packages/language-ejs
You can likely delete this after we test this.
Also what package are you using to detect HTML (Twig)? I will need to install that so I can do my own tests.

The package I use for Twig is https://atom.io/packages/php-twig
I just ran a quick test with Javascript Template, it looks like it could be ok with some tweaking. I'll run more tests when I have some time.

Excellent! Then this should go very smoothly and be fairly easy to add support for thanks to @prettydiff.

Published to v0.27.12

can there be an option to indent the twig code as well so for example you have

   {% for item in navigation %}

{{ item.caption }}

   {% endfor %}

but i would like is

   {% for item in navigation %}

{{ item.caption }}

   {% endfor %}

So basically means things like if blocks and for statements are nested
also worth noting that if you have a block of just twig in the file right now like this
{% if entry.description %}
{% set description = entry.description %}
{% else %}
{% set description = entry.body %}
{% endif %}
It just puts it all in one line.
If theres anything i can do to help, I'm happy to do it

@keithmancuso : I would recommend playing around with http://prettydiff.com/ and if you find that there are bugs or you have feature requests then please forward them over to @prettydiff at https://github.com/prettydiff/prettydiff/issues
We can help there better over there. Twig support and features are handled by the Pretty Diff beautifier.

Yes, looks like the same problems on prettydiff, and there's a request button right there.

@narration-sd @keithmancuso  The reason why TWIG is not further indented apart from the HTML is that Pretty Diff responds to syntax only.  TWIG tags are not differentiated by syntax, but by grammar (tag name).

Trying to understand what you may mean here.
By 'syntax' you mean that it's just that a new tag has begun without a close tag first that makes HTML tags indent, as an example?
And in Javascript, that it's just the block indicator ({}) which governs?
It would seem that allowing multi-character block indicators would allow Twig to be parsed in the  same fashion, no? What do you think about that?

How do I know which Twig tags gain or lose indentation?  I have to be able to differentiate the tags, which is done by looking at the tag names, for instance: if, for, else, endif, endfor.  Currently, the markup parser is not set up to parse based upon any kind of naming.  It parses based only upon syntax.  The only one exception is that the parser understands certain HTML tags are really self-closing tags even if the proper syntax isn't provided, for instance:
 is understood to really be
.
The term syntax refers to any collection of symbols, which may include words, that convey a rule or operation directly and are directly parse-able as atomic units.  So in the context of Twig specifically something like {% endfor %} probably is syntax.  Looking at markup more generally syntax is frequently described as delimiters and the symbols that define internal components within delimiters.  Keeping the basic identification of syntax extremely broad is what allows XML to be very extensible and how HTML can contain separately parse-able languages like template tags and JavaScript.
The parser could be extended to provide more advanced support by supporting Twig tag names, but this would be a lot of extra code for an additional 15-20 tag names.

Thanks for giving  your notes here - appreciated.
What you said was my point, really, about the intents of the word 'syntax' in prettydiff context, and that Twig ought to fit.
I had a look, and decided I didn't have time to learn coffeescript to go after this. I don't want to imply that you should either, if there are a lot of persons who use Twig out there these days, as with CraftCMS for example.
Thanks...and what you have done is quite useful, also appreciated.

Thanks, if you can gather some amount of community support for this addition then I am sure the effort and increase of code will be justified. At that time just open an issue at https://github.com/prettydiff/prettydiff/issues

I've put on a feature request to add twig language to prettydiff.
https://github.com/prettydiff/prettydiff/issues/218
Please add your comments to speed up the process


Add Google Test

Tickets addressed: #297
Review: By commit
Merge strategy: Merge (no squash)

Description
This PR adds Google Test C/C++ testing framework to the Basilisk project. Initial commits add Google Test to the main CMakeLists file. Subsequent commits incrementally refactor a number of the avsSelfCheck tests to provide examples of basic tests, tests that use Fixtures, and tests that are parameterized.
Verification
Test should run and pass, both locally and via CI.
Documentation
Documentation on how to run the tests needs to be updated and will be momentarily.
Future work
All the remaining tests C/C++ being exposed via SWIG should be ported to use Google Test. Auto TeX documentation should be ported as well.

Nice work converting several tests to this new format.  Are you planning on making these tests run automatically if someone runs pytest from src?  If this needs to be run separately, we should document in the Developer tab how to run unit tests?

I like the unified test script inside Basilisk.  Didn't know you could do pytest -n auto :-)

Didn't know you could do pytest -n auto :-)
It's handy.

There's a tweak I need to make to that script to ensure it runs across all Basilisk platforms. E.g. an XCode project doesn't generate a test target which will run the available build type (Release, Debug, etc.) and so requires invocation like this ctest -C Release, rather than just ctest.


Scheduler with waitgroups per node for flexible dependency resolution

The basic idea I have is, every node has its waitgroup .... if it is dependent on other nodes, these dependent nodes will add to the waitgroup, and this incrementation for that specifc node is stored in an array.
when th node is done, it will issue a wg.Done() for all depending nodes.  The creation of all nodes in started in parallel, but with a pre-function that waits for the individual waitgroup to be decremented to 0 .... then this is send of to into the channel towards the workfunc  which creates the nodes
static and dynamic ip nodes fit perfectly into this schema ... all every static node increments the waitgroup count of all the dynamic ... and every static node after its creation decrements these counters again...

BTW: I might have messed up something with the serialNodes stuff.
However if something should be started just serial, linking one container as a dependency to the next is a peace of cake.
Please someone with deeper understanding of that doublecheck. THX


How to control order of the posts?

I posted two posts, but the order is old post in the front of new post
----home page-----
header
old-post-title
new-post-title
footer

Did you set a :published-at: attribute in the post that could be changing
the post order?
On Wed, 6 Apr 2016, 20:26
greasgreasgreasgreasgreasgreasgreasgreasgreasgreasgreasgreas <
<EMAIL_ADDRESS>wrote:

I posted two posts, but the order is old post in the front of new post
----home page-----
header
old-post-title
new-post-title
footer
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/HubPress/hubpress.io/issues/362

--
Sent from Mobile.

Closed due to lack of response.


[Bug]: Get an error that "role is required" but role does not appear on the add or edit screen

What happened?
non - super admin add or edit staff users:
Get an error that "role is required" but role does not appear on the add or edit screen
What did you expect to happen?
Would have expected to see Roles radio
Version
3.0.4 (Stable)
What browser are you seeing the problem on?
Chrome
Relevant log output
No response

Non - super admin add or edit staff users

Not sure how best to handle this one @sampoyigi . Could remove the validation rule easily enough same way that the field is removed in formExtendFields(), but then we need to apply a sensible default. What are your thoughts?

How about adding the sometimes validation rule?


Plugin 里的消息备份是干嘛用的

如题，plugin 里面的message backup，选项，默认是选上的，不能关，不知道是干嘛用的，有来解答一下的吗？

草你妈
                        X PCIe

<EMAIL_ADDRESS>
Signature is customized by Netease Mail Master
在2018年07月25日 23:43，trazyn 写道： Closed #96.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/trazyn/weweChat","title":"trazyn/weweChat","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/trazyn/weweChat"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #96."}],"action":{"name":"View Issue","url":"https://github.com/trazyn/weweChat/issues/96#event-1752948969"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/trazyn/weweChat/issues/96#event-1752948969",
"url": "https://github.com/trazyn/weweChat/issues/96#event-1752948969",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [trazyn/weweChat] Plugin 里的消息备份是干嘛用的 (#96)",
"sections": [
{
"text": "",
"activityTitle": "trazyn",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@trazyn",
"facts": [
]
}
],
"potentialAction": [
{
"targets": [
{
"os": "default",
"uri": "https://github.com/trazyn/weweChat/issues/96#event-1752948969"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId": 290972698\n}"
}
],
"themeColor": "26292E"
}
]

别老发邮件过来
                        X PCIe

<EMAIL_ADDRESS>
Signature is customized by Netease Mail Master
在2018年07月25日 23:49，X PCIe 写道：
草你妈
                        X PCIe

<EMAIL_ADDRESS>
Signature is customized by Netease Mail Master
在2018年07月25日 23:43，trazyn 写道： Closed #96.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/trazyn/weweChat","title":"trazyn/weweChat","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/trazyn/weweChat"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #96."}],"action":{"name":"View Issue","url":"https://github.com/trazyn/weweChat/issues/96#event-1752948969"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/trazyn/weweChat/issues/96#event-1752948969",
"url": "https://github.com/trazyn/weweChat/issues/96#event-1752948969",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [trazyn/weweChat] Plugin 里的消息备份是干嘛用的 (#96)",
"sections": [
{
"text": "",
"activityTitle": "trazyn",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@trazyn",
"facts": [
]
}
],
"potentialAction": [
{
"targets": [
{
"os": "default",
"uri": "https://github.com/trazyn/weweChat/issues/96#event-1752948969"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId": 290972698\n}"
}
],
"themeColor": "26292E"
}
]


fix(ui): masked password fields for nested object

Describe your changes :

I worked on the fixing #6345

Type of change :

[x] Bug fix

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Frontend: @open-metadata/ui

@nahuelverdugo I might need your help to test it as I am not fully aware of workflow yet 😄


If + Task: how to play with attemptsTo?

Hi @jan-molak, hi everyone
I have a situation where if I want to fill a form. I'd like to have a boolean, and if true -> Do interaction 1 and 2, then click submit, else Do interaction 1 and submit (so 2 is conditioned). Thing is, if I use an if within my attemptsTo(), it just doesn't work as it expects performables only.
I tried something like this.
`export class FillIForm implements Task {
public static using(freeOffer: boolean, phone: string, iban: string): Fill....Form {
    return new FillForm(freeOffer, code, iban);
}

performAs(actor: PerformsTasks): PromiseLike<void> {
    let action : Tasks; //I actually tried several things here, not sure what to put that would make that work

    if (this.freeOffer) {
        action = {
             Enter.theValue(this.phone).into(plop.phone),
             Click.on(Iban.submitButton),
        }
    }
    else {
         action = {
            Enter.theValue(this.phone).into(plop.phone),
            Enter.theValue("fakeIban").into(plop.iban),
            Click.on(plop.submitButton),
        }
    }
    return actor.attemptsTo(action);
}

constructor(private freeOffer: boolean, private phone: string, private iban: string) {}`

I would rather just have an "if" within attemptsTo() but I did not believe this could work considering it expects a given type of objects, so I didn't try much on that direction.
What would you advise?

Hi @san-ouadghiri, excellent timing! About 2 weeks ago I have added conditional activitites:
San.attemptsTo(
    Check.whether(this.freeOffer)
        .andIfSo(
            Enter.theValue(this.phone).into(plop.phone),
            Click.on(Iban.submitButton),
        )
        .otherwise(
            Enter.theValue(this.phone).into(plop.phone),
            Enter.theValue("fakeIban").into(plop.iban),
            Click.on(plop.submitButton),
        ),
)

Does this help?
Jan

That EXACTLY what I need \o/ ! Super thank you !

@jan-molak Actually, the check is not available (it seems) on 1.10.12, the last release. I guess that as the release was done 25d ago, and the change 13d ago. Do you plan on releasing soon?

Hey @san-ouadghiri! Check is part of @serenity-js/core, which serenity-js depends on.
I've just bumped that dependency version so you should get the latest core when you npm install the latest serenity-js.

I'm official its first user \o/ !


Mechanic Arm Depot/Funnel Storage Bug?

Describe the Bug
Having some weird issues with the mechanical arm in my newly constructed storage system in Valhelsia Enhanced Vanilla/Fabric.
Basic gist.
Put item on Depot
Redstone comparator sees item on Depot and sends Redstone signal to raise a number of Andesite funnels up in front of the Tech Reborn Storage Units using Create glue/sticky mechanical pistons.
Arm then picks up item from Depot and puts item into funnel/Storage (locked Storage being used as the 'filter').
When nothing left on the depot, the Redstone signal stops and the funnels drop back into the floor, revealing the Storage Units again.
(This is a variation of the one Mumbo Jumbo used in his Create Mod video awhile back, same concept -
https://youtu.be/64U8IiS4MM8?t=453)
However, have noticed two odd things happening.
It randomly loses half it's animation when picking up items from a Depot and putting it into a (Andesite) funnel. The animation will show it picking up the item from the depot, but not moving it to the funnel, it just goes to it's base stance and the item just disappears from it's gripper and the item shows up in the proper Crude Storage Unit behind the funnel. Breaking and resetting the arm (re-targeting the depot and funnel) fixes it for a short period, but seems to lose animation again when I log out and log back in.
Arm just completely losing it's targeting from time to time. I just logged in again this morning and the arm doesn't do anything. Doesn't notice the item on the depot so doesn't pick it up at all. Need to break the arm again and re-target the depot and funnel in order for it to work properly again.
Screenshots of the second problem here. First shows the Crude Storage Unit where the Redstone Dust is, second shows the Redstone dust on the Depot with the funnels deployed, but the arm not picking it up (but will pick it up once I break the arm and re-target the funnel).
Only assumption is this might be something with the distance that the arm can see the funnels since they are dropping down below the floor when the system is not in use?
Reproduction Steps

Set up initial system with proper targeting of the depot and funnels, tested, arm animation works properly.
Log out, log back in, issue 1 occurs. Breaking the arm and re-targeting fixes issue 1.
Randomly Log out/back in again (could be a number of times - might be a time thing rather than a log thing?), issue 2 occurs. Breaking the arm and re-targeting fixes issue 2.

Expected Result
Expected results would be to not have to break and re-target the arm on the depot and funnels for the system to work.
Screenshots and Videos

Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.4.1
Minecraft Version
1.18.2
Other Mods
Tech Reborn
(All Mods from Fabric Valhelsia Enhanced Vanilla)
Additional Context
No response

I think the arm is randomly losing it's targets.

(Closed on accident, reopening, sorry!)
Thanks @TropheusJ!
Assuming the same here and this being the second issue and the arm eventually loses it's targets when the filters are not deployed. But is this working as intended or a bug? I would assume with the filters not being raised up/deployed over the Storage Unit the arm would still be able to 'see' them, but not interact since there is nothing behind them when they are under the floor.
However it doesn't make sense for the first issue and the arm animation half stopping, since it can obviously see the funnel, but half the animation on the arm just stops? Can provide any other info/pics/video as needed.

Given that it worked in the video, a bug.
Are you using a release or a dev build from GitHub?

Using the Valhelsia Enhanced Vanilla 1.2.2 release. From what I can see it's using: create-mc1.18.2_v0.4.1+565.jar
https://www.curseforge.com/minecraft/modpacks/valhelsia-enhanced-vanilla
https://www.curseforge.com/minecraft/modpacks/valhelsia-enhanced-vanilla/relations/dependencies?page=3


Doesn't find any hosts with remote state

The merge of #41 supposedly enables remote state.
However this doesn't actually seems to be true.
I use s3 with the following configuration:
terraform {
    backend "s3" {
        bucket = "some.bucket.name"
        key = "terraform.tfstate"
        region = "us-east-1"
    }
}

My .terraform/terraform.tfstate contains:
{
    "version": 3,
    "serial": 0,
    "lineage": "abcdef01-2345-6789-abcd-ef0123456789",
    "backend": {
        "type": "s3",
        "config": {
            "bucket": "some.bucket.name",
            "key": "terraform.tfstate",
            "region": "us-east-1"
        },
        "hash":<PHONE_NUMBER>0123456789
    },
    "modules": [
        {
            "path": [
                "root"
            ],
            "outputs": {},
            "resources": {},
            "depends_on": []
        }
    ]
}

Yet terraform-inventory -list results in: {"all":{"hosts":null,"vars":{}}}

Oh dear, #60 must have broken your workflow. Which version of Terraform are you using? My understanding is that newer versions don't use that path for remote state any more. (But of course, some people will still be expecting that, so we should probably fall back to it.) Does it work if you specify the path to the state file?
TF_STATE=.terraform/terraform.tfstate terraform-inventory -list

Thanks for the fast response!
I was on 0.9.6 but upgrading to 0.9.8 and running terraform refresh didn't change anything.
Also your suggested command doesn't show any hosts in the output.
For now I've worked around the problem by wrapping terraform-inventory in a shell script and manually writing the output of terraform state pull into a temp file.

this is reproducible for me too, the state returned with TF_STATE=.terraform/terraform.tfstate terraform-inventory -list is {}

It works for me if I do a terraform refresh and use the local terraform.tfstate.backup

same problem here
$ terraform --version
Terraform v0.11.1

provider.aws v1.5.0
provider.scaleway v1.0.0

$ terraform-inventory --version
terraform-inventory version v0.7-pre
with remote tfstate in S3

I'm also working around this by doing:
terraform state pull > .terraform/local.tfstate
TF_STATE=.terraform/local.tfstate ansible-playbook --inventory-file=$(which terraform-inventory) ansible/site.yml

@adammck is anyone working on this? Are you open for PRs?

@danihodovic I'm not actively working on this, but I'm happy to review and merge PRs. I expect that many people would appreciate this being fixed.

Just tried this with the google/gcs backend on revision 3a1f43306133e8fc981801ea3e0aa31a537edbba and still only getting {"all":{"hosts":null,"vars":{}}} :/

Same for me with google/gcs backend and Terraform 0.11.13

Just verified this still happens with v0.12.10 of terraform and v0.9 of terraform-inventory using the s3 backend even using @jangrewe 's solution with terraform state pull > .terraform/local.tfstate and modifying TF_STATE=.terraform/local.tfstate. Same thing happens if I do terraform state pull > terraform.tfstate and TF_STATE=./ terraform-inventory --list

For anyone else continuing to have this issue make sure you delete your local provider plugins in either .terraform/plugins or ~/.terraform.d/plugins and re-run terraform init. This fixed the issue for me.

I suppose terraform init -upgrade should also work


Improve controller name definition

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
❌

Tests pass?
✔

This PR is blocked by https://github.com/yiisoft/strings/pull/29

👍


Enable password for Arista devices

Hi Hyperglass community
I'm testing hyperglass with Arista devices and I'm getting the following error message
% Invalid input (privileged mode required)
It looks like I need to specify the enable password as the default user and password does not allow ping and show ip bgp commands. Is there a way to specify the enable password in the devices.yaml file?
Thank you

Little late here, ran into a similar issue. The problem you are having is because the ping/traceroute commands by default use the source address parameter which for some reason cannot be run unless you are in the privileged exec mode. You need to set the user your looking glass is using to automatically be in the privileged exec mode. Or change the commands to not use the source parameter and set the default interface for them in your arista config.


⚠ Bofrost.fr has degraded performance

In 40a9902, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1056 ms

Resolved: Bofrost.fr performance has improved in a20fc8e.


how to install memonger

is memonger installed by default with mxnet ?
i can't import
>>> import mxnet
>>> import memonger
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named memonger

You need to clone this repo and put it under your env variable python path

I am using colab and I found that appending the memonger repository path to sys.path works for me:
import sys sys.path.append("/path/to/mxnet-memonger")


Add get_on_handler function and selector capability to on function.

Automated message from Dropbox CLA bot
@adnrs96, it looks like you've already signed the Dropbox CLA. Thanks!

I'm going to merge these soon with a few minor changes...

Changes:

added comments
fixed broken {} in get_on_handlers (it should have been a Dict, but it's easier to short-circuit the call)
allow get_on_handlers to return an empty array
fix the commit message not to say "unique"
added my own commit to use new functions in activity.js

See https://github.com/zulip/zulip/commits/99a6a9b70db3fc636804d2c42d429fe305d19c8d


time.timeZone: default to GMT

Motivation for this change
This will fix #31393 while not changing behavior otherwise.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Note that this does change the default behaviour where the value null means the timezone defaults to UTC and can be set imperatively using timedatectl. This was introduced in: https://github.com/NixOS/nixpkgs/commit/a0d464033c2bacffa9c05d27903fb03cd09ace46 by @lheckemann.

Thanks, then this is not an option.


Add 1.18 Support

Minecraft 1.18 is out now - this mod needs updating for the new version.

Completed in c18b4c0


Ironteeth Bots not Charging

While using Smart Power, Iron Teeth Bots don't properly charge when the charging stations are idle at 0hp. Occasionally bots will go into a charging station for a fraction of a second. Disabling the mod made all unpowered bots run to the closest charging station

This is likely this case: https://github.com/ihsoft/TimberbornMods/wiki/Smart-Power#edge-case-no-active-consumers-in-the-network. If all consumers go to saving mode, then all engines stop and the network is treated as unpowered. To solve it, add a battery or select one engine for always running. Please, let me know if it resolves the issue.

I assume it was the case.


cannot import Objective

I am getting an import error while trying to run my code. it says lasagne.objectives import Objective ImportError: cannot import name Objective. can anyone please help me to solve this problem

Objective was one of the things we had to remove without backward compatibility.  This is how the new objective interface looks like.  You should be able to use it in a similar way.  Let me know if you need more help.


T8113 Battery status/percentage not updating

Eufy camera T8113-Z is not updating the battery percentage anymore, it is stuck on 99%.
Connection with Eufy server is working because the snapshots from the camera's are coming through and are visible in Home Assistant. Also the battery info from my Eufy doorbell is coming through with the correct percentage.
I have stopt the services and also rebooted Home Assistant but no change in status.

Eufy security addon 0.8.4
Home Assistant OS 7.4
Core 2022.2.8

Same issue here.
Fully charged all of my cameras, and now their battery percentages are stuck at 0%.

Unfortunately it is still the same problem reported before in
#132
For me in my doorbell it looks like battery percentage is "correct" until an event occurs. In that case it drops to 0%. Restarting add-on & Integration fixes it until next event.
I am a bit struggling with manual debugging as there are so many log entries produced that my session is dropping lines making this incomplete to analyze.

Same issue here. @kauthmbt description and workaround are spot on.

Please work this out with @bropat and I will release a new version of add-on whenever it is resolved there.

+1

I discovered that 99% appears in the Eufy Security app as well, so it needs to be fixed on their end. I just added a conditional to the entity row.

I‘ve the same isseu. I‘ve fully charged the camera but the integration does not recognize it.

My battery status is also not updating, model T8210.
Eufy add on is updated to the latest version. Reloaded integration, Rebooted, restarted HA, no change. Battery level is stuck at 14%. Doorbell is currently just recharged and is at 100% charge level according to the Eufy app.

Also my T8210 battery remains 100% in HA, but 19% in Eufy App.
I do see wifi signal vary, so it does read information from the doorbell, but for some reason batterylevel is not reported correctly to HA.

Same issue for me on a T8210 - stuck on 100% in HA but updating correctly in the Eufy App.

Must be something different other than "my" stated problem above from February.
For me it is working now since the fixing from bropat...

Interestingly, I've been playing with this integration today (trying to get the video to play properly from the T8210).  Previously all of the other sensors appeared to be working fine and I was using person detection and doorbell presses in automations.  I eventually found that I was missing ffmpeg: from my configuration.yaml and that was causing my video issues.  After adding this, the battery status is now showing correctly.  Time will tell if it continues to update.

I eventually found that I was missing ffmpeg: from my configuration.yaml and that was causing my video issues.

Is ffmpeg a must for this integration?

Interestingly, I've been playing with this integration today (trying to get the video to play properly from the T8210). Previously all of the other sensors appeared to be working fine and I was using person detection and doorbell presses in automations. I eventually found that I was missing ffmpeg: from my configuration.yaml and that was causing my video issues. After adding this, the battery status is now showing correctly. Time will tell if it continues to update.

@yavinmaster , can you share some details about this, so I (and others with the battery reporting issue) may be able to get this working ?

I've taken another look at this today and the battery monitor isn't working correctly but something is happening.  So after I was playing around two weeks ago to get video to work, the battery value updated.  Looking at again, it then didn't update again until yesterday.
I've tried making various service calls to see if I can find out what is triggering the update but nothing appears to work.  I'll continue to try to see if I can find what prompts the update.

Same problem (for a while)
Model: Eufy wifi doorbell chime
What I noticed when I restart Home Assistant nothing happens (does not update).
But when I completely restart the VM (running proxmox) it does update. I recently migrated from a RPI installation to Proxmox and even on the RPI I experienced the same behavior (restarting HA does not update / completely restart the RPI it does update).
Perhaps this is some extra info which could be relevant. Happy to provide logs or assistant providing info if needed.

I am having the same issue.
Out of curiosity, I've installed iobroker and the bropay eufy integration in there, and that is reporting the battery percentages just fine.

bropay eufy integration

Might give it a go as well. But these names are confusing lol

same for me. T8210 battery is not updating.

while I am also impacted, some of you need to spend some time with @bropat to investigate this. I am very short on bandwidth. I will release a new version if it is fixed


Make 'ordering' property a required field in Take Part pages

Depends on https://github.com/alphagov/whitehall/pull/5856
It should be safe to make this a required attribute, as it is
enforced on save in Whitehall:
https://github.com/alphagov/whitehall/blob/master/app/models/take_part_page.rb#L7
Trello: https://trello.com/c/aAW8oqCk/2174-5add-ordering-to-take-part-pages-in-schema

(Force pushed a rebase against master).

Hmmm, making ordering required makes this Whitehall importer test in Content Publisher fail. Not sure what's going on yet - there is no instance of 'take_part' in Content Publisher, and I've tried adding ordering { 1 } to all of the whitehall import factories and that doesn't fix it either.
It could be that, as hinted by the Trello card, it may not be possible to make this a 'required' field. But it seems a shame for it to fail on an import script in a currently-on-hold publishing app.

Given the other priorities in this sprint and the lack of developers available, I'm inclined to close this. Hopefully @Tetrino might be able to shed more light on this at some point.


View for Show Room should have a 'Go Back' button

When showing a Room's information, current view only gives the user options to 'Edit' and it should have a 'Go Back' button to go back to the Room Index.
Such button should flash a message to the user indicating the redirection.

This is how the view looks at the moment. I will work in this issue myself.

This issue has been resolved by PR #11.


[ROCKETMQ-134]the offset of message filter by tags may be not commit to broker

when different string has a same hash code.the message commit offset of filtered message may be not commit to broker.
for example:
1.consumer pull message from broker, broker return status FOUND and messages filter by tags hash code
2.consumer client get the messages and than processPullResult will filter message by tags.
3.PullCallback may get a pullResult which status is FOUND but messageList is empty.(filter by tags)
but only NO_MATCHED_MSG and NO_NEW_MSG will correctTagsOffset
we can't commit the right with status of FOUND(for messageList is empty).
Is that so?

You are right , but this is actually not a very big problem since though the offset this round is not committed, the pull request for next round is still continue so next time the offset will still committed.
If the consumer crashes at that moment, an unnecessary pull request will be submitted, which is the what the problem actually is , but it is very minor.
Please firstly relate the JIRA in your descriptions.
For this PR, I don't suggest doing correctTags when pull list is empty because it is always empty as long as there is no message.
If this issue should be solved, I suggest modify the pull result to NO_MATCHED when pulling some message but filter by client by tag in method processPullResult
        //filter by client again and no messages left
        if(msgListFilterAgain.isEmpty() && !msgList.isEmpty()) {
            pullResultExt.setPullStatus(PullStatus.NO_MATCHED_MSG);
        }

@Jaskey
I found pullStatus is final, and I don't want to redefine it, so I judge the msgList size.
may be change the value of pullStatus will be better.
As you say, the problem occurred when your consumer client get messages every pull request, and the message can be filter by tag.
The probability is very low.If everyone think it doesn't matter,I will close this PR.
But I think have a check is better.

Changes Unknown when pulling a4e22b6d8008ab0402b9e1909ef4c8061b8e9908 on StyleTang:message-tags into ** on apache:master**.

Changes Unknown when pulling a4e22b6d8008ab0402b9e1909ef4c8061b8e9908 on StyleTang:message-tags into ** on apache:master**.

@vsair Please help check this PR.

Hi, @StyleTang  I think the broker should keep the logic that status FOUND indicate there are messages in pull result. Do you have some tests show the wrong logic?

@vsair IMO, this situation will appear when the hash collision happened.
The broker respond the status FOUND means some messages in pull result, but these messages may be filtered by the client.

I will close the pr, if you happened to the same question, please let me know.


Is is not possible to delete a meeting series anymore

In our current develop version clicking on the delete button inside the meeting series editor does nothing but closing the editor.
Instead it should close the editor and open a confirmation dialog showing which should be confirmed to proceed. It looks like we have a bug which hampers opening the dialog.

It turns out that deferring opening the confirmation dialog by at leas 0ms solves this issue.


Investigate password management solutions

Investigate password management solutions that comply with MSU policies.

MSU IT does not have any solutions available for us. So we're going to have to figure out what we want to do and put it through the purchasing/IT readiness process...

Another solution to investigate: https://itsfoss.com/padloc/

Suggested we use Bitwarden Enterprise. IT readiness form already filed by Bonnie.
Advantages: SSO with Okta, self-hosting and complimentary family plan for each user.

https://bitwarden.com/pricing/business/

Closing this ticket since the investigation part is over.


Does the  balance-snapshot example work?

When I try to build the wasm file for balance.snap-server.hpp, I first have to change the file name to balance.snap-server.cpp as it will tell me that hpp.o: The file was not recognized as a valid object file
the second thing if I change it to a .cpp file I get the error that the struct action is already defined in ..contracts/eosio/action.hpp and redefined in history-tools/libraries/eosiolib/wasmql/eosio/database.hpp
also after I build the history-tools, I can't find where I can execute wasm-ql-pg (no file like this exists)
all the errors I get when I try to build the example:
`/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../contracts/eosio/action.hpp:255:11: error: redefinition of 'action'
struct action {
^
/root/history-tools/libraries/eosiolib/wasmql/eosio/database.hpp:121:8: note: previous definition is here
struct action {
^
In file included from /root/history-tools/balance-example/balance.snap-server.cpp:4:
In file included from /usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:7:
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../contracts/eosio/action.hpp:536:51: error: no member named 'send' in 'eosio::action'
action( perms, code, act, std::move(args) ).send();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/root/history-tools/balance-example/balance.snap-server.cpp:25:32: error: no viable conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name'
.scope       = "eosio"_n.value,
^~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name &&' for 1st argument
/root/history-tools/balance-example/balance.snap-server.cpp:32:32: error: no viable conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name'
.scope       = "eosio"_n.value,
^~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name &&' for 1st argument
/root/history-tools/balance-example/balance.snap-server.cpp:65:32: error: no viable conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name'
.scope       = req.first_account.value,
^~~~~~~~~~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name &&' for 1st argument
/root/history-tools/balance-example/balance.snap-server.cpp:72:32: error: no viable conversion from 'unsigned long long' to 'eosio::name'
.scope       = 0xffff'ffff'ffff'ffff,
^~~~~~~~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'unsigned long long' to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'unsigned long long' to 'eosio::name &&' for 1st argument
/root/history-tools/balance-example/balance.snap-server.cpp:100:32: error: no viable conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name'
.scope       = "eosio"_n.value,
^~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name &&' for 1st argument
/root/history-tools/balance-example/balance.snap-server.cpp:107:32: error: no viable conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name'
.scope       = "eosio"_n.value,
^~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name &&' for 1st argument
/root/history-tools/balance-example/balance.snap-server.cpp:136:32: error: no viable conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name'
.scope       = req.first_account.value,
^~~~~~~~~~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'eosio::name &&' for 1st argument
/root/history-tools/balance-example/balance.snap-server.cpp:143:32: error: no viable conversion from 'unsigned long long' to 'eosio::name'
.scope       = 0xffff'ffff'ffff'ffff,
^~~~~~~~~~~~~~~~~~~~~
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'unsigned long long' to 'const eosio::name &' for 1st argument
struct name {
^
/usr/opt/eosio.cdt/1.6.2/bin/../include/eosiolib/contracts/eosio/../../core/eosio/name.hpp:35:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'unsigned long long' to 'eosio::name &&' for 1st argument
10 errors generated.
`

It looks like I forgot to include the .cpp files in the documentation. They probably no longer exist.

can be closed, although the balance-snapshot example still does not work, I wrote one myself with this code and the token code as an example.
wasm-ql-pg could be build by just uncommenting one or to line in the CMakeList.txt, and can be used although, I believe one shouldn't use it anymore, but it did/will do the job for me.


notifier: Allow swapping out HTTP Doer

We need to be able to modify the HTTP POST in Weave Cortex to add
multitenancy information to a notification. Since we only really need a
special header in the end, the other option would be to just allow
passing in headers to the notifier. But swapping out the whole Doer is
more general and allows others to swap out the network-talky bits of the
notifier for their own use. Doing this via contexts here wouldn't work
well, due to the decoupled flow of data in the notifier.
There was no existing interface containing the ctxhttp.Post() or
ctxhttp.Do() methods, so I settled on just using Do() as a swappable
function directly (and with a more minimal signature than Post).

@fabxc Saw you are listed as the maintainer of this bit now ;)

👍


Lyre issue in connecting with native client

I had cloned lyre console test app and ran in in my system  installed lyre package from
Get it on NuGet: PM> Install-Package Lyre
Build the c# app and add the reg keys in registry
When i ran upload the extension to chrome and try to execute it these two errors are blocking me

Please help.....

hey @Su-s
First you need to make sure your registry key points to the right location for your nativeMessagingManifest.json.

Next you need to find the ID of your Chrome extension (go to Extensions in Chrome and find the ID: value).

You need to modify your nativeMessagingManifest.json file to have the correct ID under the allowed_origins.
{
  "name": "com.my.cool.messaging.host",
  "description": "Lyre Console Test",
  "path": "C:\\git\\Lyre\\src\\Lyre.ConsoleTest\\bin\\Debug\\netcoreapp2.0\\win7-x64\\Lyre.ConsoleTest.exe",
  "type": "stdio",
  "allowed_origins": [
    "chrome-extension://ghbmnnjooekpmoecnnnilnnbdlolhkhi/"
  ]
}

Make sure the path in your manifest file also corresponds with the path to your executable:
eg. something like "path": "C:\\my-project\\bin\\debug\\my-project.exe"
Please note that the name in the manifest must match the name in the registry entry, as well as the name used in your Chrome extension.
For example if you named your Native Messaging Host com.my.cool.messaging.host then you must:

use that name as the registry key
use the name as the "name" field in the manifest file
use the name in the background.js file in your extension (the hostName that is passed to the chrome.runtime.connectNative method)

All the pieces have to come together.
Please note all of those requirements are specific to Chrome Native Messaging (not Lyre), so if you need help you can refer to the documentation for Chrome Native Messaging.
Let me know how you go!

Hi
this is the registry value for json file, checked the location correct location is set.

also had given the id for chrome extension, in the manifest file below

{
  "name": "native_messaging_app",
  "description": "Lyre Console Test",
  "path": "H:\\Sample Projects\\chromeextension\\lyreChrome\\native_messaging_app\\native_messaging_app\\obj\\Debug\\netcoreapp3.1\\native_messaging_app.exe",
  "type": "stdio",
  "allowed_origins": ["chrome-extension://dllfmgicbkledhnakiobgbnfnockfkoc/"]
}

verified the location of the exe file
background.js file host name
var hostName = "native_messaging_app";
verified all these three names all the three are same.

use that name as the registry key
use the name as the "name" field in the manifest file
use the name in the background.js file in your extension (the hostName that is passed to the chrome.runtime.connectNative method)

When you update the registry you have to shut chrome down completely and open it up again.
 It may be running in the background still.

This path doesn't look right, I don't think you'd want to be running the exe from the obj folder, instead use the bin folder:
H:\\Sample Projects\\chromeextension\\lyreChrome\\native_messaging_app\\native_messaging_app\\bin\\Debug\\netcoreapp3.1\\native_messaging_app.exe
Also if Chrome is installed for all users the registry location is HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\
If it's not installed for all users the location is
HKEY_CURRENT_USER\SOFTWARE\Google\Chrome\NativeMessagingHosts\
So make sure you're using the right registry location.
If that still doesn't work then try running chrome.exe --enable-logging so that it enables logging and you can see any errors in the log file.
According to Google's documentation these are the potential reasons for getting that error:

Specified native messaging host not found.
Is the name spelled correctly in the extension and in the manifest file?
Is the manifest put in the right directory and with the correct name? See native messaging host location for the expected formats.
Is the manifest file in the correct format? In particular, is the JSON syntax correct and do the values match the definition of a native messaging host manifest?
Does the file specified in path exist? On Windows, paths may be relative, but on OS X and Linux, the paths must be absolute.

Thankyou @alexwiese
it got worked

is it possible to communicate between native app and chrome extension using lyre

What do you mean by native app? do you mean C or C++?

What do you mean by native app? do you mean C or C++?

meant native app is the host app for chrome extension is in c#

yeah that's what the example is doing. It's a C# program talking to a Chrome extension

thankyou @alexwiese


File /images/icons/JETTY.png does not exists

File /images/icons/JETTY.png does not exists.

Good catch! We've also got /images/servermap/JETTY.png missing :)

Merged and done, thanks again!


fix: [Docs] Link not working

The Basics

[x] I have validated my changes.

The Details
Link navigating to Meshery UI docs is working in Contributing to Meshery UI - Notification Center page and leads to the desired page on clicking.
Resolves
#11349

🚀 Preview for commit 58725e3d750894d6d37138c3ab739605626915a3 at: https://66a01b2ebc242f439a24eb4f--meshery-docs-preview.netlify.app

Thank you @Shreshthaaa
Let's discuss this on the Meshery dev meeting. Add it as an agenda item to the meeting minutes., if you would :)

Thank you @Shreshthaaa Let's discuss this on the Meshery dev meeting. Add it as an agenda item to the meeting minutes., if you would :)

Did the needful, looking forward to attend the meeting.

Thank you for reviewing, @Muhammed-Moinuddin 👍
Thanks for this fix, @Shreshthaaa 😄


Is it possible to add phi-2?

Very keen to test against Phi-2. Is support expected to be added soon?

Hi, promptbench now supports phi-2! Please clone the latest repository and use model = pb.LLMModel(model='phi-2', max_new_tokens=10, temperature=0.001) to load phi-2 model. Please do not hesitate to inform us for any potential bugs.

Thanks @Immortalise ! That was quick. I've got Phi-2 imported now, but PromptBench seems to assume CUDA, although Phi-2 can support CPU-only deployments of Torch (this is how I'm running it). So I get this error where CUDA seems to be hard-coded into models.py:
Traceback (most recent call last):
File "", line 8, in
File "C:\src\promptbench-main\promptbench\models_init_.py", line 155, in call
return self.infer_model.predict(input_text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\src\promptbench-main\promptbench\models\models.py", line 74, in predict
input_ids = self.tokenizer(input_text, return_tensors="pt").input_ids.to("cuda")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "%USERPROFILE%\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\torch\cuda_init_.py", line 289, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

Hi, promptbench now supports loading it using CPU! Please clone the latest repository and following the examples/basic.ipynb to try it.

Thanks! That seems to be working now. I did try this first, but I put torch.float32 in single quotes and that seemed to cause the same problem I mentioned above.
ValueError: torch_dtype can be either torch.dtype or "auto", but received torch.float32
It seems I tried all variants except removing the quotes. Thanks again for your help.


Create docker-image.yml

Adding a GitHub action to automatically build the osml-model-runner package into a released container.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I need to first update osml-imagery-toolkit repository to publish to PyPi - then update osml-model-runner to pull it from pip so that the docker builds will work out of the box.


Can't access cloud flare not working

I can not access app cloudflare is not processing
Your issue may already be reported!
Please search on the issue tracker before creating one.
Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Version used:
Operating System version:

NHentai link (if relevant):

You meant this ?

It worked thank you


Android issue: null is not an object (evaluating 'this.nativeRum.startView')

Describe what happened
Include any error message or stack trace if available.
Everything works on iOS, and data comes through to my DataDog dashboard.  When attempting to run on Android emulators I receive this error after the app successfully installs and opens: null is not an object (evaluating 'this.nativeRum.startView').  It points to the file foundation.tsx and line 50.
I also tried clearing all caches multiple times.
Here is the stack trace:

Steps to reproduce the issue:

tested with a Pixel 4 emulator with API 28 (Android 9.0), and a Galaxy S20 Ultra emulator with API 30 (Android 11.0)

Describe what you expected:
Additional context
- Version of the SDK
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- A copy of your package.json file:
- Note: I have ejected from expo
{
  "name": "",
  "scripts": {},
  "dependencies": {
    "@datadog/mobile-react-native": "^1.0.0-rc4",
    "@datadog/mobile-react-navigation": "^1.0.0-rc4",
    "@expo/vector-icons": "^12.0.0",
    "@ptomasroos/react-native-multi-slider": "^2.2.2",
    "@react-native-async-storage/async-storage": "^1.13.2",
    "@react-native-community/cli-platform-ios": "^4.13.0",
    "@react-native-community/cookies": "^5.0.1",
    "@react-native-community/masked-view": "^0.1.6",
    "@react-navigation/bottom-tabs": "^6.0.9",
    "@react-navigation/native": "^6.0.6",
    "@react-navigation/stack": "^6.0.11",
    "@unimodules/core": "~6.0.0",
    "@unimodules/react-native-adapter": "~5.7.0",
    "bcrypt": "^3.0.6",
    "blinkid-react-native": "^5.8.1",
    "expo": "^40.0.0",
    "expo-asset": "~8.2.1",
    "expo-constants": "~9.3.3",
    "expo-facebook": "~9.1.0",
    "expo-file-system": "~9.3.0",
    "expo-font": "~8.4.0",
    "expo-linear-gradient": "~8.4.0",
    "install": "^0.13.0",
    "lodash": "^4.17.15",
    "npm": "^8.3.0",
    "payment-icons": "^1.2.1",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "0.63.4",
    "react-native-code-push": "^6.2.1",
    "react-native-datepicker": "^1.7.2",
    "react-native-dotenv": "^2.5.1",
    "react-native-elements": "^1.2.7",
    "react-native-firebase": "^5.6.0",
    "react-native-gesture-handler": "~1.8.0",
    "react-native-google-places-autocomplete": "^2.1.2",
    "react-native-indicators": "^0.17.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-onesignal": "^4.0.1",
    "react-native-picker-select": "^6.5.0",
    "react-native-reanimated": "^1.7.0",
    "react-native-rn-apple-pay-button": "github:brascene/rn-apple-pay-button",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^3.10.1",
    "react-native-sectioned-multi-select": "^0.8.1",
    "react-native-unimodules": "~0.12.0",
    "react-native-vector-icons": "^6.6.0",
    "react-native-video": "^5.0.0",
    "react-native-web": "~0.13.12",
    "react-redux": "^7.1.0",
    "redux": "^4.0.4",
    "redux-thunk": "^2.3.0",
    "tipsi-stripe": "^9.1.1"
  },
  "devDependencies": {
    "@babel/core": "~7.9.0",
    "@babel/runtime": "^7.8.4",
    "@types/react": "~16.9.35",
    "@types/react-native": "~0.63.2",
    "babel-jest": "~24.9.0",
    "babel-preset-expo": "8.3.0",
    "jest": "~24.9.0",
    "jetifier": "~1.6.4",
    "metro-react-native-babel-preset": "^0.59.0",
    "react-test-renderer": "~16.13.1",
    "typescript": "^4.5.4"
  },
  "private": true
}

Any help is appreciated!

Hello @john-harding! Thanks for opening this issue.
By looking on the error it seems that native Android modules are not loaded. I would suggest doing the following:

Delete node_modules folder and do clean install
Delete Gradle build cache folder and do clean install (you can simply manually delete android/app/build folder)
Check that Android native modules are recognized by the RN tooling by running by running npx react-native config from the root of your app. It should be an entry there like that:

    "@datadog/mobile-react-native": {
      "root": ".....",
      "name": "@datadog/mobile-react-native",
      "platforms": {
        "ios": {
          "sourceDir": "....",
          "folder": "....",
          "pbxprojPath": "....",
          "podfile": null,
          "podspecPath": "....",
          "projectPath": "....",
          "projectName": "DdSdkReactNative.xcodeproj",
          "libraryFolder": "Libraries",
          "sharedLibraries": [],
          "plist": [],
          "scriptPhases": [],
          "configurations": []
        },
        "android": {
          "sourceDir": "....",
          "folder": ".....",
          "packageImportPath": "import com.datadog.reactnative.DdSdkReactNativePackage;",
          "packageInstance": "new DdSdkReactNativePackage()",
          "buildTypes": []
        }
      },
      "assets": [],
      "hooks": {},
      "params": []
    }

You should have some values in the android node group.

DdSdkReactNative.initialize returns a Promise. Do you see any error once Promise is resolved?
Are you able to send logs with DdLogs and see then in the Logs section of our dashboard?

Thanks @0xnm.  Your mention of DdSdkReactNative.initialize made me realize that DdRumReactNavigationTracking.startTrackingViews() may have been running before the initialize had completed.  Waiting for that promise to finish fixed the issue.  I'm surprised I had no issues with iOS.

@0xnm so actually I'm still having issues.  DdSdkReactNative.initialize(config) is returning null is not an object (evaluating '_foundation.DdSdk.initialize').
I tried all of the other items you listed as well.  Do you have any other ideas?

@john-harding Do you see a package declared in the @datadog/mobile-react-native > platforms > android > packageInstance when you run npx react-native config? At what point do you call initialize?
Also you can check the setup in our sample app for the reference.

@0xnm yep I see "packageInstance": "new DdSdkReactNativePackage()".  I call initialize in the constructor of the class that holds the entire app.  I wouldn't think that's the issue though, as it works in iOS and responds as though the native module isn't there at all.

@john-harding Can you please show the initialization logic? Do you see any relevant warnings during the build or at the runtime?

I face the same problem: error [TypeError: null is not an object (evaluating '_$$_REQUIRE(_dependencyMap[5], "./foundation").DdSdk.initialize')]
The initialization is exactly the same as the sample on dd console:
import {
  DdSdkReactNative,
  DdSdkReactNativeConfiguration,
} from '@datadog/mobile-react-native';

const config = new DdSdkReactNativeConfiguration(
  'something',
  'DEBUG',
  'something',
  true, // track User interactions (e.g.: Tap on buttons. You can use 'accessibilityLabel' element property to give tap action the name, otherwise element type will be reported)
  true, // track XHR Resources
  true, // track Errors
);
// Optional: Select your Datadog website (one of "US", "EU" or "GOV")
config.site = 'US';
// Optional: enable or disable native crash reports
config.nativeCrashReportEnabled = true;
// Optional: sample RUM sessions (here, 80% of session will be sent to Datadog. Default = 100%)
config.sampleRate = 80;

DdSdkReactNative.initialize(config)
  .then(() => {
    console.log('works');
  })
  .catch(err => {
    console.log('error', err);
  });

Hello @secure12! Can you please check the steps described here https://github.com/DataDog/dd-sdk-reactnative/issues/137#issuecomment-1004660281? In your case is _$$_REQUIRE(_dependencyMap[5], "./foundation") equal to null or _$$_REQUIRE(_dependencyMap[5], "./foundation").DdSdk?

In my case
 ERROR  [TypeError: null is not an object (evaluating '_$$_REQUIRE(_dependencyMap[5], "./foundation").DdSdk.initialize')]

This is still an issue for me. The initialization fails because DdSdkReactNative is undefined, only happens on Android.

Hello @cavaalex and @GiladR1979! Can you please post your package.json and try the steps described in the following comment.
If you also can share a reproducible example, it would be great (we also have a sample app to check).

I am sorry @0xnm
We had to disable datadog on our next android build.
I had tried to comment you mentioned. No success.
Our dependencies are the following:
{
 "dependencies": {
    "@babel/polyfill": "^7.2.5",
    "@babel/preset-flow": "^7.13.13",
    "@bugsnag/react-native": "^7.3.0",
    "@datadog/mobile-react-native": "^1.0.0-rc4",
    "@hookform/resolvers": "^2.8.8",
    "@react-native-async-storage/async-storage": "^1.15.5",
    "@react-native-community/art": "^1.2.0",
    "@react-native-community/geolocation": "^2.0.2",
    "@react-native-community/masked-view": "^0.1.11",
    "@react-native-firebase/analytics": "^11.5.0",
    "@react-native-firebase/app": "^11.5.0",
    "@react-native-firebase/messaging": "^11.5.0",
    "@react-native-picker/picker": "^1.16.8",
    "buffer": "5.2.1",
    "color": "^3.1.0",
    "compare-versions": "^3.6.0",
    "fast-memoize": "^2.5.1",
    "formik": "^1.3.1",
    "hermes-engine": "^0.7.2",
    "jwt-decode": "^2.2.0",
    "libphonenumber-js": "^1.7.8",
    "lodash": "^4.17.21",
    "moment": "^2.24.0",
    "moment-timezone": "^0.5.23",
    "node-polyglot": "^2.3.0",
    "phoenix-socket": "^1.2.3",
    "promise-timeout": "^1.3.0",
    "react": "17.0.1",
    "react-native": "0.64.1",
    "react-native-adjust": "^4.29.5",
    "react-native-appboy-sdk": "^1.28.0",
    "react-native-barcode-builder": "^2.0.0",
    "react-native-device-info": "^8.1.3",
    "react-native-exception-handler": "^2.10.10",
    "react-native-fs": "^2.18.0",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-get-random-values": "^1.7.0",
    "react-native-haptic-feedback": "^1.11.0",
    "react-native-maps": "^0.28.0",
    "react-native-permissions": "^3.0.3",
    "react-native-rate": "^1.2.6",
    "react-native-restart": "^0.0.22",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^2.15.2",
    "react-native-splash-screen": "^3.2.0",
    "react-native-svg": "^12.1.1",
    "react-native-tracking-transparency": "^0.1.1",
    "react-native-video": "^5.1.1",
    "react-navigation": "^4.4.4",
    "react-navigation-stack": "^2.10.4",
    "react-redux": "^7.2.4",
    "redux": "^4.1.0",
    "redux-saga": "^1.1.3",
    "reselect": "^4.0.0",
    "route-parser": "^0.0.5",
    "tipsi-stripe": "^9.0.0",
    "url-search-params-polyfill": "^5.0.0",
    "uuid": "^8.3.2",
    "whatwg-url": "7.0.0",
    "yup": "^0.32.9"
  }
}

Till facing this below issue in android
[TypeError: null is not an object (evaluating '_$$_REQUIRE(_dependencyMap[7], "./foundation").DdSdk.initialize')]
"@datadog/mobile-react-native": "^1.0.0-rc5",
"@datadog/mobile-react-navigation": "^1.0.0-rc5",

After adding mannuelly below import in MainApplication.java this issue got resolved
 import com.datadog.reactnative.DdSdkReactNativePackage;
protected List<ReactPackage> getPackages() {
                    return Arrays.<ReactPackage>asList(
                    ....
                    new DdSdkReactNativePackage()
                    .....
                    )
                    }

example/android/app/src/main/java/com/example/ddsdkreactnative/MainApplication.java
Now working fine for me

Thanks @govarthananve, It solved my crash!.

Hello @govarthananve! This is a very useful information. Can you please tell which version of React Native you are using and if you are using Expo - its version as well. This will help us to understand better why native modules are not loaded.

Hello @govarthananve! This is a very useful information. Can you please tell which version of React Native you are using and if you are using Expo - its version as well. This will help us to understand better why native modules are not loaded.

React native : 0.64.2

Hello @govarthananve! This is a very useful information. Can you please tell which version of React Native you are using and if you are using Expo - its version as well. This will help us to understand better why native modules are not loaded.

For me- react-native 0.63.3, no Expo.

Hi everyone,
To add to @govarthananve's answer, if you get an error like:
error: package com.datadog.reactnative does not exist

when trying to add import com.datadog.reactnative.DdSdkReactNativePackage;, you may need to run yarn react-native link @datadog/mobile-react-native to link the package properly.

@louiszawadzki My project has auto linking disabled on Android as we have a pretty complicated/custom implementation. Do you have any documentation on how to manually link in on Android? For us, this usually means pointing at a .jar, or pointing to an .aar hosted on some repository, as we can't include locally built .aars. I'm getting this error because of the native Android files not being pulled into the project. Do you have a hosted .jar or .aar somewhere?

Hi, have the same error
 ERROR  [TypeError: null is not an object (evaluating '_$$_REQUIRE(_dependencyMap[5], "./foundation").DdSdk.initialize')]
"@datadog/mobile-react-native": "^1.3.0",
"react-native": "0.70.4",
 compileSdkVersion = 31

I've done @govarthananve solution, I've also tried to follow @0xnm and this is my npx react-native config:
 ` "@datadog/mobile-react-native": {
  "root": "...",
  "name": "@datadog/mobile-react-native",
  "platforms": {
    "ios": {
      ...},
    "android": {
      "sourceDir": "...",
      "packageImportPath": "import com.datadog.reactnative.DdSdkReactNativePackage;",
      "packageInstance": "new DdSdkReactNativePackage()",
      "buildTypes": [],
      "componentDescriptors": [],
      "androidMkPath": "...",
      "cmakeListsPath": "..."
    }
  }
},

I call the initialize as i load the app
 const datadogConfig = new DdSdkReactNativeConfiguration(
      'my-code',
      'test',
      'my-code',
      true, // track User interactions (e.g.: Tap on buttons. You can use 'accessibilityLabel' element property to give tap action the name, otherwise element type will be reported)
      !__DEV__, // track XHR Resources
      !__DEV__ // track Errors
    )
    // Optional: Select your Datadog website (one of "US", "EU" or "GOV")
    datadogConfig.site = 'EU'
    // Optional: enable or disable native crash reports
    datadogConfig.nativeCrashReportEnabled = true
    // Optional: sample RUM sessions (here, 80% of session will be sent to Datadog. Default = 100%)
    datadogConfig.sessionSamplingRate = 100

try {
  await DdSdkReactNative.initialize(datadogConfig)
} catch (error) {
  console.warn('Error initializing Datadog SDK: ', error)
}

Hi @chiaraturbati, thanks for reaching out!
This is unfortunately a long standing issue that we have a hard time reproducing.
I found this issue on the React Native repo suggesting to turn on the Debug mode for your app (which should open a Google Chrome tab) as a fix.
Could you try it and see if it works?
If this does not fix the issue, you can run npx rn-game-over -j -a to clear all the javascript and android caches and see if it works.

Hi @chiaraturbati, thanks for reaching out!
This is unfortunately a long standing issue that we have a hard time reproducing. I found this issue on the React Native repo suggesting to turn on the Debug mode for your app (which should open a Google Chrome tab) as a fix.
Could you try it and see if it works?
If this does not fix the issue, you can run npx rn-game-over -j -a to clear all the javascript and android caches and see if it works.

@louiszawadzki it works! you fixed my problem <3 thanks!


Missing unit tests

During my daily work, I found very useful to have such an extensive collection of the state of the art BKKCrypt algorithm, however I cannot be sure that they are working properly, since most of the samples are missing unit tests.
Please in the future only accept pull requests with proper tests, and indicate this in the contribution guide.

Levend, I completely agree. I will open tasks for each language, and add wording about including unit tests with future contributions.

Dear Levend, I added information about the necessity of the unit tests, and created separate issues for each language. Now it's time for the community to pick these issues up.

We should have a guide on how unit tests must look like, or at least an example.
The guide/example has to answer the following:

What should be the structure? One main Tests folder or one sub-folder under each language?
Test automation?

Makefiles, or other build systems?
One test script to build all?
Or maybe, just manual invocation?

What should the tests include?
Style?
Test frameworks?
Language? (some languages can be tested from others)
Etc...


Runtime

I'm recreating the pull request because I assume that the reset deleted the previous one

Your problem is that you are working in a version that is behind the current master branch. You have to do git pull before starting adding new code and creating a new branch.
Right now you are also commiting things that are already in the repository.

You used git reset on a pull requst that was too far behind. The most recent one that you have to build upon is 3ee2e7dc944dbaf2c7c7d20cdae13fbfe55dbe5a

Are all your changes working and final? if so i'll do some git magic.

You told me to take the last pull request that was the #48. By the way I added all my code so now should be equal to my last version with the xgboost in the core/folder. Now I solve the last errors and should be fine

Sorry i just used the version number and assumed #48 was the most recent. But the latest commit to master was actually https://github.com/nirdizati-research/predict-python/commit/3ee2e7dc944dbaf2c7c7d20cdae13fbfe55dbe5a

Ah ok, sorry for that. By the way I think I could say this is a final
version for the tomorrow call, after that i will add semaphore for database
accesses from different threads. Do all the magic you want
Il giorno mer 13 giu 2018 alle ore 14:17 Tõnis Kasekamp <
<EMAIL_ADDRESS>ha scritto:

Sorry i just used the version number and assumed #48
https://github.com/nirdizati-research/predict-python/pull/48 was the
most recent. But the latest commit to master was actually 3ee2e7d
https://github.com/nirdizati-research/predict-python/commit/3ee2e7dc944dbaf2c7c7d20cdae13fbfe55dbe5a
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nirdizati-research/predict-python/pull/50#issuecomment-396916880,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ac_vfzwDxu2WTBK_MKUdQNXYFanYAAWXks5t8QLNgaJpZM4UmEUD
.

Nope this is all.
Semaphores are a bit big. Are you really sure you need them? And not just fixing a thing that might need a bigger re-design?

Ok. For semaphores I don't know, we will talk tomorrow about that
Il Mer 13 Giu 2018, 15:40 Tõnis Kasekamp<EMAIL_ADDRESS>ha
scritto:

Nope this is all.
Semaphores are a bit big. Are you really sure you need them? And not just
fixing a thing that might need a bigger re-design?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nirdizati-research/predict-python/pull/50#issuecomment-396941093,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ac_vfxR3tRmZPqMLHoZxbKOy-M8QvOhFks5t8RZjgaJpZM4UmEUD
.


Refactor vars to avoid test failures in storage/remote with -count > 1

Signed-off-by: Harkishen-Singh<EMAIL_ADDRESS>
Fixes: #7642

cc @roidelapluie @cstyan

Addressed the issues @cstyan.

And if that is really an issue, we should keep the vendors directories in our projects as it prevent users to have them in their cache.

@cstyan does that look satisfactory?

done @cstyan


[BugFix] Clear dcg cache for non primary key table when drop_tablet/tablet init(#42203)

Clear dcg cache for non primary key table when drop_tablet/tablet init. Make sure after clone/migration/disk disable will not get the inconsistent read for dcg cache
Fixes #42203
What type of PR is this:

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

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] 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:

[x] 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

[ ] This is a backport pr

Bugfix cherry-pick branch check:

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

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

How about primary key table?

How about primary key table?

primary key table has been remove dcg both in drop tablet and tablet init. We just do the same thing for non primary key again.

How about primary key table?

primary key table will remove dcg cache both in drop tablet and tablet init. We just need to do the same thing for non primary table


Cannot find table rule and default data source with logic tables

Please, when only databases need to shard and tables need not to shard, how can I omit the following configuration,
such as: spring.shardingsphere.sharding.tables.tb_order.actual-data-nodes=
If it has to be configured, if there are hundreds of tables, does it need to be configured hundreds of times?

Configuration is a one-time job, and if needn't shard, you can config nothing for them as default tables.

if i config nothing,  when i query ,  the system will report an error：Cannot find table rule and default data source with logic table: 'tb_order'

You may try for inline expression, for example: $tb_order{0...99}

You may try for inline expression, for example: tb_order_$->{0...99}

it's not what i want.  i just want to shard databases,  but if there are many tables,  do i have to config all of these tables for inline expression?

not at all, as default tables, no need to config.

Sorry, I can't understand it. The situation is like this. I need to shard databases at present, and I don't need to shard tables. Now there are many tables with the sharding-column, which can be divided to the database. I need to configure actual-data-nodes for all of these tables to query. If you don't configure them, an error will be reported.  Can you tell me how to simplify the configuration？

You can config nothing for tables.
Those non-sharding tables will be configured as default tables automically.

spring.shardingsphere.datasource.names=tenant-meituan,tenant-taobao,tenant-jd,tenant-common
spring.shardingsphere.datasource.tenant-meituan.type=com.alibaba.druid.pool.DruidDataSource
spring.shardingsphere.datasource.tenant-meituan.driver-class-name=com.mysql.jdbc.Driver
spring.shardingsphere.datasource.tenant-meituan.url=jdbc:mysql://localhost:3306/tenant_meituan
spring.shardingsphere.datasource.tenant-meituan.username=root
spring.shardingsphere.datasource.tenant-meituan.password=password
spring.shardingsphere.datasource.tenant-taobao.type=com.alibaba.druid.pool.DruidDataSource
spring.shardingsphere.datasource.tenant-taobao.driver-class-name=com.mysql.jdbc.Driver
spring.shardingsphere.datasource.tenant-taobao.url=jdbc:mysql://localhost:3306/tenant_taobao
spring.shardingsphere.datasource.tenant-taobao.username=root
spring.shardingsphere.datasource.tenant-taobao.password=password
spring.shardingsphere.datasource.tenant-jd.type=com.alibaba.druid.pool.DruidDataSource
spring.shardingsphere.datasource.tenant-jd.driver-class-name=com.mysql.jdbc.Driver
spring.shardingsphere.datasource.tenant-jd.url=jdbc:mysql://localhost:3306/tenant_jd
spring.shardingsphere.datasource.tenant-jd.username=root
spring.shardingsphere.datasource.tenant-jd.password=password
spring.shardingsphere.datasource.tenant-common.type=com.alibaba.druid.pool.DruidDataSource
spring.shardingsphere.datasource.tenant-common.driver-class-name=com.mysql.jdbc.Driver
spring.shardingsphere.datasource.tenant-common.url=jdbc:mysql://localhost:3306/tenant_common
spring.shardingsphere.datasource.tenant-common.username=root
spring.shardingsphere.datasource.tenant-common.password=password
spring.shardingsphere.sharding.default-data-source-name=tenant-common
hundreds of tables
spring.shardingsphere.sharding.tables.tb_order.actual-data-nodes=tenant-meituan.tb_order,tenant-taobao.tb_order,tenant-jd.tb_order
spring.shardingsphere.sharding.tables.tb_order_item.actual-data-nodes=tenant-meituan.tb_order_item,tenant-taobao.tb_order_item,tenant-jd.tb_order_item
spring.shardingsphere.sharding.tables.tb_user_info.actual-data-nodes=tenant-meituan.tb_user_info,tenant-taobao.tb_user_info,tenant-jd.tb_user_info
......
spring.shardingsphere.sharding.tables.tb_sys_dict.actual-data-nodes=tenant-meituan.tb_sys_dict,tenant-taobao.tb_sys_dict,tenant-jd.tb_sys_dict
spring.shardingsphere.sharding.default-database-strategy.standard.sharding-column=merchant
spring.shardingsphere.sharding.default-database-strategy.standard.precise-algorithm-class-name=com.bsi.shardingsphere.demo.algorithm.DbShardingAlgorithm
spring.shardingsphere.props.sql.show=true
Above are all my configurations， there's no problem, but the configuration is troublesome，because I need to config actual-data-nodes for hundreds of tables.   Is there any other solution?