I could not display the idfa permission message.

I am using this library for gdpr. but now I have installed the new pod. I am trying to get idfa permission for .ios 14 apptracking transparency. I couldn't display the permission message for idfa. I checked the codes a lot, but unfortunately I couldn't run it. I wonder if I need to make a setting in my admob account.

Hey,
Thanks for your message. Can you check the readme again to make sure you have followed all the steps to make the ATT (App tracking transparency) alert display.

You need to add the tracking alert info.plist entry
You need to link the ATT framework
You need to create your funding choices account with google and set it up for your app and create the message for IDFA.

Also please note it seems Apple is rejecting apps that use Google's SDK to display the ATT alert as they show another message beforehand. Please check the open issue for a workaround until Google fixes it.

thanks . I  created messages and  activited  in funding choices.problem solved.

Hey,
Awesome, glad to hear. Please make sure to read this open issue https://github.com/crashoverride777/swifty-ads/issues/50


CohenKappa reset_states distributed training setup errors.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google Colab
TensorFlow version and how it was installed (source or binary): 2.0.0
TensorFlow-Addons version and how it was installed (source or binary): 0.6.0
Python version: 3.6
Is GPU used? (yes/no): yes

Describe the bug
When using cohen kappa metric within the distribution strategy scope, reset_states throws the following errors:
 UFuncTypeError                            Traceback (most recent call last)
 <ipython-input-20-56dc62930e1d> in <module>()
 38     train_accuracy.reset_states()
 39     test_accuracy.reset_states()
  ---> 40     test_kappa.reset_states()

 2 frames
  /tensorflow-2.0.0/python3.6/tensorflow_core/python/distribute/values.py in assign(self, *args,
   **kwargs)
 1218         tensor = args[0]
 1219         if self._aggregation == vs.VariableAggregation.SUM:
     -> 1220           tensor *= 1. / len(self.devices)
 1221         return control_flow_ops.group(tuple(
  1222             _assign_on_device(v.device, v, tensor) for v in self._values))

 UFuncTypeError: Cannot cast ufunc 'multiply' output from dtype('float64') to dtype('int32') with
      casting rule 'same_kind'

Code to reproduce the issue
Colab notebook
attached.

cc: @AakashKumarNain

I have fixed it temporarily by changing the variables and weight matrix dtype to tf.float32. I think float should be correct dtype for weight matrix by default.

@n3011 Could you please make a PR with the fix?

@Squadrick Sure will do.


Image Build Action is not running on the dev branch PR

This is due to the following:
https://github.com/Quansight/qhub-cloud/blob/7f7e8b43a3be46a40bae01c03d76bb3145119540/.github/workflows/image-pr.yaml#L3-L6

Resolved by https://github.com/Quansight/qhub-cloud/pull/351


Update New-DlpComplianceRule.md

Added IncidentContentReport values: DetectionDetails & OriginalContent

Docs Build status updates of commit 1e3a7cf:
:clock10: Full build: the average full build time is 11 min(s) 51 sec(s), this is based on the last 975 build(s) for this repository.

Docs Build status updates of commit 1e3a7cf:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-dlp/New-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit ba55925:
:clock10: Full build: the average full build time is 11 min(s) 51 sec(s), this is based on the last 985 build(s) for this repository.

Docs Build status updates of commit ba55925:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-dlp/New-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Unable to connect to insecure websocket from https

Hi, I deployed livekit server on a public network server, and then visited example app. Then the correct URL and token are configured. When I click the connect button, the following error is reported:

How can I configure my livekit server to support WSS access? thank you
I tried to change the URL to WSS protocol, but the server connection error was reported:

You will want to have an actual URL (instead of an IP) point to your livekit server in order to obtain a certificate for it.
Obtaining a valid certificate for your domain can be done in multiple ways (using caddy reverse proxy being one of the simplest).
More info here:
https://docs.livekit.io/deploy/vm/
https://docs.livekit.io/deploy#domain-ssl-certificates-and-load-balancer
For local testing purposes you can also run the example within the livekit-react repo locally. As long as your domain isn't on a https domain it will also work with ws instead of wss. Be aware that that's not a good solution in general and will only work in your internal/local network.
Feel free to ask further questions on our community slack channel: https://join.slack.com/t/livekit-users/shared_invite/zt-rrdy5abr-5pZ1wW8pXEkiQxBzFiXPUg


X86: MMU: PAE boot time page tables.

This PR does the following:

Enable the PAE page tables.
Updates the gen_mmu.py to generate boot time page tables.
Ports all the existing functions to work in PAE mode.
Enables the PAE paging in QEMU

PAE mode is enabled by enabling CONFIG_X86_PAE_MODE.
PS: WIP because pending on a clarification. Note: issue with qemu resolved with the Andrew's comments hence removing WIP tag.

test cases seem to boot properly if I add this change:
diff --git a/boards/x86/qemu_x86/Makefile.board b/boards/x86/qemu_x86/Makefile.board
index c1efa489c..dfba1402e 100644
--- a/boards/x86/qemu_x86/Makefile.board
+++ b/boards/x86/qemu_x86/Makefile.board
@@ -2,7 +2,7 @@
 EMU_PLATFORM = qemu

 QEMU_BIOS ?= /usr/share/qemu
-QEMU_CPU_TYPE_x86 = qemu32
+QEMU_CPU_TYPE_x86 = qemu32,+nx,+pae
 QEMU_X86_NO_REBOOT_y =
 QEMU_X86_NO_REBOOT_  = -no-reboot
 QEMU_FLAGS_x86 = -m 8 -cpu $(QEMU_CPU_TYPE_x86) \

Also I'd like to see in this series a change to tests/kernel/protection/ to exercise our new NX capability on x86, to prove that this works.

Changes in the patch:

Fixed some random issues with kconfig
Addressed all the review comments

Changes in the patch:

updated the get_flags and set_flags to access or return 64bit values. (added a typedef to make it work).
Changed the implementation of the MMU_ENTRY_EXECUTE_DISABLE. Made it 64bit so that set/flags can use it.
Also changed the struct mmu_region to handle 64bit flags.
4.Update the gen_mmu.py to handle reading of the new mmu_region structure .
Fixed an issue with the crash dump for PAE pages. 64bit values were not getting printed.

please fix the build errors, CI is not happy

Delta from the last patch:

updated the gen_mmu.py according to pep-8
updated for the review comments

delta: Review comments from Andrew fixed.

delta: no change in code, CI was complaining for no reason . I did a rebase.

delta
Updated the gen_mmu.py for the review comments from Leandro.

hmmm we're getting a stack overflow when we didn't before:
***** BOOTING ZEPHYR OS v1.9.99 - BUILD: Oct 13 2017 04:43:05 *****
Running test suite pci_test
===================================================================
starting test - pci_enumerate
PCI device:
0:1 8086:7010 class: 0x1, 1, 4, I/O,addrs: 0xc000-0xc00f, IRQ -1
PASS - pci_enumerate.
===================================================================
=========================================================***** Stack Check Fail! *****
Current thread ID = 0x004001a0
Faulting segment:address = 0x0008:0x000034cc
eax: 0x00000000, ebx: 0x0000003d, ecx: 0x0000003d, edx: 0x00002442
esi: 0x0040618c, edi: 0x00000002, ebp: 0x00406020, esp: 0x00406000
eflags: 0x2
Fatal fault in essential thread! Spinning...
Terminate emulator due to fatal kernel error

That issue doesn't occur locally. The test case  works fine.  This is some issue with the CI.
I was getting this before after a few rebases it got rectified.

LGTM
@lpereira can you re-visit your review here

@AdithyaBaglody you must rebase this patch

@andrewboie Rebased.

I'm getting a lot of QEMU crashes with this when I try to run tests in user mode.
Pull #4409 and you will see what I mean.

this fails on all machines running Python 3.6

There was some issue with the way the python3.6 was arranging some of the items.
This was causing some address offset calculation issue. The new patch would handle this case.

now working for me, thanks!


Different results on GPU and CPU

Device: Sony XPeria XZ2 (SnapDragon 845)
I added 2 little modification to your app:

filling input buffers with fixed data

private Object[] allocateInputBuffers(int[] shapes){
            int i_size = shapes.length;
            Object inputs[] = new Object[i_size];
            for (int i=0; i < i_size; i++) {
                ByteBuffer i_bytes = ByteBuffer.allocate(shapes[i]);
                float[] floats = new float[shapes[i] / 4];
                for(int j=0; j<floats.length; ++j) {
                    // Filling uniformly -5. ... 5.
                    floats[j] = ((float)j * 10) / floats.length - 5;
                }
                FloatBuffer fb = i_bytes.asFloatBuffer();
                fb.put(floats);
                i_bytes.rewind();
                Log.i("here: ", Float.toString(i_bytes.getFloat()) + " " + Float.toString(i_bytes.getFloat(4)));
                i_bytes.rewind();
                inputs[i] = i_bytes;
            }
            return inputs;
        }

printing first element of each output buffer

String debugMessage = "";

            for (int i=0; i < loops; i++) {
                Object inputs[] = allocateInputBuffers(mModel.getInputShapes());
                Map<Integer, Object> outputs = allocateOutputBuffers(mModel.getOutputShapes());

                startTime = System.currentTimeMillis();
                interpreter.runForMultipleInputsOutputs(inputs, outputs);
                stopTime = System.currentTimeMillis();
                accTime += (stopTime - startTime);

                if(i == loops - 1) {
                    // on last step adding first element of output buffer to debugMessage
                    for (Map.Entry<Integer, Object> entry : outputs.entrySet()) {
                        ByteBuffer bb = (ByteBuffer) entry.getValue();
                        Log.i("here: ", "byteBufferLimit is : " + ((ByteBuffer) entry.getValue()).limit());
                        debugMessage += "    " + Float.toString(bb.getFloat(0)) + "\n";
                    }
                }
            }
            Log.i("here: ", "time: " + accTime/loops);
            resultMessage.setText("avg time: " + accTime/loops + " ms\n"
                + debugMessage);

And I get different outputs for every net (for ex. MobileNet v1).
CPU 1 thread output:
avg time: 97 ms
    -2.0144956

GPU output:
avg time: 21 ms
    0.0

What am I doing wrong?  Or is there any bugs in tensorflow-gpu

I am not sure if anything is wrong. Handling floating point number is tricky. Usually, modern CPUs have IEEE-754 conformant implementation. But GPUs may not. And most of time, people tend to use fp16 on GPUs to get better performance because for graphics and NN, accuracy of floating point number may not be so important. On CPUs, usually it's fp32.

@freedomtan It does look like one of these scenarios:

I'm doing smth wrong
there is a bug in tflite
because loss of accuracy could lead to result somewhere at [-2.2; -1.8]. But exact zero value looks like one of these cases:
I'm taking data from net in wrong way or from wrong memory
net didn't put result in the right place (or didn't calculate it at all)

@freedomtan can you reproduce result on any of your device?

I seldom write Java code. Since the source code of GPU Delegate is available, I hacked label_image and benchmark_model so that I can use C++ and command line to test if the delegate works as expected. So far so good. See my hacks

Google guys made it possible to use the GPU Delegate in benchmark_model. My label_image patch is merged into the main TensorFlow repo. You may want to try them if you haven't.


Introduce TintColor to respect alpha-channel

Problem
When using semi-transparent textures the transparent areas are filled in with whatever the BackgroundColor of the entity is. I believe this is because the ui-node is extracted 2 times, once by bevy's extract_uinodes and once by the extract_texture_atlas_image_uinodes system of this crate. As bevy doesn't know anything about the UiAtlasImage or any Texture Atlases within the Ui (yet), it assumes that it has to fill the background with the BackgroundColor - and extracts an opaque rectangle, that will lie below the UiAtlasImage - effectively cancelling all alpha. (and double-rendering the uinode)
Solution
To prevent the entity with the UiAtlasImage from being mistakenly double-extracted as an opaque rectangle, I removed BackgroundColor from the AtlasImageBundle. However to keep the ability to tint semitransparent images I have replaced it with a new TintColor struct, that works analogous to the BackgroundColor, but without being recognized by bevy's system.
Notes
This all feels a bit hacky, and also is a breaking change, so I put this as a draft for now, to get some opinions on how we should do this, and IF we even care about all of this, as bevy 0.11 will probably make this crate irrelevant anyways.

Good catch. I actually put in a PR for Bevy to add a separate component for image colours ages ago but it didn't occur to me to fix it for this crate.

The changes look good, the example is really nice. Third-party implementations are always going to have to accept a few compromises.
It's definitely getting ridiculous now how long it's been without first-party UI atlas support 😆


Deleting a duplicate file

That file has been renamed but the original was not deleted (only from xcode)

That fixes a current issue (duplicate file), which prevents the library from being used, as it contains duplicate methods etc..


Massive spike in PutObject requests in S3 after 5.0 upgrade

I've upgraded from Zulip 4.11 to Zulip 5.0 on April 1st and since then there is a massive spike in PutObject requests in S3. I wasn't able to find an issue in this repository, so opening this.

Is this expected? Does anyone have similar trend and how can I debug this?

I think I am experiencing a similar problem, however I don't have any technical debugging knowledge to contribute. When clicking on a message to focus, there is a large lag spike. Specifically for the Coq Zulip. It has become unusable unfortunately. Please let me know if I can debug this further.

@Alizter your request is https://github.com/zulip/zulip/issues/21979, which I'm confident is unrelated. (This is a backend issue, vs. a frontend performance issue).
@colorninja I suspect what you're seeing might be https://github.com/zulip/zulip/pull/21982; @alexmv can you confirm? I expect that to be included in the upcoming 5.2 bug fix release, but you can verify the fix today by using upgrade-zulip-from-git 5.x to upgrade to the commits that will become 5.2.

I strongly suspect that to be the wal-g process, yes -- are you on PostgreSQL 10 or 11?
If so, the other quick fix is to upgrade PostgreSQL to 12 or above.

I think I'm running PostgreSQL 12. A quick sudo apt list --installed shows:
postgresql-12/focal-pgdg-archive,now 12.9-2.pgdg20.04+1 amd64 [installed]

I will try updating tonight (when no-one is using the Zulip) and report back.

OK, PostgreSQL 12 isn't subject to that bug -- I think this is technically expected.
I think what you're seeing is that in Zulip 4.x and below, enabling S3 backups would get you daily backups, not streaming backups; the only way to get streaming backups was to half-enable replication.  Zulip 5.x makes all sites with backups configured have streaming backups, which means that every 16MB WAL segment is immediately written into S3 -- see 6f5ae8d13dc6c0252059e9ae6de77f1c1ed58340.
Are the S3 pushes merely unexpected, or are they causing a cost impact that you'd like to avoid?  If the latter, we can add a flag back in to disable the streaming portion of backups, but defaulting to have lower risk of data loss seemed the right default to have.
I think we did not communicate the impact of this change well enough, which is on me.  Apologies!

It was unexpected, which made me think it's a misconfiguration or a bug, so I re-checked all the settings relating to S3. The cost is insignificant because I am hosting a server for ~20 users. However, it might be an issue for instances that generate more data, so it can be sensible to add a flag.

I'm not entirely sure I see a clear motivation when someone would want to turn off streaming backups; I wouldn't expect them to materially increase the storage used. So I'd be tempted to just make sure our backups documentation is clear about the model, and only add a setting if someone asks who intends to turn it on.


Follow-up to guava21 update, getting rid of legacy calls to getHostText (instead use new getHost). [phab:D1559]

Created by danielmoy-google at 2017-04-21 16:20:27:
Does the actual code migration for #1427

fromberger accepted this revision at 2017-04-21 16:23:16

danielmoy-google closed via commit 73092a6b3fe64cdfbce5a1e467efd57e647af5d5 at 2017-04-21 16:38:38


[0.4.12] Calling prerender programatically now crashes

Description
On vite-plugin-vercel vercel-api-v3-stable branch I upgraded to<EMAIL_ADDRESS>and now calling prerender crashes. After investigation, it seems related to the new collectDoNoPrerenderList that now checks fileType prop.
At this point _pageFilesAll should contain all fileTypes right, not just .page.route ones? Or should I update my code in some way now?
Error Stack
[vite-plugin-vercel]<EMAIL_ADDRESS>You stumbled upon a bug in vite-plugin-ssr's source code. Reach out at https://github.com/brillout/vite-plugin-ssr/issues/new or https://discord.com/invite/qTq92FQzKb and include this error stack (the error stack is usually enough to fix the problem). A maintainer will fix the bug (usually under 24 hours). Do not hesitate to reach out as it makes vite-plugin-ssr more robust.
[vite-plugin-ssr:autoFullBuild]<EMAIL_ADDRESS>You stumbled upon a bug in vite-plugin-ssr's source code. Reach out at https://github.com/brillout/vite-plugin-ssr/issues/new or https://discord.com/invite/qTq92FQzKb and include this error stack (the error stack is usually enough to fix the problem). A maintainer will fix the bug (usually under 24 hours). Do not hesitate to reach out as it makes vite-plugin-ssr more robust.
error during build:
Error<EMAIL_ADDRESS>You stumbled upon a bug in vite-plugin-ssr's source code. Reach out at https://github.com/brillout/vite-plugin-ssr/issues/new or https://discord.com/invite/qTq92FQzKb and include this error stack (the error stack is usually enough to fix the problem). A maintainer will fix the bug (usually under 24 hours). Do not hesitate to reach out as it makes vite-plugin-ssr more robust.
    at /home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite-plugin-ssr@0.4.12_vite@3.0.2/node_modules/vite-plugin-ssr/dist/cjs/node/prerender.js:100:32
    at Array.forEach (<anonymous>)
    at collectDoNoPrerenderList (/home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite-plugin-ssr@0.4.12_vite@3.0.2/node_modules/vite-plugin-ssr/dist/cjs/node/prerender.js:98:33)
    at prerender (/home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite-plugin-ssr@0.4.12_vite@3.0.2/node_modules/vite-plugin-ssr/dist/cjs/node/prerender.js:81:5)
    at async prerender (file:///home/magne/workspace/vite-plugin-vercel/packages/vite-plugin-ssr/dist/vite-plugin-ssr.js:204:3)
    at async Object.writeBundle (file:///home/magne/workspace/vite-plugin-vercel/packages/vercel/dist/index.js:376:25)
    at async Promise.all (index 1)
    at async file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/rollup@2.77.0/node_modules/rollup/dist/es/shared/rollup.js:23717:13
    at async catchUnfinishedHookActions (file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/rollup@2.77.0/node_modules/rollup/dist/es/shared/rollup.js:23040:20)
    at async doBuild (file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite@3.0.2/node_modules/vite/dist/node/chunks/dep-1513d487.js:43473:20)
    at async Module.build (file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite@3.0.2/node_modules/vite/dist/node/chunks/dep-1513d487.js:43297:16)
    at async Object.writeBundle (/home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite-plugin-ssr@0.4.12_vite@3.0.2/node_modules/vite-plugin-ssr/dist/cjs/node/plugin/plugins/autoFullBuild.js:33:17)
    at async Promise.all (index 0)
    at async file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/rollup@2.77.0/node_modules/rollup/dist/es/shared/rollup.js:23717:13
    at async catchUnfinishedHookActions (file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/rollup@2.77.0/node_modules/rollup/dist/es/shared/rollup.js:23040:20)
    at async doBuild (file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite@3.0.2/node_modules/vite/dist/node/chunks/dep-1513d487.js:43473:20)
    at async build (file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite@3.0.2/node_modules/vite/dist/node/chunks/dep-1513d487.js:43297:16)
    at async CAC.<anonymous> (file:///home/magne/workspace/vite-plugin-vercel/node_modules/.pnpm/vite@3.0.2/node_modules/vite/dist/node/cli.js:747:9)

If you need to reproduce the error, you can checkout the vercel-api-v3-stable branch of vite-plugin-vercel and run pnpm -w run build:all.

See https://github.com/brillout/vite-plugin-ssr/commit/4084c5aad2925a994cf4eeae0441dfa33a163fb2 and https://github.com/magne4000/vite-plugin-vercel/pull/6/files.

FYI, I'm actually going to revert the changes that lead to this problem (because of https://github.com/brillout/vite-plugin-ssr/issues/382 and https://github.com/brillout/vite-plugin-ssr/issues/381).

In the meantime, my PR should fix the situation.


Exclude for folder does not work

I tried to exclude lint for a folder but it did not take effect:
include: ../../../../analysis_options.yaml

linter:
  rules:
    avoid_web_libraries_in_flutter: false

Context: https://github.com/flutter/devtools/pull/5440#discussion_r1175493116

Yes, DevTools usses some workaround. And i do not know if the problem reproduces.


fix(.gitignore): remove dist of docs

Remove docs/dist folder, no need for that on git.

@dorilahav this one is actually needed, it what serves this file needed for Chava's website.
Am i wrong? 🤔

@dorilahav this one is actually needed, it what serves this file needed for Chava's website.
Am i wrong? 🤔

Pushing any kind of artifacts to git is a bad practice for a number of reasons:

You depend on someone remembering to build the project in order for it to get deployed properly.
You include in your build some parts of your node_modules which can take some good amount of your repository space when you get into large amounts of code.
Related to the previous reason, your artifacts will include some parts of your node modules which you don't entirely control, if at all which can cause a lot of conflicts when working with multiple branches (like what happened in this PR).

In order to prevent these problems, what people usually use is some sort of a CICD (I will be talking mostly about the CI part) which is in charge of building your code whenever you push your code (with your configured rules).
I would like to recommend a service called Vercel which can automatically detect pushes to your repository and deploy your website.

Pushing any kind of artifacts to git is a bad practice for a number of reasons:

You depend on someone remembering to build the project in order for it to get deployed properly.
You include in your build some parts of your node_modules which can take some good amount of your repository space when you get into large amounts of code.
Related to the previous reason, your artifacts will include some parts of your node modules which you don't entirely control, if at all which can cause a lot of conflicts when working with multiple branches (like what happened in this PR).

In order to prevent these problems, what people usually use is some sort of a CICD (I will be talking mostly about the CI part) which is in charge of building your code whenever you push your code (with your configured rules).
I would like to recommend a service called Vercel which can automatically detect pushes to your repository and deploy your website.

Just to make sure we're on the same page - are you familiar with GitHub Pages? If not, quickly read about it in general and this section specifically, in step 4 we've chosen /docs which means that this directory contains the actual website of ChavaScript. Including the artifacts needed to serve this website.
Do you suggest any way around it?

Just to make sure we're on the same page - are you familiar with GitHub Pages? If not, quickly read about it in general and this section specifically, in step 4 we've chosen /docs which means that this directory contains the actual website of ChavaScript. Including the artifacts needed to serve this website.
Do you suggest any way around it?

You could use some other service like Vercel but if you use GitHub Pages you could also make it build your website instead of including the artifacts of your website on the repository. I would recommend using Vercel anyways as it takes care of everything for you automatically.

You could use some other service like Vercel but if you use GitHub Pages you could also make it build your website instead of including the artifacts of your website on the repository. I would recommend using Vercel anyways as it takes care of everything for you automatically.

Hmm...I'll look into using GitHub actions to build artifacts (assuming this was your intention).
Anyways we wouldn't be able to merge this PR until i'm done so feel free to do whatever you can to help 🙏

Hmm...I'll look into using GitHub actions to build artifacts (assuming this was your intention).
Anyways we wouldn't be able to merge this PR until i'm done so feel free to do whatever you can to help 🙏


readme.md updates

Summary of changes

fix references to GCC_ARM (Issue#5) plus further readme updates (thanks @moshe-shahar)
added animation gifs to demonstrate flow
further updates

you can preview the changes here
@maclobdell mind to review ?

[X] I confirm this contribution is my own and I agree to license it with Apache 2.0.
[X] I confirm the moderators may change the PR before merging it in.
For new board enablements only:
[] I confirm the board is Mbed Enabled and passes the Mbed Enabled test set.
[] I confirm the contribution has been tested properly and the tests results for TESTS are attached.
[] I confirm mbed-os.lib and mbed-cloud-client.lib hashes or the content in folders mbed-os and mbed-cloud-client were not modified in order to pass the tests.

Maintainers of this repository update the Mbed OS and Client hashes.
Please report any issues through issues in relevant repositories.

Looks great!  Thanks! I just noticed that the caption for the last image says "build program". If you want to change that to something else like "view update campaign details", that would be great. Then please go ahead and merge it!


Uninformative errors when plugins are missing

Here is an example of the sort of error you might see if intake-parquet isn't installed when it is required:

To a newcomer, this message does not convey the root problem that intake-parquet is missing. Ideally the message would be something like:
'no plugins loaded for this entry: parquet. Please install the intake-parquet package.'

Unfortunately, this isn't possible as intake doesn't know which packages supply which drivers. Instead, the error message could link to the plugin's page like this:
'no plugins loaded for this entry: parquet. A listing of installable plugins can be found
 at https://intake.readthedocs.io/en/latest/plugin-directory.html.'

The plugin page could then be enhanced with a list the drivers offered by each of the plugin packages, making it easier for users unfamiliar with intake to find the missing plugin that they need to install.

Thanks!


fine tune step circuit trait to avoid re-implement zi->zi_next logic

Change scope

fine tune step circuit to optional output function, which potentially lead to duplicate logic with synthesis function.
optimize RO trait to take reference, further optimize memory usage.

Thanks! This looks good!

@hero78119 It looks like I do not have access to the PR. Can you please fix clippy issues and a conflict in src/circuit.rs, so we can merge this?

@hero78119 It looks like I do not have access to the PR. Can you please fix clippy issues and a conflict in src/circuit.rs, so we can merge this?

Hi @srinathsetty , sure I have rebase and resolve clippy issue.
It will be good if later can integrate clippy check into CI.


DHCP client sends wrong ARP packets

I have a number of bk7231t devices successfully flashed with libretiny.
Occasionally, when they try to set up the DHCP lease, wrong packets are sent. Instead of asking for an IP address, or reclaiming it's current address, the device effectively claims the IP address of the DHCP server.
From the system log:
May  4 05:39:59 srv1 dhcpcd[449]: eth0: hardware address xx:xx:xx:xx:xx::ce claims <IP_ADDRESS>

where <IP_ADDRESS> is the address of the DHCP server.
While this seems harmless, if a second package arrives at the DHCP server within 10 seconds it shuts down the network connection and, without DHCP server, the LAN slowly collapses.
The devices are GU10 lamps and TH06 sensors. All devices run the latest libretuya-esphome
v1.0.1+sha.8999cb9.dirty on generic-bk7231t-qfn32-tuya, compiled at May 4 2023 21:42:27, GCC 10.3.1 (-O1)

Nine out of ten devices have shown this behaviour in the last couple of weeks. Additional information (configs, ...) available on demand.

I see the same issue with Gosund SW5 switches flashed with the latest libretiny-esphome, also bk7231t devices.

Some more information which might help in identifying the location of the fault - I have noticed that for about five seconds after a restart/reboot, there is a sucessful DHCP reservation - as I watch it live on my DHCP server, I see the reservation for the active host, but after about five seconds, the reservation disappears.  My DHCP server is on my Mikrotik RB750Gr3 router, Rev r4, with 6.48.6 firmware.

Same issue on bk7231n, 1.0.2+sha.5c4da6e . The device connects once, but after reboot it just falling to the fallback hotspot. Added static IP to the config and it works fine.


error add on

hello,
i try to install jewelers 1.3 on blender 2.76.4
and an error appear, where is the problem?
Thank You very much for amazing add on

Hi,
How do you install it?

I install the zip folder (without extracting) from user preferences.
2016-01-17 11:57 GMT+01:00 Mikhail Rachinskiy<EMAIL_ADDRESS>
Hi,
How do you install it?
—
Reply to this email directly or view it on GitHub
https://github.com/mrachinskiy/blender-addon-jewelcraft/issues/2#issuecomment-172313500
.

I guess it might be the system locale, could you please do the following:

Download Blender zip
Unpack in C:\ folder (like so: C:\blender_folder)
Create empty folder config like so: C:\blender_folder\2.76\config
Unpack JewelCraft zip and move blender-addon-jewelcraft-master folder in to: C:\blender_folder\2.76\scripts\addons\
Run blender: C:\blender_folder\blender.exe and enable JewelCraft add-on.
If it gives an error, save user settings: File → User Preferences → Save User Settings, close and open Blender again

And tell me results.

Now it works,
Thanks a lot for the help.
2016-01-17 12:40 GMT+01:00 Mikhail Rachinskiy<EMAIL_ADDRESS>
I guess it might be the system locale, could you please do the following:

Download Blender zip https://www.blender.org/download/
Unpack in C:\ folder (like so: C:\blender_folder)
Create empty folder config like so: C:\blender_folder\2.76\config
Unpack JewelCraft zip and move blender-addon-jewelcraft-master folder
in to: C:\blender_folder\2.76\scripts\addons\
Run blender: C:\blender_folder\blender.exe and enable JewelCraft
add-on.
If it gives an error, save user settings: File → User Preferences →
Save User Settings, close and open Blender again

And tell me results.
—
Reply to this email directly or view it on GitHub
https://github.com/mrachinskiy/blender-addon-jewelcraft/issues/2#issuecomment-172315878
.


Missing option with groups and snmp

Moi,
I noticed two things which appear to be not implemented yet:

groupsmisses when option

snmp misses stats-cache-lifetime option

Thanks for your report, I will be looking into this.

Hi @mrgohin,
I've published v0.4.0 with the fixes, please try it if you have time.
https://marketplace.visualstudio.com/items?itemName=codeout.vscode-junos
I'm going to close this issue but feel free to re-open if you see any further problems.
Thank you again for the issue report.


CM-791: How to Generate and Manipulate Images In C# With System.Drawing.Common and AForge.NET

retest this please

retest this please

retest this please


commit_version_bump fails with error

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Command executed
Complete output when running fastlane, including the stack trace and command used

[Abhisheks-MacBook-Pro-2:doctorbox-ios abhishek$ fastlane version_bum --env DoctorPlan-Dev --capture_output
[⠴] 🚀 /Users/abhishek/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response_middleware.rb:14: warning: Capturing the given block using Proc.new is deprecated; use `█` instead
[✔] 🚀
[14:08:12]: fastlane detected a Gemfile in the current directory
[14:08:12]: However, it seems like you didn't use `bundle exec`
[14:08:12]: To launch fastlane faster, please use
[14:08:12]:
[14:08:12]: $ bundle exec fastlane version_bum --env DoctorPlan-Dev --capture_output
[14:08:12]:
[14:08:12]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
DEBUG [2020-05-07 14:08:16.36]: Checking if there are any plugins that should be loaded...
DEBUG [2020-05-07 14:08:16.56]: Loading 'fastlane-plugin-versioning' plugin
INFO [2020-05-07 14:08:16.57]: gem 'fastlane-plugin-versioning' is already installed
INFO [2020-05-07 14:08:17.57]: ------------------------------
INFO [2020-05-07 14:08:17.57]: --- Step: default_platform ---
INFO [2020-05-07 14:08:17.57]: ------------------------------
INFO [2020-05-07 14:08:17.58]: Loading from './fastlane/.env.DoctorPlan-Dev'
INFO [2020-05-07 14:08:17.58]: Driving the lane 'ios version_bum' 🚀
INFO [2020-05-07 14:08:17.58]: -------------------------------------
INFO [2020-05-07 14:08:17.58]: --- Step: ensure_git_status_clean ---
INFO [2020-05-07 14:08:17.58]: -------------------------------------
INFO [2020-05-07 14:08:17.58]: $ git status --porcelain
INFO [2020-05-07 14:08:17.72]: Git status is clean, all good! 💪
INFO [2020-05-07 14:08:17.72]: ---------------------------------------------
INFO [2020-05-07 14:08:17.72]: --- Step: increment_build_number_in_plist ---
INFO [2020-05-07 14:08:17.72]: ---------------------------------------------
WARN [2020-05-07 14:08:18.13]: build number will originate from plist.
WARN [2020-05-07 14:08:18.48]: will continue and update the info plist key. this will replace the existing value.
INFO [2020-05-07 14:08:18.49]: ---------------------------------
INFO [2020-05-07 14:08:18.49]: --- Step: commit_version_bump ---
INFO [2020-05-07 14:08:18.49]: ---------------------------------
INFO [2020-05-07 14:08:18.49]: $ git rev-parse --show-toplevel
INFO [2020-05-07 14:08:18.50]: ▸ /Users/abhishek/github/doctorbox-ios
INFO [2020-05-07 14:08:18.83]: $ git diff --name-only HEAD
INFO [2020-05-07 14:08:18.85]: ▸ DoctorPlan/Resources/DoctorPlan-Dev-Info.plist
INFO [2020-05-07 14:08:18.85]: $ git ls-files --other --exclude-standard
INFO [2020-05-07 14:08:18.89]: ▸ Externals/Down/
INFO [2020-05-07 14:08:18.89]: ▸ Externals/FastImageCache/
INFO [2020-05-07 14:08:18.89]: ▸ Internals/DoctorBox-Charts-iOS/
INFO [2020-05-07 14:08:18.89]: $ git add /Users/abhishek/github/doctorbox-ios/DoctorPlan.xcodeproj/project.pbxproj /Users/abhishek/github/doctorbox-ios/DoctorPlan/Resources/DoctorPlan-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan/Resources/DoctorPlan-Dev-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlanAdmin/DoctorPlanAdmin-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan\ Provider-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan\ Provider\ Dev-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlanUnitTests/DoctorPlanUnitTests-Info.plist
INFO [2020-05-07 14:08:18.92]: ▸ fatal: pathspec '/Users/abhishek/github/doctorbox-ios/DoctorPlan Provider-Info.plist' did not match any files
INFO [2020-05-07 14:08:18.93]: -----------------------------------
INFO [2020-05-07 14:08:18.93]: --- Step: clean_build_artifacts ---
INFO [2020-05-07 14:08:18.93]: -----------------------------------
INFO [2020-05-07 14:08:18.93]: Cleaned up build artifacts 🐙
INFO [2020-05-07 14:08:18.94]: ----------------------------
INFO [2020-05-07 14:08:18.94]: --- Step: reset_git_repo ---
INFO [2020-05-07 14:08:18.94]: ----------------------------
INFO [2020-05-07 14:08:18.94]: $ git reset --hard HEAD
INFO [2020-05-07 14:08:19.05]: ▸ HEAD is now at 8cbadcc3d uupdastte
INFO [2020-05-07 14:08:19.05]: $ git clean -qfdx
INFO [2020-05-07 14:08:19.10]: Git repo was reset and cleaned back to a pristine state.
WARN [2020-05-07 14:08:19.10]: Lane Context:
INFO [2020-05-07 14:08:19.10]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>"DoctorPlan-Dev", :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios version_bum", :GIT_REPO_WAS_CLEAN_ON_START=>true, :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"6", :BUILD_NUMBER=>"7", :SIGH_PROFILE_PATHS=>nil, :DSYM_PATHS=>nil}
ERROR [2020-05-07 14:08:19.10]: Exit status of command 'git add /Users/abhishek/github/doctorbox-ios/DoctorPlan.xcodeproj/project.pbxproj /Users/abhishek/github/doctorbox-ios/DoctorPlan/Resources/DoctorPlan-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan/Resources/DoctorPlan-Dev-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlanAdmin/DoctorPlanAdmin-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan\ Provider-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan\ Provider\ Dev-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlanUnitTests/DoctorPlanUnitTests-Info.plist' was 128 instead of 0.
fatal: pathspec '/Users/abhishek/github/doctorbox-ios/DoctorPlan Provider-Info.plist' did not match any files
INFO [2020-05-07 14:08:19.10]: Successfully generated documentation at path '/Users/abhishek/github/doctorbox-ios/fastlane/README.md'
DEBUG [2020-05-07 14:08:19.12]: All plugins are up to date
ERROR [2020-05-07 14:08:19.12]: fastlane finished with errors
ERROR [2020-05-07 14:08:19.57]: Error finding relevant GitHub issues: undefined method `map' for nil:NilClass
DEBUG [2020-05-07 14:08:19.57]: All plugins are up to date
Abhisheks-MacBook-Pro-2:doctorbox-ios abhishek$ fastlane env
✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.3

Ruby
2.7.1

Bundler?
false

Git
git version 2.24.2 (Apple Git-127)

Installation Source
~/.rbenv/versions/2.7.1/bin/fastlane

Host
Mac OS X 10.15.3 (19D76)

Ruby Lib Dir
~/.rbenv/versions/2.7.1/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.4.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
default_platform :ios

platform :ios do
  version = nil
  build_number = nil

  before_all do
    ensure_git_status_clean
end

 desc "Test version bump"
 lane :version_bum do
   increment_build_number_in_plist(
      target: ENV['APP_NAME']
   )
   commit_version_bump(
     xcodeproj: "DoctorPlan.xcodeproj", # optional, if you have multiple Xcode pro
     force: true
   )
  end

  desc "Test Slack"
  lane :test_slack do
  slack(
	use_webhook_configured_username_and_icon: false,
  	message: "\nTest Message!\n\n",
	username: ENV['APP_NAME'],
	icon_url: "https://i.ibb.co/Yf1Cn5C/knowledge-graph-logo.png",
  	slack_url: "https://hooks.slack.com/services/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",
  	channel: "#testfastlane",
  	default_payloads: [:git_branch, :git_author],
  	attachment_properties: {
   	thumb_url: "https://homepages.cae.wisc.edu/~ece533/images/airplane.png",
    	fields: [{
      	title: "Release Notes",
      	value: "1. Point 1",
      	short: true
    	},{
      	title: "Release Notes 2",
      	value: "1. Point 2",
      	short: false
    	}
	]
  	}
	)
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  lane :beta do
  gym(
    scheme: ENV['SCHEME'],
    export_method: 'app-store',
    xcargs: '-allowProvisioningUpdates',
    output_name: 'DoctorPlan-Dev'
  )
    pilot(
    skip_waiting_for_build_processing: true
    )
  end

  after_all do |lane|
 end

  error do |lane, exception|
    clean_build_artifacts
    reset_git_repo
  end
end

`./fastlane/Appfile`
# The Appfile can be used to specify information that's used across all fastlane
# tools, like your username or the app's bundle identifier.
#
# For more details, check out the documentation at:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

app_identifier ENV["BUNDLE_IDENTIFIER"] # the bundle identifier of your app
apple_id "**************************" # Your Apple ID
team_name "***************"
team_id "***********"

fastlane gems

Gem
Version
Update-Status

fastlane
2.146.1
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-versioning
0.4.3
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

atomos
0.1.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.16.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

terminal-table
1.8.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.73.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday
0.17.3

faraday_middleware
0.13.1

mini_magick
4.10.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

naturally
2.2.0

simctl
1.6.8

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

mini_mime
1.0.2

signet
0.14.0

googleauth
0.12.0

httpclient
2.8.3

google-api-client
0.36.4

google-cloud-env
1.3.1

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

digest-crc
0.5.1

google-cloud-storage
1.26.0

emoji_regex
1.0.1

uri
0.10.0

CFPropertyList
3.0.2

claide
1.0.3

unicode-display_width
1.7.0

plist
3.5.0

addressable
2.7.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

fastimage
2.1.7

gh_inspector
1.1.3

json
2.3.0

dotenv
2.7.5

bundler
2.1.4

retriable
3.1.2

multi_json
1.14.1

memoist
0.16.2

os
1.1.0

aws-eventstream
1.1.0

aws-sigv4
1.1.3

aws-partitions
1.309.0

jmespath
1.4.0

aws-sdk-core
3.94.1

aws-sdk-kms
1.30.0

aws-sdk-s3
1.63.1

forwardable
1.3.1

logger
1.4.2

cgi
0.1.0

timeout
0.1.0

stringio
0.1.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.2.0

strscan
1.0.3

date
3.0.0

delegate
0.1.0

fileutils
1.4.1

io-console
0.5.6

zlib
1.1.0

singleton
0.1.0

rexml
3.2.3

open3
0.1.0

yaml
0.1.0

psych
3.1.0

mutex_m
0.1.0

webrick
1.6.0

fastlane-plugin-versioning
0.4.3

generated on: 2020-05-07

It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

Have added now. Please help me understand this. Have seen all issues around this on internet.

INFO [2020-05-07 14:08:18.89]: $ git add /Users/abhishek/github/doctorbox-ios/DoctorPlan.xcodeproj/project.pbxproj /Users/abhishek/github/doctorbox-ios/DoctorPlan/Resources/DoctorPlan-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan/Resources/DoctorPlan-Dev-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlanAdmin/DoctorPlanAdmin-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan\ Provider-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlan\ Provider\ Dev-Info.plist /Users/abhishek/github/doctorbox-ios/DoctorPlanUnitTests/DoctorPlanUnitTests-Info.plist
INFO [2020-05-07 14:08:18.92]: ▸ fatal: pathspec '/Users/abhishek/github/doctorbox-ios/DoctorPlan Provider-Info.plist' did not match any files

This error message does not help?

 But even after resolving the above fatal error, I still need to force the commit_version_bump or else it fails with
[!] Found unexpected uncommitted changes in the working directory. Expected these files to have
changed:
DoctorPlan.xcodeproj/project.pbxproj
DoctorPlan/Resources/DoctorPlan-Info.plist
DoctorPlan/Resources/DoctorPlan-Dev-Info.plist
DoctorPlanAdmin/DoctorPlanAdmin-Info.plist
$(SRCROOT)/DoctorPlanProvider/DoctorPlan Provider-Info.plist
$(SRCROOT)/DoctorPlanProvider/DoctorPlan Provider Dev-Info.plist
DoctorPlanUnitTests/DoctorPlanUnitTests-Info.plist.
But found these actual changes:
DoctorPlan/Resources/DoctorPlan-Dev-Info.plist
Externals/Down/
Externals/FastImageCache/
Internals/DoctorBox-Charts-iOS/.
Make sure you have cleaned up the build artifacts and
are only left with the changed version files at this stage in your lane, and don't touch the
working directory while your lane is running. You can also use the :force option to bypass this
check, and always commit a version bump regardless of the state of the working directory.

Can you help me resolve this?

Externals/Down/
Externals/FastImageCache/
Internals/DoctorBox-Charts-iOS/.

These seem to be additional. Any idea why the folders could be changed and how exactly?

Oh man!.. After focussing for over half an hour, I have understood what went wrong with these 3 here. After rectifying, this works as expected. i.e. without the force: true.
Thanks a lot for your time.
One last thing however, ruby 2.7.1 gives a warning, which breaks the automatic flow and I have to manually select a target again.
/Users/abhishek/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
I understand its a different issue, so if you want I can file it separately too.

Please do <3

@janpio I have opened another one here:
https://github.com/fastlane/fastlane/issues/16450
Thanks 😊


Cannot operate on a struct inside an array

Consider the following spark-shell session, which has loaded the latest published version of both this library, and spark-hofs.
import com.github.fqaiser94.mse.methods._
import za.co.absa.spark.hofs._
import spark.implicits._

val jsonText = """{
     |   "data1": [
     |     {
     |       "vlan": {
     |         "id": "195",
     |         "name": "Subnet-54.14.195"
     |       }
     |     },
     |     {
     |       "vlan": {
     |         "id": "195",
     |         "name": "Subnet-54.14.193"
     |       }
     |     }
     |   ]
     | }""".stripMargin

val df = spark.read.option("multiline", "true").json(Seq(jsonText).toDS())

# this works fine
df.withColumn("data1", transform($"data1", col => col.withFieldRenamed("vlan", "vlan_renamed"))).printSchema

# but what if I want to rename "name" to "device_name" ?
# I thought it would be something like this
df.withColumn("data1", transform($"data1", col => col.withField("vlan", $"data1.vlan".withFieldRenamed("name", "device_name")))).printSchema
# but it fails with:
org.apache.spark.sql.AnalysisException: cannot resolve 'rename_fields(`data1`.`vlan`, 'name', 'device_name')' due to data type mismatch: Only struct is allowed to appear at first position, got: array.;;
'Project [transform(data1#44, lambdafunction(add_fields(lambda elm#58, vlan, rename_fields(data1#44.vlan, name, device_name)), lambda elm#58, false)) AS data1#57]
+- LogicalRDD [data1#44], false

I believe that the problem might be here.  If this is an array, then we should descend into the elementType to see if it's a StructType.  Does this seem on the right track, or am I off the mark?

@jeff303 I think this is what you're looking for:
// spark-shell --jars mse_2.11-0.2.4.jar,spark-hofs_2.11-0.4.0.jar

import com.github.fqaiser94.mse.methods._
import za.co.absa.spark.hofs._
import spark.implicits._

val jsonText = """{
     |   "data1": [
     |     {
     |       "vlan": {
     |         "id": "195",
     |         "name": "Subnet-54.14.195"
     |       }
     |     },
     |     {
     |       "vlan": {
     |         "id": "195",
     |         "name": "Subnet-54.14.193"
     |       }
     |     }
     |   ]
     | }""".stripMargin

val df = spark.read.option("multiline", "true").json(Seq(jsonText).toDS())
// root
//  |-- data1: array (nullable = true)
//  |    |-- element: struct (containsNull = true)
//  |    |    |-- vlan: struct (nullable = true)
//  |    |    |    |-- id: string (nullable = true)
//  |    |    |    |-- name: string (nullable = true)

// rename "name" to "device_name"
df.withColumn("data1", transform($"data1", col => col.withField("vlan", col.getField("vlan").withFieldRenamed("name", "device_name")))).printSchema
// root
//  |-- data1: array (nullable = true)
//  |    |-- element: struct (containsNull = true)
//  |    |    |-- vlan: struct (nullable = true)
//  |    |    |    |-- id: string (nullable = true)
//  |    |    |    |-- device_name: string (nullable = true)

Aha, getField on the column appears to be key, instead of starting from the root. Thanks, and happy new year!


Use DIPPER mapping format for CURIEs

Should read:
prefix : IRI prefix

and update the location for all the build plans.

here's the current yaml configuration used for dipper:
https://raw.githubusercontent.com/monarch-initiative/dipper/master/dipper/curie_map.yaml

will this be an issue?
'ISBN-10': 'http://www.monarchinitiative.org/ISBN_'
'ISBN-13': 'http://www.monarchinitiative.org/ISBN_'
'ISBN-15': 'http://www.monarchinitiative.org/ISBN_'
'ISBN': 'http://www.monarchinitiative.org/ISBN_'
basically the data i have uses those ISBN prefixes in their annotations, but i map them to simply ISBN because i don't think they clobber one another.

We decided to retain the numeric portion, e.g. ISBN10
Since we're discussing this, might be a good idea to have a strategy to make sure all things that point to us are resolvable. E.g. http://monarchinitiative.org/object/CURIE

@nlwashington will these mappings from dipper be usable for monarch.owl as well?

This has been redeployed with the new CURIEs on geoffrey and rosie.


RuntimeError: Tkinter Designer requires internet access to work.

I'm getting this error I clearly have internet access and I followed all the intructions

Hey @saur0x , Can you help him with this ?

Connect to the internet? Would it be possible to add more information such as your device specification as well as a full log of the error.

@The-Real-Thisas Thanks for being involved 👍
@bermudezjp closing this issue since its solved.


Update stable version in repo from 1.1.0 to 1.2.0

Think about update stable version to 1.2.0
Version: stable=1.1.0 (1925 days old) => latest=1.2.0 (30 days old)
Installs: stable=959 (96.29%), latest=26 (2.61%), total=996
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.2.0 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.2.0 but the current stable version is already 1.2.0.
So this issue should be closed.
@mcm1957 for evidence


Code completion for buffer definitions suggests fields

Using: VSCode 1.82.2, plugin version v1.4.21
When defining a new buffer, the autocomplete suggests fields for the related table before the table name itself.
define temp-table ttFoo no-undo
    field FooId as integer
    field FooName as charascter.

define buffer bttFoo for t|.

If the cursor is after the for t section, the autocomplete list contains (in order):
ttFoo.FooId
ttFoo
temp-table
_tt

This isn't too bad, but when the rest of the table name is typed (ttFoo.), the autocomplete suggests the first name, and "Enter" selects this, rather than putting a new line in:
define buffer bttFoo for ttFoo.
// auto-complete has ttFoo.FooId, hitting enter results in
define buffer bttFoo for ttFoo.FooId

The same applies to database tables.
Update: This seems to be a general probelm with anything that requires a "buffer". I've tested the following:

CREATE
DELETE
FIND (but not FIND FIRST or FIND LAST, interestingly)
DEFINE QUERY qttFoo FOR

The same issue occurs on FIND statements as well:
define temp-table ttFoo no-undo
    field FooId as integer
    field FooName as character.

find tt

The suggestions after the find tt option has:
ttFoo.FooId
ttFoo.FooName
ttFoo

The field options only go away once the entire buffer name has been typed.

Confirmed, the record rule from the grammar is not handled correctly. That will be fixed in next version.

Fixed in develop branch of LS


Fixing the float to string conversions to match SL.

With related change to Phlox, this corrects llDumpList2String but leaves llList2CSV using the short notation.
You can compare the differences between SL and Halcyon/Phlox using the following script - also attached.
test_str(string name, string expected, string value) {
    if (value == expected)
        llOwnerSay("PASSED - " + name);
    else
        llOwnerSay("FAIL - " + name + "\n  Expected '" + (string) expected + "' but got '" + (string) value + "'");
}

default {
    state_entry() {
        llOwnerSay("==== STARTING TESTS ===="); // Tests tuned to pass on Second Life Server <IP_ADDRESS>8474

        test_str("Zero integer cast to string", "0", (string)0);
        test_str("Integer cast to string", "1", (string)1);
        test_str("Negative integer cast to string", "-1", (string)-1);
        test_str("High value integer cast to string", "12345", (string)12345);
        test_str("Zero float cast to string", "0.000000", (string)0.0);
        test_str("Integral float cast to string", "1.000000", (string)1.0);
        test_str("Negative integral float cast to string", "-1.000000", (string)-1.0);
        test_str("High value integral float cast to string", "12345.000000", (string)12345.0);
        test_str("PI cast to string", "3.141593", (string)PI);
        {
            list lst = [0.0, 1.0, PI, -1.0];
            test_str("Four floats in a list cast to string", "0.0000001.0000003.141593-1.000000", (string)lst);
        }
        {
            list lst = [0.0, 1.0, PI, -1.0];
            test_str("Four floats in a list dumped to string", "0.000000|1.000000|3.141593|-1.000000", llDumpList2String(lst, "|"));
        }
        {
            list lst = [0.0, 1.0, PI, -1.0];
            test_str("Four floats in a list CSV'd to string", "0.000000, 1.000000, 3.141593, -1.000000", llList2CSV(lst));
        }
        test_str("Vector cast to string", "<0.00000, 1.00000, 3.14159>", (string)<0, 1, PI>);
        test_str("Rotation cast to string", "<0.00000, 1.00000, 3.14159, -1.00000>", (string)<0, 1, PI, -1>);
        {
            list lst = [<0, 1, PI>, <0, 1, PI, -1>];
            test_str("Vector and rotation in a list cast to string", "<0.000000, 1.000000, 3.141593><0.000000, 1.000000, 3.141593, -1.000000>", (string)lst);
        }
        {
            list lst = [<0, 1, PI>, <0, 1, PI, -1>];
            test_str("Vector and rotation in a list dumped to string", "<0.000000, 1.000000, 3.141593>|<0.000000, 1.000000, 3.141593, -1.000000>", llDumpList2String(lst, "|"));
        }
        {
            list lst = [<0, 1, PI>, <0, 1, PI, -1>];
            test_str("Vector and rotation in a list CSV'd to string", "<0.000000, 1.000000, 3.141593>, <0.000000, 1.000000, 3.141593, -1.000000>", llList2CSV(lst));
        }
    }
}

With the following commits and the corresponding changes  to Phlox, in Phlox PR 9, the output is as follows:
==== STARTING TESTS ====
[18:32] Primitive: PASSED - Zero integer cast to string
[18:32] Primitive: PASSED - Integer cast to string
[18:32] Primitive: PASSED - Negative integer cast to string
[18:32] Primitive: PASSED - High value integer cast to string
[18:32] Primitive: PASSED - Zero float cast to string
[18:32] Primitive: PASSED - Integral float cast to string
[18:32] Primitive: PASSED - Negative integral float cast to string
[18:32] Primitive: PASSED - High value integral float cast to string
[18:32] Primitive: PASSED - PI cast to string
[18:32] Primitive: PASSED - Four floats in a list cast to string
[18:32] Primitive: PASSED - Four floats in a list dumped to string
[18:32] Primitive: FAIL - Four floats in a list CSV'd to string
  Expected '0.000000, 1.000000, 3.141593, -1.000000' but got '0, 1, 3.141593, -1'
[18:32] Primitive: PASSED - Vector cast to string
[18:32] Primitive: PASSED - Rotation cast to string
[18:32] Primitive: PASSED - Vector and rotation in a list cast to string
[18:32] Primitive: PASSED - Vector and rotation in a list dumped to string
[18:32] Primitive: FAIL - Vector and rotation in a list CSV'd to string
  Expected '<0.000000, 1.000000, 3.141593>, <0.000000, 1.000000, 3.141593, -1.000000>' but got '<0, 1, 3.141593>, <0, 1, 3.141593, -1>'

IE: it is still failing on llList2CSV, but unless there's want to do so I'm of the opinion that CSV can stay in the short form.
With this PR is a request to update the included Phlox DLL so that everything lines up.

In case anyone is wondering how Phlox currently responds to this script, here are my results with Halcyon 0.9.26:
==== STARTING TESTS ====
[22:01] Primitive: PASSED - Zero integer cast to string
[22:01] Primitive: PASSED - Integer cast to string
[22:01] Primitive: PASSED - Negative integer cast to string
[22:01] Primitive: PASSED - High value integer cast to string
[22:01] Primitive: PASSED - Zero float cast to string
[22:01] Primitive: PASSED - Integral float cast to string
[22:01] Primitive: PASSED - Negative integral float cast to string
[22:01] Primitive: PASSED - High value integral float cast to string
[22:01] Primitive: PASSED - PI cast to string
[22:01] Primitive: PASSED - Four floats in a list cast to string
[22:01] Primitive: FAIL - Four floats in a list dumped to string
  Expected '0.000000|1.000000|3.141593|-1.000000' but got '0|1|3.141593|-1'
[22:01] Primitive: FAIL - Four floats in a list CSV'd to string
  Expected '0.000000, 1.000000, 3.141593, -1.000000' but got '0, 1, 3.141593, -1'
[22:01] Primitive: PASSED - Vector cast to string
[22:01] Primitive: PASSED - Rotation cast to string
[22:01] Primitive: FAIL - Vector and rotation in a list cast to string
  Expected '<0.000000, 1.000000, 3.141593><0.000000, 1.000000, 3.141593, -1.000000>' but got '<0.00000, 1.00000, 3.14159><0.00000, 1.00000, 3.14159, -1.00000>'
[22:01] Primitive: FAIL - Vector and rotation in a list dumped to string
  Expected '<0.000000, 1.000000, 3.141593>|<0.000000, 1.000000, 3.141593, -1.000000>' but got '<0, 1, 3.141593>|<0, 1, 3.141593, -1>'
[22:01] Primitive: FAIL - Vector and rotation in a list CSV'd to string
  Expected '<0.000000, 1.000000, 3.141593>, <0.000000, 1.000000, 3.141593, -1.000000>' but got '<0, 1, 3.141593>, <0, 1, 3.141593, -1>'

I was initially pleased to see this one but I think @ddaeschler has some concerns about how existing scripts might deal with this change. In particular, examples like:
[22:01] Primitive: FAIL - Four floats in a list dumped to string
  Expected '0.000000|1.000000|3.141593|-1.000000' but got '0|1|3.141593|-1'

Scripts that have been seeing that text start with '0|1|'... might fail to parse the line after an update.  I think this is one of those cases where we might need a more solid reason to change it (since the data is actually correct) than a difference in the output formatting for floats.
Are you aware of any SL scripts that break when they come to IW due to the formatting differences?

Any one that tries to determine type from format.  And they do exist :P they are hacky, but they exist.  Most all scripts should be assuming they know the format ahead of time and just typecasting, but some don't.
More of import are scripts that display the values, either in chat or in hover text - a common debugging routine.  Having the format jitter so badly when one instant the text is "0.123456" and the next it is "0" and back again is downright annoying and IIRC is how I found this.  Makes watching values as they change nearly impossible.

I'm with Ricky on this one.   Certainly there are  number of tests in the lsl JSON test suite that fail due to floating point formatting.  And since the format produced in SL is so well substantiated it seems very likely that code does exist that would expect that. Ideally a parser should be flexible, you'd hope thats the case.  IMO the most common case: casting between a string and a float needs to work as expected. after that the rest could be classified as bugs in LSL scripts handling floating point data.

One more thought.  Our current implementation is arguably wrong because it will convert a floating point value like 1.0 to a fixed point value '1' when written as a string. We do handle FP numbers that are not whole and correctly display them with 6 digits of precision.  But someone writing a parser could fail to detect that the value 1 WAS floating point and parse it as an integer.  Still the same value but not the correct type.

I was initially in favor of the merge as well. I do think we could break some content here, but if true, it will probably either have little effect (can be fixed) or won't matter in the big picture. I think Tranq just had some concerns and perhaps wanted to it discussed a bit. I'm not sure how large his objections are; he will need to chime in here. I'm mostly right on the fence on this, and agree with both viewpoints, although I think I'm still leaning in favor of the merge, but he will need to decide.

My goal for discussion was to try to think of cases where this might break content on a massive scale such as settings saving/loading and common uses of that nature.  If we wind up with massive problems, we can roll back and create a setting where the new formatting is optional, and the default for new halcyon instances.

So the other question I have is related to how its implemented.  Perhaps it should be done in toString in the OSD Float class so its picked up across the board.

The commit takes advantage of the float to LSLString constructor which matches the SL format. In my opinion, that is the best place as it is specifically formatting a float as a string for LSL purposes.  It only supports the one single format.
string s = String.Format(Culture.FormatProvider, "{0:0.000000}", f.value);
Overriding one of the ToString methods would probably either require adding support for all possible ToString formats, or break any code that passes a format string to ToString. It's also much more difficult to know how far-reaching the effects would be.
The commit here is a very targeted change to llDumpList2String only, and I think that's the best way in this case. I think if there are other places that might also need to use the LSLString(float) formatter, that there would be a very small number of those and the code in those places can also be specifically updated to use the LSLString(float) constructor so as to ensure a specific format, and probably need a separate review like this one.

"The commit here is a very targeted change to llDumpList2String only"

This PR was originally submitted at a time of updates turmoil and so was postponed as an unnecessary risk at the time.  As discussed separately, the team feels it is time to apply this one. I don't have any strong concerns about compatibility and as a bonus this change makes Halcyon more SL-compatible as well. I'm going ahead with the merge now.


[FLINK-20165] Update test docker image & improve YARN logging

What is the purpose of the change
We had a JVM failure in the YARN tests, that seems extremely rare.
Before filing a ticket with Java, I want to see if we are experiencing this issue again with the latest JDK11, that's why I'm updating the docker image.
This is related to https://github.com/apache/flink/pull/14118.

Thanks for the review!


Playlist load

If a playlist is available, none can be found or a song is played that is not in the playlist at all.

Only one track will be loaded but the playlist has 223 entrys

Only one track will be loaded but the playlist has 223 entrys

please share the code of your playlistLoaded method as well as your LP version.

please share the code of your playlistLoaded method as well as your LP version.

        for (AudioTrack audioTrack : audioPlaylist.getTracks()) {             musicController.getQueue().addSong(audioTrack, textChannel);             if (musicController.getAudioPlayer().getPlayingTrack() == null) musicController.getAudioPlayer().playTrack(audioTrack);         }
LP version: LATEST

        for (AudioTrack audioTrack : audioPlaylist.getTracks()) {             musicController.getQueue().addSong(audioTrack, textChannel);             if (musicController.getAudioPlayer().getPlayingTrack() == null) musicController.getAudioPlayer().playTrack(audioTrack);         }
LP version: LATEST

there is no  audioTrack parameter in playlistLoaded, so this must be a mistake. Just share the entire method, including the head.
For the record, LATEST is deprecated for a reason and should not be used. Use a fixed version instead. The latest version number can be found at the top of the README.

there is no  audioTrack parameter in playlistLoaded, so this must be a mistake. Just share the entire method, including the head.
For the record, LATEST is deprecated for a reason and should not be used. Use a fixed version instead. The latest version number can be found at the top of the README.

but why is there a method called audioPlaylist.getTracks()?

but why is there a method called audioPlaylist.getTracks()?

Seems to load just fine for the URL in original post.

Must be an issue with the way you are queueing them.

Seems to load just fine for the URL in original post.

Must be an issue with the way you are queueing them.


poppler-qt6 22.06.0 (new formula)

takes so long ...

this triggered a new release, really??
https://github.com/muzimuzhi/homebrew-texstudio-beta/releases/tag/poppler-qt6-22.06.0


Training RL agents with high speed

Hi,
Thank you for the great simulator. I have a gym environment and want to train an agent in Carla. Is there any way to run the training in fast mode? Now, it's too slow (real time) and I want to accelerate it.
Thank you

same problem....maybe we can use sync/async mode?


Address image clustering

Sometimes it is not possible to select every image available on a certain area/point, especially after the zoom limit was imposed:

Increase max zoom for client map as well as raster and vector tiles


[Prism] Use the worker-id gRPC metadata

This PR closes #32167 via implementation of a worker.MultiplexW to forward FnAPI gRPC requests to *W stored by id that matches the worker-id gRPC context metadata. In addition to typical go test workflow, to validate this PR ./gradlew :runners:portability:java:ulrLoopbackValidatesRunnerTests -PjobEndpoint=localhost:8073 was ran on a few initial tests. The idle_shutdown_timeout was tested by visual inspection to validate the additional service does not block the executable from shutting down.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Python sends an empty string for worker_id key in the gRPC metadata. Debugging the workerFromMetadataCtx method, I see a worker_id sent over when running python apache_beam/examples/wordcount.py, except for a single instance.
The error worker I'd in ctx metadata is an empty string is specific to id == "". This is a conditional after grpcx.ReadWorkerID successfully passes all checks for available metadata.FromIncomingContext, and the metadata.MD has the worker_id key, and finally that the length of the metadata.MD[worker_id] is 1.

worker id in ctx metadata is an empty string

```
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "worker id in ctx metadata is an empty string"
	debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"worker id in ctx metadata is an empty string", grpc_status:2, created_time:"2024-12-23T16:08:00.205761402-08:00"}"
>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 311, in _execute
response = task()
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 386, in
lambda: self.create_worker().do_instruction(request), request)
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 657, in do_instruction
return getattr(self, request_type)(
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 694, in process_bundle
bundle_processor.process_bundle(instruction_id))
File "sdks/python/apache_beam/runners/worker/bundle_processor.py", line 1274, in process_bundle
input_op_by_transform_id[element.transform_id].process_encoded(
File "sdks/python/apache_beam/runners/worker/bundle_processor.py", line 237, in process_encoded
self.output(decoded_value)
File "apache_beam/runners/worker/operations.py", line 567, in apache_beam.runners.worker.operations.Operation.output
File "apache_beam/runners/worker/operations.py", line 569, in apache_beam.runners.worker.operations.Operation.output
File "apache_beam/runners/worker/operations.py", line 260, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 263, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 1159, in apache_beam.runners.worker.operations.CombineOperation.process
File "apache_beam/runners/worker/operations.py", line 1163, in apache_beam.runners.worker.operations.CombineOperation.process
File "apache_beam/runners/worker/operations.py", line 569, in apache_beam.runners.worker.operations.Operation.output
File "apache_beam/runners/worker/operations.py", line 260, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 263, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 1159, in apache_beam.runners.worker.operations.CombineOperation.process
File "apache_beam/runners/worker/operations.py", line 1163, in apache_beam.runners.worker.operations.CombineOperation.process
File "apache_beam/runners/worker/operations.py", line 569, in apache_beam.runners.worker.operations.Operation.output
File "apache_beam/runners/worker/operations.py", line 260, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 263, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 950, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 951, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1503, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1591, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1501, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 689, in apache_beam.runners.common.SimpleInvoker.invoke_process
File "apache_beam/runners/common.py", line 1686, in apache_beam.runners.common._OutputHandler.handle_process_outputs
File "apache_beam/runners/common.py", line 1799, in apache_beam.runners.common._OutputHandler._write_value_to_tag
File "apache_beam/runners/worker/operations.py", line 263, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 950, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 951, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1503, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1591, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1501, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 917, in apache_beam.runners.common.PerWindowInvoker.invoke_process
File "apache_beam/runners/common.py", line 1059, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
File "apache_beam/runners/common.py", line 1686, in apache_beam.runners.common._OutputHandler.handle_process_outputs
File "apache_beam/runners/common.py", line 1799, in apache_beam.runners.common._OutputHandler._write_value_to_tag
File "apache_beam/runners/worker/operations.py", line 263, in apache_beam.runners.worker.operations.SingletonElementConsumerSet.receive
File "apache_beam/runners/worker/operations.py", line 950, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/worker/operations.py", line 951, in apache_beam.runners.worker.operations.DoOperation.process
File "apache_beam/runners/common.py", line 1503, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 1612, in apache_beam.runners.common.DoFnRunner._reraise_augmented
File "apache_beam/runners/common.py", line 1501, in apache_beam.runners.common.DoFnRunner.process
File "apache_beam/runners/common.py", line 917, in apache_beam.runners.common.PerWindowInvoker.invoke_process
File "apache_beam/runners/common.py", line 1000, in apache_beam.runners.common.PerWindowInvoker._invoke_process_per_window
File "sdks/python/apache_beam/runners/worker/bundle_processor.py", line 499, in getitem
self._cache[target_window] = self._side_input_data.view_fn(raw_view)
File "sdks/python/apache_beam/pvalue.py", line 389, in
lambda iterable: from_runtime_iterable(iterable, view_options))
File "sdks/python/apache_beam/pvalue.py", line 509, in _from_runtime_iterable
head = list(itertools.islice(it, 2))
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 1289, in _lazy_iterator
input_stream, continuation_token = self._get_raw(
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 1307, in _get_raw
self._underlying.get_raw(state_key, continuation_token))
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 1094, in get_raw
response = self._blocking_request(
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 1134, in _blocking_request
raise self._exception
File ".pyenv/versions/3.10.15/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File ".pyenv/versions/3.10.15/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "sdks/python/apache_beam/runners/worker/sdk_worker.py", line 1069, in pull_responses
for response in responses:
File "sdks/python/.venv/lib/python3.10/site-packages/grpc/_channel.py", line 543, in next
return self._next()
File "sdks/python/.venv/lib/python3.10/site-packages/grpc/_channel.py", line 969, in _next
raise self
RuntimeError: grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "worker id in ctx metadata is an empty string"
debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"worker id in ctx metadata is an empty string", grpc_status:2, created_time:"2024-12-23T16:08:00.205761402-08:00"}"

[while running 'Write/Write/WriteImpl/WriteBundles']

</details>

</summary>

R: @lostluck


Allow multiple NAT instances in the same zone

Our project has the following structure:

4 networks: mgmt, int, stg, prd
2 subnetworks for each network: us-east1-c, us-west1-a

When trying to create NAT instances, the following error is reported from terraform:
* module.mgmt-nat-us-west-1-a.module.nat-gateway.google_compute_firewall.default-ssh: 1 error(s) occurred:

* google_compute_firewall.default-ssh: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-west1-a-vm-ssh' already exists, alreadyExists
* module.stg-nat-us-west-1-a.module.nat-gateway.google_compute_health_check.mig-health-check: 1 error(s) occurred:

* google_compute_health_check.mig-health-check: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/healthChecks/nat-gateway-us-west1-a' already exists, alreadyExists
* module.mgmt-nat-us-west-1-a.google_compute_firewall.nat-gateway: 1 error(s) occurred:

* google_compute_firewall.nat-gateway: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-us-west1-a' already exists, alreadyExists
* module.prd-nat-us-east-1-c.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.int-nat-us-west-1-a.module.nat-gateway.google_compute_firewall.mig-health-check: 1 error(s) occurred:

* google_compute_firewall.mig-health-check: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-west1-a-vm-hc' already exists, alreadyExists
* module.stg-nat-us-west-1-a.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.mgmt-nat-us-east-1-c.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.int-nat-us-west-1-a.module.nat-gateway.google_compute_firewall.default-ssh: 1 error(s) occurred:

* google_compute_firewall.default-ssh: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-west1-a-vm-ssh' already exists, alreadyExists
* module.prd-nat-us-west-1-a.module.nat-gateway.google_compute_firewall.default-ssh: 1 error(s) occurred:

* google_compute_firewall.default-ssh: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-west1-a-vm-ssh' already exists, alreadyExists
* module.mgmt-nat-us-west-1-a.module.nat-gateway.google_compute_health_check.mig-health-check: 1 error(s) occurred:

* google_compute_health_check.mig-health-check: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/healthChecks/nat-gateway-us-west1-a' already exists, alreadyExists
* module.int-nat-us-west-1-a.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.prd-nat-us-east-1-c.module.nat-gateway.google_compute_firewall.default-ssh: 1 error(s) occurred:

* google_compute_firewall.default-ssh: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-east1-c-vm-ssh' already exists, alreadyExists
* module.mgmt-nat-us-east-1-c.module.nat-gateway.google_compute_firewall.mig-health-check: 1 error(s) occurred:

* google_compute_firewall.mig-health-check: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-east1-c-vm-hc' already exists, alreadyExists
* module.mgmt-nat-us-west-1-a.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.int-nat-us-east-1-c.google_compute_firewall.nat-gateway: 1 error(s) occurred:

* google_compute_firewall.nat-gateway: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-us-east1-c' already exists, alreadyExists
* module.int-nat-us-east-1-c.module.nat-gateway.google_compute_firewall.mig-health-check: 1 error(s) occurred:

* google_compute_firewall.mig-health-check: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-east1-c-vm-hc' already exists, alreadyExists
* module.int-nat-us-west-1-a.google_compute_firewall.nat-gateway: 1 error(s) occurred:

* google_compute_firewall.nat-gateway: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-us-west1-a' already exists, alreadyExists
* module.prd-nat-us-west-1-a.module.nat-gateway.google_compute_health_check.mig-health-check: 1 error(s) occurred:

* google_compute_health_check.mig-health-check: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/healthChecks/nat-gateway-us-west1-a' already exists, alreadyExists
* module.prd-nat-us-west-1-a.google_compute_firewall.nat-gateway: 1 error(s) occurred:

* google_compute_firewall.nat-gateway: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-us-west1-a' already exists, alreadyExists
* module.int-nat-us-east-1-c.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.mgmt-nat-us-west-1-a.module.nat-gateway.google_compute_firewall.mig-health-check: 1 error(s) occurred:

* google_compute_firewall.mig-health-check: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-west1-a-vm-hc' already exists, alreadyExists
* module.mgmt-nat-us-east-1-c.module.nat-gateway.google_compute_firewall.default-ssh: 1 error(s) occurred:

* google_compute_firewall.default-ssh: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-east1-c-vm-ssh' already exists, alreadyExists
* module.prd-nat-us-west-1-a.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.stg-nat-us-east-1-c.module.nat-gateway.google_compute_health_check.mig-health-check: 1 error(s) occurred:

* google_compute_health_check.mig-health-check: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/healthChecks/nat-gateway-us-east1-c' already exists, alreadyExists
* module.prd-nat-us-east-1-c.google_compute_firewall.nat-gateway: 1 error(s) occurred:

* google_compute_firewall.nat-gateway: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-us-east1-c' already exists, alreadyExists
* module.stg-nat-us-east-1-c.google_compute_address.default: 1 error(s) occurred:

* google_compute_address.default: Cannot determine region: set in this resource, or set provider-level 'region' or 'zone'.
* module.mgmt-nat-us-east-1-c.google_compute_firewall.nat-gateway: 1 error(s) occurred:

* google_compute_firewall.nat-gateway: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-us-east1-c' already exists, alreadyExists
* module.prd-nat-us-east-1-c.module.nat-gateway.google_compute_firewall.mig-health-check: 1 error(s) occurred:

* google_compute_firewall.mig-health-check: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-east1-c-vm-hc' already exists, alreadyExists
* module.mgmt-nat-us-east-1-c.module.nat-gateway.google_compute_health_check.mig-health-check: 1 error(s) occurred:

* google_compute_health_check.mig-health-check: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/healthChecks/nat-gateway-us-east1-c' already exists, alreadyExists
* module.int-nat-us-east-1-c.module.nat-gateway.google_compute_firewall.default-ssh: 1 error(s) occurred:

* google_compute_firewall.default-ssh: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-east1-c-vm-ssh' already exists, alreadyExists
* module.int-nat-us-east-1-c.module.nat-gateway.google_compute_health_check.mig-health-check: 1 error(s) occurred:

* google_compute_health_check.mig-health-check: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/healthChecks/nat-gateway-us-east1-c' already exists, alreadyExists
* module.prd-nat-us-west-1-a.module.nat-gateway.google_compute_firewall.mig-health-check: 1 error(s) occurred:

* google_compute_firewall.mig-health-check: Error creating firewall: googleapi: Error 409: The resource 'projects/<<project-redacted>>/global/firewalls/nat-gateway-us-west1-a-vm-hc' already exists, alreadyExists

It seems that the zone is used as a name in different places, making it non-unique across different networks. I'd be happy to contribute a patch 😃

Good catch, maybe if we add an input variable called name and add that as a prefix to these resource names so they don't conflict. Make it optional so the convention just works for those who don't need multiple NAT instances in the same zone.

Sounds good, do you want me to open a PR for it?

@vinceprignano I'm almost done implementing the change and validating it with a new example. I'll add you to the PR to review it before merging.

Awesome thanks!


TodoApp example returns 404

Hello,
I noticed that this link in the README, can't be found:
https://github.com/digitallyinduced/thin-backend/tree/master/Examples/TodoApp

Just fixed the link :) The todo example app is here https://github.com/digitallyinduced/ihp-backend-todo-app


Update raspberrypi-firmware to 20231027 to support CM4 1.1 and Pi3B+ 1.4

Fixes #1173

CC @agherzan

This is a tricky one, as you might expect. We are bumping a pretty fundamental package in the BSP in a long-term supported branch. Your commit log needs to be a rationale about this enough to make a decision and document the possible impact and known gains. Also - please take a look at https://meta-raspberrypi.readthedocs.io/en/latest/contributing.html and restructure your commit a bit.

I'll close this PR for now but feel free to comment and we can resurrect it if needed. Thanks.

I know this issue has been closed for almost a year but I wanted to add some information to this problem. I ran into an issue where new CM4:ors would complain about the firmware of the image created using Yocto and this meta layer for Raspberry Pi. I used the Dunfell version of Yocto and the firmware version used by the Dunfell branch of meta-raspberrypi points to a too-old version for newer CM4:ors. To solve our issue I used the fix suggested by @ColinFinck  by adding bootfiles.bbappend to override the variables. After testing on old and new CM4 devices, this update solved my issues with the firmware version. This fix would be useful if it could be added to the Dunfell branch but for now, my fix solves the issue for me. Just wanted to add information that this "problem" affected another user as well and that the fix could be something worth looking into.


fix: Don't publish incomplete verification results #1166

Fixes https://github.com/DiUS/pact-jvm/issues/1166
What is the best way to test this? I would like to add tests similar to the JUnit 4 ones. But I don't know how.

I’m not familiar with that area of the code to comment on the implementation, but it would be good to see some tests added, at least to reproduce/cover the fix.

I’m not familiar with that area of the code to comment on the implementation, but it would be good to see some tests added, at least to reproduce/cover the fix.

I can add the most basic test to ensure that respective methods are called. I just thought it would be better to also add a test on an integration test level.

I added the simple test.


⚠ Guya.moe Proxied has degraded performance

In f9a7aab, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 12298 ms

Resolved: Guya.moe Proxied performance has improved in c01cacc after 1 hour, 44 minutes.


Why does NtQueryVirtualMemory fail?

I am trying to hook NtQueryVirtualMemory as follows:
#include "stdafx.h"
#include "Blackbone/src/BlackBone/Process/Process.h"
#include "Blackbone/src/BlackBone/LocalHook/LocalHook.hpp"

using namespace blackbone;

typedef NTSTATUS(NTAPI* tNtQueryVirtualMemory)(HANDLE ProcessHandle,
	PVOID BaseAddress, MEMORY_INFORMATION_CLASS MemoryInformationClass,
	PVOID Buffer, ULONG Length, PULONG ResultLength);

Detour<tNtQueryVirtualMemory> detour;
tNtQueryVirtualMemory orig;

NTSTATUS NTAPI Hook(HANDLE& ProcessHandle,
	PVOID& BaseAddress, MEMORY_INFORMATION_CLASS& MemoryInformationClass,
	PVOID& Buffer, ULONG& Length, PULONG& ResultLength)
{
	detour.Restore();
	auto res = orig(ProcessHandle, BaseAddress, MemoryInformationClass, Buffer, Length, ResultLength);
	detour.Hook(orig, &Hook, HookType::Int3, CallOrder::NoOriginal, ReturnMethod::UseNew);
	return res;
}

int main()
{
	Process thisProc;
	thisProc.Attach(GetCurrentProcess());
	auto ntdll = GetModuleHandle(L"ntdll.dll");
	auto ntqvm = GetProcAddress(ntdll, "NtQueryVirtualMemory");
	orig = reinterpret_cast<tNtQueryVirtualMemory>(ntqvm);
	MEMORY_BASIC_INFORMATION mbi = {0}, mbi2 = {0};
	VirtualQuery(&Hook, &mbi, sizeof(mbi));
	detour.Hook(orig, &Hook, HookType::Int3, CallOrder::NoOriginal, ReturnMethod::UseNew);
	VirtualQuery(&Hook, &mbi2, sizeof(mbi2));
    return 0;
}

However I'm doing something wrong because it fails after ntqvm is hooked.. The mbi2 is just completely empty. I think, maybe some recursion is happening since the Detour class checks to see if it has write permissions before enabling/disabling? So do you have a suggestion how I can hook this function with blackbone.
Visual studio debugger is not helpful. It just says "program.exe has triggered a breakpoint."
Regards
-b

Fix function prototype:
typedef NTSTATUS( NTAPI* tNtQueryVirtualMemory )(
    HANDLE ProcessHandle,
    PVOID BaseAddress, MEMORY_INFORMATION_CLASS MemoryInformationClass,
    PVOID Buffer, SIZE_T Length, PSIZE_T ResultLength
    );

Proper hook syntax would be:

NTSTATUS NTAPI Hook(
    HANDLE& ProcessHandle, PVOID& BaseAddress,
    MEMORY_INFORMATION_CLASS& MemoryInformationClass,
    PVOID& Buffer, SIZE_T& Length, PSIZE_T& ResultLength
    )
{
    auto pmbi = reinterpret_cast<PMEMORY_BASIC_INFORMATION>(Buffer);
    std::wcout << std::hex << L"Hook: mbi2.BaseAddress: 0x" << pmbi->BaseAddress << std::endl;
    pmbi->BaseAddress = (PVOID)0xDEADBEEF;
    return STATUS_SUCCESS;
}

int main()
{
    Process thisProc;
    thisProc.Attach( GetCurrentProcessId() );
    auto ntdll = GetModuleHandle( L"ntdll.dll" );
    auto ntqvm = GetProcAddress( ntdll, "NtQueryVirtualMemory" );
    orig = reinterpret_cast<tNtQueryVirtualMemory>(ntqvm);
    MEMORY_BASIC_INFORMATION mbi = { 0 }, mbi2 = { 0 };
    ULONG bytes = 0;
    VirtualQuery( &Hook, &mbi, sizeof( mbi ) );
    std::wcout << L"mbi.BaseAddress: " << std::hex << mbi.BaseAddress << std::endl;
    detour.Hook( orig, &Hook, HookType::Int3, CallOrder::HookLast, ReturnMethod::UseNew );
    VirtualQuery( &Hook, &mbi2, sizeof( mbi2 ) );
    std::wcout << L"mbi2.BaseAddress: " << std::hex << mbi2.BaseAddress << std::endl;
    return 0;
}

VS debugger can't handle Int3 hooks because of its own exception handler.


Remove obsolete secp256k1git / mysecp256k1 / Simplicity.Libsecp256k1.FFI

Where is this repo published ?

Are you looking for https://github.com/ElementsProject/simplicity/pull/34 or for https://github.com/ElementsProject/simplicity/blob/master/Haskell/Core/Simplicity/Programs/LibSecp256k1.hs?

Nope, I'm referring to the secp256k1git parameter of the mylibsecp256k1.nix derivation.

These things are remnants of obsolete code and they are not used in the build process.  I will remove them.
The old functionality will be replaced by the code in PR #34.

Thanks

Fixed in #138.


font weights

Does this only work with certain icon sets? I have tried numerous combinations:
<Icon name={'chevron-left'} style={{fontWeight:'900'}} color='white' size={28} />  ``<Icon name={'chevron-left'}fontWeight='900' color='white' size={28} />
<Text style={{paddingLeft: 20, paddingTop: 8, fontWeight: '100'}}><Icon name={'chevron-left'} fontWeight='900' color='white' size={28} /></Text>
 <Text style={{paddingLeft: 20, paddingTop: 8}}><Icon name={'chevron-left'} fontWeight='900' color='white' size={28} /></Text>
Nothing seems to change the actual weight.

Yes, icons don't have font weights :-)

But they do have font sizes, haha!

If you would like to use really thin icons you can use my library which just adds another font to react-native-vector-icons with customised thinner Feather icons!
https://github.com/sinodko/react-native-feather1s

Is it possible to consider adding this property?

So there's no way to change the weight of the icons?
I wanted to make some effect like if the user is at some tab, the icon of it become thicker