Add support for CocoaPods on iOS

This PR adds support for CocoaPods on iOS. Implements this proposal
Description
CocoaPods is a dependency manager for iOS which is widely used to provide native libraries similar to Gradle for Android. Currently there's no support for these pods and thus users are unable to use the one click deploy when implementing their own native plugins which rely on a CocoaPod dependency. Instead people are forced to export the project and setup CocoaPods for each build manually which does not scale well.
This PR makes use of the .gdip file that is required for iOS Native Plugins and simply adds a pods variable where you can specify the pod name and version with the following format: pods=["POD_NAME:POD_VERSION"]. In the export settings you simple enable CocoaPods (disabled by default to avoid changing the standard workflow for iOS exporting) and are then able to build your project as normal with the CocoaPods dependencies automatically added to your project.
Status
I've marked the PR as a draft as there are some parts I'm not fully happy with and would like some suggestions on how to improve those, namely how to transfer the dependencies from the .gdip file to the actual build process. I also don't fully know where I need to go in order to update the documentation nor if I need to do anything related to the translations of the new error messages and option inside the Export window.
How to test
The system is already functional and you can use this sample project in order to try it out: ioscocoapodstest.zip. This project uses the IronSourceSDK as a dependency and simply calls [ISIntegrationHelper validateIntegration] in order to verify that everything was setup correctly. When you run the project on an iOS device it should say Found Plugin 1234 and inside the Console you should be able to see a list of IntegrationHelper messages with the IronSource adapter being verified with version 8.3.0.
The source code for this plugin (extremely rough code) is available here: GodotSamplePlugin.zip. In order to use it you must add the godot source to the root folder of this project and run pod install inside the root folder. You can then open the GodotSamplePlugin.xcworkspace and build the project via the ExternalBuildTest target. The final binary will be placed in the bin/ folder. The GDIP can be found in the sample project above under the ios/plugsin/GodotSamplePlugin folder.

Would someone be able to review the 2 things I mentioned in this PR? Once those are taken care off I can convert it to a full PR :)


Can MonitorControl Switch the Monitor Input Select?

Before opening the issue, have you...?

[X] Searched for existing issues

Question
I have a Viewsonic VP3256-4K 32” flat screen monitor.
Does MonitorControl have any functionality to change the input select?
Or does anyone know if there is software to set a keyboard shortcut that I can use to switch the input source from my MacBook Pro to my Windows PC without having to go through the process of pushing the 4 button combination on the back of the monitor?
I switch the input source numerous times a day and this is becoming a major inconvenience.

Yes, BetterDisplay can do that (it's a free feature). After installing, just expand the display's menu and use the DDC Input Source submenu.

You can customize the list of inputs and its assignments under app Settings (gear icon)/Displays.


[v1.5] Fix BrowserPanel issue of displaying from local HTML file

Low priority, not necessary to implement for now


Failed to Create User

add creation of user if not exists in PostgresFixture
add error message in exception

Related Issue(s)

#738

Developer/Reviewer Checklist

[ ] Your code builds clean without any errors or warnings
[ ] No changes to config/appsettings or environment variables created in separate linked PR
[ ] Manual testing done (required)
[ ] Relevant integration test added (required for functional changes)
[ ] Relevant automated test added (required for functional changes)
[ ] All integration tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

I struggle to recreate the issue, i'm not sure if this will solve the issue, but it's worth a try. I added error message and exit code in XunitException, so if it happens again, we'll at least why.


Update landing page

Provides some advertising text on the landing page. This has to be updated as soon as we have references to a paper we want to cite. Additionally, it claims to be installable via pip install flowcean which is currently not possible.

Lgtm. Regarding the PyPI release: We should probably define a state when flowcean is "good enough" for a first alpha / beta release. I'll throw a discussion issue on the tracker.


No dependency on FileService in editor/quickfix

Editor contrib should not depend on file service, which is not available in browser.
https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/quickFix/quickFixCommands.ts#L48-L51

https://github.com/Microsoft/vscode/pull/38921 Leave it to @mjbvz for merging, marking it as optional can avoid dependency on file server in standalone editor.


Reanimated 2 failed to create a worklet

Hello,
I'm trying to use Moti and I seem to be hitting a wall with "Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?" error.
I've tried a couple of work arounds found on wild web like adding reanimated plugin to babel config and reset metro cache and run. Unfortunately none of them worked. Strange thing is I'm able to run native Animated transitions. Only when I try to use Moti, I'm getting this error. Any thoughts?
I'm trying to animate height of a horizontal scroll view which doesn't seem to be supported by native animations right now.
FYI,
"moti": "^0.16.1",
"react": "17.0.1",
"react-native": "0.64.2",
"react-native-reanimated": "^2.1.0",
babel.config.js :
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: ['react-native-reanimated/plugin'],
};

I probably need more info about your setup and stuff. Can you create a minimal repro? Maybe try reanimated 2.2.2?

I don't know why, but when I was running npm run start --reset-cache, cache wasn't getting cleared. But when I ran npx react-native start --reset-cache, cache cleared and Moti animations were working. So, I'm closing this issue. Thanks.


Rework "filename-info" logic

the ui.filename option controls whether the filename is displayed or not but setting it to true does nothing unless the filename has been set in ui.filename-info. Lets improve that.

from @snoyer


Avoid exhausting disk space by dropping segments in dev mode prover

A user on Discord "proving" a very large program in dev mode ran into an issue where their disk space was exhausted, requiring a restart to make they system usable again.
This PR addresses this issue by specializing the implementation of the Prover::prove method on the DevModeProver to pass a drop-segment callback to the executor. This avoids saving the segments to disk when they will not end up being used, saving disk space and potentially improving execution performance.

Moving to draft: I just realized more changed are needed to make this work.

Closing this PR as there is work in progress to address this issue in a more robust way


Installation Failure

I tried to install the package using the guide, but failed
I typed pip install eth-hash
then, I encountered the following failure
###############################3
Collecting eth-hash[pycryptodome]
Downloading eth-hash-0.1.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-_je_xR/eth-hash/setup.py", line 71, in
'Programming Language :: Python :: Implementation :: PyPy',
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 272, in init
_Distribution.init(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in init
self.finalize_options()
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 327, in finalize_options
ep.load()(self, ep.name, value)
File "/usr/local/lib/python2.7/dist-packages/setuptools_markdown.py", line 22, in long_description_markdown_filename
output = pypandoc.convert(markdown_filename, 'rst')
File "/usr/local/lib/python2.7/dist-packages/pypandoc/init.py", line 66, in convert
raise RuntimeError("Format missing, but need one (identified source as text as no "
RuntimeError: Format missing, but need one (identified source as text as no file with that name was found).
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_je_xR/eth-hash/

You need to upgrade to python3.  eth-hash and the majority of the other python ethereum tools are python 3 only.

We do not support python 2.7.  Upgrade to python >= 3.5

@maxrobot did you read the previous comments in this issue?
Python 2 is not supported by eth-hash.

You should really try upgrading.  It's not hard and there is a lot of tooling to help support the transition. Glad you found something that works for you.

I had a similar issue when trying to install pyethapp.  I had to install version of 0.1.2 of eth-hash
sudo pip install https://codeload.github.com/ethereum/eth-hash/tar.gz/v0.1.2
thank you


node is not remived from DoublyLinkedList

https://github.com/duttabhishek0/ThreadSafe-LRUCache/blob/3a6d95fd93dea8857cd11047c788c95cade74f2a/src/core/LRUCache.java#L109
Don't you think that you should have deleted the node from DoublyLinkedList also ?

Theoretically, It seems like an oversight that the node should be removed from the doubly linked list. You may go ahead and implement it. Raise a PR, I will review.


Dart Error: Dart_LookupLibrary: library 'package:telephony/telephony.dart' not found.

Hello, I am getting the below error when,

I run app in release mode using flutter run --release
App is running in background,

Note: App is working fine on foreground. I have disabled battery optimization from my device
E/flutter ( 9686): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:telephony/telephony.dart' not found.
E/flutter ( 9686): [ERROR:flutter/runtime/dart_isolate.cc(668)] Could not resolve main entrypoint function.
E/flutter ( 9686): [ERROR:flutter/runtime/dart_isolate.cc(167)] Could not run the run main Dart entrypoint.
E/flutter ( 9686): [ERROR:flutter/runtime/runtime_controller.cc(385)] Could not create root isolate.
E/flutter ( 9686): [ERROR:flutter/shell/common/shell.cc(604)] Could not launch engine with configuration.

use flutter 3.0.4

I have the same problem what is the best solution ?

I didn't get any.

add @pragma('vm:entry-point') to background entry-point function

Ekle@pragma('vm:giriş noktası') arka plan giriş noktası işlevine

not working   problem is telephony

Am also facing the same issue, please give some updates. Thank you.

This will fix this issue #168. For the time waiting until it's merged you can use my clone directly.
telephony:
  git:
    url: https://github.com/definev/Telephony.git
    ref: develop

This will fix this issue #168. For the time waiting until it's merged you can use my clone directly.
telephony:
  git:
    url: https://github.com/definev/Telephony.git
    ref: develop

You are a lifesaver bro👏

flutter run --release
E/flutter (22741): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:telephony/telephony.dart' not found.
E/flutter (22741): [ERROR:flutter/runtime/dart_isolate.cc(668)] Could not resolve main entrypoint function.
E/flutter (22741): [ERROR:flutter/runtime/dart_isolate.cc(167)] Could not run the run main Dart entrypoint.
E/flutter (22741): [ERROR:flutter/runtime/runtime_controller.cc(385)] Could not create root isolate.
E/flutter (22741): [ERROR:flutter/shell/common/shell.cc(604)] Could not launch engine with configuration.
how can i solve this issue

working on debug mode but not working on Relase mode in flutter

I am having the same issue works on debug mode but not on the release mode

@ParhaMDeF
I am getting this error now after adding @pragma('vm:entry-point') this
    NoSuchMethodError: No top-level getter 'onBackgroundMessage' declared.
    Receiver: top-level
    Tried calling: onBackgroundMessage

Note i have already a top level custom onBackgroundMessage as i am using the telephone example from the repo

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(failed_to_fetch_sms, Flutter Telephony: Error getting SmsManager, null, null)
E/flutter ( 5660): #0      StandardMethodCodec.decodeEnvelope
message_codecs.dart:653
E/flutter ( 5660): #1      MethodChannel._invokeMethod
platform_channel.dart:296
E/flutter ( 5660):
E/flutter ( 5660): #2      Telephony.sendSms
telephony.dart:321
E/flutter ( 5660):
E/flutter ( 5660): #3      _home_pageState.build.
home_page.dart:258
E/flutter ( 5660):
E/flutter ( 5660):
how to solve this issue

  # url: https://github.com/suhardik/s_telephony.git

On Thu, Feb 2, 2023 at 1:54 PM Aman Bansal @.***> wrote:

@ParhaMDeF https://github.com/ParhaMDeF
I am getting this error now after adding @pragma('vm:entry-point') this
NoSuchMethodError: No top-level getter 'onBackgroundMessage' declared.
Receiver: top-level
Tried calling: onBackgroundMessage

Note i have already a top level custom onBackgroundMessage as i am using
the telephone example from the repo
—
Reply to this email directly, view it on GitHub
https://github.com/shounakmulay/Telephony/issues/165#issuecomment-1413326545,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLA7YDRYTF7KIYN5YOWZ43WVNVNNANCNFSM6AAAAAARAMRWXU
.
You are receiving this because you commented.Message ID:
@.***>


Template format 4.0 is newer than the version that this software supports (3.0)

The SVG file provided for the symbol image set ’circle.grid.2x3.fill‘ is not suitable: Template format 4.0 is newer than the version that this software supports (3.0)
xcode:14.2
macOS: 12.5

Hello @fenglh.
Currently, the ExcalidrawZ app requires a minimum version of 13.0, and there are several compatibility issues with macOS 12.5 due to the lack of certain new APIs, such as NavigationSplitView. Additionally, the custom resource circle.grid.2x3.fill is generated by SF Symbols. During development, you can easily swap out this image with any systemImage available in a SwiftUI Image instance.
I will add compatibility code in the upcoming versions to make it compatible with lower versions, such as macOS 12.5.


Discord or any support channel

I confirm that I have ...

[X] ...tried the latest build to make sure my feature doesn't exist already.
[X] ...checked the realism of my feature and i think it can be executed.
[X] ...checked other existing issues for my feature request.

Description

Should be added, because you wouldn't have way too many issue reports simply just for some question. (Discord invite doesn't work on your GitHub -> Rollercraft Discord)
Like no need to create GitHub account or just they don't need to complete issue forms for simple question.
Some platform, where you can just ask.
Discord propably the best (for rooms)

Code Example
public supportRoom

The discord link was set to expire after one week, silly me c:
Updated the discord link, it should now work forever :)

ehm, where is the discord link? On your spigot page can't find it, also on front page of GitHub I can't see it .... only when you go to issues section, and than click new issue, and here I can see Rollercraft discord, but I don't have permission to enter :((

https://discord.gg/RNhtzvsBGP is the new link :) I've added it to the front page and i totally forgot to change the link in the issues section so I'll change that right away!


Duplicate name(sea-orm-cli)

I am using sea orm cli to generate data entities.
They seem to have the same name(Model) in the generated OpenAPI.
I have been seeking a way to solve the problem of Struct duplication.
Currently, I have found that I can use
 # [serve (rename="seedQueryDto")]

However, it is not convenient to use sea orm cli to generate entities.
Do you have a good solution to solve the problem of structural duplication?

Hello !
Thanks for reporting the issue.
Could you provide a small code example to have better insights about what you're trying to do ?

Example :
use crate::ticket::{update_ticket, Model};
use actix_web::web::{Json, Path, Query};
use actix_web::{App, Error, HttpServer};
use apistos::app::{BuildConfig, OpenApiWrapper};
use apistos::info::Info;
use apistos::spec::Spec;
use apistos::web::{put, resource, Scope};
use apistos::{api_operation, web, ApiComponent, SwaggerUIConfig};
use serde::{Deserialize, Serialize};

pub const PATH_PREFIX: &str = "/api/rest/v1";

#[tokio::main]
async fn main() {
    HttpServer::new(move || {
        let spec = Spec {
            info: Info {
                title: "Finance REST API".to_string(),
                version: env!("CARGO_PKG_VERSION").to_string(),
                ..Default::default()
            },
            ..Default::default()
        };
        App::new()
            .document(spec)
            .service(router_api_v1())
            .build_with(
                "/api-docs/openapi.json",
                BuildConfig::default().with(SwaggerUIConfig::new(&"/swagger-ui/")),
            )
    })
    .bind(("<IP_ADDRESS>", 9998))
    .unwrap()
    .run()
    .await
    .unwrap();
}

fn router_api_v1() -> Scope {
    web::scope(PATH_PREFIX)
        .service(api_ticket())
        .service(api_amount())
}

const SUB_PATH_PREFIX: &str = "/ticket";

pub fn api_ticket() -> Scope {
    web::scope(SUB_PATH_PREFIX).service(resource("").route(put().to(update_ticket)))
}

pub fn api_amount() -> Scope {
    web::scope("/amount").service(resource("").route(put().to(update_ticket)))
}

mod ticket {
    use actix_web::web::Json;
    use actix_web::Error;
    use apistos::{api_operation, ApiComponent};
    use schemars::JsonSchema;
    use serde::{Deserialize, Serialize};

    #[derive(Serialize, Deserialize, Clone, Debug, JsonSchema, ApiComponent)]
    pub struct Model {
        pub id: u64,
        pub summary: String,
    }

    #[api_operation(tag = "test")]
    pub async fn update_ticket(data: Json<Model>) -> Result<String, Error> {
        Ok("success".to_string())
    }
}

mod amount {
    use actix_web::web::Json;
    use actix_web::Error;
    use apistos::{api_operation, ApiComponent};
    use schemars::JsonSchema;
    use serde::{Deserialize, Serialize};

    #[derive(Serialize, Deserialize, Clone, Debug, JsonSchema, ApiComponent)]
    pub struct Model {
        pub id: u64,
        pub name: String,
    }

    #[api_operation(tag = "test")]
    pub async fn update_amount(data: Json<Model>) -> Result<String, Error> {
        Ok("success".to_string())
    }
}

Hi !
Never used sea-orm myself. Just to be sure, could you please join the sea orm command you are using ?
If you generate rust struct from a database schema and your table names conflict with the one already available in you example, I'm afraid the only way right now would be to use serde rename like you mentionned.

The sea orm cli command is as follows:
Doc：https://www.sea-ql.org/SeaORM/docs/generate-entity/sea-orm-cli/
sea-orm-cli generate entity \
  -u mysql://{username}:{password}@<IP_ADDRESS>:3306/{database}?serverTimezone=GMT%2B8 \
  -o {out_file_path}\
  --enum-extra-derives 'apistos::ApiComponent','schemars::JsonSchema' \
  --model-extra-derives 'apistos::ApiComponent','schemars::JsonSchema' \
  --with-serde both

After investigations, it looks like we won´t be able to provide a fix for your usecase. Sorry.
If we understood your issue correctly, the sea-orm-cli generates database models in your code, and the generated struct names are identical. Could you then try to rename them, and use sea-orm macros to help you customize your database models ? Like what is described here : https://www.sea-ql.org/SeaORM/docs/generate-entity/entity-structure/


local tests failing with "too many open files"

I can no longer run the test suite locally. Tests start failing with "OSError: [Errno 24] Too many open files". @aulemahal found the same problem in #149.
We must not be closing files somewhere.

I have the same problem on my machines. It looks like the failure only occurs when both np.memmap and dask are used, so I think dask is not closing the memmap references.
Reading this comment it looks like memmap is creating three references, and this comment suggests to use .copy to make sure that the references are closed.
I can fix all tests using .copy() in the load_chunk() functions when use_dask is True and use_mmap is True. Here is one of the load_chunk() functions defined: https://github.com/xgcm/xmitgcm/blob/94c7f8ac013a56f3ba4991dc353955ee7001d7c9/xmitgcm/utils.py#L549-L551
I'm not sure if that's the right way to go though, and if I'm just getting rid of the advantages of using dask and mmap.

Thanks for digging into this.
One option would be to make dask and memmap mutually exclusive. There is actually no good reason to use memmap with dask, because whenver dask loads a chunk, it loads it as numpy array. Memmap is in effect a different way of being "lazy" with the data loading.

I'm not sure if that's the right way to go though

I think your example code just leads to eager loading, so at that point you might as well just say memmap=False.
Instead I would try changing the logic in utils.read_mds:
https://github.com/xgcm/xmitgcm/blob/94c7f8ac013a56f3ba4991dc353955ee7001d7c9/xmitgcm/utils.py#L87-L89
Currently, both use_dask and use_mmap default to True. We could change the default to use_mmap=Noneand then have some logic in the function to disableuse_mmapwhenuse_dask` is set to True.
I'm curious to know if this would resolve the "too many open files" test failures.

Yes! This fixes the problem:
    # Do not use mmap with dask
    if use_mmap is None:
        use_mmap = False if (use_dask) else True

Do you also want to set use_mmap=False (and maybe add a warning) if use_mmap=True and use_dask=True?

I think we want the following sort of behavior for the keyword args to read_mds

use_dask
use_memmap
result

True
False
default behavior

True
True
Raise an error explaining it's pointless

True
None
use_memmap get sets to False

False
False
Eager loading to numpy arrays

False
True
Load data to memmap

False
None
use_memmap get set to True

I think this is reasonably compatible with the current behavior. The default values for read_mds should be use_dask=True, use_mmap=None.

I don't know if this should be another issue or not, but I've got a similar problem now.
With #165 added to my local branch, I still get no space left on device and my computer crashes when testing twice.
Turns out my /tmp folder is too small. Running py.test once fills it with 3GB of data.
A workaround would be me setting a different "basetemp" when calling py.test, or me simply rm -rf everything after running it.
Or, we could do something similar to : https://stackoverflow.com/a/51593679/9291575
Is the current behaviour the correct one?


Run tests for DPNP RNG on all devices

Tests in numba_dppy/tests/njit_tests/dpnp/test_numpy_rng.py runs only on Level Zero:
# dpnp throws -30 (CL_INVALID_VALUE) when invoked with multiple kinds of
# devices at runtime, so testing for level_zero only
list_of_filter_strs = [
    # "opencl:gpu:0",
    "level_zero:gpu:0",
    # "opencl:cpu:0",
]

dpnp RNG support has been removed from numba-dpex along with the associated unit tests.


Correct the Poisson equation in the cavity flow example

There is a sign mistake in the Poisson equation. It doesn't significantly affect the solution of this particular example, but it can be important when solving Navier Stokes for other problems.

Good catch, thanks!


[HELP] Cannot debug esp32c6 using open ocd

Description
Description
Hello All,
I am trying debug esp32c6 using open ocd, I followed tutorial in link:
[https://nuttx.incubator.apache.org/docs/latest/platforms/risc-v/esp32c6/index.html#debugging-with-openocd
openocd -c 'set ESP_RTOS hwthread; set ESP_FLASH_SIZE 0' -f board/esp32c6-builtin.cfg
Open On-Chip Debugger v0.12.0-esp32-20240726 (2024-08-13-15:00)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
0
Info : only one transport option; autoselecting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Info : Hardware thread awareness created
WARNING: ESP flash support is disabled!
force hard breakpoints
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: esp_usb_jtag: could not find or open device!
/usr/local/bin/../share/openocd/scripts/target/esp_common.cfg:9: Error:
at file "/usr/local/bin/../share/openocd/scripts/target/esp_common.cfg", line 9
Error: [esp32c6] Unsupported DTM version: -1
Error: [esp32c6] Could not identify target type.

Do you have any idea what's happen?
Verification

[X] I have verified before submitting the report.

@fdcavalcanti @tmedicci please take a look!
@FelipeMdeO seems similar to this issue: https://github.com/espressif/openocd-esp32/issues/315

Hi @FelipeMdeO ,
Considering the message Error: esp_usb_jtag: could not find or open device!, it seems the USB/JTAG port is not connected. Can you please double-check if the 2nd USB port (the one in the right) is connected?
You should expected something like that on your dmesg when you attach the USB-C cable to the USB/JTAG port of the ESP32-C6:
[1214203.144071] usb 3-1.2.2: new full-speed USB device number 109 using xhci_hcd
[1214203.259848] usb 3-1.2.2: New USB device found, idVendor=303a, idProduct=1001, bcdDevice= 1.02
[1214203.259867] usb 3-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1214203.259874] usb 3-1.2.2: Product: USB JTAG/serial debug unit
[1214203.259880] usb 3-1.2.2: Manufacturer: Espressif
[1214203.259884] usb 3-1.2.2: SerialNumber: 60:55:F9:F7:4C:D4
[1214203.274098] cdc_acm 3-1.2.2:1.0: ttyACM0: USB ACM device

Hello @tmedicci ,
Yes, USB/JTAG port is connected, please look image below:

@FelipeMdeO see the LIBUSB_ERROR_ACCESS, please try the same command with "sudo"

@FelipeMdeO Hi Felipe, what OS are you using? Did you check udev rules?

Hello @fdcavalcant.
I am using Ubuntu 20 .04 noble.
@acassis Thank you very much, running with sudo it worked.

Hi @FelipeMdeO , you can set the udev rules too to avoid this kind of error: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/api-guides/jtag-debugging/configure-builtin-jtag.html#configure-usb-drivers

Thanks for reporting. We will update the documentation to make it clearer...


Long python process apparently timing out

I have a long-running python process that works independently and works properly in Excel when runtime is under 90 seconds or so. If the runtime is sufficiently long, Excel generates an alert - "Microsoft Excel is waiting for a another application to complete an OLE action".
This is pretty clearly a timeout, but I can't figure out how to set a longer timeout - maybe 600 seconds. Is it possible to set a longer timeout for ExcelPython

Hi,
this behaviour is typical of VBA calling external programs that are slow.
It happens with Oracle, Matlab, Datastream...
But it does not mean the process stopped.

Thanks Antonio, actually I think I forgot to reply to this issue.
What Antonio says is entirely correct, unfortunately though I do not know of a way of increasing the timeout.


On windows you must add ".cmd" when calling "ndk-build"

See: http://stackoverflow.com/questions/27477158/android-studio-ndk-build-trouble-errorexecution-failed-for-task-appbuildnati

I signed it!

Changed CLA's github account name from<EMAIL_ADDRESS>to "ianjosephfischer" to attempt to fix the authoring


#61: deprecate mentions of example_settings.py

Cleanup on README.md

Deprecates two mentions of example_settings.py replacing with regcore/settings/base.py
Repairs link to cfpb/regulations-stub

Looks like some unintentional deletes of EOL whitespace made it in there, too.  I'll check my editor settings.

Coverage remained the same at 83.439% when pulling 9066c9c03cfba25884d5152f11287263013a6c1a on gregoryfoster:regulations-core-61 into dd846a8773d68ab5d6ae3052c601c428b81e00de on eregs:master.

Looks good, thanks @gregoryfoster


Fix Polish language, add missing Status Page i18n

Addendum to https://github.com/louislam/uptime-kuma/pull/498
CC: @kry008

Ready for merge


Flat combining

Is flat combining something that would fit well in crossbeam?
The jist of flat combining is that a single thread acquires ownership of a given datastructure and contending threads send messages to the owning thread which carries out the requisite tasks.
In a sense, flat-combining can be though of as:

A glorified mutex where instead of waiting to do work threads have the owner do work
A basic message-passing system where threads take over/release time as the 'worker thread'

This can also transform an spmc queue into an 'mp'mc queue, single-writer into multi-writer, etc. However, it is blocking so I'm not really sure how well this fits in with the rest of the library.
If we want to get fancy, threads can send asynchronous messages as well where they don't block.
Also, this kinda brings up a more detailed (and honestly irrelevant at this point) question of how should threads yield? In something like mio-co, an evented system, or somewhere where 'blocking' time could really just do cleanup work, spinning on a lock and calling thread::yield() is really suboptimal.

Absolutely; I'd love to experiment with flat combining. I'd like crossbeam to take on the full spectrum of scalable concurrent algorithms, whether non-blocking or not. (And of course, even for the non-blocking data structures, there's often support for blocking operations).

Sounds good - I'll have a basic version ready soon and with some more thought/experimenting, something more generically usable.

A year late I actually have time to work on this for real, and just need to port the C implementation. Something I've realized while working on test implementations is that flat combining has a huge advantage in that it readily supports asynchronous work (see here) such that work in the critical section is actually performed before the thread tries to block; it's not just a glorified try_lock loop.
 Rayon's implementation of flat combining favors a situation where the same set of threads are hitting the combiner with a large amount of work. I'm not sure if this is suitable for general purpose. The implementation I linked works great for general purpose and isn't too complicated, but might not fare too well with many numa nodes competing under contention compared to something with per-node queues.
I favor going with the simple and general purpose method at first and then branching out as needed.


split docs

ref #83
also organized the badges similar to https://github.com/nlesc/template

Very topical emoji

PR #143 and #142 also change the README, make sure mergers dont' loose any text or duplicate.

I can't approve|request cahnges because I started this PR, but looks good to me except for that small thing above.

Thanks for reviewing


[NOT FOR MERGE] Change hello video app to make minimal example

This PR changes the hello video example app to make a minimal example which only connects to onFrameAvailable and prints a log message when the callback is triggered.
Its purpose is to demonstrate issues encountered when connecting to camera callbacks.

Closing this now, the conclusion is that TangoService_connectOnFrameAvailable for TANGO_CAMERA_FISHEYE is not supported anymore on Asus phones.


CIF-1081 - Client side product price loading does not respect multi store hierarchy configuration

Description

Updated page model to expose Magento store view in DOM.
Updated CommerceGraphqlAPI library to pass the Store header accordingly.

How Has This Been Tested?

Updated unit tests.

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes and the overall coverage did not decrease.
[X] All unit tests pass on CircleCi.
[X] I ran all tests locally and they pass.

Codecov Report

Merging #131 into master will decrease coverage by 12.56%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             master     #131       +/-   ##
=============================================
- Coverage     54.29%   41.73%   -12.57%
=============================================
  Files           114       83       -31
  Lines          3153     2104     -1049
  Branches        521      413      -108
=============================================
- Hits           1712      878      -834
+ Misses         1369     1226      -143
+ Partials         72        0       -72

Flag
Coverage Δ
Complexity Δ

#jest
33.62% <ø> (ø)
0 <ø> (ø)
:arrow_down:

#karma
93.66% <100%> (+0.04%)
0 <0> (ø)
:arrow_down:

#unittests
?
?

Impacted Files
Coverage Δ
Complexity Δ

...ore/cif/clientlibs/common/js/CommerceGraphqlApi.js
88.13% <100%> (+0.41%)
0 <0> (ø)
:arrow_down:

...mponents/internal/models/v1/product/AssetImpl.java

.../models/v1/navigation/GraphQLCategoryProvider.java

...s/internal/models/v1/product/VariantValueImpl.java

...ernal/servlets/GraphqlClientDataSourceServlet.java

...dels/v1/categorylist/FeaturedCategoryListImpl.java

...commerce/core/components/utils/SiteNavigation.java

...e/core/components/client/MagentoGraphqlClient.java

...ts/internal/models/v1/searchbar/SearchbarImpl.java

...s/internal/servlets/SpecificPageFilterFactory.java

... and 22 more

Continue to review full report at Codecov.

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

@herzog31 , in case you want to avoid the overhead of the delegation pattern you can put the storeview property in a small targeted custom model that you can use in HTL to add the new property to the page source. After all you don't need to customize anything in the OOTB Page model and the delegation overhead largely surpasses the amount of relevant code. Just my 2 cents.

@LSantha I addressed your feedback. Please check again.


PITY PITY PITY someone care about windows

If someone successfully installs this on Windows PITY give instructions.
I gave my time and mind already so maybe only money can solve this ?
I followed instructions given in readme they're FUCKING NOT WORKING
Python will you one day fuckign work on Windows
FUCKING WORK ONE DAY

i got it working but no gpu training as it isnt recognizing my gpu so im stuck in gpu training. so you need ffmpeg and ffprobe exe, virtualisation python environments .I assume you have a python version and its saved in environment variable.  ie clone cd to clone  py (version) -m venv (name)  then name\Scripts\activate    pip install torch torchvision torchaudio
python -c "import torch; print(torch.version)" ie the c "something" is the output you need in my case it is cpu though some have c118 or c117
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/(output ie this changes based on prev command)
pip install -r requirements.txt
python tools/download_models.py
you might need to launch with
something.bat:
@echo off
call venv\Scripts\activate
python app.py
?
(i hope this helps)
just make sure you have ffmpeg/ probe etc

change go web.bat to CALL env\Scripts\activate
python infer-web.py --port 7897 (or a port that works)


cufftPlanMany() argument support in cupyx.scipy.fftpack.get_fft_plan

I'm looking for the ability to do multiple overlapped FFTs on a 1D array of data. With cufftPlanMany() function in cuFFT I can set the istride/ostride and idist/odist arguments to accomplish this. I can also set the type to R2C, C2R, C2C (and other datatype equivalents).
I appreciate that cupyx.scipy.fftpack.get_fft_plan gives me the ability to set a plan prior to running multiple FFTs. However, it doesn't seem to give the same functionality as cufftPlanMany does. It is also currently restricted to C2C or Z2Z. Can get_fft_plan be expanded to give the user the same options as cufftPlanMany offers?

If you'd like to set istride and friends, I'd suggest you to initiate cupy.cuda.cufft.PlanNd directly. This is the object returned by cupyx.scipy.fftpack.get_fft_plan(). The convenience function get_fft_plan() is meant to be a high-level API, whereas you're asking low-level access. Let me know if you encounter any difficulty doing this.
As for the transform types, there's a PR pending review to support C2R/R2C/D2Z/Z2D: #3102.

I'll add the support of R2C/C2R to get_fft_plan() after #3102 is merged.

#3293 enables getting R2C/C2R FFT plans from get_fft_plan().

@jhill2 Both #3102 and #3293 are merged to master.


Collection of Ports issues

Lots of ideas of how to do ports have come up over time, so this issue is meant to collect all those things in one place so we can think coherently about how to address them.

https://github.com/elm-lang/elm-compiler/issues/490 - allow union types through ports
https://github.com/elm-lang/elm-compiler/issues/1007 - interpret missing fields as Nothing
https://github.com/elm-lang/elm-compiler/issues/940 - allow Dict through
https://github.com/elm-lang/elm-compiler/issues/475 - type check built-in ports (maybe remove them instead)

I think built-in ports should be removed or migrated to separate packages with the proper Native implementation.

Since this repo is "no longer in use", are these issues still tracked here? Any news about progress?

So, where progress of "Flag to coerce missing Maybe fields in records to Nothing in ports elm-lang/elm-compiler#1007" is tracked now?


box_overlaps.pyx line46, ih equation issue

Hello Jeasinema,
I go through the codes these days and find a issue during calculate the ih in bbox_overlaps function, your code are:
ih = (
min(boxes[n, 3], query_boxes[k, 3]) -
max(boxes[n, 1], query_boxes[k, 1]) + 1
)
but I think it should be:
ih = (
min(boxes[n, 1], query_boxes[k, 1]) -
max(boxes[n, 3], query_boxes[k, 3]) + 1
)
wish your feedback, thanks.
quick link:
https://github.com/tsinghua-rll/VoxelNet-tensorflow/blob/d24c3eefc5762e4785ca3be6ca7d1fd0ef16bc61/utils/box_overlaps.pyx#L46

Hi,
although I am not sure either which one is right, I found a similar issue regarding this implementation  #35

How to slove this problem "ModuleNotFoundError: No module named 'utils.box_overlaps'"


Fix shortcut key jumps to the last item instead of the first one

Bug: if you have 3 items 'Adidas', 'Alba', 'Alpina', pressing 'A' will jump to 'Alpina'
Expected: Pressing 'A' will jump to 'Adidas'.

Thanks @abiyasa!


add ripple/color to sidebar menu

Mostly a straw man fix just to start off (makes the sidebar ripple, adds selection color as per mocks).

Can haz demo?

lgtm!


web_hook_info always empty : No access to Slack Webhook URL

Hi,
I was always getting an empty web_hook_info whereas I was trying with a lot of different scopes. It wasn't making any sense.
It wasn't empty any more once I've remove the following line :
return {} unless incoming_webhook_allowed?
I suppose the incoming_webhook_allowed? method is wrong?

@ArnoHolo Make sure that your scopes are comma-delimited and do not have any spaces in between them.
For example, this will not work:
scope: "channels:read, incoming-webhook"

This should work:
scope: "channels:read,incoming-webhook"


Bug - Actual Case File : User Registration I Special characters allowed in the name

The Name and Last Name fields not accept the special characters
Steps to reproduce the behavior:

Start User Registration

Expected behavior
User Name: unable to enter the user name : T.N. Suresh

@mehulseg24  we are not allowing any special characters here (including .), only letters are allowed. this has been finalised already.

Hi @mehulseg24  @devarajd94  These are text fields it wont allow any special characters in this fields this is not Bug


Add complete dev server infrastructure

Add paster-based dev infrastructure. App is served at http://localhost:8080/app, by default.
To do:

[ ] Change branch name for git clone of scitran/api to aloha when scitran/api#102 lands.

Open issues:

[ ] Google OAuth prompts for "offline access" at every login.

@gsfr I like that we're now freezing versions, but I was actually hoping we could get away from the complexity of all the separate requirements files. Thoughts?

@josschne Yes, agreed. But note that this is for tying a final bow on SDM to close out our grant. Please consider it out-of-scope.

:+1:  LGTM

the  google oauth issue is related to the redirect host.
If it is localhost, Google will always ask for offline access:
http://stackoverflow.com/a/31242454/1186555
workaround:
I have created two entries to allow redirects from scitran.edu
add a line in /etc/hosts "<IP_ADDRESS>   scitran.edu"
open app at http://scitran.edu:8080/app


Getting Warning: Each child in a list should have a unique "key" prop. when spreading props and composing multiple Mui components

I have written a wrapper component similar to TextField  for Select, called SelectField. I noticed that in our SSR app that we're getting the warning for keys, even though there is no array in the component. In our Storybook app(client side only) there is no keys error.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
See code below. I am spreading props, and I get a keys error when there are no arrays/lists.

Expected Behavior 🤔
I should be able to spread props.

Steps to Reproduce 🕹
export const SelectField: React.FunctionComponent<SelectFieldProps> = ({
  label,
  SelectProps,
  children,
  disabled,
  helperText,
  error,
  className,
  name,
  id,
  value,
  onChange,
  onBlur,
  fullWidth,
}) => {
  const labelClasses = useLabelStyles();
  const helperTextClasses = useHelperStyles();
  const formControlClasses = useFormControlStyles({ fullWidth });
  // TODO investivate className server client mismatch with props in dev mode
  const width = fullWidth ? '100%' : 'auto';

  const inputLabel = React.useRef<HTMLLabelElement>(null);
  const [labelWidth, setLabelWidth] = React.useState(0);

  React.useEffect(() => {
    setLabelWidth(inputLabel?.current?.offsetWidth ?? 0);
  }, []);

  return (
    <FormControl
      classes={formControlClasses}
      style={{ width }}
      className={className}
      variant="filled"
      error={error}
      disabled={disabled}
    >
      {label && (
        <InputLabel classes={labelClasses} htmlFor={id ? id : SelectProps?.inputProps?.id}>
          {label}
        </InputLabel>
      )}
      <Select
        {...SelectProps}
        labelWidth={labelWidth}
        label={label}
        disabled={disabled ?? SelectProps?.disabled}
        name={name ?? SelectProps?.inputProps?.name}
        id={id ?? SelectProps?.inputProps?.id}
        value={value ?? SelectProps?.value}
        onChange={onChange ?? SelectProps?.onChange}
        onBlur={onBlur ?? SelectProps?.onBlur}
      >
        {children}
      </Select>
      {helperText && <FormHelperText classes={helperTextClasses}>{helperText}</FormHelperText>}
    </FormControl>
  );
};

Steps:

Context 🔦

Your Environment 🌎

Tech
Version

Material-UI
v4.9.5

React
16.13.0

Browser
latest chrome

TypeScript
3.8

babel
7.8.6

Cross posting https://stackoverflow.com/questions/60678043/getting-warning-each-child-in-a-list-should-have-a-unique-key-prop-when-spre?noredirect=1#comment107355735_60678043

Getting the same issue with a shared library that wraps the MUI Select component. Doesn't seem to be any workaround that I can find. Did you find a solution to this?


[RESOLVED] No SNMP data collection

Problem started at 13:55:47 on 2023.08.16
Problem name: No SNMP data collection
Host: HP_iLO
Severity: Warning
Operational data: Current state: not available (0)
Original problem ID: 76229
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23274&eventid=76229

Problem has been resolved in 1d 1h 42m 0s at 15:37:47 on 2023.08.17
Problem name: No SNMP data collection
Host: HP_iLO
Severity: Warning
Original problem ID: 76229


[Feature request] Support variables in shell commands

Is your feature request related to a problem? Please describe
Today it's not easy to use the file manager with shell commands. I think completions are on the way(?) but even with completions it would it can be tricky to get the command right.
Will you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
It would be very handy if yazi would support placeholder variables.
Example to use the file command:

Without placeholder variables:

Press shell command keybind (by default ":")
file very_long_filename_which_is_hard_to_type.txt

With placeholder variables:

Move cursor to file you want to perform action on
Press shell command keybind (by default ":")
file %f (completes %f to file under cursor)

With only a few placeholder variables, yazi could become much more powerful. I like the basics for the [opener] config, but I'd like to see them extended a bit. Here some additional ideas, extending on [opener]:

%f - File under cursor
%f1, %f2, %f3, ... - File under cursor in Tab n (would be handy to make a quick diff with files in two tabs: diff %f1 %f2 without having to select them)
%d - Current directory
%d1, %d2, %d3, ... - Current directory Tab n
... I'm sure there are other candidates that would be interesting.

Describe alternatives you've considered

File completion would help, but would never be as efficient as placeholder variables.
You already have this more or less for [opener], but supporting those in shell commands is much more flexible, no config files need to be edited

Additional context
It certainly would make sense to align the variable names / behavior between shell commands and the [opener] config.

Also, I just noticed that with [opener] it's apparently not supported to select two files in two different tabs and open them. The variables only work on the current tab.

Sounds good to me. Does anyone want to give it a try?

I'd add select files %f, not only fle under cursor

wait, isn't this already possible? mark files and give variables $1 $2 .. to for the completion

Ah I misunderstood the OP's meaning, yeah this is a supported feature.
Sorry for the confusion.

Ah I misunderstood the OP's meaning, yeah this is a supported feature.
Sorry for the confusion.

i came to this issue to ask, can i execute any command parallely on specified file?
eg:
echo $1 ->
echo file1
echo file2
echo file3 ...

While this is a good start, it's far from what I proposed. I can use these arguments when all files are on the same level but not:

When the selected files are in different folders
When the selected files are on different tabs (which is a very common case in my way of working, I heavily use tabs)

Also, what about my proposal of %d for the current directory?
I don't understand why this issue is being closed when only a small subset of the requested functionality is currently supported?

@Vaisakhkm2625
shell command doesn't support parallelism atm. To avoid redundant writing, you can use a shell template like shell 'your long command line'.

@freijon
Closing the issue because I think you and OP don't realize that $ exists, there's no mention of it anywhere in this issue, and even I've forgotten about it - I've only ever used it in keybindings
As for the % proposal, I think it conflicts with $. Ideally there should only be one manifestation to avoid confusing users.

%f (File under cursor): Use the reserved $0 instead - it's not supported yet, but I can add it if you need.

Done in https://github.com/sxyazi/yazi/pull/738 by @rrveex


feat(keychain-google-sm): complete request handler and endpoints

Description
As a developer, I want to complete the code to enable the endpoints
get-keychain-entry
set-keychain-entry
delete-keychain-entry (or maybe use set-keychain-entry with tags for deletion)
Also, write tests that use the API client instead of the plugin instance directly.
Acceptance Criteria

Update openapi.json at packages/cactus-plugin-keychain-google-sm/src/main/json/openapi.json
Update the endpoints at packages/cactus-plugin-keychain-google-sm/src/main/typescript/webservices
Update the remote adapter code at packages/cactus-plugin-keychain-google-sm/src/main/typescript/plugin-keychain-google-sm-remote-adapter.ts
Update the test code at packages/cactus-plugin-keychain-google-sm/src/test/typescript/integration/plugin-keychain-google-sm.test.ts

cc: @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo @petermetz @arnab-roy @petermetz  @TonyRowntree @travis-payne

cc: @ty-lazar @Jeff-Ushry @twiggins120 @awadhana @Leeyoungone

I will work on this.


NPM start error

Hello, so I booted my server up today and tried to update PufferPanel but I came across this error:
npm ERR<EMAIL_ADDRESS>start: node gsd.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is most likely a problem with the GameServerDaemon package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node gsd.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls GameServerDaemon
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.2.0-4-amd64
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! cwd /srv/gsd
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /srv/gsd/npm-debug.log
npm ERR! not ok code 0
Does anyone have a solution?

Can you post /srv/gsd/npm-debug.log?

Sure:
10 error<EMAIL_ADDRESS>start: node gsd.js
10 error Exit status 8
11 error Failed at the<EMAIL_ADDRESS>start script.
11 error This is most likely a problem with the GameServerDaemon package,
11 error not with npm itself.
11 error Tell the author that this fails on your system:
11 error     node gsd.js
11 error You can get their info via:
11 error     npm owner ls GameServerDaemon
11 error There is likely additional logging output above.
12 error System Linux 3.2.0-4-amd64
13 error command "/usr/bin/node" "/usr/bin/npm" "start"
14 error cwd /srv/gsd
15 error node -v v0.10.38
16 error npm -v 1.4.28
17 error code ELIFECYCLE
18 verbose exit [ 1, true ]

Please post the output of sudo node gsd.js verbose

Ah silly me. Thanks for your help DaneEveritt, it is working now.

Now I get this error when trying to start a server:
"Unable to process your request. Please try again. Unable to start server (Cannot read property 'keys' of undefined)"

Sounds like there was a glitch when trying to make the server. Make sure your base config.json is the same as the one provided by PufferPanel.

Yes it is the same. Don't worry I will just re-install everything.


MultiAttribute Login Identifier not showing in tenant flow Login UI with Console

Describe the issue:

Get Pack https://drive.google.com/file/d/1h3ynCA_1kLKPovRahbDtrtGvFYxXkbvs/view
Create a tenant
Enable Multi Attribute login for claim mobile under tenant configs
Access https://localhost:9443/t/wso2.com/console

Login identifier is not changed for mobile in the login form
Flow works as expected under super tenant

Env
h2 default

@VivekVinushanth while checking this flow check multi attribute login flow by including a set of claims as comma separated values inside the allowed attribute claim list config https://is.docs.wso2.com/en/latest/learn/multi-attribute-login/#:~:text=Configuring WSO2 IS for Multi Attribute Login,-Start WSO2 Identity&text=Click Main > Identity Providers > Resident,regular expression for allowed claims.

Please note that, for business apps in tenant, the user identifier is properly appearing. But since the console/myaccount saas apps are unable to resolve the tenant  from the tenant qualified url (in default pack), and only the domain appended at the user-identifier resolves the tenant, this is justifiable. There should be an improvement though

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Added CloudFormation template to automate the quickstart setup

Thanks @acgray, but we have a policy of not offering/maintaining open-source automation scripts for the Snowplow stack. We'll let you know if this changes in the future.

Ah fair enough.  Any particular reason why out of interest?
On 31 Jan 2017, 15:50 +0400, Alexander Dean<EMAIL_ADDRESS>wrote:

Closed #73.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

We've found automation to be doubly-problematic:

It increases the amount of engineering we have to do to release a new version of our software (because we have to update and test the automation as well as the code)
Counter-intuitively it also increases the amount of support the community needs, because automation leads to lower understanding of the components that have been deployed (vs working through a guide manually)


My thoughts

That is close to something I work on. I just want to share my thoughts on what could be improved.
To be able to make response depend on request I've found it very useful to encode aggregate operations using GADTs.
e.g.
sealed trait KeyValueStoreOp[A]
case class Set(key: String, value: String) extends KeyValueStoreOp[Unit]
case class Get(key: String) extends KeyValueStoreOp[Option[String]]

Then RequestHandler becomes a natural transformation (~>)
type Out[E, S, A] = (Seq[E], S => A)
type In[S, Req[_], A] = (S, Req[A])
type RequestHandler[S, E, Req[_]] = In[S, Req, ?] ~> Out[E, S, ?]

Also,
sometimes there are impossible pairs of (Event, State).
Let's say you have an Order aggregate.
It's state has type Option[OrderState] with None being initial state.
You can have OrderSubmitted event only once, and only when the state is None
so when you implement EventHandler you would have to handle a case
(Some(state), e: OrderSubmitted) and to be pure and total I use this type for EventHandler
type EventHandler[S, E] = (S, E) => Folded[S]

sealed trait Folded[+A]
case class Next[+A](a: A) extends Folded[A]
case class Impossible extends Folded[Nothing]

then you can handle the above case like that
case (Some(state), e: OrderSubmitted) => Impossible

Of course later the runtime throws when it sees Impossible, but it is the end of the world so it's fine.

Thanks @notxcain for sharing your thoughts. I definitely see the advantage of encoding response to request type dependencies but I don't see how I can leverage that in a context (i.e. graph stage) with fixed input and output ports types. Can you please elaborate?
Your second proposal seems to be a step towards supporting an event handling state machine that allows applications to return a new event handler in addition to updated state with support for detecting invalid (or impossible) transitions. Behavior changes during event handling is definitely something I'd like to add in upcoming versions.

so when you implement EventHandler you would have to handle a case
(Some(state), e: OrderSubmitted) and to be pure and total I use this type for EventHandler

You can also simply handle the case as
(_ ,  e: OrderSubmitted) since you trust your aggregate to not emit OrderSubmitted event for other state than none.

@krasserm
To be able to use this encoding in streams one could use continuation passing style.
sealed abstract class Operation[Req[_]] {
  type Res
  def request: Req[Res]
  def complete(res: Try[Res]): Unit
}
object Operation {
  def apply[Req[_], Res0](request0: Req[Res], complete0: Try[Res] => Unit): Operation[Req] =
    new Operation[Req] {
      type Res = Res0
      def request: Req[Res] = request0
      def complete(res: Try[Res]): Unit = complete0(res)
    }
}

So instead of flow: Flow[Req, Res, _] you'll get flow: Flow[Operation[Req], Unit, _].
Then somewhere at the edge of your app you use it like this
val eventsourced: Flow[Operation[KeyValuesStoreOp], Unit, _] = ...

val queue =
  Source
    .queue[Operation[KeyValueStoreOp]]
    .viaMat(eventsourced)(Keep.left)
    .toMat(Sink.ignore)(Keep.left)
    .run

def runOp[A](op: KeyValueStoreOp[A]): Future[A] = {
  val promise = Promise[A]
  queue.offer(Operation(op, promise.complete)).flatMap(_ => promise.future)
}

val setAndGetFoo: Future[Option[String]] =
  for {
    _ <- runOp(Set("foo", "bar"))
    foo <- runOp(Get("foo"))
  } yield foo

@jbgi
Actually I don't trust my aggregates this much, I trust types and prefer to rely on the compiler when possible 🤓
It's better to crash during runtime that silently ignore this programmer error.
Good thing is that runtime performs fold before persisting the events,
so there would be much smaller chance to corrupt event log.

@notxcain what you're doing is degenerating the event-sourcing graph stage to an asynchronous boundary and by-passing back-pressure. This is far from idiomatic Akka Streams usage, if not abuse. Instead of driving the request and event handler "at the edge of your app" it is the event- sourcing graph stage itself that is the driver/interpreter of the request and event handler and that does the IO with its stage ports.
It would be interesting though to see how your approach would fit into a purely functional approach to streaming like FS2, for example, but this is probably out of this ticket's scope.

@krasserm

what you're doing is degenerating the event-sourcing graph stage to an asynchronous boundary and by-passing back-pressure. This is far from idiomatic Akka Streams usage, if not abuse.

There is no back-pressure bypassing. SourceQueue#offer respects back-pressure. But I agree it is not idiomatic.

Instead of driving the request and event handler "at the edge of your app" it is the event- sourcing graph stage itself that is the driver/interpreter of the request and event handler and that does the IO with its stage ports.

Ah, I understood what I get wrong. Your interface is more generic. What you propose is like Flow[HttpRequest, HttpResponse, _], but underlying implementation could leverage GADT based encoding of operations, and provide HTTP decoders and encoders.

There is no back-pressure bypassing. SourceQueue#offer respects back-pressure

Yes, but you introduced a completely new mechanism to notify response consumers: via complete. Response consumers should instead be downstream consumers in the pipeline but in your example it's Sink.ignore which doesn't back-pressure.

Closing this ticket now. Support for event handling state machines is now covered by #3. @notxcain This can be extended with an Impossible handler result if needed (in addition to Update and Become). Thanks again for the inspiration!


Better Scientific notation for 1*10^n

Description
Usually, the 1 before 10^n is omitted. For example, 1x10^2 can be written as 10^2.
Steps to reproduce
import proplot as pplt

fig, axs = pplt.subplots()

axs.format(xlim=(1, 1e4), xscale='log', xformatter='sci')

Expected behavior: [What you expected to happen]
1 is shown as 10^0, 1x10^1 is shown as 10^1 ...
Actual behavior: [What actually happened]

Proplot version
Paste the results of import matplotlib; print(matplotlib.__version__); import proplot; print(proplot.version)here.
3.5.1
0.9.5.post202

I guess this is what you need
axs.format(xlim=(1, 1e4), xscale='log', xformatter='log')

Try using 'log' instead of 'sci'.

I guess this one's a matter of taste. I can see why you'd prefer the consistency of 10^0... I think for the next version I'll change the default behavior to include the 10^0 but add a SciFormatter keyword argument that optionally removes it.
Indeed LogFormatter is probably more appropriate here since it's a log-axis and your major ticks are on exact powers of 10... we may change the default log axis formatter back to LogFormatter for the next version (see #332 for updates).

We could also have SciFormatter automatically remove the leading 1 x for brevity (making the appearance of LogFormatter and SciFormatter identical in this situation), but I guess that would also be a problem with inconsistency... maybe will add another boolean keyword argument for doing that.


operator project-quay (3.9.0-nightly.20230223)

Add 3.9.0-nightly.20230223 to community operators

/merge possible

/merge possible


support for class reassignment

Thanks for the amazing work! Just wondering how easy would it be to implement shift-selection of multiple bounding boxes and reassigning them to a different class?

Well that is an interesting feature. We can discuss more on the Slack workspace if you'd like to collaborate on the project.


Added entrypoint hooks to extend this image

Most of the changes are inspired by the Postgres Docker image,
for the purpose of allowing this image to be extended like
Postgres, without keeping our own copy of gerrit-start.sh.
This is especially useful with plugins, where we want to
initialise and configure the plugins as part of the first init
call.
Specifically, the following alterations have been made:

Dockerfile runs wholly as root, using gosu to execute as
${GERRIT_USER}.
Added /docker-entrypoint-init.d/ directory and hook, to allow
further customisation by other images.
Added $GERRIT_INIT_ARGS to the end of the gerrit init calls, to
allow plugin installation to occur as per gerrit documentation.
Added documentation regarding how to extend this image.
Moved gerrit-entrypoint.sh and gerrit-start.sh to /, so it's harder
to lose them when playing silly buggers with volume mounting.
Added set_gerrit_config and set_secure_config functions to
gerrit-entrypoint.sh to save having gosu calls everywhere on already
long lines.

This is probably more change than you want in one commit, but let me know which bits you'd like to keep and I can refactor appropriately. Thanks for making a nice parametric file! Really useful!

Hi, there. I'd like to say this is really a great hacking. I like it and I will accept all of them without any major refactor. Anyway I left some comment in your patch. You may check that. I will fetch your branch and test it in my environment to see how does it works.

Thank you!
I've force pushed over the top (so used to Gerrit, I didn't even think to check what this would do to this conversation), so everything should be up to date.

Great job!
Never mind that forced pushing, I can still read your answers anyway.
To mount a host directory instead of using data container is also a very important scenario that should be supported. So the chown makes sense.
Everything works fine in my environment so the pull request will be merged.


Installing Devtools exchange doesnt work as expected

I have installed the devtools like the readme suggests. Heres my example project:
https://github.com/theianjones/screencasts/blob/73888e4ad164cc82ff36b98af89c5b29c4212015/content/playlists/intro-to-urql/urql-dev-tools/src/index.js#L1-L20
The exchange code is in index.js and my query is in App.js.
I get this error when I inspect the devtools panel:

Am I doing something wrong? Can you help me out?

Hey,
The devtools extension version is not compatible with your exchange version. We have published our new extension some weeks ago but it hasn't been approved yet. Sorry for the inconvenience this may cause.

Hey @JoviDeCroock, Thanks for the quick response. What version do i need to download?

0.0.3 or 0.1.0-beta.0, could you tell me if one of those works? Thanks in advance.

@theianjones I'm assuming this is now resolved - drop a comment if that is not the case :+1:


Fix/blank double quote

This PR is to fix the problem that "" can't be used in current sql.
The SQL Parser is upgraded.
/cc @Huandao0812 @nhanitvn @hai-adatao

UT passed @Huandao0812 do you have any comment, if not we can merge this
@PangZhi


add pure and @nogc to cas

was already inferred, but explicit annotation
is needed for CoreDdoc declarations

Going to merge this, as it's blocking dlang.org

@CyberShadow, dlang.org should be fixed now.

Confirmed, thanks!


What are the exact permissions required for Personal Access Token in Azure Devops

In the section about getting person access token for Azure Repos, it mentions to select "All accessbile accounts", and "All scopes". Could you provide a more specific list? (I am assuming a more restrictive list will be more secure).

c. In the Accounts list, select All accessible accounts.
d. Select the All scopes option.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 24c627ff-6b5a-26f4-d698-e2c5fe71120e
Version Independent ID: e88a3a7c-ab33-a5d6-9e27-596341dfd4c6
Content: Add a Git repository to a lab in Azure DevTest Labs
Content Source: articles/lab-services/devtest-lab-add-artifact-repo.md
Service: devtest-lab
GitHub Login: @spelluru
Microsoft Alias: spelluru

@sandeepiiit Thank you for your question- I will look into it and get back with you shortly.

@SamaraSoucy-MSFT Were you able to pass this off to the doc author? Just checking as a reminder :)

@spelluru is the author for this doc and is assigned the thread. I must have closed this one on accident yesterday when clearing out some old threads. :)

We have updated the article:
https://docs.microsoft.com/en-us/azure/lab-services/devtest-lab-add-artifact-repo#get-the-azure-repos-clone-url-and-personal-access-token
#please-close


Adding global metadata

Docs Build status updates of commit 3167e25:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in http://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..

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

Docs Build status updates of commit 3167e25:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

DocsLegal/docfx.json
:white_check_mark:Succeeded

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


Create location directory recursively

Just more convenient. Any reason we haven't added this before?

Maybe this was discussed 🤔
I think I'm against this as it breaks with expectations. If you want to create a file somewhere, if the parent directory doesn't exist you receive an error. I can't think about a particular example but I think APIs should follow the law of least surprise.
If anything I think we could add this as an option, but then people could just use their own recursive directory making tooling instead.

@juliangruber My motivations:

It already works like this on Windows and this platform difference has bitten me several times over. E.g. working on Windows then deploying to Linux. It's easier atm to align the behavior in JS than it is to align in C++. Although I believe it's a behavior of our port - that newer versions of LevelDB don't have. But I don't want to touch those parts until after the abstract-level effort.
Seen in the wild that people wrap db.open() to achieve this, not particularly pretty.
Convenient for tests. I frequently do e.g. new Level('./db/ + Date.now()) so that test databases are created in a single directory that is close by and can be removed in one go, and ./db does not have to exist beforehand.
I mostly use sublevels now but in the past I've done posts = level('./db/posts') to create isolated databases (not for tests).

As for breaking expectations, the Windows behavior and current lack of documentation shows that there are either no expectations, or conflicting expectations.
Most importantly, if I'm doing new Level('foo/bar/baz') then I have a reason for doing so and I want that to "just work". The database abstracts away dealing with fs.

@juliangruber I'm merging, because this aligns behavior between platforms. If you feel strongly about it we can revert later, at which point we'll need to fix the Windows C++ (perhaps by upgrading LevelDB) which would be semver-major anyway. I do realize that user expectations may have changed by then, and that not waiting for your response is therefor not entirely fair. If need be we'll doc-deprecate the behavior.

Ok, if we release this it'll be a major change on mac/linux

I mean semver major, yeah, since code can rely on it not recursively creating directories. Like, consumer code could try/catch the db creation and perform some special bootstrap code for example. It's tough to know, and maybe this isn't breaking anyone's application in reality, but strictly speaking it is a breaking change I think.

I just found the issue where this was discussed before, my memory served me right :D
https://github.com/Level/levelup/issues/135

OK. Considering where we are - classic-level which has not seen any downloads yet - I'll add this change to the upgrade guide of https://github.com/Level/level/pull/215.


[BUG] Histogram Distribution np.broadcast_arrays deprecation in v2.0.0

Reference Issues/PRs

fixes #412
What does this implement/fix? Explain your changes.

The error is due to the deprecation of the np.broadcast_arrays. https://numpy.org/doc/stable/reference/generated/numpy.broadcast_arrays.html
So the bc is actually a tuple with broadcasted arrays whose values are getting reassigned.
PR checklist

For all contributions

[ ] I've added myself to the list of contributors with any new badges I've earned :-)
How to: add yourself to the all-contributors file in the skpro root directory (not the CONTRIBUTORS.md). Common badges: code - fixing a bug, or adding code logic. doc - writing or improving documentation or docstrings. bug - reporting or diagnosing a bug (get this plus code if you also fixed the bug in the PR).maintenance - CI, test framework, release.
See here for full badge reference
[x] The PR title starts with either [ENH], [MNT], [DOC], or [BUG]. [BUG] - bugfix, [MNT] - CI, test framework, [ENH] - adding or improving code, [DOC] - writing or improving documentation or docstrings.

For new estimators

[ ] I've added the estimator to the API reference - in docs/source/api_reference/taskname.rst, follow the pattern.
[ ] I've added one or more illustrative usage examples to the docstring, in a pydocstyle compliant Examples section.
[ ] If the estimator relies on a soft dependency, I've set the python_dependencies tag and ensured
dependency isolation, see the estimator dependencies guide.

Makes sense - though, general question, is there a way we can avoid writing to the broadcast views?

I don't think that's possible as the logic for the broadcasting of these ragged arrays is that I replace these ragged arrays with an int that represents the index which is then broadcasted based on the shape of  index and columns parameters. I am then replacing these int back with the ragged arrays. So I'm not sure if there's a way to avoid writing to broadcast views.


Improve appearance of click-to-copy confirmation message

Since originally authoring the pull request that implemented this feature (https://github.com/smogon/damage-calc/pull/441), I have noticed a few ways it could be better.
Firstly, there is an issue when the damage calculation message has a certain length, such that the hidden element that appears on click is pushed to a second line, while no text is there. This results in the abnormality shown in the screenshots below:

The layout is pushed down by a blank line that accommodates the hidden element.
In order to fix it, I have changed the position of the confirmation message to appear above the text. I have set its position to absolute, so it will not interfere with the rest of the layout.
Below are three screenshots of how it looks, including two extreme cases of a very short output message, and a very long individual move output. Please let me know if there are any other cases I should consider for the position of the message.

Secondly, I reduced the duration of the appearance from 2s to 1.5s, because I found it lingered for too long.
Thanks.

Thanks!


Manage notification to all wallets through a matrix room created by Talao and by the customer admin

New attribute in enterprise profile
 "helpCenterOptions": {
        "isChat": false,
        "displayChatSupport": true,
        "customChatSupport": false,
        "customChatSupportName": null,
        "displayNotification": false,
        "customNotification":false,
        "customNotificationRoom": null,
        "displayEmailSupport": true,
        "customEmailSupport": false,
        "customEmail": null

if    "displayNotification": true and      "customNotification":false,
then wallet must join the room #notification:matrix.talao.co
when text is received , display a popup message or display a red alert
we use it as a way to send notification to all wallets
if    "displayNotification": true and      "customNotification":true, do eth hsame with the ,    "customNotificationRoom": value

nb : this new romm is used only to broadcast message to all users from an external matrix client.
The room has been xreated by support so wallet must join  an existing room and only display message received in that room.
Users must not be able to send message to that room. The message are diisplayed as a text popup only

dans le custom notification, il nous faut la meme dynamique qui affiche le champs 5.9 seulement si le 5.8 est True

#talao_notif:converser.eu  has been created for testing purpose

you can test with this public room
#notif_2:converser.eu


add custom form-item

Add a custom widget with information popup button to use it across forms.
NOT WORKING

@shwstppr there's a way to make any new widget/component available system-wide so you won't need to import in all forms; see core bootstrap

Closing for now, will look into later if needed


Revert "feat: use small HTTP dependency (#416)"

System-tests broke with that commit.

So I have good news, and I have bad news.  The good news is that I re-ran the system tests, and all is green on master!
http://long-door-651.appspot.com/
The bad news is that our tests are flaky. I filed #445 to track this, but I am thinking we should let this PR stay in.  Thoughts?

Oh lol, thanks for re-running them.
The system tests mostly up- and download files from GCS. That's a very deterministic process. I assume we have some race conditions between tests interfering with other tests. That should be easy to fix.


support images and fonts url() in css

closes #786
here's an example application (which I wouldn't necessarily recommend!) with a background image from docs/assets/ and fonts saved in docs/fonts/:
:root {
  --serif: Cardo, serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-image: url("assets/paper-texture.jpeg");
}

@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo.woff") format("woff");
  font-display: swap;
}

You can also use static assets to modify the toggle or caret with the docs/toggle.svg file :
:root {
  --theme-toggle: url("toggle.svg");
}

The resources are inlined in text (for svg) base64 (for binary images and fonts), so use with some caution. Note that inlining fonts avoids FOUC, and the style.css is cached, so it's not necessarily bad. Just put these definitions at the bottom of stylesheet? The alternative is to use absolute URLs to an assets server. I'm working on saving these as assets.

superseded by #1372 😓


Versioning Acorn Apps

expecations
It would be good to have a new section in Acornfile or a dedicated file to include app metadata such as version.
use cases

navigate the acorn source of the exact version

suggestions
Considering the fact that acorn app is packaged in OCI image format, versioning acorn app should enforce the tag in image build and push, I think.

I don't understand what you're asking for here. It's unclear to me what acorn should be exposing or enforcing.

Users can specify any tag when build acorn image acorn build -t. it means acorn app version and image version are different.
So I think acorn image build should use the tag infor or at least version infor from the acorn app metadata.

@josedev-union are you asking for Acorn to support labels on the Acorn app itself?
Something like the way Docker does with the label?

@josedev-union are you asking for Acorn to support labels on the Acorn app itself?
Something like the way Docker does with the label?

Yes, I thought of image tagging to necessarily include the app version, but it doesn't seem necessary to include it in the tag.
When Acornfile is presented in multiple files, we can consider a dedicated file for LABELs

Acorn supports labels in the acornfile: https://docs.acorn.io/authoring/labels
Does that meet your needs?

that is enough.
Btw, what can be the best practice for versioning?
I thought about 2 options:
For example, I wrote a mongodb acornfile, and added version arg to specify mongodb version. So users can specify any version via arg they want and it means there is no need for acorn image tag to include mongodb version infor, and it will just involve the acornfile version, not application version. Do you think this is a good idea?
Or set mongodb version as static in acornfile and use label to record mongo version explicitly in acornfile, and then I build acorn image with a tag including mongo db version. It means we need to build acorn image per mongodb version.
Ofc, this can be up to user but I think it would be good to mention the best practice in the doc so developers can follow

Best practice would be an acorn image per mongodb version. This is the pattern we are following in our library of images:
https://github.com/acorn-io/library
I'm going to go ahead and convert this issue to a discussion.


Minor typo in API.md

I signed it!

docs/API.md is generated from the sources.  If there is a typo, it should be fixed in the JSDoc portion of the sources and then rebuilt.

@whitlockjc  Thanks for the feedback. Should changes to any of the generated dependent files (browser/*, docs/API.md, index.d.ts) be included in the PR?

Yes please.  I tried documenting this in the contributing guide but maybe it could be better?

@whitlockjc Sorry I didn't check for a CONTRIBUTING document (I initially created the PR via the github web interface).  CONTRIBUTING.md is nicely comprehensive.  I did run into several problems when trying to follow the directions.

The lsp task errors out for me:
[23:23:23] 'nsp' errored after 321 ms
[23:23:23] Error in plugin 'gulp-nsp'
Message:
(+) Error: Client request error: getaddrinfo ENOTFOUND api.nodesecurity.io api.nodesecurity.io:443

Eslint tries to lint gulpfile.js and finds problems (object-curly-spacing, quotes, space-before-function-paren error-level problems exclusively with gulpfile.js).  I did try adding a 'root: true' to .eslintrc in case my local eslintrc might have been interfering (but it made no difference).
✖ 158 problems (158 errors, 0 warnings)
158 errors, 0 warnings potentially fixable with the --fix option.

From looking at the diffs of the generated files w/only my minor change to lib/types/api-definition.js I see a variety of unrelated changes (perhaps other recent changes have not updated those dependent files?).  I do also feel strange updating minified files.  Some people might be consuming those distributables directly from github (and I'm just some rando on the Internet).  Maybe your CI process makes that a non-issue?  In any case: gulp default task changes (with lsp and lint disabled) are pushed to this branch.

Not sure what might be off about my environment.  I'd be happy to check some things quickly if you want help streamlining the new contributor experience.  Otherwise: no biggie!  Thanks for your excellent work maintaining this package! :-)
Note: I'm on a linux machine (node 8.12.0, gulp 3.9.1, eslint 5.2.0).

I've created #196 for this.  Just run the following (sorry that it's multiple commands) and update the file(s) being committed:
node ./node_modules/gulp/bin/gulp.js lint
node ./node_modules/gulp/bin/gulp.js browserify
node ./node_modules/gulp/bin/gulp.js docs
node ./node_modules/gulp/bin/gulp.js docs-ts


Allow building fat binaries with osxcross

Allow using bits=fat when building OSX binaries using osxcross see here

Just nitpicking here but is there still a point to build 32bit/fat binaries for OSX? You'd have to be running Godot on age old Apple hardware for the 64bit version not to work.
From what I understand the last version of OS X that ran on 32bit hardware is OSX 10.6, Godot 3 already has the minimum OS X build set to 10.9, so it probably won't run anyway.
OSX 10.14 is dropping 32bit support all together when it comes out next year.

I see your point, I'm doing it mainly because my game on Steam is
advertised as both 32 and 64 bits, so I have to provide binaries for both
architectures.
It's not the default option (default is now 64 bits, was 32 before when
building with osxcross).
I don't think this option will change much, it just keeps osxcross builds
in sync with native ones.
On Aug 24, 2017 06:59, "Bastiaan Olij"<EMAIL_ADDRESS>wrote:
Just nitpicking here but is there still a point to build 32bit/fat binaries
for OSX? You'd have to be running Godot on age old Apple hardware for the
64bit version not to work.
From what I understand the last version of OS X that ran on 32bit hardware
is OSX 10.6, Godot 3 already has the minimum OS X build set to 10.9, so it
probably won't run anyway.
OSX 10.14 is dropping 32bit support all together when it comes out next
year.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/10585#issuecomment-324533144,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnBbmkItC987ctGlIh2A_N2famV0Uwrks5sbQMugaJpZM4PACxU
.

Yeah, those changes are good and I'll cherry-pick them for 2.1.
For 3.0, I agree that we may drop support for 32-bit macOS, or keep support in the buildsystem but stop providing 32-bit/fat templates and just give 64-bit ones, which would be smaller.
But this requires changes to the export manager so it's a bit out of the scope of this PR. Feel free to open an issue so that we don't forget about it :)


fix documentation code block

Codecov Report

Merging #5168 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #5168      +/-   ##
============================================
- Coverage     82.43%   82.39%   -0.04%
+ Complexity    11017    11015       -2
============================================
  Files          1331     1331
  Lines         45083    45083
  Branches       5667     5667
============================================
- Hits          37162    37144      -18
- Misses         5273     5290      +17
- Partials       2648     2649       +1

Impacted Files
Coverage Δ
Complexity Δ

...arch/indices/recovery/BlobStartPrefixResponse.java
66.66% <0%> (-33.34%)
3% <0%> (-2%)

.../main/java/io/crate/metadata/doc/DocTableInfo.java
65.89% <0%> (-17.35%)
52% <0%> (-3%)

...in/java/io/crate/data/CollectingBatchConsumer.java
69.23% <0%> (-15.39%)
4% <0%> (-1%)

...a/io/crate/operation/join/NestedLoopOperation.java
82.85% <0%> (-11.43%)
14% <0%> (-1%)

...transport/executionphases/ExecutionPhasesTask.java
83.33% <0%> (-9.26%)
21% <0%> (-3%)

.../java/io/crate/analyze/symbol/ParameterSymbol.java
87.5% <0%> (-6.25%)
6% <0%> (-1%)

.../java/io/crate/blob/TransportDeleteBlobAction.java
75% <0%> (-5%)
5% <0%> (-1%)

...src/main/java/io/crate/jobs/NestedLoopContext.java
57.14% <0%> (-4.77%)
6% <0%> (-1%)

...ava/io/crate/jobs/AbstractExecutionSubContext.java
84% <0%> (-4%)
17% <0%> (ø)

...ql/src/main/java/io/crate/metadata/TableIdent.java
89.28% <0%> (-1.79%)
28% <0%> (-1%)

... and 22 more

Continue to review full report at Codecov.

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


WIP: Support for media keys

It's quite ugly right now, just putting this here to see if you'd want to eventually merge something like this?
Also thinking the << and >> keys could be mapped to +/- 30 secs.

Awesome! I'll take a look at it this evening. Thanks!

I cleaned the code for this up a bit by creating a Swift wrapper around SPMediaKeyTap and integrating that via Carthage.

Great idea! I took your approach and modified it a bit.
For some reason, installing frameworks through carthage update causes problems with Developer ID signed applications. The only work around I can find is to do carthage update --no-use-binaries which builds projects directly instead of using prebuilt binaries. The SPMediaKeyTap project doesn't have that.
I switch to my own repository that installs source from SPMediaKeyTap as a submodule in a custom framework. That way I have a container that Carthage can use to build the project from source.
Thanks for your help!


Disconnected/Reconnection every 90sec with BLE Scan Sample

Hi mates,
any reason for that issue? any setting to change to avoid that?
with the Refactored_original_examples/ BLE Scan this behavior is not present.....
Cheers !!

Hi @ArcadeD3vil, sorry for the delay, could you provide any logs? There are many reasons for disconnection and the log output, set to debug level, will greatly help the investigation.
Generally speaking, disconnections can happen if the connection supervision timeout is too low in a noisy 2.4ghz environment. Sometimes this can be compensated for in connection settings.

Some devices act like this, when I did the Morimoto XBT controller, if you don't do a read/write within the first 30 seconds of connection, the XBT will disconnect you. If you do do a read/write within first 30 seconds of connection, you will remain connected indefinately even if you're idle and not talking to it.

Closing for now, please reopen if you're still having this issue.


Docs error in Chrome

carbon.js?zoneid=1673&serve=C6AILKT&placement=vuejs:1 GET https://fallbacks.carbonads.com/home/e99a260b94849497ea962f674f0aebd9//vuejs/8/ net::ERR_BLOCKED_BY_CLIENT
I get this in my console on https://vuejs.org/v2/guide/ and the mouse-over demo is not working for me 😓

I don't think the error is related to any problems you're encountering, as it just means you're blocking the very non-intrusive ads we use to fund hosting for free community services, as well as further development to Vue. 😢  Could you add an exception to your adblocker for our docs please?
Depending on your browser, you may need to move your mouse over the text, then keep it still for several seconds (it's a browser feature, not a Vue feature you're having trouble with).

You are so right, I disabled my ad blocker and made a donation through Paypal for wasting your time @chrisvfritz. Keep up the hard work.

Wow, thank you @PascalPixel! Have a great day. 😃


Dewpoint temperature shows (null)

I use a WH2650A station, the most thinks work fine but the sainlogic.0.weather.current.dewpointtemp shows (null).

maybe this help? When i am right there is no Dewpoint Data in the massage?
2022-05-30 15:58:35.220 - debug: sainlogic.0 (475999) Listener body is PASSKEY=XYYZ=WH2650A_V1.7.3&runtime=167433&dateutc=2022-05-30+13:58:34&tempinf=67.64&humidityin=57&baromrelin=31.993&baromabsin=29.430&tempf=57.74&humidity=63&winddir=230&windspeedmph=2.01&windgustmph=3.36&maxdailygust=8.05&solarradiation=196.84&uv=1&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.051&monthlyrainin=0.409&yearlyrainin=0.409&wh65batt=0&wh25batt=0&freq=868M&model=WH2650A 2022-05-30 15:58:35.221 - debug: sainlogic.0 (475999) No mapping found for dataelement: PASSKEY 2022-05-30 15:58:35.221 - debug: sainlogic.0 (475999) Extracting value for info.softwaretype(stationtype) 2022-05-30 15:58:35.221 - debug: sainlogic.0 (475999) No mapping found for dataelement: runtime 2022-05-30 15:58:35.221 - debug: sainlogic.0 (475999) No mapping found for dataelement: dateutc 2022-05-30 15:58:35.221 - debug: sainlogic.0 (475999) Extracting value for weather.current.indoortemp(tempinf) 2022-05-30 15:58:35.223 - debug: sainlogic.0 (475999) Extracting value for weather.current.indoorhumidity(humidityin) 2022-05-30 15:58:35.223 - debug: sainlogic.0 (475999) Extracting value for weather.current.pressurerel(baromrelin) 2022-05-30 15:58:35.223 - debug: sainlogic.0 (475999) Extracting value for weather.current.pressureabs(baromabsin) 2022-05-30 15:58:35.223 - debug: sainlogic.0 (475999) Extracting value for weather.current.outdoortemp(tempf) 2022-05-30 15:58:35.223 - debug: sainlogic.0 (475999) Extracting value for weather.current.outdoorhumidity(humidity) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) Extracting value for weather.current.winddir(winddir) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) Extracting value for weather.current.windspeed(windspeedmph) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) Extracting value for weather.current.windgustspeed(windgustmph) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) Extracting value for weather.current.maxdailygust(maxdailygust) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) Extracting value for weather.current.solarradiation(solarradiation) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) Extracting value for weather.current.uvi(uv) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) Extracting value for weather.current.rain(rainratein) 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) No mapping found for dataelement: eventrainin 2022-05-30 15:58:35.224 - debug: sainlogic.0 (475999) No mapping found for dataelement: hourlyrainin 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) Extracting value for weather.current.dailyrain(dailyrainin) 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) Extracting value for weather.current.weeklyrain(weeklyrainin) 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) Extracting value for weather.current.monthlyrain(monthlyrainin) 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) Extracting value for weather.current.yearlyrain(yearlyrainin) 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) No mapping found for dataelement: wh65batt 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) No mapping found for dataelement: wh25batt 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) Extracting value for info.freq(freq) 2022-05-30 15:58:35.225 - debug: sainlogic.0 (475999) Extracting value for info.model(model) 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Setting value from data for info.softwaretype to WH2650A_V1.7.3 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Setting value from data for weather.current.indoortemp to 19.8 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Target for indoortemp unit is set: °C, using conversion: null 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Setting value from data for weather.current.indoorhumidity to 57 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Setting value from data for weather.current.pressurerel to 1083.3 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Target for pressurerel unit is set: hPa, using conversion: null 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Setting value from data for weather.current.pressureabs to 996.5 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Target for pressureabs unit is set: hPa, using conversion: null 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Setting value from data for weather.current.outdoortemp to 14.3 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Target for outdoortemp unit is set: °C, using conversion: null 2022-05-30 15:58:35.226 - debug: sainlogic.0 (475999) Setting value from data for weather.current.outdoorhumidity to 63 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Setting value from data for weather.current.winddir to 230 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Setting value from data for weather.current.windspeed to 3.2 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Target for windspeed unit is set: km/h, using conversion: null 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Setting value from data for weather.current.windgustspeed to 5.4 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Target for windgustspeed unit is set: km/h, using conversion: null 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Setting value from data for weather.current.maxdailygust to 13 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Target for maxdailygust unit is set: km/h, using conversion: null 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Setting value from data for weather.current.solarradiation to 24940 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Target for solarradiation unit is set: lx, using conversion: null 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Setting value from data for weather.current.uvi to 1 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Setting value from data for weather.current.rain to 0 2022-05-30 15:58:35.227 - debug: sainlogic.0 (475999) Target for rain unit is set: mm, using conversion: null 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Setting value from data for weather.current.dailyrain to 0 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Target for dailyrain unit is set: mm, using conversion: null 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Setting value from data for weather.current.weeklyrain to 1.3 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Target for weeklyrain unit is set: mm, using conversion: null 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Setting value from data for weather.current.monthlyrain to 10.4 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Target for monthlyrain unit is set: mm, using conversion: null 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Setting value from data for weather.current.yearlyrain to 10.4 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Target for yearlyrain unit is set: mm, using conversion: null 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Setting value from data for info.freq to 868M 2022-05-30 15:58:35.228 - debug: sainlogic.0 (475999) Setting value from data for info.model to WH2650A

You are correct, no input data on dewpoint, hence no value.
Sometimes the stations behave differently depening on the protocol used.

I have the same problem that it reports null to values from time to time. Is there a way to check this in the adapter and not to write null?

What would be your wanted behaviour? The adapter doesn't get any update on the value and hence doesn't update the states. So whatever the old value was would stay.

closing as no update since january. feel free to reopen.

I am no longer using this adapter because of this


BSP failing on Intellij with buildTarget/javacOptions not implemented

Sounds like we need to implement buildTarget/javacOptions

just implemented in #1023, need some review?

Thanks @sequencer and sorry about the clash of PRs.

Hello, after compiling Mill from this PR, I still have this problem. Are you sure it is solved now ?

@Iltotore use #1025, rather than #1024.

FWIW, this error on my IntelliJ (IntelliJ IDEA 2020.3.2 (Ultimate Edition) Build #IU-203.7148.57) went away after invalidating cache & restarting


🖐 Python modules: dagger behind a corporate proxy

What happened? What did you expect to happen?
Hi everyone,
I am running dagger:

on Ubuntu20
with Python 3.10.12 in a pyenv environment
using poetry for the dependencies
behind a corporate proxy.

I am observing the following behavior:

running https://github.com/dagger/examples/blob/main/python/basic-example/test.py with dagger run python python/basic-example/test.pyresults indagger.ClientConnectionError: Failed to establish client connection to the Dagger session: Could not make request: Server disconnected without sending a response.

When simple examples of open source software do not work out of the box, I usually suspect proxies. The traceback also mentions an httpx.py file (I can include the whole traceback, if needed). So what I did is:

I set NO_PROXY, HTTP_PROXY and HTTPS_PROXY like described here https://www.python-httpx.org/environment_variables/

No change

I changed  this line https://github.com/dagger/dagger/blob/main/sdk/python/src/dagger/client/_transport/httpx.py#L159 to self.client = httpx.AsyncClient(**self.kwargs, proxies={})

The before mentioned call succeeds
First, I added something like "all://<IP_ADDRESS>": None,, but it turns out that an empty dict leads to the same observed behavior

I am not sure if I am on the right track here. I am missing some configuration? Is this a bug?

Hi, it's not a bug but we still need to make this easier for users. It's not on the Python SDK's side that you need to do any configuration, you need to rather spin up a custom engine instance which includes the configuration to connect to your proxy.
See related:

https://github.com/dagger/dagger/issues/5240
https://github.com/dagger/dagger/issues/4217
https://github.com/dagger/dagger/blob/main/core/docs/d7yxc-operator_manual.md#runner-details

If you're on our Discord, you can find more examples of this:

https://discord.com/channels/707636530424053791/1125691412097290322
https://discord.com/channels/707636530424053791/708371226174685314/1113800867271946300

And if you need to configure the proxy in a given container in a pipeline, then you need to set ctr.with_env_variable appropriately for setting the proxy env vars.

Hi @helderco,
Thank you for the hints. We have planned a workshop regarding dagger next week. I will try your suggestion then and provide feedback here.

@GiugAles, I'm closing in favor of continuing on https://github.com/dagger/dagger/issues/5240.
Duplicate of https://github.com/dagger/dagger/issues/5240

@GiugAles, I'm closing in favor of continuing on https://github.com/dagger/dagger/issues/5240.
Duplicate of https://github.com/dagger/dagger/issues/5240