Add support for webm and jupyter transparency

Changelog / Overview

Add webm support via --format argument
Handle transparency in jupyter by using webm format instead of mov

Motivation

Currently .mov isn't supported in the main browsers and we currently have no other options that support transparency. Webm
has alpha channel support and more support in browsers for web rendering
Explanation for Changes

Allows webm to be used as an alternative format that supports alpha channels to .mov

Testing Status

Added tests for the new formats and checks that -t flag still defaults to .mov when --format webm is not specified. Currently I haven't been able to find a good way of testing video outputs with jupyter, we can't use a temporary path because the ManimMagic class only uses relative paths:
local_path = Path(config["output_file"]).relative_to(Path.cwd())

Further Comments

Checklist

[X] I have read the Contributing Guidelines
[X] I have written a descriptive PR title (see top of PR template for examples)
[X] I have written a changelog entry for the PR or deem it unnecessary
[X] My new functions/classes either have a docstring or are private
[X] My new functions/classes have tests added and (optional) examples in the docs
[X] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[ ] The PR title is descriptive enough
[ ] The PR is labeled correctly
[ ] The changelog entry is completed if necessary
[ ] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

Thanks for this contribution.
This will be really convenient to make e.g. contributions to Wikipedia.
I will test and review this on the weekend!

I agree, this is really great!
I just made a timing test: webm is about 16 times slower than rendering to mp4.

and then also, the file size increases with webm:

The higher file size is something I did not expect, and I guess that is due to manims really efficient way to write mp4 files.
Regarding the speed:
I think we should add documentation about the slowness somewhere.
Maybe as a warning "Warning: .webm rendering is a slower than .mp4 rendering".
I am also fine now with the idea, that -t is default to .webm in jupyter

Regarding the speed:
I think we should add documentation about the slowness somewhere.
Maybe as a warning "Warning: .webm rendering is a slower than .mp4 rendering".

Sure, I can add a warning, were you thinking in the docs or log the warning? I think logging makes sense when webm is set

Yes, logging when webm is set would be great!
I dont know where in the code would be the right place for that, I think anywhere it works is fine.

I guess that is due to manims really efficient way to write mp4 files

Manim doesn't have anything to do with it, it's simply that VP9 is a more complex codec in comparison to H.264. See e.g. https://superuser.com/questions/1211786/why-is-encoding-vp8-9-so-slow-compared-to-h-264
Personally, I don't think a warning is required, but if one is printed it should come soon after the CLI call (and debug level info is certainly sufficient).
Btw, in case someone explicitly wants the .mov in a Jupyter notebook there is no way to do so it seems. It might be useful to allow --format=mov there as well.

Btw, in case someone explicitly wants the .mov in a Jupyter notebook there is no way to do so it seems. It might be useful to allow --format=mov there as well.

This is already handled with this line:
            if "-t" in args and "--format" not in args:
                additional_args += ["--format", "webm"]

It only sets webm as a defauly if --format is not set explicitly

Yes, logging when webm is set would be great!
I dont know where in the code would be the right place for that, I think anywhere it works is fine.

Added warning

Btw, in case someone explicitly wants the .mov in a Jupyter notebook there is no way to do so it seems. It might be useful to allow --format=mov there as well.

Done, can now be set via --format option

Btw, in case someone explicitly wants the .mov in a Jupyter notebook there is no way to do so it seems. It might be useful to allow --format=mov there as well.

Done, can now be set via --format option

Thanks! I saw that it was technically possible before as well, but "mov" was not one of the passable render options; you've fixed that in 2ac10be though.


Create easy to restore user admin template

User admin is in almost all instances and currently we are copying it everywhere.
It could be a kind of template.

The purpose of this change significantly with introduction of bootstrap etc.

The purpose of this change significantly with introduction of bootstrap etc.

I'm going to close this one as modules kind of replaces it.


Lunie Governance

🎉

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the application. As I wrote you via email, let me know if you want to go ahead with the open grants proposal or potentially switch to the general grants program or treasury.

Could you change the amount of the grant to btc (fixed amount)? Also we usually don’t pay for the research + design phase (M1+M2), since this isn’t something useful for others and really difficult to evaluate from our side. Additionally it would be nice if you could add support for the treasury as well. But you could also ask the council to get funding for supporting the treasury. This way you also immediately learn more about the process itself and you get potential ideas on how to improve it.

Thanks @Noc2! I just updated our proposal accordingly. 🎉

Thanks for updating the proposal and adding the treasury module to it. I’d be happy to go ahead with it, but I think the day rate is slightly higher than what we usually pay. In order to convince our operations team it might help if you reduce the price a little bit more.

Done! Thanks @Noc2!

Hello @RouvenP!
I believe at the time of submission it was under 30k.
Please let me know what you think.

Hello @RouvenP!
I believe at the time of submission it was under 30k.
Please let me know what you think.

Hi @jbibla we look at the market price at the time of approval instead of the submission date's rate. With the current btc rate the total amount is again below 30k so no adjustment needed.

Thank you @RouvenP! Great news!

@keorn @Noc2 @RouvenP when should we expect payment for this grant?

Thank you, David. I misunderstood and thought the payment was upfront. No problem at all!


connectedAndroidTest launched via gradle doesn't complete - Firebase Test Lab Fails

Steps to reproduce
Hello, folks.
We are experiencing issues running tests on the Firebase Test Lab. We can reproduce this by running the tests locally with gradlew app:connectedAndroidTest in the example project of the patrol package.
0 - It is possible to reproduce this with the example project.
1 - The tests run successfully locally via patrol test or even with flutter drive.
2 - The tests may, in some scenarios, start execution but never finish (at least within the maximum timeout of Firebase Test Labs, 45 minutes).
3 - If we ONLY rollback the testInstrumentationRunner and MainActivityTest to the default framework values, everything works as expected (for tests that only use WidgetTester).
The PatrolJUnitRunner would be my starting point for investigating the issue, but I need more information, tips, or even an example of how to debug the PatrolJUnitRunner in this scenario with gradlew app:connectedAndroidTest.
I have also upgraded all dependencies in my project, including Android, Flutter, etc.; the logs look beautiful without warnings or errors, but the problem persists.
Here is an example of using gradlew app:connectedAndroidTest: https://github.com/flutter/flutter/tree/main/packages/integration_test#firebase-test-lab
pushd android
flutter build apk --flavor dev --no-tree-shake-icons && \
./gradlew app:assembleAndroidTest && \
./gradlew app:assembleDebug -Ptarget=../integration_test/example_test.dart && \
./gradlew app:connectedAndroidTest -Ptarget=../example/integration_test/example_test.dart
popd

Actual results
connectedAndroidTest launched via gradle doesn't complete
Logs

Logs
connectedAndroidTest launched via gradle doesn't complete

Patrol version
latest
Patrol Doctor output
Patrol doctor:
Patrol CLI version: 3.0.1
Flutter command: flutter
Flutter 3.22.3 • channel stable
Android:
• Program adb found in /Users/alvertabbaros/Library/Android/sdk/platform-tools/adb
• Env var $ANDROID_HOME set to /Users/alvertabbaros/Library/Android/sdk
iOS / macOS:
• Program xcodebuild found in /usr/bin/xcodebuild
• Program ideviceinstaller found in /usr/local/bin/ideviceinstaller

Hi @valtbarbos. The way you try to run the tests is not correct for how Patrol works. If you want to recreate everything that Patrol does when you execute patrol test command, you can add --verbose flag to see more logs (and all internally run commands). But if you're trying to run patrol tests on FTL there is an easier way. Take a look at this page in our docs.
Closing this as it is not a bug. If you'll have any more questions feel free to ask them on discord channel.


support for RedBearLabs BLENano hardware revision 1.5

Hardware revision 1.5 supports 32kb ram instead of the 16kb supported by 1.0. Does that mean a new board should be added called redBearLabBLENano15 ?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26403208-support-for-redbearlabs-blenano-hardware-revision-1-5?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).

It still doesn't show up on this list https://developer.mbed.org/platforms/?pvend=19 so it probably shouldn't be added until it does. I've asked the RedBearLabs folks about getting it added there.

Hi @jrobeson
I think, you needn't add a new board. For now, the best way is to use redBearLabBLENano board with ld-script for 32 kbyte version:
https://github.com/mbedmicro/mbed/blob/master/libraries/mbed/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld
You can use build_flags option in your platformio.ini file:
[env:redBearLabBLENano]
platform = nordicnrf51
framework = mbed
board = redBearLabBLENano
build_flags = -Wl,-Tpath_to_script.ld

Is this acceptable for you?

I don't think that's acceptable for a a user to have to specially configure any released board (unless other people have to do that). do any other boards have to do that? I see multiple versions of teensy for example.

It still doesn't show up on this list https://developer.mbed.org/platforms/?pvend=19 so it probably shouldn't be added until it does. I've asked the RedBearLabs folks about getting it added there.

@jrobeson thanks! Please report us when this board will be added.

I'd submit a PR myself if it's simply adding to the json file, as long as you suggest a name.

It isn't so simple, so it would be better if you notify us when this board will be added.

Why is adding that board so difficult?
Should the mbed framework not work with a lot of Cortex-M-based boards?

On 04 Sep 2015, at 23:00, Johnny Robeson<EMAIL_ADDRESS>wrote:
It still doesn't show up on this list https://developer.mbed.org/platforms/?pvend=19 so it probably shouldn't be added until it does. I've asked the RedBearLabs folks about getting it added there.
—
Reply to this email directly or view it on GitHub.

Please check this issue with PlatformIO 3.1.
If it doesn't work, please open new issue in this repo https://github.com/platformio/platform-nordicnrf51/issues/new


CI: integration-test: Test/EndpointManagerSuite/TestLookupIPv4

CI failure
INTEGRATION_TESTS=true CGO_ENABLED=0 go test  -mod=vendor -tags=osusergo -ldflags "-X github.com/cilium/cilium/pkg/datapath.DatapathSHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" ./... -timeout 600s  -json -covermode=count -coverprofile=coverage.out | tparse
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃   FAIL  package: github.com/cilium/cilium/pkg/endpointmanager   ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

--- FAIL: Test (0.16s)
--- FAIL: Test/EndpointManagerSuite (0.16s)
--- FAIL: Test/EndpointManagerSuite/TestLookupIPv4 (0.01s)

    manager_test.go:590:
        ... obtained *endpoint.Endpoint = (*endpoint.Endpoint)(nil) (<nil>)
        ... expected *endpoint.Endpoint = &endpoint.Endpoint{owner:(*endpointmanager.EndpointManagerSuite)(0xc0008565f0), ...
        +}

make: *** [Makefile:130: integration-tests] Error 1

Failed run
Impacted PR
No artifact
Very similar issue

It is surprisingly easy to reproduce similar failures via
go test -v -race ./pkg/endpointmanager -count 2

Observed locally when dealing with a different flake, but still occuring on main.


Supporting of Koa@2 was added

:smiley_cat:

cc @hallas

What do you think about this PR?

@coderhaoxin , @hallas Is there any chance that you will accept this PR? :smiley_cat:

@nervgh
This PR is LGTM, but I can't publish new version on npm :)
ping @hallas

Hello @haoxins - should I add you to the package on npmjs?
I'm not going to be maintaining the package.

This way you can actually make this package compatible with new versions of Koa.
Ping @jonathanong 👋  I can also add you on npmjs.

@haoxins, plz close this PR


[3.x] Use-after-free of GDScriptFunction::_code_ptr pointer after ScriptServer::get_language(i)->reload_all_scripts()

Godot version
3.x at e937963007ed005e2564a8b574f7437fed173193
System information
Arch Linux
Issue description
The Editor does not properly reload GDScriptFunction objects that have yielded execution on the remote Scene Tree, causing a series of different issues when attempting to resume the execution of such functions due to a stale GDScriptFunction::_code_ptr pointer.
The Editor may show different different GDScript opcode errors, buffer underrun bugs, among others, depending on the value of GDScriptFunction::_code_ptr, but the steps denoted below to reproduce this issue should make the running scene crash with the following AddressSanitizer report:
==49821==ERROR: AddressSanitizer: heap-use-after-free on address 0x61500017f570 at pc 0x000001aedb7c bp 0x7fffffff7fe0 sp 0x7fffffff7fd0
READ of size 8 at 0x61500017f570 thread T0
    #0 0x1aedb7b in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_function.cpp:257
    #1 0x1b0deeb in GDScriptFunctionState::resume(Variant const&) modules/gdscript/gdscript_function.cpp:1810
    #2 0x1b0cb55 in GDScriptFunctionState::_signal_callback(Variant const**, int, Variant::CallError&) modules/gdscript/gdscript_function.cpp:1758
    #3 0x1b1f1a2 in MethodBindVarArg<GDScriptFunctionState>::call(Object*, Variant const**, int, Variant::CallError&) (/opt/godot/bin/godot.x11.tools.64_asan_target_debug+0x1b1f1a2)
    #4 0x89ad7c2 in Object::call(StringName const&, Variant const**, int, Variant::CallError&) core/object.cpp:918
    #5 0x89b24dc in Object::emit_signal(StringName const&, Variant const**, int) core/object.cpp:1224
    #6 0x89b35e6 in Object::emit_signal(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) core/object.cpp:1279
    #7 0x63a9ad6 in SceneTree::idle(float) scene/main/scene_tree.cpp:579
    #8 0x18bbe29 in Main::iteration() main/main.cpp:2239
    #9 0x1828381 in OS_X11::run() platform/x11/os_x11.cpp:3705
    #10 0x17f49ff in main platform/x11/godot_x11.cpp:55
    #11 0x7ffff6715b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
    #12 0x17f475d in _start (/opt/godot/bin/godot.x11.tools.64_asan_target_debug+0x17f475d)

0x61500017f570 is located 112 bytes inside of 456-byte region [0x61500017f500,0x61500017f6c8)
freed by thread T0 here:
    #0 0x7ffff766ef19 in __interceptor_free /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cpp:127
    #1 0x8ccd10a in Memory::free_static(void*, bool) core/os/memory.cpp:168
    #2 0x1a48f8b in void memdelete<GDScriptFunction>(GDScriptFunction*) core/os/memory.h:117
    #3 0x1a8721d in GDScriptCompiler::_parse_class_level(GDScript*, GDScriptParser::ClassNode const*, bool) modules/gdscript/gdscript_compiler.cpp:1893
    #4 0x1a8b725 in GDScriptCompiler::compile(GDScriptParser const*, GDScript*, bool) modules/gdscript/gdscript_compiler.cpp:2210
    #5 0x1a20935 in GDScript::reload(bool) modules/gdscript/gdscript.cpp:580
    #6 0x1a2e2f4 in GDScriptLanguage::reload_all_scripts() modules/gdscript/gdscript.cpp:1564
    #7 0x7c854e5 in ScriptDebuggerRemote::idle_poll() scene/debugger/script_debugger_remote.cpp:965
    #8 0x18bc532 in Main::iteration() main/main.cpp:2282
    #9 0x1828381 in OS_X11::run() platform/x11/os_x11.cpp:3705
    #10 0x17f49ff in main platform/x11/godot_x11.cpp:55
    #11 0x7ffff6715b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)

previously allocated by thread T0 here:
    #0 0x7ffff766f279 in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x8ccc5c2 in Memory::alloc_static(unsigned long, bool) core/os/memory.cpp:75
    #2 0x8ccc4e0 in operator new(unsigned long, char const*) core/os/memory.cpp:40
    #3 0x1a84338 in GDScriptCompiler::_parse_function(GDScript*, GDScriptParser::ClassNode const*, GDScriptParser::FunctionNode const*, bool) modules/gdscript/gdscript_compiler.cpp:1726
    #4 0x1a89f14 in GDScriptCompiler::_parse_class_blocks(GDScript*, GDScriptParser::ClassNode const*, bool) modules/gdscript/gdscript_compiler.cpp:2064
    #5 0x1a8b760 in GDScriptCompiler::compile(GDScriptParser const*, GDScript*, bool) modules/gdscript/gdscript_compiler.cpp:2216
    #6 0x1a20935 in GDScript::reload(bool) modules/gdscript/gdscript.cpp:580
    #7 0x1a38ff8 in ResourceFormatLoaderGDScript::load(String const&, String const&, Error*) modules/gdscript/gdscript.cpp:2192
    #8 0x8f77ce1 in ResourceLoader::_load(String const&, String const&, String const&, bool, Error*) core/io/resource_loader.cpp:262
    #9 0x8f798e1 in ResourceLoader::load(String const&, String const&, bool, Error*) core/io/resource_loader.cpp:376
    #10 0x78901cd in ResourceInteractiveLoaderText::poll() scene/resources/resource_format_text.cpp:406
    #11 0x8f73717 in ResourceFormatLoader::load(String const&, String const&, Error*) core/io/resource_loader.cpp:193
    #12 0x8f77ce1 in ResourceLoader::_load(String const&, String const&, String const&, bool, Error*) core/io/resource_loader.cpp:262
    #13 0x8f798e1 in ResourceLoader::load(String const&, String const&, bool, Error*) core/io/resource_loader.cpp:376
    #14 0x18b7482 in Main::start() main/main.cpp:2044
    #15 0x17f49ec in main platform/x11/godot_x11.cpp:54
    #16 0x7ffff6715b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)

Steps to reproduce

Disable user-space ASLR -- this is to make the running scene crash consistently instead of getting another type of error:
sudo su -c "printf \"%s\n\" 0 > /proc/sys/kernel/randomize_va_space"
Unzip MRP below and open the Editor against it.
Press F6 to run the scene.
On the Scene Tree, click on the Light2D node.
On the Inspector, uncheck the Enabled checkmark.
Press Ctrl-S to save the scene.
The running scene should crash now.
Re-enable user-space ASLR:
sudo su -c "printf \"%s\n\" 2 > /proc/sys/kernel/randomize_va_space"

Minimal reproduction project
stale_gdscript_function_pointer_bug.zip

GDScriptFunctionState keeps track of its corresponding function by storing a raw pointer GDScriptFunction *.
In the MRP, there are many yields waiting on a timer. Scripts reloading is triggered when waiting, previous functions are thus deleted. So after timeout, GDScriptFunctionState will try to access (resume) a deleted function.

Fixed by #56296.


Refactor out CoffeScript ☕🚫

Here is the promised refactor, apparently we need more unit tests and I screw up something in the Default.js but maybe we can spot it together! 😎
cc: @Kikobeats
Closes #25

Acho cómo va esto? 🤣

Thanks for the effor migration the current implementation but tests are broken. Need to invest time trying to resolve them 😢

Close in favour of https://github.com/achojs/acho/pull/48


Set a timeout on the builds

Currently it's possible for a malicious actor or an improper dependency downloaded by a buildpack to create a cluster DoS attack by hoarding resources and resulting in a never ending build. kpack should expose active deadline seconds as a way to kill builds that take longer than a certain amount.

Could this be mitigated by the resource limits/quotas to prevent any particular pod from hogging too much. I feel like this issue is unlikely because of the testing provided by Paketo buildpacks in regards to their dependencies and the fact that a bad actor that can create an image or build would be able to set the timeout for that image or build. That being said I would be curious to hear more about how this issue came up and if this is something that we should attempt to solve, potentially with your proposed solution.

It seems that this happening accidentally is almost more likely simply because of the mitigations a cluster operator can take on the resource usage side. I can see this being valuable for the case that there is no way to cancel a build that is hanging without deleting it, but then you lose that history, which might be useful for identifying issues over time.

Is this something you experienced during your usage of kpack or is this more theoretical?

Do you see this being more valuable as a field on the image spec or a config that an operator can set cluster or namespace wide?


walletconnect provider not working on HECO-TEST      No chainId found match HECO-TEST

it's a vue project
i see web3modal/dist/index.js  has a "CHAIN_DATA_LIST",
If it is not on the chain where this variable changes, an error will be reported
such as: No chainId found match HECO-TEST

I didn't find custom "CHAIN_DATA_LIST" configuration item

Some examples of custom evm chains can be found here https://github.com/WalletConnect/web3modal/blob/V2/chains/ethereum/src/utils/chains.ts
You can create similar config object and pass it to your config's ethereum.chains filed. Keep in mind, you will also need to add custom rpc that supports this chain.

#Mspaansen
Op ma 17 okt. 2022 19:01 schreef Ilja @.***>:

Some examples of custom evm chains can be found here
https://github.com/WalletConnect/web3modal/blob/V2/chains/ethereum/src/utils/chains.ts
You can create similar config object and pass it to your config's
ethereum.chains filed. Keep in mind, you will also need to add custom rpc
that supports this chain.
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal/issues/632#issuecomment-1281176195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2R4VYXPUHADH3R7YXFJNLWDWA6DANCNFSM6AAAAAARGUNYHQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Fixed issues with mrf chopping and moving

Fixed various indexing bugs associated with mrf_insert
Before merging, I still need to conduct functional tests across a variety of data types and layers that we currently produce, such as PREFIRE, corrected reflectance, and others.

Merging this PR with "failing" unit tests in the onearth repository as our investigation has determined that the raster discrepancies are acceptable and expected.


Stuck creating PR

v0.35.2022012509
It somehow doesn't get out of the "no commits between" state. That was true when I first forgot to create a commit, but I then added that locally and later pushed to the remote. The view somehow doesn't recover.

I see a few of the following in the console:
workbench.desktop.main.js:sourcemap:578 DEBUG Webview(webviewview-github-createpullrequest): will update content
workbench.desktop.main.js:sourcemap:578 DEBUG Webview(webviewview-github-createpullrequest): webview ready
workbench.desktop.main.js:sourcemap:578 DEBUG loadLocalResource - begin. requestUri=file:///Users/chrmarti/.vscode-insiders/extensions/github.vscode-pull-request-github-0.35.2022012509/dist/webview-create-pr-view.js
workbench.desktop.main.js:sourcemap:578 DEBUG loadLocalResource - found resource to load. requestUri=file:///Users/chrmarti/.vscode-insiders/extensions/github.vscode-pull-request-github-0.35.2022012509/dist/webview-create-pr-view.js, resourceToLoad=file:///Users/chrmarti/.vscode-insiders/extensions/github.vscode-pull-request-github-0.35.2022012509/dist/webview-create-pr-view.js

Version: 1.64.0-insider
Commit: f93c69659de1a1466bd15e0f1c9f790e73be9208
Date: 2022-01-25T08:42:38.986Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

Reloaded the window, but now I'm stuck here:

I was also stuck here, after creating commits and pushing them:

until I reloaded the window

@roblourens what version of the extension did you have?

I assume the latest at that point. I tried again and it seems to work, but I'm not exactly sure what the repro steps are. Something like, publish a branch that is equal to the upstream branch, start creating a PR, then create a commit and push it? This time I saw the Create PR panel refresh like I expect when I pushed the commit

@roblourens if you were on the latest stable version of the extension then there was a bug that could have caused this. The pre-release from Feb 23 or later would have the fix though. Closing, since you did see it work this time.


Feature Request: Expand-Archive to support Uri ,tarballs and strip

Summary
I'd think Expand-Archive is one of the heavily used cmdlets in various installation scripts. But currently you still need   to do a lot of unnecessary things like:

save temp archive file
remove temp archive
[in some cases] move files from the root catalog to some other folder
Also, it doesn't work with tarballs (big deal for linux)

I think we should make Expand-Archive to pull archive directly from url avoiding writing/removing stuff on your disc. I guess that is not that hard to build some custom cmdlet, but I believe this should come out of the box, so installation script can rely on it.
Example:
I need nodejs binaries in my project. I want to put this in "node" subfolder (but not in something like node-v10.16.3-linux-x64 ). In bash this could be achived this way:
mkdir ./node
wget -qO- https://nodejs.org/dist/v10.16.3/node-v10.16.3-linux-x64.tar.xz | tar --transform 's/^dbt2-<IP_ADDRESS>/dbt2/' -xvz -C ./node --strip=1

Desired powershell functionality:
$url = https://nodejs.org/dist/v10.16.3/node-v10.16.3-linux-x64.tar.gz
Expand-Archive -Uri $url -type targz -Destination ./node -Strip -Force -Verbose

I think many other core cmdlets with -Path parameter would benefit from  such thing too. Maybe  we can make Path to understand paths with http:// prefix.

Maybe if Expand-Archive support pipeline, we can get the desired result: "extract archive without first saving to filesystem". Inspired by Unix-y tools:
URL=https://github.com/dotnet/docs/archive/master.tar.gz

# wget
wget -qO- $URL | tar -xvz > /dev/null

# curl
curl -sSL $URL | tar -xvz > /dev/null

it would be great if we could do something like:
(Invoke-WebRequest $URL).Content | Expand-Archive -DestinationPath docs-master

or better yet, streaming:
Invoke-WebRequest -EmitContentToStdOut $URL| Expand-Archive -DestinationPath docs-master

It'd also be great to tell it to ignore the file extension check too. Sometimes I have a file that's a zip file, but not actually labeled ".zip" so I have to rename it first before sending it to Expand-Archive.

@StevenBucher98 can we move this issue to the PowerShell/Microsoft.PowerShell.Archive repository?


Translations update from Translate H5P

Translations update from Translate H5P for H5P/h5p-vocabulary-drill.
Current translation status:

The pull request is fine, it is the check that has an issue.


ci(fix): Warnings building internal docs

After the last rust upgrade we have a few warnings when building the internal docs. They are visible in all pull requests open after the upgrade for example in https://github.com/ZcashFoundation/zebra/pull/8376/files

This warnings do not block the merge of pull requests but we should fix anyways.

Let's work on this during Sprint 8

This is an issue in the rust beta toolchain. To reproduce:
rustup toolchain install beta
cargo +beta doc --no-deps --workspace --all-features --document-private-items

Also note this is not an internal error specific but also happens when we run the tests in ubuntu beta:
cargo +beta test

I added that to the ticket title.


synchronized_request.py throws SSLError if I work with a DocumentDB emulator.

pydocumentdb throws SSLError if I work with a DocumentDB emulator. synchronized_request.py checks if users work with a local emulator or not. But the code checking the host is not correct.
At the line 100 of synchronized_request.py,
is_ssl_enabled = (parse_result.hostname != 'localhost')
this compares the host is localhost or not. However, parse=result.hostname returns <IP_ADDRESS> hence requests module verifies SSL certification and throws SSLError.
My environment is following:
Windows 10 professional
Python 3.6 (Anacoda3)

@daigok Can you export the emulator certificate using instructions in https://docs.microsoft.com/en-us/azure/documentdb/documentdb-nosql-local-emulator-export-ssl-certificates and then add set the following environment variable to the location of the certificate. let me know if that resolves the issue.
os.environ["REQUESTS_CA_BUNDLE"] = "C:/localhost.cer"
We will work on exposing this option on the SDK itself, so that you can disable it that way.

@daigok We will be releasing a fix for this issue next week.

This has been fixed in the Python SDK 2.1.0 release. Please set DisableSSLVerification property on ConnectionPolicy object to turn off SSL verification when connecting to emulator.


fix: unnecessary boxed primitives in AutoValue classes

Fixes
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/TableResult.java:42: error: [AutoValueUnnecessaryBoxing] property method com.google.cloud.bigquery.TableResult.getTotalRows() is primitive but parameter of setter method is not
    public abstract TableResult.Builder setTotalRows(Long totalRows);
                                        ^

See https://github.com/google/auto/commit/328a25c161b4423ff71b38054d3f2502da394d37
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #3459 ☕
If you write sample code, please follow the samples format.

/gcbrun

Generally looks good.
Can you add an exception for the change in:
google-cloud-bigquery/clirr-ignored-differences.xml
And fix the conventionalcommits check.

Generally looks good. Can you add an exception for the change in: google-cloud-bigquery/clirr-ignored-differences.xml And fix the conventionalcommits check.

Thanks, done!

@cushon , it seems like ci / clirr is still failing.
Sorry for the late reply.

@cushon is out for a couple more days, but I've been wondering: Would it make sense to leave the old method in place but as @Deprecated method that forwards to the new one? This PR isn't dangerous for anyone who recompiles against the new BigQuery version before using it, but it's dangerous for anyone who has previously compiled against BigQuery and then tries to use that precompiled jar with a new version of BigQuery at runtime. Given that, this PR would in principle justify a major-version bump, but I don't know how big the danger is in practice.

Would it make sense to leave the old method in place but as @Deprecated method that forwards to the new one?

Thanks, I'm going to try that out, I pushed another commit.

I'm still getting a clirr error, any ideas what why the exemption isn't sufficient?
Error:  Unable to locate enclosing class com.google.cloud.bigquery. for nested class com.google.cloud.bigquery.$AutoValue_Annotations
Error:  7013: com.google.cloud.bigquery.TableResult$Builder: Abstract method 'public com.google.cloud.bigquery.TableResult$Builder setTotalRows(long)' has been added


change adonis-china's logo size and url

Your added packages are newly created. They have no stars, and this repository is called "awesome", I can't put there everything.


Compatibility with Firefox

These changes allow the extension to work with Firefox

Also resolves a couple of warnings/errors I saw when running the Firefox debugger

Hi David,
thanks a lot for your work. I will try to publish the Extension to the Firefox Marketplace and then gladly accept the PR.

I found that I did, otherwise the paste to the clipboard didn't work. Firefox shows this error in the console without it:

This seems odd as the function seems to fit the definition of a "short-lived event handler for a user action"
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard


JBEHAVE-1296 Optimize API and implementations of PerformableTree.State

The changes are added to master branch: 9bf10a0020e12257944e73d0341119f62d5d67b4


Ignore software adapters from DML device enumeration and use DXGI enumeration instead of dxcore

There are 2 changes in this PR:

Ignore software adapters like WARP and remote desktop from the enumeration. There's a weird behavior with these adapters where they will show up first no matter what, even if the HighPerformance enumeration is requested. This can cause very slow execution when using remote desktop, or simply if a device decides to enumerate the WARP software emulation device first.
Use DXGI instead of DXCORE. DXGI works everywhere that dxcore works (except for Linux), but DXGI is supported on a wider range of Windows machines going back to the early days of Windows 10. This should allow the enumeration to work on far more devices.

Does it fix this issue: https://github.com/microsoft/onnxruntime-genai/issues/336


Change pubsub address

We're using pypubsub now at pubsub.apache.org, so the pubsub URL needs a change...

Can we get a hpi please

https://github.com/stephenc/asf-gitpubsub-jenkins-plugin/actions/runs/54592903 Should have it. @humbedooh said the link worked for him


defaultProps to be deprecated

Re https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/default_props; according to this tweet defaultProps will be deprecated; any chance of an example that uses object default values instead?

Something like (untested, off the top of my head)
type MyComponentProps = {
  label: string;
  size: 's' | 'm' | 'l';
}

const MyComponent = ({ label, size = 'm' }: MyComponentProps) => {
  ...
}

?

@mikehurl happy to take a pr for this to guide people down the right path

for TypeScript, you'll need to import the FunctionComponent (FC for short) from react:
import React, { FC } from 'react';
type MyComponentProps = {
  label: string;
  size: 's' | 'm' | 'l';
}

const MyComponent: FC<MyComponentProps> = ({ label, size = 'm' }) => {
  ...
}

React.FC is not recommended anymore: https://github.com/facebook/create-react-app/pull/8177

ah, i did not know that @mjsarfatti. Thanks for the clarification!

Closing issue as #227 merged

@mikehurl I'm trying "alternative approach" from your PR and it does not work for me:
type GreetProps = {
  name: string;
};
const Greet = ({ name = 'world' }: GreetProps) => {
  return
Hello, {name}
;
};

export const App = () => <Greet />;
//                        ^^^^^ error here

TS 3.9.7 error message: Property 'name' is missing in type '{}' but required in type 'GreetProps'.ts(2741)
Do I need for extra configuration in tsconfig?
BTW, it works good if name is optional:
type GreetProps = {
  name?: string;
};

But I'm not sure if this is a right way


[Bug] Does not exit properly when game is closed in menu in multimc offline mode

Legacy4J Version
1.21.1 - 1.7.2
Mod Loader Version
Fabric Loader - 0.15.11
Bug/Glitch Occurrence Context
Can save game when used exit with saving but not close window. Have to force quit. Worked when in regular mode
Crash Report
pastebin.com/2ZYnwcZKMy
What happened wrong?
Did not exit app stuck on exiting game does not close window.

I have this same issue. When exiting my game wont close and will get stuck on this screen, am using 1.20.4 Fabric

This isn't caused by Legacy4J, it's a Prism Launcher issue, I'm having this without L4J installed


Keep dropped transactions in cache for a longer window of time

We can improve the experience for users that are looking for transactions that have been dropped by maintaining a cache of dropped transactions for some fixed time window (e.g. 7 days) which would allow us to report that the transaction was broadcast but never confirmed and ultimately dropped from the mempool.
reference chat: https://discord.com/channels/621759717756370964/803293319328170024/917495024743219280

@smcclellan would you like to prioritize this one?


added  windows 11 admx templates link

this is my own, after reading this article, I added windows 11 admx templates download link

@denisebmsft , Please verify and merge PR #8621 . i added windows 11 admx templates link to below article
https://docs.microsoft.com/microsoft-365/security/defender-endpoint/detect-block-potentially-unwanted-apps-microsoft-defender-antivirus?view=o365-worldwide

@JohanFreelancer9


Fixes Issue #369 by updating the FLI interface

Here are updates to the FLI interface to support the latest GPI updates.  I know there are still some issues with iteration through this interface, but it gets the interface mostly there. The changes were significant enough that I wanted to get what I had incorporated into the master branch before fixing issues to get all tests passing.
@stuarthodgson I moved away from using the "force" signal function to make things easier for the different data types.  In my testing, this approach behave the same way as the other way so let me know if there is an issue with my approach.
@chiggs and @stuarthodgson I have some more testing (corner cases) that I am pretty sure will have some issues that I will need some support from you guys for how to handle properly.  As an example, when iterating, assume there is a std_logic_vector signal name "test_sig" under the dut.  When iterating over "/dut" there will be an attribute "/dut/test_sig".  If we then iterate over "test_sig", there would be signals with the following names "/dut/test_sig(0)", "/dut/test_sig(1)", etc.  If you walk through how handles.py will handle this in discover_all, it looks to me the handles will be cached as follows: "dut.test_sig.test_sig[0]", "dut.test_sigf.test_sig[1]", etc. This doesn't seem right to me, but it may be the way I am handling iteration.

@chiggs and @stuarthodgson
I am not sure what is going on with the code-quality/landscape.  I clicked on details and don't even see this branch there.  I had this happen once before, but I had to push an additional change and with the update it kicked off and passed.  I don't see away to re-submit this to try and kick off the code-quality check and I want to get this incorporated as soon as possible so I can continue working other issues that are dependent on these changes.

@leftink I should get around to looking over this tonight once home from the day job, don't worry about the landscape bot. It's pretty flaky

@stuarthodgson Comments have been addressed either above or with the latest commits.  Let me know if you have any more issues.

@leftink I'm happy to merge this from a technical standpoint.
Can I just ask, do all the tests that did pass with FLI still pass, we are unable to test FLI ourselves currently.

@stuarthodgson
Before I started making any changes, I tried running some tests and there was an issue where none of the FLI tests would actually work.  It had something to do with the root object and the default GPI_TYPE being used.  Basically, all FLI tests had an exception and wouldn't run.  The first commit in this series addressed that problem.  So more tests are working now than before this tests, but I can't speak to how many tests are passing compared to to before all the changes to the gpi infrastructure.
I did run multiple tests and got them to pass.  I know there are some tests that are still failing, related to iterating that I plan on addressing next.
My plan after this was incorporated was to focus on getting all tests to pass with the FLI.  Since nothing was working, I didn't want to wait to address everything before getting this code incorporated and with it being a pretty big overhaul of the existing code I didn't want to keep working it without getting some feedback.


:bug: PercyDOM.serialize returns object now

in v1.15.0 release of @percy/cli we introduced a change where we were passing an object from PercyDOM.serialize function which broke type conversion in the dotnet SDK.
we're now using implicit type conversion var to avoid this scenario from happening

fixes #42

Lgtm


Plan for clickable edges

Hi,
I wanted to ask whether you plan on making edges clickable in the same way as nodes are clickable.
I am quite new to rust, but in case you haven't implemented the feature yourself, I could try to create a pull request implementing the feature.

Yep I thought about it. I think for the moment you can try to implement it in FnCustomEdgeDraw where you can register event of clicking on edge and changing its color. I will think in parallel how to implement it in lib.
The only thing which can be non trivial is that edges in the lib are not always straight lines. When you have multiple edges between two nodes they are drawn curved and it becomes not easy to register click on a curved node. But I ll try to figure a way.

If you wish you can try pr if you manage to solve the problem which I mentioned.

Solved. Thanks @Schabolon


Just switched the columns in line 10

see #769 this pull solves the issue

Hi @chubin could you please have a look at this? I think, it is just a view to accept. Hopefully. Best regards.

@Barry1 Bastian, hi, thanks a lot for the fix (keine Ahnung wie es passiert ist, dass die Reihenfolge in dem File falsch war).


Bug In "Simple SMS Remote" App(Button are not working after take tour)

Expected behavior
I Expected that when i Click on simple sms remote app and click on any option like "setting" that i wanted to change it should be work.
Actual behavior
When I open the simple sms remote application and take a visit how he function in the wake of finishing visit steps again I tap on choice catch and click on setting catch that I needed to change a few settings yet the setting catch are not working then I tap on others discretionary catch they are likewise not working after take a tour.
How to reproduce

Download Simple Sms remote app from playstore
Install and Run it
Open the app clik on options button on top righ side
Now Click on Help tour button and take tour how he work
After completing tour Again Click on option button
Click on Setting Button
Note the bug

Browser: HUAWEI Mate 10 lite

Version: 1.2.0

Operating system: Android version 7.0

Recording Of The Bug

Posted on Utopian.io -  Rewarding Open Source Contributors

Not just the settings function is affected by this, All the options (log, help tour and how-to-control) are also affected.


Make Imagery Sources Filter Dropdown (with autocomplete)

To help deal with having a lot of imagery sources

Here is a quick mockup of how this might look:


Feature: Store user credentials

[ ] https://github.com/frankhale/electron-inject-jquery-webview-example

Done :)


ISSUE 198: Support to delete a schema version

Support for deleting a schema version through rest API and registry client (#198)

This branch exposes a bug in the UI. I have raised an issue (#205) to track it.

Thanks @raju-saravanan
Merged this PR as commit 2421d394681c87030be95c0cb82dc7fce9e3ff47 after squashing/rebasing and made minor changes in test to avoid depending on the sequence of running tests.
2421d394681c87030be95c0cb82dc7fce9e3ff47


[Feature] Increase limits for Finalize.

This PR,

increases the number of commands allowed in a Finalize block.
fixes off-by-one errors in allowed program size.

Why was <= changed to <?

This is an off-by-one error.
The methods check that the current amount is less than or equal to the maximum before adding another.

great catch, thanks


Abstract ProjectSnapshotManager away from Roslyn projects.

Today Razor's project manager depends on Roslyn projects to determine things like TagHelpers lazily. The issue with this approach is that you don't always have a Roslyn project to determine TagHelpers or other inputs. For instance, in LiveShare there is no Roslyn project on the guest side and in VSCode there is no Roslyn project in the language server. This leads to some interesting problems when trying to refresh TagHelpers in these worlds. Today refreshing of TagHelpers is driven by a change in the Roslyn project which doesn't work in scenarios where there is no Roslyn project.

https://github.com/aspnet/AspNetCore-Tooling/commit/a5621641f839dfa8e43c8d3d6b01552bf308a1b9


is socketio using websocket or polling?

In dev console I always see the browser create a websocket, even if "websocket" isn't in the socketTransportProtocols list in settings.json. ¯\_(ツ)_/¯

IDK When I visit https://shard.etherpad.com/p/ZLXkn7F1IARtzfER-pYx I see what appears to be long polling type requests?

ah interesting a lot of those msgs are
{ttl: null, msg: "New or empty pad"}
msg: "New or empty pad"
ttl: null

They are coming from
ep_delete_after_delay/delete.js:155:                logger.debug('New or empty pad '+padId);
ep_delete_after_delay/delete.js:246:                logger.info('New or empty pad '+padId);
ep_delete_after_delay/delete.js:277:                res.send('{"ttl": null, "msg": "New or empty pad"}');


scala library missing if re-start

Problem:
Create a project using scala 2.11.7 and SBT 0.13.9 and add the sbt-revolver plugin to it.
Create a main file which displays the value of
scala.Predef.getClass.getProtectionDomain.getCodeSource

Launch the command re-start on it.
Expected print
(file:/(...)/.ivy2/cache/org.scala-lang/scala-library/jars/scala-libra ry-2.11.7.jar <no signer certificates>)
Something not null. If we launched the main function with the command run, the result would be the expected one.
Actual print
null

The library is not missing but is being put into the boot classpath which leads to the observed behavior. This seems to be a duplicate of #46.

My problem comes from some kind of reflection:
In the new thread #51 I explain this (you saw it)
Since I am dealing with a sub-project (scala-js with spray), what I tried to do is the following (in build.sbt at the root level)
.jvmSettings(
    Revolver.settings:_*
)
.jvmSettings(
    fullClasspath in Revolver.reStart <<= fullClasspath in Runtime,
)

But this does not solve the problem of #51. Same if I replace the second line by this in the build.sbt at the root level.
.jvmSettings(
    fullClasspath in Revolver.reStart <<= fullClasspath in Compile,
)

Is there any other variables I can try to change? Even debugging with .jvmSettings(Revolver.enableDebugging(port = 9999, suspend = true)) prevents the application to start (but that may be another unrelated problem)

I created a minimal github project with documentation to recreate this issue.
https://github.com/MikaelMayer/SbtRevolverFails

Have you seen my explanation above? This will probably be fixed when we fix #46 which will add an option to put the Scala library into the normal classpath instead of the boot classpath.

I did not see the link between the two, but I trust you.
In the meanwhile, I'm using run and I'll create some scripts to restart the tasks.
Best of luck to fix this issue.

This should be fixed with the upcoming version 0.8.0-RC1 which fixes #46.

It is fixed with this version !
I added:the following to projects/build.sbt which is the latest version at the writing of this post.
lazy val root = project.in(file(".")).dependsOn(sbtrevolver)

lazy val sbtrevolver = RootProject(uri("https://github.com/spray/sbt-revolver.git#3213519c0e0ecc7d687cbdab1ed8dec66699d346"))

and now re-start works as expected. Thank you !


Problem with Getting Started

I have a problem setting up meteoric. These are the steps that I take:

meteor create myapp
I delete the three HTML/CSS/JS files in the folder and copy the content of this GitHub into the folder (including the hidden files).
meteor add iron:router<EMAIL_ADDRESS>meteoric:ionic-sass meteoric:ionicons-sass meteoric:ionic
meteor

I receive the following error message:
=> Started proxy.
=> Started MongoDB.
W20150913-16:39:24.524(1)? (STDERR)
W20150913-16:39:24.526(1)? (STDERR) /Users/janahrend/.meteor/packages/meteor-tool/.<IP_ADDRESS>x7yhk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20150913-16:39:24.526(1)? (STDERR) 						throw(ex);
W20150913-16:39:24.526(1)? (STDERR) 						      ^
W20150913-16:39:24.526(1)? (STDERR) ReferenceError: Template is not defined
W20150913-16:39:24.527(1)? (STDERR)     at app/components/ionActionSheet/ionActionSheet.js:79:1
W20150913-16:39:24.527(1)? (STDERR)     at app/components/ionActionSheet/ionActionSheet.js:114:3
W20150913-16:39:24.527(1)? (STDERR)     at /Users/janahrend/Documents/05Engineering/meteor/_projects/02comrep/repcom/cleaninstall/.meteor/local/build/programs/server/boot.js:222:10
W20150913-16:39:24.527(1)? (STDERR)     at Array.forEach (native)
W20150913-16:39:24.527(1)? (STDERR)     at Function._.each._.forEach (/Users/janahrend/.meteor/packages/meteor-tool/.<IP_ADDRESS>x7yhk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150913-16:39:24.527(1)? (STDERR)     at /Users/janahrend/Documents/05Engineering/meteor/_projects/02comrep/repcom/cleaninstall/.meteor/local/build/programs/server/boot.js:117:5
=> Exited with code: 8

I have the same problem when trying to set up the three example applications (Producthunt etc.).
(Or am I missing something fundamental here?)

The easiest way to set up the example applications is just to clone their repos or download the zip files from their repositories, for instance the contacts repo is here. Then just run meteor. You may have to run meteor update if you get an error when you try to start them.

Thank you for this! For some reason I assumed I had to create the meteor project first locally. I think I read it in some meteoric tutorial.
This is "fixed" then. Maybe we can add that to the Getting Started guide?


The README doc on the flag "--target" is confusing: does not exist in gcloud functions deploy.

The readme lists some flags. Not sure for which tool?
For example, the flag "--target" does not exist in gcloud functions deploy... What is the mapping? Should be stay consistent?

gcloud, Google Cloud Functions, and the Functions Frameworks are separate.
For --target, that feature isn't added to Cloud Functions, although you could create your own container and deploy to Cloud Run.
These technologies will evolve separately and will have additional features. If you have a recommendation for a specific change, let me know!

Hope the above answers the question. Please re-open if there are further questions about this topic.


neo_simulation2 Humble branch updated with arm support and urdf files updated to modular xacros

arm type validation for mpo_500 and mpo_700, ROS2 control node integration for UR arms and modularization of robot description files into xacro format to reduce redundancy. Additionally, the package structure has been reorganized to support Xacro files, and the caster model for MPO-700 has been updated (see issue #99).

https://github.com/user-attachments/assets/470d651c-3f92-4663-aba3-fca847d14be6
here is a sample video

I have tested the changes @AdarshKaran, works really good. This is how I wanted it to be exact. One minor point, if a user uses the arm_type argument with an MP-500 or MP-400. I want to leave it as such, we can fix that later when someone complains.


Update to Go 1.9

Go 1.9 was recently released, so we should pull in the changes from upstream.

@ChimeraCoder if you give me some hints, maybe I can help.

Sure thing! The easiest way to do start might just be:

Check out a new feature branch on koro
Add the upstream golang/go repository as a new remote (git@github.com:golang/go.git)
Rebase the feature branch onto the master branch from upstream
Fix merge conflicts (there will definitely be some)
Make sure that the project still compiles, and that the resultant binary is still capable of running the "hello world" program we have in the root directory.

Now, that won't be everything right there, but if you submit that as a pull request, that takes care of the bulk of it. FYI, most of the changes are in src/cmd/compile/internal/gc/lex.go.
Let me know if you need any help!


Fixes and updates

See commits.

Thanks for your contribution! Please run the prettier package to format the code. You can do this in the terminal npm run prettier

Done.


Differentiate between project IDs and version keys

This fixes a few common thrown exceptions in the dashboard. It also fixes the cron viewer.

https://ocd.appscale.com:8080/job/Daily Build/4384/


tabMode="fixed"

How can I make all tabs width match_parent like in default tabs?

sorry i found the attribute
stl_distributeEvenly="true"


Shelley release date

When Shelley will be released exactly?
it's pretty hard to find updates or date about it.

No date has yet been set. It will be released when it is ready and there will be large announcements in the weeks before that.

do you think is a matter of weeks? months?
where can I follow progress?


Adapter.namespace causes incorrect buildUrl() results

I have a JSON API where the API appears at the prefix /api/, so that the collection of users is available at http://example.com/api/users .  If an object has a link, it looks something like:
{
    "posts": [{
        "content": "My awesome post",
        "links": {
            "user": "123"
        }
    }],
    "links": {
        "posts.user": {
            "href": "http://example.com/api/users/{posts.user}",
            "type": "users"
        }
    }
}

I added a namespace to the adapter:
App.ApplicationAdapter = DS.JsonApiAdapter.extend({
    namespace: 'api',
})

This makes the first request to fetch posts, but it adds the entry 'api/users/{post.user}' to DS._routes["user"].  adapter.buildURL then returns /api/api/users/1 as the URL for user 1, doubling the namespace prefix.
The namespace should be removed from URLs in DS._routes, either in the serializer (but I'm not sure how to pass the namespace from the adapter to the serializer) or in the adapter (but only when loading a route).
I'm testing against ember-data 1.0.0-beta.9, but DS.RESTAdapter.urlPrefix() was adding namespaces back in beta 3, so I don't think this is new in beta 9.

I would suggest using the function from the newer Ember Data BuildURLMixin.
https://github.com/emberjs/data/blob/v1.0.0-beta.16.1/packages/ember-data/lib/adapters/build-url-mixin.js#L50-L68

I am closing this issue due to lack of activity and the impending deprecation in favour of the official Ember Data adapter. If you think this is an issue that relates to Ember Data please report the issue there.


fix Generator hangs

Coverage decreased (-2.5%) to 92.208% when pulling 9adeca3bca5c20237efd11b51909b64a91c50543 on dev-eromano-2 into e3b98430e8bf8b7cacf7cba9031206f8974cb1a0 on master.

Coverage decreased (-2.5%) to 92.208% when pulling faaa08d277301a5a52a51086d3f586929fff2dfe on dev-eromano-2 into e3b98430e8bf8b7cacf7cba9031206f8974cb1a0 on master.


Remove unused analyze.py script

It can be used to generate image charts from race statistics (useful for docs and blog posts) but is currently broken and is blocking #1502.
I decided to continue linting the scripts/ directory even though there's no Python scripts there currently, but I could be convinced otherwise.

I decided to continue linting the scripts/ directory even though there's no Python scripts there currently
Seems fine


Some weights of the model checkpoint at microsoft/table-transformer-detection were not used when initializing TableTransformerForObjectDetection

08/24/2023 11:39:12 - INFO - timm.models._builder -   Loading pretrained weights from Hugging Face hub (timm/resnet18.a1_in1k)
08/24/2023 11:39:12 - INFO - timm.models._hub -   [timm/resnet18.a1_in1k] Safe alternative available for 'pytorch_model.bin' (as 'model.safetensors'). Loading weights using safetensors.
Some weights of the model checkpoint at microsoft/table-transformer-detection were not used when initializing TableTransformerForObjectDetection: ['model.backbone.conv_encoder.model.layer2.0.downsample.1.num_batches_tracked', 'model.backbone.conv_encoder.model.layer4.0.downsample.1.num_batches_tracked', 'model.backbone.conv_encoder.model.layer3.0.downsample.1.num_batches_tracked']

This IS expected if you are initializing TableTransformerForObjectDetection from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
This IS NOT expected if you are initializing TableTransformerForObjectDetection from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
The max_size parameter is deprecated and will be removed in v4.26. Please specify in size['longest_edge'] instead.

08/24/2023 11:39:12 - INFO - timm.models._builder - Loading pretrained weights from Hugging Face hub (timm/resnet18.a1_in1k) 08/24/2023 11:39:12 - INFO - timm.models._hub - [timm/resnet18.a1_in1k] Safe alternative available for 'pytorch_model.bin' (as 'model.safetensors'). Loading weights using safetensors. Some weights of the model checkpoint at microsoft/table-transformer-detection were not used when initializing TableTransformerForObjectDetection: ['model.backbone.conv_encoder.model.layer2.0.downsample.1.num_batches_tracked', 'model.backbone.conv_encoder.model.layer4.0.downsample.1.num_batches_tracked', 'model.backbone.conv_encoder.model.layer3.0.downsample.1.num_batches_tracked']

This IS expected if you are initializing TableTransformerForObjectDetection from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
This IS NOT expected if you are initializing TableTransformerForObjectDetection from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
The max_size parameter is deprecated and will be removed in v4.26. Please specify in size['longest_edge'] instead.

I am encountering the same issue as well. Have you managed to resolve it?


How to reduce the package size?

Even if I only use arm64 size is 98.2 M, how to reduce the size?Please answer

Warning: As this doesn't appear to be a bug with Tensorflow, the devs may ask for this to be moved to Stack Ovefrlow.
It looks like you're using iOS. Have you tried reading through these instructions to reduce the binary size? The idea is that you manually remove the kernels you are not using to reduce the size. This may help you.

Thank you for your reply, I according to some of the size of the official document, just libtensorflow - the size of the core cannot be reduced, if support arvmc7 and arm64, release AppStore after increasing the size of the probably how much?

I'm awfully sorry but i'm struggling to understand your reply. I don't think I can help you much more than pointing you to that documentation. It states that each binary should be around 11Mb so perhaps there is a problem with your binary compilation method. As I don't have experience with Tensorflow on iOS then i'm not sure whether you've come across a bug or not. Hopefully someone more qualified can come and help you. I know when I had issues with Android sometimes just starting fresh and running through the docs again sometimes helped. Good luck!

I'm sorry I can't express clearly in English, but thank you very much for your reply!"Libtensorflow - core. a"

is given by the official, and I'm not sure if it will  cause package very big, let me very worried

@petewarden is this expected?

The intermediate sizes of the library files on disk don't reflect the size that's added to the binary. The only impact of this file size is on your local drive, it shouldn't affect the size of the application package.

Thank you for your reply.
The libtensorflow-core.a lib will be linded to my app which will Increase the package size ,so I want to reduce it.   how can I  modify makefile to remove files that I dont need .

What Pete is saying is that once your app is built it should compress. It's similar with the android app when you quantise. It shows as full size but once built in it compresses. Try putting it the app and then analysing for size to see if it's compressed as @petewarden suggested.

Thank you for your reply. What do you mean don't need to change the"makefile",  the binary file that upload  to apple store  will be compressed ?

Thank you for your reply. I tried, as you said,the package  is compressed,  an'd  the size of the ibrary files can accept, thank you very much for your answer!!!!!!

You're welcome. But thank @petewarden for his helpful comment that I totally forgot! Embarrassing as I only went through a similar phase of my project not too recently. If this is solved please close the issue. Good luck with your project!

Thank @petewarden , also  thank you. can close this issue now!!

facing the same issue , is any one would tell me how to reduce size ?
the doc only said that config tf_op_files.txt ..

need we also config other files such as  tf_pb_text_files.txt ,  proto_text_cc_files.txt  ... for reducing?
is there any other thinking for reducing than configuring the txt files Exhaustive Attackly ?

@jakiechris are your library sizes not reduced once you compile or analyse your app? They appear bigger than on disk as @petewarden noted.

@jubjamie you are right, final app increased in smaller size.
and i compeleted the reduce work several months before, only cut tf_op_files.txt is enough.
here's my reduce for android:
tf_op_files.txt


minor changes to buttons

created an xml file in drawable that curves the buttons on the main screen

Wonderful! Great work @rhodesrm !


use rich payment QR codes with extra metadata

This task defines the QR code format and encompasses the implementation in subtasks:

[ ] receive page
[ ] share contact page
[ ] ceremony meetup show claim page
[ ] scan QR page and parse context, derive apropriate action

status quo
Currently, the receive QR includes: substrate:<ss58address>:<hexpubkey>:<name>
For merchants, it should be possible to enter an amount to be paid such that the client can simply scan and accept
vice-versa, the QR scanner should interpret this information and apply it, depending on context
Bitcoin often uses this:
bitcoin
<address>
<amount>
<message>

what this lacks: versioning
We may draw inspiration from

Cryptopay standard: https://github.com/sonpython/cryptopay

not sure about adoption. also not efficient. nice: the merchant can define a set of accepted currencies and the respective amounts requested. the client can then choose among the assets they own

Swiss QR-bill standard.

very efficient, but not self-describing and possibly too many fields

solution
hard-code which information is expected on which line of the payload
some lines can be optional. just leave it empty (that's how QR-bill does it)
the first two lines define the format of the following lines
encointer-<action>
<QR-version-for-context>
<account ss58>
[<cid>]
[<amount>]
[<label>]

invoice
encointer-invoice
V1.0
HgTtJusFEn2gmMmB5wmJDnMRXKD6dzqCpNR7a99kkQ7BNvX
sqm1v79dF6b
0.2343
Aubrey

contact
encointer-contact
V1.0
HgTtJusFEn2gmMmB5wmJDnMRXKD6dzqCpNR7a99kkQ7BNvX
sqm1v79dF6b
Alice

cid optional (meaning: community where I have most recent reputation or where I have or would like to have a balance. depends on context)
claimOfAttendance
During ceremony meetups, a different kind of QR is used. currently just a SCALE encoded blob. This should be slightly more verbose to allow meaningful error messages:
encointer-claim
V1.0
<SCALE-encoded-blob>

style guide
The QR code should possibly feature the community logo in the center as/whenever it is community-specific
cat qr-payload.txt | qrencode -lQ -o qr.png

@clangenb please review and comment

Looks mostly good to me. However, I'd prefer to not only distinguish between encointer and encointer-claim, but be explicit in the rest too:

encointer-contact
encointer-payment
encointer-claim
(maybe future) encointer-bazaar-article

agreed. changed the OP

I think this issue is actionable now

for a quick cut-through:

leave away ceremony meetup and share contact QR. just implement receive

note:
downside of this approach: If such a QR code is scanned by a generic QR scanner, It won't open the encointer app because it is not formatted like a url
upside:
newlines are more human readable than a long url


is there an "always" function?

I want to execute when either a .then or a .catch is called. Typically this is handled with a .always

var done = function(response) { console.log('response', response) }
var fail = function(error) { console.log('error', error) }
var always = function() { console.log('always') }
Promise.resolve(42).then(done).catch(fail).then(always, always)

@chovy Unfortunately, Promises don't have an .always() method. You need to attach an always handler as both resolve and error handler to cover both cases. Clumsy, I know!

So how do we execute an always call?

@rustanacexd: See @dgraham's code above.


Updating strimzi-kafka patch with latest images

A new image for quay.io/strimzi/kafka:latest-kafka-3.1.0 is added in upstream strimzi-kafka-operator github repository, here: https://github.com/strimzi/strimzi-kafka-operator/blob/main/packaging/install/cluster-operator/060-Deployment-strimzi-cluster-operator.yaml#L51
Hence updating the patch.
Signed-off-by: Aaruni Aggarwal<EMAIL_ADDRESS>

Following tier1 test case is passing with updated patch.
tests/e2e/workloads/app/amq/test_rgw_kafka_notifications.py::TestRGWAndKafkaNotifications::test_rgw_kafka_notifications
test-rgw-kafka-notifications.log


Enhance outcome with option to initiate a ssh session to a remote device in the canvas (#76)

Today we execute only command on a object in the canvas but it will be important to engineers being able to open one or more floating terminal toward a remote node or edge in the canvas.\
Following on the conversation with the demo stakeholder, this feature shall be prioritised because it differentiate YAP and it is suitable to some of the RON demo.

@marumer SSH is now usable you can verify by adding SSH info in the outcome editor

after you added it, it will show here


lyahfgg6.

Codecov Report
Base: 65.53% // Head: 65.53% // No change to project coverage :thumbsup:

Coverage data is based on head (b2f147d) compared to base (893bfa1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   65.53%   65.53%
=======================================
  Files           4        4
  Lines        1619     1619
  Branches      572      572
=======================================
  Hits         1061     1061
  Misses         47       47
  Partials      511      511

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove packages from PowerToys page

PowerToys doesn't use Github Packages. So it should be removed. This is something you can make when you click on the gear icon on the  Code page of github.

good callout, done!


Added threaded continuous bookmark scanning, changed monitor mode, ongoing work

This pull request reflects the latest code changes against your devel branch. It adds threaded continuous bookmark scanning, and changes the "monitor mode" to a variable pass count. Still to be done is to integrate the frequency scanning code to reflect the general changes in scanning, so I'm sure that's currently broken. Also need to implement changes in scan pause. Very much a work in progress, but wanted you to see what I was doing with your code.
Thanks!

Hello,
thanks for the work so far. I'll review the code and merge


Memory leak on unix systems using dynamic code compilation

Memory leak on unix systems using dynamic code compilation
General
I am experiencing a rather strange behaviour that caused me hours of debugging to nail it down to the dynamic code generation.
If I compile a piece of code using the rosyln compiler from within C# everything runs well on windows. When I add the MetaDataReferences the assemblies are loaded into memory, the assembly is compiled, written to the file system and the allocated memory  freed by the GC.
If I run the same code on a Unix system though (Debian, Ubuntu 18.04, Alpine - doesn't matter) the memory allocated by the MetaDataReferences is only freed if I do not invoke collection.Emit. When I call the method the process is leaking huge amounts of memory and I do not know why. I searched the roslyn source and couldn't find a clue as to why this is happening, thus I do not know if this is a Roslyn or dotnet GC related issue (if it is any and not me not realizing my mistakes)
For reference, in our production environment each call to our generation method is leaking up to 250mb of ram. Since I cannot share that source here, I provide a sample code that on my Ubuntu machine is left with over 200mb while at the same time it is consuming only 50 mb on windows (just every referenced assembly loaded)
namespace NetCoreRazor
{
    using Microsoft.CodeAnalysis;
    using Microsoft.CodeAnalysis.CSharp;
    using System;
    using System.IO;
    using System.Linq;

    class Program
    {
        static void Main(string[] args)
        {
            for (int i = 0; i < 100; i++)
            {
                DynCompile();
            }

            GC.Collect();

            Console.WriteLine("Done");
            Console.ReadLine();
        }

        private static void DynCompile()
        {
            string myProgram = @"using System;
            namespace DynProgram
            {
                public class DynClass
                {
                    public static void WriteToConsole() { Console.WriteLine(""Hello from Dyn""); }
                }
            }";

            var assemblies = AppDomain.CurrentDomain.GetAssemblies()
                   .Where(a => !a.IsDynamic && File.Exists(a.Location))
                   .GroupBy(a => a.GetName().Name)
                   .Select(grp =>
                        grp.First(y => y.GetName().Version == grp.Max(x => x.GetName().Version)))
                   .Select(a => MetadataReference.CreateFromFile(a.Location));

            var syntaxTree = CSharpSyntaxTree.ParseText(myProgram);
            var compile = CSharpCompilation.Create("dyn_compile");

            compile = compile.AddSyntaxTrees(syntaxTree)
                .AddReferences(assemblies)
                .WithOptions(
                    new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary)
                    .WithPlatform(Platform.AnyCpu));

            using (var myAssembly = File.Open(Path.GetTempFileName(), FileMode.Create, FileAccess.ReadWrite))
            {
                compile.Emit(myAssembly);
            }
        }
    }
}

NET Core 2.2.6
It took me so long to nail it down because the memory dumps weren't really helpfull. If I'd dump our production system the dump would be 3.5 Gb large. Analysing it with lldb and sos would yield only a heap sice of 200 mb on the other side. That is the sice of DumpHeap and EEHeap combined.. so there are 3.2 GB seemingly nothing.
King regards

@agocke and @Maoni0 - PTAL?

since GC.Collect(); is already called I would let @agocke take the first look.

@leecow @agocke @Maoni0 should we transfer this bug to another repo for better tracking and higher visibility?

I'll try to take a look at this today.

I just ran this on my CentOS machine and it looks like the resident memory is ~50MB, so about what you expect. It's got a 3GB virtual memory reservation, but this is a 64-bit machine, so that's fine.

Also, the version of Microsoft.CodeAnalysis I was using is 3.3.0 and the info is:
.NET Core SDK (reflecting any global.json):                                                                                Version:   2.2.301                                                                                Commit:    70d6be0814                                                                                Runtime Environment:                                                                                OS Name:     centos                                                                                OS Version:  7                                                                                OS Platform: Linux                                                                                RID:         centos.7-x64                                                                                Base Path:   /usr/share/dotnet/sdk/2.2.301/                                                                                Host (useful for support):                                                                                Version: 2.2.6                                                                                Commit:  7dac9b1b51                                                                                .NET Core SDKs installed:                                                                                2.2.301 [/usr/share/dotnet/sdk]                                                                                .NET Core runtimes installed:                                                                                Microsoft.AspNetCore.All 2.2.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]                                                                                Microsoft.AspNetCore.App 2.2.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]                                                                                Microsoft.NETCore.App 2.2.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]                                                                                To install additional .NET Core runtimes or SDKs:                                                                                https://aka.ms/dotnet-download

Ah, never mind, I had artificially limited the number of DLL references I was using. When I up the number to everyingthing in the runtime directory I can repro the problem. I suspect something is holding onto a metadata reference.

Nope, actually that's not it. Looking at the process in LLDB I can't see any GC roots to metadata. @Maoni0 Do you have any advice on narrowing down the problem?

Btw I modified the original code slightly, instead of GC.Collect I did
for (int i = 0; i < 10; i++)
{
    GC.WaitForPendingFinalizers();
    GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.CompactOnce;
    GC.Collect();
}

I presume after you did the WaitForPending/Collect you are still seeing the same amount of memory usage.
can you tell me how you are looking for GC roots? the sos !gcroot command or something else?

I just did dumpheap and did some back of the napkin math that adding all the live objects would be in the 10s of MB, not hundreds of MB range

not sure what that means. if you are already doing WaitForPending/Collect what !dumpheap shows is all live. how did you determine what objects are live?

Sorry, I think I explained badly: the problem I'm seeing is that there aren't a lot of live objects (in the 10s of MB range) but the resident memory set of the process is in the hundreds of MBs.
I'm not sure if there's anything Roslyn could be doing that would cause this. Is it possible the GC is freeing the memory but not returning the reserved pages to the system?

GC doesn't necessary return all the memory occupied by dead objects to the system - if it's in the gen0 range we will keep memory there because you will be allocating in it right away. this is perfectly normal. GC does not know that you will not be allocating anymore.
if you mean the following -
on the same machine
the amount reported by !dumpheap is the same
but there are significant different amounts of memory that GC holds onto in Linux and in Windows, then the GC team can take a look. CC-ing @andy-ms

@Maoni0 Unfortunately I don't have Windows and Linux installed on the exact same machine, but the machines are very similar and I see that on Windows this program produces an active working set of only 24 MB instead of ~290MB resident set in Linux. One thing to note is that System.Reflection.Metadata does some tricky stuff with native memory allocation and finalizers (https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/src/System/Reflection/Internal/MemoryBlocks/NativeHeapMemoryBlock.cs), so if there were a native memory leak I don't think I would have seen it, but I also don't know how to figure that out.

If I can provide any further information regarding this issue let me know.
Though it seems agocke has experienced the same issues we got on unix systems with the same unexplainable memory consumption.

do we know the GC heap consumption at this point? if we can have the following after you did Collect/Pending:
!dumpheap -stat
and that shows a significant difference on linux than on windows that'd already be a culprit.
if that's similar we'd want to check how much GC's committing (though not the same as in WS it gives us a clue) which would require to look at some GC datastructures so we'd need symbols. is that doable?

I added the modifications agocke mentioned and ran the same project on my machine on windows 10 with 25mb memory load.
This would be the output of DumpHeap -stat
Windows (Size 25mb)
000002c6315057a0      430       107956      Free
00007ff801dcd448        4       272000 Microsoft.CodeAnalysis.ArrayElement`1[[Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxToken, Microsoft.CodeAnalysis.CSharp]][]
00007ff85d1906e8     4507       306014 System.String
00007ff801e1bca8        1      1048600 Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxNodeCache+Entry[]
00007ff801dc99c8        1      1048600 System.ValueTuple`2[[System.Int32, System.Private.CoreLib],[Roslyn.Utilities.TextKeyedCache`1+SharedEntryValue[[Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxToken, Microsoft.CodeAnalysis.CSharp]], Microsoft.CodeAnalysis]][]
00007ff801dc7b50        1      1048600 System.ValueTuple`2[[System.Int32, System.Private.CoreLib],[Roslyn.Utilities.TextKeyedCache`1+SharedEntryValue[[Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxTrivia, Microsoft.CodeAnalysis.CSharp]], Microsoft.CodeAnalysis]][]
00007ff801dc35d0        4      1146976 Roslyn.Utilities.StringTable+Entry[]
Total 10575 objects

I also ran it on my Ubuntu 18.04 with 365mb res memory and 3.5 gb virtual memory.
Ubuntu 18.04 (Size 365mb)
000000000227cca0      420       123816      Free
00007fb2fceed850        4       272000 Microsoft.CodeAnalysis.ArrayElement`1[[Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxToken, Microsoft.CodeAnalysis.CSharp]][]
00007fb2fc57cd20     4856       326244 System.String
00007fb2fcffb478        1      1048600 Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxNodeCache+Entry[]
00007fb2fcee9e40        1      1048600 System.ValueTuple`2[[System.Int32, System.Private.CoreLib],[Roslyn.Utilities.TextKeyedCache`1+SharedEntryValue[[Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxToken, Microsoft.CodeAnalysis.CSharp]], Microsoft.CodeAnalysis]][]
00007fb2fcee7ff8        1      1048600 System.ValueTuple`2[[System.Int32, System.Private.CoreLib],[Roslyn.Utilities.TextKeyedCache`1+SharedEntryValue[[Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxTrivia, Microsoft.CodeAnalysis.CSharp]], Microsoft.CodeAnalysis]][]
00007fb2fcee3850        4      1146976 Roslyn.Utilities.StringTable+Entry[]
Total 11183 objects

Due to the huge virtual memory load the dump is 3.5 gb large, so let me know if you need that.
Then I'll try to package that with my binaries and pdb files. Although I think it might be easier dumping the memory locally since the problem seems to be reproducible.

I believe i am hitting either the same issue or something close to it.
My application is dockerized and limited to 1gb of RAM and it just sits there (at 1 Gb) with GC only freeing like 20-30Mbs every time.
sos's dumpheap tells there are only like 10-20Mb of RAM used and there is a lot of System.Reflection.Emit stuff in the top

NetCore 2.2.6 as well

@andy-ms could you please take a look? off the top of my head, we can check the gen0 budget - perhaps our OS layer behave differently on Linux and Windows and gave us different values for gen0 budget. should be easy to check with symbols.

OK, I"ll take a look.

We downgraded runtime to 2.2.2 with no success.
Futher investigations show that some reflection.emit stuff seems to be leaking indeed (regression after 2h of full load on production) and there always is Newtonsoft.Json somewhere up the GCRoot's stack of leaking objects.
I found a couple of issues related to Newtonsoft.Json 12.0.+ and memory leaks (https://github.com/JamesNK/Newtonsoft.Json/issues/1991, https://github.com/PSPDFKit/react-native/pull/249) so we gonna downgrade Newtonsoft to 11.something and i'll report back after that (hopefully tomorrow)

With Newtonsoft.Json 12.0.2

With Newtonsoft.Json 11.0.2 (and a couple of changes for code to compile)

(App is limited to 1Gb of RAM)
There's still a lot of reflection topping memory heap, but situation seems to be stable for now.
I guess this solves my case, but anyway feel free to contact me for coredumps or smth if needed

Any news here? This realy is a major issue for us.


haskell-language-server doesn't support plutus-tx-plugin

Area

[x] Plutus Foundation Related to the GHC plugin, Haskell-to-Plutus compiler, on-chain code
[ ] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries
[ ] Marlowe Related to Marlowe
[ ] Other Any other topic (Playgrounds, etc.)

Summary
I run haskell-language-server in nix-shell and get Program error: GHC Core to PLC plugin: Reference to a name which is not a local, a builtin, or an external INLINABLE function
However, cabal build works fine.
There are also many people in Plutus Pioneers Program getting similar errors:

https://discord.com/channels/826816523368005654/839789666051555340/839858990581415997
https://discord.com/channels/826816523368005654/834340521802596412/839828854692511765

Steps to reproduce
Steps to reproduce the behavior:

When in plutus repo with newest commit, run nix-shell
cd to a smart contract project and run haskell-language-server

Expected behavior
HLS should succeed like cabal build
System info (please complete the following information):

OS: MacOS Big Sur
Version: 11.2.2
Plutus version or commit hash: 36c8804a6dbaff489249e4e09aa3fd382903edb8

Screenshots and attachments
2021-05-14 03:11:48.351631 [ThreadId 206] INFO hls:	File:     /Users/nguyenlevulong/code/minswap/minswap-core/src/Minswap/PubKey.hs
Hidden:   no
Range:    1:1-2:1
Source:   compile
Severity: DsError
Message:
  Program error: GHC Core to PLC plugin: E043:Error: Reference to a name which is not a local, a
  builtin, or an external INLINABLE function: Variable Ledger.Typed.Scripts.Validators.wrapValidator
  No unfolding
  Context: Compiling expr: Ledger.Typed.Scripts.Validators.wrapValidator
  Context: Compiling expr: Ledger.Typed.Scripts.Validators.wrapValidator @ ()
  Context: Compiling expr: Ledger.Typed.Scripts.Validators.wrapValidator
  @ () @ ()
  Context: Compiling expr: Ledger.Typed.Scripts.Validators.wrapValidator
  @ () @ () PlutusTx.IsData.Instances.$fIsData()
  Context: Compiling expr: Ledger.Typed.Scripts.Validators.wrapValidator
  @ ()
  @ ()
  PlutusTx.IsData.Instances.$fIsData()
  PlutusTx.IsData.Instances.$fIsData()
  Context: Compiling expr at "main:Minswap.PubKey:(48,8)-(48,37)"

Also see above Discord messages
Additional context
N/A

I've ran into a similar scenario where it seems to be ignoring flags in my ghc-options and adding a pragma for -fno-ignore-interface-pragmas to the file has helped.
Something like {-# OPTIONS_GHC -fno-ignore-interface-pragmas #-} in the file listed in your "attachments" section
/Users/nguyenlevulong/code/minswap/minswap-core/src/Minswap/PubKey,hs
Make sure you are testing the file directly by passing it like haskell-language-server /Users/nguyenlevulong/code/minswap/minswap-core/src/Minswap/PubKey,hs

I've ran into a similar scenario where it seems to be ignoring flags in my ghc-options and adding a pragma for -fno-ignore-interface-pragmas to the file has helped.
Something like {-# OPTIONS_GHC -fno-ignore-interface-pragmas #-} in the file listed in your "attachments" section
/Users/nguyenlevulong/code/minswap/minswap-core/src/Minswap/PubKey,hs
Make sure you are testing the file directly by passing it like haskell-language-server /Users/nguyenlevulong/code/minswap/minswap-core/src/Minswap/PubKey,hs

Fixed, turns out I have to add these 3 pragmas to every files in my Plutus in order for HLS to work
{-# OPTIONS_GHC -fno-ignore-interface-pragmas #-}
{-# OPTIONS_GHC -fno-omit-interface-pragmas #-}
{-# OPTIONS_GHC -fobject-code #-}


Custom Attribute mapping doesnt work for Nested Claims in ID Token.

If i have the ID token in the following format - i am not able to access the resource_access field.
{
"resource_access": {
"my_resource": {
"roles": [
"my_roles"
]
}
}
Here is my configuration for custom claim mapping :
spec:
authentication:
oidc:
attributeMapping:
resource_access: "assertion.resource_access"
Here is the error i am getting in the log :
Unable to process the request: The CEL expression for 'resource_access' did not return a string data type.

The custom claims mapping currently only support single string type claims.

Is there plan in the future to support object / arrays ?
Also - where can i find the source code of the authservice ?

Sorry for the late response, in current version, one workaround is that you can merge the string array into one string with delimiter in CEL, this might not be right syntax but something like this: input["resource_access"]["my_resource"]["roles"].join(":")  Then when the customer accesses the claim, they can split it on ":".

Is there plan in the future to support object / arrays ?
There isn't an ETA on support object / arrays for now unfortunately.

where can i find the source code of the authservice ?
authservice is not open sourced.

Hay I am facing the similar issue on the CEL evaluation of assertions for the 'roles' attribute. Currently, we are facing a challenge in handling multiple dynamic values within this attribute
our ID token in the following format
{
"profile": "profile",
"roles": [
"Administrator",
"Developer",
"Role"
],
"nickname": "nickname",
"preferred_username": "preferred_username",
"given_name": "given_name",
"family_name": "family_name",
"email": "email"
}
Our current workaround involves mapping each role individually, like so:
attributeMapping:
role1: 'assertion.roles[0] != "" ? assertion.roles[0] : null'
role2: 'assertion.roles[1] != "" ? assertion.roles[1] : null'
role3: 'assertion.roles[2] != "" ? assertion.roles[2] : null'
role4: 'assertion.roles[3] != "" ? assertion.roles[3] : null'
role5: 'assertion.roles[4] != "" ? assertion.roles[4] : null'
nickname: assertion.nickname
given_name: assertion.given_name
family_name: assertion.family_name
email: assertion.email
preferred_username: assertion.preferred_username
profile: assertion.profile
do we any any other way which we can efficiently handle multiple values within a single evaluation?
i tried the roles: "assertion.roles.join(',')" and roles: assertion.roles nothing worked for me
if possible can you share me right syntex
I want to consume the same jwt token in application to identify the person and roles how can i do that ?
we set the forwardOriginalToken: true in the RequestAuthentication but we don't see the token in application URL headers

@liwenhao0810 @kok-shen-lee-db @proppy  @dazuma  can you please help me if you have any idea

@liwenhao0810 i see the roles: assertion.roles is working on the image: gcr.io/gke-release/ais_preview:1.2.2
thanks for the update, we are good now


RFM - hddguardian

I DON'T Want To Become The Maintainer

[x] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[x] There is no existing open maintainer request for this package;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/hddguardian
Package source URL: https://github.com/dtgm/chocolatey-packages
Date the maintainer was contacted (in YYYY-MM-DD): 2021-12-13
How the maintainer was contacted: Email

I'll take this package.


Add typesafe context helper

This is a work in progress PR to add a wrapper function around our use of setContext and getContext that provides "type safety", reduces the need for namespaced context keys, and limits the number of imports required when getting context.

Will reopen


[7.x] Add --basic options to workbench:devtool

coverage: 99.237%. remained the same
when pulling 57d8a30f5a0b92ccd133a37cc38ad04f55362f1a on 7/workbench-route
into 0f4f3e6530048060ee06dd8bb205daf54ae73ff4 on 7.x.

coverage: 99.237%. remained the same
when pulling 57d8a30f5a0b92ccd133a37cc38ad04f55362f1a on 7/workbench-route
into 0f4f3e6530048060ee06dd8bb205daf54ae73ff4 on 7.x.


Add atomic swap type guard helpers to BCP

Closes #922

Could you also refactor the as OpenSwap and as ClaimedSwap occurrences in the project?


how to check Mac Address to local network wifi

Steps to Reproduce

has anyone here ever done a scan of local network device information (ssid and BSSID)?

connect to wifi
scan ip all in wifi(done), using libs (https://pub.dev/packages/lan_scanner)

Expected results: the ips listed in item 2, I want to know each of its Physical address (BSSID) information.
Actual results:

Code sample

Logs

Hi @ngominhtrungit
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Pmyip/teampage

Description
Team page added for researcher to operate CRUD  on team members
Type of change

[ ] Bug fix
[X] New feature
[ ] Refactoring
[ ] Documentation

Problem
We need a team page to display team members info and allows the user to add/modify/delete team members for their team.
Solution description
Tests
All unit tests pass? N/A
Builds successfully? Yes
Attach screenshot of the expected result (e.g. UI of the website/ postman api call result/ database changes)
Team page created with the route localhost:3000/team

Create team member

Form Validation

Update and delete team member when the vertical dots icon is clicked

Display a message when no team member found in a team

to test this feature, change the teamId to "609f5ad827b1d48257c321d4" in teamReducer

**the create/update/delete operation should make changes in db as well
**Uploading team member picture haven't been implemented in this PR
Relevant document/ link (if any)
Risk
Identity the risk level (low, medium, high) and indicate which component(s) will be affected if bugs exist.
Medium.

As mentioned on Slack:

What happens if the user wants the members in a specific order? Most important first, least important at the end. Would they have to insert the members in a specific order? This isn't ideal, maybe you could add an option along with edit/delete, to shift the positions around - like move it one left in the array
The boxes not being the same size is a bit weird, so maybe we can add a character limit to the description of 50 or 100 words so that it looks more uniform.
This is personal preference, but the name and title may look better centred under the member photo


[ImgBot] optimizes images

Hey there. I've just optimized all of your images. They are the same dimensions and quality as before, only they take up less space now.
\img\screenshot.png (49.99%)
\img\pumpkin-icon.png (2.93%)
\img\bat.png (0.12%)

👍 happy to help
If you want more prs from ImgBot here, or any of your other projects, feel free to install the GitHub app.
https://github.com/apps/ImgBot


GitHub gist is unreadable in dark theme

Describe the bug
GitHub gists are unreadable in uBlogger's dark theme.
Expected behavior
I much prefer uBlogger's dark theme and thus, I have it set as the default for my website. I expect an embedded gist to be readable in uBlogger's dark theme.
Screenshots

Build Environment

OS: Windows 10 21H1
Theme version/commit: 2.0.2
Hugo version: v0.84.3-extended

Please try to use Hugo extended version before opening the issue.
Preview Environment

OS: Windows 10 21H1
Browser: Edge

Additional Information
publickey.md
publickey.md is located in /content/

Hello.  sorry for the late reply, a lot of work.  I'll try to see what's the matter

Thank you. I had made some changes to my config.toml file. Those changes were based your examples in uBlogger's documentation. Now, my Gist shows up just fine.

I had noticed this issue on uBlogger's website as well.

If you'd like, I can send you my config.toml file. I don't know if anything that I put in there is a secret.


LOG: Add endpoint log

@ironman-machine go

Hello @LaurenSpiegel
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "S3C-500/addEndpointLog"}
Please follow http://ci.ironmann.io/gh/scality/Integration/13468 for CI status.

end to end passed


Typesafe generics on Type trait

Currently, methods like Type::inline take &[DataType]. This means you can pass an incorrect number of generics. We have a runtime fallback in case of a mistake but it would be nice to just not allow it to be wrong. Given these methods are an implementation detail is not the end of the world but it would be an extra protection against bugs.
Can probs be fixed by something like:
pub trait Type {
    const GENERICS: usize = 2;

    fn inline(..., generics: [DataType; 2]);
}

Related to #44 but I think it's still slightly different.


Add option to repeat last production to cityview

This would have to be a per-city option, so probably not built into the mod options menu. I'm thinking a checkbox in the production menu instead. Unsure of the plausibility of this one since it's so different from the regular toggleables

People could probably do this with the upcoming production queue. Don't really like a checkbox, just to repeat projects. Or simply make projects repeat themselves every time they finish, that would be quite similar functionality to Civ 5.

I would like a repeat option (check box or whatever) to repeat the last item in the queue (obviously, at the moment, there is only one item since there is no queue), which will continue for however long the item is available for.

This has become less important with the progress made in terms of the production queue (#34). So I'm removing it from the beta milestone and removing the help wanted label

Is this even needed anymore?

@jacks0nX Not particularly. I think I'll go ahead and close this in light of #34


turn off zstd on arm64 llvm build

Sorry I mean turn off for every platforms, including Windows 😂

Sorry I mean turn off for every platforms, including Windows joy

didn't realize windows and linux build were different 😅.


Unable to Analyze two surfaces together

Hello, I am unable to analyze two surfaces together and it gives me a server error.
I am attaching a screenshot of the error.
I tried multiple different surfaces to make sure the issue was not my surface. Plus I am able to analyze a surface individually but not multiple together.

Hi @Vchadha2 - Thanks for reporting. We pushed an update today that must have broken this. I won't manage to fix it today but will look tomorrow.

@pastewka Thank you!

Hey @pastewka I see you fixed the issue, but I am still getting the same error

It's not yet deployed, working in it now.

@Vchadha2 - I just deployed the fix. Can you try again if it works now?

@pastewka Yes I just tried it works

Perfect!