VSCode's CMD in Windows should automatically erase the entire terminal when full or use ANSI \e[0;4H

Basically, I wrote a game in C which works great in windows CMD but buffering in Linux Terminal this issue is solved using \33[0;4H printed at the beginning of each print to set it to the top and erase what was printed using insert mode (equivalent to $ printf '\e[0;4H'), but in VSCode CMD on Windows it's not working...

The H sequence you mention moves the cursor, it doesn't erase anything:

CSI Ps ; Ps H
Cursor Position [row;column] (default = [1,1]) (CUP).

Do you mean J or K? Any differences with Windows could be due to how the backend "conpty" works.

The H sequence you mention moves the cursor, it doesn't erase anything:

Of course, it doesn't erase anything directly, the next print(f) statement replaces the previous text...

Ah ok, I suspect this is due to conpty because of the way it renders is not like a regular terminal.

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.
/label upstream terminal-conpty windows


cloudsql-proxy-kubexit image

Hi,
I'm very happy that I found your repo in this discussion.
The scenario that you are describing in this example is exactly what I'm trying to achieve. I've got a pod running consisting of an import job (Kotlin/Spring Boot) as well as a Cloud SQL proxy instance. Since the proxy does not terminate the pod is running forever...
But now I've got a question regarding your sample job specification. Which image are you using for this container? Do I have to build a custom image of Cloud SQL proxy including kubexit?
Thank you in advance,
Hendrik

There’s 3 options:

build kubexit into a custom image
provision kubexit on every node and use a bind mount volume to access it in the container
use karlkfi/kubexit an init container and copy kubexit into a shared ephemeral volume that is mounted into your other containers

Personally I think option 3 is the easiest, but ymmv.

Thanks, after some trial and error option 3 works perfectlyin my setup!

@thr0n Any chance you could share your solution/manifest? I'm attempting a similar setup.


ktouch: init at 18.12.0

Motivation for this change
Follow-up to #53256
A small fix for qtdeclarative was necessary to get it built (see respective commit), which causes plenty of rebuilds of dependants.
Things done

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

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

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

On Hydra this package never built successfully on master: https://hydra.nixos.org/job/nixpkgs/trunk/ktouch.x86_64-linux/all  Now reported as https://github.com/NixOS/nixpkgs/issues/56097
However, on 18.09 it does build.


Create post_compress plugin, fixes #191

Don't merge yet.
There are still modifications that need to be done in other plugins, like pulp_push, cp_built_image_to_nfs or store_metadata_in_osv3. One thing I'm struggling with is whether all of these plugins should first check for presence of compressed image and then for presence of plain exported image if compressed image is not found. This seems to be pretty fragile.
More general way of solving this would be introducing a list (in DockerBuildWorkflow) that holds metadata dicts that correspond to all steps done to an exported image. Every plugin that would do something with the exported image would just add a dict with metadata to the end of this list. Right now, it could contain metadata for exported_squashed_image and exported_compressed_image. This way, plugins like pulp_push would just work with the last metadata structure and wouldn't have to care how many steps have actually changed the exported image. Also, 3rd party plugins wouldn't need to touch DockerBuildWorkflow, they'd just append a new dict to the end of that list, so everything would be quite dynamic.
Does this sound ok? If so, I'll create another commit that implements it and add it to this PR. If someone thinks of something better, feel free to propose your idea!

So I added another commit that does what I proposed in my previous comment. This is now ready for review, but I'm still testing to see whether everything works now.

Also, we may want to rename PulpPushPlugin constructor argument load_squashed_image to more general load_exported_image, since generally the exported image can be processed by various plugins, not just squashed; but I'm thinking that this may be an unnecessary breakage for users... Not sure.

Maybe the PulpPushPlugin constructor could accept both load_squashed_image and load_exported_image for the time being, but issue a warning if load_squashed_image is used.
This approach, with the metadata list, looks good to me.

@twaugh good point. I'll do that and add another commit.

LGTM

I just added a simple test case that tests the basic functionality of the plugin. Should be ok to merge now.

One thing to note: this PR removes the auto compression done by pulp_push plugin, which may not be what we want. I'll try to investigate if there's a sane way to automatically invoke compress plugin before pulp_push, so that we always push compressed tarball without changing the default build jsons.
So don't merge yet, more commits coming on Monday (probably) :)

Looks good - why store all the exported image metadata, though? For debugging or auditing purposes? The current code is always working with the last one.

Looks good - why store all the exported image metadata, though? For debugging or auditing purposes? The current code is always working with the last one.

Yes, debugging and auditing was my primary reason for not throwing away these.

The more I think about this, I'm in favor of changing the default build jsons. It seems to me that it's better to be explicit about the compression (and explicitly select compression type). Making plugins use and depend on each other this way feels counter-intuitive and may be pretty hard to maintain in the long run. Thoughts @TomasTomecek @twaugh @mmilata?

Something to keep in mind when we address #85.
I'm happy with having the default build JSON be explicit about compression.

@bkabrda agreed.
My PR #220 has similar problem which I tried to solve by introducing code that automatically inserts the plugin, and which can be removed after some time when clients have been upgraded: https://github.com/projectatomic/atomic-reactor/blob/pull-base-image-plugin/atomic_reactor/plugins/input_osv3.py#L45 Haven't got any feedback so far, so not sure if it's a good idea.

Oh, that's where I saw it.

So I think this is good to merge. I'll open a bug for updating default build json when this is closed.


[CUDA] Enable tiling for pooling and re-enable execution test

failures typically reveal via integration tests.
Please, feel free to report such cases to me, that hasn't been my experience. If this is the case I'd like to know :)

failures typically reveal via integration tests.

Please, feel free to report such cases to me, that hasn't been my experience. If this is the case I'd like to know :)

The pooling ops here are examples right? It's revealed by e2e xla runtime tests. ("Integration test" might be a bit confusing; I didn't mean integrating across GitHub and Google internal repo. But generally runtime tests would require special development environment that may not enabled everywhere and presubmit.) It might worth having a case in distribute_to_thread.mlir for pooling ops so in the future if we touch how pooling ops are handled they will be caught there. :) But I do see we have much more tests in LLVMGPU/test than before. So my impression was outdated. Sorry about that! I'm just hitting a special corner case here. :)

failures typically reveal via integration tests.

Please, feel free to report such cases to me, that hasn't been my experience. If this is the case I'd like to know :)

The pooling ops here are examples right? It's revealed by e2e xla runtime tests. ("Integration test" might be a bit confusing; I didn't mean integrating across GitHub and Google internal repo. But generally runtime tests would require special development environment that may not enabled everywhere and presubmit.) It might worth having a case in distribute_to_thread.mlir for pooling ops so in the future if we touch how pooling ops are handled they will be caught there. :) But I do see we have much more tests in LLVMGPU/test than before. So my impression was outdated. Sorry about that! I'm just hitting a special corner case here. :)

Well the pooling case was a legit bug existing independently of your change, not sure why the integration test was passing in a first place, it should have been failing. Bugs will always be there unfortunately, this is annoying when they are exposed by other changes, sorry you had to deal with that. I'm honestly curious about the impression that it is lacking unit testing, feel free to just send me an informal ping me when you run into this kind of cases.


update e2e

Signed-off-by: x893675<EMAIL_ADDRESS>Signed-off-by: x893675<EMAIL_ADDRESS>
What type of PR is this?

/area testing
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #445
Special notes for reviewers:

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

/lgtm
/approve


Complains about CoreGui

Describe the bug

it is giving warnings about coregui
Expected behavior

not give warnings about coregui
Steps to reproduce

install plugin

Error message, screenshots, and extra context

also, the plugin doesn't work at all for me. not sure if it's related.

This is something we should filter for. Possibly by omitting CoreGui and other internal services from searches for storybooks.
In the meantime, the reason you're getting this is likely from this Studio setting being enabled:

If you don't have a pertinent need to dig around in CoreGui you can turn off that setting so you can use flipbook without the warning spam.
In terms of it not working at all for you, I'd need more info to be able to diagnose what's wrong


VSCode's Duplicate Workspace

VSCode allows to open a duplicated workspace, and it looks like working with R as well.
In the duplicated workspace, the same R session would be attached, and everything typed in the main terminal would be shown in the duplicated workspace, including plots.
However,

any objects created in the main workspace cannot be called or used in the duplicated workspace (except that plots would appear in the duplicated window);
once the duplicated workspace is closed, the R session losts connection even in the main workspace. Still can do everything, but no more shown in the workspace, and with following error messages.

Is Duplicate Workspace something that can be truly supported for R so that objects can be shared?
r$> .vsc.attach()
Error in file(con, "w") : cannot open the connection
In addition: Warning message:
In file(con, "w") :
  cannot open file 'C:\Users\xxx\AppData\Local\Temp\RtmpUDYfJA/vscode-R/addins.json': No such file or directory

r$> plot(1:10)
cannot open the connectionwarning messages from top-level task callback 'vsc.globalenv'
Warning message:
In file(con, "w") :
  cannot open file 'C:\Users\xxx\AppData\Local\Temp\RtmpUDYfJA/vscode-R/globalenv.json': No such file or directory

Never heard of the term Duplicate workspace. Would you like to point to an official documentation or something about this?

Never heard of the term Duplicate workspace. Would you like to point to an official documentation or something about this?

You can create one just in File -> Duplicate Workspace.
It will open a second window. Then, clicking on the R session ID in the main window, you can see the objects would appear in the duplicated R workspace.

I could reproduce this.
It is caused by that when an R terminal is started in either of the instances of duplicate workspaces, both instances watch the same ~/.vscode-R/request.log and receive the "attach" request since both find that the working directory of the session is identical to the current workspace folder and conclude that it should attach to the session.
If we could somehow distinguish the two instances of the same workspace folder and let the handling of the requests not only check the working directory but an identity of the request sender (e.g. vscode pid), then duplicate workspaces could work properly.


Error: Cannot find module on lift

Receiving a 'Cannot find module' error on lift. I believe this is due to 'require' being executed in the context of the node_modules/sails-hook-parametrized-policies directory.
I was able to fix by changing index.js#78 from
var factory = require(sails.config.paths.policyFactories + '/' + factoryName);

to
var factory = require(sails.config.appPath + sails.config.paths.policyFactories + '/' + factoryName);

Would you be willing to accept a PR with this change?

just released version 0.3.1 to fix this issue
Let me know if you run into any other issues!


#126: Ensure code ids are unique in Editor

Should also fix in FileUtils.ts:loadDataset:switch:DuplicatedMessageIdMode.NewIds


[BUG] Corrupting one of the snapshot in the chain from one of the replicas results in loss of data.

Describe the bug
If a snapshot data in one of the replica is corrupted, The data get lost.
To Reproduce
Steps to reproduce the behavior:

Create a volume (3 replicas, 3 nodes), attach it to a pod.
Write data to volume and take snapshot( repeat this for 3 snapshots). S1, S2 and S3
Go to the one of the node and delete/modify the content of a snapshot S2. volume-snap----.img
Revert to snapshot S2 or any snapshot taken after S2.
Check the data in volume.
The data after snapshot S2 will be gone.

Expected behavior
A replica should have rebuilt and data should get replaced with other correct replica.
Environment:

Longhorn version: Master- 05-04-2020
Kubernetes version: v1.17.5 rancher1-3
Node OS type and version: ubuntu 18.04 do node

This is not fixable currently in Longhorn since we don't have ECC or similar mechanism.
We can provide a workaround to identify and delete the corrupted replica.

@khushboo-rancher  Can you confirm the following:

We will see the sane problem reported even when you revert to S3 which is 1 snapshot ahead of the corrupted snapshot ? Basically we will see this problem when reverting to any snapshot that has the corrupted snapshot in its chain ?
Also in the scenario mentioned ,
Instead of these steps (after S2 is corrupted),

Revert to snapshot S2.
Check the data in volume.

If we try to just read/write to the volume , is there a possibility that we will we also encounter the same issue ?

Tested the following scenarios
Scenario#1

attach volume to a node
Write Data to file1 -->S1
Write Data to file2 --> S2
Write Data to file3 --> S3
Corrupt S2 data on one replica
Write more data to volume - create file4
Take a new Snapshot -> S4
Revert to S3
Volume has file1 ONLY.

Expected:
Data should NOT be lost.
Volume should have file1, file2, file3
Scenario#2
Volume has only ONE replica

attach volume to a node
Write Data to file1 -->S1
Write Data to file2 --> S2
Write Data to file3 --> S3
Corrupt S2 data on the replica
detach the volume, attach the volume

Trying to access the volume on the node gives the below error
mount vol-new-2 /mnt/new2/
mount: /mnt/new2: wrong fs type, bad option, bad superblock on /dev/longhorn/vol-new-2, missing codepage or helper program, or other error.

Note:
Without detaching and reattaching the volume, no issue is seen while writing/reading from the data.

With reference to https://github.com/longhorn/longhorn/issues/1298#issuecomment-624863479
Yes, we will see the problem when reverting to any snapshot after the corrupted snapshot. I've updated the steps to reproduce.

As we discussed, any snapshot after the corrupted one has no guarantee to be right. But the one before corruption should be fine.
I am planning to address how to figure out which replica is bad in https://github.com/longhorn/longhorn/issues/60 , so user can delete it and workaround the issue.

Documentation ready at https://github.com/yasker/longhorn/wiki/Data-recovery-[DRAFT] . Will be moved to the website soon.
Regarding this issue, it's https://github.com/yasker/longhorn/wiki/Identify-the-corrupted-replica-[DRAFT]

I think this issue can be closed because the docs are merged

@khushboo-rancher Can you try the instruction on https://staging.longhorn.io/docs/0.8.1/advanced-resources/data-recovery/corrupted-replica/

Instructions are clear and work, but do we really have to scale down the workload?
If it is precautionary measure and user should do it, should we add a last point something like below?
scale up the workload and you will see error is gone and data is intact

@khushboo-rancher It's better to scale down the workload otherwise any write on the fly will cause the checksum to be different.
I've added the last line in the PR at https://github.com/longhorn/website/pull/133

@khushboo-rancher document updated at https://staging.longhorn.io/docs/1.0.0/advanced-resources/data-recovery/corrupted-replica/

https://staging.longhorn.io/docs/1.0.0/advanced-resources/data-recovery/corrupted-replica/ looks good.


ADS hangs opening folder

Azure Data Studio Version: insider
OS Version: Windows

Steps to Reproduce:

Open ADS and pick a folder to open from "Open Folder" command

Expected: ADS loads folder
Actual: ADS hangs.  I've only been able to repro with insiders build on Windows.  Open Folder is working fine for me on mac & on Windows in dev env and locally packaged build.

@kburtram Did you mean to close this with https://github.com/microsoft/azuredatastudio/pull/20934 or are you waiting to validate it with a packaged build?


[WIP][SQL] Don't always trust primitive types being not-nullable from Scala type information when creating Encoders

What changes were proposed in this pull request?
TBD
How was this patch tested?
TBD
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

Hi, @rednaxelafx .
Shall we close this PR for now? You can create an Apache Spark JIRA and restart when you're ready~. :)

Sure thing, let's close this one for now. Thanks!

Thanks~ :)


Add initial solution and code examples

Adds a simple Microsoft.ProjectReunion.dll project, solution, and test environment, along with instructions on how to extend the solution further.
Note that this does not produce a NuGet or Framework package yet and is not intended for consumption by applications.
Tried adding a CSWinRT sample, but couldn't get it to work.  I'll ping @kennykerr or @Scottj1s  and see if they can help.

ProjectReunion.sln – open this in VS2019
Build_all.cmd – Builds all combinations (release, debug)|(x86, x64, arm, arm64)
dev – Code that’ll be included in built artifacts goes here

ProjectReunion_DLL – Builds a DLL out of multiple shared C++ projects; C++17, C++/WinRT, full exceptions enabled
SampleFlatC – Sample project exposing “flat C” APIs. See README.md for additional notes
SampleWinRT – Sample project exposindg a C++/WinRT-implemented WinRT API

Test – Projects that build tests

CppTest – Test (unpackaged) project that consumes the *Shared projects
CppTest_UWP – Test (packaged, UWP) project that consumes the *Shared projects
CppShared – Sample test code

Note that Test doesn’t build for ARM64 as the cppunittestframework is blocked on that architecture

Now that you're adding code, I highly highly recommend getting a CI build going. It doesn't have to be anything fancy to begin with. You can simply use a yml file with GitHub actions to get started.
Here's an example of a WinRT component project using msbuild that you can crib from:
https://github.com/microsoft/TestWinRT/tree/master/.github/workflows
You can manage the builds here:
https://github.com/microsoft/TestWinRT/actions
But at least you'll have some assurance that the PR is sound before completing.

Now that you're adding code, I highly highly recommend getting a CI build going. It doesn't have to be anything fancy to begin with. You can simply use a yml file with GitHub actions to get started.

Thanks! I wasn't sure if I had to have code in place first, or if the first real PR could also start the CIs.  I'll look into those pointers.


ESP32S3 BLE Advertise On Single Channel (IDFGH-9688)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
V4.4
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
How can I make the ESP32S3 only transmit on a single channel, e.g. channel 37?
What is the actual behavior?
How can I make the ESP32S3 only transmit on a single channel, e.g. channel 37?
Steps to reproduce.
How can I make the ESP32S3 only transmit on a single channel, e.g. channel 37?
Build or installation Logs.
How can I make the ESP32S3 only transmit on a single channel, e.g. channel 37?
More Information.
How can I make the ESP32S3 only transmit on a single channel, e.g. channel 37?

The adv params contains channel_map member  variable, such as below:
typedef struct {
    uint16_t                adv_int_min;        /*!< Minimum advertising interval for
                                                  undirected and low duty cycle directed advertising.
                                                  Range: 0x0020 to 0x4000 Default: N = 0x0800 (1.28 second)
                                                  Time = N * 0.625 msec Time Range: 20 ms to 10.24 sec */
    uint16_t                adv_int_max;        /*!< Maximum advertising interval for
                                                  undirected and low duty cycle directed advertising.
                                                  Range: 0x0020 to 0x4000 Default: N = 0x0800 (1.28 second)
                                                  Time = N * 0.625 msec Time Range: 20 ms to 10.24 sec Advertising max interval */
    esp_ble_adv_type_t      adv_type;           /*!< Advertising type */
    esp_ble_addr_type_t     own_addr_type;      /*!< Owner bluetooth device address type */
    esp_bd_addr_t           peer_addr;          /*!< Peer device bluetooth device address */
    esp_ble_addr_type_t     peer_addr_type;     /*!< Peer device bluetooth device address type, only support public address type and random address type */
    esp_ble_adv_channel_t   channel_map;        /*!< Advertising channel map */
    esp_ble_adv_filter_t    adv_filter_policy;  /*!< Advertising filter policy */
} esp_ble_adv_params_t;

If you want to fix channel 37, you need to set this value to 0x1.

Thanks for reporting, feel free to reopen.


WIP: Update for latest book theme

This adds some minor updates to reflect changes that are inherited by the newest release of the sphinx book theme (and pydata sphinx theme)
To do

[x] https://github.com/executablebooks/sphinx-book-theme/pull/668
[x] Confirm that there are no UX regressions
[ ] Wait for a new pre-release and update the version here

OK we have a release candidate of the book theme out, so I'm going to merge this one and we can iterate from there, since this PR is already quite large and a bit unwieldy :-)


Zephyr was unable to find the toolchain after update to zephyr version 1.13.0

Describe the bug
Since older version Zephyr 1.13.0 is needed for project, so I get the older version by git checkout xxx to get the version.
-cd ~/build_folder
-cmake –Gninja /home/usr/zephyr_workspace/project_name

Expected behavior
The build shall succeed

Screenshots or console output
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3.4")
-- Selected BOARD stm32f4_disco_bb
Zephyr version: 1.13.0
Parsing Kconfig tree in /home/neo/zephyr/Kconfig
Loading /home/neo/zephyr_workspace/boards/arm/stm32f4_disco_bb/stm32f4_disco_bb_defconfig as base
Merging /home/neo/zephyr_workspace/bme680/prj.conf
warning: TEST_RANDOM_GENERATOR (defined at subsys/random/Kconfig:8) was assigned the value 'y' but
got the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig'
interface (see the Application Development Primer section of the manual), or in the Kconfig
reference at http://docs.zephyrproject.org/reference/kconfig/CONFIG_TEST_RANDOM_GENERATOR.html
(which is updated regularly from the master branch). See the 'Setting configuration values' section
of the Board Porting Guide as well.
CMake Error at /home/neo/zephyr/cmake/compiler/gcc.cmake:18 (message):
Zephyr was unable to find the toolchain.  Is the environment misconfigured?
User-configuration:
ZEPHYR_TOOLCHAIN_VARIANT: zephyr
Internal variables:
CROSS_COMPILE:
/home/neo/zephyr-sdk-0.10.3/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-
TOOLCHAIN_HOME: /home/neo/zephyr-sdk-0.10.3/sysroots/x86_64-pokysdk-linux
Call Stack (most recent call first):
/home/neo/zephyr/cmake/toolchain.cmake:57 (include)
/home/neo/zephyr/cmake/app/boilerplate.cmake:252 (include)
CMakeLists.txt:6 (include)
Environment (please complete the following information):

OS: ( Linux 18.04)
Toolchain (Zephyr SDK, cmake)
Zephyr SDK  0.10.3
cmake version 3.13.3

After update the west
west build -b reel_board samples/hello_world
shows usage: west [-h] [-z ZEPHYR_BASE] [-v] {flash,debug,debugserver} ...
west: error: argument command: invalid choice: 'build' (choose from 'flash', 'debug', 'debugserver')
does it has effect to cmake build?
thank you guys in advance!

Since older version Zephyr 1.13.0 is needed for project, so I get the older version by git checkout xxx to get the version.

1.13 is not currently supported, have you considered migrating to the 1.14 LTS release, which is supported for two years?

@nanjunneo, I suspect you will need to stick with the zephyr-sdk-0.9.3-setup.run toolchain that was released with 1.13.0 and documented in the 1.13.0 startup guide. As @andrewboie indicates, 1.14 LTS release will be supported for two years from release.

@andrewboie  Thank you very much!  The version is quite old. I will update it to the new version for further developing.

@dleach02 thank you so much.  I downloaded the SDK 0.9.3 and it works properly!!


v4 release

Quick question, wasn't todays merge of the AutoFixture v4 branch supposed to submit new NuGet packages or is that intentionally left for later?
I see in the build that the version number didn't change.

@ebbeflarup Thanks for following us 😉 Commits to the master are not supposed to trigger new releases. Rather, we need to create a tag to start the release process. I'm going to do that soon, so you'll see a published package 😉

JFYI: I released v4 rc1 to the NuGet now 😉

@zvirja any timeline for the RTM? (I know, I'm greedy)

@Kralizek Do you have any issues using RC? :wink:

@zvirja not at all. But I want to update our internal packages to use the v4 and dotnet pack gives a nasty warning about using preview packages into non-preview ones :P
My internal package used to be a metapackage with

NUnit
AutoFixture
Moq

But I will change it so that it also includes AutoMoq and AutoFixture.NUnit3 and a definition of [AutoMoqInlineData] attribute.

Now I see it, thanks. Well, I'm going to release RTM after we finish all the issues in the scope. Probably, it will take a couple of weeks.

@zvirja just to ensure I understand correctly: I can safely update to 4.0 RC cause what is left are only couple bugs. And if this bugs don't influence me (they don't), nothing will be broken between RC and final version?

@kmorcinek Basically yes, that's why how I see that as well. The only minor breaking change is related to #905, but it's unlikely that you will observe it. Even if so, it's a trivial one to fix.


[retry]: server side retry for child workflow

Implemented https://github.com/uber/cadence/commit/c18338477f1b56f87569cc239b10febbd69f682e


fix broken links on README.md

fix broken links on previous PR
@jarrpa -  ooops!  I had a typo in the link

Good catch.


[BUG] EHOSTUNREACH error

Describe the bug
Cannot connect to Harmony Hub - repeatedly gives message:
[30/09/2023, 19:42:07] [HarmonyHub] (HarmonyHub)INFO - Loading activities...
[30/09/2023, 19:42:10] [HarmonyHub] (HarmonyHub)Error - Error retrieving info from hub : request to http://<IP_ADDRESS>:8088/ failed, reason: connect EHOSTUNREACH <IP_ADDRESS>:8088-(79)
Raspbian GNU/Linux Bullseye (11)
Homebridge v1.6.1
Node v 18.16.0
npm 9.5.1
Logs
Your log in debug mode (-D option)
Config
{
"name": "Harmony Hub",
"hubIP": "<IP_ADDRESS>",
"hubName": "HarmonyHub",
"DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,
"HUB_CONNECT_TIMEOUT": 10000,
"HUB_SEND_TIMEOUT": 30000,
"TVAccessory": true,
"sortInput": 0,
"otherPlatforms": [
{
"TVAccessory": false,
"sortInput": 0
}
],
"platform": "HarmonyHubWebSocket",
"_bridge": {
"username": "0E:36:98:6A:53:6B",
"port": 57345
}
}
Additional context
Add any other context about the problem here.

Hi, it seems your homebridge device can't reach the network / your hub . Double check that your hub has a static ip, that is reachable from your homebridge device.


Gradle plugin fails with Could not find org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.12

Expected Behavior
I can run Detekt on a multi-project build
Observed Behavior
Build fails with:
> Task :core:detekt FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:detekt'.
> Could not resolve all files for configuration ':core:detekt'.
   > Could not find org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.12.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-html-jvm/0.6.12/kotlinx-html-jvm-0.6.12.pom
     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
     Required by:
         project :core > io.gitlab.arturbosch.detekt:detekt-cli:1.2.0

Steps to Reproduce
Example build.gradle:
buildscript {
    repositories {
        jcenter()
    }
}

plugins {
    id 'org.jetbrains.kotlin.jvm' version '1.3.61' apply false
    id "io.gitlab.arturbosch.detekt" version "1.2.0" apply false
}

subprojects {
    apply plugin: 'kotlin'
    apply plugin: "io.gitlab.arturbosch.detekt"

    repositories {
        mavenCentral()
    }
}

Context
I can run Detekt if I downgrade it to 1.1.0.
Your Environment

Version of detekt used: 1.2.0
Version of Gradle used (if applicable): 6.0.1
Operating System and version: Kubuntu 19.10
Link to your project (if it's a public repository):

Try adding jcenter to the repositories and it should work.
@schalkms @BraisGabin kotlinx.html does not seem to be hosted at maven central -> https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-html-jvm?repo=jcenter
this will lead to followup support issues which request to be compatible with maven central :/

Yes, jcenter helps.

I'm not sure how much effort we need for migrating back to our own HTML DSL.

https://github.com/Kotlin/kotlinx.html/issues/81 and https://github.com/Kotlin/kotlinx.html/issues/116 points the same.
We could go back to a custom dsl... but it would be kind of painfull. I moved to kotlinx.html because it was difficult to mantain and extend the current one. And I don't know if it have sense for us to expend time building an maintaing a custom html dsl.

We should stick with kotlinx.
Jcenter has problems but Gradle since 5.1 has tools to control which dependencies are pulled from certain repos which I think is a reasonable compromise. Users can restrict jcenter to pull only kotlinx dependencies for example.
https://docs.gradle.org/5.1/userguide/declaring_repositories.html#sec::matching_repositories_to_dependencies

And if you really don't want jCenter you can remove the html dependency and disable the html report. It should work. Or download kotlinx.html jar and add it to your libs... None of my options are perfect but we can do very little about the host of kotlix.html.

I think it would be beneficial to add a note to https://github.com/arturbosch/detekt#with-gradle explaining that jCenter is important and that this is due to kotlinx-html dependency.

Closed by https://github.com/arturbosch/detekt/commit/a754335bc9fea42d13cbb26adbeddab68b84ebe5


action: Porting llvm format check

Migrate clang format check from llvm-project
You can see the format check result here: #78

The diff is nice to have I think, but clang format can do that with an option (I don't recall if it does so now, please correct me if I'm wrong @leshikus). @WangJialei-A, does this checker add anything clang-fromat cannot do?

The diff is nice to have I think, but clang format can do that with an option (I don't recall if it does so now, please correct me if I'm wrong @leshikus). @WangJialei-A, does this checker add anything clang-fromat cannot do?

Perform clang-format only on the changed files in the PR, not the whole repository. see url
It can post the comment with robot account to tell developer how to fix or reproduce the problem, no need to sift through the error logs. See url

The diff is nice to have I think, but clang format can do that with an option (I don't recall if it does so now, please correct me if I'm wrong @leshikus). @WangJialei-A, does this checker add anything clang-fromat cannot do?

Perform clang-format only on the changed files in the PR, not the whole repository. see url
It can post the comment with robot account to tell developer how to fix or reproduce the problem, no need to sift through the error logs. See url

I suggest removing the first point (running clang-format only on the changed files) as it doesn't save us any time on CI and adds unnecessary complexity.
For the second point, I suggest doing the same with pure clang-format if possible.

The diff is nice to have I think, but clang format can do that with an option (I don't recall if it does so now, please correct me if I'm wrong @leshikus). @WangJialei-A, does this checker add anything clang-fromat cannot do?

Perform clang-format only on the changed files in the PR, not the whole repository. see url
It can post the comment with robot account to tell developer how to fix or reproduce the problem, no need to sift through the error logs. See url

I suggest removing the first point (running clang-format only on the changed files) as it doesn't save us any time on CI and adds unnecessary complexity.
For the second point, I suggest doing the same with pure clang-format if possible.

@kurapov-peter
If that's the case, then this PR is not necessary, and I will close this PR.


'weave expose' address does not persist after host rebooted

I notice currently on a host, the IP address assigned to the weave interface after running 'weave expose' command does not persist after the host rebooted. Is there a simple way to persist this IP address without running the 'weave expose' command every time the host reboots?

I think your question is mostly a duplicate of #2144
It’s not a complex change, but no-one has submitted a PR yet.  Probably creating a test is the hard part.
You can force the address, eg weave expose <IP_ADDRESS>

Thank you for your prompt response. No big deal. I'll just use a systemd service unit for now then.


refactor dryrun method

What type of PR is this?
/kind cleanup

What this PR does / why we need it:

refactor dryrun method, Increase code readability
fix some nit issue

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

/retest

/retest-required


_acquire_token_with_authorization_code question

When I deploy test with examples code for AzureResourceViewer, error message is like below. Is it issue of python module?
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR [2018-03-13 00:55:27,782] ERROR in app: Exception on /authorized [GET]
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR Traceback (most recent call last):
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR   File "/home/vcap/deps/0/python/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR     response = self.full_dispatch_request()
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR   File "/home/vcap/deps/0/python/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR     rv = self.handle_user_exception(e)
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR   File "/home/vcap/deps/0/python/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR     reraise(exc_type, exc_value, tb)
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR   File "/home/vcap/deps/0/python/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR     rv = self.dispatch_request()
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR   File "/home/vcap/deps/0/python/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR     return self.view_functionsrule.endpoint
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR   File "/home/vcap/app/AzureResourceViewer/views.py", line 82, in authorized_view
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR     token_response = auth.get_tokens(auth_code)
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR   File "/home/vcap/app/AzureResourceViewer/auth.py", line 47, in get_tokens
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR     token_response = adal._acquire_token_with_authorization_code(
2018-03-13T00:55:27.78+0000 [APP/PROC/WEB/0] ERR AttributeError: 'module' object has no attribute '_acquire_token_with_authorization_code'

Definitely this code is outdated and should be removed from the repo :(
Please consider AzureResourceViewer as deprecated

Closing, this I remove this deprecated samples today


gstreamer1.0-omx: fix Upstream-Status format

Sorry, found one more just after the previous PR was already merged.


Cw derive

So everything here was reviewed in small chunks, mostly by @ethanfrey. It is already a working contract. It is still working to do for v1.0.0, but I really don't want to work on a separate branch any longer - it makes rebasing hell. And it doesn't affect any code which was there before "ng", so it won't harm anything.

Closing in favor of https://github.com/CosmWasm/sylvia/pull/1


Add a rake task to import actions by batch id

If we add a column to the dynamic spreadsheet for batch id, we could import
by batch id.
This would write to a new yaml file in /batched_actions.
We would then manually copy those batched_actions into actions.yaml.
Would just be a temporary thing whilst there are so many updates flying around.

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Closing as feature no longer required


one way transmission ( Only Discord ->Matrix)

Hi,
one of my bridged Channels suddenly only transmits messages form Discord to Matrix and not the other way around.
Other channels (even on the same Discord "Server") still work both ways.
I tried:
Restarting the Bridge
Rebooting the machiene the bridge runs on
Reboot Server Matrix server is running on
"Rebridge" the channel
Suggestions?

I'm in the same boat. The only messages I get from the log are of the form:
Jun-8 20:41:07.400 [DiscordBot] warn: Failed to send message $UbHNhS-QsjLujC4_8-SohbKbce4p2d-kTu2I3NNWsGc

+1 matrix -> discord failing

I'm sure there are multiple reasons this might happen, but in my particular case it was because Ubuntu's default version of NodeJS is old (currently 10).  #630 got me on the right track and upgrading to version 16 fixed it.

I'm sure there are multiple reasons this might happen, but in my particular case it was because Ubuntu's default version of NodeJS is old (currently 10). #630 got me on the right track and upgrading to version 16 fixed it.

I think there are multiple reasons why this would happen as upgrading to nodejs v 16 did not work for me.

Has anyone found a resolution besides upgrading NodeJS? I'm running the latest version in Docker, but I'm still seeing one-way messages.
I see "Failed to send message" in the logs, along with a Method Not Allowed error response from the Discord API. Discord.js users reported a similar issue as this (https://github.com/discordjs/discord.js/issues/5731), but it was apparently a regression on the Discord API.

This might be completely unrelated, but did you check whether the webhooks in the Discord Guild all belong to the bot user of your bridge?
I encountered a very similar sounding problem, but in a specific situation: I first used the t2bot.io bridge for a certain Guild, then switched to self-hosting the appservice (due to t2bot.io being heavily rate-limited by Discord). On that switch, the old bot was removed from the Guild, but not the webhooks it had set up. This was no problem at first, the bridge could for some reason re-use the webhooks set down by t2bot.io. My guess is, Discord fixed this some time back, when the problems started. At least for me the timing seems right. It was solved by removing the t2bot "Integration" on the Discord side, then the appservice will recreate the webhooks on its own.

I've been experiencing this very same issue since a few weeks. The log says:
Jul-25 15:14:42.168 [DiscordBot] warn: Failed to send message $2AXGkcJKjPnIeu58YUY3l2hmJ093ncLy6In_qm3ZWuk
Jul-25 15:14:42.171 [DiscordBot] verbose: DiscordAPIError: 405: Method Not Allowed
    at RequestHandler.execute (/node_modules/better-discord.js/src/rest/RequestHandler.js:170:25)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {

I run an up to date self hosted Docker instance using halfshot/matrix-appservice-discord:latest.
@Gigadoc2 The context you describe is similar to mine. But the previous bot was set up by another user. Would you mind describing what you mean with:

removing the t2bot "Integration" on the Discord side

?

I had this old bot removed from discord by its owner and messages are handled both ways again. Yay! Thanks @Gigadoc2 for the hint!

I reinstalled the whole Machine 3x. I never solved the original one way problem but found out that i need to use the releases and not the master repo so it would compile.

I finally got my issue worked out by deleting the _matrix webhook from the Discord server. As soon as it was deleted, the bot recreated the webhook and everything worked perfectly.


User remove function doesn't work

After Crowi set up, I had created a few user.
Them, I tryied to remove non-admin user but it didn't work out.
PS: I checked users table in MongoDB but there is the user account.

Thank you for the feedback.
I'll check it.


[Enhancement] Memory pool for orc reader to detect bad alloc

ORC default memory pool returns nullptr on failure. ORC reader does not check whether the malloc is successful or not.
This PR provides a memory pool that throws std::bad_alloc on malloc failure. The exception would be handled by the caller.
What type of PR is this:

[x] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

let our malloc to catch the null pointer

Malloc will not return nullptr on Version of 2.4+, if is_catched not set, This maybe not the real reason

W0530 15:38:41.147928 2800253 mem_hook.cpp:266] large memory alloc:<PHONE_NUMBER>7947692663 bytes, stack:
    @          0x4f6e1ab  malloc
    @          0x6ec1248  orc::DataBuffer<>::reserve()
    @          0x6ec0e92  orc::DataBuffer<>::resize()
    @          0x6eb4d44  orc::StringDirectColumnReader::next()
    @          0x6eb2688  orc::StructColumnReader::next()
    @          0x6e839cb  orc::RowReaderImpl::next()
    @          0x462cdbe  starrocks::OrcChunkReader::read_next()
    @          0x56c7c17  starrocks::HdfsOrcScanner::do_get_next()
    @          0x56bf2ba  starrocks::HdfsScanner::get_next()
    @          0x562d187  starrocks::connector::HiveDataSource::get_next()
    @          0x30ff1dd  starrocks::pipeline::ConnectorChunkSource::_read_chunk()
    @          0x33a49ec  starrocks::pipeline::ChunkSource::buffer_next_batch_chunks_blocking()
    @          0x30fc761  _ZZN9starrocks8pipeline12ScanOperator18_trigger_next_scanEPNS_12RuntimeStateEiENKUlvE_clEv
    @          0x3103cbe  starrocks::workgroup::ScanExecutor::worker_thread()
    @          0x506b022  starrocks::ThreadPool::dispatch_thread()
    @          0x5065b1a  starrocks::Thread::supervise_thread()
    @     0x7fc2979a31ca  start_thread
    @     0x7fc296e80e73  __GI___clone
    @              (nil)  (unknown)

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

https://github.com/Mergifyio backport branch-2.5


Error after upgrade to 0.12

After updated azk to version 0.12, I get this error when run azk agent start:
/usr/local/Cellar/azk/0.12.0/.dependencies: No such file or directory
I created this file and now it works.

@lcsbaroni sorry, made a mistake when updating the installation of the formula "azk" on Mac OS X em https://github.com/azukiapp/homebrew-azk, the error has been corrected, to solve the problem on your machine do:
rm /usr/local/Cellar/azk/0.12.0/.dependencies
brew remove azk
brew untap azukiapp/azk
brew install azukiapp/azk/azk

Let us know if everything went well, and thanks for the quick warning about the error.

No problem @nuxlli, I delete azk from cache and installed again following your instructions, but I got a new error:
$ azk agent start
azk: Wait, this process may take several minutes
azk: Loading settings and checking dependencies.
azk: Checking version...
azk: Settings loaded successfully.
azk: Removing virtual machine...
azk: Virtual machine has been successfully removed.
azk: Agent is being started...
azk: Installing virtual machine...
azk: Agent starting error: Error: command: storageattach azk-vm-dev.azk.io --storagectl SATA --port 0 --device 0 --type dvddrive --medium /usr/local/Cellar/azk/0.12.0/lib/vm/0.1.0/azk.iso
azk: VBoxManage: error: Could not find file for the medium '/usr/local/Cellar/azk/0.12.0/lib/vm/0.1.0/azk.iso' (VERR_FILE_NOT_FOUND)
azk: VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
azk: VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
azk: VBoxManage: error: Invalid UUID or filename "/usr/local/Cellar/azk/0.12.0/lib/vm/0.1.0/azk.iso"
azk:     at /azk:0.12.0/src/agent/vm.js:19:13
azk: From previous event:
azk:     at exec (/azk:0.12.0/src/agent/vm.js:16:25)
azk:     at callee$1$0$ (/azk:0.12.0/src/agent/vm.js:237:16)
azk:     at tryCatch (/usr/local/Cellar/azk/0.12.0/node_modules/babel-runtime/regenerator/runtime.js:60:40)
azk:     at GeneratorFunctionPrototype.invoke (/usr/local/Cellar/azk/0.12.0/node_modules/babel-runtime/regenerator/runtime.js:205:22).
azk: Agent is being stopped...
azk: Agent has been successfully stopped.

Thanks for your quickly answer.

What unhappiness, as we provide new fixes to apply:
brew remove azk
rm /Library/Caches/Homebrew/azk-0.12.0.tar.gz
brew untap azukiapp/azk
brew install azukiapp/azk/azk

Now the agent start properly! Thanks

Thanks for helping us find these errors @lcsbaroni :D

You are welcome!


Possibility to set credentials for each TURN server instead of just one credentials for all TURN servers

I have 3 TURN servers with 3 different credentials, but actually I can use only one TURN because I can set only on credential in the component

Fixed by 1205e1f8ef5e39f65c4e56f919b353e39cbbbbfb. PeerConnection now takes a PeerConnectionConfiguration object for setup, which includes support for multiple ICE servers, each with its own set of URLs and its own credentials.


⚠ SkipTheCommericals has degraded performance

In 8a8177f, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 3339 ms

Resolved: SkipTheCommericals performance has improved in 7370fb6.


Console not live updating in staging after first module deployment

I deployed the online-boutique, and the first module rolled out and was visible in the console, but subsequent modules wouldn't update the console without a full refresh.
One difference to ftl-dev, beyond the obvious, is that it has two controllers. There could be some issue where one controller is receiving the commands and the other isn't getting updates. Though that said, the CLI issues a whole bunch of requests, so I would expect 50% of them to hit each controller.
Strangely, ftl call events/logs do show up.

This is an interesting issue and I'm not 💯 on what the best approach is. That Timeline component sets the filters the first time to include all modules if none are currently selected in the filter. The idea here is that it will show all current modules by default when it runs. However, if modules are coming online at different times, I'm not sure what the filter should show. Ideally, it would be all modules if nothing has been selected.
We might have to add a flag like user_has_changed_modules or something so we know if we should include all modules or not during start up. Very open to other ideas here as well


Need to explain how to build app for submission to app store

I'm trying to perform the steps for submitting the app to the app store. App works in debug (in simulator) and release mode (on device) sucessfully.
Steps to Reproduce
The typical instructions are (in XCode) to choose Runner > Generic iOS Device, and then Product -> Archive.
This gives me errors at least using the generated iOS build code:
Undefined symbols for architecture armv7:
"_FlutterInit", referenced from:
_main in main.o
"OBJC_CLASS$_FlutterViewController", referenced from:
objc-class-ref in AppDelegate.o
"OBJC_CLASS$_FlutterDartProject", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Flutter Doctor
[✓] Flutter (on Mac OS, channel unknown)
• Flutter at /Users/joel/dev_3rd/flutter
• Framework revision 56eca97a75 (9 days ago),
• Engine revision 9de4d1530b
• Tools Dart version 1.22.0-dev.9.1
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
• Android SDK at /Users/joel/dev_3rd/android-sdk-macosx/
• Platform android-25, build-tools 25.0.0
• ANDROID_HOME = /Users/joel/dev_3rd/android-sdk-macosx/
• Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
• XCode at /Applications/Xcode.app/Contents/Developer/
• Xcode 8.2.1, Build version 8C1002
[✓] IntelliJ IDEA Ultimate Edition (version 2016.3)
• Dart plugin version 163.7743.25
• Flutter plugin version 0.1.5

Removing armv7 from "valid architectures" gets past this error. Maybe consider removing from generated project if no support is planned.

iTunes Store operation failed.
This bundle is invalid. Applications built for more than one architecture require an iOS Deployment Target of 3.0 or later.
iTunes Store operation failed.
Unsupported Architectures. The executable for Runner.app/Frameworks/Flutter.framework contains unsupported architectures '[x86_64]'.

Probably needs to run flutter build ios --release to get the Genearted.xcconfig file pointed at the release version of Flutter.framework

Tried "flutter build ios --release" but still same errors even after clean... seems odd that didn't work it did change the flutter directory to /ios-release

$ lipo -info bin/cache/artifacts/engine/ios-release/Flutter.framework/Flutter
Architectures in the fat file: bin/cache/artifacts/engine/ios-release/Flutter.framework/Flutter are: x86_64 arm64
$ lipo -remove x86_64 bin/cache/artifacts/engine/ios-release/Flutter.framework/Flutter -output bin/cache/artifacts/engine/ios-release/Flutter.framework/Flutter
$ lipo -info bin/cache/artifacts/engine/ios-release/Flutter.framework/Flutter
Architectures in the fat file: bin/cache/artifacts/engine/ios-release/Flutter.framework/Flutter are: arm64

That followed by clean/archive resulted in the same, I guess some x86 still lingers.

Some more errors (I'm using XCode 8):
iTunes Store operation failed.
Invalid Segment Alignment. The app binary at 'Runner.app/Frameworks/Flutter.framework/Flutter' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.
iTunes Store operation failed.
The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker.
iTunes Store operation failed.
Invalid Bundle. The bundle Runner.app/Frameworks/Flutter.framework does not support the minimum OS Version specified in the Info.plist.

I've tried changing:
<key>UIRequiredDeviceCapabilities</key>
<array>
	<string>arm64</string>
</array>

and adding
MinimumOSVersion
8.0
but still same results.. Ill wait for the iOS Google Flutter experts on this.

@jtrunick when we've done this before we've opened up ios/Runner.xcodeproj and used the "Archive for Release..." flow which XCode provides.  The Store is going to want an ipa not a .app anyway.
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/SubmittingYourApp/SubmittingYourApp.html

Correct that's what I'm trying to do. I've set the Runner to be "Generic iOS Device" and then I choose Product->Archive/Validate... Are you suggesting I don't try to validate? I think it validates on upload anyway.
The above are the errors I get using the default Flutter project, which now I've tried to change to make validation happy, but haven't yet succeeded.

I marked the non-except encryption with NO, that has reduced the errors. I've also set the MinimumOSVersion to 8.0, but that still gives me issues.
iTunes Store operation failed.
Invalid Bundle. The bundle Runner.app/Frameworks/Flutter.framework does not support the minimum OS Version specified in the Info.plist.

This is maddening, the validation error explicitly says that MinimumOSVersion hasn't been specified, but setting that has no effect, what makes it happier is if you set LSMinimumSystemVersion instead.

/cc @xster @cbracken

On it! Getting to work on repro-ing this locally. Will update here once we've got something.

Great! here's what seems to have helped so far:
UIRequiredDeviceCapabilities

arm64

ITSAppUsesNonExemptEncryption

LSRequiresIPhoneOS

This seems to be asked for/required, but not helping me:
MinimumOSVersion
8.0

Thanks for the additional detail! Taking a look.

To try to narrow this down to whether it's something project-specific, here are general repro instructions against the Gallery example using Flutter at head (57ee52636b1ed3203d5db71898330b964409d633) and Xcode 8.2 (8C38):

rm -rf examples/flutter_gallery/build
open examples/flutter_gallery/ios/Runner.xcodeproj
Select Runner in the project navigator.
Select the General tab and set a Team. I left automatically manage signing checked.
Select the Build Settings tab and edit the Architectures setting. Select 'Other...' from the dropdown list and enter arm64. If you git diff the xcproj file, you should see ARCHS = arm64; twice: once in the Release and once in the Debug profile. The included Info.plist should already have LSRequiresIPhoneOS, and UIRequiredDeviceCapabilities set to arm64.
Pick Generic iOS Device from the device dropdown.
Select Archive from the Product menu.

At this point, I get a successful build with three warnings:

Ambiguous Content: The app icon set "AppIcon" has 3 unassigned children. Assets.xcassets
Asset Catalog Compiler Warning: The app icon set "AppIcon" has 3 unassigned children. Assets.xcassets
Validate Warning: All interface orientation must be supported unless the app requires full screen.

Just to clarify -- are you now getting a successful build during the Archive step, but failures when you hit the Validate... button?

Yes, it's been successful all along creating the archive, just when Validating is it a problem.

Alright - I've got the same failures you're seeing reproing in the Validate step as well. Will let you know when we've made progress.

Update: we've identified the issues and are working on getting fixes landed. There are a couple issues with the Info.plist that we ship with the Flutter framework, and we're going to need a lipo step to thin the framework to arm64 only. Will update here when we've got the fixes landed.

Sounds good, I had also performed that lipo step by abarth above, but that didn't seem to be enough to make validate happy.

The engine side of the fix is now in. I expect to have the flutter tool fix in tomorrow, at which point I'll update this bug. Thanks for your patience!

Does the lipo step allow your validate to work? I had still had trouble even after the lipo down to arm64

The combination of #7914 and #7913 should fix this for new projects. #7933 fixes it for the example projects.
@jtrunick syncing flutter to HEAD and applying something similar to #7933 to your own project should get you going. Let me know if you're still running into issues.

I created a new one from scratch copied my stuff over, and got it to validate successfully, which I was a little surprised as I hadn't copied the icon images over yet. Thanks!

Fantastic! Glad to hear you're unblocked. Thanks again for filing the issue and all the feedback. If you don't mind, I'll keep this issue open until I've got followup issues filed, in particular documenting the process of getting an app from code, to archive, through validation, and to the app store.

docs would be great... i almost forgot to run that flutter build ios --release command. Unless you know its there its easy to miss.

I think this dupes https://github.com/flutter/flutter/issues/7057 ?

Thanks Seth! Closing this off then. Other than docs, the process itself should work today, flutter create and all examples have been updated with the patches that gets them to pass validation.

For reference: I have managed to build 32-bit arm .ipa with instructions from here https://github.com/flutter/engine/wiki/iOS-Builds-Supporting-ARMv7

Same problem here.
App Store Connect Operation Error. Invalid Bundle. The bundle Runner.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist.
Tried all the solutions above with no luck.
Any suggestions?

For me the issue was that the build phase order was incorrect (check my answer on StackOverflow)
The Embed Frameworks phase should be before Thin Binary phase


Feature: Image previews...

https://www.reddit.com/r/memetrades/comments/5vsk17/image_previews/

Found an image moderation service that offers unlimited free trial (capped at 500/mo and 100/day):
https://sightengine.com/
I made an account and will play with the API. From a quick glance, seems it can moderate nudity but not violence.
Other cheap services to explore:
https://hivemoderation.com/ - nudity and violence
https://imagemoderation.yandexdatafactory.com/ - may require large # of minimum requests/mo
https://www.webpurify.com/image-moderation/ - 100 image free trial

Hadn't really thought of that.  I think images would add a lot to the platform, as long as they are mostly safe.  LMK how your adventures go.

New branch created (accidentally branched from master instead of dev, so does not have rate-limit commits). The image branch's readme has some notes.


Timeout running dotnet-playwright in Docker

Context:

Playwright Version: [1.23.0]
Operating System: [Linux]
.NET version: [NET 6]
Browser: [All]
Extra: [I am using this image mcr.microsoft.com/playwright/dotnet:v1.23.0-focal]

Code Snippet
Dockerfile
FROM mcr.microsoft.com/playwright/dotnet:v1.23.0-focal AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["demo.csproj", "."]
RUN dotnet restore "./demo.csproj"
COPY . .
WORKDIR "/src/."
RUN dotnet build "demo.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "demo.csproj" -c Release -o /app/publish

FROM base as final
WORKDIR /app
COPY --from=publish /app/publish .

ENTRYPOINT ["dotnet", "demo.dll"]

Program.cs
class Program {
    public static ILoggerFactory loggerFactory;

    async static public Task Main(string[] args) {

        var playwright = await Playwright.CreateAsync();
        var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions
        {
            Headless = true,
            SlowMo = 234,
            Timeout = 100000
        });

        var context = await browser.NewContextAsync(new BrowserNewContextOptions
        {
            UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36",
        });
        var page = await context.NewPageAsync();

        await page.AddInitScriptAsync(@"
                    navigator.webdriver = false
                    Object.defineProperty(navigator, 'webdriver', {
                    get: () => false
                    })");

        var response = await page.GotoAsync("https://www.walmart.com/ip/Great-Value-Whole-Vitamin-D-Milk-Gallon-128-fl-oz/10450114");
        Console.WriteLine("Response from server: " + response!.Status);
        await page.WaitForTimeoutAsync(2345);
        await page.ClickAsync("input[type='search']");
        var selector = ".mh2-m.mw-none-m.truncate";
        var locationTagElement = page.Locator(selector).First;
        var locationTag = await locationTagElement.InnerTextAsync();
        Console.WriteLine("Location detected as " + locationTag);

        await page.CloseAsync();
    }
}

Describe the bug
My code works well on Native environment of MacOS but always hits timeout in docker. Sometimes this happens on page load, sometimes on waiting for some elements. Never finished a test.
Console output:
docker run 2ee659c738b2
Response from server: 200
Unhandled exception. System.TimeoutException: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for selector "input[type='search']"
  selector resolved to visible <input name="q" value="" type="search" aria-label="Sear…/>
attempting click action
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling

 from
…
 subtree intercepts pointer events
retrying click action, attempt #1
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling

 from
…
 subtree intercepts pointer events

I would recommend to follow the debugging guide, to understand better what the issue is. Since you already know, that it ends up in subtree intercepts pointer events you can probably skip directly to record a trace to see if you element actually gets overlayed.
If you want to just skip the actionability check, you can also pass Force = true when you click inside the options.

I have the same problem even with Force=true enabled


Add Cluster API Provider "Bring Your Own Host" into the TCE Fold

Feature Request
This is more of the feature request to align Cluster-api-provider-BringYourOwnHost into TCE.
Intention is to enable users/community to use TCE on Bare Metal infrastructures
BYOH is a Cluster API v1beta1 Infrastructure Provider for already-provisioned hosts running Linux
We will add more details here as we proceed.

@Vijayakumar0328 sounds great!
Looking forward to seeing a proposal on how we can approach this. Let us know how we can help.

This was never followed-up on.


tidy all errors and logging

all failure routes in the start match api endpoint should return the error to the user

should use logrus everywhere and json structure for api


fix: Run a batch of 15 tasks in parallel

Checklist

[x] I have read the Contribution & Best practices Guide.
[x] My branch is up-to-date with the Upstream development branch.
[x] I have added necessary documentation (if appropriate)

Short description of what this resolves:

Earlier since there was no limit on the batch size so due to limited resources any subsequent request got queued in the last of these tasks
Now since we are processing in a batch of 15, any new request will only get queued at the end of these 15 tasks

Changes proposed in this pull request:

Used async.eachLimit with 15 as the limit of parallel task at a time instead of async.each which had no limit.

@iamareebjamal can you please review this?


MDEXP-315: Add validation to the transformation elements

PURPOSE
Add integration tests on new validation functionality for mapping profile transformations.
Jira: https://issues.folio.org/browse/MDEXP-315

Please add a screenshot that all these are passing against any environment before merging


Questions to interpolation in computing the fractional density in ~aurora/atomic.py

As a senior to the Aurora, I have a few (maybe naive) questions as following in computing the fractional density of He ionization/recombination (~aurora/atomic.py) with this GREAT framework:

In the following line:

https://github.com/fsciortino/Aurora/blob/b64a8ca08ecfe400b3e8a090ce15476536d645fd/aurora/atomic.py#L864
I guess abs(table-table[...,[0]]).all() aims to test if the dimension of X is nontrival, thus a 1D interpolation could work instead of the 2D. However the function of .all() always returns a bool with true=1 and false=0 which is in the opposite of the original expectation.

For:

https://github.com/fsciortino/Aurora/blob/b64a8ca08ecfe400b3e8a090ce15476536d645fd/aurora/atomic.py#L867
I’m a bit comfused with this scale: *np.log(10). Since x, y, and table here are all the indeces of 10. Does it really mean 10**np.log(10) which seems make no sense?

The interpolation with CartesianGrid requires an equally spaced grids in the table of adf11.
https://github.com/fsciortino/Aurora/blob/b64a8ca08ecfe400b3e8a090ce15476536d645fd/aurora/atomic.py#L690 Unfortunately the listed logne and logTe in acd96/scd96 for He are not uniformed (i.e https://open.adas.ac.uk/detail/adf11/acd96r/acd96r_he.dat). Is there any module can deal with that?

Looking forward to your reply!
Cheers,
Zhi

Hi @zli11 ,
thank you very much for your detailed questions. I'll address them in order:

thanks for spotting this mistake. Indeed, the all() operation was in the wrong place, which probably meant that 2D interpolation was always been used (with a small slow-down).

The np.log(10) factors are used to change from base-10 logarithms to natural-base logarithms. This has been done because @odstrcilt first noticed that operations in natural base ("e") are faster in python than in base-10. Using numpy everywhere makes the difference smaller, but still not negligible:

>> %timeit np.power(2.718281828459045,3)
2.06 µs ± 67.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

>> %timeit np.exp(3)
1.23 µs ± 64.2 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

It's quite impressive that you noticed that the acd96/scd96 for He are not exactly equally-spaced -- the deviation from equally-spaced is very small, actually. You are correct though that CartesianGrid is not designed to deal with non-equally-spaced files. I've started to address this issue, although it may need a little more testing before we merge into the master branch.

I've been making updates/comments to address your questions in PR #41 . Any more feedback from you would be appreciated!


Logic in attributes dictionary

Sometimes element's attributes can depends on some logic or django variables, for example:
{% for a in b %}
    this is link
{% endfor %}

I want to do it in haml-way, but this is impossible in the current version of hamlpy

I was about to post the same issue. Logic and template tags in attributes is the one thing stopping me from using this I think. Maybe it can be done using a filter?

This hamlpy:
    {% for a in b %}
    %a{'class': "link {% if forloop.first %}link-first {% else %}{% if forloop.last %}link-last{% endif %}{% endif %}"}
      this is link
    {% endfor %}

Gives me this output:
{% for a in b %}

      this is link

{% endfor %}

Is this not what you were expecting?

I talk about more haml in work with attributes values

How would your syntax from #50 work when mixing text and tags? Like this?
class: "link" + {% if forloop.first %} + "link-first"...
The only disadvantage of putting template tags in strings is that it prevents putting an {% if ..%} around the whole attribute to remove its name.
Also, I don't think & quot; should be used at all, it could prevent inline javascript. It should be \'. The need for & quot; is a HTML need, not just a HAML need, and as such it should be left up to the developer to replace them.
Given the above, I think the following rules should apply:

No characters should be escaped between {% ... %}
Escape with ````'instead of"```
Add a feature that lets the user wrap a tag around a whole attribute

Personally I'm a fan of getting rid of the Python dictionary syntax in favour of SHPAMLs syntax:
{% for a in b %}
%a class="link {% if forloop.first %}link-first {% endif %}" | this is link
{% endfor %}

Eliminates these problems because the tags attribute text is identical to HTML. It also eases the pain of migrating HTML to HAML
Any thoughts?

I think this is good enaugh:
- for a in b
    %a.link{
        'class':
            - if forloop.first
                link-first
            - else
                - if forloop.last
                    link-last
        'href':
            - url some_view
        }
        this is a link


Retry missing fov_group zip files in case of DeepCell response error

Is your feature request related to a problem? Please describe.
The currently-open PR to address retrying in case of a bad DeepCell response assumes that this operation can be completed in n tries, printing an error if it doesn't. In the long term, what we want happening is to identify the fov_groups that don't have an associated .zip file, then re-run the call to Deepcell on those.
Describe the solution you'd like
This requires a few steps to complete:

Standardized naming conventions for .zip files. Currently, it's hard to associate which FOVs were placed in which .zip files without unzipping them. A more indicative name would be the easier solution.
Enclose the call to the Deepcell runner function in a loop, with a check to see if all the .zip files have been created (number will depend on the batch size). If not, then identify which fov_groups need to be resent, and remain in the loop. Otherwise, break.

Addressed by #605.

@alex-l-kong it says in the description that the currently open PR (#605) doesn't address this issue. In addition, that PR has a detailed discussion of what a future PR would look like to address this. I appreciate you helping to clean up stale issues, but please make sure they're actually stale before closing them.


[4pt]  Fetch missions - Fetch data

Fetch data from the Missions endpoint  (https://api.spacexdata.com/v3/missions) when a user navigates to the Missions section.
Once the data are fetched, dispatch an action to store the selected data in Redux store:

mission_id
mission_name
description

NOTE: Make sure you only dispatch those actions once and do not add data to store on every re-render (i.e. when changing views / using navigation).

Hi @fobadara
I have finished this task you can review it here https://github.com/fobadara/rocket-space-missions/pull/31


Any hint on how to extends the UserManager Class in Identity3

What am trying to do is to migrate from the old membership provider, but I have no idea how to extend the UserManager class especially on:

Use my custom SqlPasswordHasher
Put the CustomUserManager in the DI container, and use it on the controller

I'm also having troubles getting a custom PasswordHasher. This seemed much easier in Identity 2.

I've ended up to extend the UserManagerClass and passing the custom PasswordHasher in the constructor,
Now the constructor takes much params then before
Here's my class code (Its working now, but may there is a better way to achieve this)
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using tx.Providers;
using tx.Models;
using Microsoft.Data.Entity.Infrastructure;

namespace tx.Providers.Identity{
  public class ApplicationUserManager<T> : UserManager<ApplicationUser>
  {
    public ApplicationUserManager() : base(
      new UserStore<ApplicationUser>(new ApplicationDbContext()),
      null,
      new SqlPasswordHasher(),
      null,
      null,
      null,
      null,
      null,
      null,
      null
    ){ }

  }
}

Yeah, I also tried that route but found it ugly. I wish we could get some official guidance here on the right way to do this.

@HaoK do you have any recommendations?

Adding it as scoped should work fine.  Try putting it before the AddIdentity call and see if that makes a difference.

Thanks. it works fine after addidentity, I just didn't know if that was the right way to do it. i.e. If you guys wrote documentation on "How do implement a custom password hasher" is that how you'd say to do it? ;)

Yes, use DI is the standard way to replace services.

@HaoK I am facing issue when i add my custom password hasher using DI as follow, it never invoked. What I missed in asp.net core project?
services.AddScoped<IPasswordHasher<ApplicationUser>, SQLPasswordHasher>();
and here is my SQLPasswordHasher class:
` public class SQLPasswordHasher : PasswordHasher
{
public override string HashPassword(ApplicationUser user, string password)
{
return base.HashPassword(user,password);
}
    public override PasswordVerificationResult VerifyHashedPassword(ApplicationUser user, string hashedPassword, string providedPassword)
    {
        string[] passwordProperties = hashedPassword.Split('|');
        if (passwordProperties.Length != 3)
        {
            return base.VerifyHashedPassword(user, hashedPassword, providedPassword);
        }
        else
        {
            string passwordHash = passwordProperties[0];
            int passwordformat = 1;
            string salt = passwordProperties[2];
            if (String.Equals(EncryptPassword(providedPassword, passwordformat, salt), passwordHash, StringComparison.CurrentCultureIgnoreCase))
            {
                return PasswordVerificationResult.SuccessRehashNeeded;
            }
            else
            {
                return PasswordVerificationResult.Failed;
            }
        }
    }

    //This is copied from the existing SQL providers and is provided only for back-compat.
    private string EncryptPassword(string pass, int passwordFormat, string salt)
    {
        if (passwordFormat == 0) // MembershipPasswordFormat.Clear
            return pass;

        byte[] bIn = Encoding.Unicode.GetBytes(pass);
        byte[] bSalt = Convert.FromBase64String(salt);
        byte[] bRet = null;

        if (passwordFormat == 1)
        { // MembershipPasswordFormat.Hashed
            HashAlgorithm hm = HashAlgorithm.Create("SHA1");
            if (hm is KeyedHashAlgorithm)
            {
                KeyedHashAlgorithm kha = (KeyedHashAlgorithm)hm;
                if (kha.Key.Length == bSalt.Length)
                {
                    kha.Key = bSalt;
                }
                else if (kha.Key.Length < bSalt.Length)
                {
                    byte[] bKey = new byte[kha.Key.Length];
                    Buffer.BlockCopy(bSalt, 0, bKey, 0, bKey.Length);
                    kha.Key = bKey;
                }
                else
                {
                    byte[] bKey = new byte[kha.Key.Length];
                    for (int iter = 0; iter < bKey.Length;)
                    {
                        int len = Math.Min(bSalt.Length, bKey.Length - iter);
                        Buffer.BlockCopy(bSalt, 0, bKey, iter, len);
                        iter += len;
                    }
                    kha.Key = bKey;
                }
                bRet = kha.ComputeHash(bIn);
            }
            else
            {
                byte[] bAll = new byte[bSalt.Length + bIn.Length];
                Buffer.BlockCopy(bSalt, 0, bAll, 0, bSalt.Length);
                Buffer.BlockCopy(bIn, 0, bAll, bSalt.Length, bIn.Length);
                bRet = hm.ComputeHash(bAll);
            }
        }

        return Convert.ToBase64String(bRet);
    }

}`

Can you include all of your startup?


Check existence of all index data files before use

Describe the issue

Currently, we replace the location with the index data files:
 plan transformDown {
      case baseRelation @ LogicalRelation(_: HadoopFsRelation, baseOutput, _, _) =>
        val location =
          new InMemoryFileIndex(spark, index.content.files, Map(), None)
        val relation = HadoopFsRelation(
          location,

However, this cannot detect the absence of some index data files, which might cause unnoticeable correctness issue.
So we need to check the existence of each index data files.
We recently introduced the incremental index for appended files, so we need to make sure that some dependent old versions should be available.
To Reproduce

Expected behavior

Environment

We can introduce a flag for this check since it might be expensive. For instance: hyperspace.index.integrityCheck.enabled and set it to false by default.
@apoorvedave1 Can you create an issue for other related tasks as appropriate and link to this issue please?


Add logging to the client

Add a logging to the client so it is easier to debug and trace errors and also get more insights what actually happens. Take a look into log4net and NLog and choose one, there are some references to read:
https://nlog-project.org/
https://www.loggly.com/blog/benchmarking-5-popular-net-logging-libraries/
https://logging.apache.org/log4net/
https://raygun.com/blog/c-sharp-logging-best-practices/

https://github.com/zeebe-io/zeebe-client-csharp/commit/dc748eb610052533cfcdc8053844a2cd8dd353c2


Error installing inkscape

Getting this error despite having aclocal-1.14 at this location in Cellar:
/opt/boxen/homebrew/Cellar/automake/1.14.1/bin/aclocal-1.14
Error:
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /private/tmp/inkscape20150328-93619-1rbwbjq/inkscape-0.48.5/missing aclocal-1.14
/private/tmp/inkscape20150328-93619-1rbwbjq/inkscape-0.48.5/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.          You should only need it if you modified 'acinclude.m4' or          'configure.ac' or m4 files included by 'configure.ac'.          The 'aclocal' program is part of the GNU Automake package:          <http://www.gnu.org/software/automake>          It also requires GNU Autoconf, GNU m4 and Perl in order to run:          <http://www.gnu.org/software/autoconf>          <http://www.gnu.org/software/m4/>          <http://www.perl.org/>
make: *** [aclocal.m4] Error 127

Please follow the troubleshooting guide and post all of the requested diagnostics, thanks!

Duplicate of #30

The fix proposed by @sandbagger in #30 solves my issue.  Closing ticket.


Remove vec3 and vec4 datatypes

This PR removes datatypes vec3 and vec4.

Hey, there is still this line left: https://github.com/knowrob/knowrob/blob/4aa99510f0d86dd0ca1e02c730f5aa197fc4e39f/owl/knowrob.owl#L1257
You had it removed in your first PR, so hopefully it's easy to remove again.

Hey, there is still this line left:
https://github.com/knowrob/knowrob/blob/4aa99510f0d86dd0ca1e02c730f5aa197fc4e39f/owl/knowrob.owl#L1257
You had it removed in your first PR, so hopefully it's easy to remove again.

Done. Sorry, I overlooked it


prefetch or onLoad for

Hi all!
I'm using  react-native-qrcode-svg, which uses this package under the hood.
I'm rendering a logo in the middle of the QR Code via require('./logo.png').  The QR code appears on a receipt layout, which is captured as an image via react-native-view-shot se we can either email it and/or send to a printer. This works great, however there is a race condition between capturing the screen shot and loading the logo image. I've been hunting for something like <Image/>'s onLoad event handler, and have also tried using Image.prefetch() without much success—perhaps because it's a local image?
Is there any way to know when the image is done loading or prefetch the image so that it renders on first pass when using your image component? I'd be happy to submit a PR to react-native-qrcode-svg, assuming we'd need to make the underlying API available.
Thanks!

Hello @scnroy,
Currently, we are working on the implementation onLoad prop to the image component.
Here is PR


to_tensorflow_function() fails if added to the quickstart

If you add:
!pip install ydf
!pip install tensorflow_decision_forests -q

to the intro colab, and try to call:
fn = model.to_tensorflow_function(temp_dir='./tmp')

You get the error:
TypeError: Couldn't build proto file into descriptor pool!
Invalid proto descriptor for file "yggdrasil_decision_forests/dataset/data_spec.proto":
  yggdrasil_decision_forests/dataset/data_spec.proto: A file with this name is already in the pool.

I get the same error when using model.to_tensorflow_saved_model.

So was the issue a missing package, or incorrect version?  Perhaps a
runtime check would help?
On Tue, Apr 23, 2024 at 1:04 PM Roger L. Cauvin @.***>
wrote:

I got both model.to_tensorflow_saved_model and
model.to_tensorflow_function to work with the following package versions
installed:
keras==3.3.2
tensorflow==2.16.1
tensorflow-datasets==4.9.4
tensorflow-estimator==2.15.0
tensorflow-io-gcs-filesystem==0.36.0
tensorflow-metadata==1.15.0
tensorflow-ranking==0.5.5
tensorflow-recommenders==0.7.3
tensorflow-serving-api==2.15.1
tensorflow_decision_forests==1.9.0
tf_keras==2.16.0
—
Reply to this email directly, view it on GitHub
https://github.com/google/yggdrasil-decision-forests/issues/87#issuecomment-2072945279,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5AMR6ZXAUDBAZJEJ5AINLY62IBFAVCNFSM6AAAAABGPXTILCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSHE2DKMRXHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks @LukeWood for the alert, and then @rlcauvin for the debugging 😃.
TL;DR: The situation has been solved with ydf 0.4.2, and will be further improved with the next release of TF-DF (1.10.0).
Details:
tensorflow_decision_forests and ydf share a similar dependency to the ydf protobufs.
The latest release of ydf introduces a new version of the ydf protobufs, which cause a collision with tf-df:
Installing tf-df and ydf in a specific order causes ydf to fail.
The error reported by @LukeWood was raised with ydf 0.4.1.
This error has the same root as the one reported by @rlcauvin for ydf 0.4.0, though the message was different.
ydf 0.4.2 solves the issue and displays a proper and actionable error message in case of shared dependency collision.
The next version of tf-df (1.10.0) remove this potential dependency collision.

ydf 0.4.3 and tf-df 1.9.1 are now available on PyPI.
Those releases address the dependency collision issue as tf-df now depends on ydf.

Having installed those packages using:
!pip install -U ydf
!pip install -U tensorflow_decision_forests

I now am unable to import the ydf package:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[13], line 10
      8 import tensorflow_recommenders as tfrs
      9 # import tensorflow_ranking as tfr
---> 10 import ydf
     11 import matplotlib.pyplot as plt
     12 import matplotlib as mpl

File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/ydf/__init__.py:29
     21   if not hasattr(data_spec_pb2, "DType"):
     22     raise ValueError("""\
     23 Collision between YDF and TensorFlow Decision Forests protobuf shared dependencies.
     24 Please, reinstall YDF with the "--force" argument, restart the notebook runtime (if using a notebook), and try again:
     25
     26 !pip install ydf --force""")
---> 29 _check_install()
     32 # pylint: disable=g-importing-member,g-import-not-at-top,g-bad-import-order,reimported
     33
     34 # Version
     35 from ydf.version import version as __version__

File ~/anaconda3/envs/tensorflow2_p310/lib/python3.10/site-packages/ydf/__init__.py:19, in _check_install()
     18 def _check_install():
---> 19   from yggdrasil_decision_forests.dataset import data_spec_pb2
     21   if not hasattr(data_spec_pb2, "DType"):
     22     raise ValueError("""\
     23 Collision between YDF and TensorFlow Decision Forests protobuf shared dependencies.
     24 Please, reinstall YDF with the "--force" argument, restart the notebook runtime (if using a notebook), and try again:
     25
     26 !pip install ydf --force""")

ImportError: cannot import name 'data_spec_pb2' from 'yggdrasil_decision_forests.dataset' (unknown location)

Relevant installed package versions:
keras==3.3.3
tensorflow==2.16.1
tensorflow-datasets==4.9.4
tensorflow-estimator==2.15.0
tensorflow-io-gcs-filesystem==0.36.0
tensorflow-metadata==1.15.0
tensorflow-ranking==0.5.5
tensorflow-recommenders==0.7.3
tensorflow-serving-api==2.15.1
tensorflow_decision_forests==1.9.1
tf_keras==2.16.0
ydf==0.4.3

This is annoying :).
Do you mind trying a full fresh install?
pip uninstall ydf
pip uninstall tensorflow_decision_forests
pip install ydf --force
pip install tensorflow_decision_forests --force

After following @achoum's instructions for a full fresh install, I am able to import the ydf package, and to_tensorflow_function() and to_tensorflow_saved_model() seem to be working. I am still having a separate issue with tree_plot.html() but I've reported that issue in another ticket.


Document request event

Doc said there are three types of events https://github.com/solid/solid-auth-client#events
But what's this 'request' event?
https://github.com/solid/react-components/blob/54ab590ffb79e645f5a4c898057ab94e282b3bad/src/UpdateTracker.js#L95

Good spot!
This was hastily added for the React components in v2.3.0 (https://github.com/solid/solid-auth-client/commit/915996d1331c98f517dfc66bd4dd9e0ec5699e38).
It is a way of keeping track of what requests pass through fetch in order to perform things like cache invalidation.
We can/should add it to the documentation.


Activate extra destination fields

Description
Hi there.
Many iD mappers don't know that destination:symbol and destination:colour exists, so why doesn't iD help with that?
My suggestion is to activate those fields whenever the destination field is filled with one or more values.
I think this would be a great addition to add more useful info to highway links, and also would help mappers to investigate further other more complex info, like lanes, :forward and :backward keys.
Regards.
Screenshots
No response

I like this idea, though I think this one belongs on https://github.com/openstreetmap/id-tagging-schema/issues instead of here. I can't transfer issues, but if you open one over there and link it here, I can close this one if you'd like.

Thanks, @nickrsan. I've posted it here as you suggested.

I'm gonna close this one as a Duplicate of https://github.com/openstreetmap/id-tagging-schema/issues/1065

Duplicate of openstreetmap/id-tagging-schema#1065


Figure out a geoip solution.

Authentik, Vector, GeoIP, Nginx all require a maxmind license key for geoip updates.
I need to figure out a method so that if one pod boot loops and causes the downloads for the key to run out that none of the other projects will be affected.
Ideas:

Use a single pod + external secret push secret to store the binary data.
Sidecars?

Going to leave it alone for now, due to no crashing pods in awhile. Maybe individual keys for individual apps in the future?


Before you begin: Android Basics with Compose

URL of codelab
The problem is found when clicking the codelab link to learn to program using view
When you click to see the course on Android basics in Kotlin with the previous UI (Views), the codelab of the current version of the course opens and does not allow access to the old version
Steps to reproduce?

Go to... Other training materials
Click on... Android Basics in Kotlin course.

See error...

Versions
Android Studio version: -
API version of the emulator: -
Additional information
Include screenshots if they would be useful in clarifying the problem.

Ah the Views version of the course has now been deprecated, so that redirect is working as intended. I think there is an issue with this translated page being out of date because that link was removed from the English version of this page. Thanks for flagging!


[BugFix] fix parse error of QUALIFY with alias

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fix error of
> select openid as id from tb1 QUALIFY row_number() OVER (PARTITION BY openid ORDER BY time DESC) = 1;
ERROR 1064 (HY000): Column '`__QUALIFY__TABLE`.`openid`' cannot be resolved

Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Handle InsetDrawable as input drawable

It's simply a copy of handling VectorDrawable. Draw function is abstract, so I suppose we could do it even for every Drawable type

Thanks for PR @wojtczakmat,
Cloud you give an example code for use case.


implement runPartial. Run monadic actions and extract a return value if ...

...possible
Seems to be a useful utility function that's currently missing.

Can you give an example of how you planned to use this?

My particular application is something like this:
consumerToIteratee :: (Monad m, I.Nullable a) => Consumer a m r -> I.Iteratee a m r
consumerToIteratee = go
  where
    go consumer = do
      a <- I.getChunk
      out <- lift $ runPartial $ return a >~ consumer
      case out of
        Left r -> return r
        Right next -> go next

where I.Iteratee is from the iteratee package.

In this case you can use runEffect instead of runPartial.  return a >~ consumerwill type-check as an Effect, meaning that it's guaranteed not to have any Request/Respond constructors.
You can also tell that it won't have any Request/Respond constructors by observing that Consumer only has Request/Pure/M constructors, and then (return a >~) eliminates all the Request constructors.

I see. I think >~ doesn't do what I thought it did.   Could I suggest this slight variation on the type signature you gave
feed :: Monad m => Consumer a m r -> m (Either r (a -> Consumer a m r))

Notice how you don't supply the a directly to feed.  Instead, it may give you a (a -> Consumer a m r) and you supply the a to that instead.


TCMPRPlotter TITLE can not contain spaces.

Bug The Plot TCMPR TITLE = option that is defined in metplus.conf can not contain spaces.

Fixed by refactoring the run_all_times() and retrieve_optionals() to use a dictionary to separate the -opts from their values to avoid splitting up the text in the title.  Special handling of opts with lists (-dep, -lookin, and -plot) is required to ensure that produtil's exe is correctly invoking the commands to run the plot_tcmpr.R script.


Release 2.18.0 for Windows & MacOs

Replacing CITY AMBIANCE: Busy Restaurant / Diner - 10 HOURS Ambient Sounds with Sweeping White Noise to Transform Sleep | Relaxing Masker.

https://github.com/kkamara/kelvinkamara/releases


Initial commit of a wasmtime-py bindings generator

Currently supports everything necessary to run host.witx, but there
are known missing holes:

Endianness isn't handled
Probably not as efficient as it could be
Legacy witx features aren't supported

This generator is intended for host embeddings of Python using the
wasmtime package on PyPI. This will generate Python with annotated
types for usage with mypy and other type checkers as well (and mypy
is a bit part of the tests for all of this). The idioms generated here
are a sort of blend of JS idioms where ownership doesn't matter and
Wasmtime idioms where types like the Store must be passed around. This
is intended to feel like idiomatic Python, but being someone who hasn't
written a lot of Python I'm sure there's room for improvement here and
there, so this is just a first pass.

While I was at this I took the liberty of rewriting the README and the language support section to be a little less repetitive and also extend it a bit with future-facing words.


fix: Fixed an issue where routes with the same name were generated wh…

…en .nvue files had the same name as .vue files.

Description 描述
修复相同目录下存在相同文件名的.vue .nvue文件时生成重复路由的问题

Linked Issues 关联的 Issues
#127
Additional context 额外上下文

Summary by CodeRabbit

Refactor

Improved the logic for handling page metadata in the context of different platforms.

点错了 QAQ

thanks!


cannot build tikv

Please answer these questions before submitting your issue. Thanks!

What version of Rust are you using (rustc --version)?
rustc 1.21.0-nightly (aac223f4f 2017-07-30)

What operating system and processor architecture are you using?
MacOS 10.13.3

What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.

download tikv from github
make

What did you expect to see?
make can compile tikv successfully

What did you see instead?
Updating git repository https://github.com/stepancheg/rust-protobuf.git
Updating git repository https://github.com/busyjay/jemallocator.git
error: failed to load source for a dependency on jemallocator

Caused by:
Unable to update https://github.com/busyjay/jemallocator.git?branch=dev#079e31b1

cannot find the commit 079e31b1b9c9eccff9bb01afd2eab7f5037d9bf1 in jemallocator repo

I'm sorry it happened. I just did a quick fix, can you try again?

the fix is in tikv repo or  jemallocator repo?

In jemallocator repo. You should be able to get it compiled by simply issue make again.

can you show me the link of the fix, thx

I just added the missing commit back to the repo.

@xinxinsh Did this resolve the issue?

The issue should have been fixed according to the comments above. Closing. If you still face this issue please leave a comment and we will take a deeper look.


Unable to Bind My SAP Project from BAS

Hi All,
In exercise 3,step 3 Explore generated design-time artifacts tutorial
when i tried to bind my project to a Database Connection and HDI container instance am not getting any popups but am getting 4 options

Bind to an HDI Container( when clicking on this am getting error as NO HDI Shared plan available in space. However my DB Instance is up and running)
Bind to a user provided service( when clicking getting warning as No service instance is found)
Bind to a schema Service(  when clicking on this am getting error as NO HDI Shared plan available in space. However my DB Instance is up and running)
Bind to an application managed service( when clicking on this getting warning as Please create a service manager instance.)

Please help me to resolve this issue. Do i miss any configuration

If you have no HDI- shared plan than you are missing the entitlement in your sub-account.  Please add this entitlement. Are you using the free trial?  Normally this entitlement is added automatically in the free trial.  Did you manually create a second sub-account in your free trial global account?

Yes Jung i have created second sub-account. Now i have added SAP HANA Schemas & HDI Containers Entitlement.
Thanks for your quick response.

Hi Thomas,
I am getting error when i tried to create an service instance.

The tooling unfortunately sometimes doesn't wait long enough for the service and key to be created.  Wait a moment and try again.  Just bind to the existing service (which should show up in the list once it's created). You can also check the creation status from the terminal with the cf services.

Thanks Thomas


Steven Arnold Testing - DO NOT MERGE - Update ExportTemplate_WIDA-ACCESS.json

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


Disable automatic transition when clicking dayView

Hello,
How can I disable automatic transition to previous/next month when clicking on a dayView? This issue is preventing me from selecting some days from the week when they are outside the current month.
If you see the screenshots I am unable to selected either 30 or 31 and September shows those days faded however, when I click, It goes automatically to august.

Edit: Btw, what's the expected behaviour, August shouldn't be showing 30 and 31?
Edit2: Had to hack in CVCalendarMonthContentViewController:
In performedDaySelection comment presentPreviousView and  and presentNextView method calls
My suggestion would be adding a new method to CVCalendarViewDelegate

Hello @bphenriques,
Thank you for a suggestion. I'll definitely add these features. As for the missed days, you might have auto layout issues. Make sure you're using the latest CVCalendar version, then try to turn off auto shrink optional func shouldAnimateResizing() -> Bool on CVCalendarViewDelegate.
Let me know on that!

Hello,
I updated and the missing days are working now! Thank you!