Non-trivial example for testing

Following the request from #25, a new set of examples are provided which:

Constrains x0 and x1
x0 and x1 are correlated
x2 is upper bounded
x3 is unconstrained

This example more thoroughly visually tests the functionality of the code
Checklist:

[x] I have performed a self-review of my own code
[x] My code is PEP8 compliant (flake8 anesthetic tests)
[x] My code contains compliant docstrings (pydocstyle --convention=numpy anesthetic)
[x] New and existing unit tests pass locally with my changes (python -m pytest)
[x] I have added tests that prove my fix is effective or that my feature works

mcmc = MCMCSamples(root='./tests/example_data/gd')
mcmc.plot_2d(['x0', 'x1', 'x2', 'x3'])

Seems to produce the desired behaviour.

Although it's worth noting that it seems to be doing something a little funny for the x3 parameter of the nested sampling example:
ns = MCMCSamples(root='./tests/example_data/pc
ns.plot_2d(['x0', 'x1', 'x2', 'x3'])

')

A tophat might be another interesting special case when evaluating the performance of the KDE.

For the bounded Gaussian I would personally shift it further out such that we see what happens at the boundary even when the derivative at the boundary is non-zero. Especially relevant with the mirroring technique which enforces the derivative to be zero on the boundary.

Following #39 I have made the limits less trivial, in that there is now an extra 'slanted top-hat' parameter between 2 and 4, and the first two parameters are zero-centered. I also increased the number of live points to 125, which is the default recommendation for a 5D space
from anesthetic import NestedSamples
ns = NestedSamples(root='./tests/example_data/pc')
ns.plot_2d(['x0', 'x1', 'x2', 'x3', 'x4'])

This demonstrates the issues that need to be resolved

It does not resolve the [2,4] hard limits on x4 correctly
It has zero-gradient for x3, despite the fact that this is now an exponential distribution

OK, I've now added a script which allows one to check the analytical contours for this case

This demonstrates the border issues fairly clearly.


coverage: some safeguards to avoid clang silent failure.

clang isn't compatible with gcov (see #858). We plan to switch to lcov in the future (see #1000).
For now, just make sure we fail visibly and document.

@rlazarus @hennna

+1 that this solves my coverage failure problem

@junr03 Can I get approval for this? Thanks.


Sync the server config before assigning roles

This change allows for newly added roles to get activated.
Before, we would attempt to set the new roles before retrieving the updated config which would lead to us missing the role update.
https://bugzilla.redhat.com/show_bug.cgi?id=1335947
@Fryguy @jrafanie

@miq-bot add_label bug, core/workers

:+1: merge when green.

Awesome! 👍


class_reference_name_casing is confused by class with the same name

Bug report
Hi @SpacePossum, there is another bug with the class_reference_name_casing rule.
In the following automatic PR there is a false positive error from PHP CS Fixer
https://github.com/sonata-project/exporter/pull/572
Code snippet that reproduces the problem
<?php

use Sonata\Exporter\Writer\XmlWriter;

$services->set('sonata.exporter.writer.xml', XmlWriter::class);

The fixer is proposing to change to XMLWriter::class because of the native class https://www.php.net/manual/fr/book.xmlwriter.php

thanks for reporting, please see https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/6283

Thanks a lot @SpacePossum. Will a 3.6.1 version be planned ?


Fix handling of errors in example

The two limits should be used with AND (response.status >= 400 && response.status < 600) to get the correct range. With OR also 200 is an error.
But i think the upper limit can safely be removed, as if there is a status code >= 600 something is really wrong. And some special cases are already handled by fetch itself (see https://github.com/github/fetch/blob/master/fetch.js#L164)

oops.  yes.  thanks!


[Request-For-External] Codeunit 90 "Purch.-Post" - procedure PostUpdateCreditMemoLine

Hello, we need the following currently local procedure to be set to global. Can you please check this? Thank you!
[Request-For-External] Codeunit 90 "Purch.-Post" - procedure from local to global
local procedure PostUpdateCreditMemoLine()

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10221.


KAFKA-10589 replica verification tool changes for KIP-629

depends on #9400, ignore first commit
still needs backwards compatibility changes

Hi @xvrl, How it is going?

Hi @dongjinleekr, I believe @OmniaGM is taking care of this already, so I'll close this out.


Provide option to disable remote config

First of all, huge thanks to everyone who has helped work on this, document it, and protect so many people playing modded Minecraft.
Would it be possible to get an option that disables the remote config pulling, and only runs with a local config file?
For the security conscious, adding a reliance on a remote json file is quite worrying, especially if that is ever compromised and classes that shouldn't be patched start getting patched, etc. An option to disable this entirely and only run with a local config file would be hugely appreciated.

Hi, thank you for your feedback!
We already discussed that option internally a few days ago because I definitely understand that problem/usecase.
I will add a local config file that allows to disable the remote config completely as well as an option to specify a custom URL to fetch the remote config from in one of the next versions.
Does that meet your requirements or do you need something else as well?

Please try this out and let us know if it all working as you want it. https://github.com/dogboy21/serializationisbad/releases/tag/1.4

This appears to be working as expected - thank you so much for the quick implementation! ❤

Sounds good! Let us know if you have any other issues.


programmatic selection with clrDgSingleSelected not working

Describe the bug
As in title - [(clrDgSingleSelected)]="variable" on a clr-datagrid to programatically select a row is not working (eg. to select a row on page load).
There is no complete example on how that would exactly be done so it's possible but unlikely I've not been using it right (what type the variable in controller should be, maybe some annotations needed like @Input). Tried loads of things though. Exact same behavior for multi select clrDgSelected works fine - I'm able to set this bound variable in the controller and see the row/-s selected.
How to reproduce
Create a simple data grid with static data
controller ts file:
export class SomeComponent
...
selectedRows;
ngOnInit() {
this.items = [{id: '1', name: 'n1'}, {id: '2', name: 'n2'}];
this.selectedRow = [items[0]];
...
controller html file:
<clr-datagrid [(clrDgSingleSelected)]="selectedRow" [clDgRowSelection]="true">
<clr-dg-column [clrDgField]="'name'">Name
      <clr-dg-row *clrDgItems="let item of items" [clrDgItem]="item">
        <clr-dg-cell>{{item.name}}</clr-dg-cell>
         ....

(I've no time to create full plnkr or something else but basically any simple grid should work)
Expected behavior
Two way binding should work and UI should reflect the selection.
Versions
App

Angular: 6.1.3
Node: 6.1.0
Clarity: 0.12.4

Device:

Type: MacBook Pro retina 2016
Browser chrome

Additional notes
[(clrDgSelected)]="item.selected" binding as described in https://vmware.github.io/clarity/documentation/v0.11/datagrid/selection doesn't seem to work on single selection either

Looks like a duplicate of #2500, it was fixed in 0.12.9. Just upgrading to latest 0.12 should fix it. 👍


[Oracle CDC] Use primary key as chunk key

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
[Oracle CDC] Use primary key as chunk key
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Supported by pr https://github.com/ververica/flink-cdc-connectors/pull/2976 .


[eas-cli] Add link to SDK upgrade page for SDK-gated command error

Why
See https://github.com/expo/expo/pull/25146 for context. We want to link to that page to instruct people how to upgrade in order to get this feature. Note that it is still in alpha.
How
Add link.
Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

/changelog-entry chore Add link to SDK upgrade page for SDK-gated command error


Correlate Reminders Creation and Execution

Description
Correlate Actor Reminders creation and execution events.
With this change, reminder track would be stored at the time of reminder creation.
It is done so that traceState of creation time can be saved - it will be used so that this traceState can be linked to at the time of execution.
At the creation time, Last Fired Time will be time.Time{} i.e. 0001-01-01 00:00:00 +0000 UTC.
Last Fired Time will be updated when reminder is actually fired.
Issue reference

Please reference the issue this PR will close: #5230
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@DeepanshuA Do we know the perf impact of this change?

@DeepanshuA What was the status of this PR, were you planning to finish and get this merged?

@DeepanshuA mentioned not taking this PR forward. Going to close it out again


go/doc/comment: list inside comment that start and end with "/* */" does not formatted

Following #51082, I think there is a bug with list formatting when comment start and end with /*...*/ in the current tip branch, or maybe a missing exception in the proposal since the spec still allow comment start/end with /*...*/.
What version of Go are you using (go version)?
The latest tip from playground.
Does this issue reproduce with the latest release?
No, only tip.
What did you do?
See https://go.dev/play/p/WfIdp2WQphD?v=gotip
What did you expect to see?
The list on the comment section reformated, as below
/*
testCommentSlashStart method with header and list

# Header

Here is the list,

  - a
  - b
*/

What did you see instead?
/*
testCommentSlashStart method with header and list

# Header

Here is the list,

* a
* b
*/
func testCommentSlashStart() {}

@rsc

ping: this is a release blocker that hasn't been updated in a while.

According to the rules at https://github.com/golang/proposal/blob/master/design/51082-godocfmt.md, a list is only recognized as a series of indented lines.  In this example, the list items are not indented.  Closing because this is working as expected.  Please comment if you disagree.


[gen_l10n] Fallback feature for untranslated messages

Description
Uses the template ARB file's language for a message as a fallback for gen_l10n tool users. This creates a unimplemented_message_translations.txt file containing a list of messages that do not exist for particular locales. For example:
Locales with missing message translations:

Locale (es):
#1: subtitle

With subtitle being the resource ID for the locale that is missing a translation.
Related Issues
Addresses part of https://github.com/flutter/flutter/issues/51778
Tests
I added the following tests:

A unit test to ensure that the txt file is created and contains the locale's name, as well as the resource id for the missing translation.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

What did you think about embedding these warnings as console warnings? Either in the base class, or in the locale subclasses (to enable locale-specific errors). Something like "Message x has not been translated for locale Y. Using locale  instead". I'm just worried from a DX perspective about putting errors in a file that's sort of hidden

@guidezpl I thought about that, and my main concern is that with a ton of messages, the console warnings can be extremely verbose. Imagine having hundreds of untranslated messages and having 100s of lines of the console saying different messages do not exist.
However, it does seem like it might be valuable to maybe do a one-liner per locale? Something like "x messages for y locale have not been translated yet." And then at the end, maybe a pointer to the file like "See {fileName}.txt for the entire list of messages that require translations."

@shihaohong Fair point. I think that's a good idea. For the output file, it makes more sense to locate it in the top-level build directory to avoid being checked in.

Unless I'm mistaken, this PR introduces a fallback feature: if a translation doesn't exist, then we fallback to the template bundle. The PR's description should cover that.

Done.

I think we want to distinguish between unimplemented messages and messages that exist in the template arb file but are missing translations for some locales. For the former (per https://github.com/flutter/flutter/issues/51778#issuecomment-593538062) we want developers to be able to say AppLocalizations.foo or AppLocalizations.bar("arg1", "arg2"), before foo or bar have been defined in the template arb file. If you're planning to handle that feature in a separate PR, please say as much in the description.

Sounds good, I hadn't considered the possibility of implementing both separately, and had thought of both solutions as different ways to solve a singular problem. I've created a separate issue to track that.

The tool should include a parameter for specifying where the unimplemented translation summary gets written. Since tools may consume this file, you'll probably want to make sure that the format is easy to parse and very consistent.

@HansMuller are there any suggestions for how to format this? I basically just did something simple:
Locales with missing message translations:

Locale ({LocaleCode}):
#1: {message1}
#2: {message2}
....
#n: {messageN}

Locale ({LocaleCode}):
#1: {message1}
#2: {message2}
....
#n: {messageN}

Are there specific ways or guidelines for formatting files for tool consumption? Maybe a JSON format? Something like:
{
  "LocaleCode1": [
    "message1",
    "message2",
  ],
  "LocaleCode2": [
    "message1",
    "message2",
  ],
}

If the user doesn't specify an output file, then we should probably write to the console. Doing that will require some care, since - as you pointed out - the output might be voluminous. It might be best to begin the console output with a message that reminds users that there are unimplemented translations (summarize how many messages in how many locales), that untranslated messages will fallback to the template file's translation, and that a complete report can be generated by specifying new command line argument here. You could follow that with a brief summary of the the locales with missing translations.

re: output file and displaying on the console, I can make this into an option for the executable. Should this mean that the default should be writing a summarized version of the output to the console? @guidezpl, who might have some thoughts on this as well, since he recommended putting the file in the build/ folder of the project directory by default.

@shihaohong - I was suggesting making the name of the (optional) report output file an executable command-line flag. I think JSON is human-readable enough

@shihaohong Summary to console + optional json report as a command-line flag for the executable will work well for us

I made some updates to the PR because I realized that testing could be further improved and the PR description could be more descriptive. @HansMuller PTAL


Unable to change docs title

Is this a bug report?
Yes
Have you read the Contributing Guidelines on issues?
Yes
Environment
Platform Agnostic
Latest Docusaurus (master branch)
Steps to Reproduce / Reproducible Demo

Use latest master branch of Docusaurus & install
Start server

cd website
yarn start

Go to http://localhost:3000/docs/en/next/installation.html
Change docs/getting-started-installation.md title to
Installation asdf

Stop the server and start it again with yarn start
Go to http://localhost:3000/docs/en/next/installation.html

Expected Behavior

Actual Behavior

Investigation
This happen after PR #710
Prior to this, i18n/en.json is always newly generated
After this, i18n/en.json will persist and override newly generated  i18n/en.json
Hence, title is not changing
But PR #710 is correct because it fixes bug from #158 that allow user allow overriding of english strings
Workaround
Delete  i18n/en.json when changing title

Should we just always delete i18n/en.json and then regenerate when starting server.js or running generate.js?

What is intended from PR #158 is that user can override Docusaurus provided strings that a project may not like (for example ReasonReact would like to say "Edit" instead of "Edit this Doc" in English). So they can modify i18en.json directly
Related code:
https://github.com/facebook/Docusaurus/blob/fa20c93d5c1b5a9369cf1c5909955fc58f0dcb8e/lib/write-translations.js#L27-L31
https://github.com/facebook/Docusaurus/blob/fa20c93d5c1b5a9369cf1c5909955fc58f0dcb8e/lib/write-translations.js#L158-L164
But this introduces this bug because if I made a change to my title, old title from i18en.json exist & overrides i18en.json new title
If we always delete i18en.json that is just the same as not allowing to override strings and effectively deleting this code:
https://github.com/facebook/Docusaurus/blob/fa20c93d5c1b5a9369cf1c5909955fc58f0dcb8e/lib/write-translations.js#L27-L31
That's why there has been no issue with that code before #710 since October 2017

Hi @rickyvetter,
Just wanted to ask what is the intended / right behavior should be like when you implement #158 ?

Thanks for the analysis @endiliey! Very thorough. You're correct in my intent. The goal was to allow overriding of all Docusaurus provided strings with project-specific defaults. I think those Object.assigns should probably be removed in favor of explicit checking.

From a chat with @rickyvetter....
Delete - https://github.com/facebook/Docusaurus/blob/fa20c93d5c1b5a9369cf1c5909955fc58f0dcb8e/lib/write-translations.js#L158-L164
The custom lines above that should check if it exists in the file before writing.

I just checked Docusaurus repo & our documentation website at https://docusaurus.io/docs/en/translation.html

Found out that i18en.json is always ignored through .gitignore.
https://github.com/facebook/Docusaurus/blob/master/.gitignore
So actually the piece of code I mentioned has never been used at all. Should we just delete the ability to override the string once and for all ? The user didn't even know that they can even override the string unless they look at Docusaurus code directly.
I can assure you that this is the safest choice, it removes this bug, we have lesser code, and it won't break any user website.

Hi @endiliey While we don't check in the en.json file into Docusuarus, it is used when doing the uploads to Crowdin for translations. write-translations.js creates and uses that file for that purpose.

@joelmarcey that's true, but isn't it always a newly generated i18en.json since there is no local i18en.json in GitHub?
We always publish through continuous integration in which it uses the github repo as source of truth and there is no i18en.json when write-translations is executed, so it generates new i18en.json & upload it to crowdin. So the codes i mentioned is never used in production

same issue here.

I don't want to put the showstopper label on this, but this is a very high-pri bug as 1.2.0 brings it out into plain view for people.
This should be the next thing fixed before anything else, imho.

I will look at this some tomorrow. If anyone can look beforehand, that would be great. Even if, short-term, we have to break allowing custom strings to make sure people can modify the header metadata (e.g. title), I think we should consider that.

I have few alternatives

Don't allow custom strings. This is like 1.1.5

Delete
https://github.com/facebook/Docusaurus/blob/fa20c93d5c1b5a9369cf1c5909955fc58f0dcb8e/lib/write-translations.js#L27-L31
https://github.com/facebook/Docusaurus/blob/fa20c93d5c1b5a9369cf1c5909955fc58f0dcb8e/lib/write-translations.js#L158-L164

Allow custom string but maybe user has to explicitly name it custom-en.json

https://github.com/facebook/Docusaurus/blob/fa20c93d5c1b5a9369cf1c5909955fc58f0dcb8e/lib/write-translations.js#L27-L3q

@endiliey
I think I kinda like option #2 after giving it some thought today. What we can do is load the generated i18n/en.json first and and get that in the currentTranslations array. Then load i18n/custom-en.json and either override current values in the array if there would be a duplicate or append to the array.
What do you think?

Sounds great @joelmarcey.
Are you going to work on it ? Otherwise, I can submit a PR when I'm back roughly after this week.

I am going to give it a run - try to get a PR before the weekend.

@endiliey @JoelMarcey Can I try to fix this bug 😄

Hi @vaibhavsingh97 - I have a PR #775 out for this already. If you would like to have a look and provide any additional suggestions, that would be welcome 😄


Add discussion of platform sensitive struct/union layout

Summary
Add discussion for platform sensitive struct/union layout.
/cc @gewarren @danmosemsft @elinor-fung @jkoritzinsky

This new content applies to both .NET Framework and .NET Core.

Another thing that might be worth mentioning here is that if instead of creating one explicit struct, if you create a sequential structure for STREET with a nested explicit structure with everything at offset 0 that represents the implicit union field, then you don't need two definitions to account for bitness. Alignment considerations should automatically handle layout cross-bitness in that scenario.

Another thing that might be worth mentioning here is that if instead of creating one explicit struct, if you create a sequential structure for STREET with a nested explicit structure with everything at offset 0 that represents the implicit union field, then you don't need two definitions to account for bitness. Alignment considerations should automatically handle layout cross-bitness in that scenario.

@jkoritzinsky That could be possible, but that may not be true for COM-RPC. How the structs are defined and that they can be different based on bitness is the intent of this sample. The above workaround could work in some scenarios but it could also fail in others. We should avoid those kind of tricks in official documentation.

Looks good. I'm not sure if you have write permissions, so I'm merging this now.


Docs Outdated with V0.20?

Bug Report

Following getting started docs imports, I get:

I have yet to dig into changes, and additional docs, but this was not an issue in 0.19.0
Cargo.toml deps related to tracing:

Version
v0.20.0

Going to use Dependencies as they are in the cargo.toml here and see what happens first.

Please include updated documentation indicating the correct dependencies required to use this crate. I have tried to include dependencies in various ways based on what I expect I should need to do, and what is done within this crate. I still hit a lot of issues.
A cargo.toml showing what to use as a user would go a long way to not hitting so many issues.

Yeah the readme needs to be updated, the lib docs are correct. Do you have time to submit a PR to fix the readme to look more like https://github.com/tokio-rs/tracing-opentelemetry/blob/6bc7dce9560111374dba3ba38e8fdfc257e23541/src/lib.rs#L54C2-L80?

Not at the moment. I am not currently working on tracing, I just saw the
compile errors today while working on other things as I brought in the
crate for later. I should be able to do so in a week or 2, but not sure
exactly when at the moment.
On Tue, Aug 8, 2023, 7:35 PM Julian Tescher @.***>
wrote:

Yeah the readme needs to be updated, the lib docs are correct. Do you have
time to submit a PR to fix the readme to look more like
https://github.com/tokio-rs/tracing-opentelemetry/blob/6bc7dce9560111374dba3ba38e8fdfc257e23541/src/lib.rs#L54C2-L80
?
—
Reply to this email directly, view it on GitHub
https://github.com/tokio-rs/tracing-opentelemetry/issues/46#issuecomment-1670448667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADAZJBRC5WKHXMA4BXPBQETXULEMRANCNFSM6AAAAAA3ITQ7LQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

I'll try it.

Resolved in #47


Reset Autocomplete form from own component

Is there a way to reset the content of the input field from my own component?

@Twissall  you should be able to do that with .reset() function.
Example : https://github.com/skynet2/ngx-google-places-autocomplete/blob/master/example/app/app.component.ts#L51


BibCirculation: new daemon task

Adds new task to update the metadata of the records corresponding to
all the items in the BibCirc database with the shelf locations.

Signed-off-by: Raja Sripada<EMAIL_ADDRESS>Reviewed-by: Esteban J. G. Gabancho<EMAIL_ADDRESS>

Running on CDS

Thanks, merged as ef9970bdaa638cbf11f41bc8e32ff235b1425dac.


Modernize templates

The site templates feel rather outdated. Here are some suggestions to updates:

Move static files from /content to /assets
Use bootstrap as base css framework
Include some useful page types / templates for getting up and running fast

More suggestions are much appreciated!

Really really far from done, but here's my crack at bootstrap-ing the admin area

and for kicks here it is with the "Slate" theme

Nice! However this issue was more about modernizing the start templates for the public site when starting with piranhacms or piranhacmsmvc packages.

I think at some point I realized that you were talking about the starter templates and not the admin area but I figured I might as well go far enough for a demo.
I'd love to see bootstrap be the base for the admin area. Do you want me to continue?

Hi Håkan and Eonasdan,
I don't see the point of updating the cms admin ui. It should be secondary. The amount of effort against usability or effect is low. But the more useful to supply start templates for developers, to get up running fast.
I´ve made one starter template for myself implemented in Bootstrap and PiranhaCMS 2.2.4 .net webpages that you could use. I'm new to GitHub, so i don't know how this contribute works.
Anyhow here is some websites with this template

http://www.krusiusalpackor.se/
http://lindovilla.se.preview.binero.se
http://www.ostgotamarknader.se/

The notice-areas in top on startpage are a Type of "Post" that i connect with Category "StartPage"
The solution has three pagetypes: Startpage, articlepage and newslistpage
Posttypes: NewsPost and StartPageNoticesPost
Quite simple template! Responsive and menu in lot of levels.
Let me know if you want my solution or how i can contribute.
Regards Luc

@Lucstar one of your sites http://lindovilla.se.preview.binero.se/ throws a yellow screen of death btw.
As @tidyui pointed out, this issue was actually for the template sites and not the admin area.
I disagree with your point about not changing the admin ui. Both the template sites and the admin area should be changed to use Bootstrap. Mobile first design is the key to site design these days. The admin area would have a lower barrier to customization using Bootstrap and it would be much cheaper

Well I started working on a completely new Admin UI based on Bootstrap for the Piranha.vNext project. This is something that could be used as a start if one would like to update the UI for the existing version. See some screenshots below.

@Eonasdan Do you have a repo for the Bootstrapping of the admin area?

@rafcontreras no I'm afraid not sorry. :(

Though this article did not pertain to the Admin Manager area, if I wanted to redo mine installed version, or at least make the login page look like my custom site, how would I go about doing that?


Show line while dragging

When a user has selected an outpost and is dragging between somewhere, a line should appear on the screen showing them their initially selected point and the current location. Ideally convert the distance between the points into world coordinates, determine the distance, and show the user how much time it will take to get to that location.

We haven't coded anything regarding the map scale yet, so just display the distance for now, and we can do a linear conversion later. Chances are, we will probably configure map generation so that distance in Unity World coords are equal to minutes of travel at speed factor 1, for convenience.


reinstate docs build, upgrade dokka

PR description
reinstate docs build, upgrade dokka to 1.6.10 to support latest Kotlin.

Made the call and removed docs from the distribution, and now CI time is reasonable.


Update HACK.md

When creating the stack using an external network, this must be stated in the docker-compose.yml file otherwise the following error is reported:
alexs-macbook-pro:faas alex$ ./deploy_stack.sh
Deploying stack
Creating network func_functions
Error response from daemon: network with name func_functions already exists

Motivation and Context

[ ] I have raised an issue to propose this change (required)

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Merging. Thank you.


Change underscore to hyphen

Changes package name from gifs_go to gifs
Moves examples into sub-directory
Replaces all links and imports

Awesome, thanks mayne @montanaflynn! Let's squash these commits into one and then we are good to merge into master.


DBZ-7298 Add service loader manifests for all Connect plugins

Add manifests for source/sink connectors, converters and transformations.

If you're happy with the changes, I'll also update:

debezium-connector-vitess
debezium-connector-informix
debezium-connector-cassandra
debezium-connector-db2
debezium-connector-spanner
debezium-connector-jdbc
debezium-connector-ibmi

@mimaison LGTM, thanks for taking care of it!

I've opened the following PRs for the incubating connectors:

https://github.com/debezium/debezium-connector-vitess/pull/176
https://github.com/debezium/debezium-connector-informix/pull/16
https://github.com/debezium/debezium-connector-db2/pull/126
https://github.com/debezium/debezium-connector-jdbc/pull/54
https://github.com/debezium/debezium-connector-spanner/pull/79
https://github.com/debezium/debezium-connector-cassandra/pull/117
https://github.com/debezium/debezium-connector-ibmi/pull/2

Let me know if I've missed a project.

@mimaison Applied, thanks! I backported it to 2.5 branch too as it is basis for the future product release.


Update QA scenarios to use mariadb as default database.

Keep postgresql for two nodes cluster setup

I do not think we need postgres jobs for Cloud8...

@jsuchome I am not sure what do to with scenarios which had 3 cluster each 2 nodes because maximum nodes for each QA setup is 7 .But I will update others  which have one cluster with two nodes.

Hm, true. Well, it looks like we need to reevaluate what needs to be tested. Is there some list somewhere of what is required to be covered by these tests?

@jsuchome so far as I can see that all have drbd enabled so if we wont have it in cloud8 anymore maybe I can update them and remove it.

@vmoravec Regarding nfsvers I decided do some cleanup also ,because I remember we are talking about this already since cloud7 that no need use this option @kbaikov maybe can give more info.Can revert if needed.
I am planing run each of them before merge to make sure nothing broken and update pr with results.

https://ci.suse.de/view/Cloud/view/QA/job/cloud-mkphyscloud-qa-scenario-1a/666/
https://ci.suse.de/view/Cloud/view/QA/job/cloud-mkphyscloud-qa-scenario-1b/345/

@vmoravec Can you have look again. I reduce number of changed scenarios  .And all changes were deployed successfully .You can see links in above comment.


String parameters rendered with quotes

void Main()
{
	Log.Logger = new LoggerConfiguration()
	.WriteTo.Console()
	.WriteTo.TestCorrelator()
	.CreateLogger();

	using (TestCorrelator.CreateContext())
	{
		Log.Information("My log message {Text}!", "my text");

		TestCorrelator.GetLogEventsFromCurrentContext()
		.Select(e => e.RenderMessage())
		.ToList()
		.ForEach(m => Console.WriteLine("From TestCorrelator: " + m));
	}
}

the output is:
[12:31:33 INF] My log message my text!
From TestCorrelator: My log message "my text"!
How do I resolve this?

This is the expected behavior for Serilog. Please refer to their documentation on how to prevent this.

(Serilog renders string values in double quotes to more transparently indicate the underlying data type, and to make the property value stand out from the surrounding message text.)

As you can see from the sample code the Console Sink is not writing with double quotes. I have added a File Sink (.WriteTo.File(@"c:\temp\test_log.txt")) and it also outputs a message without double quotes. Here is the output:
2023-04-11 15:00:33.449 +01:00 [INF] My log message my text!
It looks like that TestCorrelator is the only one that adds the double quotes.

As I said, the TestCorrelator doesn't add quotes, Serilog does by default when it renders a message. The TestCorrelator doesn't have an outputTemplate because it does not render LogEvents. It simply captures the LogEvents emitted to it and stores them in a way that allows you to access them easily later.
When you call e.RenderMessage() with no arguments you are telling Serilog to return a string rendered representation of the LogEvent in the default way, which has quotes around string values.
If you need to render the log message a different way, you can find documentation on how to accomplish that in the Serilog wiki. If you need to test that your log events will render in a particular way for a particular sink, the TestCorrelator cannot help you. Sinks handle their own output formatting and the TestCorrelator does not know what showed up on your console or in your file.
The point of the TestCorrelator is to allow you to see that the LogEvents you expected were emitted by the logger to its sinks, not to verify what happened to those LogEvents after they were emitted.


Implement error returns for listing wrappers

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] Apache v2 license headers are included in each file.

Hey @adreed-msft!
Consider merging this to resolve the conflicts.

Hey @adreed-msft!
Consider merging this to resolve the conflicts.

Included in https://github.com/Azure/azure-sdk-for-go/pull/14209.


Gh 2259 fedeated store mitigate infinate loop

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@bc95ae8). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             develop   #2260   +/-   ##
=========================================
  Coverage           ?   65.2%
  Complexity         ?    2412
=========================================
  Files              ?     856
  Lines              ?   28897
  Branches           ?    3587
=========================================
  Hits               ?   18842
  Misses             ?    8523
  Partials           ?    1532

Continue to review full report at Codecov.

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


Publish: remember "Organization" and "Shared with me" sections collapsed-state in localStorage

Description
remember "Organization" and "Shared with me" sections collapsed-state in localStorage
Use case/motivation
Right now on Staging the Organization folder is always shown as expanded and takes all the space on the conversations list. The first action I have to do is to collapse it to have an access to my conversations history. See the screenshot.

Related issues
No response
Confidential information

[X] I confirm that do not share any confidential information

Verified on STG - fixed


Unity.Wcf does not have a strong name

My project is a strong name assembly and it references Unity.Wcf(version <IP_ADDRESS>)（from nuget）
But when i build this project, the error occur  " Assembly generation failed -- Referenced assembly 'Unity.Wcf' does not have a strong name"
How should i change the Unity.Wcf assembly into a strong name assembly?
Thank you very much

Please upgrade to Version 1.1.0 or higher.

Thank you very much for your reply.
Have other options besides upgrading?

I dont think so. Version 1.1.0 should be fully compatible with v1.0.0 (excerpt the assembly signing).

thx


tvp.pl: tvplayer3 unsupported

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Poland
Provide a description that is worded well enough to be understood
tvplayer2 seems gone from everything, either replaced with tvplayer3, or still not migrated from the legacy tvplayer in some rare cases. (vod is an unrelated third-party codebase now, stays unaffected.)
ashes of the legacy tvplayer are still found in very abandoned places that sometimes appear for whatever reason, like https://www.tvp.pl/polska-press-video-uploader/wideo/62042351.
tvplayer3 is all client-side rendered vue.js, specifying data in json, seemingly more unified between sites than previously. no html iframe version found anymore. some pages only work on fallback to page id from url now.
some test urls working for me in NL:

https://wilno.tvp.pl/75865949/rozmowa-tygodnia-z-andriusem-vainysem-o-wizycie-s-holowni
https://swipeto.pl/66500402/uliczny-foxtrot-romario-punch-uliczny-muzyk-ktorego-odkryl-coldplay
https://sport.tvp.pl/75860940/hokeistom-ucieka-awans-na-igrzyska-stanelismy-po-pierwszej-tercji
new media type: audio (podcast) https://swipeto.pl/73948370/tnjhh-taco-hemingway-po-cichu-do-celu

(tests need a cleanup. lots of these media are removed, some together with entire sites. funny things are happening at TVP. at least the metadata is more unified now.)
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['https://wilno.tvp.pl/75865949/rozmowa-tygodnia-z-andriusem-vainysem-o-wizycie-s-holowni', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [f10589e34] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 882e3b753
[debug] Python 3.11.7 (CPython x86_64 64bit) - Linux-6.6.16-0-lts-x86_64-with (OpenSSL 3.1.5 30 Jan 2024)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.45.1, urllib3-1.26.18, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1833 extractors
[tvp] Extracting URL: https://wilno.tvp.pl/75865949/rozmowa-tygodnia-z-andriusem-vainysem-o-wizycie-s-holowni
[tvp] 75865949: Downloading webpage
[tvp:embed] Extracting URL: tvp:75865949
[tvp:embed] 75865949: Downloading webpage
ERROR: [tvp:embed] 75865949: Nie znaleziono obiektu; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/home/lauren/yt-dlp/yt_dlp/extractor/common.py", line 718, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lauren/yt-dlp/yt_dlp/extractor/tvp.py", line 394, in _real_extract
    raise ExtractorError(error_desc or 'unexpected JSON error')

hm. tvp.info basically only serves a stub html with opengraph and script tags now, which calls json apis to render absolutely anything.
https://www.tvp.info/77715593/ujawniamy-nowe-tasmy-mraza-i-romanowskiego-fundusz-sprawiedliwosci-i-fundacja-profeto -> https://www.tvp.info/api/info/news?device=www&id=77715593
i think that endpoint works with all type:news objects (cross-checked with some). left cases:

type:video - that's for TVPEmbed
type:category/type:website - sadly, tvp.info apis don't work with regiony ids


Missing repository?

Hi all, thanks for maintaining this excellent resources!
I have a question about how repositories are found. I have a repository (https://github.com/IMS-Bio2Core-Facility/polya_liftover) that, to the best of my knowledge, should meet the requirements for "Standardised Usage" - it has the necessary title in the README, a workflow/Snakefile, etc. It was originally private (professional obligations) though about 2 weeks ago I made it public.  Yet, I can't find it in the catalogue regardless of whether I look in standardised usage. I doubled checked that the search would return correctly (https://github.com/search?q=polya_liftover+snakemake+workflow+in%3AREADME.md), and it is, so I'm fairly confident that it should be hit by the catalogue's search. I can see from the cron job in the GitHub Action that it should run every day at 0500, so I'm a bit surprised it hasn't been found.
I'm a big fan of the standardised installation instructions you provide, and was hoping to be able to link out to them in a manuscript I'm preparing for publication. If I'm missing something obvious in my repository structure, or can provide anything else to help, please let me know! Cheers 👍

/catalog test repo IMS-Bio2Core-Facility/polya_liftover

Thanks for reporting! I am checking this, maybe I have found a bug that is fixed in this run already: https://github.com/snakemake/snakemake-workflow-catalog/runs/4958031298?check_suite_focus=true

Fixed! Only thing I noticed is that somehow github does not properly find your license. The catalog does not process this itself, it just uses a shields.io badge for that purpose. Maybe it is because of the .md extension? Or something with the license text.


issue credits

issue 10000 credits to @ctessum

 Follow up
On Monday, 26-Feb-24 14:40:07 UTC by Gov4Git dev
Issued 10000 credits to member @ctessum.


npm create tamagui@latest not working

Current Behavior
Hi,
I was thinking to try out the project.
However, whenever I am accessing it, throws below error, tried on different systems, still the same.
macOS, windows, linux

Expected Behavior
Should download and be able to run the project.
Tamagui Version
@latest

Platform (Web, iOS, Android)
Web

Reproduction
Step 1. npm create tamagui
Step 2. not working

System Info
❯ npx envinfo --system --npmPackages --binaries --browsers
npx: installed 1 in 2.497s

  System:
    OS: macOS 14.0
    CPU: (12) x64 Apple M2 Pro
    Memory: 284.74 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 14.21.3 - ~/.nvm/versions/node/v14.21.3/bin/node
    npm: 6.14.18 - ~/.nvm/versions/node/v14.21.3/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 115.0.5790.114
    Safari: 17.0

Strange error. Can't reproduce unfortunately...
Have you tried it using Node 18?

Node 14 not supported!


Accessing PropTypes via the main React package is deprecated

Problem with PropTypes
Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in  React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs

Should be resolved by #105.


Delete IAM resources if associated instance is not running

@dgoodwin @joelddiaz I noticed if a cluster doesn't complete successfully, there is likely  IAM roles/policies/profiles that are not associated with a running instance (bc they are created in the install process b4 the instance).  The deprovisioner was dependent upon an instance running to delete the IAM resources.  I've added the function of deleting IAM resources for the specific profiles we know to be created with the installer. ${CLUSTER_NAME-master-profile ${CLUSTER_NAME-worker-profile and ${CLUSTER_NAME-bootstrap-profile
have to now pass --cluster-name mycluster along with the tags
I've tested different scenerios:  failed launch/successful launch/single/multiple masters  this works well

/lgtm


MAINT: sparse: Fix 3 code typos that are minor bugs, add tests

Here are three small changes for sparse -- each in its own commit. I can split them into separate PRs if you prefer.

Typo in compressed.sum (axis can't be 2 for a 2d matrix. Should be looking for -2)
The code is checking if it can fast-track the sum. The check looks for axis in [0, 2] when it should check for [0, -2].  The answer is correct wither way, but the speedup is not used for axis=-2. No tests, because answer is the same.

There is an obscure dtype bug involving idx_dtype. If a coo_array/matrix has >2**32 rows, but no non-zero entries have large indices, the method tocsr crashes in sparsetools.coo_tocsr because ind_dtype is int32. Fix is to include (self.nnz, M, N) in maxvalue arg of coo._get_index_dtype (rather than without M).  This test takes a few seconds because it has to construct a large indptr for the resulting matrix. So it is marked slow.

mypy complains because __rmul__ and __imul__ use *args, **kwargs as arguments and they don't match the signature for __mul__. This PR changes the arguments to self, other as we know they will be.

Looks like the "slow" test is trying to allocate 64GB so some of the CI machines can't handle that (rightly so).
Is there a way to restrict a test to only run on certain hardware?  Or should I remove the new test as too cumbersome to worry about testing. Really, people should not be storing "lots of rows" as CSR or "lots of columns" as CSC anyway. The code change avoids a seg fault if someone tries it. But maybe we don't have to test that case... ???

I'm going to remove the test that shows this seg fault of the sparsetools. It is slow and a memory hog. And it doesn't add much to the understanding.  In its place I include here the example code that causes the problem.
Adok = dok_array((2**33, 2))
Adok[(5, 0)] = 2.1  # not needed, but makes example more realistic
Adok[(8, 1)] = 3.1
A = Adok.tocoo()

A.tocsr()  # or A.tocsc()

The one line of code this for the fix creates the problem by only including N instead of M, N in get_index_dtype's maxval argument. The issue has been there for a long time, and used to be inside tocsr() and tocsc().

Merged, thanks @dschult!


Right-click menu is cut off

Description
The right-click / shift-right-click menu is cut off the first time it is displayed in a new tab (see picture below). Any further calls to the menu display correctly.

Steps To Reproduce

Open a new tab
Right click in a folder

Expected behavior
Correct display of the menu
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.19043.1110
Relevant Assets
No response

Happens as well.
Version: <IP_ADDRESS>
OS Version: 10.0.19043.1165

This issue should be resolved with #5776.


[usbdev,sival] Enable streaming test

This PR builds on #22409, it cherry picks the USB harness from the sival branch and extends it so it can run the C++ host streaming code and monitor for success.
At the moment, I had to reduce the number of bytes sent in those tests because they are way too long (5min for each test). @alees24 is that fine or should we find a way to make this configurable? I think for CI it should be sufficient to aim for maybe a 30s test?
Still TODO:

[ ] set the number of transferred bytes depending on the target (FPGA vs silicon)

@alees24 can you double-check the FPGA vs silicon transfer change?


Add Filterable to the IsEvent constraints

As requested, the PR has been updated. I closed down the others, and I'll sort them out before reopening. Hopefully, this adds a Filterable instance to both Event and Semantic!

👍 Thanks, looks great!


Ctrl+S

Hi,
CTRL+S work well only if cartridge is loaded from console.
When is used lua injection via "tic.exe .tic -code .lua, then not.
Warnig is showed: SAVE: MISSING CARTRIDGE NAME :|
Best Regards,
AndyGFX

You need to use save SAVENAME first and then Ctrl;+S will work.


upgrade to the latest cats/fs2

Fixes #10 pending final releases
I picked this up to get some hands-on time with the new type class behaviors, so it may be a bit messy, but tests are passing. Not too sure what to do with the dogs lib incompatibility issue. My instantiation of the type class instances for IO in the tests also seems sketchy, would love to know if there is a better way.

I might be a bit slow reviewing this because I've got loads going on this week, thank you in advance btw :)

much appreciated for the feedback and walking me through this, it's definitely helping make the new data types and type class hierarchy much clearer!

Thank you :)
Do you mind rebasing and pushing again? I'd like to test the CI


[New Arch] fix: cache android shadow node measurements

Summary:
This PR fixes caching mechanism for shadow node measurements on new architecture.
At the top of measure function we check whether this component has been already measured:
    if (hasBeenMeasured_) {
      return cachedMeasurement_;
    }

But never actually set hasBeenMeasured_ to true!
Changelog:
[ANDROID] [FIXED] - cache android shadow node measurements
Test Plan:
CI Green

Hey,
I'm not sure who I should tag but it's a pretty simple change, maybe @NickGerleman?


Can there be better typescript inference for z.string().startsWith and endsWith?

When using z.string().startsWith() or endsWith() the typescript inferred type is simply string. Can there instead be a way to convert strings that have startsWith or endsWith declarations to typescript interpolated literals?
If not, is there any way to control what typescript type zod will infer to?

currently the best way I can think of is this:
const schema = z.string()
    .startsWith( 'text' ) as z.ZodType<`text${ string }`, z.ZodTypeDef, string>
type Data = z.infer<typeof schema>
// type Data = `text${string}`

Currently the inferred type of a ZodString instance is always string. That's not likely to change, since it requires adding generic types onto the ZodString class which will make the Intellisense definition of simple schemas a lot less readable, which I don't want to do. Eventually Zod will have an API for defining template literal types which will support this behavior.

Is there anyway to custom set the inferred zod type? Like a better way than having to create a new interface which implements the zod inferred type?

okay, I see. Thanks!


image export to stdout not working

Required information

Distribution: Ubuntu
Distribution version: 17.10
The output of "lxc info" or if that fails:
driver: lxc
driver_version: 2.1.0
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.13.0-37-generic
server: lxd
server_pid: 3354
server_version: "2.18"
storage: zfs
storage_version: <IP_ADDRESS>-1ubuntu3

Issue description
I want to export images to stdout to pipe the data through gpg before it's going to be written on an NAS. Help says 'The target may be an existing directory, file name, or "-" to specify stdout.'
The output I get on stdout is just export progress and success message: 'Image exported successfully!' But I have a file '-' in my local directory which looks suspiciously like the image file.
Steps to reproduce
$ lxc image export container_backup
Image exported successfully!
$ sha1sum 0a77db518f0cd00e4cd022fd815b36323dc792571bb6c20d482bf9979233a289.tar.gz
c940552476a970fb324f3701d6179975c79d9524  0a77db518f0cd00e4cd022fd815b36323dc792571bb6c20d482bf9979233a289.tar.gz
$ lxc image export container_backup - | gpg --encrypt  ...
$ ls -la
[...]
-rw-rw-r-- 1 container container 321240299 Mar 28 14:26 -
$ mv - suspicious # because sha1sum reads from stdin when '-' is the first arg
$ sha1sum suspicious
c940552476a970fb324f3701d6179975c79d9524  suspicious

I'll update the documentation to remove the mention of the stdout option.

stdout probably hasn't worked ever since split images were introduced a few years ago as we can't tell ahead of time whether an image is going to be made of one or multiple files so we always have to download things as if it's going to be multiple files and then move them appropriately, which effectively prevents any streaming to stdout.

stdout probably hasn't worked ever since split images were introduced a few years ago as we can't tell ahead of time whether an image is going to be made of one or multiple files so we always have to download things as if it's going to be multiple files and then move them appropriately, which effectively prevents any streaming to stdout.

Ok, good to know. I'll look for another way to push encrypted images to the NAS.

I'll update the documentation to remove the mention of the stdout option.

And thanks for updating the docs.
Best wishes


Make sure the root element of each locale .yml file is the locale abb…

…reviation instead of "en"

Heh, for some reason this has been a recurring issue. Maybe if there's some more interest I'll get this stuff up onto Transifex. Thanks for the catch!


Add destined UDP sockets

The module Socket.Datagram.IPv4.Destined needs to be implemented. Thought should be given to how common code that Socket.Datagram.IPv4.Undestined will be shared.

Implemented in 7d29d2d38f57fd7393de06d7ea850f8f9b1c87f0


Unable to find Uplink Port Speeds at  Mbps error while creating VM on the Softlayer

We are trying to create a new VM using knife softlayer server create command. In the command if we include "network-interface-speed" parameter then getting below error. If we don't include network-interface-speed parameter while submitting request then we are able to create instance successfully on the SoftLayer. We tried to set network-interface-speed parameter values to 10, 100, 1000, 10000 but observed same error for all the values.
ERROR: Excon::Error::InternalServerError: Expected([200, 201]) <=> Actual(500 InternalServerError)
excon.error.response
:body          => "{"error":"Unable to find Uplink Port Speeds at  Mbps.","code":"SoftLayer_Exception_NotFound"}"
Setup Versions details are as below:
OS: RHEL 7
Knife softlayer plugin version: 0.4.4
Chef version: 12.14.89
Please let me know if you need any other details.

Any update on this issue??

Sorry for the delay @alkeshdagade.
Can you tell me what version of the gem you're running?  You're on the latest which is v0.4.4?
This sounds like a problem that was resolved in the v1.1.1 of fog-softlayer (one of the deps of this project).

eh sorry, just noticed that you had already included the version
that being the case, can you verify that your install is using >= v1.1.1 of fog-softlayer?

Yes, I am on the latest one v0.4.4.
I downgraded gem version to 0.4.3, 0.4.2, 0.4.1 and with all these versions I observed same issue. When I used gem version as 0.4.0 then I was able to submit request successfully with nic parameter.

Install is using fog-softlayer version 1.1.4

hmmmm, paste me the complete knife softlayer server create command you're running?  (obviously redact/change anything you need to)
I'm going to try to duplicate.

I am using command like this.
knife softlayer server create
--image-id $image_id
--ssh-keys $ssh_key_id
--hostname $host_name
--network-interface-speed 100
--domain $domain_name
--cores 2
--ram 4
--datacenter ams01
--node-name $host_name
--vlan $vlan_id
--private-vlan $private_vlan_id
--use-private-network
-x root
-i /home/.ssh/id_rsa

an update for you @alkeshdagade I have been able to reproduce, though I haven't yet gotten to the bottom of this, will keep you posted

okay I've got it figured, I'll cut a patch release shortly

You are quick Matt :)
Thanks for your help. I will wait for patch.

Just released v0.4.5 which resolves this issue.  I tested it using more or less your above command with a value of 1000 for the uplink speed and it worked as expected.  Let me know if you encounter any more trouble with this.

Thanks a lot Matt for your help. I will check my script with 0.4.5 and let you know status.

I checked our script with latest build and now able to submit request along with NIC parameter. Thanks once again for your quick help.


[Feature Request] Is it possible to use wildcards in "Excluded file types"？

Sometimes we don't need to show marks in a specific group of filetypes, such as NeogitCommitMessage, NeogitStatus, and so on. Is it possible to use wildcards in "Excluded file types"？In this case we change Use "Neogit*" to exclude all filetype about Neogit.

seems like it shouldn't be too hard to do. i'll take a look when i have time


Patches for easier usage in a crate context

This PR represents the work @jbourassa and I paired on to make wasmtime-rb easier to use as a crate.
The only difference from our pairing session is that I decided to move the error definition into Rust, since it seems like the most tidy way to do things (i.e. not evaling the file as a string...). The only issue is making yardoc-rust understand how to parse the docs when using this pattern. Thoughts @jbourassa?

The eval part didn't bother me too much, personally. It's kinda like a require, but from Rust. Besides the fact that it's eval, are there other things about it you don't like?

What what happen if someone were to require "wasmtime/error" elsewhere? I believe that would end up redefining the constants, which could cause problems.

We could introduce a @class annotation to define a class. e.g. @class Error < StandardError. Because these classes aren't tied to a struct, we'd have have to read rustdocs off functions, and allow multiple @class declaration for good measure. Not a big deal.

Might be a worthwhile feature. I find myself using this memoization pattern a fair bit so it would be nice to support it!

@jbourassa brought back in the error.rb bundling, with some more checks / robustness. Also had to make some slight adjustments to crate-type so things work properly. Should be good to go!

I have a slight preference for keeping the eval only for users of the crate, so that you only get the downsides of eval (loss of introspection) if you're using the crate directly. But it doesn't bother me too much, and it's also easy to change later. Feel free to address it or not.

For now I'll ship as is.


Error when trying to add user

Can u help me.... when i enter to create a new user i get an error.
http://<IP_ADDRESS>:8000/manage_user.php
admin:admin access..

Hello elcsar18,
Can you edit the file: manage_user.php
and adding the next code on the top

Than send me the error that you get.
good luck

Hi, where do i edit now the php files.... its no longer the /usr/local/nginx/html  route

you can do it with putty or you can use winscp(https://winscp.net/eng/docs/lang:nl)

But i only get the root folder...

click on this icon:

                                            <option <?php echo e(in_array($category->id, $user->categories->lists('id')->toArray()) ? 'selected' : ''); ?> value="<?php echo e($category->id); ?>"><?php echo e({ $category->name); ?>

thats that line

i updated the code
you need to replace your the code from views/manage_user.blade.php  with this one
https://github.com/zgelici/FOS-Streaming-v1/blob/master/views/manage_user.blade.php

Great, its now working :D
I also send you a mail, i can help with the Spanish Translation if you want.

Hi elcsar18,
Great that you fixed it. Thanks


ModuleNotFoundError: No module named 'dataclasses'

File "C:\defi\venv\lib\site-packages\etherscan\enums\fields_enum.py", line 1, in
from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
Add depending, please.

Hi, dataclasses is a builtin Python package that comes with Python 3.7+. The recommended Python version for this repository is 3.8. Kindly make sure your version conforms to this, otherwise create an environment from scratch as instructed in the README.md file.


More sub commands in rc-command

[+] /rc applications
[+] /rc applications update - should execute somthing on a loaded app
[+] /rc applications update [name] - same as above, for a specific app

Added by 16f5797


Is evaluation only happening for < 10,000 users?

Hi. I was going through the code and noticed that during evaluation the number of users we evaluate on is capped at 10,000 (https://github.com/pmixer/SASRec.pytorch/blob/4297d0950c6a6bffba92ecd4d1bf7204d07eb8c7/utils.py#L116)? Is that correct?
if usernum>10000:
        users = random.sample(range(1, usernum + 1), 10000)
    else:
        users = range(1, usernum + 1)
    for u in users:
        ...

In my own implementation I looped over all users (e.g., 52K for Amazon Beauty) and divided the nDCG and hit rates by the total number of users.
I'm actually not familiar with how evaluation in recommendation systems works and am wondering if I understood correctly and if this kind of sampled evaluation is common.
Thanks.

Correct, I kept it exactly same as in original paper author's tf implementation:
https://github.com/kang205/SASRec/blob/master/util.py#L47
Pls feel free to evaluate for all users as long as your compute resources can handle it.
For evalution in recommendation systems, there's no strict standard in research actually(in industry, variants of AUC(and DAU lol) most widely used), people are free to customize their own receipe sometimes, and these practices can be problematic sometimes as shown in https://www.kdd.org/kdd2020/accepted-papers/view/on-sampling-top-k-recommendation-evaluation, related issues root cause(personal guess): one can not affort ranking all items for all users all the time just for research in practice, as long as research oriented datasets are sampled results by themselves, also there're no golden rules on sampling for recsys till now.
BTW, I plan to watch Counterfactual Learning and Evaluation for Recommender Systems throughly but haven't yet, manual recommendation :), might be interesting.

Thanks for the paper and video, both seem interesting.
My background is actually in NLP and this is the first RecSys project that I've ever worked on. I got the same impression that evaluation may be a little more problematic when it comes to research and fair evaluation.
I'm not sure if this would be the root cause, but my own implementation is actually showing lower performance. I'd say around 4-5% for both Hit@10 and nDCG@10 on average across all four datasets.
There are a few differences I made (e.g., I'm not layer-normalizing the query input into self-attention) but I don't think that small difference would result in such a huge performance gap. Do you think that evaluating over all users may be one of the main contributors to differing performances?

Thanks for the paper and video, both seem interesting.
My background is actually in NLP and this is the first RecSys project that I've ever worked on. I got the same impression that evaluation may be a little more problematic when it comes to research and fair evaluation.
I'm not sure if this would be the root cause, but my own implementation is actually showing lower performance. I'd say around 4-5% for both Hit@10 and nDCG@10 on average across all four datasets.
There are a few differences I made (e.g., I'm not layer-normalizing the query input into self-attention) but I don't think that small difference would result in such a huge performance gap. Do you think that evaluating over all users may be one of the main contributors to differing performances?
Edit Ah I also forgot to mention that the way I'm handling negative sampling is also different. I noticed that you and the official SASRec authors both perform random negative sampling for 10,000 users on the fly. However, I sampled 100 random negative samples for each user during data pre-processing and continued to use the same 100 negative samples during evaluation. Would this also be causing a problem? It's very difficult to get the hang of how negative sampling should be performed since there doesn't seem to be any central resource or convention (very different from NLP lol).

may be due to the initialization phase differences, I met similar problem before, and solved in https://github.com/pmixer/SASRec.pytorch/commit/1d8aaa2dcf3837b0518692faee8af577cc166188

Ah yeah perhaps. I didn't do any explicit initialization on my parameters. I'll give it a try, thanks!


[Bug] [Module Name] docs/en/connector-v2/sink/FtpFile.md EERRORERRORRROR

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
username [string]
The target ftp username is required
password [string]
SeaTunnel Version
2.3.3
SeaTunnel Config
FtpFile {
    host = "dxxx"
    port = 21
    user = "xxx"
    password = "xxxx"
    path = "/devlop/csv"
    file_format_type = "csv"
}

Running Command
sh ./bin/start-seatunnel-spark-3-connector-v2.sh --master local[3] --deplot-mode client -i ghy_host=datalake16.ghy.com.cn --config ./config/08-hive2csv.config

Error Exception
user cant be empty document says username but config use user

Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

I do not really understand what you mean?

Just the markdown document error the sample is not same with the code
On Thu, 31 Aug 2023 at 18:59, Guangdong Liu @.***>
wrote:

I do not really understand what you mean?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/seatunnel/issues/5397#issuecomment-1700825378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYNYNZNEWX3FEUVRS6IKJV3XYBVCXANCNFSM6AAAAAA4CNJP4E
.
You are receiving this because you authored the thread.Message ID:
@.***>


feat: add unit test for mountWrapper

Description

Issues Resolved

Screenshot

Testing the changes

Check List

[x] All tests pass

[x] yarn test:jest
[x] yarn test:jest_integration
[x] yarn test:ftr

[x] New functionality includes testing.
[x] New functionality has been documented.
[x] Update CHANGELOG.md
[x] Commits are signed per the DCO using --signoff

Codecov Report

Merging #223 (2e5809f) into workspace-pr-integr (903e594) will decrease coverage by 21.57%.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##           workspace-pr-integr     #223       +/-   ##
========================================================
- Coverage                66.06%   44.49%   -21.57%
========================================================
  Files                     3386     1685     -1701
  Lines                    64872    33463    -31409
  Branches                 10455     6316     -4139
========================================================
- Hits                     42858    14891    -27967
+ Misses                   19446    17441     -2005
+ Partials                  2568     1131     -1437

Flag
Coverage Δ

Linux_
?

_2
?

_3
44.49% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2267 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

The codecov check still failed, looks strange.

The codecov check still failed with decrease, looks strange.

Raised now, ci-group 1 failed for unknow cancellation on CI flow.


A menu to configure specific addon features.

Is it possible to make a separate menu that has few spawnmenu features? I mean the ones that allow to config specific addon settings as an admin or user, like setting ArcCW crosshair, viewmodel, etc... and enabling Life Mod HUD while in gamemode.
Since we don't have spawnmenu yet, a feature like this would be cool.

There will be no spawn menu ever, lambda is aimed to provide co-op to play with the campaign with other people and not a sandbox. If you want a spawn menu you can create an addon that adds it, there is no reason to have this in the core functionality. Also lambda can not provide a out of the box settings manager for every possible addon without having every addon to agree to some sort of common interface to interact with.


addHotspot(..) does not really add hotspot to scene - just temporary

Hey @mpetroff !
I'm not sure if I'm missing something or pannellum doesn't do what it's told to. If you could check it out, that would be great.
I'm using the .addHotspot function to add hotspots of type "info" to the viewer v.
v.addHotSpot({"pitch":currentPitch, "yaw":currentYaw, "type":"info", "text":infoText});
or
v.addHotSpot({"pitch":currentPitch, "yaw":currentYaw, "type":"info", "text":inputText}, v.getScene());
This works. I'm seeing them and they stay put.
But now when I call .loadScene on the scene where the hotspots were added, they disappear.
I checked out v.getConfig()["scenes"] and saw that .addHotSpot does not add the needed "hotSpots" entry to the current scene. That explains why they don't show up when you .loadScene - but why doesnt .addHotSpot add them in the first place?
1. Is this behaving like it should?
2. Am I missing something?
3. How do I make them persistent?
Do I have to manually add those entries? With something like this (not tested yet, just figured. I know this just changes the returned object and not the current config):
v.getConfig()["scenes"][v.getScene()]["hotSpots"] = [{"pitch":currentPitch, "yaw":currentYaw, "type":"info", "text":inputText}] ?
But I thought .addHotSpot will do that for me?
Best regards, much love!
Daniel Biegler.
edit: I'm using the latest version: 2.3.2

The behavior you're expecting is the intended behavior, so I'm not sure why the hot spots aren't persisting for you. What browser are you using? It works fine for me in Firefox 53 and Chromium 57 on Linux Mint.

I got it.
I was in the middle of writing my process down and I tested one specific scenario and it works now. I'll keep the not-working approach in this comment so others can see.
How to make it work:
You have to include this field "hotSpots" when you call .addScene like so:
yourViewer.addScene("yourSceneName", {"panorama": "/path/to/img/img.jpg", "hotSpots":[]});
If you dont include that, addHotSpot does NOT work. Now the newly created hotspots are persistent and work like they should.
I didn't really dive into the source code yet so I'll just ask, should pannellum include a check for this scenario and if needed create the "hotSpots" field?

How it DOESNT work:
Google Chrome Version 57.0.2987.133 (64-bit) on Ubuntu
Firefox Version 52.0.2 (64-bit) on Ubuntu
Both dont work for me. Mhh if it works for you, I guess I'll try to be more specific in what I do exactly:
First I create a new viewer:
v = pannellum.viewer('panorama', {
            "default": {
                "firstScene": "default_scene_start",
                "title": "default_title",
                "author": "default_author",
                "sceneFadeDuration": 1000,
                "hotSpotDebug": true,
                "autoLoad": true,
                "compass": false
            },
            "scenes": {
                "default_scene_start": {
                    "title": "default_title",
                    "hfov": 120,
                    "pitch": -3,
                    "yaw": 117,
                    "type": "equirectangular",
                    "panorama": "img/" + this.files[0].name
                }
            }
        });

Now that he viewer v is initialized and displaying the first picture I add more scenes with this:
for (var i = 1; i < this.files.length; ++i) {
            var inFile = this.files[i];
            v.addScene(inFile.name, {"panorama": "img/" + inFile.name});
        }

This also works, I checked the config and the scenes get added and I can .loadScene them.
So now that I have multiple working scenes I want to do .addHotSpot with this:
$('body').on('click', '.btn-add-hotspot', function() {
        var inputText = "example hotspot text";
        var currentPitch = v.getPitch();
        var currentYaw = v.getYaw();
        v.addHotSpot({"pitch":currentPitch, "yaw":currentYaw, "type":"info", "text":inputText});
    });

Now the newly created hotspot is visible and it stays where it should when I rotate. Text also works correctly. But now, like I said, the hotspot is not inside the scene where it should be.

When there's a hot spots list in the scene's configuration, the hot spots array that's used for displaying the current scene is linked to the corresponding array in the overall configuration, so hot spots added to the current scene are also added to the overall configuration. When the array doesn't exist in the configuration, an empty array is created and used for the displaying the current scene, so added hot spots didn't make it back to the overall configuration. I just changed things in 8ae14374d838add318af8ab833b0796f0f15bf32 to add a hot spots array to the overall configuration when adding hot spots if it doesn't already exist, which should fix the problem; it also allows hot spots to be added to a not loaded scene without an existing hot spot configuration, which didn't work before.
My testing yesterday was with a configuration that already had hot spots, which is why I didn't see the issue before.

Awesome, glad to help.
Also, thanks for the quick fix!


chore: remove fund-dev-accounts script

Removes the script for funding dev accounts as this is now included within the genesis state of the paseo.toml network config file.
Closes #137

@peterwht it would be good if you could give this a thumbs up, as you built it.
Testing should just be a case of launching a network and checking the balances set via zn overrides.


I2c device

implement I2CDevice class to make implementing new i2c devices easier.
this enables us to use a generic callback upon request completion, like the SPI driver has had for some time.
this branch also changes the RequestQueue to work with pointers to requests instead of requests themselves.
Users of the queue will now have to push  heap-allocated requests into the queue, it will free them after they are completed.
    queue->request(new MyRequest( ... ));

updated sensors:

[x] ADS1115
[x] AS5145
[x] IMU3000
[x] MAX31855
[x] MAX31865

tested and works:

[x] ADS1115
[x] AS5145
[x] IMU3000
[x] MAX31855
[x] MAX31865

AS5145 actually does not work, but this seems unrelated to the queue change. I can't get it to work on master either.
i'll have to check if @priethfl does anything different as he's the only one currently using this sensor

AS5145 actually works as well, I was just unknowingly using the wrong baudrate

this has been the way we do things for a very long time.
I'd like to get an approving review so we can finally merge this and start cleaning up

closing as #53 was merged instead


Tickboxes for options #9 & #10 missing when installed

Hi MissVeronica
This code provides much needed additions to UM, but on installing the last two items listed in the Readme file - Items 9 and 10 - are not listed.
Frustratingly it's item 10 I was particularly keen to get working! I've got v3.3.2 installed and have UM and UM Groups set up and running.
Is there something I need to look at - i.e a tickbox somewhere else or is this something in the code?
Dave

Hello Dave,
The last two items 9 and 10 are only available for some of the email
templates and not displayed for other email templates:
Functions for all active UM Notification emails
4. Settings number 9 only for the "changedaccount_email" template
"Account Updated Email"
5. Settings number 10 for all Notication emails addressed to Admin
except the "Security: Suspicious Account Activity" email.
Regards,
Veronica
On 2024-09-27 22:34, BSATrike214 wrote:

Hi MissVeronica
This code provides much needed additions to UM, but on installing the
last two items listed in the Readme file - Items 9 and 10 - are not
listed.
Frustratingly it's item 10 I was particularly keen to get working!
I've got v3.3.2 installed and have UM and UM Groups set up and
running.
Is there something I need to look at - i.e a tickbox somewhere else or
is this something in the code?
Dave
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you are subscribed to this
thread.Message ID:
@.***>
Links:
[1]
https://github.com/MissVeronica/um-additional-email-recipients/issues/2
[2]
https://github.com/notifications/unsubscribe-auth/AAGFZOT5C432TEFRSOPDMSLZYW6NFAVCNFSM6AAAAABO73E4S2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TGNRZGA2DCNY

Thanks Veronica
That explains it. So to utilise this for the UM extension "groups" which introduces extra emails, I'd need to alter the code to introduce the extra email templates into the array with the appropriate flags.
I'll have a look and many thanks for your help.
Regards
Dave


Update virtual-machines-common-sizes-memory.md

update virtual-machines-common-sizes-memory.md to fix incorrect performance numbers for standard_E3 types.  Used perf numbers from blog post @ https://azure.microsoft.com/en-us/blog/introducing-the-new-dv3-and-ev3-vm-sizes/

@larryms,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@larryms : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@cynthn - Please assist with the review of these proposed changes. Thanks

Hi @larryms - Please resolve the merge conflict with this request.  Thanks

#please-close @larryms thank you for the contribution! It looks like the author has made the changes in a separate PR.


update to AE2 crafting terminal PR

update to Applied Energistics 2 #5656
currently still using my own terminal, but the plan is to extend ae2s.
I also need some sort of conversion recipes. (ae2:crafting <-> ae2wtlib:crafing)
also needed for the general pattern terminal recipe
(Actions fail because they use the wrong ae2 version)

not going to happen in 1.17
replaced by #97


dyanamically data is fetched through Js-grid,but filtering is not working?

MY Jsp code for js Grid
$(function() {
		$.ajax({
			type : "GET",
			url : "/Final/Reports?value=2016-03-03&value2=2017-03-03"
		}).done(function() {

			$("#jsGrid").jsGrid({
				height : "auto",
				width : "100%",
				filtering: true,
			       sorting : true,
				paging : true,
				autoload : true,
				pageSize : 3,
				controller : {
					loadData : function(filter) {
						return $.ajax({
							type : "GET",
							url : "/Final/Reports?value=2016-03-03&value2=2017-03-03",
							data : filter
						});
					},
				},
				fields : [ {
					name : "patientId",
					type : "text",
					width : 150
				}, {
					name : "patientName",
					type : "text",
					width : 150
				}, {
					name : "genderId",
					type : "number",
					width : 150
				}, {
					name : "mobile",
					type : "number",
					width : 150
				}, {
					type : "control"
				} ]
			});

		});
	});
</script>

can any help us?
any help would be greatly appreciated

I have also  that same problem,filtering is not working..
your help would be greatly appreciated
Thanks in advance

@saikiran214333 Do you have managed the object filter in your Servlet (or other server side component)?
@Venkatramanaryams complete your opened issue providing further information please.

no @maurorulli  actully i am new to js grid and i fetched the data using servlet and it is shown in the grid.
but i dont know how filter the data.
can u help me out.

k @maurorulli

@saikiran214333 you are loading data two times. First in your external ajax call, and than inside the loadData definition. You have to chose one (the loadData definition is strongly raccomended).
The loadData uses the filter param to define the criteria search.
Check the DOC.

As u said @maurorulli  i removed the ajax call to one time and i replaced a filter. as u see below

am not geting throgh the doc site. can u please help me out..... with sample code..
thanks in advance.

Please format the code. Help us to help you.

$(function() {

			$("#jsGrid").jsGrid({
				height : "auto",
				width : "100%",
				filtering: true,
				sorting : true,
				paging : true,
				autoload : true,
				pageSize : 10,
				fields : [ {
					name : "patientId",
					type : "text",
					width : 150
				}, {
					name : "patientName",
					type : "text",
					width : 150
				}, {
					name : "genderId",
					type : "number",
					width : 150
				}, {
					name : "mobile",
					type : "number",
					width : 150
				}, {

				} ],
				controller : {
				loadData : function(filter) {
					return $.ajax({
						type : "GET",
						url : "/Final/Reports",
						data :filter
					});

				},
			},
			});

		});

And what's the problem with this code? Which behavior?
Your Reports servlet get called? Does it recive the data parameter?

yes @maurorulli  data is came to the GRID table.But Filtering is not working.

What is the "data" parameter's value in your servlet?

@maurorulli  STRING IS THE PARAMETER.
public class Reports extends HttpServlet {
String jstring = null;
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
PrintWriter out = response.getWriter();
	String s1 = request.getParameter("value");

	String s2 = request.getParameter("value2");

	try {
		List<Patient> pList = new ArrayList<Patient>();

		Class.forName("");
		Connection con = DriverManager
				.getConnection(
						"XYZ",
						"USERNAME", "PASSWORD");
		Statement st = con.createStatement();

		String query = "QUERY";
		System.out.println("MY QUERY=" + query);

		ResultSet rs = st.executeQuery(query);
		Patient patient = null;
		Gson gson = new Gson();
		if (rs != null) {
			while (rs.next()) {
				patient = new Patient();
				patient.setPatientId(rs.getString("COLUMN NAME"));
				patient.setPatientName(rs.getString("COLUMN NAME"));
				patient.setGenderId(rs.getString("COLUMN NAME"));
				patient.setMobile(rs.getString("COLUMN NAME"));
				pList.add(patient);

			}
			jstring = gson.toJson(pList);
			response.setContentType("application/json");
			response.setCharacterEncoding("UTF-8");
			response.getWriter().write(jstring); ------->THIS IS THE REPSONSE.
			System.out.println(jstring);
		} else {
			System.out.println("Result:" + rs);
		}

	} catch (Exception e2) {
		e2.printStackTrace();
	}

	finally {
		out.close();
	}

}

}
DATA IS COMING LYK THIS--- [{"patientId":"1234","patientName":"XYZ","genderId":"02","mobile":"1234567894"}]

Hello @maurorulli  I also have same  problem ,please tell the suggestion for us.
Thanks in Advance

In your servlet you MUST handle the filter input parameter. The ajax request pass to your servlet all parameters needed to filter the query. You have to use these parameters to create dinamically your SQL.

sorry i cannot get you.How can handle the filter input parameter.
can you explain me in detail @maurorulli

try this in your servlet:
System.out.println("The pageSize param is: " + pageSize);
What is your output?

we can't write like that.we have to declare that variable(pageSize) in java or import from any package.

@tabalinas @maurorulli We want client side filtering.

Sorry, my fault.
System.out.println( "The pageSize param is: " + request.getParameter("pageSize") );

@maurorulli this is we got
12:34:37,634 INFO  [STDOUT] The pageSize param is: null

And what about:
System.out.println( "The data param is: " + request.getParameter("data") );

@maurorulli
12:38:23,907 INFO  [STDOUT] The data param is: null

inside your loadData function insert:
alert(filetr);
or
console.log(filter);
before the ajax call. What's your output?

we got alert @maurorulli

alert(filter);
without quotes

@maurorulli

please inspect and show us the contet of that item with your browser tools.

which item @maurorulli

when we are inspect the page we got the below @maurorulli

Is this Useful? @

you both are working on the same project?
@saikiran214333 I wolud like to see the content of the object filter. Put a breakpoint on the alert(filter) line and inspect its content.
@Venkatramanaryams Nothing of useful.

yes we are working on same project @maurorulli

sorry actually we are using jsp to display the js GRid.How can we add break to that.
@maurorulli
AND Yes we are working on same project

in your browser's console (hit F12 to open hit) you can debug you javascript

This is wat we get when break point is set. @maurorulli

Nice. As you can see on the right you can explode the filter var. I have to see it.

@maurorulli

Ok. Now come back to your servlet. You should get that request parameters. Try this code in your servlet:
System.out.println("patientId: " + patientId);
System.out.println("patinetName: " + patinetName);
System.out.println("genderId: " + genderId);
System.out.println("mobile: " + mobile);

Try to check the output when you try the filter too.

the out put when i try to filter is going to servlet again and exceting the query
@maurorulli

Pls, check the spell. patinetName should be patientName.
Anyway, we are arriving to the spot.
You have to model you SQL dynamically. Something like:
String patientId = request.getParameter("patientId");
String patientName = request.getParameter("patientName");
String genderId = request.getParameter("genderId");
String mobile = request.getParameter("mobile);

String SQL = "SELECT * FROM myTable ";
<check if at least one input paramter is not empty. If so:>
SQL += " WHERE (patientId="+patientId+
" OR patientName LIKE %"+patientName+"% "+
" OR genderId = "+genderId +
" OR mobile LIKE %"+mobile+"%";

Would be a best practice to change Statement into PreparedStatement (google it to learn it).

public class Patient {
private String patientId;
private String patientName;
private String genderId;
private String mobile;
public String getPatientId() {
return patientId;
}
public void setPatientId(String patientId) {
this.patientId = patientId;
}
public String getPatientName() {
return patientName;
}
public void setPatientName(String patientName) {
this.patientName = patientName;
}
public String getGenderId() {
return genderId;
}
public void setGenderId(String genderId) {
this.genderId = genderId;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
}
THEN,
we create a objects in servlet
List pList = new ArrayList();
we are calling that patient class from servlet @maurorulli

this is the bean you use for output. But you have at first use those 4 input parameters to filter the records in your query.

hello @maurorulli Actually we are not passing any parameters from front end....we have a table in our database we want to fetch the data from that database and showing in grid. so for we take ajavascript file and written the js grid code using controller we are calling our servlet  like this
controller : {
loadData : function(filter) {
					return $.ajax({
						type : "GET",
						url : "/Final/Reports",---------this my servlet
						data:filter
					});

then  we fetched the data like this

=
My problem here is filters are not working
please tell me the solution for this
Actually i thought that  you did not understood my problem thats why requesting again..
THANK YOU SO MUCH

hello @maurorulli
i saw this code in this git hub
https://github.com/tabalinas/jsgrid/issues/200
we have also same problem
i tried like that but  did not get result...
we are like what @saikiran214333  mentioned in the last comment
please tell me the proper solution for my problem
sorry for irritating you
Thanks in advance

What I'm trying to say is that you HAVE to build your own FILTERING mechanism. JsGrid has not an out-of-the-box filtering. It has a mask to input the filter values, but you have to use it in your server side to filter data.
You can also provide a client-side filtering (mentioned in the @Venkatramanaryams link), but the server side filtering is the the best choice (lower consumption of traffic data).
So, when filtering is enabled, JsGrid call your servlet passing it data insetring in the filter mask. In your servlet you have to use this strings to filter data in your query. The filterd ResultSet come back to JsGrid that refresh the data in the grid.

Good Morning @maurorulli  i can change the query but my problem is not that. I put a search boxes below the column name you can saw in above comments. i want working of that search boxes(Filtering is there). like in basic scenario search boxes below http://js-grid.com/demos/ i want to filter or search  the data after attaching to the grid table

The sample you refer uses a clinet-side filtering. If you inspect the source code of that page, in the db.js script, you'll find the following snippet:
        loadData: function(filter) {
            return $.grep(this.clients, function(client) {
                return (!filter.Name || client.Name.indexOf(filter.Name) > -1)
                    && (!filter.Age || client.Age === filter.Age)
                    && (!filter.Address || client.Address.indexOf(filter.Address) > -1)
                    && (!filter.Country || client.Country === filter.Country)
                    && (filter.Married === undefined || client.Married === filter.Married);
            });
        },

note: client and clients are the same of your patients.

Yes @maurorulli  we write like this but search box filters are not working
controller: {
loadData: function(filter) {
var d = $.Deferred();
// send request to the server and filter data there
return $.ajax({
type: "GET",
url: "/Final/Reports",
data: filter,
//  dataType: "json"
}).done(function(result) {
result = $.grep(result, function(item) {
// some client-side filtering below
return (!filter.patientId || item.patientId.indexOf(filter.patientId) > -1);
return (!filter.patientName || item.patientName.indexOf(filter.patientName) > -1);
return (!filter.genderId || item.genderId.indexOf(filter.genderId) > -1);
return (!filter.mobile || item.mobile.indexOf(filter.mobile) > -1);
});
d.resolve(result);
});
					    return d.promise();
					},

loadData is called automatically from jsGrid when you use his filtering system.
If you have your own search box (and search button), try something like:
$(yourSearchButton).click(function(){
   $("#grid").jsGrid("loadData", {
         patientName: yourSearchBox.val(),
         patientId: yourSearchBox.val(),
         .....
      })
   );
});

In this manner you'll call manually the loadData method. Refer to DOC

hello  @maurorulli actually we put the "filtering :true" in our js grid code.So we got that seacrh boxes now we  want working of that search boxes for dyanamic data which is coming from controller(calling from servlet URL:"").

@maurorulli  we are waitng for  your reply.

Sorry, I didn't understood your last question. Has worked fine the previous solution?

@saikiran214333, @Venkatramanaryams,
As @maurorulli mentioned js-grid doesn't provide data filtering out-of-box, it should be implemented.
In your case (as you described it) the client-side filtering should be used, so you can load data once and then just filter them on the client, something like:

// fetch data for the grid once at the beginning
$.ajax({ ... }).done(function(data) {

    $("#jsGrid").jsGrid({
        ...,

        controller: {
            loadData:  function(filter) {
                return $.grep(data, function(item) {
	            // client-side filtering below (be sure conditions are correct)
	            return (!filter.patientId || item.patientId.indexOf(filter.patientId) > -1)
	            	&& (!filter.patientName || item.patientName.indexOf(filter.patientName) > -1)
	                && (!filter.genderId || item.genderId.indexOf(filter.genderId) > -1)
	                && (!filter.mobile || item.mobile.indexOf(filter.mobile) > -1);
	        });
            }
        }

    });

})

Thanks you @tabalinas @maurorulli @Venkatramanaryams  we got  it.... #thanksAlot


feat: use DISPATCH actions instead of overloading TEXT actions

Depends on the SDK understanding these new types, and the server and trainer accepting them.

:tada: This PR is included in version 0.378.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add findDomNode method

Add equivalent of React findDomeNode() method. See more: https://facebook.github.io/react/docs/working-with-the-browser.html#refs-and-finddomnode

fixed in https://github.com/cleandart/react-dart/pull/50


High latency for large messages

Hi.
First of all, I want to thank you so much for this implementation and making it open source!
I have been playing with different solutions for DDS to compare them for my needs. I have been using eProsima FastDDS and porting it with the cxx crate to Rust and got good result; however, it is cumbersome to always writing the "bridge" interface between C++ and Rust. So, I decided to give RustDDS a shot.
I have noticed that the performance (in terms of latency) of UDP-based inter-process RustDDS communication on a single host is pretty much comparable with that of FastDDS when the message size is small. However, as the message size gets larger, performance starts to drop drastically. On my machine, RustDDS gives a latency of about 1.4ms for transferring 64KB messages (while eProsima FastDDS has a latency of 259us), and 36ms for transferring 1MB messages (eProsima FastDDS does that in about 750us) and fails completely for messages of size 10MB, while FastDDS has a latency of about 5ms. These large messages, for example, can be data of images or videos that are being shared among participants. It should also be noted that in order to get this performance out of FastDDS, I had to change the buffer size of the UDP socket to a much larger value---about 1MB for writes and 4MB for reads. I tried looking into the code of RustDDS and changed it to have the same buffer size values utilizing Socket2 and changing the fragmentation udp packet size from the hard-coded 1kb to somewhere around the maximum of 64kb. Using these tricks, I managed to get the RustDDS latency for 1MB messages down to about 8ms (from 36ms). But, this is still very much slower than the 775us of FastDDS.
I really prefer to use a pure Rust implementation of DDS like RustDDS, and not have to do a lot of bridging between C++'s FastDDS and Rust. So, I was wondering if you know why this is happening and what is the main source of this huge drop in performance?
Thank you!

Hello, and thank you for sharing your experimental results.
The most likely reason for for such a difference is that within a single host, FastDDS uses shared-memory transport , which bypasses the UDP/IP network stack completely.
RustDDS implements only UDP transport, so you are comparing different mechanisms. Shared memory can transfer quite large objects without RTPS fragmentation, which makes the difference even greater.
RustDDS could be extended to implement shared memory also, but that is a non-trivial amount of work.
If you are interested in actual over-the-network comparison, then I suggest using two separate hosts to test.