[PROPOSAL][AWAITING TS 2.1] Retry to move to @types/ type definitions

Before to release v5, we tried to move to @types/*** type definitions from typings/.

Worked in https://github.com/ReactiveX/rxjs/pull/2120

But we had faced to https://github.com/Microsoft/TypeScript/issues/11849, so we backout-ed the above change.
For the future if we move to use TypeScript 2.1 or later, we can retry to do it.

I've migrated into @types packagage in other codebases and generally in favor of this, but not sure how to verify regression.

To verify regression, you can use a typings test like Angular:
https://github.com/angular/angular/tree/master/integration/typings_test_ts21
The formula:

for each version of TypeScript you support users having

install that version
install the distribution you publish to npm
compile a file that exhaustively imports all the public APIs

if there's anything in your distro that would break users type-checking your lib, this should detect it.

This is completed in master.


A python binding for pixelmatch-cpp17

I created a python binding for this repo: https://github.com/cubao/pybind11_pixelmatch. :smile:

Thank you, I've added a reference to it in the README: https://github.com/jwmcglynn/pixelmatch-cpp17/commit/f3d05ffda41a6956a922f8af97db70f87f4ef3fd


Backward McTorch is not working

Hi @mayank127 and @thegodone
Let me first thank you for your work.
I followed your instruction to install mctorch as follow :
conda create -n myenv python=3.5.6
source activate myenv
git clone --recursive https://github.com/mctorch/mctorch # mctorch_1_1
cd mctorch
python setup.py install

My torch version is 1.1.0 and torch.version.cuda '8.0.44'
The forward pass works but the backward pass fails. Here is the error :
p.data.add_(p.manifold.retr(p.data, -clr * modified_rgrad)
 File "~/torch/nn/manifolds/stiefel.py", line
72, in retr
   q, r = torch.qr(X + G)
RuntimeError: No CUDA implementation of 'qr'. Install MAGMA and rebuild cutorch (http://icl.cs.utk.edu/magma/) at
~/mctorch/aten/src/THC/generic/THCTensorMathMagma.cu:613

Here is my forward pass where it get stuck :
self.Stiefel = nn.Parameter(manifold=nn.Stiefel(28, 6))
 self.Euclidian = nn.Parameter(manifold=nn.Euclidean(6, 28))
Te=self.Stiefel.mm(self.Euclidian)` # backward not working

Magma is installed along with conda install pytorch=x.x.x cudaYY -c pytorch
Thank you

The same for pytorch1.2.0

Hey @Agathon-geo ,
Can you please try using McTorch in an environment where PyTorch is not installed? As it is a fork of PyTorch, everything PyTorch is already included in McTorch.
As for Euclidean can you try without any manifold parameter (None will use the default pytorch backward pass).
Let me know if these work for you.

Hello @Agathon-geo, does it help?
@mayank127, should we close the issue?


Error: 'GreppoApp' object has no attribute 'base_layer'

That's a great project and I'm very happy to try it out! Unfortunately, after installing the necessary dependencies and create a sample app.py with app.base_layer( ... ) as shown in the demo section of the documentation, I keep getting errors like:
AttributeError: 'GreppoApp' object has no attribute 'base_layer'.
Is there something I'm missing?

Hey @sotosoul,
Are you running the app.py in the terminal as the following?
greppo serve app.py


backend: dependency updates

Notes:

the google.golang.org/grpc issue that comes in through containerd/containerd has a fix in their main branch but not in a release yet. So we will have to wait. I'm pretty sure we don't allow grpc anyway (only http), so it should not apply to us.

Seems this golang dep update is what fossa has an issue with:
backend: Upgraded golang.org/x/net v0.26.0 => v0.27.0


EnderIO causes GSON to throw an exception when certain loot tables are serialised

Issue Description:
When LootTweaker attempts to serialise certain loot tables(to dump them to a folder), GSON throws an error. This error is not caused by LootTweaker or CraftTweaker, as it only occurs with EnderIO installed. EnderCore is not the cause of the problem. LootTweaker successfully dumps loot tables modified by other mods, such as Actually Additions and BetterBeginnings.
What happens:
When LootTweaker attempts to serialise certain loot tables with EnderIO installed, GSON throws an error.
What you expected to happen:
LootTweaker to successfully dump all loot tables.
Steps to reproduce:

Install this build of LootTweaker, also install CraftTweaker(I reproduced this issue with CT 1.10.2-3.0.15, but any 1.10.2 build should do). Any build of LootTweaker will reveal the issue, but the linked one has been tweaked to give a more useful error.
Launch Minecraft and open a world.
Run the command /mt loottables all. There will be no errors in the log
Install EnderIO and EnderCore.
Repeat step 3. Errors will now occur.

Affected Versions (Do not use "latest"):

CraftTweaker: 1.10.2-3.0.15
EnderIO: 1.10.2-<IP_ADDRESS>_beta
EnderCore: 1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: 1.10.2-<IP_ADDRESS>4

Your most recent log file where the issue was present:
https://paste.ee/p/TNh8M

It looks like LootTweaker tries to convert some Ender IO objects into GSON that were not build to be serialized to disk---and are not serialized by vanilla...

@HenryLoenwind
LootTweaker serialises the loot tables here. As far as I'm aware, this is the proper way to serialise a JSON object, I don't do anything odd. Yes, vanilla does not serialise these loot tables, but they are nevertheless serialisable objects. Since they are serialisable objects, you should expect that someone may want to serialise them.
I'm quite sure that LootTweaker is not at fault, I have tried dumping loot tables with other loot adding mods installed. LootTweaker threw no errors, the tables were successfully dumped.

Vanilla uses GSON to load the json loot tables from its resource pack. It never serializes them again as far as I can find. That LootTableManager.GSON_INSTANCE is only used for reading json, it is private and has no hooks to register custom serializers. So I have no way to actually make our objects serializable with it.

LootFunction serialisers can be registered with LootFunctionManager#registerFunction()
LootCondition serialisers can be registered with LootConditionManager#registerCondition()
Other loot objects have serialise and deserialise methods that can be overriden.

LootPool doesn't.

LootPool doesn't. And there's no way to add custom classes that are not of those types you named.

Where do you extend LootPool

https://github.com/SleepyTrousers/EnderIO/blame/1.10/src/main/java/crazypants/enderio/LootManager.java#L219

Thank you. What does that do that LootPool doesn't? (I'm trying to figure out if a case for a forge hook could be made)

I'm not sure. I only know that CrazyPants made it when we got too many bug reports about overflowing chests...

Could you please ask him?
If it's a significant part of your loot code, I think a case for a Forge hook could be made. If Forge isn't interested, I'd be open to writing a way for you to tell LootTweaker how to serialise that.

Crazy's not generally available atm for health reasons. :(
On the other hand, you seem to actually know what you're doing in regards to loot tables. So I'd be more than happy if you'd have an extended look at that loot manager and, if that custom impl isn't really needed, to redo it in a standard way...

I'll take a look. Thank you for your assistance.

I added two new LootFunctions, could you test if it still works? And I'd be interested in how the json looks like and if it really is possible to feed it to the game again and get my LootFunctions back.

I added two new LootFunctions, could you test if it still works

You've registered serialisers for them, so there should be no problems. I'll test anyway though.

if it really is possible to feed it to the game again and get my LootFunctions back

As long as your serialise functions are 1:1 with your deserialise functions(All EIO's are), you will get equivalent LootFunctions if you serialise and then desr

Yep, all is fine and dandy.

I'd be interested in how the json looks like

The JSON files look terrible. They are completely unformatted, just serialised and written to a file.
For example, here's the dungeon loot table JSON:
{"pools":[{"name":"main","entries":[{"entryName":"minecraft:saddle","weight":20,"quality":0,"type":"item","name":"minecraft:saddle"},{"entryName":"minecraft:golden_apple","weight":15,"quality":0,"type":"item","name":"minecraft:golden_apple"},{"entryName":"minecraft:golden_apple#0","weight":2,"quality":0,"type":"item","functions":[{"data":1.0,"function":"minecraft:set_data"}],"name":"minecraft:golden_apple"},{"entryName":"minecraft:record_13","weight":15,"quality":0,"type":"item","name":"minecraft:record_13"},{"entryName":"minecraft:record_cat","weight":15,"quality":0,"type":"item","name":"minecraft:record_cat"},{"entryName":"minecraft:name_tag","weight":20,"quality":0,"type":"item","name":"minecraft:name_tag"},{"entryName":"minecraft:golden_horse_armor","weight":10,"quality":0,"type":"item","name":"minecraft:golden_horse_armor"},{"entryName":"minecraft:iron_horse_armor","weight":15,"quality":0,"type":"item","name":"minecraft:iron_horse_armor"},{"entryName":"minecraft:diamond_horse_armor","weight":5,"quality":0,"type":"item","name":"minecraft:diamond_horse_armor"},{"entryName":"minecraft:book","weight":10,"quality":0,"type":"item","functions":[{"function":"minecraft:enchant_randomly"}],"name":"minecraft:book"}],"rolls":{"min":1.0,"max":3.0}},{"name":"pool1","entries":[{"entryName":"minecraft:iron_ingot","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:iron_ingot"},{"entryName":"minecraft:gold_ingot","weight":5,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:gold_ingot"},{"entryName":"minecraft:bread","weight":20,"quality":0,"type":"item","name":"minecraft:bread"},{"entryName":"minecraft:wheat","weight":20,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:wheat"},{"entryName":"minecraft:bucket","weight":10,"quality":0,"type":"item","name":"minecraft:bucket"},{"entryName":"minecraft:redstone","weight":15,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:redstone"},{"entryName":"minecraft:coal","weight":15,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:coal"},{"entryName":"minecraft:melon_seeds","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":2.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:melon_seeds"},{"entryName":"minecraft:pumpkin_seeds","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":2.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:pumpkin_seeds"},{"entryName":"minecraft:beetroot_seeds","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":2.0,"max":4.0},"function":"minecraft:set_count"}],"name":"minecraft:beetroot_seeds"}],"rolls":{"min":1.0,"max":4.0}},{"name":"pool2","entries":[{"entryName":"minecraft:bone","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":8.0},"function":"minecraft:set_count"}],"name":"minecraft:bone"},{"entryName":"minecraft:gunpowder","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":8.0},"function":"minecraft:set_count"}],"name":"minecraft:gunpowder"},{"entryName":"minecraft:rotten_flesh","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":8.0},"function":"minecraft:set_count"}],"name":"minecraft:rotten_flesh"},{"entryName":"minecraft:string","weight":10,"quality":0,"type":"item","functions":[{"count":{"min":1.0,"max":8.0},"function":"minecraft:set_count"}],"name":"minecraft:string"}],"rolls":3.0},{"name":"Ender IO","entries":[{"entryName":"enderio:itemAlloy:6","weight":1,"quality":1,"conditions":[{"chance":0.25,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"count":1.0,"function":"minecraft:set_count"},{"data":6.0,"function":"minecraft:set_data"}],"name":"enderio:itemAlloy"},{"entryName":"enderio:itemConduitProbe:0","weight":1,"quality":1,"conditions":[{"chance":0.1,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"count":1.0,"function":"minecraft:set_count"},{"data":0.0,"function":"minecraft:set_data"}],"name":"enderio:itemConduitProbe"},{"entryName":"minecraft:quartz:0","weight":1,"quality":1,"conditions":[{"chance":0.25,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"count":3.0,"function":"minecraft:set_count"},{"data":0.0,"function":"minecraft:set_data"}],"name":"minecraft:quartz"},{"entryName":"minecraft:nether_wart:0","weight":1,"quality":1,"conditions":[{"chance":0.2,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"count":1.0,"function":"minecraft:set_count"},{"data":0.0,"function":"minecraft:set_data"}],"name":"minecraft:nether_wart"},{"entryName":"minecraft:ender_pearl:0","weight":1,"quality":1,"conditions":[{"chance":0.3,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"count":1.0,"function":"minecraft:set_count"},{"data":0.0,"function":"minecraft:set_data"}],"name":"minecraft:ender_pearl"},{"entryName":"enderio:darkSteel_sword:0","weight":1,"quality":1,"conditions":[{"chance":0.1,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"count":1.0,"function":"minecraft:set_count"},{"damage":{"min":1.0,"max":2000.0},"function":"minecraft:set_damage"},{"function":"minecraft:set_random_dark_upgrade"},{"function":"minecraft:set_random_energy"}],"name":"enderio:darkSteel_sword"},{"entryName":"enderio:darkSteel_boots:0","weight":1,"quality":1,"conditions":[{"chance":0.1,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"count":1.0,"function":"minecraft:set_count"},{"damage":{"min":1.0,"max":455.0},"function":"minecraft:set_damage"},{"function":"minecraft:set_random_dark_upgrade"},{"function":"minecraft:set_random_energy"}],"name":"enderio:darkSteel_boots"},{"entryName":"enderio:itemBasicCapacitor11","weight":1,"quality":1,"conditions":[{"chance":0.15,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"function":"minecraft:set_capacitor"},{"data":3.0,"function":"minecraft:set_data"}],"name":"enderio:itemBasicCapacitor"},{"entryName":"enderio:itemBasicCapacitor12","weight":1,"quality":1,"conditions":[{"chance":0.15,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"function":"minecraft:set_capacitor"},{"data":3.0,"function":"minecraft:set_data"}],"name":"enderio:itemBasicCapacitor"},{"entryName":"enderio:itemBasicCapacitor13","weight":1,"quality":1,"conditions":[{"chance":0.15,"condition":"minecraft:random_chance"}],"type":"item","functions":[{"function":"minecraft:set_capacitor"},{"data":3.0,"function":"minecraft:set_data"}],"name":"enderio:itemBasicCapacitor"}],"rolls":{"min":1.0,"max":3.0}}]}

thank you!


SyntaxError on class C(Generic[*Ts]): pass

#4946
SyntaxError: cannot use starred expression here at line 751 column 24
        class C(Generic[*Ts]): pass

relevant issue here https://github.com/RustPython/RustPython/issues/4479. We should really break that up in two separate issues.


Fix: error of infinite scroll when there are no records(#24w686f)

Related Issues

Closes #
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

@disha1202
I think we should fix
https://github.com/hotwax/job-manager/blob/main/src/store/modules/job/actions.ts#L120
https://github.com/hotwax/job-manager/blob/main/src/store/modules/job/actions.ts#L124
We should pass an object with empty list and total 0
https://github.com/hotwax/job-manager/blob/main/src/store/modules/job/actions.ts#L108
Same applies to history


Typed  value

We need to encode values with padding on the Bit Machine. This encoding requires information about the type of the value. It turns out that universally typing all Simplicity values produces the smallest diff, and it is the safest API. This PR refactors the Value struct to include type information.
I also have ideas for a Word struct that wraps values of the word type. Only these values are safe to use in word jets. I will leave this for a follow-up PR.

Rebased on latest master


Any ETA on supporting C#?

Apparently the criteria for C# is much more cut-and-dry and probably doesn't need an advisor to walk the codebase.


Escape apostrophe for AMD license

If the apostrophe is not escaped the project will fail to build due to improperly escaped XML being generated as below:
<string name="license_AMDPLPA_licenseName" translatable="false">AMD's plpa_map.c License</string>

With this fix it should generate an escaped equivalent:
<string name="license_AMDPLPA_licenseName" translatable="false">AMD\'s plpa_map.c License</string>

thanks @akiller

thanks @akiller


Approving pull request does not send comment text

Issue Type: Bug

On the description page of a PR, type something in the text box at the bottom and hit "Approve"

The approval succeeds, but without the text
Extension version: 2020.8.29701
VS Code version: Code - Insiders 1.49.0-insider (7df29b1236ecf8a21af9fe19a52923f6d69e0577, 2020-08-26T07:45:54.661Z)
OS version: Darwin x64 18.7.0

I tried to verifify but could no approve any PR: https://github.com/microsoft/vscode-pull-request-github/issues/1660#issuecomment-686494289


String constructor with byte array

As deduced from #529, there is also a potential to make String constructor beautiful.
	public static class TestCls {
		public String tag = new String(new byte[] {'a', 'b', 'c'});
	}

	@Test
	public void test() {
		ClassNode cls = getClassNode(TestCls.class);
		String code = cls.getCode().toString();

		assertThat(code, containsOne("abc"));
	}

I am trying to fix this, but I counter issue, the corresponding output could be something like:
new String("abc".getBytes(), StandardCharsets.UTF_8);

And I don't know how to construct a MethodInfo the the String(byte[]) constructor if it is not found in dex.

Looks like you need to implement it youself. Add to MethodInfo class something like this:
public static MethodInfo externalMth(ClassInfo declaredCls, String name, List<ArgType> args, ArgType retType) {

Seems that it would be better to begin from constant concatenations like
String value = "a" + "b";

sometimes "a" could be a static final String SMTH = "a"; value, and when --no-replace-consts option is enabled, the given output will be generated. But it's nicer to see
String value = "ab";

Seems that it would be better to begin from constant concatenations like
String value = "a" + "b";

sometimes "a" could be a static final String SMTH = "a"; value, and when --no-replace-consts option is enabled, the given output will be generated. But it's nicer to see
String value = "ab";

I guess this is a different case, since constants are usually String, but the one is question is a byte array.


Subscript operator

We have to implement the subscript operator. The idea that it will call the type method __at__().

This feature has been implemented.
Commit: https://github.com/clever-lang/clever/commit/2d1d1159871d7420061a4724ca56139dd4e2b6f4


bump tooling version and replaying https://github.com/Azure/autorest/pull/2531

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


Dashboard Autorefresh Settings Persist

In response to Issue 686
Adds settings to save and persist dashboard refresh interval and also whether to force refreshing from cache or not. Modal on the Dashboard is changed to allow any value of seconds rather than only the dropdown values.
Pre-existing dashboards (and the defaults for new dashboards) are that the dashboard will refresh using cached values and that initially it won't refresh (interval = 0).
For the values on a dashboard to actually change you should set the cache to expire on a suitable timescale either at the slice level (or higher up the tree).
Includes a fix to migration 27ae655e4247 so that it now uses declarative base to allow the addition of new columns to the model. (@mistercrunch this continues our discussion from this pull request).

Coverage decreased (-0.007%) to 81.029% when pulling 17d56b5a11152b0e8168bf3c240033327aa65558 on alanmcruickshank:autorefresh-dashboard-2 into 8135c240dc178014f03c943ba1b9beab26716325 on airbnb:master.

Coverage decreased (-0.1%) to 80.905% when pulling e10b82e49e431b71ed08d47fbf6591c043ed9bea on alanmcruickshank:autorefresh-dashboard-2 into 8135c240dc178014f03c943ba1b9beab26716325 on airbnb:master.

Will rebase and resubmit on a tidier branch.


Adding code for model validation

I've removed Nathan from the reviewers as he's on leave this week. He was also involved in multiple rounds of review at earlier stages


Why can't the marketplace be downloaded

Why can't the marketplace be downloaded

https://support.wizzdi.com/
And this in the document UIComponents Is there a demo?

hi @fendo8888 ,
regarding the marketplace we have not updated all the plugin entries over there . but you can easily get them from maven central:
https://search.maven.org/search?q=com.wizzdi , we will update the marketplace with the relevant link for each plugin soon.
as for demo of ui components this is not something we currently have , if required can you please open a feature request/ documentation enhancement ticket ?
Thanks.

Thank you

closing this question , re-open or open a new ticket if required.


Feature request - wildcards

Thanks for the super-useful module.  I would love to see support for wildcards - at least at the beginning of expressions.  This would allow something like:
ListOrdersResponse.ListOrdersResult.Orders.Order[].ShippingAddress.AddressLine1
To become:
*.Order[].ShippingAddress.AddressLine1
It becomes especially useful for APIs that require one call for the initial page of results, and a slightly different call for subsequent pages.  Many of these APIs alter the envelope slightly for the "next page" results call so that you have to account for two mappings like:
ListOrdersResponse.ListOrdersResult
and
ListOrdersByNextTokenResponse.ListOrdersByNextTokenResult
Both of which actually have the same structure once you get to Orders.Order[].  Obviously not too hard to write a wrapper around, but would be great to see support within the module.
Thanks again!

Good idea. There are a bunch of glob libraries available which might make it easier to implement this. Next time I dig into this module I'll give it a shot. Otherwise, pull requests welcome from anyone. :)


fix(plugin-ledger-connector-iroha): running the container image locally fails

Describe the bug
when trying to run iroha connector container locally by following README, command docker run returns error.

Logs/Stack traces
docker-command-log.txt
Cloud provider or hardware configuration:
local pc
Operating system name, version, build:
/tmp/tryiroha/cactus$ printf "$(uname -srm)\n$(cat /etc/os-release)\n"
Linux 5.13.0-30-generic x86_64
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
/tmp/tryiroha/cactus$ node --version
v16.13.1
/tmp/tryiroha/cactus$ docker --version
Docker version 20.10.7, build 20.10.7-0ubuntu5~20.04.2
/tmp/tryiroha/cactus$

Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
/tmp/tryiroha/cactus$ git rev-parse --short HEAD
a8734bf0

Hyperledger Cactus Plugins/Connectors Used
iroha

@petermetz are there any workaround for this?

@izuru0 Apologies for the slow response, I'm investigating this and it's looking like one of those cascading/domino effect bugs where multiple things came together to wreak havoc...
A part of the plot has been uncovered and documented here, but I'm working on more of it: https://github.com/hyperledger/cactus/issues/1951

One more thing (more of a note to self) is that you'll also need the authorization configuration in the env variables (if that's the preferred way for you to provide the config) so something like this for testing & development should work better:
(this still won't work as of today until the other fixes are in place but I wanted to make not anyway because it's one more clue)
docker run \
  --rm \
  --publish 3000:3000 \
  --publish 4000:4000 \
  --publish 5000:5000 \
  --env AUTHORIZATION_CONFIG_JSON="{}"\
  --env AUTHORIZATION_PROTOCOL=NONE \
  --env PLUGINS='[{"packageName": "@hyperledger/cactus-plugin-ledger-connector-iroha", "type": "org.hyperledger.cactus.plugin_import_type.LOCAL", "action": "org.hyperledger.cactus.plugin_import_action.INSTALL",  "options": {"rpcApiHttpHost": "http://localhost:8545", "instanceId": "some-unique-iroha-connector-instance-id"}}]' \
  cplcb:latest

One more thing (more of a note to self) is that you'll also need the authorization configuration in the env variables (if that's the preferred way for you to provide the config) so something like this for testing & development should work better:
(this still won't work as of today until the other fixes are in place but I wanted to make not anyway because it's one more clue)
docker run \
  --rm \
  --publish 3000:3000 \
  --publish 4000:4000 \
  --publish 5000:5000 \
  --env AUTHORIZATION_CONFIG_JSON="{}"\
  --env AUTHORIZATION_PROTOCOL=NONE \
  --env PLUGINS='[{"packageName": "@hyperledger/cactus-plugin-ledger-connector-iroha", "type": "org.hyperledger.cactus.plugin_import_type.LOCAL", "action": "org.hyperledger.cactus.plugin_import_action.INSTALL",  "options": {"rpcApiHttpHost": "http://localhost:8545", "instanceId": "some-unique-iroha-connector-instance-id"}}]' \
  cplcb:latest

This wasn't working for me

DOCKER_BUILDKIT=1 docker build -f ./packages/cactus-plugin-ledger-connector-iroha/Dockerfile . -t cplcb

I tried running the plain cactus-cmd-api-server with the similar above command, and even that wasn't working.
So I had to create a sample config.json with this field specifically mentioned grpcMtlsEnabled set to false.
Then only I could make the api-server running using this command
docker run --rm --publish 3000:3000 --publish 4000:4000 --mount type=bind,source="$(pwd)"/.config.json,target=/config.json --env AUTHORIZATION_CONFIG_JSON="{}"  --env AUTHORIZATION_PROTOCOL=NONE --env CONFIG_FILE=/config.json cas

And the iroha plugin was not able to run (in my case) with the error run-time-error module not found
Currently looking into this (because the container actually contains the run-time-error module under node_modules, as shown in the below screenshot, thus investigating)


Licence?

What's the licence?

I added https://github.com/LiraNuna/soft-ieee754/blob/master/LICENSE.
Thanks for letting me know!


Matrix bot notifications have just a single link

Feature Description
When the Matrix chatroom bot is enabled, it generates 4 link previews (on chatrooms where previews aren't disabled by the moderator), making notifications too lenghty and bot use impractical.
Three of thse links are irrelevant. When clicking the link to an Issue or PR to which the notification relates, all necessary information can be found there.
Downstream: Codeberg/Community/#728 and forgejo/forgejo/#162
Screenshots

Does matrix have a way to suppress embeds being sent?
For example, Discord allows you to surround a link with <> to suppress the preview.

Does matrix have a way to suppress embeds being sent? For example, Discord allows you to surround a link with <> to suppress the preview.

Not so far as I'm aware. On Matrix they're not embeds; I think it's the client that requestsa link preview from the homeserver (both must have the feature enabled).
Unless I'm mistaken, I believe the only solution to this problem would be to avoid creating the extra links in the first place, and send messages with just a single link.

I should add that in my opinion displaying many link previews is a bug (or at least, undesirable feature) in Element (and perhaps other clients?). However, I would not be opposed to working around it by ensuring we send only a single link in the Matrix messages.


Color slider border rounding value update

Description
Updated color-slider-border-rounding token to use 7px instead of 4px in desktop only.
This token value update is the same value used by alias token: corner-radius-medium-size-small.

Motivation and context

S2 color slider design updates.
Related issue

This update is a part of this Jira ticket body of work. And relates to this PR.
Types of changes

 [ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
 [X] Minor (add a new token, changing a value; non-breaking change which adds functionality)
 [ ] Major (deleting a token, changing token value type; fix or feature that would cause existing functionality to change)
Checklist:

 [X] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
 [X] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)

TESTING spectrum2-non-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
TOKENS STUDIO DATA IS NON-COLOR ONLY
STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component/mobile.color-slider-border-rounding

SPECTRUM SYNC SUMMARY
NEW TOKENS: (1) color-slider-border-rounding/mobile
MODIFIED TOKENS: (1) color-slider-border-rounding/desktop
CHANGED VALUES: (1) color-slider-border-rounding

TEST COMPLETE

I think @nabuhasan, we had discussed that the value should just be corner-radius-medium-size-small so that if that token is updated in the future, this component would also update. Wanted to check in case something changed since we last discussed in the Figma spec!

@lynnhao I tried linking that alias and it did not work for me. It may have been because the alias is in a different set layout vs layout.component. I was only able to see corner-radius-1000.

@nabuhasan Did you look into the layout desktop set?

Thanks @karstens!
@nabuhasan – You can modify the "type" in the JSON to borderRadius, which will allow the corner radius tokens to show up. Here's some screenshots on what to update in your branch in case that helps.

TESTING spectrum2-non-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
TOKENS STUDIO DATA IS NON-COLOR ONLY

WARNING - studio token uuid collision: (991541a2-df44-4f32-90a5-de698adf5db3)
spectrum2/layout.component/desktop,color-slider-border-rounding
spectrum2/layout.component/mobile,color-slider-border-rounding

TEST COMPLETE


Nullable key issues fixed for configurable product

Info
Link: https://github.com/bagisto/bagisto/issues/7668

@Amitk-webkul,
Please test for all product types creation as well as updation.

I have checked the issue for all types of the product.
and it is working fine.Here


Allow for disabling clipping of adorners. Cleanup AdornerLayer class.

What does the pull request do?

Implements https://docs.microsoft.com/en-us/dotnet/api/system.windows.documents.adorner.isclipenabled and cleans up AdornerLayer class.
Disabling clip is useful when one wants to display adorners larger than the adorned element.
What is the current behavior?

Adorners are always clipped.
What is the updated/expected behavior with this PR?

One can opt out from adorner clipping.
How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Great, now it will be possible to port FocusVisualMargin with negative margins. So, focus adorner for some controls won't be broken (like CheckBox).


Do not generate swift_deps.bzl if using bzlmod

The file is not used when using bzlmod.

🤦♂ We already handle this with the generate_swift_deps_for_workspace attribute.


Config the screen size break point

The theme is designed to collapse the menus when the width less than 1400px, and expand when the width is great than that point.
It would be great to have a way to configure this.

Done, please upgrade the related header modules and tweak the header.breakpoint parameter (default to lg).
Read more on http://localhost:13131/en/modules/header/overview/.
hugo mod get -u ./...

Or upgrade specified modules.
hugo mod get -u \
  github.com/hbstack/header/modules/banner \
  github.com/hbstack/header/modules/theme-toggle \
  github.com/hbstack/header/modules/search \
  github.com/hbstack/header/modules/language-picker \
  github.com/hbstack/header/modules/socials


[EPIC] Notebooks Test Framework Implementation

The notebooks currently have minimal test coverage. With this implementation, we want to test with a distinct test_notebook.ipynb file for each notebook, reflecting the specific functionality being tested.
Bellow are the subtask for this work. (May be added more during the implementation)

[x] https://github.com/opendatahub-io/notebooks/issues/180
[x] https://github.com/opendatahub-io/notebooks/issues/181
[x] https://github.com/opendatahub-io/notebooks/issues/182
[x] https://github.com/opendatahub-io/notebooks/issues/176
[x] #204

All the parts for Test framework setup is complete.
Further Enhancements will be done as separate tasks.
Thanks everyone who worked on this.


[Impeller] color issues with BlendMode.screen.

Steps to reproduce

Issue A

Run the code below with iOS/Impeller.
Check the screen.

Issue B

comment the line about color, and uncomment the line about shader.
Run the code and check the screen again.

Note:

The major issue is the green color doesn't apply on the layer.
And there is a regression for Issue B from 3.13 to 3.16.
Tested on Flutter 3.16.5 and master version.

Expected results
A green blurred circle on screen.
Actual results
Issue A on iOS/Impeller:
A black blurred circle on screen.
Issue B on iOS/Impeller with 3.16.5:
White screen with nothing.
Issue B on iOS/Impeller with 3.13.9:
A black blurred circle on screen.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'dart:ui' as ui;

void main() {
  runApp(const MyWidget());
}

class MyWidget extends StatelessWidget {
  const MyWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Align(
          alignment: Alignment.center,
          child: CustomPaint(
            size: Size.infinite,
            painter: BubbleLayerPainter(),
          ),
        ),
      ),
    );
  }
}

class BubbleLayerPainter extends CustomPainter {
  const BubbleLayerPainter();
  @override
  void paint(Canvas canvas, Size size) {
    final colorBlur = Paint()
      ..style = PaintingStyle.fill
      ..maskFilter = const MaskFilter.blur(BlurStyle.normal, 10)
      ..color = Colors.black;

    final center = size.center(Offset.zero);
    canvas.drawCircle(center, 128, colorBlur);
    final surface = Paint()
      ..blendMode = BlendMode.screen
      ..color = Colors.green;                  // <<-- issue here
    // ..shader = ui.Gradient.linear(
    //     Offset.zero, Offset(0, size.height), [Colors.green, Colors.green]);
    canvas.drawPaint(surface);
  }

  @override
  bool shouldRepaint(BubbleLayerPainter oldDelegate) {
    return true;
  }
}

Screenshots or Video

Screenshots

Issue A:

Output on Android

Issue A on iOS/Impeller

Issue B:

Output on Android

Issue B on iOS/Impeller with 3.16.5

Issue B on iOS/Impeller with 3.13.9

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.5, on macOS 13.6 22G120 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.16.5 on channel stable at /Users/[user]/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/zhx/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode_15.1.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.2

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.81.20231227

[✓] Connected device (2 available)
    • iPhone (mobile)    • 00000000-0000000000000000 • ios          • iOS 16.5.1 20F75
    • macOS (desktop) • macos                     • darwin-arm64 • macOS 13.6 22G120 darwin-arm64

[✓] Network resources
    • All expected network resources are available.

• No issues found!```

</details>

Hi @zhxst
I can see and reproduce issue A. But when I check issue B, I see the same result on both Android and iOS (white screen). I would suggest you open a separate issue for better tracking and update this issue description as well (remove unrelated info). Meanwhile, I will label issue A. Thanks!

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.5 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 120.0.6099.129

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.18.0-19.0.pre.116, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.18.0-19.0.pre.116 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e94a2c04c1 (40 minutes ago), 2024-01-09 02:33:47 +0000
    • Engine revision d13479968b
    • Dart version 3.4.0 (build 3.4.0-4.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 120.0.6099.129

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Edit the images with table to layout better.
Another thing is that by using screen color picker,  you can see color is not pure in the issue image.

This appears to be working at ToT.

Confirmed not working on 3.16. Closing this as we fixed it in the meantime.


Clarify how the host resolver works on Mac OS X

Added a more explicit description of the /etc/resolver setup.
Closes #111

LGTM! Merge at will. :+1:


!help - Grammar

In the Wii-related section of the !help command:
!code - Manages wii for the user.
!add - Sends your friend wii to another user.

It should say something like the following:
!code - Manages friend codes for the user. !add - Sends your friend codes to another user.


Problems with https

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour
Deploy CVAT with respect to HTTPS Docs and have a valid certificate.
Command:
docker-compose -f docker-compose.yml -f docker-compose.https.yml up -d
Current Behaviour
Firefox does not accept certificat and states connection not secure.
 No
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04

@azhavoro , could you please comment?

Hey @nmanovic and @azhavoro after switching to a proper subdomain the problem was solved. Sorry for the inconvenience.
Thanks for the great project!


Check for filcc validity

The "thread-safe" version of filcc that was written to accommodate CUDA support in StarLord may not fill corner zones with valid values. Need to check this and fix it if so.

This has been partially resolved. Indeed it was the case that the new filcc was problematic. On the CPU, filcc works by filling the various directions in such a way that the first pass may not place meaningful data on the corners, but by the time the passes in all three dimensions are done, the corner zones all have valid data. On the GPU this logic failed, because each zone was operating independently. This was fixed by doing a threadblock synchronization before each directional pass. But, this only works if the entire corner is on a single threadblock, which required customized logic in the StateData BC fill to ensure that the number of threads in the block was enough to fill the corner and at least the first interior zone.
CUDA 9 cooperative groups, when they are exposed in CUDA Fortran, may allow a cleaner solution to this.


Canister does not rollback when trap occured

ic_cdk:0.10
When i use call_with_payment128 in canister。This problem occurs when http calls or creates canister
The state before call did not rollback when trap occured。
The pseudo code is as follows,Change state from 0 to 1 ：
state = 1
call_with_payment128
panic!
When the trap occurs, the status still changes to 1 and the rollback does not occur.

Supplement：the common cause of this problem is that cycles is greater than 0 when calling

This is the intended behaviour of the IC, states do not roll back across async boundaries.

If you would like rollback logic to run when the function is interrupted, you can use scopeguard, which provides something akin to finally/defer.


nezha-agent: 0.17.3 -> 0.18.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nezhahq/agent/releases.
meta.description for nezha-agent is: Agent of Nezha Monitoring
meta.homepage for nezha-agent is: https://github.com/nezhahq/agent
Updates performed

Golang update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.18.0 with grep in /nix/store/n371nwcmmz8ism7gqd9gk54qa7bnsd2p-nezha-agent-0.18.0
found 0.18.0 in filename of file in /nix/store/n371nwcmmz8ism7gqd9gk54qa7bnsd2p-nezha-agent-0.18.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

nezha-agent

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/0520210aaa8379eaa08c79b2d7e4ff4552c19fe2#nezha-agent

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

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

1 package built:

nezha-agent

Maintainer pings
cc @Moraxyc for testing.

@NixOS/nixpkgs-merge-bot merge


Changing src attribute when is="x-frame-bypass" is set

Hi. I'm making an PWA which will change the URLs dynamically and thanks to your amazing work I can load external sites. But after setting that is="x-fr..." attribute, I'm no longer able to change the src attribute.
Is there a way to change the url dynamically and still keep the is="x-frame-bypass" attr set?

Yes, by implementing attributeChangedCallback() event. This could be addressed in the next version.

@niutech Thanks. Looking forward to it 👍. Modified my code to use cors.io for now 😊

you could just rewrite the innerHTML like this
container.innerHTML = '';

you could just rewrite the innerHTML like this
container.innerHTML = '';

I'll give it a shot and update soon. Thank you for the suggestion.

The above worked for me

@niutech how can I implement the attributeChangedCallback() event?

It's just been fixed, now changing the src attribute works.


MediaInfo CLI giving incomplete language audio and text info compared to Mediainfo GUI

Attached is output from MediaInfo GUI and CLI showing differences.  Am not posting the video file but can supply it if needed.  Ran GUI and CLI with no options but earlier used --Inform option with CLI giving same results.  I may have noticed other differences but not sure and can't reproduce at this time.
Note GUI Audio Track #1 Language shows English.  CLI Audio Track #1 does not list language.
GUI Text Tracks #1 and #2 list English.  CLI no language.
CLI also does not list Audio and Text Default and Forced.
I was asked to post this but it no longer matters to me.  I'm now using pymediainfo,  If I had been aware of pymediainfo earlier I wouldn't have used CLI.  Not sure how important CLI is now.
This is not criticism.  I greatly appreciate mediainfo.  If I had to write my own software to parse video metadata I'd probably be dead of old age without getting anything working.
BWGUI.txt
BWCLI.txt

Is the gui and the cli using the same version?

@cwaynedavis1946 please send the file (my email is on my GitHub profile).

My apologies to all.  I don't remember where I got the version of the CLI I had, MediaInfoLib - v0.7.31, but it's obviously obsolete.  Jerome contacted me and I downloaded version 19.09 and tried it.  Line for line same results as the GUI.  I thought that I had downloaded the GUI and CLI at the same time but obviously not.  Sorry for wasting Jerome's time.
Wayne


Expressions

x = (a+t)/3 +5
does not work due to space, will work on correcting

fixed, and pushed.


Support 3.7, 3.8. 3,9, 3.10 using one copy of codebase

We have to use sys.version_info to switch between two different ast visit functions to address the difference between python<=3.8 and >=3.9

The changes look good to me, and my only issue is the lack of CI to run all regression tests at this moment... is the plan to migrate to Github actions?

i'm planning to try out github action
Sent from my iPhone SE

On May 27, 2021, at 10:08, Peitian Pan @.***> wrote:

The changes look good to me, and my only issue is the lack of CI to run all regression tests at this moment... is the plan to migrate to Github actions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Get shape of output from original array - map_overlap

Closes #6681

[x] Tests added / passed
[x] Passes black dask / flake8 dask

Thanks!


search by appropriation

Don't forget to sync with this PR https://github.com/vulekamali/solr-dokku/pull/9


Intellisense in C# not working at all in Insiders

Issue Type
Bug
Description
Just load a C# file in VSCode-Insiders, no intellisense available, maybe Omnisharp editor never loads?
VS Code Info
VS Code version: Code - Insiders 1.21.0-insider (70e020b2377f12894ca11254548ce365a0e435f1, 2018-02-15T05:17:01.988Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (2 x 2992)

Memory (System)
7.84GB (4.57GB free)

Process Argv
C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe F:\MISDIR\APPS3\WhseRequest

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

csharp
ms-
1.14.0

Reproduces without extensions

@byroniac issue confirmed, the c# extension is activated but the OmniSharp server isn´t running. I´ve filed https://github.com/OmniSharp/omnisharp-vscode/issues/2048, closing this issue.

I just tested and it works in VSCode-Insiders Linux, but not Windows.


error building ZED component

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
I receive an error during the colcon build coment.
The previous zed-ros2-wrappe version works fine. I think that the version I tested las week was foxy-v3.7. I think that the last MR introduce something that doesn't works in my environment.
Steps to Reproduce

colcon build --symlink-install

Expected Result
the component was build
Actual Result
I get errors like these when I try to build the componet
/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In member function ‘bool stereolabs::ZedCamera::startCamera()’:
/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:2689:31: error: ‘class sl::Camera’ has no member named ‘setRegionOfInterest’
2689 |     sl::ERROR_CODE err = mZed.setRegionOfInterest(roi_mask);
|                                                   ^~~~~~~~~~~~~~~~~~~
/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In member function ‘bool stereolabs::ZedCamera::startPosTracking()’:
/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:2922:15: error: ‘struct sl::PositionalTrackingParameters’ has no member named ‘depth_min_range’
2922 |   trackParams.depth_min_range = mPosTrackDepthMinRange;
|                       ^~~~~~~~~~~~~~~
/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:2923:15: error: ‘struct sl::PositionalTrackingParameters’ has no member named ‘set_gravity_as_origin’; did you mean ‘set_floor_as_origin’?
2923 |   trackParams.set_gravity_as_origin = mSetGravityAsOrigin;
ZED Camera model
ZED2i
Environment
OS: Ubuntu 22.04
ROS2 Version: Foxy
Python 3.8.8

Anything else?
No response

The latest version of the master branch requires the ZED SDK v3.8.x as specified in the README file.

it's true, now works, thanks


Pathless Woods Demo Auto Translator Folder Doesn't Appear

What's on the title. I need to translate the game to Spanish, but the auto translator folder doesn't appear. I do not see anything related to "il2cpp" so I not sure what's the issue.

From what I understand, the game uses stripped libraries. They should be replaced with full versions.


Update the type of OscillatorNode's type property

Per w3's spec (https://www.w3.org/TR/webaudio/#idl-def-OscillatorType) the type is one in five strings, not an AudioParam. Fix for issue #2146.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Related MDN: https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type
👍

@facebook-github-bot import


[C++] Fix Result can't be serialized to string inside the library

Motivation
When a Result was passed to std::ostream::operator<< inside the library, the overloaded operator<< wouldn't be called. Instead Result was treated as a integer. For example, if you subscribed to a topic of a namespace that didn't exist, the error log would be:

ERROR ClientImpl:384 | Error Checking/Getting Partition Metadata while Subscribing on persistent://mytenant/myns/mytopic -- 5

Giving following code:
namespace pulsar {
    void foo() {
        std::stringstream ss;
        Result result = ResultOk;
        ss << result;  // "0"
    }
}

void foo() {
    std::stringstream ss;
    Result result = ResultOk;
    ss << result;  // "Ok"
}

ss << result inside namespace pulsar doesn't call ::operator(ss, result). Instead, it calls pulsar::operator(ss, result), which hasn't been overloaded. Because nearly all methods are in namespace pulsar, the LOG_XXX(... << result) won't call ::operator<<(std::ostream&, Result).
Modifications

Change the overloaded operator<< for Result from global namespace to namespace pulsar.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


The all Matcher provides false positives when empty

When using the all matcher, if the item being matched against is empty the expectation returns true instead of false.  For example:
expect([]).to all include "abc"

The above expectation would return true when it should return false since the empty array doesn't include abc

While it's counter intuitive, it's logically correct, for the same reason that Ruby returns true in this case:
irb(main):002:0> [].all? { |i| i.odd? }
=> true

i.odd? is in fact true of every element in the collection; it's just that it doesn't have elements.  If it returned false, it would imply that there is at least one element in the collection for which i.odd? does not hold true,  which is not correct.
I agree this is a gotcha, though; it's one reason I covered it in Effective Testing with RSpec 3: Build Ruby Apps with Confidence.  My suggestion from the book is to do this:
RSpec::Matchers.define_negated_matcher :have_elements, :be_empty

expect([]).to have_elements.and all include "abc"

Got hit by this today 😔. Would be in practice helpful if the documentation mentioned this behavior.
Interesting note about vacuous truths from Wikipedia:

Outside of mathematics, statements which can be characterized informally as vacuously true can be misleading. Such statements make reasonable assertions about qualified objects which do not actually exist. For example, a child might tell their parent "I ate every vegetable on my plate", when there were no vegetables on the child's plate to begin with.

🤷♂

@beyondcompute PR welcome for the documentation :)


Add tests for old overlay module

Codecov Report

Merging #368 into master will increase coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #368      +/-   ##
==========================================
+ Coverage   95.09%   95.23%   +0.14%
==========================================
  Files          32       32
  Lines        9707     9707
==========================================
+ Hits         9230     9244      +14
+ Misses        477      463      -14


Problems with overlaying Settings

"Done" can be clicked
cursor changes it's appearance when mouse-overing checkbox/link/text.
despite previous statement, links cannot be clicked and checkbox cannot be (un)checked. Text cannot be selected

After updating to v0.1.7 I cannot open settings at all.


Treat "" As Missing Value

This PR adds an option to treat "" values the same as undefined.
We use dotenv files to show what options are available in our projects, with empty values in them to show that they are optional or not possible to commit to repositories:
PORT=8080
APP_ENV=development

SYSTEM_TOKEN=
CDN_URL=
GRAPHQL_URL=

This causes problems with envsafe when we have default values for these env vars (e.g. defaulting the URLs to localhost) since it results in process.env.CDN_URL = "".

[x] Test manually in project

Hey Adam, thanks so much for the PR!
I really like the idea, I actually think it should be the default behaviour and an opt-out rather than an opt-in (breaking behaviour so I'll do a new major).
Would you mind updating your PR so the API is something like this? 👇
Other ideas on approaching the problem are welcome as well.. Also, tick the "Allow edits"-thingy, please :)
Default behaviour
import { str, envsafe, port, url } from 'envsafe';

export const env = envsafe({
  CDN_URL: str({
    devDefault: 'http://localhost:3000',
  }),
 // ...
})

❌  Fail if CDN_URL is empty string
New option allowEmpty: boolean

Only on str() as the other ones are never gonna be valid as empty str

import { str, envsafe, port, url } from 'envsafe';

export const env = envsafe({
  CDN_URL: str({
    devDefault: 'http://localhost:3000',
    allowEmpty: true,
  }),
 // ...
})

✅  Succeed if CDN_URL is empty string
Checklist

[ ] Add functionality
[ ] Add tests
[ ] Ensure other validators other than str() don't have the allowEmpty-property
[ ] Update README.md

Hey Adam, thanks so much for the PR!
I really like the idea, I actually think it should be the default behaviour and an opt-out rather than an opt-in (breaking behaviour so I'll do a new major).
Would you mind updating your PR so the API is something like this? 👇
Other ideas on approaching the problem are welcome as well.. Also, tick the "Allow edits"-thingy, please :)
Default behaviour
import { str, envsafe, port, url } from 'envsafe';

export const env = envsafe({
  CDN_URL: str({
    devDefault: 'http://localhost:3000',
  }),
 // ...
})

❌  Fail if CDN_URL is empty string
New option allowEmpty: boolean

Only on str() as the other ones are never gonna be valid as empty str

import { str, envsafe, port, url } from 'envsafe';

export const env = envsafe({
  CDN_URL: str({
    devDefault: 'http://localhost:3000',
    allowEmpty: true,
  }),
 // ...
})

✅  Succeed if CDN_URL is empty string
Checklist

[ ] Add functionality
[ ] Add tests
[ ] Ensure other validators other than str() don't have the allowEmpty-property
[ ] Update README.md

Sure I'll update it!
If you mean allow maintainers to edit it is already checked for me...

Sure I'll update it!
If you mean allow maintainers to edit it is already checked for me...

Great, looking forward to reviewing it. I've merged main so the CI will now run on this branch now.
Fine if you want to do a separate PR as well!

Great, looking forward to reviewing it. I've merged main so the CI will now run on this branch now.
Fine if you want to do a separate PR as well!

Looking into it more I realised that the issue exists on the validators that parse the string input - e.g. port and url. str is fine as it thinks "" is a valid string, and is g2g already.
After considering the different ways to do this I still think the best way to handle it is an option on envsafe rather than the validators as we would have to conditionally handle empty string inputs to them in each validator that it might apply to, which will be a mess to maintain. It'll be a lot easier to change an empty string into null

Looking into it more I realised that the issue exists on the validators that parse the string input - e.g. port and url. str is fine as it thinks "" is a valid string, and is g2g already.
After considering the different ways to do this I still think the best way to handle it is an option on envsafe rather than the validators as we would have to conditionally handle empty string inputs to them in each validator that it might apply to, which will be a mess to maintain. It'll be a lot easier to change an empty string into null

Empty string will never be valid on url nor number/port though, will it?

Empty string will never be valid on url nor number/port though, will it?

No, but it does allow defaulting over the missing value instead of it just erroring

No, but it does allow defaulting over the missing value instead of it just erroring

Oh, true! I didn't consider defaults, now I'm with you.
Maybe an option to allowEmpty: boolean on the env options  / all the validators then and throw MissingEnvError if it's not true and otherwise pass it to the parsers.
I'm still contemplating if it's better to do it granularly on the validators; I reckon it's rare that one would want to do this and it might be useful to do it granularly.

Oh, true! I didn't consider defaults, now I'm with you.
Maybe an option to allowEmpty: boolean on the env options  / all the validators then and throw MissingEnvError if it's not true and otherwise pass it to the parsers.
I'm still contemplating if it's better to do it granularly on the validators; I reckon it's rare that one would want to do this and it might be useful to do it granularly.

So -

Either in Spec https://github.com/KATT/envsafe/blob/f5e632a32ddbd6367872dc92f29eab22cd86cbfd/src/types.ts#L1
Or in EnvsafeOpts  https://github.com/KATT/envsafe/blob/f5e632a32ddbd6367872dc92f29eab22cd86cbfd/src/types.ts#L50

I'm leaning towards Spec being nicer...

So -

Either in Spec https://github.com/KATT/envsafe/blob/f5e632a32ddbd6367872dc92f29eab22cd86cbfd/src/types.ts#L1
Or in EnvsafeOpts  https://github.com/KATT/envsafe/blob/f5e632a32ddbd6367872dc92f29eab22cd86cbfd/src/types.ts#L50

I'm leaning towards Spec being nicer...

 Sorry for the back-and-forth!  Sorry for the back-and-forth! :)

I agree that having the option on the validators for more granular control is better, and I did finally realize that I just had to change where the option came from in the implementation for it to work...
So that's done as well as the documentation.
Should I also add a changelog? Just the simple template from https://keepachangelog.com/en/1.0.0/

I agree that having the option on the validators for more granular control is better, and I did finally realize that I just had to change where the option came from in the implementation for it to work...
So that's done as well as the documentation.
Should I also add a changelog? Just the simple template from https://keepachangelog.com/en/1.0.0/

Simplified a bit in f24df97c6eb035f617715a4b95e34e6163519a2b
Released as 2.0.0 🚀
Thanks!

Simplified a bit in f24df97c6eb035f617715a4b95e34e6163519a2b
Released as 2.0.0 🚀
Thanks!


Frost walker dupes water

frost walker transforms full(!) water blocks (at the same level as the walker) into ice (in frost walker radius)

the created ice pushes the water away!!!!

After ice melts it creates another block of water

[ ] solution: remove water before creating ice

[ ] optional: aggregate water from neighbor (below) blocks when block to be frosted is not full level

solved for 1.18


removed trailing comma

Trailing comma on last item in object breaks script for some browsers

Thanks, but i am wondering in which actual browser it could break anything?

It broke IE9 - which just about works with a polyfill! Thanks

No, it doesn't broke IE9, it broke  IE 8. Anyway, both of these IEs are not supported :D
Thanks anyway


Change Color combination

Change in Colors of hovers of buttons and links
There is currently green and black color combination present try to edit that combination as per suitable to Anime color combination.

Hey can you assign me to this issue i would like to work on this

@Akhilbisht798  You can raise a PR

That is great. I will start working on this

So i have some question about this. Basically you want your website buttons and links on hover to change to something else.

And what you mean by color suitable to Anime color

@Akhilbisht798  go for Red-black or as you like...... Show me when you done

@prasad-chavan1 great. I was thinking of red-black look. So i will change them to red-black

Hey, I have made the changes opening a draft pr for now. Just because i want to ask some question about this class called btn-success and btn-block.

Hey, I have made the changes opening a draft pr for now. Just because i want to ask some question about this class called
btn-success and btn-block.

Bootstrape Btn classes im providing link for reference
https://getbootstrap.com/docs/4.0/components/buttons/

Great I will make the relevant changes need. You can check my pr.

@Akhilbisht798  Make changes as i suggested and provide a small video clip

Okay. On it

Hey, I have made all the nesscary changes.
Screencast from 01-10-23 09:28:18 PM IST.webm

@Akhilbisht798  Great Job

Hey, I have made all the nesscary changes. Screencast from 01-10-23 09:28:18 PM IST.webm

Login as usrname: itachi & pass: 123 and check out right sidebar...........

Oh okay my bad did'nt see that.
You are reffreing to follow button i suppose

Oh okay my bad did'nt see that. You are reffreing to follow button i suppose

Yahhh buddy

Done.

@Akhilbisht798 take a look at that save post button and also on hovers occuring at left side bar...........One more thing you should do that change the spinner.gif to red in static/images directory......

I think you are talking about this.

Okay i will change this.

Okay i will change this.

Surely

Now only thing remaining is icon. I would take some time but we can find some good one into red color.

I was thinking since this is based on naruto. We can make logo in sharigan eye something like that.
It would be cool and match the website vibe.

I was thinking since this is based on naruto. We can make logo in sharigan eye something like that. It would be cool and match the website vibe.

YEAH OBVIOUSLY GO FOR THAT

Hey i will need some time for that.. If that is okay with you. I will surely do this.

Hey i have solved that issue. Now it is working perfectly. You Can now merge the pr i have opened.

Hey, have you found any logo yet.

Hey, have you found any logo yet.

Buddy im busy in presentations 😢 I asked for you to design one


Support Audit Log For waggle-dance

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Add audit log for waggle dance
Describe alternatives you've considered
By hook
Additional context
Add any other context or screenshots about the feature request here.

Hi @jueshali – please include additional information about your issue. If it's a feature request, you should include:

How do you see it working?
Why do you need this feature?

Thanks.

How do you see it working?
This function can audit user access requests on the server side. Record client IP, UGI, etc.
Why do you need this feature?
This function can help me locate some abnormal business requests, such as delete drop and other unusual  user request, replace metastore's audit feature

@jueshali – have you considered using Ranger (https://cwiki.apache.org/confluence/display/RANGER/Ranger+Plugin+for+Hive+MetaStore)?

Ranger can auditing  authentication behaviors, but we also want to record the number of partitions returned and whether there are behaviors such as scanning the entire table. This will help us locate anomalous jobs.

2024-07-10 09:33:16,686 INFO HiveMetaStore.audit: ugi=xxx    ip=xx.xx.xx.95 cmd=get_table size=

this is example for hive meta audit log

@jmnunezizu  hello，This is important for us, I will implement this feature in our internal version. Can you give me some code development advice? tks

We added this this not so long ago does that help: https://github.com/ExpediaGroup/waggle-dance/tree/main/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/server#L57

very outstanding work thks

I'll close this then.


Incompatible with jekyll-minifier

Describe the bug
I was trying to use this plugin, but encountered with a bug. After trying to read the log, I found something with jekyll-minifier. I tried removing the jekyll-mifier plugin. This plugin works smoothly. But it gives an error with jrkyll minifier
To Reproduce
Use this plugin with jekyll-minifier
Environment:

OS: Archlinux
Ruby version: 3.0.4p208
Bundler version: 2.3.10
Jekyll version: 4.2.1
Jekyll Favicon version: 1.0.0

Log
/usr/lib/ruby/gems/3.0.0/gems/jekyll-favicon-1.0.0/lib/jekyll/favicon/static_file/convertible.rb:68:in `copy_file': wrong number of arguments (given 2, expected 1) (ArgumentError)
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:223:in `write'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-favicon-1.0.0/lib/jekyll/favicon/static_file/convertible.rb:61:in `write'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:231:in `block in write'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:358:in `block (2 levels) in each_site_file'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:357:in `each'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:357:in `block in each_site_file'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:356:in `each'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:356:in `each_site_file'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:230:in `write'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:82:in `process'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:28:in `process_site'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:65:in `build'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:36:in `process'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `each'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
        from /usr/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from /usr/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from /usr/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from /usr/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from /usr/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from /usr/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/exe/jekyll:15:in `<top (required)>'
        from /usr/bin/jekyll:25:in `load'
        from /usr/bin/jekyll:25:in `<top (required)>'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `load'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `kernel_load'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:23:in `run'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/cli.rb:483:in `exec'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/cli.rb:31:in `dispatch'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/cli.rb:25:in `start'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/exe/bundle:48:in `block in <top (required)>'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
        from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/exe/bundle:36:in `<top (required)>'
        from /usr/bin/bundle:25:in `load'
        from /usr/bin/bundle:25:in `<main>'

This issue is maybe created since both the classes have same name in the following file:
https://github.com/afaundez/jekyll-favicon/blob/8ac2ca55ea94817153a1733d4d660f67d01b79cb/lib/jekyll/favicon/static_file/convertible.rb#L8

@rohandebsarkar, thanks for the feedback.
I was checking, and apparently, the issue comes from both gems modifying the Jekyll::StaticFile class. I create a subclass and then overwrite its methods, but it seems I get the superclass modified by minifier.
I'll try to find a workaround, maybe excluding favicon assets when minifying like this

@rohandebsarkar, thanks for the feedback.
I was checking, and apparently, the issue comes from both gems modifying the Jekyll::StaticFile class. I create a subclass and then overwrite its methods, but it seems I get the superclass modified by minifier.
I'll try to find a workaround, maybe excluding favicon assets when minifying like this

Hi @afaundez!, thank you for replying.
I tried excluding the favicon assets from minifying, but still the error persists.

+1 I also just ran into this issue.
Great Jekyll Plugin!

I'll close this issue and label it won't fix, considering I couldn't find a way to bypass the way jekyll-minifier modifies the original Static File class even if the file it's excluded (it adds an extra parameter to the jekyll class)
I'll welcome any idea to reopen the issue!


Use async function call instead of top level await

Some browsers (like wechat's built-in browser) does not support top level await for now

The top-level await is on purpose to block the rendering to avoid FOUC. Maybe we should make a gentle fallback, while keeping top-level await on browsers that support it.


Feature/oepcis 521 fixing issues associated ilmd marshalling

This PR will fix the issues associated with namespaces during the document/event conversion from XML <-> JSON that were caused due to recent changes. Kindly request you to review and approve the PR.

@sboeckelmann Fixed the changes requested based on the review. Can you please once verify and approve the PR.


Invalid profile, leads to misleading error

I am using a profile.toml file as (first lines removed):
[[backup.sources]]
source = "~/Works/"
tag = "works" ← this is the faulty line (line 13)
git-ignore = true

Running rustic I get the following error:
Error: error reading TOML from config file

Caused by:
    TOML parse error at line 12, column 1
       |
    12 | [[backup.sources]]
       | ^^^^^^^^^^^^^^^^^^
    invalid type: string "works", expected a sequence

Well, your toml is indeed invalid. tag requires a list of tags, see https://github.com/rustic-rs/rustic/blob/main/examples/full.toml.
So, you should use
tag = ["works"]

Closing this as the config file uses the same name as the CLI - which has the --tag option (where also multiple tags can be defined).

I understand that the "tags" should be a list, would it be nice if the error message would point to the tag = "work line, instead of  [[backup.sources]].
The text [[backup.sources]] is also marked as the "erroring" part, that is the reason I found it confusing

Ah, I see. Thanks for your comment.
Actually this is the standard behavior of the toml crate - see https://github.com/toml-rs/toml.
Don't know if there is already an open issue. In any case, this can't/won't be fixed within rustic, sorry.


District needs and collection points not updated

Subject of the issue
The link for district needs and collection points returns an empty table.
Your environment

Python 3
Chrome 68
Linux Mint

Steps to reproduce
Gather data and display it
Expected behaviour
Table showing the district,items requires and collection point
Actual behaviour
Blank table

Seems to be working on my side.

For me It's not.@zahlekhan

Seems to be a problem with my server


[otel-tracing] Initial opentelemetry support. Rebase of 3701

https://github.com/distribution/distribution/pull/3701 was closed due to an issue with rebasing and losing all the changes. This PR is an attempt to revive the changes from the original PR from @lengrongfu.
Original PR comment:

Closes Feature：add trace features  #3451

Local Repose workflows result :

Codecov Report
Patch coverage: 18.64% and project coverage change: -0.40% :warning:

Comparison is base (6ccc551) 55.85% compared to head (e248ccd) 55.46%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3996      +/-   ##
==========================================
- Coverage   55.85%   55.46%   -0.40%
==========================================
  Files         110      110
  Lines       11069    11183     +114
==========================================
+ Hits         6183     6203      +20
- Misses       4193     4283      +90
- Partials      693      697       +4

Files Changed
Coverage Δ

registry/registry.go
45.42% <0.00%> (-0.15%)
:arrow_down:

registry/storage/cache/redis/redis.go
0.00% <0.00%> (ø)

registry/handlers/app.go
45.57% <19.23%> (-1.00%)
:arrow_down:

configuration/configuration.go
62.80% <40.00%> (-2.30%)
:arrow_down:

registry/storage/cache/memory/memory.go
74.54% <73.33%> (-0.46%)
:arrow_down:

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

Good news: experimental OpenTelemetry tracing support has been added to the latest Google Cloud SDK! With a dependency bump and an environment variable set, tracing through the gcs driver would Just Work!
Tracing through the azure driver will be almost as easy to enable with the support built into the Azure SDK.
As for S3, otel tracing support exists... for AWS SDK v2. At least the work already put into this PR won't go to waste.

Good news: experimental OpenTelemetry tracing support has been added to the latest Google Cloud SDK! With a dependency bump and an environment variable set, tracing through the gcs driver would Just Work!

I had a look into this. distribution depends on cloud.google.com/go/storage and the latest available tag for that package seems to be: v1.35.1
And it'd appear v1.35.1 still depends on cloud.google.com/go v0.110.8 which is one minor version behind what we'd like which is (v0.111.0).
Correct me if I'm wrong though, please.

@milosgajdos you are wrong. We can raise the version floor of a transitive dependency in our own go.mod if we want, because all Go modules are semver by decree.

Ah, right.
Ooof I completely missed https://github.com/distribution/distribution/blob/60e7e878893a09e947ba1dd484bf6ea181bd97e2/go.mod#L38

Closing as outdated but more importantly the basics have been put in place in https://github.com/distribution/distribution/pull/4188


Enable some constants that are actually available on redox

libc recently added more constants for redox, so some of the cfgs can be removed.

Ohh, I figured that those were only there because redox didn't have them, but I assume windows doesn't either? I'll fix that

I don't think the macos failure is related to my changes

Thanks @coolreader18. So you know, this is the v0.4.x version which is currently released and doesn't have a release date yet.

Yup, I was going to backport these redox fixes to 0.3 next, as it currently doesn't compile.


validation rule with multiple values (like cc) throws error

^4[0-9]{12}(?:[0-9]{3})?$ works
^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14})$ does not

Because of the pipe operator. "|" is used as rule separator.

Reopening due to upcoming Regex changes

See #57


Creating a new version of a resource fails to transfer folders on beta 1.8.0

I created a new version of the resource https://beta.hydroshare.org/resource/460efa3d86284035a533162402328785/.  This resource has its files organized into two folders.
The new resource landing page https://beta.hydroshare.org/resource/039d700187fe4b48bc67f1b18d22e2b1/ indicates no content files.
Clicking delete on the new resource results in an error like the attached but does seem to delete the resource
error.txt

In a further test on versioning I created a resource https://beta.hydroshare.org/resource/e3b96edb6fae44e2808b7fddb188307c/.  I put 9 files in it.  I then created a new version of it
https://beta.hydroshare.org/resource/33a6472f43c7442ea9e1414948afe5bf/
The contents display shows no files, but when I download all contents as a zipped bagit archive I find the previous version as a bag file inside the new version.

Testing on the updated beta this has been fixed.  Thank you.  Great Job!!


Fix scrollable area on sidebar file list

This fixes a minor issue that I run into quite a bit personally.
On the sidebar file list, when you have enough files that make the scrollbar appear (Windows and Chrome OS display permanent scrollbars, unlike Mac OS X), the controls box (Save/Logout/etc.) at the top cover the top 35px of the scroll bar.
If you have not that many files, that's not too bad. For a site with thousands of files, the draggable piece of the scrollbar is very small, and can be entirely covered by the controls box on load.
This CSS change makes it so that the scrollbar starts below the controls box.
(I made a mistake with an earlier commit that made a bigger change. If you merge this pull request, please use squash and merge so your commit history stays clean.)

Here are some screenshots of what I mean.
Before fix:

After fix:

@blocknotes any changes you want me to make?

Thank you for your contribution @bigicoin


Subscribe to Telegram event through config file

Short Description
At the moment Telegram task allows us to subscribe through command /sub.
It'd be better if we can pre-set the subscription through config file, say telegram.json.
Possible solution
Modify the task construction/initialization to parse the config, and perform necessary subscription.
How it would help others
People are interested in only a certain set of events, and that's unlikely to change. Hence having to re-sub one by one every time restart the bot would be very troublesome.
Config file would be the starting point, then we can still subscribe for more as per usual.

I think we don't need another conf file. We can do this in auth.json @lntn

The subs are saved in a database....you shouldnt have to resubscribe everytime you start the bot.


Tests failing with Pydantic 2.7.0 update

A new version was released yesterday.
https://github.com/equinor/fmu-dataio/actions/runs/8654958823/job/23733116877
They all seem to relate to enum values
yaml.representer.RepresenterError: ('cannot represent an object', <ContentEnum.depth: 'depth'>)

This may relate to the following Pydantic change:
Add enum and type to the JSON schema for single item literals

which also changes the schema a bit.

Test case that represents the issue. I think there are two parts at play here.
from enum import Enum
from typing import Literal, Optional, Union

from pydantic import BaseModel, Field, RootModel
from typing_extensions import Annotated

class SomeEnum(str, Enum):
    FOO = "foo"
    BAR = "bar"
    BAZ = "baz"

class SomeModel(BaseModel):
    some_enum: SomeEnum = Field(description="The contents")
    another_enum: Optional[SomeEnum] = Field(
        default=SomeEnum.FOO, validate_default=True
    )

class FooModel(SomeModel):
    some_enum: Literal[SomeEnum.FOO]

class BarModel(SomeModel):
    some_enum: Literal[SomeEnum.BAR]

class AnyModel(RootModel):
    root: Annotated[Union[FooModel, BarModel], Field(discriminator="some_enum")]

foo_model = FooModel(some_enum=SomeEnum.FOO)
print("foo_model:", foo_model.model_dump(mode="json"))
# {'some_enum': 'foo', 'another_enum': 'foo'}

any_model = AnyModel.model_validate(foo_model)
print("any_model:", any_model.model_dump(mode="json"))
# {'some_enum': <SomeEnum.FOO: 'foo'>, 'another_enum': 'foo'}

Setting model_config = ConfigDict(use_enum_values=True) does not help in this case. However, changing the enum to not use the str mixin does:
class SomeEnum(Enum):
    FOO = "foo"
    BAR = "bar"
    ...

...

foo_model = FooModel(some_enum=SomeEnum.FOO)
print("foo_model:", foo_model.model_dump(mode="json"))
# {'some_enum': 'foo', 'another_enum': 'foo'}

any_model = AnyModel.model_validate(foo_model)
print("any_model:", any_model.model_dump(mode="json"))
# {'some_enum': 'foo', 'another_enum': 'foo'}

It seems more probable that this is a Pydantic bug. Not using str in the enum opens other errors so it cannot be fixed just with that.

Most likely related to https://github.com/pydantic/pydantic/issues/9235

Will be resolved by #611


Blog series on underhandedness and our resistance to it.

In order to keep up momentum with underhanded, we'd like to start a blog series on underhandedness, and how we're trying to resist against it. We brainstormed out some possible subjects and guest authors. Anyone know of any other projects?

[ ] Implement example from #9, announce irc channel #rust-underhanded
[ ] quickcheck - @BurntSushi?
[ ] afl - @frewsxcv?
[ ] Using valgrind and rust
[ ] clippy - @Manishearth?
[ ] Undefined behavior and compiler fuzzing - @regehr?
[ ] rustc's resistance to undefined behavior
[ ] using unsafe safely - @Gankro?

Would any of you be interested in writing something up, or know of another person or subject that'd be interesting for our players? If you've already written up things on this, would you be interested in us re-posting or linking to your work?

I can do something for clippy. Keep reminding me.

I wouldn't mind doing a blog post for afl.rs, but I'm not too happy with the workflow for it. It requires Docker so that we can reliably link with compatible versions of LLVM. So I'm not sure it'd be a good candidate to show off from this list.

If you can put up a dockerfile so that it's super easy to set up that doesn't sound like it would be a problem.

There is a Dockerfile pushed to Docker Hub which is used in the afl.rs setup and tutorial.

@frewsxcv: Great! I think your docs actually seem pretty sufficient for our purposes. I think it's okay if the workflow is a tad grungy because you can also throw in a "call-to-action" to get the readers to help think about better ways of doing this. For example, could you make a cargo-afl script like the cargo-clippy script? That'd let you cut down on a lot of the overhead, and you'd just have to get people to install docker.


Revisit FAKEAUTH

Should be continue to use it?

I can rip it out if no one will miss it

Do it.


home-assistant: add support for waze, bluetooth tracker and  IFTTT

Motivation for this change
A few missing python modules needed for HA.
Status:

waze works
IFTTT was tested ages ago and worked but I'm no longer using it
bluetooth has not been tested yet

Cc: @dotlambda
The bt_proximity package is pulled from GH instead of pypi as pypi only has a precompiled wheel.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Success on x86_64-linux (full log)
Attempted: home-assistant
Partial log (click to expand)
copying path '/nix/store/dzwv1yrnagzph4j91ydkf819kmk1r80a-python3.6-home-assistant-frontend-20181103.3' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/id55cwgp6jwl0y8r2pc5hbjbxylp626z-python3.6-requests-2.20.0-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/0hlh19z2mhw752m7jg8yjhqi74r306vk-python3.6-voluptuous-0.11.5' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/9v87cba9zg227zbh5q9dksany2i27132-python3.6-astral-1.7.1' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/j2rf6ffxfik2wwg5690fpxis18h2qifz-python3.6-voluptuous-serialize-2.0.0' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/6hxp26bcyzr1v34a2abh6gaqjy9hchjj-python3.6-yarl-1.2.6' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/bydjasqfss5fpjxy176gy4g1l13n77mv-python3.6-aiohttp-3.4.4' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/c02wgvdgp14r11xywllxzw9iqf6haxf6-python3.6-aiohttp-cors-0.7.0' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/hhd61vk7w1zsbnib8zy5aja9hdvn7mh9-homeassistant-0.82.0' from 'https://nix-cache.s3.amazonaws.com'...
/nix/store/hhd61vk7w1zsbnib8zy5aja9hdvn7mh9-homeassistant-0.82.0

Success on aarch64-linux (full log)
Attempted: home-assistant
Partial log (click to expand)
tests/components/test_init.py .................                          [ 87%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 91%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 297 passed in 26.38 seconds ==========================
pytestcachePhase
/nix/store/6gxd5hmqlmslp81x2zg77w6wbi09f41b-homeassistant-0.82.0

You might to do just one commit with message home-assistant: update component-packages.nix.