awaitable sockets and test requests PoC

Refactored awaitable sockets + awaitable test requests PoC (characteristics and weapon working so far)

From a quick glance and kneejerk reaction, awaitable sockets seem fine, but I don't know if I see this "test request" as something I want to include in the system. It seems like module territory to me (it would seem like a good inclusion into GM Toolkit).

I hope that in the end you could include this feature. From one hand it can be simply disabled and from other - it can help, among other things, new players to faster jump into system itself (GM can request a roll if they forget about something, also from code), and secondly, this feature would be quite hard to impleleme as module

I certainly understand the utility, but I think modularity (being one of Foundry's main attributes) is something that should be embraced here. I feel like this is a great "extra feature" for GMs that want it, and they can seek it out via modules, something the userbase is quite familiar with. Granted I haven't tried to implement it as a module, but it doesn't seem that bad.
One of the first things that stands out to me is the block of code that's going to be pasted in every setup function
    if (owner.id != game.user.id && isSocketTest) {
      await this._preSetupSocketTest(owner);
      let dialogClassName = CharacteristicDialog.name;
      let payload = { dialogData, dialogClassName, userId: game.user.id, actorId: this.id };
      return game.wfrp4e.utility.setupSocket(owner, payload);
    } else {
      return this._setupTest(dialogData, CharacteristicDialog)
    }

This isn't something I particularly like, and I notice that the only difference between the two you've implemented is
dialogData.data.weapon = weapon.toObject();

This really indicates to me that this should be done differently: move socket handling up sooner, to the sheet level, so you can send "what test to setup" via socket instead of "here's all the test data you need" which I think has multiple advantages. For one, you can remove this ugly crtlKeyPressed global listening, simply use ev.crtlKey. Secondly, as a module, you can simply override the actor sheet functions (such as _onCharClick or _onSkillClick, test for sockets, if true -> send what test to perform via socket, else if false just call super.****
As a compromise, we can talk about what to keep here in the system to make a module easier to create, which is probably the specific socket handling.

There is bunch of reasons why I did it this way. First approach was to send the socket data inside _setupTest but since there are actual objects in data instead of simple dataObjects which can be serialised I moved it up. Secondly there are more things that will differentiate, but I only did and tested two kinds of tests. The spell/prayer tests will require different thing to pass
Maybe I will find a way to generalize this method but not yet.
Also, the reason why I don't want to embed it on sheet is because of other modules setting up tests, i.e. token action HUD. I would also like to take into account this feature in other cases like effects or my own private module that I might publish - automatic fight which allows to automatically respond to attacks with opposed defence test or even perform attack on its own.

FWIW I do have a different request workflow brewing as an extension of the Make Group Test feature of GM Toolkit. It's basic functionality is committed on the dev branch.
There are some QOL improvements to make but it's functional now without changes needed to the wfrp4e system. I might just release it as-is sooner rather than later.
I'm not looking to change the workflow on it (I want too keep it consistent with other Toolkit flows), or increase the scope, which essentially handles skill tests and fallback characteristics tests, which are the main use cases.
Other modules can probably tap into the request functionality via game.gmtoolkit.grouptest.runActorTest though I haven't checked and may need to expose that first. That also stashes the test results in a temporary world setting so you can do things with it if needed (I use it to post summary group test results in chat).
To support the use case of better onboarding new players, I'd probably look at tours. With some unlicensed wizardry you could probably push the roll dialog to a player using the new GM Toolkit functionality and then trigger a tour with Foundry's baked-in functionality to guide them through options, selecting relevant talents and what not.

Ok, so i've removed the socket tests. If the rest of PR would be approved, i would try to implement it as part of the module or open another PR just in case for the future.


Update UrlPathPageParametersEncoder.java

Missing closing round parenthesis added, notice by copiing in code for tests :)

Thanks!


Update descriptions for control construct path

The descriptions in ALT specification needs to be updated to omit network-control-domain. The concept of network-control-domain is no longer needed, as all control constructs will be stored under one index (each control construct will be a document) and all links will be stored under other index (each link will be a document).
Please remove from specification description:

[ ] Instead of:

description: > 'Documentation of an interface at an application update or create [ElasticSearch://core-model-1-4:network-control-domain/control-construct=*/logical-termination-point=*/]'
Put:  description: > 'Documentation of an interface at an application update or create [ElasticSearch://logical-termination-point=*/]'

[ ]  Instead of:

description: >  'UUID of Link  from [ElasticSearch://core-model-1-4:network-control-domain/link=*/uuid]'
Put: description: >  'UUID of Link from [ElasticSearch://link=*/uuid]'
Reference #246

•	In ALT , the control-construct of each regarded application is stored as a document under a single index in the ElasticSearch.
•	Each such document comprises of the content of the control-construct(i.e. logical-termination-point, forwarding-domain, uuid)
So , wherever we are referring the logical-termination-point, forwarding-construct , it should have the prefix ElasticSearch://logical-termination-point=*/ , [ElasticSearch://forwarding-domain=*-op-fd-000/forwarding-construct= respectively.
Also , please find the below snapshot( from the ElasticSearch in the laboratory).

Changed as proposed.


Use Blocks from Block Sync in Block Manager

Overview
Resolves: #1053, resolves: #1060, resolve #1061

Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

@Wondertan we are facing go-header sync issue when we have 2+ nodes (1 seq and 2 full nodes). 2 nodes network seems fine (1 seq, 1 fn).
2023-07-25T10:40:17.323+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 4, "hash_of_invalid": "9836AF04BE8B26B4182A16C3F0C02BD6E1487C1D7475112B27E7A671DAB6C775", "height_of_subjective": 2, "hash_of_subjective": "4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9", "reason": "last header hash 9AA4C7440A18D78995A987302BC6A54214170FFA9D1607A7069A9BF2CEBE5F27 does not match hash of previous header 4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9"}
2023-07-25T10:40:18.324+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 5, "hash_of_invalid": "94E3D211D78F1A73098C340BC45F37088286EBB0A65CE022C55CDAEA6B580F98", "height_of_subjective": 2, "hash_of_subjective": "4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9", "reason": "last header hash 9836AF04BE8B26B4182A16C3F0C02BD6E1487C1D7475112B27E7A671DAB6C775 does not match hash of previous header 4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9"}
2023-07-25T10:40:19.323+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 6, "hash_of_invalid": "0330C0DDEC6EDEC8840B541902821A485F5CBCDB06E1A6B0FADBD3AFDCECAB1B", "height_of_subjective": 2, "hash_of_subjective": "4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9", "reason": "last header hash 94E3D211D78F1A73098C340BC45F37088286EBB0A65CE022C55CDAEA6B580F98 does not match hash of previous header 4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9"}
2023-07-25T10:40:20.324+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 7, "hash_of_invalid": "22D58AC7E43C5AB6EE37043AC1DA8B11DA727208BD78635298EC44B6E69A871F", "height_of_subjective": 2, "hash_of_subjective": "4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9", "reason": "last header hash 0330C0DDEC6EDEC8840B541902821A485F5CBCDB06E1A6B0FADBD3AFDCECAB1B does not match hash of previous header 4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9"}
2023-07-25T10:40:26.324+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 9, "hash_of_invalid": "00AF045D16FF7ADDB6B9CE9FA5CF235FE0E3F95C1475E43D6BFAE2F0A4F8701B", "height_of_subjective": 2, "hash_of_subjective": "4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9", "reason": "last header hash 1F7A92FBDE72D66174564FF1CBC167445DDC8AF7D0FD2370B8EECA5434CD1A07 does not match hash of previous header 4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9"}
2023-07-25T10:40:32.324+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 11, "hash_of_invalid": "A61F1830B3728FB73445F37772C856B573EC584D3F98CA6D2BC338866FAB7EA7", "height_of_subjective": 2, "hash_of_subjective": "4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9", "reason": "last header hash 771FC964CF665826EAB94DC746CD9E6634921FDBD89D6E67AB96C9C27658F503 does not match hash of previous header 4384F731D77ED9A5CDDAF494120C3FB809C1A900D151142554CC193215D2A1B9"}
2023-07-25T10:40:34.351+0200	ERROR	header/sync	sync/sync.go:216	syncing headers	{"from": 3, "to": 4, "err": "header/p2p: exchange is closed"}

also have bunch of,
2023-07-25T10:41:32.640+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 16, "hash_of_invalid": "93DF2EA6AD42D02EE31E003E906876839BFEFADCE708A063EDA6698D0791E06B", "height_of_subjective": 1, "hash_of_subjective": "C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D", "reason": "last header hash 286A04EC58F9701C273E3EBA860950B79834BF3A39534A9B657F73B3ADF88108 does not match hash of previous header C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D"}
2023-07-25T10:41:32.663+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 16, "hash_of_invalid": "93DF2EA6AD42D02EE31E003E906876839BFEFADCE708A063EDA6698D0791E06B", "height_of_subjective": 1, "hash_of_subjective": "C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D", "reason": "last header hash 286A04EC58F9701C273E3EBA860950B79834BF3A39534A9B657F73B3ADF88108 does not match hash of previous header C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D"}
2023-07-25T10:41:33.564+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 17, "hash_of_invalid": "14BC3EB6B1178EEA377099596AB1142C6DEA100542F78F9CBFD0FD62DAEDBB21", "height_of_subjective": 1, "hash_of_subjective": "C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D", "reason": "last header hash 93DF2EA6AD42D02EE31E003E906876839BFEFADCE708A063EDA6698D0791E06B does not match hash of previous header C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D"}
2023-07-25T10:41:33.566+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 17, "hash_of_invalid": "14BC3EB6B1178EEA377099596AB1142C6DEA100542F78F9CBFD0FD62DAEDBB21", "height_of_subjective": 1, "hash_of_subjective": "C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D", "reason": "last header hash 93DF2EA6AD42D02EE31E003E906876839BFEFADCE708A063EDA6698D0791E06B does not match hash of previous header C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D"}
2023-07-25T10:41:34.579+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 18, "hash_of_invalid": "03A08E8FA7B6985BA4FCBC5F7773A66287410D1BECC8BCDE8749F6C56B0376A5", "height_of_subjective": 1, "hash_of_subjective": "C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D", "reason": "last header hash 14BC3EB6B1178EEA377099596AB1142C6DEA100542F78F9CBFD0FD62DAEDBB21 does not match hash of previous header C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D"}
...
2023-07-25T10:42:28.203+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 71, "hash_of_invalid": "8D969AD42BB3B04CF0D84772A01419CFAEB5DD2D475B357AAF952039E2733CB7", "height_of_subjective": 1, "hash_of_subjective": "C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D", "reason": "last header hash 5193CADCB2EF1E24373A1EBCE6F960435FA3F68C79613BB745A57E95453893C5 does not match hash of previous header C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D"}
2023-07-25T10:42:28.203+0200	ERROR	header/sync	sync/sync_head.go:171	invalid network header	{"height_of_invalid": 71, "hash_of_invalid": "8D969AD42BB3B04CF0D84772A01419CFAEB5DD2D475B357AAF952039E2733CB7", "height_of_subjective": 1, "hash_of_subjective": "C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D", "reason": "last header hash 5193CADCB2EF1E24373A1EBCE6F960435FA3F68C79613BB745A57E95453893C5 does not match hash of previous header C5A062A3B6C70EAE1431DF8EA071926A64994ABA30187B9ADBA063E5F9C87D0D"}

any idea? note that, we have peers set correctly (every node has other nodes as peers).

copilot:summary


Faster workflow and OpenCV usage

Hi,
Thanks for your awesome plugin.
I'm using your plugin in order to do image processing with openCV, here is my workflow:

Compile the OpenCV dll and copy it in Plugins/WSA
Build the project using Unity
Compile and launch the resulting Visual Studio solution
Test it on the Hololens

Is there a faster workflow I can use?
My second question is about OpenCV: I'm using OpenCV-Hololens but this is an older version of OpenCV, I also tried to compile OpenCV for UWP myself but failed so far. Is there another alternative?

Having the same issue. This forces long iteration times. Did you manage to improve the workflow?

Having the same issue. This forces long iteration times. Did you manage to improve the workflow?


fix: fixes types field

This pull request points the type field in pkg.json to the correct file.

ty


feat(plugin-copy): support info option

Summary
Support object-type info option for plugin-copy
Test Plan
The tests describes that after setting info.minimized to true, the file won't be processed by minimizer

we need this PR, now the rspack will minify code in Public folder we just copy

we need this PR, now the rspack will minify code in Public folder we just copy

Sorry I thought this was merged, I'll make this work in the next release


Split reth-primitives and support no_std compilation.

Describe the feature
I noticed that reth-primitives can be used by the rust eth ecosystem and even supports no_std compilation. Is there any plan to support splitting this crate into several crates? I could help to improve this.
Additional context
No response

yes we want to slim that down ref #5524
I think next thing would be removing chainspec + genesis stuff

Hey, is this still in the roadmap?
We at Citrea would really love this feature :)

definitely,
I assume you're mostly interested in the tx types?
or something else?

definitely, I assume you're mostly interested in the tx types? or something else?

tx types, receipt. some primitive types such as B256, some constants and some errors.
we want to use reth-primitives inside risc0 zkvm and until know it looks like only reason we can't compile it to risc0 zkvm is sucds and zstd packages.
I'm up to implement this btw. Ofc we should discuss how beforehand :)

makes sense, definitely something we want to support, will gather some input for #7050 which would allow us to move off from zstd and non_std stuff,
will discuss internally how to cleanup reth-primitives because it's gotten a bit bloated


rtic-macros: fix #[cfg] for hardware and software tasks

Hi,
Disabling hardware and software tasks via #[cfg] flags was broken. Added test case to verify, and fixed codegen to output missing cfgs.
Best regards,
Lasse

Hi,
Updated this to work with changes in 2.1 release.
Best regards,
Lasse

Rebased to master.
Best regards,
Lasse


class problem in svg

in my svg i have some class in grouup of it  it has prefix after add svo to use how to remove this prefix
example :class="i-114284654__RightArm"  my svg has class ="RightArm"

isearch in svggo pluggin thatnks


ImageDraw.textbbox Attribute error in Visualize.py function "draw_text" when calling infer.py

I am running infer.py and I get this error, any idea why?
Traceback (most recent call last):
File "tools/infer.py", line 100, in
segmap,oversegmap,image = semseg.predict(str(test_file), cfg['TEST']['OVERLAY'])
File "tools/infer.py", line 73, in predict
seg_map,over_seg_map,image = self.postprocess(torch.tensor(image1), seg_map, overlay)
File "tools/infer.py", line 60, in postprocess
image = draw_text(seg_image, seg_map, self.labels)
File "/content/trial/semseg/utils/visualize.py", line 28, in draw_text
bbox = draw.textbbox(center, cls, font=fonts)
AttributeError: 'ImageDraw' object has no attribute 'textbbox'

what is your pillow version? Mine is 9.0.0. If lower than that, please try to upgrade.

yeah it was version problem, Thank a lot for you help!!


All Regression Tests use IRegressionDefintion classes

Expected Behavior

All unit tests that are specifically just a regression algorithm asserting statistics should be using IRegressionDefinition's classes so that they are picked up and ran by AlgorithmStatisticsRegressions.
Actual Behavior

A few Python regressions are ran as individual unit tests meaning they can not be updated the same as the others by using "regression-update-statistics" : true in config.
Examples:
RunPythonSliceGetByTypeRegressionAlgorithm
DataConsolidatorPythonWrapperTests.RunRegressionAlgorithm
PythonOptionTests.FilterReturnsUniverseRegression
PythonOptionTests.FilterReturnsListRegression
There may be others, best to check references of AlgorithmRunner.RunLocalBacktest
Potential Solution

Create C# IRegressionDefinition classes that contain the information needed for AlgorithmStatisticsRegressions to run these tests.
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Adding onto this issue's solution, it could be nice to consider a designated RegressionAlgorithm folder in our C# Algorithm Project, we could leave practical regressions in the root, but the regressions that are specific behavior asserting ones could be moved to this new location significantly reducing the clutter of algorithms.


Check for console

It breaks in IE9 when the package is just required.

Current coverage is 9.32% (diff: 100%)

Merging #185 into master will not change coverage

@@            master      #185   diff @@
========================================
  Files            5         5
  Lines          118       118
  Methods          0         0
  Messages         0         0
  Branches         0         0
========================================
  Hits            11        11
  Misses         107       107
  Partials         0         0

Powered by Codecov. Last update 781f790...be0447f

@grushetsky Yes, the console is undefined until Developer Panel has been opened http://stackoverflow.com/questions/7742781/why-does-javascript-only-work-after-opening-developer-tools-in-ie-once

@vectart, OK, I see the point, thanks for finding this problem.
Why do we need to check for this.console, isn't window.console enough here?

@grushetsky it's for node environment

@vectart, oh, sure. 👌🏻

I got the same error. Have to use 2.7.0 now.
logger: undefined && undefined.console || window && window.console,

This fix should work on node
https://github.com/evgenyrodionov/redux-logger/pull/188

@grushetsky @vectart guys please fix this, I revert that PR for now


Ledger device: UNKNOWN_ERROR (0x650f)

Trying to swap in SyncSwap and got this error: https://prnt.sc/MNsqYLs0siXr

Same error trying to collect rewars from Mute: https://prnt.sc/9Km0zbz73VVa

Noticed Custom Nounce was 0, then i changed to 1 and still got erro on Velocore: https://prnt.sc/xRzStJkcN0Yg

Please post detailed questions to Dev Discussions. Closing this as its unrelated to the CLI.


[API] Create new chaos experiment by API

Feature Request

/experiments/new: Create the experiment

See here for details

There are still four kinds of chaos left. Let's split the tasks.

[ ] TimeChaos
[ ] IOChaos (Tricky, since this relates to io chaos configuration, but we can leave that part later)
[ ] KernelChaos (Tricky)
[ ] StressChaos


Rules with $popup modifier cause that blocking rules don't work

Steps to reproduce

Go here - http://sendsurl.com/PIT8M
Ad marked on screenshot below should be blocked:

Screenshots

There are 2 iframes from deloplen.com and one is blocked, but second not.
In Base filter there are these rules:
||deloplen.com^$third-party
||deloplen.com^$popup
||deloplen.com^

if I disable ||deloplen.com^$popup then both iframes are blocked.
Steps to reproduce if link above will stop works

Add these rules:
||youtube.com^
||youtube.com^$popup
Go here - https://www.cdaction.pl/news-56870/doom-eternal-mamy-gameplay-i-date-premiery-wideo.html

Expected behavior

I think that iframes from deloplen.com/youtube.com should be blocked/removed.
Actual behavior

Iframes from deloplen.com/youtube.com are not blocked/removed.
Your environment

AdGuard for Windows 7.2.2943 NIGHTLY (CL 1.5.60)

@sxgunchenko haven't we resolved that already? I think there was an issue with the blocking page that @timirila1 should've resolved

we planned for 1.6 #682

In Base Filter there are this rules:

@AdamWr
||deloplen.com^$third-party
||deloplen.com^$popup
||deloplen.com^

This is combination with undefined behaviour - every rule for the same url and have the same priority.
So only one of them will be applied.
Please reduce such rules into one.

Huh, yeah, this is actually not a bug, it's just due to $popup rules behavior they won't block iframes.

Ok, but it is still strange that there are two iframes from deloplen.com and one is blocked, but second not.

Please reduce such rules into one.

These two rules:
||deloplen.com^$popup
||deloplen.com^$third-party
are from EasyList and I guess that there may be more similar rules with $popup modifier and without it.
I will just add ||deloplen.com/afu.php?$important

This issue is generally caused by CoreLibs limitations as it cannot distinguish main frames from iframes until the page is loaded

$popup is useless in this case. We need to add $important to all rules, if exists $popup rule with the same URL?


0.11.0 version has a package-lock.json dependency on a github repo

Several people (like myself) use artifactory as a proxy through to npm as our CI's don't have public internet access.  This makes resolving dependencies like the below impossible.
Can you change this to pull from a real published package?
    "eslint-plugin-node-core": {
      "version": "github:iansu/eslint-plugin-node-core#fc5aa55675b696f4f51247daa705bb592b21a016",
      "from": "github:iansu/eslint-plugin-node-core",
      "dev": true,
      "requires": {
        "@babel/core": "^7.15.5",
        "@babel/eslint-parser": "^7.15.7",
        "@babel/plugin-syntax-class-properties": "^7.12.13",
        "@babel/plugin-syntax-import-assertions": "^7.14.5",
        "@babel/plugin-syntax-top-level-await": "^7.14.5",
        "eslint-plugin-markdown": "^2.2.1",
        "eslint-plugin-node-core": "^1.0.0"
      },
      "dependencies": {
        "eslint-plugin-node-core": {
          "version": "1.0.0",
          "resolved": "https://registry.npmjs.org/eslint-plugin-node-core/-/eslint-plugin-node-core-1.0.0.tgz",
          "integrity": "sha512-1i9imacKER4Noc7AkfgnPfRcirKb9GICuSmmu3q/V2VjsQA4jCYh6cExvpRsdPkX4mQh8tSpoDRrCfE7az04KA=="
        }
      }
    },

It's a dev dep, why do you need to resolve it?

We didn't do more work with the linting setup. A related open issue is: #90


No city/location is determined

Home Assistant: 2024.9.1
Radar-Warning: 0.3.2
Configuration:
Name - Rangsdorf
Breitengrad - 52.285828688541486
Längengrad - 13.453831672668459
Radius (km) - 15
Scan intervall (minutes) - 10
Google GeoLocation API-Schlüssel - xxxxxxxxxxxxxxxxxxxxx
Even though the Google API Key is configured, the location is not determined. street, address, address_short are filled identically to the street, no city is determined:

id: '24730544001'
latitude: 52.357655
longitude: 13.587248
street: Freiligrathstraße
vmax: '20'
distance: 12.109168816060599
adress: Freiligrathstraße
adress_short: Freiligrathstraße
Nothing about it in the log file.

If you get no answer then your api key is wrong or you hit a limit.
You can easily test it within your browser https://maps.googleapis.com/maps/api/geocode/json?latlng={point.latitude},{point.longitude}&key=yourkey
But yes I should log the error response.

The issue is in the README.md:
You need Geocoding API and not Geolocation API.
You pointed me to the right direction - thanks.

Yes you are right it’s the Geocoding API.
But then 2 issues and 1 FR
A) log error response
B) fix readme
FR
C) attribute for city


Node js Implementation

Hi Team,
Need help implementing payment using Nodejs. Is there any Boiler code I can use?

Try using stripe.js. it's very easy to set up and no complicated encryption is required.
here is my test setup: https://github.com/madhur-acharya/Stripe.js-

You should probably try stripe.js. It's easy to set up and there is no complicated encryption that you need to concern yourself about.
I have a simple basic payment setup you can check out: https://github.com/madhur-acharya/Stripe.js-

@madhur-acharya ya Stripe Documentation and Implementation are awesome. But choosing a payment gateway is dependent on the client. Also, I am pretty bored with the Stripe. Anyhow got the results working, encryption was happening incorrectly in Nodejs and gateway was giving error decrypting it. So encryption and description part is being done from Php boiler code provided.

Working example for node ;)
`const crypto = require('crypto')
module.exports = {
encrypt: (payload, key) => {
const iv = crypto.randomBytes(16)
const aesCipher = crypto.createCipheriv('aes-128-cbc', Buffer.from(key, 'hex'), iv)
let encrypted = iv
encrypted = Buffer.concat([encrypted, aesCipher.update(payload, 'utf8')])
encrypted = Buffer.concat([encrypted, aesCipher.final()])
return encrypted.toString('base64')
},
decrypt: (payload, key) => {
const buffer = Buffer.from(payload,'base64')
const iv = buffer.slice(0,16)
const encryptedData = buffer.slice(16,buffer.length)
const aesDecipher = crypto.createDecipheriv('aes-128-cbc', Buffer.from(key, 'hex'), iv)
aesDecipher.setAutoPadding = true
let decrypted = aesDecipher.update(encryptedData,'base64')
decrypted = Buffer.concat([decrypted,aesDecipher.final()])
return decrypted.toString('utf8')
}
}`

@chrbongardt Thanks for the code.
You, my friend, deserve candy.


suppress git error logs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 29.865%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
244

Relevant Lines:
817

💛  - Coveralls


Instructions on complete uninstallation?

Hello,
I do not use any of the supported package managers, so I used the wget command to install fuck. (I didn't realize that it was going to install pip as part of that command, but I guess I should have been paying more attention.)
Anyway, I decided that it's not for me, and removed the line about configuring it from my .bashrc and ran pip uninstall thefuck (or something similar) to uninstall it, which seemed to run successfully. I also removed the "thefuck" directory from my .config folder.
Unfortunately, now every time I open a terminal or access the console I immediately get the message "-bash: thefuck: command not found", so there is still something looking for thefuck every time I use a console. Any idea how to remove this behavior? There doesn't seem to be much included in the readme about uninstallation

Wow, sorry about that. It was still referenced in .bash_profile somewhere. It would still be nice if there were instructions for uninstallation though.

I removed thefuck via pip3, and now I get this message whenever I start any terminal instance:
`Command 'thefuck' not found, but can be installed with:
sudo apt install thefuck`

@adam993 : It seems that when you open a terminal, your shell tries to launch thefuck... have you removed the eval $(thefuck --alias) line from your shell config file (.bash_profile, .bashrc, .zshrc) ?

@adam993 : It seems that when you open a terminal, your shell tries to launch thefuck... have you removed the eval $(thefuck --alias) line from your shell config file (.bash_profile, .bashrc, .zshrc) ?

Thanks, It was in .bashrc


Annotation instructions (TSR)

Would it be possible to share the annotation instructions for the TSR tasks? E.g. should bounding boxes be tight around text or as close to the implicit row as possible? What is the purpose of the "no object" label?
That would help to finetune the model to custom data.
Thanks!
EDIT: Just read the paper more closely, there are no annotators: the data was generated programatically from XML files

For anyone else interested, I plotted the exact annotations per annotation type for a sample of the pubtables dataset, that answered most of my own questions
images_annotated.zip

@Danferno Did it yield good results in the end?
I'm finetuning with my own data and the Highest AP50 I could get was 83%

Not really to be honest, I've started developing my own model in the hopes of getting better results but no guarantee it'll be any better...

Wish I had seen this earlier, just finished my own instructions yesterday, might as well publish them. They are open to comments, but you need to login to Notion to leave comments.
https://unpoco.notion.site/How-to-annotate-to-match-PubTab1M-and-FinTabNet-32b6ac519d2a405ebddff10a0f2b8259
I'm not 100% sure but as I understand it label no object is just ignored in the Detr architecture, so you can't annotate for that.
Another improtant part for training could be the pre-processing that is done to images.
This is a snippet of what is done in TSR
R.Compose([
            R.RandomSelect(TightAnnotationCrop([0], 30, 30, 30, 30),
                           TightAnnotationCrop([0], 10, 10, 10, 10),
                           p=0.5),
            RandomMaxResize(900, 1100), random_erasing, normalize
        ])

As I understand it for TSR annotations with the label 0 (tables) are padded either by 30 pixels or 10 pixels on all sides at a 50:50 chance. Additionally the image is randomly resized, with random erasure of content and normalized.
So one would have to run their own images through a similar gauntlet, and I'm just not sure if this is happening when using the Huggingface instructions.
@Danferno did you finetune using Huggingface or by using code in this repo?

@Danferno Did it yield good results in the end? I'm finetuning with my own data and the Highest AP50 I could get was 83%

Wish I had seen this earlier, just finished my own instructions yesterday, might as well publish them. They are open to comments, but you need to login to Notion to leave comments.
https://unpoco.notion.site/How-to-annotate-to-match-PubTab1M-and-FinTabNet-32b6ac519d2a405ebddff10a0f2b8259
I'm not 100% sure but as I understand it label no object is just ignored in the Detr architecture, so you can't annotate for that.
Another improtant part for training could be the pre-processing that is done to images.
This is a snippet of what is done in TSR
R.Compose([
            R.RandomSelect(TightAnnotationCrop([0], 30, 30, 30, 30),
                           TightAnnotationCrop([0], 10, 10, 10, 10),
                           p=0.5),
            RandomMaxResize(900, 1100), random_erasing, normalize
        ])

As I understand it for TSR annotations with the label 0 (tables) are padded either by 30 pixels or 10 pixels on all sides at a 50:50 chance. Additionally the image is randomly resized, with random erasure of content and normalized.
So one would have to run their own images through a similar gauntlet, and I'm just not sure if this is happening when using the Huggingface instructions.
@Danferno did you finetune using Huggingface or by using code in this repo?

That was very informative, thank you for providing the links
I think all people on this repo is training using its configuration
Did you find the preprocessing mentioned in the paper available here in the repo?

All I quote here is from the code - that particular example is from detr > datasets > transforms.py, although if you run the training script all your images will be pre-processed.
When it comes to processing images before they are sent to the training script, I did that by downloading the pubtables1m and fintabnet datasets and pre-processed with the scripts provided. The images in the Notion doc show what they look like when they go to the training script.
I have added a section about what the images look like before they are sent to training https://www.notion.so/unpoco/How-to-annotate-to-match-PubTab1M-and-FinTabNet-32b6ac519d2a405ebddff10a0f2b8259?pvs=4#352067e6a2214880a8b4d43b3f50d594

I used the training script in the repo (see code cutout below). I only used it for table structuring, not detection. For detection I trained a YoloV7 on 6K annotated pages, that worked fairly well (cost about 200$ on fiverr to annotate the pages).
pathIn = PATH_DATA / 'structure500_jpg'
pathPython = sys.executable
pathScript = 'main.py'
pathWD = PATH_ROOT / 'table-transformer' / 'src'
pathModel = PATH_ROOT / 'models' / datetime.now().strftime('%Y_%m_%d-%H_%M')
loadWeightOnly = '--load_weights_only' if FINETUNE else ''

command = f'{pathPython} {pathScript} --data_type structure --mode train --config_file {PATH_CONFIG} --data_root_dir {pathIn}' \
            f' --model_load_path {PATH_WEIGHTS} {loadWeightOnly} --batch_size 4 --model_save_dir {pathModel}' \
            f' --epochs {epochs}'
subprocess.run(command, cwd=pathWD, check=True, stdout=sys.stdout)```

@Danferno thank you for sharing some insights. Did you compare table transformer table detection to YoloV7? Is there a big difference?

@Danferno thank you for sharing some insights. Did you compare table transformer table detection to YoloV7? Is there a big difference?

There was for me. Accuracy (also in terms of bounding box overlap) with the custom-trained yolov7 was super high (like, 99%) and processing speed was fast. Performance in both accuracy and speed was terrible with the table transformer detection.

Table transformer table detection, do I need to add a padding of 30 around my page, or is it only required for table structure recognition?
I think only for structure recognition


Much feature requests

√2, √3, √5
Þ0, Þ1, etc = list of length a filled with appropriate value - also something for "list of length a filled with b"
Phi, 2^20, 2^30
Triple / mod 3 would be nice (overload G/g?)
nth-digit-of-pi / nth-digit-of-e / nth-triangle-number / nth-fibbonaci-number functions
Vowels with y
Consonants
(Non-ascii)(ascii) processed as new SCCs in strings - +15k  words

consonants already exist

2^20, 2^30 have been added

[ ] √2
[ ] √3
[ ] √5
[ ] Þ0, Þ1, etc = list of length a filled with appropriate value - also something for "list of length a filled with b"
[ ]     Phi
[ ] 2^20
[ ] 2^30
[ ]     Triple / mod 3 would be nice (overload G/g?)
[ ]     nth-digit-of-pi
[ ]   nth-digit-of-e
[ ]  nth-triangle-number
[ ]  nth-fibbonaci-number functions
[ ]     Vowels with y
[ ]     Consonants
[ ]     (Non-ascii)(ascii) processed as new SCCs in strings - +15k words

I've unticked everything so we can retick it as we implement it

Amogus (ඞ) because why not

Because it's sus.
More seriously, we do not need that as a character in the codepage taking up valuable space. Maybe it'd be a "fun" digraph to have, but...why do you even want it?

@ysthakur I think it was meant to be a constant. So kṠ would return the string ඞ or something

I see, I thought that ඞ would return "Amogus".

You know 2^20 and 2^30 are already in v2.4?

*2.5

@Lyxal

https://github.com/Vyxal/Vyxal/issues/160#issuecomment-887375407

@razetime Ah, I guess that'd work. Not the highest priority, though 😄.

Mold to length? Isn't that just • with extra steps?

Also, I need more specifications on what you mean by ring translate.

@Lyxal Map matching elements to the subsequent element in the translation ring. The ring wraps around.
Useful in [ascii-art] and [string].
so: ['a',b'], "bab" → "aba"

A note on øĿ - it's now a overload for *

Finally! It's over...


BSAPI-8: Profile Creation

Feature Overview
Create Profile functionality
Summary
Provide a way for users to create a profile and add information like username, firstname, lastname, address and password
Rationale

Motivation: Users don't want to re enter the same information each time they order books
Functionality: By getting the users information and saving it there profile will be created and saved on the database.
Impact: Will impact profile tables and other services that include profile data

Acceptance Criteria

List the specific conditions that must be met for this feature to be considered complete. This might include:
The user can enter a user name which will be stored on a database
The user can enter a first name and last name which will be stored on a database
The user can enter a password which will be stored on a database
The user can enter an address which will be stored on a database
The user will click on a save button to persist the info on a database
The users will receive a success message.

Acceptance Test Cases:

Go to the create profile screen, fill out a username and password (must adhere to security standards), and click save.
A confirmation screen will let you know that the account was created.
Verification of the database will show that the account was created.

Don't forget to set the milestone.


Better title and domain

This website needs a better title and domain.
I hope me or someone else will come up with a good one as it grows in content and presentation quality

I must admit, i was greatly inspired by https://www.tldrlegal.com while researching for #20


Can't send btc from Bitcoin.com wallet

Creating new bitcoin.com wallet from Copay - Bitpay, and received funds. But at sending, can't to change amount, like inactive, only can change currency,without any message. Can to see my adress with balance. Importing to another client haven't positive result.
Please help to recover my btc...

I have the same problem and trying to find a way. so please let us know what we should do

May be this soft can to help you.

Insert you xPrivKey
2.Keep default next settings.
Press Extract
You can to see and copy your keys, that is address and privkey.
Privkey you can to insert in Blockchai wallet.

Sorry, this is soft
https://tinyurl.com/yct5yor5

Password of archive: bitcoin

thanks but it doesn't work.


[Bug]: Error:    × You're importing a component that needs next/headers. That only works in a Server Component which is not supported in the pages/ directory.

Package
lucia
Describe the bug
Code:
import { cookies } from "next/headers";
import { cache } from "react";

import type { Session, User } from "lucia";
import { lucia } from "@/lib/lucia";

export const getAuth = cache(
  async (): Promise<
    { user: User; session: Session } | { user: null; session: null }
  > => {
    const sessionId = cookies().get(lucia.sessionCookieName)?.value ?? null;
    if (!sessionId) {
      return {
        user: null,
        session: null,
      };
    }

    const result = await lucia.validateSession(sessionId);

    try {
      if (result.session && result.session.fresh) {
        const sessionCookie = lucia.createSessionCookie(result.session.id);
        cookies().set(
          sessionCookie.name,
          sessionCookie.value,
          sessionCookie.attributes,
        );
      }
      if (!result.session) {
        const sessionCookie = lucia.createBlankSessionCookie();
        cookies().set(
          sessionCookie.name,
          sessionCookie.value,
          sessionCookie.attributes,
        );
      }
    } catch {}
    return result;
  },
);

USED HERE:

"use client";

import { usePathname } from 'next/navigation';

import DashboardHeader from "@/components/layout/header";
import Sidebar from "@/components/layout/sidebar";
import { redirect } from 'next/navigation';

// Dummy getAuth function for debugging purposes
async function getAuth() {
  return { user: null };
}

]export default async function DashboardLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  const pathname = usePathname();
  const hideNavbar = pathname === '/dashboard/meet';
  const hideNavbarOnLab = pathname === '/dashboard/lab';

  const { user } = await getAuth();

  if (!user) {
    redirect('/auth/login');
  }

  return (

      {hideNavbar ? null : <DashboardHeader />}

        <Sidebar />
        {children}

  );
}

Also related to:
Error: PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in unknown).

Well, it looks like you're importing server-only code into a client component. Really doubt it's an issue with Lucia

Yes its not but please. I fixed that but dont know if I need to be accessing sessions in client components. @pilcrowOnPaper

You probably don't need to access the token on the client. You could probably pass the expiration data as a prop if you need it


Non-Zero Exit Status Does Not Propagate using Exec().Filter()

From #146:
An undesired side effect of using Exec().Filter*() seems to be that a non-zero exit status from the program no longer propagates. Here's an example:
package main

import (
	"fmt"
	"io"

	"github.com/bitfield/script"
)

func main() {
	p := script.Exec("false")
	_, err := p.Stdout()
	fmt.Printf("%d %v\n", p.ExitStatus(), err)

	p = script.Exec("false").Filter(func(r io.Reader, w io.Writer) error {
		_, err := io.Copy(w, r)
		return err
	})
	_, err = p.Stdout()
	fmt.Printf("%d %v\n", p.ExitStatus(), err)
}

Output:
1 exit status 1
0 <nil>

Is this expected? I'd prefer to pass the exit status to the caller of this script. Thanks!

This was a good find, @jesselang: there are (at least) two distinct bugs here:

The new pipe created by Filter takes no account of the original pipe's error status. In other words, if you call Filter on a pipe whose error status is set, that error is lost, as you showed.
The return value of the Filterfunction always overwrites any previous error, even when it's nil. So if it is nil, then a previous error is wiped out.

Also, because the Exec command runs in a goroutine, it's racing with the Filter func. If the command completes and sets the error status before the Filter func starts, then Filter becomes a no-op, like any other pipe stage, so the command's exit status is preserved. If the Filter func has already started before the command exits, then whatever error status the command sets on the pipe is too late to make the Filter a no-op.
So your program sometimes printed:
0 <nil>

and sometimes:
1 exit status 1

depending on the local cosmic ray environment.
828fe5fa533eb3f08a3fdfb29a1c9dfacb11d36d fixes the first issue; d5e838dc75d00c4b6f835ff0c138d5fbf06a8086 fixes the second. With, and only with, both bugs fixed, your program now reliably reports 1 exit status 1, even under high radiation flux. Would you mind confirming it works for you with v0.21.4?

Wow, seems I tripped over more than I realized! Yes, I am able to confirm that v0.21.4 does reliably pass along the pipe's exit status. Thank you very much!


⛰ More parameters for greatest common divisor

👍  Looks good. You forgot tests but I'll let it slide this time.


We need to link this to 3Bot connect

This is done by the email. When people tick the box, they will receive an email for registering using 3botconnect. This was discussed yesterday and https://github.com/threefoldtech/actionwidget/issues/4 was created


APIRule v2alpha1

Description
Introduce APIRule 1beta2 to showcase coming changes: dropping ORY Oathkeeper and closer integration with Istio (JWT and external authorizer). Users will have a chance to get familiar with API and breaking changes. This will also give opportunity to design migration path. Finally it is a way to collect feedback and harden implementation.
Assumption is that this version will be promoted to v1 without significant changes of API and functionality if it's possible.
Tasks:

[x] v1beta2 API proposal
[x] introducing version with breaking changes POC
[x] v2alpha1 renaming
[x] [POC] v1beta1 -> v2alpha1 migration
[x] migration mode
[x] refactoring
[x] implementation of no_auth and jwt
[x] adjust CORS default settings
[x] implementation of ext_auth
[x] mutators support
[x] short host support
[x] include v1beta2 in documentation
[x] blogpost
[ ] UI

Reasons
Introduce changes to APIRule API
DoD:

[ ] Provide unit and integration tests.
[ ] Provide documentation.
[ ] Verify if the solution works for both open-source Kyma and SAP BTP, Kyma runtime.
- [ ] If you changed the resource limits, explain why it was needed.
- [ ] Verify that your contributions don't decrease code coverage. If they do, explain why this is the case.
[ ] Add release notes.

Attachments
part of #322

Migration blog posts published:

https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-noauth-and-jwt-handlers/ba-p/13882833
https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-ory-oathkeeper-based-oauth2-handlers/ba-p/13896184

API Gateway 2.8.0 introducing UI supporting APIRule v2alpha1 in Kyma dashboard was rolled out to fast channel on 29.10 and it is scheduled to be promoted to regular channel on 12.11 for managed Kyma offering


[Bug] Crash in the middle of separation

Description
Spleeter crashes in the middle of separation process. At the output directory I've got only part of vocals.wav.
Step to reproduce
Just install clean Spleeter 1.5.0
$ conda list | grep spleeter
# packages in environment at /home/morsik/.conda/envs/spleeter:
spleeter                  1.5.0            py37hc8dfbb8_0    conda-forge

Installed using conda install -c conda-forge spleeter
Run as spleeter separate -i ~/Ayreon\ -\ Intergalactic\ Space\ Crusaders\ \(Universe\)-mDjomu33Xzc.webm spleeter:2stems -o output
Got error below.

This is file downloaded from YouTube so I tried reinstalling whole Conda environment (just removed ~/.conda/envs/spleeter and recreated it from scratch along with removing pretrained_models directory to force redownload models) because maybe of some bug. After not fixing this by all of this I tried file that I had previously splitted by Spleeter 1.0 right after release - and it crashed too.
Output
INFO:spleeter:Downloading model archive https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz
INFO:spleeter:Validating archive checksum
INFO:spleeter:Extracting downloaded 2stems archive
INFO:spleeter:2stems model file(s) extracted
OMP: Info #212: KMP_AFFINITY: decoding x2APIC ids.
OMP: Info #210: KMP_AFFINITY: Affinity capable, using global cpuid leaf 11 info
OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: 0-7
OMP: Info #156: KMP_AFFINITY: 8 available OS procs
OMP: Info #157: KMP_AFFINITY: Uniform topology
OMP: Info #179: KMP_AFFINITY: 1 packages x 4 cores/pkg x 2 threads/core (4 total cores)
OMP: Info #214: KMP_AFFINITY: OS proc to physical thread map:
OMP: Info #171: KMP_AFFINITY: OS proc 0 maps to package 0 core 0 thread 0
OMP: Info #171: KMP_AFFINITY: OS proc 4 maps to package 0 core 0 thread 1
OMP: Info #171: KMP_AFFINITY: OS proc 1 maps to package 0 core 1 thread 0
OMP: Info #171: KMP_AFFINITY: OS proc 5 maps to package 0 core 1 thread 1
OMP: Info #171: KMP_AFFINITY: OS proc 2 maps to package 0 core 2 thread 0
OMP: Info #171: KMP_AFFINITY: OS proc 6 maps to package 0 core 2 thread 1
OMP: Info #171: KMP_AFFINITY: OS proc 3 maps to package 0 core 3 thread 0
OMP: Info #171: KMP_AFFINITY: OS proc 7 maps to package 0 core 3 thread 1
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 985669 thread 0 bound to OS proc set 0
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986165 thread 1 bound to OS proc set 1
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986164 thread 2 bound to OS proc set 2
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986203 thread 3 bound to OS proc set 3
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986205 thread 5 bound to OS proc set 5
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986204 thread 4 bound to OS proc set 4
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986206 thread 6 bound to OS proc set 6
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986207 thread 7 bound to OS proc set 7
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986208 thread 8 bound to OS proc set 0
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986216 thread 16 bound to OS proc set 0
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986210 thread 10 bound to OS proc set 2
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986209 thread 9 bound to OS proc set 1
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986212 thread 12 bound to OS proc set 4
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986215 thread 15 bound to OS proc set 7
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986213 thread 13 bound to OS proc set 5
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986211 thread 11 bound to OS proc set 3
OMP: Info #250: KMP_AFFINITY: pid 985669 tid 986214 thread 14 bound to OS proc set 6
ERROR:spleeter:An error occurs with ffprobe (see ffprobe output below)

ffprobe version 4.2 Copyright (c) 2007-2019 the FFmpeg developers
  built with gcc 7.3.0 (crosstool-NG <IP_ADDRESS>9-a04d0)
  configuration: --prefix=/home/morsik/.conda/envs/spleeter --cc=/home/conda/feedstock_root/build_artifacts/ffmpeg_1566210161358/_build_env/bin/x86_64-conda_cos6-linux-gnu-cc --disable-doc --disable-openssl --enable-avresample --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-libx264 --enable-pic --enable-pthreads --enable-shared --enable-static --enable-version3 --enable-zlib --enable-libmp3lame
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
spleeter:2stems: Protocol not found

Environment

OS
Fedora 31 with 5.5.13-200.fc31.x86_64

Installation type
Conda

RAM available
16G + 32G SWAP

Hardware spec
i7-8565U

Additional context
Tried on this YouTube video, but also on mp3 file I previously had converted successfully.
I've tried also setting -B tensorflow and -B librosa - both failed wth same error.

The command spleeter separate -i ~/Ayreon\ -\ Intergalactic\ Space\ Crusaders\ \(Universe\)-mDjomu33Xzc.webm spleeter:2stems -o output you're running is incorrect.
It must be:
spleeter separate -i ~/Ayreon\ -\ Intergalactic\ Space\ Crusaders\ \(Universe\)-mDjomu33Xzc.webm -p spleeter:2stems -o output
(with an extra -pbefore spleeter:2stems) otherwise, spleeter:2stems is considered a second audio to be separated, and ffmpeg is not able to handle it, as stated by the lines ERROR:spleeter:An error occurs with ffprobe (see ffprobe output below) and spleeter:2stems: Protocol not found in the log.

@romi1502 I feel so stupid now… I accidentally removed -p when using this command taken from my bash history and didn't compared to history.
Thank you!


Test backup persistent storage in Tails

https://tails.net/doc/persistent_storage/backup/index.en.html
Previously Bails had custom code to create backup USBs without a restart. That code was submitted to Tails and now Tails offers the same functionality making it redundant.
The new tool provided Tails needs to be tested so that I can guide and remind users to make backups of their Bails USB to preserve their wallet meta data and blockchain.
As well as to make clones.

[ ] Backup Tails walkthru (similar to setup Persistent Storage guidance)
[ ] SIMPLE Reminder system for backups (the old ones are unnecessarily complex)
[ ] Clone Tails walkthru (includes shell commands to prevent private data from copying unencrypted to the Friend's USB stick.)
[ ] Clone Tails autostart (Introduce Bails to the new user on their first Run)
[ ] Recovery Tool to get your encrypted wallet back from a friend's Cloned Bails USB. Ideally initiated by the friend

Since a regular reminder system will be added by Tails this summer, lets only remind them to backup when they have reached 100% IBD and have not yet made a backup. This should persist restarts until a backup is successful.

More explanation of the Cloning feature:

...clones would have a much simpler setup:

welcome them to Bails
possibly change a temporary passphrase if they didn’t write a strong one down while in their friend’s Tails session.
most likely the autostart script begins reencrypting the Persistent Storage in background here. (Another Tails open issue)
the autostart deletes itself so it behaves like a normal Bails installation from then on.
Launch bails-wallet so they can make a wallet.

Limiting the scope of this issue to just the clones and reducing priority to medium.

Clone feature is going to have to tell users That the recipient needs a strong temporary passphrase that is never reused.
You cannot make several clones with the same passphrase to give to several people. As it allows one user with forensic tools and knowledge of the original passphrase to potentially read the Persistent Storage of others after they've changed that temporary password.


How i can generate Backup 2fa after user has been activated 2fa

like on the 2fa system from epic games when you activate your 2fa it gives you backup codes
how can i do that ?
thanks

You just generate some random strings/codes and store them with the useraccount. This is not something this library provides (you could use (part of) the output of the createSecret() method to generate some backup codes I guess).

Ah okay can you show me a code how to do that  ?  i would generate 6 back up code

Use a for-loop or something? The basics are:

Generate X-number of codes using createCode() or any other means to generate a [random string
](https://www.php.net/manual/en/function.random-bytes.php)
Show codes to user
Store codes in database or whatever

This is all highly dependent on your code, your environment, everything. There's no "THE" way to do this, there's infinite ways to do this (some better than others, ofcourse). But please understand that github issues are not a support forum for general programming questions. You might want to try stackoverflow or similar sites for that.

I would suggest using something like bin2hex(random_bytes(10)) to create the secrets and then use whatever password hashing algorithm from the framework in use to store them securely.

okay thank you for your help


Code cross-link test

I think you might the equivalent of the following for a new repo:
https://github.com/dotnet/AspNetCore.Docs/blob/e4f1a20574e12fd8e5afec2fe76dcccda03ef69d/.openpublishing.publish.config.json#L46-L51

I'm assembling the commit for that now.

Ha, ok, sorry. I jumped the gun there. Should've know you had it covered.

I'm hacking it as a go! 😆 I have their doc in front of me, but I didn't catch that link initially.

Well ....
:::code language="csharp" source="~/../blazor-samples/6.0/BlazorSample_Server/ExampleModel.cs" highlight="6":::

... is fine here, but that's throwing just like Xamarin repo cross-links locally ...

[22-02-04 04:16:06.743]Warning:[BuildCommand.BuildCore.Build Document.CompilePhaseHandlerWithIncremental.ConceptualDocumentProcessor.Build.BuildConceptualDocument](blazor/fundamentals/static-files.md)The code snippet "~/../blazor-samples/6.0/BlazorSample_Server/ExampleModel.cs" could not be found.

I'll hack on it a bit more. The goal is to get it showing locally AND get it passing here.
What did work locally resulting in ...

... was ...
:::code language="csharp" source="~/../../blazor-samples/6.0/BlazorSample_Server/ExampleModel.cs" highlight="6":::

... soooooooo ... if I place the dotnet/blazor-server repo GH folder locally where it prefers them here (and make sure it's ignored with a local .gitignore, then that might do the trick. I'll try that next.

@serpent5 @Rick-Anderson @wadepickett @terrajobst @danroth27 @mkArtakMSFT
That seems to have licked it! :+1:
The only RexHack!™ is to keep the local GH folder for the dotnet/blazor-samples repo inside the local dotnet/AspNetCore.Docs GH folder and ignore it there in .gitignore so that it only lives on my local machine.
This way, my local DocFX finds the files, and the docs build system finds the files.
Unless anyone has an alternate suggestion for my hack, I'll work this way.
Otherwise, I'll be picking back up with this effort next week ...

Place remaining samples into the new repo.
Set up the README for dotnet/blazor-samples.
Update markdown links, possibly using a script that does it automatically.
In the end, get the sample repo listed at https://docs.microsoft.com/en-us/samples/browse/ and drop the existing 6.0 samples from the dotnet/AspNetCore.Docs repo. We won't be moving 5.0 and 3.1. We're just going to let those drop off as support drops and those doc sets sunset. Upcoming 7.0 and later releases will use the repo.


Updated hub page images from Design

Hi @jasongroce, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Thanks @jasongroce. I'll merge this in. Are you also going to add the period for .NET on the smaller icons?
https://github.com/dotnet/docs/blob/master/docs/images/hub/featured-2.png
https://github.com/dotnet/docs/blob/master/docs/images/hub/featured-3.png
Let me know if I need to file a bug.
/cc @kendrahavens

Thanks @mairaw ! Can you create a bug for Kimtapia for the period? She doesn't have access to this repo yet so I'm just dropping these in for her. If/when she provides additional ones I can create PRs to merge those as well. Thanks!


Add Latest Support Agent Version

Summary
[NOTE]: Add latest supported version to dashboard
Description
[NOTE]: Adding latest support version to the dashboard would allow the customer and NR to better manager their agent deployments. It would also allow for customer to prioritize which agents need to be upgraded.
Desired Behaviour
[NOTE]: # Add supported agent version beside the latest agent version in the UI
Possible Solution

@65pony thanks for the suggestion! I want to better understand your goal.
Currently you can set the Upgrade SLO to "< 1 year old (support cutoff)" and the Out of Date report will show any services running agents beyond support cutoff.

Are you wanting to add the oldest supported agent version to the table on the right, or am I mis-understanding your goal?

Addressed in v2.0


Ship fs-verity certs

Had to revert this. One of our signing keys is there and we can't have it clobbered. If we want to add the Play Store keys it should be done in a portable, cross-device way and we need a full understanding of what including them will do.


Best practices for determining color space of input image?

I'm working on a web server that processes user's image uploads. I'm trying to normalize the color space of the uploaded files (PNGs and JPEGs) from their source color spaces to sRGB. I see you have LineariseImage functions for several source color spaces, but I'm not sure the best way to detect the color space of the input image in order to call the appropriate function.
I can see that I'm able to parse the ICCProfile from the metadata and get a description from that - should I be switching on the description? Or is there a more reliable way to do this?
E.g. I'd like to do something like this:
md, imageStream, err := autometa.Load(reader)
if err != nil {
	return nil, err
}

images, err := image.Decode(imageStream)
if err != nil {
	return nil, err
}

colorProfile := md.???()

linearisedImg := image.NewRGBA64(img.Bounds())
switch colorProfile {
case adobeRGB:
    adobergb.LineariseImage(linearisedImg, img, runtime.NumCPU())
case displayP3:
    displayP3.LineariseImage(linearisedImg, img, runtime.NumCPU())
...
}

Is there a way I can get such a value? Thanks!

Hi @AttilaTheFun, unfortunately the real source of truth for the source colour space is the contents of the ICC profile, which express how to get from one colour space to another but don’t really give a standard way to treat colour spaces like an enum.
For now, switching on the description is probably the best way to do what you’re trying to do (just be aware that there can be multiple descriptions for a given colour profile). In future I might look at providing a function to do the messy work of trying to map profiles to an enum. (The technically correct way to handle all this is not to try to enumerate anything and let the ICC profile do all the work, but there’s quite a bit of work to do to get to that point.)

Ah, that makes sense. Right now I only really have to deal with Display P3 images since iOS normalizes wide color images from other wide color profiles to Display P3 when exporting (and captures images from the camera in Display P3 as well). I mostly just want to be able to detect when an image is in the Display P3 profile so that I can record which images have wide color variants, and produce a normalized sRGB image from them for use on displays / devices that don't support wide color.


Support tags with spaces in them

mdbook chapter filenames can't have spaces in them. This should be as simple as

.replace(" ", "_") when making each tag_file
same for the the mermaid graph

I would like to take this.
But could you illustrate more about the behavior if both tags with space and with underscore tags?
eg: tag_sea and tag sea ?
if simply using .replace(" ", "_"), they will be merged as one.

Great!
Hmm, a quick fix for now would be to use double underscore __ and add a note in the README about this (i.e. not to use __ in tag names). But a better fix would be to assign an ID to each tag and use the ID as the filename instead of the tag itself. This should be easy enough to implement in markdown.rs only but to make issue #10 possible the IDs would need to also be stored in the database.
I think the quick fix is acceptable for closing this issue, and I can overhaul the database when working on issue #10. Thoughts?

I do the quick fix for this issue.
#10  looks like quite a big change 😬


Draging doesn't work after window resize

Repro

Create some views
Resize the the main window

Notice that it's no longer possible to drag docks around and the top ones are not reachable.

Cannot reproduce. Found another issue in code that could be the reason for that: there is "PreDocking" state and in order to leave it user have to move mouse for more then 5px away in single frame (weird logic). Could this "PreDocking" state be a reason for described bug?

@SlNPacifist which platform are you testing on? I fixed a couple of bugs here (not related to viewdock) which only happened on a single platform (and even a single distribution, so either release only or debug only), so this may hint you where to look. AFAIK @emoon is testing primarily on Mac.

After I resize you can see the window labes for the views are almost gone (Mac tested)

@kondrak I work on Ubuntu 16.04 64bit and ProDBG never behaves like this here. Most likely, this is ImgUI-related bug. Is this bug connected with tabs somehow? We only added drawing tabs and removed 4px right and bottom border for Views (borders are calculated by Splits now).

Alright. I will have to investigate this one myself then.
On Jul 4, 2016 14:34, Vyacheslav<EMAIL_ADDRESS>wrote:@kondrak I work on Ubuntu 16.04 64bit and ProDBG never behaves like this here. Most likely, this is ImgUI-related bug. Is this bug connected with tabs somehow? We only added drawing tabs and removed 4px right and bottom border for Views (borders are calculated by Splits now).
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

Looked at this and it seems to be a minifb bug on Mac. I think the size that is returned back doesn't take the windowbar (or something like that) into account. If I hardcode some value into the code it works as expected.

Switching Qt and C++ (for now, will be reevaluated when there are some good Rust bindings for Qt) so closing.


Flag to disable std* fields in the responses

Is there something I can do to disable or hide the std* fields in the responses?

There's no way right now to achieve this. We'd try to pick it up this week using an environment variable. Feel free to add a PR if you'd like.


Implement the binary quantization in meilisearch

Pull Request
Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/4873
What does this PR do?

Add a settings for the binary quantization
Once enabled, the bq cannot be disabled

TODO:

[ ] Missing a bunch of tests

thanks
bors merge


Add Chembl_Assay_type to the Bioactivity types table

We will try to retrieve information on the Assay-types from Chembl and use that to further refine the list of bioacitivities..

And add field to the list-display

Test now live on staging server.


Update load-balancer-tcp-reset.md

@mbender-ms
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Replace with other PR.

#please-close


ONNX export: Add Flatten before Gemm

Description
ONNX's spec specifies that Gemm input data should be 2D, but this wasn't the case for VGG and ResNet models trained in MXNet and exported to ONNX. This PR adds a flatten node before Gemm to make the input data 2D.
Related issues: https://github.com/onnx/models/issues/90, https://github.com/onnx/onnx/issues/1101, https://github.com/onnx/models/issues/91#issuecomment-438782534
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

Add a flatten node before Gemm

Comments

Testing done:

Exported all VGG models (https://github.com/onnx/models/tree/master/models/image_classification/vgg) and ResNetv1 models (https://github.com/onnx/models/tree/master/models/image_classification/resnet) and executed the validation notebook.
A test in mxnet_export_test for fully connected

@anirudhacharya the test is WIP (added a note in the PR description). Adding a test for fully connected in mxnet_export_test.

@mxnet-label-bot add [ONNX, pr-work-in-progress]

@mxnet-label-bot update [ONNX, pr-awaiting-review]

@Roshrini, @anirudhacharya for review?

@vandanavk
Please review the CI failure
  _, out_shapes, _ = sym.infer_shape(**inputs)

Traceback (most recent call last):

  File "tests/python-pytest/onnx/export/mxnet_export_test.py", line 486, in <module>

    test_models("bvlc_googlenet", (1, 3, 224, 224), (1, 1000))

  File "tests/python-pytest/onnx/export/mxnet_export_test.py", line 142, in test_models

    converted_model_path = onnx_mxnet.export_model(sym, params, [input_shape], np.float32, onnx_file)

  File "/work/mxnet/python/mxnet/contrib/onnx/mx2onnx/export_model.py", line 87, in export_model

    verbose=verbose)

  File "/work/mxnet/python/mxnet/contrib/onnx/mx2onnx/export_onnx.py", line 211, in create_onnx_graph_proto

    graph_outputs = MXNetGraph.get_outputs(sym, params, in_shape, output_label)

  File "/work/mxnet/python/mxnet/contrib/onnx/mx2onnx/export_onnx.py", line 152, in get_outputs

    assert len(out_shapes) == len(out_names)

Codecov Report

Merging #13356 into master will increase coverage by 0.53%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master   #13356      +/-   ##
==========================================
+ Coverage   82.73%   83.26%   +0.53%
==========================================
  Files         721      746      +25
  Lines       79494    83497    +4003
  Branches     3193     3193
==========================================
+ Hits        65770    69526    +3756
- Misses      12864    13113     +249
+ Partials      860      858       -2

Impacted Files
Coverage Δ

...hon/mxnet/contrib/onnx/mx2onnx/_op_translations.py
18.55% <0%> (-0.14%)
:arrow_down:

src/operator/nn/depthwise_convolution_tf.cuh
83.52% <0%> (-2.36%)
:arrow_down:

src/operator/contrib/quadratic_op-inl.h
96.84% <0%> (-2.11%)
:arrow_down:

src/operator/softmax_output-inl.h
59.19% <0%> (-0.9%)
:arrow_down:

python/mxnet/visualization.py
44.94% <0%> (ø)
:arrow_up:

tests/cpp/kvstore/gpu_topology_test.cc
97.28% <0%> (ø)

tests/cpp/operator/batchnorm_test.cc
87.07% <0%> (ø)

tests/cpp/operator/runner/core_op_runner_test.cc
95.86% <0%> (ø)

tests/cpp/operator/fully_conn_perf.cc
94.73% <0%> (ø)

tests/cpp/include/test_core_op.h
95.23% <0%> (ø)

... and 23 more

Continue to review full report at Codecov.

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

@zhreshold for review

@zhreshold Can you please review/merge this PR?

@mxnet-label-bot update [ONNX, pr-awaiting-merge]


[Project] - Web Requests Post Pulumi UP

This issue will contain any issues encountered with the launch of all our pulumi.com web and marketing pages from the launch of ESC and our Pulumi UP event.
Please capture any regressions you may encounter, with screenshots and repro steps as necessary. Also feel free to add new feedback to be prioritized down the road.
For Docs related feedback, please add them here: https://github.com/pulumi/docs/issues/12795

Remove Rockstar from website
https://pulumi.slack.com/archives/G01HKD9T4M6/p1726694061821289


feat/ini upgrade wagmi

perf: ini wagmi wallet
feat: ini wagmi migration

Codecov Report

Merging #99 (a678ed3) into main (144a302) will increase coverage by 7.52%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            main      #99      +/-   ##
=========================================
+ Coverage   4.39%   11.91%   +7.52%
=========================================
  Files        653       57     -596
  Lines       5461      579    -4882
  Branches    1131       90    -1041
=========================================
- Hits         240       69     -171
+ Misses      5045      495    -4550
+ Partials     176       15     -161

Impacted Files
Coverage Δ

...mponents/ModalTwitterVerify/ModalTwitterVerify.tsx

apps/app/src/components/Wallet/Wallet.tsx

...s/app/src/components/Web3Provider/Web3Provider.tsx

apps/app/src/hooks/useAuth/useAuth.ts

apps/app/src/hooks/useEns/useEns.ts

apps/app/src/hooks/useEnsAvatar/useEnsAvatar.ts

...p/src/hooks/useEnsResolveName/useEnsResolveName.ts

...useProviderCyberConnect/useProviderCyberConnect.ts

...erConnectDefault/useProviderCyberConnectDefault.ts

apps/app/src/hooks/useWallet/useWallet.ts

... and 582 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Multi-block PSO

Intro
PSO resources typically come from different sources, which also seem to correlate with the frequency of updates: per-entity data, per-material, per-frame, global, etc. While the hardware doesn't care, we can't just off-load this to the user since our PSO definitions are not too generic or flexible at the moment... so splitting the resources in groups would require a lot of boilerplate.
Concept
We could see a PSO definition as a combination of a shader program, some resource blocks, plus the output configuration: (Program, (A, B, C), Output), where A, B, C are separate PSO definition blocks, containing: SRV, UAV, samplers, vertex buffers, and constant buffers. The output configuration, on the other hand, has DSV, RTV, and the corresponding blend/depth/stencil/color states. We touched this topic when were still designing PSOs, so this might be our chance to get back to it.
Benefits
At the end of the day, this approach would allow the user to mix and match PSO blocks with output configurations using structural types (read: tuples), producing a number of PSO definitions with little to no effort. This will make PSO handling more scalable and manageable for bigger applications.
Problems
It would further complicate the API and our system of classes. I wish it was simpler that it is already, and we don't have much room to complicate it further, if we want to have any user base.
Another problem is the conflict with #870, since it dissects PSO in a different way. This idea is more of an user-aimed proposal, while #870 is the hardware-aimed one. I believe this one to be better.

Having the descriptor sets and render passes declared separately is precisely what this issue needs, see #1429


[GitHub Request] Set the CODECOV_TOKEN secret on opensearch-rs

What is the type of request?
Secret Update
Details of the request
Please configure the opensearch-rs repository secrets to include the CODECOV_TOKEN as specified here.
Additional information to support your request
Repository was previously using tokenless/OIDC for codecov uploads which is now disabled, as such test workflows are now failing.
When does this request need to be completed?
non-urgent as repository has low PR throughput
Notes
Track the progress of your request here: https://github.com/orgs/opensearch-project/projects/208/views/33.
Member of @opensearch-project/admin will take a look at the request soon.
Thanks!

Updated CODECOV_TOKEN per request in opensearch-rs repo.
Thanks.


Add Proda.ai

From job ad:
https://www.proda.ai/senior-full-stack-engineer

Could also swap out the GCache for this that I just requested from the WayBack Machine:
https://web.archive.org/web/20190329162324/https://www.proda.ai/senior-full-stack-engineer

Thanks


[Windows] No log messages are being displayed in Visual Studio output window

axmol version: https://github.com/axmolengine/axmol/commit/2a40fcf50980727e1933a3f591738512c1570b8d
devices test on: Windows 10
developing environments

NDK version: r23c
Xcode version: 14.2+
Visual Studio:

VS version: 2022 (17.9+)
MSVC version: 19.39+
Windows SDK version: 10.0.22621.0+

cmake version:
Steps to Reproduce:

Create a new project
Run project within Visual Studio

No log calls can be seen in the "Output" window

I can see the issue now, the call to OutputDebugSstringW was removed in the Win32 section of Console.cpp.
If it is to be re-added, it should be surrounded by pre-processor check for debug build only, since this should not be called in release builds:
#if defined(_DEBUG) || !defined(_NDEBUG)
    // print to debugger output window
    std::wstring wbuf = ntcvt::from_chars(message);
    OutputDebugStringW(wbuf.c_str());
#endif

will re-add later, better is use winapi IsDebuggerPresent to check


Listening Recording Events

Thank you for developing the browser SDK for Whereby.
The recording feature, which is supported by the Whereby embeds, is quite useful. However, I have a question regarding listening to recording events while in the room. Is there a way to do this? Do you have any plans to develop such a feature in the future?
Thanks in advance!

Hi @tarikcaliskan ! Thanks for the kind words and taking some time to submit your question. That's a great thought! I'm not sure if this is actively being developed, however it's something that might be within scope of one of our engineers upcoming projects.
Out of curiosity, would you mind sharing a little bit how you'd ideally like to use this feature? It can be helpful for us to have some context into it's usage.
Thank you!

The primary purpose of this feature is to detect user actions related to recording and provide a listener for those actions. According to the documentation, Whereby already has some support for listening to certain events. With these listeners, applications can make action (API) calls or update the application state.
On Whereby Embed SDK, it would be nice if we can create event listeners for these actions
Example:
elm.addEventListener("recording_start", logEvent)
elm.addEventListener("recording_end", logEvent)

Another option is to use Whereby webhooks to trigger events. When a recording_start or recording_end event occurs, a call to the webhook should be made.

Looks like it's implemented as mentioned in the docs.
Thanks a lot! 🚀


fix: chat spacing and minor detail

Before

After

this is a nice revision for the messages, improves readability!

I added information on the reply to know who replied and whose message was replied.\
When someone replied to their own message:

When you replied to your own message:

When you reply to someone else (this one still needs fixing, can't seem to make it work and i can't fetch it properly. pls send help):

When someone replied to you (also need help with this one xd, "yourself" should be "you"):

Added a fix for the comment above
When someone replied to you:

When someone replied to their own message:

When you reply to your message:

When you reply to someone: (still need fixing for this one tho)

Added a fix for the comment above
When someone replied to you:
When someone replied to their own message:
When you reply to your message:
When you reply to someone: (still need fixing for this one tho)

Please fix this first before I approve.


Grasshopper is still sending displayMesh instead of displayValue on Breps

displayMesh has been depreciated, so this should be reflected in grasshopper

Ok got it! This is not an issue with the GH conversions, but with the ExpandSpeckleObject not ignoring the properties that have been flagged as Obsolete such as DisplayMesh.
https://github.com/specklesystems/speckle-sharp/blob/ccad89d4b636521a4c1b1bc11df65fbc3d830602/Objects/Objects/Geometry/Brep.cs#L366-L373

Minor blocker on this, as the best solution would be to modify GetMemberNames() In dynamic base to exclude obsolete members.
Alternative would be to also attach the SchemaInfo attribute to all displayMesh props in every object that has it.
I'd vote for modifying GetMemberNames() as there is no reason to return obsolete members.
Result should look like so 👇🏼


Encoded ampersand displays in selected option of dropdown

The selected value of uif-dropdown displays an encoded ampersand, "&", rather than the character. The model value contains the & character as do the options in the drop down list - only appearance of this issue seems to be in the display box.
Plunk: http://embed.plnkr.co/C4RnVQrgtHfD8DBBjuGE/

I suspect the problem is with the following line:
https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/src/components/dropdown/dropdownDirective.ts#L132
We have to evaluate if it's safe to remove the .html() call.

This line, as well: https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/src/components/dropdown/dropdownDirective.ts#L71
The one you linked is hit on initial load to set the value, but the postLink click event seems to be the one executed when changing it. This directive is using interpolation for selectedTitle and not ng-bind-html, so I don't think I see an impact in changing those two lines to use .text() rather than .html() - unless having html within a drop down option display value is desired. Technically you already can, it just doesn't work when you select one.

@jjczopek - I can confirm that the change to '.text()' on lines 71 and 132 does not cause any impacts, especially considering that attempting to properly utilize '.html()' with HTML content just displays it as plaintext anyway. I made the switch in my local dev copy a couple weeks ago and it behaves correctly. Can I get a pull request submitted? I attempted to submit one myself but Github does not allow me to... insufficient permissions error. I haven't submitted one before, though, so I'm unsure if there was a step I missed. Thanks!

@nightullr - We'd welcome your PR!
If you're trying to create a branch off your cloned copy of THIS repo, then you are correct you won't be able to submit a PR. We aren't doing anything special here... submit the PR from your fork like all other OSS projects :)
The proper process is:

fork this repo
clone the fork from your account locally
create a branch & apply your fix
push your branch with the fix to your forked repo
submit a PR

details here:
https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/docs/guides/PULL-REQUESTS.md
Feel free to post questions if you're still having trouble so we can get you sorted.

Yep, that's what I did! Thanks for the clarification. Submitted the PR.


Answer a reply_markup from a BOT message

Is there a way to answer a reply_markup? I connected with my user and wanted to answer some buttons from a BOT message, but I didn't find some method.

Hi, this is not an issue with the library but rather a question. The issues section in GitHub is only to report bugs or enhancements in the library itself. If you have usage questions, you should ask those in StackOverflow or the @TelethonChat group.

Client currently don't have a reply markup method.

When I posted my comment, I thought I was in the Telethon repository.
Either way, since the issue was posted, it's now possible:
https://github.com/Lonami/grammers/blob/8997a2dadc64b9ee7ee4d03b2f6eaba15d44f00c/lib/grammers-client/src/types/input_message.rs#L81

When I posted my comment, I thought I was in the Telethon repository.
Either way, since the issue was posted, it's now possible:
https://github.com/Lonami/grammers/blob/8997a2dadc64b9ee7ee4d03b2f6eaba15d44f00c/lib/grammers-client/src/types/input_message.rs#L81

I think there is a mistake.
reply_markup function send a button in message.
We still can't press the button that peer send.
For example, I am talking with a bot, received a message with button on it, and want my client to press a button behind the msg sent by bot.

You can client.invoke that request, but you're right a friendly API is missing.
Ideally the Message custom type would have a .buttons() that can be .click()ed.


Added a CMake line to select C99 in the implementation

This tells CMake to select the C99 standard in a compiler/platform agnostic way.
It should fix issue #1560

This is a good thing to add but note that our minimum CMake version is 3.0 while target_compile_features was added in CMake 3.1 and c_std_99 was added in CMake 3.8. We need to bump it or add a fallback.

If keeping CMake 3.0.0 compatibility is preferable, I can add a fallback for.

Thank you, please do!

That looks great! Is it okay to merge?

Yes! Everything should be okay!


CrateVendingMachineRestockSalvageEquipment requires price increase

Description
https://github.com/Goob-Station/Goob-Station/pull/1201
Added 2 Spationaut suits to a 1500 spesos purchase via SalvageEquipmentInventory edits which is monumentally stupid.
CrateEvaKit costs 5000 for 2 default EVA kits. 2500 per suit.
CrateVendingMachineRestockSalvageEquipment is 1500, 750 per HARDsuit, with minor armor. (this is even if we disregard the rest of the crates kit)
I thought the original powercreep PRs for salvage were bad. This is something else.
This was directly mentioned https://github.com/Goob-Station/Goob-Station/pull/1201#issuecomment-2555439409 here as a positive?
I understand wanting to promote people into salvage, be that for salvtide or to resupply them after someone gets round removed, but these values are just... bad.
 I originally thought people would just prefer the lighter suits as well, I don't mind the removal of the suits but it was intended for anyone who would prefer it over the salvage hardsuit.
Furthermore 5k spesos for two eva suits are ridiculous as is, I would recommend lowering the price of that and or making the spationaut suit only have one in the vend or none, again this was never meant to be a powercreep and only give salvage more options such as light and fast or heavy and armoured.


Allow Breakpoint property to use variable

Can you allow for breakpoint property to use variable?
        var mobileBreakpoint = 480;
                breakpoints: {
                    mobileBreakpoint: {
                        slidesPerView: 2,
                        spaceBetween: 10
                    },
              }

Currently the above method does not work.

https://stackoverflow.com/questions/19837916/creating-object-with-dynamic-keys

Cheers to you sir!

In case someone would like to do the same. Do this:
    var mobileBreakpoint = 480;
            breakpoints: {
                [mobileBreakpoint]: {
                    slidesPerView: 2,
                    spaceBetween: 10
                },
          }


Webkit and build fix, plus layout

Fixes case-sensitive Webkit references
Includes ./MakeRelease script
Fixes layout problems caused by Chrome 92+ (or 97?)+

Rejected.  This should be merged into main

Accepted into webkit_fix branch now.


Issue #3 - Changed classes to be records

I changed some classes in the data package to be records. I chose the classes to be converted based on how the previous code declared attributes in the class, I chose classes that declared all the attributes as final.
Then after converting those classes to records I had to change how other classes retrieved data using the generated getters from records.

Only looked at the changes in GitHub, not IntelliJ, but it all looks good to me. Waiting for review from the big boss Cassy.

@funnyboy-roks @Majekdor @Cassy343 So after testing a bit, I found out it's an error from Gson itself not being able to deserialize records properly, it's a known Gson issue. There are workarounds provided by the community, but the simplest fix is just to revert Birthday back to a class.


Fix regression introduced in bec8a587a9ec5bc0d2d96e35c729a2adee44187a.

Closes #73.
The problem came from the refactoring of Propel::initConnection() into
ConnectionFactory::create(). In the process of moving the code, I
inadvertently removed the line saying:
// in old Propel.php, line 575
$value = $optiondata['value'];

The generated configuration array used to look like
      array (
        'classname' => '\\Propel\\Runtime\\Connection\\DebugPDO',
        'dsn' => 'mysql:dbname=test',
        'options' =>
        array (
          'ATTR_PERSISTENT' => array('value' => false),
        ),

Which explained why Propel::initConnection() did that. So instead of
reading the code from line 575, I changed the generated conf so that it
looks like:
      array (
        'classname' => '\\Propel\\Runtime\\Connection\\DebugPDO',
        'dsn' => 'mysql:dbname=test',
        'options' =>
        array (
          'ATTR_PERSISTENT' => false,
        ),

Which makes more sense.

Wow! You're awesome!
Le 25 nov. 2011 à 22:39, Francois<EMAIL_ADDRESS>a écrit :

Closes #73.
The problem came from the refactoring of Propel::initConnection() into
ConnectionFactory::create(). In the process of moving the code, I
inadvertently removed the line saying:
// in old Propel.php, line 575
$value = $optiondata['value'];

The generated configuration array used to look like
     array (
       'classname' => '\\Propel\\Runtime\\Connection\\DebugPDO',
       'dsn' => 'mysql:dbname=test',
       'options' =>
       array (
         'ATTR_PERSISTENT' => array('value' => false),
       ),

Which explained why Propel::initConnection() did that. So instead of
reading the code from line 575, I changed the generated conf so that it
looks like:
     array (
       'classname' => '\\Propel\\Runtime\\Connection\\DebugPDO',
       'dsn' => 'mysql:dbname=test',
       'options' =>
       array (
         'ATTR_PERSISTENT' => false,
       ),

Which makes more sense.
You can merge this Pull Request by running:
git pull https://github.com/fzaninotto/Propel2 runtime_conf
Or you can view, comment on it, or merge it online at:
https://github.com/propelorm/Propel2/pull/74
-- Commit Summary --

Fix regression introduced in bec8a587a9ec5bc0d2d96e35c729a2adee44187a.

-- File Changes --
M src/Propel/Generator/Task/PropelConvertConfTask.php (5)
-- Patch Links --
https://github.com/propelorm/Propel2/pull/74.patch
https://github.com/propelorm/Propel2/pull/74.diff

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/pull/74


[BUG] Flutter command does not exit when run through Fastlane

When running fvm flutter .... command does not exit when running through a fastlane lane.
lane :fvmtest do
    Dir.chdir ".." do
      sh("fvm flutter doctor")
    end
  end

thanks, v1.3.4 also fixes running fvm from git bash on windows (before it hung at the end of execution)

Works on my machine now with fastlane, thanks. Still gotta try the SSH session on CI.

This also solved the SSH problems on my CI server. 👍


Table columns aren't shunk to fit the screen

While working on #447, I noticed that newer versions of Newsbeuter don't even attempt to make the columns fit the screen: a column with a lot of text is shown as one long line (which is mostly off-screen).
Older versions (I checked r2.9 tag) try but fail: they seem to wrap every column to text-width but then interlace them instead of putting them next to each other.
TODO:

[ ] check if this ever worked correctly (to figure out what user's expectations are). Maybe limit ourselves to 2.8, 2.9 and HEAD as these are the versions most used today (judging by the bug reports here.)
[ ] estimate how much effort is required to fix this
[ ] if the effort is too high, we might stop supporting tables altogether, displaying some placeholder instead

Older versions treated tables as simple text and wrapped it at text-width without any further processing. An attempt to remedy this was done in #387. The reasoning was twofold, one having table lines be wrappable made them go through whitespace consolidation which broke alignment, and second that tables should not respect text-width since the width of tables can easily get out of hand with a lot of columns which would make it much harder to read if we tried to wrap it.
After #427 since wrapping and whitespace consolidation was separated we can, if not improve, bring the original behaviour, wrapping each line separately, back. Some kind "smart wrapping" for tables, meaning wrapping a few select columns to bring it under the screen width(or, text-width if we decide that we want to go back to wrapping tables at text-width) would be a good addition but I have no idea how that could be implemented, so I'll leave that open for now.

if the effort is too high, we might stop supporting tables altogether, displaying some placeholder instead

That's totally the wrong approach in my opinion, we should try to display things as best as we can and leave it to the user to switch to another viewer if something doesn't work properly, if only for the reason that currently the grand majority of tables render perfectly assuming a wide enough monitor.

Some kind "smart wrapping" for tables, meaning wrapping a few select columns to bring it under the screen width

Judging by how #447 looked in 2.9, it looks like it used to work that way (albeit with some bugs). I don't remember removing that behaviour, so I put "check" as first item on TODO to make sure I understand what's going on.

currently the grand majority of tables render perfectly assuming a wide enough monitor

I'm not entirely sure of that. Tables don't pop up at all in articles I read, but in #447 we've seen a feed that consists entirely of tables. Tables with long lines (more than thousand characters each). And Newsbeuter doesn't display those properly, refusing to wrap columns.
Anyway, I won't make a decision about that before the first two items of TODO is done, so don't worry just yet—tables aren't going anywhere ;)


Update questionnaire model

Update questionnaire model such that it disables deleting questionnaire if there are questions associated to questionnaire

check_for_question_associations method added to raise ActiveRecord::DeleteRestrictionError


issue to generate specific address private key?

I have generated a private key for litecoin for the specific derived path "m/44/2/0/0/0". but private key can not generate same as "https://iancoleman.io/bip39".
different path:

m/44/2/0/0/0
m/44/2/0/0/1
m/44/2/0/0/2 and so on..

Can you please provide a solution to this?

Hi, @SazzadIproliya, thank you for your question.
Our library provides two ways for generating Litecoin(or Bitcoin, Ethereum and Bitcoin Classic) wallets:

Simple way, use account generating

let mnemonic = Mnemonic.create()
let seed = Mnemonic.createSeed(mnemonic: mnemonic)
let wallet = Wallet(seed: seed, coin: .litecoin)
let firstAccount = wallet.generateAccount(at: 0)
let secondAccount = wallet.generateAccount(at: 1)

It equal "m/44'/2'/0'/0/0" and "m/44'/2'/0'/0/1".
Account have all required fields for creating transaction: private key, public key, address and raw private key.

Second way it is creating HD path manually:

let mnemonic = Mnemonic.create()
let seed = Mnemonic.createSeed(mnemonic: mnemonic)
let privateKey = PrivateKey(seed: seed, coin: . litecoin)
// BIP39 key derivation
// m/44'
let purpose = privateKey.derived(at: .hardened(44))
// m/44'/2'
let coinType = purpose.derived(at: .hardened(2))
// m/44'/2'/0'
let account = coinType.derived(at: .hardened(0))
// m/44'/2'/0'/0
let change = account.derived(at: .notHardened(0))
// m/44'/2'/0'/0/0
let firstPrivateKey = change.derived(at: .notHardened(0))

Now you can get same to first way information:
let address = firstPrivateKey.publicKey.address
let privateKey = firstPrivateKey.get()
let publicKey = firstPrivateKey.publicKey.get()

These two methods give the same result.
Maybe, you have not specified "Hardened" or "Non-hardened" HD nodes? This functionality is implemented in DerivationNode component.
If something is not clear please ask.

@SazzadIproliya, please provide your HDWallet version, and mnemonic that u used in your tests.

Hello, I m using 24-word seed.
let mnemonic = "fly weasel genuine enact humor catch prison upper spatial sure mechanic excess hint lazy uphold need violin sport also certain cannon spread include float"
let seed = Mnemonic.createSeed(mnemonic: mnemonic)

@SazzadIproliya I checked your mnemonic and got the same result in HDWallet and Coleman.
let mnemonic = ""fly weasel genuine enact humor catch prison upper spatial sure mechanic excess hint lazy uphold need violin sport also certain cannon spread include float""
let seed = Mnemonic.createSeed(mnemonic: mnemonic)
let privateKey = PrivateKey(seed: seed, coin: .litecoin)
// BIP44 key derivation
// m/44'
let purpose = privateKey.derived(at: .hardened(44))
// m/44'/2'
let coinType = purpose.derived(at: .hardened(2))
// m/44'/2'/0'
let account = coinType.derived(at: .hardened(0))
// m/44'/2'/0'/0
let change = account.derived(at: .notHardened(0))
// m/44'/2'/0'/0/0
let firstPrivateKey = change.derived(at: .notHardened(0))

let pk = firstPrivateKey.get()
//T4UWHcDKz5hpqbiCwFCoD8ikjZEKxtH1MVHHvSUfbgRjR3WR6JFU
let publicKey = firstPrivateKey.publicKey.get()
//02ddf59d9deb77616c77c8f4c024e0e5137c92c3ad43dd39ad71c8f1e04574110e
let address = firstPrivateKey.publicKey.address
//LXbmmJEuwYrFN21vLGwFkaYz5zeDEDanGv

Also I attached screenshots of Coleman:

let me check first with the current library. Because in the current project, I have install pod.


ci: mapping between conventional commits and labels is configured in a specific file

Close #598

We're currently processing your upload.  This comment will be updated when the results are available.


Find Meeting

Implement Find Meeting feature
Format: meeting find DATE [PERSON_INDEX]
Required information:

Date (dd/mm/yyyy)
Index of a person already in address book

Examples:

meeting find 12/02/2023
meeting find 12/02/2023 5

Push back to v1.3


build: add release config to CI

Closes #22693
Closes #22678
Add config for releases for the 2.1 circle config. Mostly copied from the existing 2.0 circle config for release-branch-specific steps, and added into the config from master that the 2.1 branch was based on.

There are differences in scripts/ci/update-changelog.sh between 2.0 and master as well -- 2.0 being the one we should choose here.

Copied over the 2.0 script and updated it for this PR!