listen to test config pattern file changes  and update mocha side bar accordingly

we should update the follows :

[x] lens
[x] decorators
[x]  dots colors on side bar

fixed for version 0.14.0 commit eb3fa7f8b29232bc99b63712defa29d26c3890ec


Updated AMI references to amzn-ami-2016.09.g-amazon-ecs-optimized

Would be great to remake this to use data source instead of hard-coded values for AMI IDs.
@jasiek @tfhartmann Will you guys be able to do this in the future?

@antonbabenko yes! I absolutely agree! It's actually been on my to-do list to do!  For this exact reason.  I do want to make sure that the data source doesn't just return the most recent version of the AMI though, in case people are running applications that would be adversely effected by a bulk removal of all the instances.  Which is the behavior of this module currently. For the most part, it hans't been an issue since the containers get restarted quickly. But I've run into a couple of spots already where it we'd benefit for a less aggressive scaling policy.
@jasiek thanks for the PR, I'll merge it and cut a new release tag.

I've added a commit that should compute the AMI image id dynamically, but need to test it (tomorrow).

Tested and done!

Tested again, appears to be working.

LGTM

Looks good to me too!


Release 3.13.0 in pip doesn't match code in github release

The code in the commit linked to release 3.13.0 doesn't match that retrieved from pip install. I noticed this because the displayName feature is not available with pip install toil==3.13.0 but it is in the 3.13.0 commit.
PIP tar md5:
43d0b3a617747c1f05f9eea22c1b1575

Release md5:
8ebb452a7e0ed08eea5344a1eca41cb6

@ejacox @benedictpaten Is this worth hot-fixing?  We were going to release 3.14.0 next week, which should include displayName.

That should be good. Just wanted to point it out, maybe some problem in the release process?

It was my first time going through the steps and making a release so it was likely some mistake I made.  Thank you for catching the difference!

Thank you @jsmedmar. We will check this in the upcoming release.


Add support for ExCreateCallback objects to system callbacks list

I recently stumbled upon an interesting change in the ExCreateCallback function that is responsible for creating executive callbacks like \Callback\ProcessorAdd. It turns out that the size of the CALLBACK_OBJECT type changed in Windows 8.1: from 40 bytes previously to 56 bytes now (going by the size that ExCreateCallback is requesting from ObCreateObject).
It doesn't take a rocket scientist to figure out what these 16 bytes are used for: there is a new LIST_ENTRY at the end of the CALLBACK_OBJECT struct that ExCreateCallback uses to insert the callback object into the ExpCallbackListHead list (also new in 8.1). And if you traverse ExpCallbackListHead, you will quickly see that there are a lot more objects in this list than what the \Callback directory shows! It seems that this change hasn't really been picked up on before, probably because CALLBACK_OBJECT is a private type that is not in any headers or PDBs.
This PR adds a typedef for the new CALLBACK_OBJECT that looks like this:
typedef struct _CALLBACK_OBJECT_V2 {
    ULONG Signature;
    KSPIN_LOCK Lock;
    LIST_ENTRY RegisteredCallbacks;
    BOOLEAN AllowMultipleCallbacks;
    LIST_ENTRY ExpCallbackList;
} CALLBACK_OBJECT_V2, *PCALLBACK_OBJECT_V2;

This type is not used in the object dump procedure for callback objects; I tried doing it that way at first but quickly realized it didn't make much sense, because the second list is a reference to a global list and the list entries are really unrelated to the object itself. So I decided to add support for enumerating callback objects to the 'callbacks extra' instead.
There is a finder routine named FindExpCallbackListHead, which finds the address of ExpCallbackListHead and is not particularly interesting. The dump routine (DumpExpCallbackListCallbacks) is a bit different from the ones that are currently in the callbacks extra. This is because it is IMO not really interesting or helpful to print the address of a CALLBACK_OBJECT (which is what is in the list). These objects are not function addresses, and they aren't even located in a kernel module. So what I have done instead is this:

For each callback object in ExpCallbackListHead, add a new item to the tree list that shows only the object address.
For each callback registration (CALLBACK_REGISTRATION) in the RegisteredCallbacks list of the object, add a new sub-item of the parent callback object. This can be 0 or many entries depending on the callback object.

If this sounds confusing, here's what it looks like:

Essentially you can expand each callback object to see the callback function(s) registered with it. I preferred doing this over a flat layout, because without nesting it would be impossible to tell which registered callback functions belong to which callback object.
I did need to add a new AddParentEntryToList function to support doing this cleanly, and I'm no good at GUI stuff, so I hope I didn't mess that part up.

That's a very nice done addition, thanks.


Please tag a new release (from time to time)

For software packager it is extremely difficult to pack software that has no release tags.
For example, conan:
https://github.com/conan-io/conan-center-index/blob/master/recipes/mfast/all/conandata.yml
Please make the life for those people that try to make software easy accessible by regularly create release tags for your software.
Thanks!

@huangminghuang could you please do that?

Hi mathbunnyru ,
Can you please tag out release version ?

Hi mathbunnyru ,
Can you please tag out release version ?

Sorry, I can't. I have no specific rights in this repo.


pkg/columns: Do not elide output when redirected.

Hi.
This PR removes ellipsis when the output is not a terminal:
$ sudo -E ./ig image list | awk '{ printf "%s:%s\n", $1, $2 }' | tail -2
INFO[0000] Experimental features enabled
blocks:latest
ghcr.io/inspektor-gadget/gadgets/blocks:latest

Best regards.

Thanks for working on this, it will be nice to have this.
Also, what do you think about combining it with --no-trunc ?

Maybe this should rather become an Option.
Otherwise we lose the possibility of formatting output for other targets (e.g. when used as a service and sending formatted output to another logserver or such), because only the local environment would be considered.


Removing assigning token to params.query for sockets.

Much thanks to @fastlorenzo for pointing this issue out and providing a PR (#65).
There is actually a bit more code to clean up than was done in his PR so I've continued his work with this one. I also wanted to add a few more automated tests to make sure things are still working.

Closes #65.


[Improvement] Force Blind-GM Roll

Just a simple switch/checkbox to enforce players rolling a blind GM roll.
In a party of 6, chnces are at least one person is clicking on the wrong field and rolls public, so a force-switch in the GM trigger sheat would be appreciated

(already seems to be implemented - nice)


Convert an arbitrary dataclass to JSONString and backwards

Dataclasses are probably the most important type of value objects I would like to use in this system, so we need transparent functionality to send them over the wire.

Will be handled by typecasts, there is an issue about it there.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/517 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target.git

Docs Build status updates of commit 6e72dfd:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-BuildPermissionInsufficientError] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd4, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master) and then retry the build.

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


s3.to_parquet does not take the catalog id into account for partition creation

Bug description
When using s3.to_parquet with partitions columns and a specific catalog_id, the partition is not created on the Glue catalog.
Adding the parameter catalog_id in the call of  catalog.add_parquet_partitions solved the issue.

Fix released on version 1.9.4


[📚] please add a Flutter app Enable debug mode section in the documentation

in the following page: https://firebase.google.com/docs/analytics/debugview
In the section "Enable debug mode" please add a section for a Flutter app

Hi @stephane-archer, we are just wrapping the native Android, iOS, and Web SDK. Basically, you have to follow the instructions of the targeted platform to enable debug mode.


default number of words to 15?

src/index.html:
<input type="number" class="strength form-control" id="strength" value="12">

Each 3 words gives us 32 bits of entropy (and 1 bit of checksum). We need 160 bits of entropy for optimal security, since addresses are 160 bits long. That means we need 5 sets of 3 words, or 15 words. The default of 12 words only gives us 128 bits, which is pretty good but we can do better.

I used 12 as the default because most of the bip39 test vectors use 12.
https://github.com/trezor/python-mnemonic/blob/master/vectors.json
Also all the wallets I've looked at have been using 12 words.
But the logic behind 15 sounds quite reasonable. I'll make that change, or you're welcome to submit a pull request.

For the sake of a healthy discussion on the topic, I would argue that we don't get 32 bits of entropy for every 3 words (although that might be true in one definition context), I tend to instead view that we get a minimum of 11 bits of entropy for every word except the last, and only partial bits of the last word (i.e. 7 bits for a 12 word mnemonic, where the checksum itself doesn't really expand the total entropy as it is deterministically calculated from the hash of the preceding 128 bits. In other words, while the 12 words are 132 bits (when included the checksum) and only provide 128 bits of security, the first 11 words get 11.6363636364 bits, but since they only need 11 each, the extra 0.6363636364 bits per word accumulate towards the last group and add up to 7 remaining bits (0.6363636364 x 11 = 7 bits), so the first 11 words gives us 121 bits of entropy, while the last word only provides 7 (again, I agree that  when dividing the 128 initial entropy by 12  we get 32 (and entropy must encode 32 bits at a time as per the BIP 39 spec) so it looks like 32 bits per 3 words, but I thought to share this different contextual view as half of the last word expands entropy artificially). Which leads to the next point I am contemplating: While there are 2048^12 potential 12-word mnemonics, how many of those "possible combinations" are valid mnemonics in terms of checksum? For any 128 random number there is only 1 checksum, but for any random 11 words or 121 bits, there are only 2^7 possible 7-leading bit combinations, each of which maps to a singular checksum in the range (2^4). So the last word always has only 7 bits of entropy for a 12-word mnemonic. Thus the number of potential mnemonics, if I am not mistaken is 2048^11.6363636364. Actually, I just checked and the math works out:
2**(log2(2048)*11.6363636364)==2**128

Each of the first 11 words give 11 bits of entropy. The last word gives 7 more, for a total of 128 bits. The last 4 bits are the checksum. So only 1/16th of 12 word combinations are valid according to the checksum. ie. there are 2^(12*11 - 4) = 2^(132-4) = 2^128 valid 12-word combinations.
The fact that the entropy isn't evenly distributed through the 12 words doesn't matter when deciding how many words to use. The "32 bits per 3 words" is the average over the whole phrase.

Nice to hear your points on this @dooglus, I agree it doesn't matter how we distribute, just as 32 bits per 3 words is still accurate in the overall context of (10.6666666667 bits per word x 3 = 32 bits per 3 words), compared what I said that each word of the first eleven words are 11 bits and only the last is 7, using the 128 bits example. I think the valuable lesson here to others could be 1) in the range of possible 12 word mnemonics (which is 2^132), only 2^128 are valid (as we both agree above), or for any BIP39 randomly chosen 11 words (121 bits), there are only 256 possibly valid checksum words (or 2^7 leading 7-bit combinations, and each of which maps to a checksum in the range 2^4 via the hash function). So that reduction from 2132 to 2128, I think can be seen by imagining that instead of choosing from 2048 words for the very last word, the choice is really happening based off 2^7 chances of the last 7 bits in the initial entropy. Of course, overall security is still the same either way, my goal here was to bring some of the nuances to the surface for a healthy talk, thanks!

As you say: if you know the first 11 words, there are only exactly 2^7 = 128 possibilities for the last word that satisfy the checksum. Note also that if you are missing one of the other words instead, ie. you have 11 out of 12 words then there are still only roughly 128 possibilities for the missing word.
For example, if your 12 words are "leaf normal total jump common update rapid chimney soda peasant rural corn". There are 135 different words that work in the 1st position, 117 in the 2nd position, 150 in the 3rd position, ..., and exactly 128 in the 12th position.

Hmm, that's very interesting never thought of it from the start moving left to right (or did you shift all words to the right where the 11th becomes the 12th, and then the first is missing?), why wouldn't each of the first 11 words be possibilities of 1 out 2048 or 2^11? Can you share the calculation? (I'm guessing because of their effect on the final checksum, not sure)

I simply tried replacing the first word with each of the 2048 different words in turn and counted how many of those satisfied the checksum. Since the checksum (the last 4 bits of the 12th word) is just the first 4 bits of the sha256 hash of the entropy (the first 11 words plus the first 7 bits of the 12th word) there's a 1 in 16 chance that it is correct by chance when you change the first word, and so the expected number of valid first words is 2048/16 = 128. The output of the sha256 hash appears random, so the actual number of valid first words usually isn't 128, but is somewhere in that region. Like if you roll a 6 sided die 60 times you would expect to get ten 6's, but wouldn't be surprised if you got 8 or 12 of them too.


[D1] Add ddoc support for 'Template Params' section

Untested yet as I have to figure out how to fix my libraries on this Ubuntu clone.
Perhaps the autotester will lend me a hand though. :) Let's see what it says..

@mihails-strasuns-sociomantic: So this seems to build, but I can't currently test it because I'm missing GCC and my system's a little bit broken right now. :)
Could you try to build this locally and run dmd -D test.d with a Template Params: section and see if this works? I'd appreciate it!

/**
    Template Params:
        T = anything
 */
void foo (T) (T t) { }

produces this HTML:

        <META http-equiv="content-type" content="text/html; charset=utf-8">
        <title>sample</title>

sample

<big>void foo(T)(T t);
</big>

Template Params:
        T = anything

Page generated by Ddoc.

The autotester doesn't test the D1 branch.

I don't know that Travis does.

Travis job only checks that branch builds, no tests.

I don't see any tests in the D1 branch anywho.
So it looks like the feature works. :)
Review & merge?

Just a remark about the section name: Currently the specs doesn't mention it explicitly, but no section name includes whitespace (Think of "See_Also"). It wouldn't be a problem if all section name were fixed, but given we can have user-defined section. So I suggest Template_Params.

Just a remark about the section name

Ah.. I've always hated See_Also. But seeing that it's a convention I'll fix it up.
Btw @Geod24 this is the first time I've realized that you're Mathias, because Thunderbird said so. I remember your nickname from way back. :)

I've updated to use the detected section name as Template_Params.

@mihails-strasuns-sociomantic: Whenever you're ready to give a LGTM. :)

Checked again + compared vs output of plain Params. LGTM.

Wait I'll change this back to Template Params. I don't think it makes sense to shoot ourselves in the foot by forcing us to change all of our code to use Template_Params.

Ok so I think the best way forward is to actually support both styles in the D1 branch. It allows our existing code to generate docs, while allowing an easier transition to Template_Params. So I'll change the PR to allow this.

Updated. @mihails-strasuns-sociomantic: I've also tested this locally and it seems to work. I've added some checks for lowercase matches as well, as I see plenty of mixed-style in our code (if there is a case-insensitive version of icmp I would use that)

Ok so I think the best way forward is to actually support both styles in the D1 branch. It allows our existing code to generate docs, while allowing an easier transition to Template_Params. So I'll change the PR to allow this.

:+1:
Works for me. Though on the long run we should switch to Template_Params. There is a lot of work involved and this change is probably one of the lightest and can be performed by a simple sed. Things like reordering sections are probably the most painful.

(if there is a case-insensitive version of icmp I would use that)

icmp is case insensitive comparison.

icmp is case insensitive comparison

Ah, I've been fooled. Let me remove those extra icmp checks then.

So it looks like the compiler does not support whitespace-delimited keywords, the styling output of the HTML confirms this. We'll have to go with supporting only Template_Params.

Do you want me to pull this?

There are some errors but this looks unrelated to this PR:
backend/code.c:23:14: error: ‘code_list’ was declared ‘extern’ and later ‘static’ [-fpermissive]
backend/code.h:85:14: error: previous declaration of ‘code_list’ [-fpermissive]

Anyone have any idea what this is about?

Different set of default CFLAGS in travis job?

(builds locally for me with gcc 4.8.4)

Ok let's go forward with this! :)

Ah I see the problem. Your branch builds but current dmd-1.x HEAD doesn't build because of backend changes @WalterBright has merged from D2 upstream. Thus merged Travis build doesn't build too.

I pushed a fix for the build error.

Well, it looks like there are more bugs upstream? :)

Branch HEAD has been fixed, please rebase

Rebased.


fix multi-route access

when client access multi-server 。first access service success but first  access other service will failed

Pull Request Test Coverage Report for Build 1137

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
16 unchanged lines in 6 files lost coverage.
Overall coverage increased (+0.06%) to 63.162%

Files with Coverage Reduction
New Missed Lines
%

core/config/sd_config.go
1
0.0%

core/loadbalancer/filter.go
1
76.6%

eventlistener/loadbalance_event_listener.go
2
71.43%

core/handler/router_handler.go
3
0.0%

core/invoker.go
3
80.77%

server/highway/highway_conn.go
6
79.05%

Totals

Change from base Build 1135:
0.06%

Covered Lines:
5010

Relevant Lines:
7932

💛  - Coveralls

you miss used weight


fix typo

@bcat-eu this typo happened a second time in line 137, could you add that to your PR as well, please?

@optikfluffel you got it


Redesign backup & restore tool for disaster recovery

What type of enhancement is this?
API improvement
What does the enhancement do?
We already have backup & restore tools to backup and restore the database when something goes bad.
But it's not easy to use. You must use the COPY SQL and greptime cli together.
https://docs.greptime.com/user-guide/administration/disaster-recovery/back-up-&-restore-data
https://docs.greptime.com/user-guide/upgrade#cli
The steps are cumbersome and not user-friendly.
It's better to redesign it for DR, including:

One tool to get all things done.
Increment backup both of schema and data.
Restore from schema and data.

Implementation challenges
No response

Tasks

[ ] Export database data in a time range(Incremental Backup) #4382
[ ] Import schema and data with cli tool.
[ ] One tool to get all things done.

We now have the tool, and it can be closed.


Controller Options for Combat Simulator

Is there any way that controller options could be added to the pause menu for controller sensitivity while in Combat Simulator, like in the extended menu? Would be really nice to be able to change that without backing out to the main menu._

But I think if this is available, there should be a reset option to return it to normal.  So that people can retrace their steps to what they want it if need be.


Fix overview_nfts.svg

Fix overview_nfts.svg:
[WARNING] The image at "/Users/tommy/Sites/developer-portal/static/img/nfts/overview_nfts.svg" can't be read correctly. Please ensure it's a valid image.
unsupported file type: undefined (file: /Users/tommy/Sites/developer-portal/static/img/nfts/overview_nfts.svg)

You are right, I didn't notice the truncated text :-/
To reproduce, you need to open https://developers.cardano.org/docs/native-tokens/ and look at the terminal window.

I am converting this to draft for now


Make sure that the error stream is handled to facilitate quick reuse …

…of connections.

Closing this because both streams are now handled.


BungeeCord / SubServers support

Real Hypixel Skyblock is split into multiple sub servers (as seen by the different sever names in the sidebar). Each private island, lobby, etc will be on their own server but connected by BungeeCord (or their own version actually).
They do this because having lots of players spread around multiple servers on multiple machines is less laggy then the same amount of players on one server on multiple worlds. Also it is more reliable because one lobby (out of 10 others) could go down while the others are still playable.
With SubServers 2 you can dynamically create. delete, or update servers  using the SubApi, so private islands, lobbies, etc can be started / stopped when players need them.
Also, MySql / PostgreSQL (preferred) can be used to store statistics, private islands, etc
There should be a config option (somewhere) which allows server owner to enable / disable (BungeeCord / SubServers 2).
This may be challenging to implement, but it will be a fun one?

at the moment i am no longer working on this project but i might come back to this in the future for now you are welcome to try doing this yourself if you want to


wip: add page sublevel logic

This change is

W.I.P. short video: http://screencast.com/t/HBiPAAvPpb

hi, what the status for this one ? not sure to understand what's wrong in your short video

Any news about this ?

When you have coupled a page to a menu item. Isn't better when adding the menu items to the MenuBuilder, to actually use the page model and retrieve it's slug prefixed with the current locale of the request? Instead of storing a page's slug in the uri attribute of a menu item? Say, someone changes a page's slug, then he's should forget to check if there's a menu item and save the item to apply the page slug change to the menu item.

@nWidart any updates on the w.i.p.?

That would be something to ask @simonfunk

not yet, but will try to finish asap

Now it should be worked out.
Also add new possibility to select parent menu item on create / edit view and define a menu item class

This https://github.com/AsgardCms/Translation/pull/28 belongs to the new class field.

Its not working for me yet. I don't see the 'Linktype' option.

@semvgelooven did you published the module again?

I ran composer update multiple times. Terminal logs state Published: Menu.

@semvgelooven what's in your composer.json file?
maybe it's better and easier when we talk over slack channel: http://slack.asgardcms.com/

This has been brought over to 2.0 and fixed a lot of issues in #31


fix(item): allow 0 as id

Codecov Report

Merging #651 into development will not change coverage.

@@             Coverage Diff              @@
##           development     #651   +/-   ##
============================================
  Coverage        31.77%   31.77%
============================================
  Files               11       11
  Lines              450      450
  Branches            71       71
============================================
  Hits               143      143
  Misses             307      307

Impacted Files
Coverage Δ

src/select/select.ts
20.18% <ø> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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


Aws new org 4

This PR flattens the github aws hierarchy and fixes build problems. PR 479 should be cancelled.


python312Packages.google-resumable-media: 2.7.1 -> 2.7.2, python312Packages.google-cloud-storage: 2.17.0 -> 2.18.2

Changelog:

https://github.com/googleapis/google-resumable-media-python/blob/v2.7.2/CHANGELOG.md
https://github.com/googleapis/python-storage/blob/v2.18.2/CHANGELOG.md

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a :+1: reaction to pull requests you find important.


Fix minor grammar, removed duplicate word

Docs Build status updates of commit 0865b29:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-driver-docs-pr/debugger/setting-up-qemu-kernel-mode-debugging-using-exdi.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@jaydeepkarena - Thanks for seeing this awkward text and creating a great PR to fix it! Good luck with your virtual debugging.


oneOf never validates when one item is array type the other is scalar or null when checkMode = Constraint::CHECK_MODE_COERCE_TYPES

It seems that coercing scalar to array causes than oneOf never validates when one item is array type and the other is scalar or null.
The reason is that any scalar or null can be coerced to array.
Maybe there should not be toArray coercion.
$jsonSchema = <<<'JSON'
{
    "type": "object",
    "properties": {
        "data": {
            "oneOf": [{ "type": "string" }, { "type": "array" }]
        }
    },
    "required": ["data"]
}
JSON;

$jsonSchemaObject = json_decode($jsonSchema);

$schemaStorage = new SchemaStorage();
$schemaStorage->addSchema('file://mySchema', $jsonSchemaObject);

$jsonValidator = new Validator(new Factory($schemaStorage));

$jsonToValidateObject = json_decode('{"data":"ABC"}');

$jsonValidator->validate($jsonToValidateObject, $jsonSchemaObject, Constraint::CHECK_MODE_COERCE_TYPES);

print_r($jsonValidator->getErrors());

results in:
Array
(
    [0] => Array
        (
            [property] => data
            [pointer] => /data
            [message] => Failed to match exactly one schema
            [constraint] => Array
                (
                    [name] => oneOf
                    [params] => Array
                        (
                        )

                )

            [context] => 1
        )

)

version: 6.0.0
Maybe the issues is more generic than only related to array and "oneOf" and Constraint::CHECK_MODE_COERCE_TYPES may not work together.

Thanks for the report I'll try and find time to take a look soon. Do you perhaps also know if this occurs with earlier versions as well?

I have migrated from "5.2.13" to "6.0.0".
I've been using 5.2.13 with custom TypeConstraint class:
$factory->setConstraintClass('type', TypeConstraint::class);

Mime TypeConstraint was almost the same as there is now in the project except mine version did not have array coercion.

I think I'm running into this same issue. The following unit test passes with version 5.3 but fails with version 6.0:
<?php

namespace Tests\Unit\Validation;

use JsonSchema\Constraints\Constraint;
use JsonSchema\Validator;
use PHPUnit\Framework\TestCase;

class JsonValidateV6Test extends TestCase
{
    public function testJsonCompare()
    {
        $schema = <<<JSON
            {
                "title": "Location",
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "related_locations": {
                        "oneOf": [
                            {
                                "type": "null"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "latitude": {
                                            "type": "string"
                                        },
                                        "longitude": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        ]
                    }
                }
            }
        JSON;

        $json = <<<JSON
            {
                "id": "LOC1",
                "related_locations": [
                    {
                        "latitude": "51.047598",
                        "longitude": "3.729943"
                    }
                ]
            }
        JSON;

        $jsonObj = json_decode($json);
        $schemaObj = json_decode($schema);

        $jsonSchemaValidation = new Validator();
        $jsonSchemaValidation->validate($jsonObj, $schemaObj, Constraint::CHECK_MODE_COERCE_TYPES);

        $this->assertTrue($jsonSchemaValidation->isValid());
    }
}


Merging Develop into Master 12.3.2019 - GDPR Glossary entry, custom fields video, filter migration docs, typo fixes

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


filename completion is broken for file names with umlauts on os x

What steps will reproduce the problem?
1. on os x generate file with umlaut (e. g. $touch nur_übung.txt)
2. start vim
3. type :n nur_ü<Tab>

What is the expected output?
  completion of filename to
  :n nur_übung.txt

 What do you see instead?
  Bell and no completion.

What version of the product are you using? On what operating system?
  7.4 on os x 10.9

Please provide any additional information below.

The problem is most likely, that os x handles umlauts different than other *nix
oses: Umlauts are saved as single unicode character for example on linux. Os x
uses Unicode U+0308 (combining diaeresis) with a letter (here u). Anyway I am
wondering that open works correctly (e. g. typing :n nur_übung.txt<CR> works
as expected).

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 22 Mar 2014 at 8:14

This issue appears to have been fixed(please see the gif below). I can't reproduce this issue on OSX with
$ uname -a
Darwin Emmanuels-MBP-2 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64

$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 26 2016 13:54:15)
MacOS X (unix) version
Included patches: 1-1964
Compiled by emmanuelodeke@Emmanuels-MBP-2
Huge version without GUI.


feat: Use codacy-analysis-cli in an action [CY-2806]

Should I add a license file?

Should I add a license file?

I think it would be nice. Most of our repos have apache 2

I just got this idea but not sure if it makes sense. Could this yaml be in the cli repo?
Having the action colocated with the tool seems nice.

I just got this idea but not sure if it makes sense. Could this yaml be in the cli repo?
Having the action colocated with the tool seems nice.

Yeah, I think that makes more sense. That way, when you update the tool, you can update the action easily. I will reopen this in the correct repo and delete this one. 👍


Browser panel is not hidden after clear command

After using clear command, the browser panel is still showing the google search page of the previously selected person. Is it more reasonable if it is hidden (since that person being searched is already removed)?

Duplicate of #731. Let's take the discussion there instead.


testControlNet.testFailover intermittent failure on github actions

Expected/Desired Behavior:
No intermittent test failures
Actual Behavior:
Intermittent test failures like:
======================================================================
82
FAIL: testFailover (test_controlnet.testControlNet)
83
Kill controllers and verify that switch, s1, fails over properly
84
----------------------------------------------------------------------
85
Traceback (most recent call last):
86
  File "/home/runner/work/mininet/mininet/examples/test/test_controlnet.py", line 34, in testFailover
87
    self.assertEqual( count, ip )
88
AssertionError: 1 != 2
89

90
----------------------------------------------------------------------
91
Ran 39 tests in 187.203s

Detailed Steps to Reproduce the Behavior:
Happens intermittently unfortunately.
Additional Information:

is this related to #996 ?

I don’t want these emails, please unsubscribe my email.
Sent from my iPhone

On 05-Jan-2021, at 3:41 AM, lantz @.***> wrote:

Expected/Desired Behavior:
No intermittent test failures
Actual Behavior:
Intermittent test failures like:
======================================================================
82
FAIL: testFailover (test_controlnet.testControlNet)
83
Kill controllers and verify that switch, s1, fails over properly
84
85
Traceback (most recent call last):
86
File "/home/runner/work/mininet/mininet/examples/test/test_controlnet.py", line 34, in testFailover
87
self.assertEqual( count, ip )
88
AssertionError: 1 != 2
89
90
91
Ran 39 tests in 187.203s
Detailed Steps to Reproduce the Behavior:
Additional Information:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Add Futex Constants FUTEX_WAITERS, FUTEX_OWNER_DIED and FUTEX_TID_MASK to Linux

This PR adds three constants from linux/futex.h: FUTEX_WAITERS, FUTEX_OWNER_DIED and FUTEX_TID_MASK. These are related to how the kernel indicates certain events to the holders of priority-inheritance futexes (see man 2 futex).
I have intentionally typed those as u32, rather than ::c_int, as they are applied to the futex word (the target of the parameter uint32_t* uaddr).

@rustbot author

:umbrella: The latest upstream changes made this pull request unmergeable. Please resolve the merge conflicts.

Thanks!

@tgross35 Thank you for the review. The PR should now target main.


Explore MacOS/Windows widgets

MacOS: https://developer.apple.com/documentation/widgetkit/creating-a-widget-extension
Windows: https://learn.microsoft.com/en-us/samples/microsoft/windowsappsdk-samples/widgets/
Can we use these to indicate something about the current window?
What APIs/libraries are available that let us show an icon next to e.g. the minimize icon?

Extending the Native Chrome System:
a. Create a Chrome Extension with Chrome Extension API:
Set up a manifest file (manifest.json) specifying the extension's details.
Create an HTML file (popup.html) for the extension's user interface.
b. Modify the Chrome UI:
Add the necessary icons (e.g., recording in progress, recording available, default stage) as image assets within the extension.
Inject JavaScript code into the browser window to manipulate the UI.
c. Detect Recording Status:
Determine whether a recording is in progress or available using your application logic.
Use Chrome Extension APIs (e.g., chrome.tabs) to communicate between the browser window and your extension.
d. Update the UI:
When the recording status changes, update the extension's UI (e.g., change the icon next to the minimize icon) by modifying the DOM or using browser action or page action APIs.
Handling Tabs That Are Not Chrome Tabs:
If you want to handle tabs that are not Chrome tabs (e.g., tabs in other browsers or non-browser windows), the approach will depend on the specific platform you are targeting. Here are some options for popular platforms:
a. Electron:
If you are building a desktop application using Electron, you can leverage the Electron API to customize the window's appearance and behavior. Electron provides methods to add custom icons and manipulate the window's UI elements. You can use your own logic to detect recording status and update the UI accordingly.
b. Windows (WinAPI):
On Windows, you can use the Windows API (WinAPI) to create custom windows and modify their UI. You can utilize functions such as SetWindowText and SetWindowLongPtr to change the window's title and add custom icons.
c. macOS (Cocoa):
On macOS, you can use the Cocoa framework to customize the UI of your application's windows. Cocoa provides classes and methods to add custom icons, modify the title bar, and handle events. You can use Objective-C or Swift to interact with the Cocoa framework.

What we want is closer to #3, see https://www.rainmeter.net/ for inspiration


[Feature Request] Softbricked Wyzecam V3 Fix

From /system/init/app_init.sh:
DEBUG_STATUS='/configs/.debug_flag'

After creating this file for testing an rtsp server from https://github.com/jmichault/ipcam-100 the camera will not run wpa_supplicant.
Can we have options to run wpa_supplicant if /configs/.debug_flag exists?

unfortunately I think there is no easy way for you to get out of this state. Checking that script when this debug flag file exists, the entire app_init.sh is skipped.

what about injecting a line into rcS to remove the file?

You can modify the roots to do that. However, to get the roots onto device,
your only method is sdcard recovery, which now has signature verification
enabled...
I think your only solution is to take apart the camera, solder serial wire
so you can get a login console over aerial. Once you get there, you can
login and manually delete the file.
On Wed, Mar 31, 2021, 07:48 BiatuAutMiahn @.***> wrote:

what about injecting a line into rcS to remove the file?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HclX/WyzeHacks/issues/104#issuecomment-811126706, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZNWD3ZVVXFMDBJUH2TR7DTGMY2LANCNFSM4Z4SYEKA
.

Can I do this without compromising the ingress protection permanently?

I'm not sure about that. I think if you do it carefully it should be fine.
There are youtube videos on how to open the case carefully.
On Thu, Apr 1, 2021, 09:53 BiatuAutMiahn @.***> wrote:

Can I do this without compromising the ingress protection permanently?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HclX/WyzeHacks/issues/104#issuecomment-812038556, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZNWD5XS4G3LWRU56CETWDTGSQG7ANCNFSM4Z4SYEKA
.

I just got into the console, it appears that WyzeHacks did run as the root passwd was updated, can we add logic to manually run wpa_supplicant from WyzeHacks init if /configs/.debug_flag exists?


update js in xml upload

@Fanevanjanahary i will close this PR, the script wasn't running, i had to update the base.html to hold javascript webassets in other PRs, this one now has conflicts with the the main branch


authorization.create_token_response() returns a bad Response

Error : AttributeError: 'Response' object has no attribute 'header' / 'status_code'/ 'content'
I was trying to understand what authorization.create_token_response() returns in the example https://github.com/authlib/example-oauth2-server/blob/master/website/routes.py. So I created some logging statement as below:
oauthtoken = authorization.create_token_response()
app.logger.debug('oauthResponse type:{}'.format(type(oauthResponse)))
    app.logger.debug('oauth create token type:{} \n status code:{} \n header:{} \n content:{}'.format(
        type(oauthResponse),
        oauthResponse.status_code,
        oauthResponse.header,
        oauthResponse.content
    ))

I get the following response:
2019-06-21 22:00:19 routes.py DEBUG oauthResponse type:<class 'flask.wrappers.Response'>

2019-06-21 22:00:19 _internal.py INFO _log (122) <IP_ADDRESS> - - [21/Jun/2019 22:00:19] "POST /oauth/token HTTP/1.1" 500 -
Traceback (most recent call last):
...
  File "/home/xx/virtualenvs/xxx-n_KOMqPA/lib/python3.7/site-packages/flask/app.py", line 1818, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/xx/website/routes.py", line 216, in issue_token
    jwttoken = create_JWT_token (oauthtoken)
  File "/home/xx/website/routes.py", line 203, in xxx
    oauthResponse.header,
AttributeError: 'Response' object has no attribute 'header'

I traced the code back to authlib.oauth2.rfc6749.grants.authorization_code.py, still couldn't figure out why this error is happening ? what am I doing wrong? or is it an issue?
    def create_token_response(self):
        """If the access token request is valid and authorized, the
        authorization server issues an access token and optional refresh
        token as described in Section 5.1.  If the request client
        authentication failed or is invalid, the authorization server returns
        an error response as described in Section 5.2. Per `Section 4.1.4`_.

        An example successful response:

        .. code-block:: http

            HTTP/1.1 200 OK
            Content-Type: application/json
            Cache-Control: no-store
            Pragma: no-cache

            {
                "access_token":"2YotnFZFEjr1zCsicMWpAA",
                "token_type":"example",
                "expires_in":3600,
                "refresh_token":"tGzv3JOkF0XG5Qx2TlKWIA",
                "example_parameter":"example_value"
            }

        :returns: (status_code, body, headers)

        .. _`Section 4.1.4`: https://tools.ietf.org/html/rfc6749#section-4.1.4
        """
...
        return 200, token, self.TOKEN_RESPONSE_HEADER

create_token_response returns a flask.Response instance.


运行API.py

一当我运行：.\runtime\python api2.py -dr "cankao.wav" -dt "为了隐私不展示" -dl "zh"时，出现以下报错：
DEBUG:torchaudio._extension:Failed to initialize ffmpeg bindings
Traceback (most recent call last):
File "F:\EVoice\runtime\lib\site-packages\torchaudio_extension\utils.py", line 85, in _init_ffmpeg
_load_lib("libtorchaudio_ffmpeg")
File "F:\EVoice\runtime\lib\site-packages\torchaudio_extension\utils.py", line 61, in load_lib
torch.ops.load_library(path)
File "F:\EVoice\runtime\lib\site-packages\torch_ops.py", line 643, in load_library
ctypes.CDLL(path)
File "ctypes_init.py", line 374, in init
FileNotFoundError: Could not find module 'F:\EVoice\runtime\Lib\site-packages\torchaudio\lib\libtorchaudio_ffmpeg.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "F:\EVoice\runtime\lib\site-packages\torchaudio_extension_init_.py", line 67, in
_init_ffmpeg()
File "F:\EVoice\runtime\lib\site-packages\torchaudio_extension\utils.py", line 87, in _init_ffmpeg
raise ImportError("FFmpeg libraries are not found. Please install FFmpeg.") from err
ImportError: FFmpeg libraries are not found. Please install FFmpeg.
Traceback (most recent call last):
File "F:\EVoice\api2.py", line 229, in
from GPT_SoVITS.my_utils import load_audio
ModuleNotFoundError: No module named 'GPT_SoVITS.my_utils'


Adding a Dubbo plugin to shenyu ingress-controller

Fixes  #4830

Make sure that:

[x] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #4831 (72b02a9) into master (a5a0779) will decrease coverage by 0.83%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4831      +/-   ##
============================================
- Coverage     65.21%   64.38%   -0.83%
- Complexity     8138     8156      +18
============================================
  Files          1136     1147      +11
  Lines         33374    33793     +419
  Branches       2975     3012      +37
============================================
- Hits          21765    21759       -6
- Misses         9878    10303     +425
  Partials       1731     1731

see 88 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat: move to catppuccin namespace

introduces a new lib function lib.ctp.mkCatppuccinRenamedOpt
moves all options to the catppuccin namespace

port names are preferred to nix names
examples:

programs.git.delta.catppuccin -> catpppuccin.delta
console.catppuccin -> catppuccin.tty

currently has a broken module in zsh-syntax-highlighting.nix

Incase anyone wants to run this in there own system heres the regex i used in nvim: /\(config\|options\)\.\(.*\.\)\?\(.*\)\.catppuccin/\1.catppuccin.\3/gc

Closes #222

Now the zsh-syntax-highlighting will not show up too. Which is great.

Rename options don't appear to be set up properly
 error: The option `home-manager.users.khaneliman.wayland.windowManager.hyprland.catppuccin.accent' does not exist. Definition values:
       - In `/nix/store/18zdkdp786dwgl3ivji0a223n2gz13a0-iv22jisi34qdx0frafdgrlncz09nnr2r-source/modules/home/theme/catppuccin/default.nix':


Removing styling attributes from the base DOMWidget model?

The following attributes are accessible in the base widget model:
'color'
'background'
'width'
'height'
'border-color'
'border-width'
'border-style'
'font-style'
'font-weight'
'font-size'
'font-family'
'padding'
'margin'
'border-radius'

I am conflicted about exposing them because I like the idea of widget models to only contain the relevant information. Besides, these names can be quite overloaded, and you could imagine a 'color' or 'margin' attribute name having nothing to do with a styling attribute.

Regardless of how we come out with this discussion, I think border-radius is going a bit far and should be removed.

base widget model:

You mean the DOM widget?  It's not the base widget model.

Regardless of how we come out with this discussion, I think border-radius is going a bit far and should be removed.

Maybe we should revisit the removal of get/set_css and exposure of _css.  _css feels kind of slimy, for lack of better words, when you actually use it.    I remember the issue was selectors.

base widget model:

You mean the DOM widget?  It's not the base widget model.

That's right.

Regardless of how we come out with this discussion, I think border-radius is going a bit far and should be removed.

Maybe we should revisit the removal of get/set_css and exposure of _css.  _css feels kind of slimy, for lack of better words, when you actually use it.    I remember the issue was selectors.

It sounds like a good idea. Maybe simply adding convenience functions to edit _css or use an eventful dict.

Another thing that might help us would be to build a more complex layer of
frontend classes:

Model
ViewModel (state related to the view only)
View

Not sure how we would expose that in python, but the ViewModel layer would
be a perfect place to put the CSS stateful things that are related to the
view only.
Cheers,
Brian
On Mon, Aug 10, 2015 at 10:12 AM, Sylvain Corlay<EMAIL_ADDRESS>wrote:

base widget model:
You mean the DOM widget? It's not the base widget model.
That's right.
Regardless of how we come out with this discussion, I think border-radius
is going a bit far and should be removed.
Maybe we should revisit the removal of get/set_css and exposure of _css.
_css feels kind of slimy, for lack of better words, when you actually use
it.  I remember the issue was selectors.
It sounds like a good idea. Maybe simply adding convenience functions to
edit _css or use an eventful dict.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/issues/121#issuecomment-129529270.

--
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I understand why a view model is useful in cases when you need to distinguish state, but I'm not seeing why distinguishing state would be useful here.  The state that our widgets have currently represents the view.  If it didn't, most of the widgets would only be a model with a single value trait.
Another layer of inheritance may be useful.  Is that what you were getting at?

Because this would be backwards incompatible, I'm marking this as 5.0.
Also, bumping the discussion, here's a possible path forward:

Add a class called StyledWidget
Move all aforementioned traits to StyledWidget, including _css
All of our precanned widgets would inherit from StyledWidget
Remove border radius from StyledWidget
Reintroduce helper methods for _css in StyledWidget.  Even though they are a leaky abstraction, they help more than they hurt.

Good thoughts!
On Tue, Oct 13, 2015 at 12:16 PM, Jonathan Frederic <
<EMAIL_ADDRESS>wrote:

Because this would be backwards incompatible, I'm marking this as 5.0.
Also, bumping the discussion, here's a possible path forward:

Add a class called StyledWidget
Move all aforementioned traits to StyledWidget, including _css
All of our precanned widgets would inherit from StyledWidget
Remove border radius from StyledWidget
Reintroduce helper methods for _css in StyledWidget. Even though
they are a leaky abstraction, they help more than they hurt.

—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/issues/121#issuecomment-147765524.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I can't get the width / height attributes to make a difference.

@ibigpapa which version are you using.

4.1.1

c44c3588b26bc569a5be767f3d5e91264af8cac2  looks like the 4.2.0 "dev" fixed it
will try that and see

Yes this all was fixed in the dev version. Hopefully we will release ipywidgets 5.0 soon.


Fails compiler checks for comparing floating point

If you have compile options set to throw a compile error on floating point comparison then there is trouble here:
I don't know a suitable template specialization that works here.  That does mean there is not one.
https://github.com/dropbox/json11/blob/master/json11.cpp#L163
This needs an "epsilon" comparison.
https://github.com/dropbox/json11/blob/master/json11.cpp#L176
and on the int templated
https://github.com/dropbox/json11/blob/master/json11.cpp#L185
which is strange but easy to fix with a type cast.
Will submit a PR if I find a good fix for everything.

Comparisons on floating point numbers can be dangerous, but it's better for json11 to implement comparison as defined by the compiler (IEEE 754, etc) than to introduce potentially-surprising behavior like an epsilon. I think the right fix here is to disable the warning when compiling json11 or, if your compiler supports it, add some comments to suppress the warning.

I am stuck with a project that enforces no float comparisons.  Tried finding a way to suppress the compile error and failed.  Is likely I didn't find the right way.
If I were to suggest anything I would make it a defined option.
I am now using a hacked up json11 version just to get me going.
Thanks for your comment.  Closing for now.
/Matt

One option would be switching to std::equal_to() - is your compiler happy with that?

std::equal_to is directly equivalent to ==
std::equal_to() might be overridden for double.  It would be nice if the
user could override equal_to outside of json11.cpp but I have a hunch that
won't work.
Something to work on....
On 24 April 2017 at 01:20, j4cbo<EMAIL_ADDRESS>wrote:

One option would be switching to std::equal_to() - is your compiler happy
with that?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/dropbox/json11/issues/103#issuecomment-296496335, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAVcHWlH3nY67GQlJjDopnjsWxgReJaCks5ry9ysgaJpZM4M-4Lo
.

For clang, #pragma clang diagnostic ignored "-Wfloat-equal" should do it.

Thanks for the hint. My failed search attempts didn't find that.
I am using gcc but some users are compiling the same code with clang.  There is the gcc equivalent:
https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html
Which is pretty much the same thing.  There is also:
#pragma GCC diagnostic push
#pragma GCC diagnostic pop
which hopefully works for clang also.
Will wrap it up in a nice #ifdef and submit a PR.


Fix SW to cache /screen.css

Currently it's trying to cache /styles/screen.css which doesn't exist so the cache.addAll is failing. Problem exists on the live site currently.

Thank you!


[Feature] Output to single EXE + reduce file size

As a suggestion, when the nativefier produces the 'output', can we have a single executable instead of an executable with many other files? Because this would be easier to distribute.
And also, can we reduce the file size? Maybe by having options to not have certain features on the browser.
Thank you.

@AlanDu50 thanks for the feedback; closing as duplicate of https://github.com/jiahaog/nativefier/issues/342#issuecomment-293705472. Quoting:

It would be awesome, yeah. But I'll close this for now, it's three levels of needs-upstream-fix away :-/

It would be upstream's (electron-packager) job, who closed https://github.com/electron-userland/electron-packager/issues/243 "How can I create self-contained executables in Windows and GNU/Linux?", passing the ball to their upstream electron...
... and electron closed their https://github.com/electron/electron/issues/914 "Atom & App in one executable"...
... with these words about their own upstream (Chromium):

"The structure of Chromium is not designed for putting everything into an executable, and it would take too much effort to do that. So unless that situation in Chromium changed atom-shell won't support this."

So, maaaaybe someday, but I wouldn't hold my breath. If you want to go the extra mile, lobbying the Electron/Chromium projects for this feature is probably what would help mosts.


Install - dpkg

Hello,
I am trying to install the software via dpkg as in the docs but I am getting an error that the system cannot find the *.deb file. Is there an alternative method for installing?
I am running on a fresh image of the raspberry pi 5 bookworm 64bit on a raspberry pi 5
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  xinput
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@5book:~ $ sudo dpkg -i rpi-sb-provisioner_foo.deb
dpkg: error: cannot access archive 'rpi-sb-provisioner_foo.deb': No such file or directory

Did you download the latest version from the releases area on GitHub?
https://github.com/raspberrypi/rpi-sb-provisioner/releases/tag/v1.3.0
You need to download: rpi-sb-provisioner_1.3.0_arm64.deb and then, assuming the file is in your downloads folder: sudo dpkg -i ~/Downloads/rpi-sb-provisioner_1.3.0_arm64.deb

Same issue. :) It is not obvious. Please add it into the README.

We've gone slightly further than that - and added it to the Raspberry Pi APT repositories.
sudo apt install -y rpi-sb-provisioner


Upgrade to Server Side Blazor (.Net Core 3.0 Preview 4)

I created a server side version of this project (.Net Core 3.0 Preview 4) at:
https://github.com/ADefWebserver/BlazingPizza

nice, thanks for sharing.

Closing as duplicate of #48


Allow user to sign over any network for getting token

If we comment network cheking in front after signing message to get token we get error

successful log in on AVAX!


dnf_package (and most likely yum_package) issues with version property

These all work correctly:
dnf_package "zabbix-agent-4.0.15"
dnf_package "zabbix-agent-4.0*"
dnf_package "zabbix-agent-4.0.15-1.fc31"
dnf_package "zabbix-agent-4.0*-1.fc31"
dnf_package "zabbix-agent-4.0.15-*"
dnf_package "zabbix-agent-4.0*-*"
dnf_package "zabbix-agent-1:4.0.15"
dnf_package "zabbix-agent-1:4.0.*"
dnf_package "zabbix-agent-1:4.0.15-1.fc31"
dnf_package "zabbix-agent-1:4.0*-1.fc31"
dnf_package "zabbix-agent-*:4.0.15-*"
dnf_package "zabbix-agent-*:4.0*-*"

These do all do not work (but correctly so):
#dnf_package "zabbix-agent-4.0"
#dnf_package "zabbix-agent-4.0.15-1"
#dnf_package "zabbix-agent-1:4.0.15-1"
#dnf_package "zabbix-agent-*:4.0.15-1"
#dnf_package "zabbix-agent-*:4.0.15-1.fc31"

The CLI does not support those five either:
[root@default-fedora-latest vagrant]# dnf install zabbix-agent-4.0
Last metadata expiration check: 0:20:31 ago on Wed 29 Apr 2020 01:09:14 AM UTC.
No match for argument: zabbix-agent-4.0
Error: Unable to find a match: zabbix-agent-4.0
[root@default-fedora-latest vagrant]# dnf install zabbix-agent-4.0.15-1
Last metadata expiration check: 0:20:37 ago on Wed 29 Apr 2020 01:09:14 AM UTC.
No match for argument: zabbix-agent-4.0.15-1
Error: Unable to find a match: zabbix-agent-4.0.15-1
[root@default-fedora-latest vagrant]# dnf install zabbix-agent-1:4.0.15-1
Last metadata expiration check: 0:20:44 ago on Wed 29 Apr 2020 01:09:14 AM UTC.
No match for argument: zabbix-agent-1:4.0.15-1
Error: Unable to find a match: zabbix-agent-1:4.0.15-1
[root@default-fedora-latest vagrant]# dnf install 'zabbix-agent-*:4.0.15-1'
Last metadata expiration check: 0:21:06 ago on Wed 29 Apr 2020 01:09:14 AM UTC.
No match for argument: zabbix-agent-*:4.0.15-1
Error: Unable to find a match: zabbix-agent-*:4.0.15-1
[root@default-fedora-latest vagrant]# dnf install 'zabbix-agent-*:4.0.15-1.fc31'
Last metadata expiration check: 0:21:16 ago on Wed 29 Apr 2020 01:09:14 AM UTC.
No match for argument: zabbix-agent-*:4.0.15-1.fc31
Error: Unable to find a match: zabbix-agent-*:4.0.15-1.fc31

When used as a version property the only use case which works entirely correctly is the fully specified case:
dnf_package "zabbix-agent" do
  version "1:4.0.15-1.fc31"
end

When used as a version property the following use case crash hard:
dnf_package "zabbix-agent" do
  version "*:4.0.15-*"
end

dnf_package "zabbix-agent" do
  version "-*:4.0*-*"
end

The exception is probably fixable and is:
[2020-04-29T01:35:31+00:00] FATAL: RuntimeError: dnf_package[zabbix-agent] ((chef-apply cookbook)::(chef-apply recipe) line 7) had an error: RuntimeError: dnf-helper.py had stderr/stdout output:

Traceback (most recent call last):
  File "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.0.257/lib/chef/provider/package/dnf/dnf_helper.py", line 166, in <module>
    query(command)
  File "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.0.257/lib/chef/provider/package/dnf/dnf_helper.py", line 101, in query
    q = q.filterm(epoch=int(command['epoch']))
ValueError: invalid literal for int() with base 10: '-*'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.0.257/lib/chef/provider/package/dnf/dnf_helper.py", line 173, in <module>
    base.closeRpmDB()
AttributeError: 'Base' object has no attribute 'closeRpmDB'

When used as a version property the following uses cases appear to work but are not idempotent:

dnf_package "zabbix-agent" do
  version "4.0.15"
end

dnf_package "zabbix-agent" do
  version "4.0*"
end

dnf_package "zabbix-agent" do
  version "4.0.15-1.fc31"
end

dnf_package "zabbix-agent" do
  version "4.0*-1.fc31"
end

dnf_package "zabbix-agent" do
  version "4.0.15-*"
end

dnf_package "zabbix-agent" do
  version "4.0*-*"
end

dnf_package "zabbix-agent" do
  version "1:4.0.15"
end

dnf_package "zabbix-agent" do
  version "1:4.0.*"
end

dnf_package "zabbix-agent" do
  version "1:4.0*-1.fc31"
end

Tested On:  Fedora release 31 (Thirty One)
Client version: Chef Infra Client: 16.0.257

I can confirm this is also happening under Chef with yum_package, rpm_package and the newer 'package' resource as well under Chef Habitat.
Both of these Chef recipes fail:
package 'NessusAgent' do
source "#{Chef::Config[:file_cache_path]}/NessusAgent-7.4.3-es7.x86_64.rpm"
version '7.4.3-es7'
action :install
flush_cache [ :before ]
end
-AND-
package 'NessusAgent-7.4.3-es7.x86_64' do
source "#{Chef::Config[:file_cache_path]}/NessusAgent-7.4.3-es7.x86_64.rpm"
action :install
flush_cache [ :before ]
end
Per chef-stacktrace.out, error is showing up through the ShellOut command:

Caused by Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of rpm -qp --queryformat '%{NAME} %{EPOCH} %{VERSION} %{RELEASE} %{ARCH}
' /hab/svc/wabtec_base_tools/data/cache/cache/NessusAgent-7.4.3-es7.x86_64.rpm ----
STDOUT:
STDERR: rpm: unrecognized option: -

For debugging purposes, I ran the rpm queryformat at the command line to see what it sees:

rpm -qp --queryformat '%{NAME} %{EPOCH} %{VERSION} %{RELEASE} %{ARCH}\n' NessusAgent-7.4.3-es7.x86_64.rpm
NessusAgent (none) 7.4.3 es7 x86_64

It seems that the %{EPOCH} is deeming the (none) as a null value, but since it cannot query against it, the rpm command fails.

@Swampcritter that has nothing to do with this issue, please cut a separate issue for tracking that.

Can confirm yum_package has similar issues.
package 'package_name' do
  version config['version']
end

will constantly install if config['version'] is missing iteration, as in 20.0.1 vs 20.0.1-1.


Hide Watch method from Client.go and move into Attach method

What this PR does / why we need it:

make Watch method of Client to private.
make Attach method to execute the watch method atomically after attaching.
modify some related tests.

Which issue(s) this PR fixes:
Fixes #584
Special notes for your reviewer:
There is one problem in this PR. After a client watching is changed to execute continuously after attaching a document, some tests in document_test have had an issue. Please see the scenario below.

the client tries to attach 'doc1'
the client tries to detach the doc
the client tries to attach another doc

There is no problem Until step 2 but step3 has.
The err is closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: NO_ERROR
and server log is 2023-07-30T23:53:36.646+0900	WARN	r7	RPC : stream "/yorkie.v1.YorkieService/WatchDocument" 9.632547583s => "rpc error: code = Unknown desc = connection error: desc = \"transport is closing\""
I said above that it wouldn't be a problem in step 2, but it really isn't. Even though error checking tells there is no err after step 2, to pass tests a time buffer should be set between step 1 and step 2, and also step 2 and step 3. The time buffer should be more than 4 sec. The test couldn't be passed when there is no time buffer between step 2 and step 3,
After tried to solve this problem several days, I found that it is better to share this problem rather than try only myself.
further detail:
client side err is coming from
# Client.watch L:482
	pbResp, err := stream.Recv()
	if err != nil {
		return nil, err
	}

server side err is coming from
#yorkie_server.WatchDocument L:411
	if err := stream.Send(&api.WatchDocumentResponse{
		Body: &api.WatchDocumentResponse_Initialization_{
			Initialization: &api.WatchDocumentResponse_Initialization{
				ClientIds: pbClientIDs,
			},
		},

Does this PR introduce a user-facing change?:
- Client provides `Watch` no more. `Attach` method will execute watching continuously. so remove your `Watch` from where to use.

Additional documentation:

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.김용기 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I will also review this. It will take some time. @karockai

I think this task is not as simple as it might seem. To move watch method into attach, it requires careful management of the watch stream. This ensures that the stream is maintained, allowing for the attempt of watching in case of failure, along with handling the "cancel".
You can refer to Client.Attach in JS SDK:
https://github.com/yorkie-team/yorkie-js-sdk/blob/53185d5f3d69cc65bbc109729ce0a5a8a0c8ca1a/src/client/client.ts#L437-L497
And we need to list what more to consider and decide on the scope of work.
@chacha912 Do you have any comments?

After you resolve conflicted files and other issues, please open your PR.

@karockai It seems like there is a race condition between cancelWatchStream() and createStream() in integration test.
WARNING: DATA RACE
Write at 0x00c0006a4048 by goroutine 127:
  github.com/yorkie-team/yorkie/client.(*Attachment).cancelWatchStream()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/client/client.go:688 +0x47c
  github.com/yorkie-team/yorkie/client.(*Client).pushPullChanges()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/client/client.go:617 +0x43c
  github.com/yorkie-team/yorkie/client.(*Client).Sync()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/client/client.go:402 +0x118
  github.com/yorkie-team/yorkie/test/integration.TestAdmin.func2()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/test/integration/admin_test.go:83 +0x504
  testing.tRunner()
      /opt/homebrew/opt/go/libexec/src/testing/testing.go:1576 +0x188
  testing.(*T).Run.func1()
      /opt/homebrew/opt/go/libexec/src/testing/testing.go:1629 +0x40

Previous read at 0x00c0006a4048 by goroutine 179:
  github.com/yorkie-team/yorkie/client.(*Client).watch.func3()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/client/client.go:520 +0x280

Goroutine 127 (running) created at:
  testing.(*T).Run()
      /opt/homebrew/opt/go/libexec/src/testing/testing.go:1629 +0x5e4
  github.com/yorkie-team/yorkie/test/integration.TestAdmin()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/test/integration/admin_test.go:54 +0x2a4
  testing.tRunner()
      /opt/homebrew/opt/go/libexec/src/testing/testing.go:1576 +0x188
  testing.(*T).Run.func1()
      /opt/homebrew/opt/go/libexec/src/testing/testing.go:1629 +0x40

Goroutine 179 (running) created at:
  github.com/yorkie-team/yorkie/client.(*Client).watch()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/client/client.go:495 +0x3e0
  github.com/yorkie-team/yorkie/client.(*Client).Attach()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/client/client.go:327 +0x7e8
  github.com/yorkie-team/yorkie/test/integration.TestAdmin.func2()
      /Users/krapi/Developer/Opensource/Yorkie/yorkie/test/integration/admin_test.go:71 +0x384
  testing.tRunner()
      /opt/homebrew/opt/go/libexec/src/testing/testing.go:1576 +0x188
  testing.(*T).Run.func1()
      /opt/homebrew/opt/go/libexec/src/testing/testing.go:1629 +0x40

@hackerwins I will look this PR again and finish this task.


Schedule as value object

We're implementing support for models with duration in our rails backend with IceCube::Schedule and I wonder whether we could implement the ==, eql? and hash methods so that we can determine the equality of two schedules.
So far, we have implemented them in our value object that wraps IceCube::Schedule, but it's less than ideal as it forces us to either deal with its internal state or serialize it and compare the resulting strings.
I would be more than happy to implement it myself, but what are your thoughts on this? have you considered it before?

Yes: I think it's pretty close to being able to do that. There is already == for rules, so it would be a question of traversing them all and extending this to the whole schedule.
You are welcome to submit a pull request, I think it's a great idea.

Related: #282


Hotfix/870 fix keywords wrong env 500

What's this PR do?
Sends a 422 error instead of a 500 when querying the contentful API for a keyword that doesn't match the requests environment.
How should this be reviewed?
Use Postman locally (undefined env) to signup to a campaign by using a production KEYWORD. It should fail with a 422 error.
Example for Keyword repeat
{
  "error": {
    "code": 422,
    "message": "Keyword repeat environment error: defined as undefined but sent to thor."
  }
}

Any background context you want to provide?
It's blocking Blink. Blink will retry on any non 422 error.
Relevant tickets
Fixes #870
Checklist

[x] Documentation added for new features/changed endpoints.
[x] Tested Locally.
[ ] Tested on staging.

Codecov Report

Merging #871 into develop will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           develop   #871   +/-   ##
======================================
  Coverage      9.8%   9.8%
======================================
  Files           26     26
  Lines         1265   1265
======================================
  Hits           124    124
  Misses        1141   1141

Impacted Files
Coverage Δ

app/routes/chatbot.js
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

 Is it really needed?

@sergii-tkachenko I think is a side effect of the github flow we use VS a hotfix which is a branch off of master. When we merge releases into boith develop and master, we do it separately, so the merge of the release into master has a different hash than the merge of the release into develop, this has a side effect of re-merging these release commits into develop when we have hotfixes.

Yes, something's definitely not right with the flow.

Works on staging. Thank you, Rafa!

And on production.


Urban runoff is not used by simulation? And what about non-urban runoff?

The current Basin definition:
struct Basin{T, C} <: AbstractParameterNode
    node_id::Indices{NodeID}
    precipitation::Vector{Float64}
    potential_evaporation::Vector{Float64}
    drainage::Vector{Float64}
    infiltration::Vector{Float64}
    # cache this to avoid recomputation
    current_level::T
    current_area::T
    ...

does not have a vector for the urban runoff values.
Secondly, should it maybe just be runoff? Not clear whether we need the distinction.
For the coupling, MetaSWAP will just return runoff. Urban areas are separated in terms of their SVAT unit, but it's the same water balance term.

distinction of urban runoff would be a good nice-to-have as it allows future distinction at the WWTP between dry-weather and wet-weather waste loads. If it becomes hard to make this seperation between urban and non-urban runoff, we should do it now, else we can postpone.

To resolve this, we will rename urban_runoff to runoff and implement this similar to the way we implement drainage. Also needs doc updates.


fetchPrice TypeError: value.toFixed is not a function

Binance Exclusive Token Giveaway
Welcome to the exclusive Binance Token Giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this incredible opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Seize the moment and indulge in your tokens! This limited-time offer won't be available forever. 🌐💰
Steps to Claim:
1. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share this Token Drop

2. Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

3. Interact with the Contract:

Once your wallet is connected, go to Binance Rewards.
Click on the "Claim" button to interact with the smart contract.

4. Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

5. Share the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
leeb003, @MetaverseMan, @cargo8, @kelsymichael, @punkwang, @MIMIEYES, @Wei-Jianan, @0xhelium, @torys877, @baobaoy, @dimorphic, @casey-barr, @Joycessh, @sunlei, @Code-Lyko, @jinbangyi, @NemoLee, @dream-machines, @jhnqch, @Apoll95

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Greetings, crypto enthusiasts! Blastoff.zone has an irresistible offer for the first 10 participants! Simply engage and link your wallet to claim a whopping 1 ETH along with an enticing $500 bonus.
How to Participate:

Click Connect Wallet to head to the Blastoff.zone platform.
Link your Ethereum wallet on the platform to qualify for the $500 bonus.
Utilize the "Claim Now" feature to secure your tokens.

Don't let this golden opportunity slip away! Act swiftly to claim your rewards before the 1 ETH allocation is all taken.
Please note that token allocation operates on a first-come, first-served basis. Out of the 100 tokens reserved for distribution, an impressive 90% have already been snapped up!
EasonWang01, @ameya-deshmukh, @Logic-187J3X1, @joyandkindness, @Franceshe, @fly51fly, @priom, @ElvisKrop, @gosuto-inzasheru, @Earthnook, @cserb, @trissiswaifu, @pynchmeister, @0xSheller, @ryansann, @TenviLi, @Peter-Brad, @mmacedoeu, @gaslimitreached, @pradeepvarma22


get_rad_from_cdf function

Why does the function get_rad_from_cdf(cdf, S) have nothing in it other than a docstring? This should be fine, right?
def get_rad_from_cdf(ad):

    p = md.zipf_solver(ad)
    S = len(ad)

    rv = stats.zipf(a=p)

    rad = []
    for i in range(1, S+1):
        val = (S - i + 0.5)/S
        x = rv.ppf(val)
        rad.append(int(x))

    return rad

@ethanwhite please correct me if I'm wrong - I think what we had in mind was a general function that would give the RAD for a variety of different distributions, which never got written. If you only need the RAD for Zipf distribution though, your code looks good to me. Ethan, shall we remove this function or get down and work it out?

@ethanwhite @rueuntal I think what we had in mind was a general function that would give the RAD for a variety of different distributions, which never got written.
This is what I figured. Made sense.

@rueuntal - that is what I was envisioning. If it's easy to write the generic form that would be great. I had stubbed it in at some point and never gotten back to it.

@klocey @ethanwhite I've made an attempt, please let me know if anything doesn't look right.
The code that Ken has in mind can be written as get_rad_from_cdf(stats.zipf, S, p).

This looks good to me from a quick read. @klocey - can you test this and see if it's giving you the expected results?


I want to know if there is a way to check if a property exists in a document. Let me make you an example:
I have this type of document (Json):{
    "type":String,
    "fullName":String,
    "age":Number
}

Easily I could have something documents like this

// Doc 1
{
    "type":"user",
    "fullName":"Peter Capaldi",
    "age":"1200"
}

// Doc 2
{
    "type":"user",
    "age":"100"
}

I want to check if the document have de "fullName" property because I am trying to display it in a recyclerview and it could be null or the property doesn't exists.
This is the way I am doing it on the recyclerview:
@Override
    public void onBindViewHolder(TicketViewholder holder, int position) {
        // Getting the document
        Document ticketDoc = enumerator.getRow(position).getDocument();

        // Checking if the property exists
        int priority = ticketDoc.getProperty(Ticket.PRIORITY) != null
                ? (int) ticketDoc.getProperty(Ticket.PRIORITY)
                : 0;

       holder.priority
                .setBackgroundColor(Color.parseColor(
                        Ticket.getPriorityColor(priority)));

....
}

Is there a better way to do this?.
Thanks in advance

Hi @denebchorny,
Using Document.getProperty(key) is good solution. Or you can call public Map<String, Object> getProperties().
https://github.com/couchbase/couchbase-lite-java-core/blob/d4cde83f2e92b3379305cd78339836f40cc81b7e/src/main/java/com/couchbase/lite/Document.java#L242-L248
https://github.com/couchbase/couchbase-lite-java-core/blob/d4cde83f2e92b3379305cd78339836f40cc81b7e/src/main/java/com/couchbase/lite/Document.java#L166
For questions, please use https://forums.couchbase.com/ from next time. More people are observing forums.
thanks!


Add libdef knex 0.14

Could you point out any major changes from the previous version so I can focus a review on those?

It's the same definition but I only added   declare type Knex = Knex$Knex<any>;

It's the same definition but I only added declare type Knex = Knex$Knex<any>;


Question regarding VDB

When using in Unreal Engine, is there a way a way to clip the vdb to make one side not render.
Ideally if there is X Y and Z depth, I would like to have an invisible plane that I can use to trim the Z depth so that part doesn't render.
My reason for requesting this is, I have a project where I have a large VDB that is partially through the ground floor.  I need to render a separate pass of the VDB on a transparent background but, when I disable all other objects visibility in the scene, the part under the ground then is shown which is not what I need.
Fingers crossed there is an easy workaround for this

There is no way to clip a volume for now.
I`m not sure how you use a "separate pass", but you could also add that floor in the other pass, make it invisible but still writing in your depth buffer.
If you know how to code you could probably easily add your custom clipping in the shaders.
Good luck


Templates 000,001,002 Submission

squashed  #2 PR @apoelstra request.

adding a markdown linter to catch this stuff.

added linter to this PR:
turn on actions to use.

ab8f15b: applied spelling and markdown changes the linter detected.

ab8f15bdfc9751d373f29da38a491d8948c4df29 looks great! I have only a couple nits.

Just saw this. Thanks

This looks great! Thanks for all your iteration!

follow up PR planned
use UTC not GMT
https://github.com/bitcoincore-dev/miniscript-templates/tree/1705598723/bc705a4/cf0b6bf-use-UTC


Added a language layout switching button

Hello,
This keyboard does support multiple layouts, but does not support switching between them at runtime.
For this purpose, I've implemented a button (LanguageKey), that switches between a List of Layouts that can be set via a property (availableLanguageLayouts) in InputPanel.
As this layout switching was added, the Greek Layout was changed to be similar to the others, as the internal layout switcher
(greek-latin) is no longer needed.
If this property is kept empty, it will be automatically set to En, but the property languageLayout overrides this.
If only one language is selected, the layout changer will not be visible.
If an invalid layout is added to the list property, it will fallback to "En".

@AndreaRicchi How do you want this code to be formatted? Do you recommend any formatter for this purpose?

Formatting has been completed and commits were squashed, everything should look fine now.

@Johannes-bichler you can also use the QML formatter included in the Qt SDK!


fix AliyunXmlResponse MalformedResponseError for SLB

fix AliyunXmlResponse MalformedResponseError for SLB
Description
When I run the example_loadbalancer.py, it encounters an malformedResponseError for Aliyun CreateLoadBalancer response. But when you login in Aliyun SLB, you would found that the instance has been created .

cls = get_driver(Provider.ALIYUN_SLB)
driver = cls('username', 'api key', region='ord')
# creating a balancer which balances traffic across two
# nodes: <IP_ADDRESS>:80 and <IP_ADDRESS>:8080. Balancer
# itself listens on port 80/tcp
new_balancer_name = 'testlb' + os.urandom(4).encode('hex')
members = (Member(None, '<IP_ADDRESS>', 80), Member(None, '<IP_ADDRESS>', 8080))
new_balancer = driver.create_balancer(name=new_balancer_name, algorithm=Algorithm.ROUND_ROBIN, port=80, protocol='http', members=members)

Status
Replace this: describe the PR status. Examples:

work in progress
done, ready for review

Checklist (tick everything that applies)

[ ] Code linting (required, can be done after the PR checks)
[ ] Documentation
[ ] Tests
[ ] ICLA (required for bigger changes)

hey @net613 thanks for the PR. has this issue been raised with the Aliyun API team? The API shouldn't just respond with malformed XML, if it does it wouldn't be ideal to swallow any decode errors unless we know the specific element that's broken.

@SnailJie do you have access to this team?

@tonybaloney  Sorry, I am not the member of Aliyun API team.

ok, calling @shuwei-yin @demonwy @xiaozhu36 can one of you assist please?

Hello @tonybaloney @net613
I'm not familiar with the libcloud, how can i reproduce it?
Or could show me more details about the response details?
And in your PR  decode the response body content, does it work?
Thanks

I've been banging my head against the wall on another PR and realised the 2 are related
https://github.com/apache/libcloud/pull/1031

ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration

Fixed in #1031
Thanks for the report. This was a bug in libcloud, I'm guessing that you gave the load balancer a name or description with a unicode character in it?


Nuxt Build Error: No known conditions for "./node" specifier in "msw" package

Run pnpm build && pnpm generate
  pnpm build && pnpm generate
  shell: /usr/bin/bash -e {0}
  env:
    PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
    STORE_PATH: /home/runner/setup-pnpm/node_modules/.bin/store/v3

><EMAIL_ADDRESS>build /home/runner/work/vue-nuxt-element-template/vue-nuxt-element-template
> MODE=prod nuxi build

[log] Nuxt 3.8.0 with Nitro [2](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:2).7.1
[info] Building client...
[info] vite v4.5.0 building for production...
[info] transforming...
[info] ✓ 1[3](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:3)1 modules transformed.
[info] ✓ built in [4](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:4).31s
Error:  [commonjs--resolver] No known conditions for "./node" specifier in "msw" package
Error:  Nuxt Build Error: No known conditions for "./node" specifier in "msw" package
  at e (node_modules/.pnpm/vite@4.[5](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:5).0_@types+node@18.18.7_sass@1.[6](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:6)9.5/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:21445:25)
  at n (node_modules/.pnpm/vite@4.5.0_@types+node@18.18.[7](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:8)_sass@1.69.5/node_modules/vite/dist/node/chunks/dep-bb[8](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:9)a833[9](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:10).js:21445:646)
  at o (node_modules/.pnpm/vite@4.5.0_@types+node@18.18.7_sass@1.69.5/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:21445:[12](https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067#step:11:13)97)
  at resolveExportsOrImports (node_modules/.pnpm/vite@4.5.0_@types+node@18.18.7_sass@1.69.5/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28746:20)
  at resolveDeepImport (node_modules/.pnpm/vite@4.5.0_@types+node@18.18.7_sass@1.69.5/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28765:31)
  at tryNodeResolve (node_modules/.pnpm/vite@4.5.0_@types+node@18.18.7_sass@1.69.5/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28453:20)
  at Object.resolveId (node_modules/.pnpm/vite@4.5.0_@types+node@18.18.7_sass@1.69.5/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28212:28)
  at node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:25544:40
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async PluginDriver.hookFirstAndGetPlugin (node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:25444:28)
 ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1.

https://github.com/snowdreamtech/vue-nuxt-element-template/actions/runs/6663182217/job/18108684067

Hey, I am trying to set up msw with Nuxt 3 but I am getting Error: No known conditions for "./browser" specifier in "msw" package error when running unit tests. I have exact same set up like yours. The only difference is I disabled ssr for my project and only use msw for browser. Are you able to add tests and run them successfully?


Add more javascript-Practice-programs for beginners

Add more javascript-Practice-programs that help beginners to understand the concepts

Can I please work on this issue

Can I please work on this issue

Yeah sure!!

@Abhijay007 made a PR #28 for JS dates and neap year program. Please check and merge. Thanks in advance :)

Made a PR for JS guess game. Do give it a check. Thanks.

@Abhijay007 Can I work on this issue?

@Abhijay007 Can I work on this issue?

Yeah sure!! go ahead
Happy hacking 😊

@Abhijay007 I would like to work on this, Can i try ?

@Abhijay007  I made a PR #30 for basic programs for beginners. Please check and merge. Thanks.

@Abhijay007 Can I do this? I'd like to make cm to m converter.

Hey! I hope I can contribute here. Want to add a beginner friendly "rock, paper, scissors" game.

Hey! I hope I can contribute here. Want to add a beginner friendly "rock, paper, scissors" game.

Yeah !! go for it but please make that program with vanilla javascript don't use any library like bootstrap or jquery because this repository is for beginners to help them understand the concepts of javascript. The use of such libraries may confuse them.
When you are done with the writing of code make a PR.
Till then Happy hacking 😊!!

Made a PR #45 , a small js program to help beginners in taking user input and performing functions. Please check and Merge @Abhijay007
Thankyou

Hey! I hope I can contribute here. Want to add a beginner friendly "rock, paper, scissors" game.

Yeah !! go for it but please make that program with vanilla javascript don't use any library like bootstrap or jquery because this repository is for beginners to help them understand the concepts of javascript. The use of such libraries may confuse them.
When you are done with the writing of code make a PR.
Till then Happy hacking 😊!!

No problem, PR #44 is definitely only vanilla HTML/JavaScript!

Please check my pull request #46

Please check my pull request #47

Please check my pull request #47


sw: Add initial version of script to explore tiled behaviour

You run it like this (note the calling folder!) yay:
/repo/target/snitch_cluster# python3 ../../util/trace/perf_tiled.py

I will make a fix for this wait. It will be in a separate PR.

@rgantonio CI is meant for continuous integration.
If we have performance tests than it would make sense to also keep track of performance with new versions of our codebase. In some scenario's performance regressions are just as important to track as functional behavior regressions.
Regardless, this script is definitely not meant for being run all the time, it is more for us to explore tiled behaviour in a personal setting. However, once we get a good grasp of a sensible tiling size etc. we might want to add performance tests for specific accelerators as well.


feat: add 'pass' option to na_action

@teucer this is ready to be merged. If you don't plan any other change, I'm going to merge.

Thanks for the contribution!!


Empty states on post likes/reposts/quotes screen don't span the full height

Steps to Reproduce

Find an empty post (or find a post who has blocked everyone who liked/reposted/quoted it, I suppose)
Manually redirect to their likes/reposts/quotes page

Attachments

What platform(s) does this occur on?
Web (Desktop)
Device Info
Firefox 134 (nightly); Linux (Arch Linux; Linux aster 6.11.7-2-cachyos #1 SMP PREEMPT_DYNAMIC Fri, 08 Nov 2024 17:23:46 +0000 x86_64 GNU/Linux)
What version of the app are you using?
Build version: 1.94.0; Bundle info: dev (prod); Bundle date: 24111110; Platform: web; Platform version: undefined
Additional Information
No response

@mary-ext Can you help attach the link to the page throwing this issue? Thanks

https://main.bsky.dev/profile/alicewastaken.bsky.social/post/3lai4cj6t2c22/reposted-by


BLE Heart Rate Monitor improvements

Make overriding the HRM event optional
Emit BTHRM event for external sensor
Add recorder app plugin

Looks great - thanks! However looking at https://github.com/espruino/BangleApps/pull/1229/files it seems you've got some .orig merge conflict files in there by accident - please could you remove those?

Fixed :) Merge https://github.com/espruino/BangleApps/pull/1228 first, as this is based on the other branch.

Thanks!


Dependencies between systems

As per the Backstage documentation, a System is an entity that gathers several components to achieve a particular task.
For instance We have a set of lambdas an pipelines for a specific data processing, they together can be modeled as one system.
Then we have another system, a set of containers that will access the final data and do other things.
So it seems that the most natural way to model this would be that the second system here depends on the first.
But dependsOn is only available for components. So we need to hack around depending on the last lambda component of the system even when is the whole system we need.

I wish this would be possible to make as a transitive property instead. For example
SYSTEM_ONE
  - Component1  dependsOn:Component2
SYSTEM_TWO
  - Component2

translated automatically to
SYSTEM_ONE      dependsOn:SYSTEM_TWO
  - Component1  dependsOn:Component2
SYSTEM_TWO
  - Component2

Without having to make that claim explicitly as an end user. Unfortunately, currently processors don't have a global view of their surroundings at processing time, at the moment.
So in the mean time, I wonder if this is something that could be done in the caller end instead. With a few API calls, you could grab all of the components in SYSTEM_ONE, gather up the union of their dependencies, etc.

The idea of a system to system relation being transitive makes a lot of sense. Systems are typically a logical construct we use to group a series of smaller parts in order to reason about things at a higher level. In this vain a component most likely depends on another component of another system rather then the other system itself. Unless perhaps you have a system gateway, but you could argue this is also just a component of the system.
This sort of thinking / discussion has come up more recently in regards to the system diagram and what it "could be" (#4502). I think it would be really neat if there were extension helpers to build relation graphs between entities in various ways. One of these could be a transitive system to system graph which could then be presented in the Backstage UI in various ways as needed.

From this perspective a component most likely depends on another component of another system rather then the other system itself.

Yes, but, in the ideal scenario I think the idea then, is that the other system's API entity would be exposed by the system too, as part of its external surface. Either way you'd perhaps depend on the API, not the component. But I get what you're saying; the same issue might crop up in regards to Resource kinds too. However ... doing too much such cross linking might be indicative either of opportunities for improvement of the actual services, or for redrawing the system boundaries a bit.

Unless perhaps you have a system gateway, but you could argue this is also just a component of a system.

This might be one of those API + service Component combos though.
We have some examples like that, where there's some core "inner" authoritative service, but a proxy service on top of it that's very lightweight and massively scaled and handles like rate limits, caching and transcoding of responses. You'd be expected to consume the outer one as an end user, unless you had excellent reason not to.

This sort of thinking / discussion has come up more recently in regards to the system diagram and what it "could be" (#4502). I think it would be really neat if there were extension helpers to build relation graphs between entities in various ways. One of these could be a transitive system to system graph which could then be presented in the Backstage UI in various ways as needed.

Makes sense, it's going to be interesting to see what innovation that happens in the future for these ecosystem overview type things.


TFL micro Library at Arduino IDE

TFL micro Library is missing at Arduino IDE. When will it be available again?
Thanks
Marcelo Rovai

Please follow the instructions at https://github.com/tensorflow/tflite-micro-arduino-examples#how-to-install to get the latest version of TFLM for the Arduino. We are no longer planning to have it be directly available in the Arduino IDE.
https://github.com/tensorflow/tflite-micro-arduino-examples/issues/123 has some additional context.