Replacing filedselector with navbar

I am very happy to use this library. I want a custom component for FieldSelector which supports menu kind of approach as follows
Schedules ---> when I  click on schedules I need to display sub items under that , in sub items I have a country selection also.
Is it possible to have nestable dropdown with expanding and collapse

Are you asking for something similar to #332?

Thanks for your reply. But following is my requirement.

Important ---> under this group I have 2 items --> a. Bookmarked
b.rating
If I select rating item, it needs to show another select box  to select
various skills.
But for Bookmarked,  I have to show operator select box directly

On Thu, 16 Jun 2022, 9:42 pm Jake Boone, @.***> wrote:

Are you asking for something similar to #332
https://github.com/react-querybuilder/react-querybuilder/issues/332?
—
Reply to this email directly, view it on GitHub
https://github.com/react-querybuilder/react-querybuilder/issues/327#issuecomment-1157859345,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2NE6BXEVUNHU2EKQTNQITVPNG5BANCNFSM5YXW6YXQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I need the above requirement . is it possible

In short, yes. I'm sure what you are describing is possible, but I have a few questions about your requirements before I can provide working code.
Is the skill selection attached to the operator or the field? If the field, then your fields array could look like this:
const fields: Field[] = [
  {
    name: "bookmarked",
    label: "Bookmarked",
  },
  {
    name: "rating-1",
    label: "Rating 1",
  },
  {
    name: "rating-2",
    label: "Rating 1",
  },
];

You could have a custom fieldSelector that rendered a single, hard-coded select with "Bookmarked" and "Rating" labels, but also showed another select when one of the "rating-x" fields was selected that allowed the user to choose which rating. You would use the onHandleChange callback to set the value to "rating-1" or "rating-2" if the second select was visible, or set it to "bookmarked" if it wasn't.
Your requirement could also be interpreted as the standard operator select needing to disappear when "rating" was selected as the field. If that is the case, you can use the operators property of the "Rating" field like this:
const fields: Field[] = [
  {
    name: "rating",
    label: "Rating",
    operators: [
      { name: "rating-1", label: "Rating 1" },
      { name: "rating-2", label: "Rating 2" },
    ],
  },
];

If you need nested/dependent field or operator selection, keep in mind that you can actually use more complex data structures in the query. field and operator are encouraged to be strings (and somewhat forced by TypeScript), but there's nothing stopping you from storing an array or object type value in each rule. You just have to have a custom fieldSelector, operatorSelector, or valueEditor to handle the special case.

Thanks for quick response.
const fileds= [{
label: bookmarked,
group: others,
value:[],
},
{
label: rating,
group: ratings,
}]
once I select the rating label I need to show all rating skills like react,
Node, etc in another select box as a field , because I need to  show
minimum  100 skills .
Based on that, operator needs to select
On Mon, 20 Jun 2022, 12:09 am Jake Boone, @.***> wrote:

In short, yes. I'm sure what you are describing is possible, but I have a
few questions about your requirements before I can provide working code.
Is the skill selection attached to the operator or the field? If the
field, then your fields array could look like this:
const fields: Field[] = [
{
name: "bookmarked",
label: "Bookmarked",
},
{
name: "rating-1",
label: "Rating 1",
},
{
name: "rating-2",
label: "Rating 1",
},];
You could have a custom fieldSelector that rendered a single, hard-coded
select with "Bookmarked" and "Rating" labels, but also showed another
select when one of the "rating-x" fields was selected that allowed the
user to choose which rating. You would use the onHandleChange callback
to set the value to "rating-1" or "rating-2" if the second select was
visible, or set it to "bookmarked" if it wasn't.
Your requirement could also be interpreted as the standard operator select
needing to disappear when "rating" was selected as the field. If that is
the case, you can use the operators property of the "Rating" field like
this:
const fields: Field[] = [
{
name: "rating",
label: "Rating",
operators: [
{ name: "rating-1", label: "Rating 1" },
{ name: "rating-2", label: "Rating 2" },
],
},];
If you need nested/dependent field or operator selection, keep in mind
that you can actually use more complex data structures in the query. field
and operator are encouraged to be strings (and somewhat forced by
TypeScript), but there's nothing stopping you from storing an array or
object type value in each rule. You just have to have a custom
fieldSelector, operatorSelector, or valueEditor to handle the special
case.
—
Reply to this email directly, view it on GitHub
https://github.com/react-querybuilder/react-querybuilder/issues/327#issuecomment-1159790444,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2NE6G63O7U6SRJANMFQMDVP5SOHANCNFSM5YXW6YXQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'm sorry, I can't really see any new information in your last comment except for the "100 skills" bit which introduces yet another complexity.

const fileds= [{ label: bookmarked, group: others, value:[], }, { label: rating, group: ratings, }]

If this is what you're using for the fields prop, it's missing the required name attribute for each field.

I have provided you the sample , i have given name attribute also

I have made the design as follows

https://codesandbox.io/s/uzo4lv

Thanks a lot.
On Mon, 20 Jun 2022, 11:09 pm Jake Boone, @.***> wrote:

https://codesandbox.io/s/uzo4lv
—
Reply to this email directly, view it on GitHub
https://github.com/react-querybuilder/react-querybuilder/issues/327#issuecomment-1160699457,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWJO3PQYZ7MBZY7MZZ27ES3VQCUEDANCNFSM5YXW6YXQ
.
You are receiving this because you commented.Message ID:
@.***>

Thanks for providing the solution. when i try to use with react-select I am facing an issue . can you update the same sandbox with react-select.
Thanks in advance

https://codesandbox.io/s/c6fcfx

https://codesandbox.io/s/c6fcfx

Can you help me convert this code with AsyncSelect instead of normal select

@syam5492009 I think a react-select-specific support channel (or StackOverflow, etc.) would be a better place for that question.

Thanks for your email. Let me give an example to retrieve rating options
(nodejs,reactjs..etc) when I select skillRating from the dropdown menu
instead of having it as* static content as we mentioned in fields array
(skillRating|nodejs). *
On Wed, Feb 15, 2023 at 10:13 PM Jake Boone @.***>
wrote:

@syam5492009 https://github.com/syam5492009 I think a react-select-specific
support channel (or StackOverflow, etc.) would be a better place for that
question.
—
Reply to this email directly, view it on GitHub
https://github.com/react-querybuilder/react-querybuilder/issues/327#issuecomment-1431663753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWJO3PVXXPUCLQW52DIHFM3WXUBTNANCNFSM5YXW6YXQ
.
You are receiving this because you commented.Message ID:
@.***>

Thanks for your email. Let me give an example to retrieve rating options (nodejs,reactjs..etc) when I select skillRating from the dropdown menu instead of having it as* static content as we mentioned in fields array (skillRating|nodejs). *

@syama-aot I think a react-select-specific support channel (or StackOverflow, etc.) would be a better place for that question.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113755

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114543

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114918

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/115421

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116067

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/118929

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121182

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121612

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/122187


Why the ECSDA signature?

For my own curiosity, why is there a 32-byte ECDSA signature? NTAG 215 chips only hold 540 bytes. I've done some digging and I can't find any other Amiibo tools that create 572-byte files. I've seen several accept 572-byte files, presumably to handle files created using this library.

To completely verify or emulate an amiibo, you need to match the correct encrypted payload (540 bytes) AND have the correct signature for the tag (32 bytes). Nintendo is not checking the tag on any console. So emulating the data by just using the payload is done by most emulation devices.
Nintendo could easily fix this by requesting the signature and validating it against the NTAG public key. This would break most of the existing emulation devices.
I saw that a couple years ago during my research as easy fix and therefore added the signature to the dump format. I just felt that this was missing to have a real valid dump, even if there is no necessity for it for validating or reading the data or even emulation at the moment.

To completely verify or emulate an amiibo, you need to match the correct encrypted payload (540 bytes) AND have the correct signature for the tag (32 bytes). Nintendo is not checking the tag on any console. So emulating the data by just using the payload is done by most emulation devices.
Nintendo could easily fix this by requesting the signature and validating it against the NTAG public key. This would break most of the existing emulation devices.
I saw that a couple years ago during my research as easy fix and therefore added the signature to the dump format. I just felt that this was missing to have a real valid dump, even if there is no necessity for it for validating or reading the data or even emulation at the moment.

Thanks for the info.

Thanks for the info.


Catch missing ModelArrayRefs during test development

When creating tests, sometime real data arrays are not connected to ModelArrayRefs that the classes under test require. Having a way to debug this problem without adding ModelArray after ModelArray until the SIGSEGVs go away would be helpful.
Two possible solutions occur:

Add code that checks for accesses within ModelArrayRef, but is only compiled under certain conditions (using a preprocessor #ifdef or for all Debug builds)
Create a copy of the ModelArrayRef class that includes the checking code, but is only ever used by developers trying to work out the above problem and replaced by the current version once the test has all the data it needs.

I will implement number 2 until someone tells me otherwise.

I'm not working on this any longer, as the New! Improved! ModelArrayRefs render this somewhat moot.


python310Packages.hahomematic: 2023.4.2 -> 2023.4.4

Diff: https://github.com/danielperna84/hahomematic/compare/refs/tags/2023.4.2...2023.4.4
Changelog: https://github.com/danielperna84/hahomematic/releases/tag/2023.4.4
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 228690 run on x86_64-linux 1

4 packages built:

python310Packages.hahomematic
python310Packages.hahomematic.dist
python311Packages.hahomematic
python311Packages.hahomematic.dist


Changes in the cli

Hi,
before one of the last updates i can change a network interface with:
profitbricks nic update  -i XXXXX --name test  --datacenterid XXXXX --serverid XXX --dhcp false --lan 3 --json
now:
profitbricks nic update  -i XXXXX --removeip --name test  --datacenterid XXXXX --serverid XXX --dhcp false --lan 3 --json
Is --removeip now required ?
Greets
Marc

And Output DA DA is really not helpful.

Sorry for that DA DA was a debug message that was not removed after testing.
As for the removeid param it is not required for update, but I did find a bug that I removed with version 1.2.5
please update your cli with npm install profitbricks-cli@latest -g

I use:
1.2.4
I think this is the latest. We have some deployment scripts and the command worked before the update.
Now i'm getting no error message only "DA DA" but dhcp isn't disabled.

I just pushed latest version which is 1.2.5
I also ran this:
$ profitbricks nic update --datacenterid f83be52c-1936-4fe1-b5d6-82fb8ec96060 --serverid 344cfd1f-35b9-449c-a75c-07127e1f593a -i 70a64cd4-fa86-4189-ac9f-c21dc37a086a --name test1 --dhcp false
and I can see that dhcp was disabled on this specific NIC
{
"id" : "70a64cd4-fa86-4189-ac9f-c21dc37a086a",
"type" : "nic",
"href" : "https://api.profitbricks.com/rest/datacenters/f83be52c-1936-4fe1-b5d6-82fb8ec96060/servers/344cfd1f-35b9-449c-a75c-07127e1f593a/nics/70a64cd4-fa86-4189-ac9f-c21dc37a086a",
"properties" : {
"name" : "test1",
"mac" : "02:01:41:d2:ed:45",
"ips" : [ "<IP_ADDRESS>" ],
** "dhcp" : false,**

It works.


injectPreparedData on the server side?

Can prepareData accept on optional environment so that injectPreparedData can be called on the server side if some data is known to already be available, such as from an upstream service?
If not provided, environment can still default to new Relay.Environment().
If this seems like a reasonable approach, I can make a PR.

Definitely want to use such a capability. Hope a pull request would be accepted.

Seems reasonable to me.

Can prepareData accept on optional environment

I didn't allow that because prepareData injects its own custom network layer, and such reconfiguration of an user's Relay.Environment would be dishonorable.
But the good news is that you don't need that functionality for your use case anyway:
const environment = new Relay.Environment();

...

// You don't need to pass the environment to prepareData:
const { data } = await IsomorphicRelay.prepareData(rootContainerProps, networkLayer);

// Instead just inject the prepared data to your environment:
IsomorphicRelay.injectPreparedData(environment, data);

That approach does not work for me. The point of injecting the data on the server side is so that the network request would not have to be made. The approach I am using now is:

Create a GraphQL query that, if sent, would return the data I have. The data received is always the same shape, so this can be static.

const data = {
  firstName: 'Sam',
  lastName: 'Student',
  id: '123'
};
const query = Relay.QL`
query StudentRoute($id_0: ID!) {
  student(id: $id_0) {
    firstName
    lastName
    id
  }
}
`;

Convert that GraphQL query into a Relay query

const relayQuery = Relay.createQuery(query, { id_0: data.id });

Seed relay environment with this query, then render.

const environment = new Relay.Environment();
const storeData = environment.getStoreData();
storeData.handleQueryPayload(relayQuery, data);
const response = ({ query: toGraphQL.Query(relayQuery), response: data });
const networkLayer = new Relay.DefaultNetworkLayer('http://localhost:5000/');
const rootContainerProps = {
    Container: StudentPage,
    queryConfig: new StudentRoute({
        id: data.id
    }),
    environment,
    forceFetch: false
};
IsomorphicRelay.prepareData(rootContainerProps, networkLayer).then(({ data: relayData, props }) => {
    const reactOutput = ReactDOMServer.renderToString(
        <IsomorphicRelay.Renderer {...props} />
    );
    res.render(path.resolve(__dirname, 'views', 'index.ejs'), {
        preloadedData: relayData.concat(response),
        reactOutput
    });
}).catch(next);

This approach is currently working, and not sending any network requests if the components rendered do not need any additional data.

The point of injecting the data on the server side is so that the network request would not have to be made.

Now I see what you are after. Still, allowing to pass an environment to prepareData would cause troubles. Probably a better approach here is to pass an optional array of preexisting query–payload pairs instead. This would also simplify user code. Does it make sense for you?

That sounds good. A rootContainer prop maybe called preloadedQueries that takes an array of { relayQuery, data} objects would let the client code not mess with getStoreData and handleQueryPayload or have to pass an environment. The data array returned from prepareData would then also be able to include these queries instead of having to concat them in user code-side.
Should forceFetch stay an option, or would it be implied by preloadedQueries?

I think we don't need the forceFetch option, but we need to replace the forceFetch call with primeCache inside.

@jakepusateri Do you have any plans on updating your PR accordingly?

Yeah I'll update it tomorrow.

Updated #51


Add Cargo.lock to git tracking

To prevent unexpected MSRV bumps and have a better tracking of dependencies.

error[duplicate]: found 2 duplicate entries for crate 'toml_edit'
    ┌─ /github/workspace/Cargo.lock:120:1
    │
120 │ ╭ toml_edit 0.20.7 registry+https://github.com/rust-lang/crates.io-index
121 │ │ toml_edit 0.21.0 registry+https://github.com/rust-lang/crates.io-index
    │ ╰──────────────────────────────────────────────────────────────────────^ lock entries

is coming from proc-macro-crate but we're already using its latest version.

See https://github.com/bkchr/proc-macro-crate/pull/41 . For now add a ignore for this duplication to deny.toml (add the old version).

All good. :)


plugin.xml: Use github: prefix for dependency

https://... links are for tarballs, according to the spec.  While npm does detect it is a git link, other package managers do not, such as https://github.com/pnpm/pnpm/issues/1376 .
Either git+ or github: are required for git links.  Most people now use a package manager version which supports github:

https://... links are for tarballs, according to the spec.

Please refer the document.
There is no problem with current style so far. In order to accept your PR, I need to test it several situations, such as old npm.

Most people now use a package manager version which supports github:

Please provide which npm version support this. The word Most people is not reliable word if there is ensure data.

Regarding of the npm document, github: protocol executes git clone action, however some people (mostly windows super beginners) report git clone problem.
Regarding of your comment, https: is for tarball.
So, let's use tarball https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk/tarball/2.7.0.

v2.4.4 specifies the url to tarball.
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/3e8879984d9224d4803d9655a1232c3deea174b3/plugin.xml#L479
If pnpm implements correctly as you describe, this should work, shouldn't it?
Npm works correctly at least.

Great, thanks.  2.4.4 works for me, with pnpm, and tarball links are better.
Wy not do registry releases of the sdk package?  That would be even better.  A bit more work though, and doesnt really effect me, so no drama if you are skipping it for that reason.  I'm mostly curious.

Wy not do registry releases of the sdk package?

Because it's too heavy.

@jayvdb https://... links are for tarballs, according to the spec.
Please tell me where you find this document ** immediately**.
At least, this is not correct for all the people.
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2427


RNG Drop Jingles

u/ImSchwi
Hear me out, do you know that when you're farming pumpkins/melons with your respective dicers, RNG alerts appear on screen and make super cool jingles? Can we have it so it's toggleable on all RNG drops across skyblock? I've always wanted something like this and it would be really nice QOL

Awaiting jingle from FlagMaster

[
https://user-images.githubusercontent.com/106500506/182249414-753e77bf-7bf2-47f8-9940-cac641943091.mp4
](url)

Finished, in prealpha 0.0.1


integrated setting is bugged

Edit: I know mod stands for command in mac and ctrl in windows. The reason I tried to change it is because when I first tried ctrl+t, it was buggy. The blinking cursor disappeared but the search panel did not come up.

If I access it via Settings > Plugin Settings > logseq-smartblocks, then it is buggy: I can't really type or change anything in the text box. I tried to change it, and the result is weird: The UI shows no change at all; and in settings.json it looks like I only managed to append one or two letters to the end or a random position in the original string.

The setting here works. I needed to relaunch logseq but it worked in the end. The strange thing is the setting above (first screenshot) still showed "mod" for me, even though settings.json is already changed to ctrl.

Yeah it's a bug with the current version of logseq, when the next version of logseq is release this bug will be fixed.
On 15 Apr 2022, 5:42 PM +0400, lef-est @.***>, wrote:

If I access it via Settings > Plugin Settings > logseq-smartblocks, then it is buggy: I can't really type or change anything in the text box. I tried to change it, and the result is weird: The UI shows no change at all; and in settings.json it looks like I only managed to append one or two letters to the end or a random position in the original string.
The setting here works. I needed to relaunch logseq but it worked in the end. The strange thing is the setting above (first screenshot) still showed "mod" for me, even though settings.json is already changed to ctrl.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Great! I'll close this then.


bacon: 1.2.2 -> 1.2.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Canop/bacon/releases.
meta.description for bacon is: "Background rust code checker"
meta.homepage for bacon is: "https://github.com/Canop/bacon"
meta.changelog for bacon is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/a11hfj0n6g43xzj3yq3v0zlzrkfxar24-bacon-1.2.4/bin/bacon passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 1.2.4 with grep in /nix/store/a11hfj0n6g43xzj3yq3v0zlzrkfxar24-bacon-1.2.4
found 1.2.4 in filename of file in /nix/store/a11hfj0n6g43xzj3yq3v0zlzrkfxar24-bacon-1.2.4

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
bacon
docbookrx

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/a11hfj0n6g43xzj3yq3v0zlzrkfxar24-bacon-1.2.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bacon https://github.com/r-ryantm/nixpkgs/archive/4768197fad47a45f65f280d370e219c0c4911f5f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a11hfj0n6g43xzj3yq3v0zlzrkfxar24-bacon-1.2.4
ls -la /nix/store/a11hfj0n6g43xzj3yq3v0zlzrkfxar24-bacon-1.2.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bacon

Maintainer pings
cc @FlorianFranzen for testing.

Result of nixpkgs-review pr 148841 run on x86_64-linux 1

1 package built:

bacon


Download CLI Wallet

Download/Unzip neo-cli app/Run neo-cli app and get this error.

Peter

Same issue for me.

It can only run on x64 OS.

…which I have
From: Erik Zhang<EMAIL_ADDRESS>Sent: 13 August 2017 08:13
To: neo-project/neo-cli<EMAIL_ADDRESS>Cc: derrygold<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [neo-project/neo-cli] Download CLI Wallet (#10)
It can only run on x64 OS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/neo-project/neo-cli/issues/10#issuecomment-322026227, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aa9qyTf2p-Wc7ig5sBROiv0F08FsbzyCks5sXqHwgaJpZM4Oyeke.

Try to install Microsoft Visual C++ 2015 Redistributable.


Adding resize pattern feature

to specify what type of images you want the resize to be applied to.

Fixed at version 10.0.3


false positive (and false negative) results for non-contiguous geometries

code to reproduce
// just 3 squares
let group = [[[0,0], [1,0], [1,1], [0,1], [0,0]],
    [[2,2], [3,2], [3,3], [2,3], [2,2]],
    [[0,4], [1,4], [1,5], [0,5], [0,4]]
    ];

let poly = L.polygon(group);
if (poly.contains(L.latLng([1, 2])))
    console.error('should be false');

Reason: algorithms works with flattened array, which really corresponds to geometry with another topology (see white contour on the screenshot).
https://github.com/hayeswise/Leaflet.PointInPolygon/blob/7a7c7df3d5ccef184c6720c696fa54fde5a0b4e9/wise-leaflet-pip.js#L119
Given is a false positive example, but geometries with holes can produce false negative results.
That's hi from countries with lots of enclaves and exclaves.

here it is: false negative.
Just a square with 2 holes;
let geo =
    [[[0,0], [0,7], [7,7], [7,0]],
    [[5,5], [6,5], [6,6], [5,6]],
    [[2,2], [3,2], [3,3], [2,3]]
];

let poly = L.polygon(geo );
if (poly.contains(L.latLng([1, 1])))
    console.error('should be true');
if (poly.contains(L.latLng([2.5, 2.5])))
    console.error('should be false');
if (poly.contains(L.latLng([4, 4])))
    console.error('should be true');

Blue contour -- expected geometry (square with 2 holes).
White contour -- geometry, this lib really tests.
Moreover: "flattened" geometry depends very much on the direction (clock/counterclockwise) of the holes, their starting points, etc...
Let's be honest: the idea, you could simply flatten arrays was a FAIL.


How does the client initialize different events for the monaco editor?

Hello, I've been reviewing this repo, and there are basically 2 clients, one in example folder, and one in example/browser folder. the browser one provides code for suggestions, hover etc, but not the first one (example/client.ts). How do the suggestions come up then? How are they connected?

If I remember correctly, the browser example does everything client-side using vscode-json-languageservice
While the main example is using a websocket connection with a node server using LSP and vscode-json-languageservice server-side
All the magic is done inside the createLanguageClient function (client.ts:46)

If I remember correctly, the browser example does everything client-side using vscode-json-languageservice
While the main example is using a websocket connection with a node server using LSP and vscode-json-languageservice server-side
All the magic is done inside the createLanguageClient function (client.ts:46)


for loops are now generated inline rather than in an IIFE

will need the lexer update that generates unique keys to work

We should generate the unique indexes in the compiler (if they are needed) because the compiler can maintain a unique index over the output code, but lexers are per input file.

Let's also change all variables to be jade_ prefixed to indicate they are internal.

Done

Updated to reflect https://github.com/jadejs/jade/pull/1983, should be ready to be merged

@alubbe, looks good to me. Merge any time.


Feature/sl-72/implement mocking package/router

Loving this so far @chris-miaskowski! Looking forward to the finished candidate.

@marbemac
Regarding 'relative' servers. In example: if someone spins up a mocker server on a localhost:3000 but their OAS3 server configuration says localhost:3001.
Such user have three options:

Pass localhost:3001 as a baseUrl to the router: router.route(resources, { baseUrl: 'localhost:3001', path: aPathResolvedByServerRouting })
Add the following server config to their OAS: { url: '' } | { url: '.' } | { url: '{any}' } and then invoke the router with basePath: '' | '.' | '*'

We could have made 'servers' optional and if undefined only match the path, but we would not be compliant with OAS (and probably with other specs).
Here is what OAS3 spec says about server's url:

REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}.

Note is does not say: "url cannot be an empty string"

This looks really solid great work @chris-miaskowski, just needs a couple of changes.

Throw an error when resource can't be instead of resolving/returning null. I updated the interface to support that.
Support an option to disable matching by operation servers. When disabled requests method and path are used to match an HttpOperation.

Hi @pytlesk4, thank you for an insightful review. I will modify the code to throw an error as per request, but I disagree that we should never return a null (w/o starting a discussion if returning null is ever a good idea).
Although I can appreciate the use case with errors I think throwing exceptions should be used sparsely and only in "exceptional" cases.
For instance, we should obviously throw an exception if we find that a user provided a malformatted data. However if the data is correct but an item just happens to not exist, we should return a valid response (null).
I have a couple of examples to support my argument:

think about all the standard javascript functions like find, match, indexOf. They don't throw an exception if an element does not exist, they return normally
and take RESTful APIs into account, if someone makes GET /user/123 request and such user does not exist in the database, would you throw an error? I think people would normally expect to get an empty 200 response.

Anyway, having that said I will address the comments and we can change the decision later.


state unavailable

Channels current state is unavailable while connect to WebSocket. Also, I want to connect WebSocket via a third-party link. Can you explain how its works?

laravel-websockets


Set Target Operating Mode

This sets the Target Operating Mode in the second stage before we enter Long Mode. This tells the firmware that we are only planning to operate in 64-bit mode and will not switch back to Legacy Mode, allowing it to make optimisations that it otherwise wouldn't be able to make safely.
Afaict, this was first implemented by AMD for the Opteron in ~2003, and is documented in section 12.21 of this document. Other docs are sparse, but it should be a nop on processors that don't support the function, and this should handle the error codes correctly (it sets the carry flag if the function is not supported).
While the docs only specify that it allows the BIOS to make optimizations that are not visible to system software, the default mode only allows the processor to run in Legacy Mode, and so I wonder if any firmwares that have SMM bugs in x86_64 mode may be fixed by this - that is just postulation tho
Edit: Travis failure is not related - merging #17 should fix this build as well

@IsaacWoods Thanks for the PRs! From a quick glance the changes look good to me. I'll take a closer look next week, because I'm short on time at the moment.

Thanks @IsaacWoods!

Yep, I have no idea if it has any real effects, but I figured it can't hurt and some OEMs might make use of it


Type/pandas

add pd.Series support to the pydantic_extra_types.pandas_types module
created tests for series type
add docs for basic usage

Thanks for the initiative @EkberHasanov its look a good PR and worth to work in, as i can see the issue is regarding py37 and missing dependencies do you think its worth re-open it and work on it ?

Thank you for your feedback, @yezz123 . I appreciate your positive remarks about the PR. I'm definitely interested in working on it further and ensuring that it works flawlessly without any remaining issues, but I don't know should I continue to change something and push it, because it failed so much and frustrated me.

please review

I'm unsure if we should make it possible to instantiate Series with __init__.
Maybe it's better to not have the __init__, and only implement the __get_pydantic_core_schema__.

Oh yes, I guess inheriting the Series class from pd.Series makes this implementation much cleaner and more aligned with the existing functionality of pd.Series. Regarding the __init__ method, you're absolutely right that it may not be necessary. Since we are inheriting from pd.Series, we can rely on its default behavior for instantiation.
Thank you for pointing out this alternative approach. I'm excited about this implementation as it provides a more elegant and intuitive way to work with series data using Pydantic. Thank you for your feedback!

@EkberHasanov how it is going? should somebody catch up and finish this PR? thank you

@EkberHasanov how it is going? should somebody catch up and finish this PR? thank you

Hi @dzmitry-lahoda it's all good, thanks! I have made some changes last time, but i guess i have to update library versions now. I will give it a try to update the versions of the libraries and see what is going on, and then i will let you you know if I need further help. Thanks

Hi @dzmitry-lahoda, hope you're okay. I guess, I may need help to resolve all these issues. Could someone please help or perhaps explain what and where is wrong? I though I know, but it seems i'm wrong.


Create python-package.yml

Workflow fixed in python-app.yml
Python 3.10 and windows set as environment for future checks


fix fix wrong profile of Nereids when insert into select

Proposed changes
Issue Number: close #xxx
when Nereids is ON...
before:
          -  Is  Nereids:  No

now:
          -  Is  Nereids:  Yes

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.35 seconds
stream load tsv:          517 seconds loaded<PHONE_NUMBER>9 Bytes, about 137 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          66 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.1 seconds inserted 10000000 Rows, about 343K ops/s
storage size:<PHONE_NUMBER>5 Bytes


Issue 42295: ClassCastException in MetricJSONDisplayColumn

Rationale
Our new approach of using a JSONB column for these metrics means we don't need to use a tricky DisplayColumn to pull out specific metrics. Thus, we can remove this now unused code.
I considered moving it out of Mothership into Core or API because it's potentially useful in other scenarios. But without a concrete use case, I figured it was best to shed the third-party dependency and reduce our code footprint.
Changes

Remove MetricJSONDisplayColumn, its factory, and the small library it used for pull the JSON data

Looks like some jayway references in MothershipController

Looks like some jayway references in MothershipController

Picky, picky

Picky, picky


Add a license

You ought to add a proper open source license to your code.
https://www.infoworld.com/article/2615869/open-source-software/github-needs-to-take-open-source-seriously.html
Code without an explicit license is protected by copyright and is by default All Rights Reserved. The person or people who wrote the code are protected as such. Any time you're using software you didn't write, licensing should be considered and abided.

Yeah, i'll add license in a moment.
Thanks


Automatically log PageRoute transitions

Fixes https://github.com/flutter/flutter/issues/11216.
Requires https://github.com/flutter/flutter/pull/11236 (Travis failures are expected until it's submitted).

Looks like travis is complaining about a missing import


Fixes FILE_PING discovery method, when filename contains '/' (or '' …

…on windows).
When the addressToFilename() returns a String with '/' (directory separator) FILE_PING discovery method cannot work. I found this issue while trying to use FILE_PING with infinispan server.
I simply replace File.separatorChar() with the character '-' and this fixes the problem.

Where would addressToFileName() use a File.separatorChar ? Method addressAsString() certainly doesn't do that. Do you refer to logical_name ?

Method addressAsFilename() is used in a lot of places (e.g. in S3_PING); I want to make sure this doesn't break things in other protocols.

Yes it is logical_name, in my case it's value was infinispan-node-2/clustered.

ok


Settings: running out of memory

Repeatedly opening a submenu and going back eats up memory, until there isn't enough left.
Steps to reproduce:

Open Settings
Select "Locale"
Select "< Back"
Repeat from 2.

Expected behavior:
Infinite back-and-forth through the submenus
Actual behavior:
After a few times "weird" things start happening, and New interpreter error: LOW_MEMORY,MEMORY shows up in the console.
My guess is this happens because every time you open "Locale" we create another locale menu, and every time you go "< Back" a new main menu is created, but the old menus are also still around?
Log of me typing in what I am about to select, and checking memory after selecting it:
>//Settings
=undefined
>
 ____                 _
|  __|___ ___ ___ _ _|_|___ ___
|  __|_ -| . |  _| | | |   | . |
|____|___|  _|_| |___|_|_|_|___|
         |_| espruino.com
 2v05 (c) 2019 G.Williams
{"t":"status","bat":72}
>process.memory()
={ free: 1034, usage: 1066, total: 2100, history: 0,
  gc: 0, gctime: 5.40161132812, blocksize: 16, "stackEndAddress": 536923400, flash_start: 0,
  "flash_binary_end": 483740, "flash_code_start":<PHONE_NUMBER>, flash_length: 524288 }
>//Locale
=undefined
>process.memory()
={ free: 901, usage: 1199, total: 2100, history: 6,
  gc: 0, gctime: 5.79833984375, blocksize: 16, "stackEndAddress": 536923400, flash_start: 0,
  "flash_binary_end": 483740, "flash_code_start":<PHONE_NUMBER>, flash_length: 524288 }
>//Back
=undefined
>process.memory()
={ free: 599, usage: 1501, total: 2100, history: 8,
  gc: 0, gctime: 6.56127929687, blocksize: 16, "stackEndAddress": 536923400, flash_start: 0,
  "flash_binary_end": 483740, "flash_code_start":<PHONE_NUMBER>, flash_length: 524288 }
>//Locale
=undefined
>process.memory()
={ free: 483, usage: 1617, total: 2100, history: 8,
  gc: 0, gctime: 6.89697265625, blocksize: 16, "stackEndAddress": 536923400, flash_start: 0,
  "flash_binary_end": 483740, "flash_code_start":<PHONE_NUMBER>, flash_length: 524288 }
>//Back
=undefined
>process.memory()
={ free: 187, usage: 1913, total: 2100, history: 8,
  gc: 0, gctime: 7.8125, blocksize: 16, "stackEndAddress": 536923400, flash_start: 0,
  "flash_binary_end": 483740, "flash_code_start":<PHONE_NUMBER>, flash_length: 524288 }
>//Locale
=undefined
Execution Interrupted during event processing.
New interpreter error: LOW_MEMORY,MEMORY

I missed your last post  - the menu shouldn't stay around.
You create it and use E.showMenu, but once you use E.showMenu for another menu, there should be no references to the initial menu so it should be automatically garbage collected...

Oh right, that makes sense

As far as I can tell it's something to do with the scopes kept by the watches...

I really really have no great knowledge of JS in particular, but mentioning the scopes I remembered when I started coding for the Bangle having difficulties with the this not being what I thought it was. I think it was Gordon in the forum who pointed out the using ()=>  kept the scope?
So I tried this using the example above and it seems to magically work?
`function showMainMenu() {
print(process.memory().usage);
var m1;
const mainmenu = {
'': { 'title': 'Settings' },
'Locale': ()=>showLocaleMenu(),
};
return E.showMenu(mainmenu);
}
function showLocaleMenu() {
var m2;
const localemenu = {
'': { 'title': 'Locale' },
'< Back': ()=>showMainMenu(),
};
return E.showMenu(localemenu);
}
showMainMenu();`
At least the emulator now prints a constant usage of 399 bytes instead of rising numbers. Didn't test it on the Bangle itself though.

Wow, that's great - thanks for trying this out!
So just to be clear, all you did was change showMainMenu to ()=>showMainMenu() (and the same for others?).
I think this just helped me realise what the issue might be! When the function gets called, it gets passed a reference to the current menu as an argument: https://github.com/espruino/EspruinoDocs/blob/master/modules/graphical_menu.js#L74
That means that if you define a new menu (with functions) in the function that's called, any function in there still has a reference to arguments (because of the scope), which is a reference to the old menu, which then keeps everything around.
Nice, easy fix. And it's not an Espruino bug either :)

Thanks @ps-igel - just tweaked settings as you suggested and the memory usage issue is gone!


Feature Request - Add ability to receive a webhook to trigger refresh of a specified collection

For the "Trending" collection, I have add_to_arr set to true, which is great - except I have the script scheduled to run at 9pm local time and by the time the next run occurs (next day at 9pm), the movie that was added to arr and later imported in plex is no longer trending...
It would be awesome if I could configure a webhook in radarr to trigger PMM to initiate a collection update for the "Trending" collection after a movie is Imported.

tbh im not sure how to set up something in python that radarr could hit with a webhook. I'll look into that but depending on what it would take to do that I don't know if I would.
What I know I could do is create a way to run specific collections again after a user-defined delay, possibly even multiple times with different delays.
Well, now that I think about it there's also the problem that for some people it takes hours for it to run I think my average run time is 4-5 hours. Maybe I could add a feature where you can automatically run collections again at the end of your run so like you have Trending run first and add movies to radarr and then give it a run_again: true option and then it would run again at the end hours later hopefully now adding your movies to radarr.
But the trending list might change by then anyway, so a third option is to have the program remember the exact TMDb IDs that it sent to radarr for each collection and have it try and find those and add them to the collection either at the end of your run or after a delay.
What do you think?

There's some good info here about webhooks with python: https://blog.bearer.sh/consume-webhooks-with-python/
Yes, it's not an easy problem to solve and keep everyone happy. I did think about trending list changing on each run, and was going to suggest having an option in webhook to override add_to_arr to avoid repeated collection updates, BUT I didn't want to make this request too convoluted :)
Having said that, run_again: true option for a collection does work - My average run time is around 30 mins, so that's plenty of time for arr to download a trending item. This is probably going to be easier to implement, but someone like you with an average run time of 4-5 hours might want it on a specified delay instead of at the end of the run.
For me, either of these options would work so I'd be happy with you adding whatever is the easiest for you.
Also, worst case scenario, the ability to override add_to_arr via a command line parameter would help, because then I could just run a script on a schedule that docker exec's and updates the trending collection every couple of hours or so but I would only want trending items added to arr on the full run at 9pm.

for real thinking on this any way you rerun the collection even 10 minutes after you run it the first time the trending list will change. so I think the best option is to have it save what movies were added. I've got an idea of how to do this I'll try and get it in the next release


Improved email verification required checks

fixes https://github.com/TryGhost/Team/issues/2366
refs https://ghost.slack.com/archives/C02G9E68C/p1670232405014209
Probem described in issue.
In the old MEGA flow:

The email_verification_required check is now repeated inside the job

In the new email service flow:

The email_verification_required is now checked (didn't happen before)
When generating the email batch recipients, we only include members that were created before the email was created. That way it is impossible to avoid limit checks by inserting new members between creating an email and sending an email.
We don't need to repeat the check inside the job because of the above changes

Improved handling of large imports:

When checking email_verification_required, we now also check if the import threshold is reached (a new method is introduced in vertificationTrigger specifically for this usage). If it is, we start the verification progress. This is required for long running imports that only check the verification threshold at the very end.
This change increases the concurrency of fastq to 3 (refs https://ghost.slack.com/archives/C02G9E68C/p1670232405014209). So when running a long import, it is now possible to send emails without having to wait for the import. Above change makes sure it is not possible to get around the verification limits.

Refactoring:

Removed the need to use updateVerificationTrigger by making thresholds getters instead of fixed variables.
Improved awaiting of members import job in regression test

@allouis This PR also contains the change we discussed yesterday that in the new email flow we'll only send the email to the members at the time when the email model was created


Load markdown from logical link if inside repo

Gitea version:1.1.0+dev
Git version: 2.13.0
Operating system: Debian
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes
[ ] No
[ ] Not relevant

Log gist:

Description
In an example repo I added the docs to e.g. docs/index.md and made an logical link to it:
cd repo
ln -s docs/index.md README.md

The markdown renderer now just shows the path of the logical link, instead of displaying it's contents as seen in screenshots. It should display the contents instead. It is important to check if the path is inside the repo (otherwise it would be a security risk).
Screenshots

But why? This is pretty much something that no other code hosting services does nor is it something that I think makes sense, the README is different from the documentation, it's an introduction to your project/repository.

This is pretty much something that no other code hosting services does

Is having features that others don't have bad? Don't think so

nor is it something that I think makes sense, the README is different from the documentation, it's an introduction to your project/repository.

README was just an example. This is about the possibilty of rendering any markdown that is symlinked in the repo.

#1798 @lunny @tboerger @sapk @cez81 @geek1011 @lafriks @ethantkoenig @andreynering @DblK


[Bug]: BigQuery streaming insert stuck for ~15 min in GceMetadataUtil.fetchMetadata

What happened?
There is a connection timeout set for the read from the metadata server in this function.
However there is not a read timeout set.
https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/ indicates that this can result in ~15 minutes of delay.
Beyond setting this timeout we could also perhaps just read this data from the gce metadata server once and cache it.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[X] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

.take-issue


Mongodb connector (#168)

A new integration with MongoDB, the implementation is mostly done! :-D
Some more testing will be added for variants of retryOnFailure signatures + scala and web docs.

Fantastic!
I think there was a question to me / Alex but it seems like the comment has been removed after force-push. Is it still relevant? If so, could you ping me in a week (I'm away for a few more days)

Fantastic!
I think there was a question to me / Alex but it seems like the comment has been removed after force-push. Is it still relevant? If so, could you ping me in a week (I'm away for a few more days)

@Avasil before the push all the signatures expected the MongoCollection to be passed implicitly, I like that design pattern when the api provided as an object and you don't want to make the user pass the same parameter all time (like a database connection, a service client, etc), but in this case it could create confusions since the same program can use multiple different MongoDb collections, therefore it would be ambiguously.
That's why I decided to move implicit definitions to the functions's main parameters.


Expand oidc-permission-v1 to support advanced cluster security rbac

https://issues.redhat.com/browse/APPSRE-8467
See associated QR pull request description for overview of how this schema expansion will be interacted with.

/retest

/retest


Extension runs in timely fashion within large emails

References #44
Definition of done
The extension's code is refactored so that its performance is not hindered noticeably by the size of the email.

[t:130] Most of the time on this was spent trying to understand how to get puppeteer and jest to emulate the pressing of the sidebar button with the limitation of needing the gmail environment. Ran into some issues with gmail requiring a log in every time, or it not finding the tab button. Refactoring the scanner code got the code sped up by like 30 ms and further refactoring at the time lead to no significant speed ups.


Add test cases that cover all in-scope building blocks of the language

Scope
Language building blocks that are in the initial scope:

[x] LetDefinition
[x] IfThenElse
[x] Reference
[x] Apply
[ ] Lambda
[x] TuplePattern
[x] Literal
[x] Variable

Implementation Details
Test cases should be added to the existing unit-test suite at:
https://github.com/finos/morphir-elm/blob/56e0816c6542274cefde664e2b341fa10cca8093/tests/Morphir/Value/InterpreterTests.elm#L32-L59
Definition of done
There should be test cases covering each of the value node types mentioned in the scope.

This is complete


How to use filter in comparing two strings

Hi,
Wanna ask how to convert following gremlin console code using gremlin-scala:
g.V().has("uuid", "someUuid").as("a").inE().as("e").outV().as("b").select("a", "b").by("uuid").filter{it.get().get("b").contains(it.get().get("a"))}.select("e").outV().valueMap("name")
This is a similar query from:
https://stackoverflow.com/questions/36045141/comparing-vertex-properties-in-gremlin-groovy
Thanks,
Alex

issue
select-by isn't supported in a typesafe way yet, there's https://github.com/mpollmeier/gremlin-scala/pull/241 by @jeremysears to add this
However, since you're using lambdas anyway, you can do the following:
// your schema - define once globally somewhere
val uuid = KeyString
val name = KeyString
val a = StepLabelVertex
val b = StepLabelVertex
val e = StepLabelEdge
val gs = g.V.has(uuid, "someUuid").as(a).inE.as(e).outV.as(b)
gs.select((a, b)).filterOnEnd { case (a, b) => b.value2(uuid) == a.value2(uuid)}.select(e).outV.value("name")
Note that I only checked that it compiles, since I don't have a test graph to verify it.


bug:  上传 gRpc proto 内容超过4096个字节报错

上传 gRpc proto 内容超过4096个字节报错
Environment

apisix version : 0.8
OS: CentOS 7.6

Minimal test code / Steps to reproduce the issue

shell cmd

curl http://<IP_ADDRESS>:9080/apisix/admin/proto/1 -X PUT -d 'xxxxxxxxx len=4311'

error message

{"error_msg":"invalid configuration: property \"content\" validation failed: string too long, expected at most 4096, got 4311"}

code

_M.proto = {
    type = "object",
    properties = {
        content = {
            type = "string", minLength = 1, maxLength = 4096
        }
    },
    required = {"content"},
    additionalProperties = false,
}

希望 proto内容的尺寸上限改为一个合理的值.

I think we could increase the maxLength to 1M, since ETCD's default max-request-bytes is 1.5M

PR welcome


[cppgraphqlgen] bump version to 3.6.0

What does your PR fix?
Bumps the version of cppgraphqlgen to the latest 3.6.0 release.

Which triplets are supported/not supported?
Yes.

Yes.

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@wravery ,Ready for review now?

@wravery ,Ready for review now?

Sure, was just waiting for the CI checks.

It seems that all CI tests have passed, please click ready for review

As always, thanks for the clean and simple updates :)


where is the documentation for .expo/settings.json?

I searched the web and nothing was found regarding the configuration for settings.json
My current settings.json file:
{
  "hostType": "tunnel",
  "lanType": "ip",
  "dev": true,
  "strict": false,
  "minify": false,
  "urlType": "exp",
  "urlRandomness": null
}

I'm using yarn start to test the app on ios emulator
If i change hostType to localhost it stills opens the port globally on the lan, i'm working on public wifi and i don't wanna expose the project to the network, neither to expo.

there is no documentation on this, it is a private configuration used internally by expo. this is why it is in .gitignore. if you want to use different options here, you'll need to install exp -- npm i -g exp, then you can refer to this documentation: https://docs.expo.io/versions/latest/guides/exp-cli.html


Offset Path

Hi,
How can I offset a path? Not Scale.
Please see the image below:
https://pasteboard.co/B7e9Xa1mJNDf.jpg
Thank you

Transform it with a translate ? eg
el.transform("t100,100")

Thank you dear @ibrierley, but I need to offset the shape of the path around path not just change position. Please see the picture below:
https://pasteboard.co/B7e9Xa1mJNDf.jpg

Pictures aren't really clear (to me anyway), what you are trying to achieve.

Hello again, I have a parallelogram that I want to enlarge by keeping the angles. Because the shape has different angles, when I use the Scale command, not everyone around the shape gets the same size.
For example, consider the figure below that we want to make it 100 pixels larger on all sides.
https://s6.uupload.ir/files/new_cect.jpg
Scale in not good enough, How can I offset this shape?
Thank you very much

I think you would need to recalculate the original points in the shape.

Yeah, Thank you


amqp-job: implement state message counter

This counter helps Hub reorder the messages if they arrive in a different order than Worker sent them in, which sometimes causes a "requeue" immediately after "received" to be interpreted as "requeue" and then "receive", causing the job to get stuck.
/cc @svenfuchs, is this roughly what you thought in terms of JSON payloads? I.e. state_update_count in the top-level of both the payload from Scheduler and the payload to Hub?
/cc @solarce

@henrikhodne super, so glad to see this happening! ❤
I have just recently started including a "meta" hash into messages to Hub, e.g. [here] (https://github.com/travis-ci/travis-gatekeeper/blob/92b0f18ce72c621ff56464a2737d51305483b25c/lib/travis/gatekeeper/service/build/cancel.rb#L34).
Would that be a too annoying in Go to do in this case as well?

@svenfuchs So, something like this?
err := j.sendStateUpdate("job:test:reset", map[string]interface{}{
    "id":    j.Payload().Job.ID,
    "state": "reset",
    "meta": map[string]interface{}{
        "state_update_count": j.stateCount,
    },
})

I.e. the following JSON:
{
    "id": 1234,
    "state": "reset",
    "meta": {
        "state_update_count": 1
    }
}

@henrikhodne looks good to me! wdyt?

Updated to pass the counter inside a meta block. Should test this out in staging first to make sure hub ignores the value for now, then I think this is good to merge.

@henrikhodne is the input format the same? i.e. is Scheduler supposed to include the same meta hash?

is the input format the same? i.e. is Scheduler supposed to include the same meta hash?

Ah, no, right now it just expects state_update_count at the top level of the object, I'll push it into a meta object.

Tested this on MacStadium staging and hub seemed to deal with the new fields just fine without any errors.


Query build Order changes underlying types depending on platform

Product
Strawberry Shake
Version
13.8.0
Link to minimal reproduction
https://github.com/ChilliCream/graphql-platform/issues/new?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A"🌶+strawberry+shake"&template=bug_report.yml
Steps to reproduce
Create multiple queries that use the same fragments and build the generated code on multiple platforms.
Example:
File 1:
query MyViewerWithBasicFields {
  viewer {
    basicInfo {
      ...ViewerBasicInfoFragment
    }
  }
}

File 2:
query MyViewerWithBasicAndAdvancedFields {
  viewer {
    basicInfo {
      ...ViewerBasicInfoFragment
    }

    advancedInfo {
      ...ViewerAdvancedInfoFragment
    }
  }
}

create the fragments themselves in their own files.
What is expected?
I would expect either a single type consistently generated for say MyViewerWithBasicFields: data.viewer.basicInfo to be of type IMyViewerWithBasicFields_Viewer_BasicInfo and MyViewerWithBasicAndAdvancedFields: data.viewer.basicInfo to be of type IMyViewerWithBasicAndAdvancedFields_Viewer_BasicInfo or better yet a single type since they are both retrieving the same fragment.
What is actually happening?
When the fragments are created, depending on which query is built first it could end up with
from MyViewerWithBasicFields results, viewer.basicInfo can end up being of type IMyViewerWithBasicAndAdvancedFields_Viewer_BasicInfo if MyViewerWithBasicAndAdvancedFields query is built before MyViewerWithBasicFields query and there doesn't seem to be a way to enforce query build order and so it makes testing or mocking the underlying types very difficult as one platform may end up generating the type that your local/dev machine did not generate.
What ends up happening is that in my unit tests, I build mock objects to viewer.basicInfo of type IMyViewerWithBasicAndAdvancedFields_Viewer_BasicInfo and it works locally but when in our CI, it fails because IMyViewerWithBasicAndAdvancedFields_Viewer_BasicInfo cannot be converted to IMyViewerWithBasicFields_Viewer_BasicInfo which coincidentally is what the CI saw as the first query to build.
I am also assuming this is due to the build order, first query to use a type becomes the type which other queries will use.
Tested from mac and sent to be tested on a different platform.
Relevant log output

Additional context
No response

Closing as a duplicate of #6873.


Some embeds not showing media (again)

https://makubot.s3.us-east-2.amazonaws.com/pictures/monch/A+seal+who+steal-VoLapat.mp4
Looks like that's one

It's because Discord adds a slash at the beginning of the obscuration. But some URLs still work? Maybe just gifs? https://makubot.s3.us-east-2./%61%6d%61%7a%6f%6eaws.com/pictures/phone/phone.gif is an example

Removed obfuscation, so this should be all set :+1:


Promoted slider

There is an issue with the layout of the image (I may have borken it?)
This is not documented in our drupal developer doc.
the view select 5 items? when we show only 3?
https://landportal.info/admin/structure/views/view/landbook_countries_related/edit/block_6?destination=book/countries/VNM

@jcr sorry could you please explain again what's exactly wrong? 3 items show on the screen but you can scroll the carousel to see 4th or 5th slides if they exist, like here for example - http://dev.landportal.info/book/countries/VNM

Really really urgent!!! We are at a conference demonstrating the country pages..... This looks awful, so please fix ASAP!!

It looks like this:

The 3 images should fill the whole width of the screen. As it was before.

nothing wrong, as discussed yesterday I wasn't sure why it was selecting more than 3.
on the live site the promoted items display strangely but this is fixed


How to update Librealsense firmware?

In realsense viewer the current version is shown as <IP_ADDRESS>. However, we require depth in units of 10 micron, which is enabled from version 05.12.00 onward. We use Realsense SDK v2.29.0 as suggested by your installation guide.
Installing from realsense viewer or using rs-fw-update is not working. Please suggest, how to update the firmware.

Hi Dilip,
Sorry for late response, the original realsense tool rs-fw-update works only on physical USB connection, currently we haven't support it through network. We will have our customer support to contact you and see if we can help you more with your request.
Thanks for your patience.


Implement Messaging for Driving Sessions

Here's the spec that's coming down from Nitrogen - we just need to subscribe and capture it.
id: xxxxxx
type: '_driveSummary' (custom message
    for now)
body: {
    start: {
        ts: xx
        latitude: xx,
        longitude: xx,
        altitude ?
    },
    finish: {
        ts: xx,
        latitude: xx,
        longitude: xx
    }
    distance: xx,
    duration: xx,
    driver: xx
}

Then, to pull out the location messages corresponding to a drive session, just do a range query with the SDK:
nitrogen.Message.find(session, {
    from: < device id > ,
    type: 'location',
    ts: {
        $gte: driveSummary.start.ts
    },
    ts: {
        $lte: driveSummary.stop.ts
    }
}, {}, function(err, messages) {
    // ...
});

Are we using fixtures.js for dummy data for this or what endpoint do we use here? Also is this to be displayed on Dashboard, or a separate page?

Since the data is coming down via Nitrogen, we can't use fixtures - but that's fine, we can implement this until data is coming down. I can take care of it.


Update ghidra.yml

Add additional required tools

Thanks for the PR. If I see it correctly, your patch adds tools, which are already included in roles/malware-analysis/taks/main.yml, which includes ghidra.yml. See https://github.com/jgru/ansible-forensic-workstation/blob/e0fbedf364c93056f22988dec7fded8d22bb75e6/roles/malware-analysis/tasks/main.yml#L10-L18 and
https://github.com/jgru/ansible-forensic-workstation/blob/e0fbedf364c93056f22988dec7fded8d22bb75e6/roles/malware-analysis/tasks/main.yml#L2-L8

ahh sorry my fault. You are totally right. I will close this PR. :)

Absolutely no problem. I'm happy for each and every contribution!


Feature/issue#5

Upgraded TestContainers to 1.7.3. Fixes #5

Merged with PR#6. Do not merge this.


Feature: Add Overlay behind Pop Up

Currently, when a pop-up appears on the screen, the elements behind it remain clickable, which can lead to unintended interactions. We need to add an overlay behind the pop-up to prevent users from clicking or interacting with any elements outside the pop-up.

Can you assign me this issue @nishant0708 ?

you can assign this task to me...

I am working on it @sanjay-kv

@samar12-rad Any update regarding this issue ?

@HimangshuSharma01 , I will push it today!


EventReceived Trigger not working in Bot Composer 1.4.0

Hi Team,
This is what I have followed for handling an event sent from HTML file in Bot composer.
### In HTML:
const store = window.WebChat.createStore({}, ({ dispatch }) => next => action => {
    if (action.type === 'DIRECT_LINE/CONNECT_FULFILLED') {
        dispatch({
            type: 'WEB_CHAT/SEND_EVENT',
            payload: {
                name: 'getUserID',
                value: 'abcd'
            }
        });
    }
    return next(action);
});

In Composer:
Added below trigger

Along with the above event trigger, I have Greeetings(ConversationUpdate) which will prompt the mainmenu of chatbot.
Composer not saving above HTML event value, Am I missed anything?
Tried turn.activity.value and other ways also but no use. I need solution ASAP.
Thanks much in advance,

Any update on the above issue, other than assigning to persons?

@LakshummaC, in addition to the values you have set above on the 'Event activity' trigger, can you also set the 'Run Once' property to true and test, again? I am finding that, if I have that property set to anything other than true, then I get the error 'Object reference not set to an instance of an object' returned. It's possible that this is getting masked somehow when you attempt the same. When set to true, I am able to trigger the Event activity from Web Chat and get the passed in value.

@stevkan I tried as you said with 'Run once' as true but still the event is not getting triggered. Is that fine if In Main Project I have 'conversation Update(Greetings)' and 'Event Received' individually (Shown below), or do I need to add something?

Hi @Stevenic after I did these changes the event if triggered.
1.Enabled below options in Greeting

2.Enabled below options in Event Received

and I am able to fetch value from front end HTML as shown below:

But after reading the above screenshot Event value, I am prompting hero card options in Greetings which is not happening here.
It just read the event and nothing prompted from Greetings.
Why is that so?

Thanks @stevkan , I have followed the approach as you said above. Issue is resolved. Thanks much for your support.


"src/Defaults.php detected as a virus" is still not fixed

Hello,
As a follow up issue for https://github.com/rollbar/rollbar-php/issues/269.
The latest version of Avast with fresh virus signatures still detects src/Defaults.php as a virus.
Replacing of usage of exec function to shell_exec fixes this issue:
            if (function_exists('shell_exec')) {
                $output = trim(shell_exec('git rev-parse --verify HEAD 2> /dev/null'));
                if ($output) {
                    return $output;
                }
            }

Please have a look here
Best wishes,
Pavel

This is ready for review here: https://github.com/rollbar/rollbar-php/pull/291


Add feature to init web-ui via api (username, powerdns)

Hello, I need the possibility to create a user via api and enter the powerdns in the ui, because we roll out powerdns automatically with ansible

Hello,
In my ansible role I create the admin user directly into the database. There is no way to do it now. A PR is welcome.

@jbe-dw how you made that? What is with the configuration to the powerdns server api?

A few call to community.mysql.mysql_query to check if the user exists and that the password matches the one provided in the playbook.
You can use the same strategy to initiate the settings, like external authentication.

Thanks :) Yes I know this collection, but i don't know which tables in the database I have to use for this action. Can you share your code snippet for the user?

Nope this database is for PowerDNS not PowerDNS Admin. If you don't have it it's probably in a sqlite file.
- name: Init the Administrator User
  block:
    - name: Check if Admin account exists
      community.mysql.mysql_query:
        query: "SELECT * FROM user WHERE username='{{ admin_username }}';"
      register: mysql_users

    - name: Create Admin account
      community.mysql.mysql_query:
        query: >-
          INSERT INTO user(username, password, firstname, lastname, email, otp_secret, role_id, confirmed)
          VALUES(%s, %s, 'PowerDNS', 'Admin', 'powerdns.admin@localhost', NULL, 1, 0);
        positional_args:
          - "{{ admin_username }}"
          - "{{ admin_password | password_hash('bcrypt') }}"
      when: mysql_users.rowcount[0] == 0

    - name: Check if Admin password match
      set_fact:
        password_match: "{{ admin_password | password_clear_check(mysql_users.query_result[0][0]['password']) }}"
      when: mysql_users.rowcount[0] == 1

    - name: Update Admin password
      community.mysql.mysql_query:
        query: >-
          UPDATE user set password='{{ admin_password | password_hash('bcrypt') }}'
          WHERE username='{{ admin_username }}' AND id={{ mysql_users.query_result[0][0]['id'] }};
      when: mysql_users.rowcount[0] == 1 and not password_match

It needs a custom filter password_clear_check which validates that a text string matches a bcrypt hash.
#!/usr/bin/python
import bcrypt

class FilterModule(object):
    def filters(self):
        return {
            'password_clear_check': self.password_clear_check
        }

    def password_clear_check(self, clear_password, hashed_password):

        if bcrypt.hashpw(clear_password.encode('utf-8'), hashed_password.encode('utf-8')) == hashed_password.encode('utf-8'):
            return True
        else:
            return False

@Syntax3rror404 @jbe-dw Can this issue be closed?

I think it is a feature that should be implemented later. This issue should be closed for now.


Utilize Set over Arrays for Performance

Bigger performance boost, and handle unique entries better?
https://github.com/MansurAliKoroglu/enforce-unique/blob/af8a2a2872008a313feceb98b1bac2e53edd4279/src/unique-enforcer.ts#L19
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set

The has method checks if a value is in the set, using an approach that is, on average, quicker than testing most of the elements that have previously been added to the set. In particular, it is, on average, faster than the Array.prototype.includes method when an array has a length equal to a set's size.

Thank you for your feedback. Your suggestions are now published.


Matplotlib colormaps

Currently we only support colorbrewer ColorMaps, when matplotlib has many more that have been updated very recently.
Although there are JS libraries that mimic this:
https://github.com/politiken-journalism/scale-color-perceptual
I guess the best way to do it would be to import matplotlib and do it on the Python side. Maybe we can have utils that generate the colors and feed that to a ColorScale.
What do you think @SylvainCorlay @ssunkara1 @jasongrout @ChakriCherukuri @rmenegaux ?

Fixed in #605


Failed to import -<EMAIL_ADDRESS>

Failing module

GitHub: https://github.com/jzaki/bls-wallet/tree/bw-9-try-direct-hubble-bls
npm: https://www.npmjs.com/package/bls-wallet-signer/v/0.5.1-testDirectBls.3

import { initBlsWalletSigner } from<EMAIL_ADDRESS>
Error message
After running deno run I get this:
Download<EMAIL_ADDRESS>Check file:///home/voltrevo/workspaces/ethf/bls-wallet/aggregator/programs/premerge.ts
error: Error: Unable to resolve media type for specifier<EMAIL_ADDRESS>    at deno:core/01_core.js:106:46
    at unwrapOpResult (deno:core/01_core.js:126:13)
    at Object.opSync (deno:core/01_core.js:140:12)
    at Object.resolveModuleNames (deno:cli/tsc/99_main_compiler.js:340:29)
    at actualResolveModuleNamesWorker (deno:cli/tsc/00_typescript.js:111714:133)
    at resolveModuleNamesWorker (deno:cli/tsc/00_typescript.js:111980:26)
    at resolveModuleNamesReusingOldState (deno:cli/tsc/00_typescript.js:112077:24)
    at processImportedModules (deno:cli/tsc/00_typescript.js:113535:35)
    at findSourceFileWorker (deno:cli/tsc/00_typescript.js:113336:17)
    at findSourceFile (deno:cli/tsc/00_typescript.js:113197:26)

Additional info

esm.sh version: v54
Deno version: 1.14.1

When loading<EMAIL_ADDRESS>x-typescript-types points to<EMAIL_ADDRESS>That url generates a 500 with message "open<EMAIL_ADDRESS>no such file or directory".
My theory
<EMAIL_ADDRESS>depends on<EMAIL_ADDRESS>That dependency specifies dist/src/index.d.ts for its types in package.json, but the file doesn't exist. Now, bls-wallet-signer never imports @thehubbleproject/bls at the top level, so inside nodejs it all works fine, and tsc also gets the type definitions. Nonetheless, I suspect esm.sh is looking at @thehubbleproject/bls's package.json, runs into the missing types file and fails to generate type definitions.
It's probably reasonable for esm.sh to not support this kinda broken set up, but the bug is that types fail to generate in a way that doesn't report where the source of the issue is.

now there's a new error:
error: Uncaught SyntaxError: The requested module '/v55/<EMAIL_ADDRESS>does not provide an export named 'default'
    at <anonymous> (https://cdn.esm.sh/v55/ethers@5.5.1/deno/lib/utils.js:2:8)

seems to import fine on v57:
import { initBlsWalletSigner } from "https://esm.sh/bls-wallet-signer@0.5.1-testDirectBls.3?pin=v57";


[Name lookup] Fix an issue with lazy named member lookup.

Explanation: Lazy name member lookup could miss some members declared in a Swift extension of an Objective-C class, incorrectly rejecting well-formed code.

Scope of Issue: We've only seen one instance of this in the wild, but name-lookup problems like this can manifest commonly.

Origination: Lazy name member lookup introduced this issue.

Risk: The fix here is very targeted and mirrors a fix we did back in December in a related part of the code-base, so the risk seems low.

Fixes: SR-6834 / rdar://problem/36851018

Reviewed By: @jrose-apple , @graydon

@swift-ci please test

@swift-ci please nominate


Link to HTTPS resources when available, use relative_url consistently

This makes internal anchors still work if the site's base URL ever changes.

I always use absolute URLs like  /path/to/page/ when making root level websites - what is the disadvantage of doing so?

I always use absolute URLs like  /path/to/page/ when making root level websites - what is the disadvantage of doing so?

@rubenwardy Using the relative_url filter makes it possible to change the baseurl value in _config.yml and still have working links :smiley:
As for relative versus absolute URLs, relative URLs won't depend on a specific domain name, which can make deployment easier (no need to play with configuration files on each host).


Cow: Watch medzsupplier.com

Cow requests the watch of the watch_keyword medzsupplier\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

medzsupplier\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Over size in DataLayoutMessage4.Create

At https://github.com/Apollo3zehn/PureHDF/blob/88848270d7439e1b737b68abdebed9988b9497d6/src/PureHDF/VOL/Native/FileFormat/Level2/ObjectHeaderMessages/DataLayout/DataLayoutMessage4.Writing.cs#L66
I'm getting an excessively large seek offset, and I'm not suspicious that the calculation is incorrect.
I've got data dimensions

Name
Value
Type

◢
dataDimensions
{ulong[3]}

[0]
3275
ulong

[1]
953
ulong

[2]
41
ulong

◢
chunkDimensions
{uint[3]}

[0]
1
uint

[1]
91
uint

[2]
1
uint

So it works out that dataBlockSize is the number of entries in the dataDimensions (3275x953x41 = 127964075)
And chunkCount is (3275/1) x (953/91) x (41 / 1) = 1477025 (rounding up 953/91 to 11)
And the typesize is 16 (for a variable length list in this case)

Name
Value
Type

typeSize
16
uint

dataBlockSize
127964075
ulong

chunkCount
1477025
ulong

But the the size calculation multiplies the entire dataset size (typeSize * dataBlockSize) by the number of chunks (chunkCount)
Should this be typeSize * chunkBlockSize * chunkCount (where chunkBlockSize would be the product of the chunk dimensions) ?
(Or am I supplying the parameters wrong?)

You are right, I am not sure what I did there. Should be fixed in v1.0.0-beta.16 (will be released in a few minutes)

:-) Happens to us all!
Thanks for the quick turnaround!


chore(master): release 0.13.0

:robot: I have created a release beep boop
0.13.0 (2024-12-02)
Features

update after EM modif on upd (a03115f)

Miscellaneous Chores

deps: update codecov/codecov-action action to v5 (cc6a308)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.13.0
:sunflower:


How to extract image features?

Please provide some script for the same, if available.

Please provide some script for the same, if available.
the image features is extract in the /data-bin,which was a public dataset

Is the image feature the .bin file and .idx file in the data bin directory? If not, please share the image feature extraction code. Thank you very much!


Add compile-time env var to add additional info to user agent header

This PR adds a AWS_SDK_RUST_BUILD_UA_METADATA environment variable to allow additional metadata to be added to the SDK user agent header at compile time.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

It's already validated by the AdditionalMetadata::new method, which returns an error if it's invalid.


Add rust container images

Add the build files for the rust container images to
contrib/container_images.  Build triggers will need to be done in quay
once this PR is commited.  From there, new container images for the rust
builds will be generated at each push to containers/netavark.
Signed-off-by: Brent Baude<EMAIL_ADDRESS>

Yeah me merged PRs without rebasing, https://github.com/containers/netavark/pull/342 will fix it

when this merges, i will setup the trigger in quay to build.

/lgtm


The English to Chinese translation is inconsistent with webpage

eg:
Department of Oncology, The Third People's Hospital of Linyi, Linyi, Shandong 276023, P.R. China.
googletrans give
肿瘤科，第三人民P.R.中国临沂，山东临沂276023医院，系。
But in webpage (translate.google.cn), I get
临沂市第三人民医院肿瘤科，山东临沂276023
The webpage's answer is more acceptable.

I change client=t to client=webapp in func build_params at googletrans\utils.py，solved this problem.

666


Improve error handling in utils.DowloadOS func and remove global imports of utils

Improve error handling in utils.DowloadOS func:
I think we should download exactly Content-Length bytes or return error.

Remove global imports of utils:
I think we should change global imports of utils subpackage from "github.com/nlf/dlite/utils" to "dlite/utils", so we will be able to build dlite not only in $GOPATH/github.com/nlf path.

this fails building in travis so it sounds like it might not be the best solution. can you remove the global import changes for now and we'll merge the error handling separately? then we can figure out the best way to fix the import paths

can you remove the global import changes for now and we'll merge the error handling separately?

Sure. I've removed the global import changes.
By the way, do you have any idea why travis build has failed?

the build log showed that it wasn't able to resolve the import as dlite/utils, here's the snippet from https://travis-ci.org/nlf/dlite/jobs/111187946
$ make dlite
GO15VENDOREXPERIMENT=1 go build
daemon.go:4:2: cannot find package "dlite/utils" in any of:
	/Users/travis/build/nlf/dlite/src/github.com/nlf/dlite/vendor/dlite/utils (vendor tree)
	/usr/local/Cellar/go/1.5.1/libexec/src/dlite/utils (from $GOROOT)
	/Users/travis/build/nlf/dlite/src/dlite/utils (from $GOPATH)
make: *** [dlite] Error 1


[CI] Adopt soundess workflow from swiftlang

Depends on https://github.com/swiftlang/github-workflows/issues/20


long time batch service: updated block height to

batch service: updated block height to... wait to long

hi, please follow our issue template when opening an issue. your bee node will sync the blockchain events on startup and you must wait for it to be synced before the node starts up. there's no way around that. if the issue persists please open a new issue and provide as much information as possible


Add icon for ROI visualisation

@PaulBrack maybe something similar to this? https://materialdesignicons.com/icon/page-layout-sidebar-left

@PaulBrack maybe something similar to this? https://materialdesignicons.com/icon/page-layout-sidebar-left

Or like one of these maybe?
https://www.iconfinder.com/iconsets/object-detection-technology

Removing as too low priority to chase


Mesh decoder

Hi, I am interested in retinaface. As mentioned in the paper, retinaface uses a mesh decoder with Graph Convolution. Where is this module in the project? Thank you

Hello,
I'm not related to the project but I can provide some clues. If you refer to the original Insightface repository, especially the open & closed issues, you'll see that the Mesh Decoder was never released.
Of note, this repository is only a reduced version of RetinaFace (3 FPN layers are used for the lateral connections instead of 5; and no Deformable Convolution is used). You're basically given a smaller FPN+Context network as listed in table 3 of the original paper.
Bests,
Qlero


Response withjson converts the numbers to string

If i use withJson for response, it converts my numbers to string. How to avoid it?
example:
$data = array('name' => 'Rob', 'age' => 40);
$newResponse = $oldResponse->withJson($data, 201);

$data = array('name' => 'Rob', 'age' => 40);
$newResponse = $oldResponse->withJson($data, 201, JSON_NUMERIC_CHECK);


Can i call one az command within another one?

Resource Provider
Azure Cli+az commands
Description of Feature or Work Requested
i need to call call one azure az command within another one .Is there a possibility.
Minimum API Version Required
Any Powershell or command line which has az installed
I want to query name of a service and export the key value into app configuration.Is there a single line command for it.
Using 2 line i can get the solution but looking for a optimised way
2line solution is as follows(assuming i'm querying name and updating it in the app config)
$name= az search service show -g RGName -n ServiceName--query name
az appconfig kv export -n AppConfigName -d az.searchname --key $name

I want to use a single line for solving my issue.
Kindly help.
#azurecli #azcommand

add to S174

This is more of a shell question. 😉

For PowerShell, you may use $( ) Subexpression operator.
In Bash, it is similar. You could use $( ) or ` ` Command Substitution.

az appconfig kv export -n AppConfigName -d az.searchname --key $(az search service show -g RGName -n ServiceName --query name --output tsv)

Similarly:
> az account get-access-token --tenant $(az account show --query tenantId --output tsv)
{
  "accessToken": "...",
  "expiresOn": "2020-08-14 12:25:49.255704",
  "tenant": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a",
  "tokenType": "Bearer"
}

Please note that --output tsv is necessary in order to strip the surrounding double quotes (") which are mandatory for a JSON string (the default output format of az):
> az account show --query tenantId
"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"
^                                    ^

> az account show --query tenantId --output tsv
54826b22-38d6-4fb2-bad9-b7b93a3e9c5a


refactor: Rewrites ColorSchemeControl with Typescript

SUMMARY
This PR rewrites the ColorSchemeControl component using Typescript and a functional component. The main reason for refactoring the component was that the previous version was re-rendering the Select component many times by mutating the options property when the user hovered the elements. This caused a bug in reordering the selected items when hovering in/out.
TESTING INSTRUCTIONS
We shouldn't have any function changes and the selected items should remain on top when hovering in/out.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

/testenv up

@jinghua-qa Can you fetch this branch locally and test it? It seems ephemeral environments are failing for this PR.


tensorflow lite inference via c++ : interpreter->output_tensor(0) gives wrong tensor value

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Ubuntu 16.4 and windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:  Samsung  Galaxy S8
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.3.0
Python version: 3.7.8
Bazel version (if compiling from source):  3.1.0
GCC/Compiler version (if compiling from source): c++11
CUDA/cuDNN version: Non
GPU model and memory: Tesla V100, 16G memory

Describe the current behavior
I tried to run a TensorFlow (v2.3.0) lite inference of Mobilentnet v2 in various languages, such as python, Android (Java), and C++ (Android JNI). It works well for python and Android(Java), but the output in C++ (Android JNI) is a mess.
If I roll back to Tensorflow v2.0.0, it works well in python, Android, and c++.
The code in Android JNI c++  is as below:
_model = tflite::FlatBufferModel::BuildFromBuffer(data,numBytesRead );
tflite::ops::builtin::BuiltinOpResolver resolver;
tflite::InterpreterBuilder(*_model, resolver)(&interpreter);
if (interpreter->AllocateTensors() != kTfLiteOk ){
return false;
}
interpreter->SetNumThreads(1);
if (interpreter->outputs().size() != 1) {
return false;
}
outputs = interpreter->output_tensor(0);
I debugged the code and found several issues:
a. interpreter->outputs().size() =<PHONE_NUMBER>5091386451
b. outputs->dims->shape = 4
c. [pseudo code] outputs->dims->data[0,1,2,3] = 1, 224, 224, 3
I debugged it and found the issue of
Describe the expected behavior
a. interpreter->outputs().size() = 1
b. outputs->dims->shape = 2
c. [pseudo code] outputs->dims->data[0,1] = 1, 1000
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Mobilenet V2 is from keras_applications.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
NA.

I have a similar situation happening on Arduino_TensorFlowLite, where
interpreter->output(0) and  interpreter->input(0)   seem to be sharing values.
interpreter->output(0)->dims->size seems to have the same value as interpreter->input(0)->dims->size.
Also interpreter->input(0)->data.f[0] value can be set before  interpreter->Invoke(); but after  interpreter->Invoke();   interpreter->input(0)->data.f[0] seems to have the same value as  interpreter->output(0)->data.f[0]
I have semi-helpful code here. One file has everything in it. The model has 2 inputs but only one output. The output shows interpreter->input(0)->dims->size as 2 when it should be 1.

Hi, could you please try again with the recent Tensorflow version and let us know if the issue still exists, Thanks!


update main with v1.0.2 release latest changes #ntrn-566

closed since we have https://github.com/neutron-org/neutron/pull/281
with latest changes from releases/1.0.x branch


Add MIT License, same as other heroku buildpacks

This is the same license used in other Heroku Buildpacks.
Should close #11 .

Okay with everyone? @kr @bmizerany @mmcgrana @josharian @uhoh-itsmaciek @attilaolah @jmazzi @catsby @surma @cyberdelia @wwy @claymccoy @elithrar @ryanbrainard @jszwedko @kennethreitz

Yes please!

+1

LGTM

:+1:

Fine with me ☺

sure

:rocket:

:+1:
On Fri, Mar 27, 2015 at 12:50 PM, Clint<EMAIL_ADDRESS>wrote:

[image: :rocket:]
—
Reply to this email directly or view it on GitHub
https://github.com/heroku/heroku-buildpack-go/pull/12#issuecomment-87070356
.

:+1:

Sure.

Yep!
On Sat, 28 Mar 2015 at 4:34 am Maciek Sakrejda<EMAIL_ADDRESS>wrote:

Sure.
—
Reply to this email directly or view it on GitHub
https://github.com/heroku/heroku-buildpack-go/pull/12#issuecomment-87080556
.

:+1:

:+1:

I think that's enough time / responses.


Dependency error in 1.1.1

Is this a bug report?
Yes
Have you read the Contributing Guidelines on issues?
Yes
Environment
Node: 10.1
Docusaurus: 1.1.1
Steps to Reproduce

docker run -it --rm node:10.1-alpine sh
npm install -g docusaurus

Expected Behavior
The installation happens without any problems:
docker run -it --rm node:10.1-alpine sh
/ # npm install -g<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN notice [SECURITY] debug has 1 low vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=0.7.4 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] macaddress has 1 critical vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=macaddress&version=0.2.8 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
/usr/local/bin/docusaurus-build -> /usr/local/lib/node_modules/docusaurus/lib/build-files.js
/usr/local/bin/docusaurus-write-translations -> /usr/local/lib/node_modules/docusaurus/lib/write-translations.js
/usr/local/bin/docusaurus-version -> /usr/local/lib/node_modules/docusaurus/lib/version.js
/usr/local/bin/docusaurus-start -> /usr/local/lib/node_modules/docusaurus/lib/start-server.js
/usr/local/bin/docusaurus-rename-version -> /usr/local/lib/node_modules/docusaurus/lib/rename-version.js
/usr/local/bin/docusaurus-examples -> /usr/local/lib/node_modules/docusaurus/lib/copy-examples.js
/usr/local/bin/docusaurus-feed -> /usr/local/lib/node_modules/docusaurus/lib/generate-feed.js
/usr/local/bin/docusaurus-publish -> /usr/local/lib/node_modules/docusaurus/lib/publish-gh-pages.js
+<EMAIL_ADDRESS>added 408 packages in 41.778s
/ #

Actual Behavior
When starting a new project, there is a dependency issue that was not there on 1.0.15.
docker run -it --rm node:10.1-alpine sh
/ # mkdir test && cd test
/test # npx docusaurus-init
npx: installed 24 in 5.124s
Website folder created!

Installing latest version of Docusaurus in website.

yarn add v1.6.0
(node:53) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning package.json: No license field
info No lockfile found.
warning No license field
[1/4] Resolving packages...
warning docusaurus > markdown-toc > gray-matter ><EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
warning docusaurus > imagemin-jpegtran > jpegtran-bin > bin-wrapper > download > gulp-decompress ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
[2/4] Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">= 6.x <= 9.x".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

This has been fixed in https://github.com/yangshun/tree-node-cli/pull/2. We'll release a patch version very soon. Sorry about it!

👌