Both Mouse and keyboard is not working in one sketch

I need to have both mouse and keyboard working from one esp32-s2. So i tried this code but in device manager of windows does not recognize the device.
NT: i tried both seperately and they work fine.
/**
 * Simple HID keyboard
 * author: chegewara
 */

#include "hidkeyboard.h"

#include "Arduino.h"
#include "hidmouse.h"

HIDmouse mouse;

HIDkeyboard dev;

void setup()
{
    Serial.begin(115200);
    dev.begin();
    mouse.begin();
}

void loop()
{
    delay(10);

    uint8_t key_val = 'k';
    dev.sendChar(key_val); // send ASCII char

    delay(1000);
    mouse.doublePressLeft();
    delay(1000);
    mouse.pressRight();
    delay(1000);
    mouse.move(-105, -105);
    delay(1000);
    mouse.pressLeft();
    delay(1000);
    mouse.scrollUp(1);
    delay(1000);
    mouse.scrollDown(1);
    delay(1000);
}

Hi,
yes, it wont work when you try to use 2 different hid devices in 1 sketch, library is not prepared to do that, sorry.
It is possible to do mouse and keyboard, but hid descriptor needs to be merged in 1 class.
I will try to add class that is merging more hid classes, just like in this example, but it may take some time:
https://github.com/hathach/tinyusb/tree/master/examples/device/hid_multiple_interface/src

I can able to do it using the HID-Project library using the pro micro.
I am not that advance in coding, can you give me a basic code so i can test it out.

Yes, it is possible and not complicated, just needs few hours to do it, but not right now. I will add it for sure.

I know i am asking too much, but is there a timeline?

You have now mouse + keyboard, with example.

Thanks a looooot, i will try out now.

@chegewara  i am getting this error by using the hid/mouse  example from master
NT: the hid/mouse example loads fine from the rc release.
Arduino: 1.8.13 (Windows 10), Board: "ESP32S2 Dev Module, UART0, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None"

C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master\src\classes\web\webusb.cpp:160:10: error: conflicting declaration of 'bool tud_vendor_control_xfer_cb(uint8_t, uint8_t, const tusb_control_request_t*)' with 'C' linkage

     bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t const * request)

          ^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master\src\classes\web\webusb.cpp:3:

C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master\src/webusb.h:84:15: note: previous declaration with 'C++' linkage

   friend bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t const * request);

               ^~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master\src\classes\web\webusb.cpp: In function 'bool tud_vendor_control_xfer_cb(uint8_t, uint8_t, const tusb_control_request_t*)':

C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master\src\classes\web\webusb.cpp:164:18: error: 'CONTROL_STAGE_SETUP' was not declared in this scope

     if (stage != CONTROL_STAGE_SETUP ) return true;

                  ^~~~~~~~~~~~~~~~~~~

Multiple libraries were found for "hidmouse.h"

 Used: C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master

 Not used: C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-1.0.0-rc

exit status 1

Error compiling for board ESP32S2 Dev Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

You have to update arduino-esp32 to most recent commit in idf-release/v4.2.

i tried with https://github.com/espressif/arduino-esp32/tree/idf-release/v4.2
but still same issue.

Then you for 100% you are using this or older commit:
7d3f49940f4577d44ff72adbf05d6779a4ad3e7e
Can you do git show from esp32 subfolder in arduino-esp32?

C:\Users\shaber\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\espressif\esp32>git show
commit 4b3f5c8ed463b18afe28d132d607bbf164d8eec9 (HEAD -> master, origin/master, origin/HEAD)
Author: me-no-dev<EMAIL_ADDRESS>Date:   Thu Feb 18 12:14:35 2021 +0200

    Update licenses

diff --git a/cores/esp32/Esp.cpp b/cores/esp32/Esp.cpp
index b44b85c9..e537584f 100644
--- a/cores/esp32/Esp.cpp
+++ b/cores/esp32/Esp.cpp
@@ -1,21 +1,16 @@
-/*
- Esp.cpp - ESP31B-specific APIs
- Copyright (c) 2015 Ivan Grokhotkov. All rights reserved.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
:...skipping...
commit 4b3f5c8ed463b18afe28d132d607bbf164d8eec9 (HEAD -> master, origin/master, origin/HEAD)
Author: me-no-dev<EMAIL_ADDRESS>Date:   Thu Feb 18 12:14:35 2021 +0200

    Update licenses

diff --git a/cores/esp32/Esp.cpp b/cores/esp32/Esp.cpp
index b44b85c9..e537584f 100644
--- a/cores/esp32/Esp.cpp
+++ b/cores/esp32/Esp.cpp
@@ -1,21 +1,16 @@
-/*
- Esp.cpp - ESP31B-specific APIs
- Copyright (c) 2015 Ivan Grokhotkov. All rights reserved.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
+// Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.

 #include "Arduino.h"
 #include "Esp.h"
diff --git a/cores/esp32/Esp.h b/cores/esp32/Esp.h
index 76baadd7..c875bce7 100644
--- a/cores/esp32/Esp.h
+++ b/cores/esp32/Esp.h
@@ -1,21 +1,16 @@
-/*
- Esp.h - ESP31B-specific APIs
- Copyright (c) 2015 Ivan Grokhotkov. All rights reserved.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
+// Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD
+//
+// Licensed under the Apache License, Version 2.0 (the "License");

shaber@Shaber-DESKTOP MINGW64 ~/Downloads/arduino-1.8.13-windows/arduino-1.8.13/hardware/espressif/esp32 (master)
$ git checkout idf-release/v4.2
Updating files: 100% (5425/5425), done.
Switched to a new branch 'idf-release/v4.2'
Branch 'idf-release/v4.2' set up to track remote branch 'idf-release/v4.2' from 'origin'.

shaber@Shaber-DESKTOP MINGW64 ~/Downloads/arduino-1.8.13-windows/arduino-1.8.13/hardware/espressif/esp32 (idf-release/v4.2)
$ git show
commit beedeea4541116106b38fc5c3a03821cdf6fe288 (HEAD -> idf-release/v4.2, origin/idf-release/v4.2)
Author: Valerii Koval<EMAIL_ADDRESS>Date:   Tue Feb 16 01:39:37 2021 +0200

    Update PlatformIO build script to handle spaces in env name (#4791)

diff --git a/tools/platformio-build-esp32.py b/tools/platformio-build-esp32.py
index 9e220bbb..e9790b6b 100644
--- a/tools/platformio-build-esp32.py
+++ b/tools/platformio-build-esp32.py
@@ -102,7 +102,7 @@ env.Append(
         "-u", "newlib_include_syscalls_impl",
         "-u", "newlib_include_pthread_impl",
         "-u", "__cxa_guard_dummy",
-        "-Wl,-Map=" + join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
+        '-Wl,-Map="%s"' % join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
     ],

     CPPPATH=[
diff --git a/tools/platformio-build-esp32s2.py b/tools/platformio-build-esp32s2.:...skipping...
commit beedeea4541116106b38fc5c3a03821cdf6fe288 (HEAD -> idf-release/v4.2, origin/idf-release/v4.2)
Author: Valerii Koval<EMAIL_ADDRESS>Date:   Tue Feb 16 01:39:37 2021 +0200

    Update PlatformIO build script to handle spaces in env name (#4791)

diff --git a/tools/platformio-build-esp32.py b/tools/platformio-build-esp32.py
index 9e220bbb..e9790b6b 100644
--- a/tools/platformio-build-esp32.py
+++ b/tools/platformio-build-esp32.py
@@ -102,7 +102,7 @@ env.Append(
         "-u", "newlib_include_syscalls_impl",
         "-u", "newlib_include_pthread_impl",
         "-u", "__cxa_guard_dummy",
-        "-Wl,-Map=" + join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
+        '-Wl,-Map="%s"' % join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
     ],

     CPPPATH=[
diff --git a/tools/platformio-build-esp32s2.py b/tools/platformio-build-esp32s2.py
index 5897608b..6a09a44a 100644
--- a/tools/platformio-build-esp32s2.py
+++ b/tools/platformio-build-esp32s2.py
@@ -96,7 +96,7 @@ env.Append(
         "-u", "newlib_include_syscalls_impl",
         "-u", "newlib_include_pthread_impl",
         "-u", "__cxa_guard_dummy",
-        "-Wl,-Map=" + join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
+        '-Wl,-Map="%s"' % join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
     ],

     CPPPATH=[
~

C:\Users\shaber\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\espressif\esp32>git show
commit 4b3f5c8ed463b18afe28d132d607bbf164d8eec9 (HEAD -> master, origin/master, origin/HEAD)

You are on master branch, not on idf-release/v4.2
https://github.com/espressif/arduino-esp32/commit/4b3f5c8ed463b18afe28d132d607bbf164d8eec9

yeah i changed to git checkout idf-release/v4.2, see the last comment

is this about board? i am using the nordMCU esp32-s2.

C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master\src\classes\web\webusb.cpp: In function 'bool tud_vendor_control_xfer_cb(uint8_t, uint8_t, const tusb_control_request_t*)':
C:\Program Files (x86)\Arduino\libraries\EspTinyUSB-master\src\classes\web\webusb.cpp:164:18: error: 'CONTROL_STAGE_SETUP' was not declared in this scope
if (stage != CONTROL_STAGE_SETUP ) return true;

This error is for sure when you are using older arduino-esp32 with recently updated library, because tinyusb is changed a bit and new libtinyusb.a is with those changes, and i updated my library so it could work with it.
I do have updated my arduino-esp32 and example works perfectly fine.
What you can do is to delete webusb class and example, if you dont need it.

delete the cpp and h file?

yes.

Not happening.

used same code above

Why you are not using HIDcomposite example?

ohh my god, it works, it works.
thanks a lot.
i am not a good at this things, i just copy pasted code, HIDcomposite works great, great thanks  a lot.
i will write my code using the HIDcomposite.
any reason why separate ones did not worked?

The reason is the library is not ready to use separate mouse and keyboard.


Advanced template configuration

Using template as a base for container creation introduced by #212 is too complex. We need to find a way to edit only ports mapping in the simple template creation form.
Also, the advanced configuration button should be placed somewhere else as it can introduce confusing user behaviour.

Reverts #212


[Bug 1394213] add "copy" to glossary

Thank you Jeff. I can merge this myself, I am only waiting for a review from @MekliCZ.


dot/changes: fix left/right mixup of PathChange.Merge

Codecov Report

Merging #257 into master will increase coverage by 0.06%.
The diff coverage is 100%.

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


backend-webpack-tools fails on an itwin.js electron app without node-report installed

Describe the bug
run backend-webpack-tools build -s lib/backend/main.js -o backend-bundle on an electron iTwin.js desktop app
To Reproduce
Create an iTwin.js desktop viewer electron app, without node-report as a dependency and try to build it with backend-webpack-tools.
Steps to reproduce the behavior:
CI=1 pnpm exec backend-webpack-tools build -s lib/backend/main.js -o backend-bundle/
 BACKEND  Starting build...
  (node:3444659) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
  (Use `node --trace-deprecation ...` to show where the warning was created)

  Treating warnings as errors because process.env.CI is set.
  Most CI servers set it automatically.

 BACKEND  Failed to compile   (in 8,701 ms)

  [object Object]

 BACKEND  Failed to compile   (in 8,701 ms)
  [PrettyLoggingError: [object Object]]

Expected behavior
It builds.
Additional context
It builds with a warning if not in CI mode
$ pnpm exec backend-webpack-tools build -s lib/backend/main.js -o backend-bundle/
 BACKEND  Starting build...
  (node:3442161) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
  (Use `node --trace-deprecation ...` to show where the warning was created)
  {
    "message": "Can't copy external package \"node-report\" - it is not installed.\nTo fix this, either npm install node-report or wrap the import in a try/catch.",
    "stack": "Error: Can't copy external package \"node-report\" - it is not installed.\nTo fix this, either npm install node-report or wrap the import in a try/catch.\n    at CopyExternalsPlugin.handleModule (/redacted/node_modules/.pnpm/@itwin+core-webpack-tools@3.3.4_webpack@5.74.0/node_modules/@itwin/core-webpack-tools/lib/plugins/CopyExternalsPlugin.js:47:39)\n    at /redacted/node_modules/.pnpm/@itwin+core-webpack-tools@3.3.4_webpack@5.74.0/node_modules/@itwin/core-webpack-tools/lib/plugins/CopyExternalsPlugin.js:25:46\n    at Hook.eval [as call] (eval at create (/redacted/node_modules/.pnpm/tapable@2.2.1/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)\n    at /redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/Compilation.js:1369:28\n    at ExternalModule.needBuild (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/ExternalModule.js:439:10)\n    at Compilation._buildModule (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/Compilation.js:1352:10)\n    at /redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/util/AsyncQueue.js:303:10\n    at Hook.eval [as callAsync] (eval at create (/redacted/node_modules/.pnpm/tapable@2.2.1/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)\n    at AsyncQueue._startProcessing (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/util/AsyncQueue.js:293:26)\n    at AsyncQueue._ensureProcessing (/redacted/node_modules/.pnpm/webpack@5.74.0/node_modules/webpack/lib/util/AsyncQueue.js:280:12)"
  }

  Search for the keywords to learn more about eslint warnings.
  To ignore an eslint warning, add // eslint-disable-next-line to the line before.

 BACKEND  Compiled with warnings   (in 8,813 ms)

@MichaelBelousov heads up, https://github.com/iTwin/itwinjs-core/issues/4091


page.current_path always root

After upgrading to Poltergeist from 1.17 to 1.18, page.current_path always returns the root path /.
Downgrading solved the issue again.

The following gist shows current_path working fine - https://gist.github.com/twalpole/5f14160e792ce64f06499376adb95558 - so we'll need a reproducible example to look at this.

Will reopen if a reproducible example is provided


Rubber Band Pin

Add a feature where I can add a pin to a line in code, make it easy like hold a key and click to pin. That way I can scroll up or down, and with a key press bounce back to where I was.

Please use a bookmarks extension https://marketplace.visualstudio.com/search?term=bookmark&target=VSCode&category=All categories&sortBy=Relevance


Make the build consistent across archs for Go to correctly report the package path inside the binary

Problem:

The build process is passing directly the main.go file for the build. According to Go's spec, this results in Go not properly identifying the package and module path and then marking the compiled binary as command-line-arguments.
Before:
> go version -m main
main: go1.22.9
	path	command-line-arguments

Now:
> go version -m node-disk-manager
node-disk-manager: go1.22.9
	path	github.com/harvester/node-disk-manager/cmd/node-disk-manager
	mod	github.com/harvester/node-disk-manager	(devel)

Although this is a minor thing and that doesn't affect the binary itself, it actually blocks security scanners, for example Trivy, from correctly matching the binary (and its path/module origin) with a VEX entry.
This was identified internally when a false-positive vulnerability that was supposed to be suppressed was still being reported in the scanning reports.
Solution:

Only pass the directory that contains the Go file to build, not the file itself.
Related Issue:
N/A
Test plan:

See above.

PTAL @bk201

@mergifyio backport v0.7.x


fix(server):  make ssr properly return 404

This PR contains fix making ssr properly response with 404
What is the expected behavior?
Go to /non-existing-route , server should response with 404 Not Found
What is the current behavior?
Server responses with 200
In case you might need it
Refer to react-router code, matchPath() has default value for path if it's not given. This make non existing path always got /.
https://github.com/ReactTraining/react-router/blob/137a37b0a925a1be50c7f25aa3913dfa3441a391/packages/react-router/modules/matchPath.js#L47

Yeah, really)
Very smart PR, thanks for noticing it!


[CT-2344] Compilation Error in rpc request (from remote system.sql)

Background:
I am using a dbt package 'Velir/ga4', so I follow the steps below:
add package to packages.yml →change required variables in project's dbt_project.yml file→run ‘dbt deps’ → run ‘dbt seed’ -->run models

problem:
All is good and I can run these models and create tales in my data warehouse BigQuery. But some of these models can be compiled and previewed, but some cannot.
When compiling or previewing ‘base_ga4__events.sql’, it shows “Compilation Error in rpc request (from remote system.sql) Required var 'start_date' not found in config”. But actually, I have set the var ‘start_date’ when I change required variables in the project's dbt_project.yml file under the main file tree.
When compiling or previewing ‘stg_ga4__events.sql’, it shows “Compilation Error in rpc request (from remote system.sql) 'extract_page_path' is undefined”. But actually, this package has already defined it in a macro folder.
Also when compiling or previewing some other models which require optional variables defined in the dbt_project.yml file, like ‘stg_ga4__derived_session_properties.sql', ‘stg_ga4__page_conversions.sql',‘stg_ga4__user_properties.sql , I meet another similar error shows 'Runtime Error got an update_rpc call with an unrecognized rpc: rpc..request'

Hope can get help here to solve this issue.

@QingSun88 I'm not exactly sure what's going on here, sorry :(
I also want to be honest and say that we're no longer providing support for dbt-rpc, as it's slated for deprecation. We're effectively replacing it with better programmatic interfaces in dbt-core.
You can read the docs for this, which is new in v1.5 (currently available as a release candidate): https://docs.getdbt.com/reference/programmatic-invocations


Only one onset per PredictorEvent

Related to #176, PredictorEvent should enforce only a single onset, run, predictor combination, and should not have object_id. Instead, for any ExtractedFeature that has more than one object (e.g. faces), they should be expected to be converted into a PredictorEvent by aggregating across objects.
This is an issue because currently that aggregation decision has to be made somewhere, and I was doing it when outputting event files. But it should be dealt with upfront as there are various aggregation functions possible.
This could be various things, such as number of faces, sum, or averge.
Another orthogonal solution, is to allow object_id, but these are output as separate columns in the events.tsv file. For some predictors this may make sense, if you want to model each one separately. Main issue is most of the information would be on object_id=0, since there is usually fewer stimuli with more than one object.
Thoughts @tyarkoni

For now, I will take the max if there is more than one value, as a shortcut so we can run some models.

The max is probably fine, but lets add this to the description of each feature.


ethers-solc build script doesn't error on compilation error

Version
ethers v0.17.0
Platform
ubuntu 22.04
Description
I have a project using the build script defined here to compile contracts: https://github.com/gakonst/ethers-rs/blob/cd2c9f6dd11d12ddb8db64b98531c10852befe0f/ethers-solc/README.md
here's the exact script:
use ethers_solc::{Project, ProjectPathsConfig};

fn main() {
  println!("cargo:rerun-if-changed=contracts");
  println!("cargo:rerun-if-changed=artifacts");

  // configure the project with all its paths, solc, cache etc.
  let project = Project::builder()
    .paths(ProjectPathsConfig::hardhat(env!("CARGO_MANIFEST_DIR")).unwrap())
    .build()
    .unwrap();
  project.compile().unwrap();

  // Tell Cargo that if a source file changes, to rerun this build script.
  project.rerun_if_sources_changed();
}

I expected  project.compile().unwrap() to panic if solc is unable to compile the contracts, however it doesn't, it simply doesn't generate the artifacts/ dir. It would be ideal for it to panic with a message that at minimum says "unable to compile contracts" or something along those lines.

Hey :)
This is expected here because the Error here is independent of the solc outcome:
https://github.com/gakonst/ethers-rs/blob/5bca54c41d3fd7fed7ca97c2b2b9e22d0decaa68/ethers-solc/src/lib.rs#L248-L249
But looks like we could use something like ProjectCompileOutput::ensure_success

@mattsse thanks for the pointer! I updated the script to check ProjectCompileOutput::has_compiler_errors() and panic if true. while it doesn't show the errors, this is definitely an improvement :)
new script:
use ethers_solc::{Project, ProjectPathsConfig};

fn main() {
  println!("cargo:rerun-if-changed=contracts");
  println!("cargo:rerun-if-changed=artifacts");

  // configure the project with all its paths, solc, cache etc.
  let project = Project::builder()
    .paths(ProjectPathsConfig::hardhat(env!("CARGO_MANIFEST_DIR")).unwrap())
    .build()
    .unwrap();
  let compiler_output = project.compile().unwrap();
  assert!(!compiler_output.has_compiler_errors());

  // Tell Cargo that if a source file changes, to rerun this build script.
  project.rerun_if_sources_changed();
}

Closing as the question is answered above


Suite file association

From Yammer:

I have downloaded it and followed the PyCharm instructions to import it to the TextBundle list, but how do I get PyCharm to apply the syntax highlighting? If I open eg suite.rc it is still just treating it as a text file with no highlighting

Closed in https://github.com/cylc/cylc-textmate-grammar/pull/9


iOS Chrome - Video player got stuck loading and never started playing the video

Here is an code example I use for the testing - https://codesandbox.io/s/dark-moon-pb7qn?file=/src/App.js
The code is taken from the repo here - /src/demo/basic.html
The player is working just fine on different devices/browsers except the Chrome browser on iOS devices. The video got stuck loading. There is also an error in the sandbox - "Unknown browser" if you try to expand the video-player.
Failed:
iPhone XR - Chrome 92.04515.90
iPhone 7 - Chrome 92.04515.90
Passed:
iPhone XR - Firefox Daylight 36.0 (5732)
iPhone XR - Safari 14.7.1
iPhone 7 - Safari 14.7.1
Redmi Note 10S - Firefox Daylight 91.2.0
Redmi Note 10S - Chrome 92.0.4515.159
Redmi Note 10S - Edge <IP_ADDRESS>61

@Chamersoun thanks for reporting this is fixed in 0.4.0!

@dylanjha Awesome, thank you!

Hi @Chamersoun thanks for re-surfacing, we'll get the right fix in place. On any of these devices are you able to try opening this URL directly in the browser:
https://stream.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe.m3u8

if for some reason opening directly in the browser doesn't work, can you try:
<video controls src="https://stream.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe.m3u8"></video>

^ I'm curious if the same problem happens, this will help us debug
The way this SDK works right now is: If the browser supports Hls playback natively, then it uses the browser's native Hls implementation, otherwise it fallsback to Hls.js. In these cases Chrome and Edge for Android I believe support Hls natively so it should be using that. If that native Hls playback engine is particularly problematic we'll need to swap in Hls.js for those cases.
Thanks and we'll get this resolved asap

Hmm, we are seeing similar issues with Android, trying to narrow it down.
VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)
https://stream.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe.m3u8
works on Samsung S20 ultra - Chrome version 92.0.4515.159

Reading other videojs threads
Is it worth doing any of these options
crossorigin="anonymous"
data-setup='{"html5": {"hls": {"overrideNative": true}}}'

Or is that not ideal with what the mux kit is trying to do?
We have something pretty barebones right now
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta property="og:title" content="Mobile Upload Video" />
    <meta property="og:type" content="video.other" />
    <meta property="og:video" content="<?=$file ?>" />
    <meta property="og:video:secure_url" content="<?=$file ?>" />
    <meta property="og:image" content="<?php echo $thumbnail; ?>" />
    <meta property="og:image:type" content="image/png" />

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Video Player</title>

    <script src="https://unpkg.com/<EMAIL_ADDRESS>
    <link rel="stylesheet" href="https://unpkg.com/<EMAIL_ADDRESS></head>

<body class="minimal">
    <video
      id="my-player"
      class="video-js vjs-16-9"
      controls
      preload="auto"
      crossorigin="anonymous"
      width="100%"
      data-setup='{"html5": {"hls": {"overrideNative": true}}}'
    >
      <source src="<?=$playbackId ?>" type="video/mux" />
    </video>
</body>
</html>

@dylanjha
We tried to open the link directly https://stream.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe.m3u8. The video works fine on all of the devices:

Xiaomi Redmi Note 10S Firefox / Edge / Chrome
Lenovo Tablet Firefox / Edge / Chrome
Realme 7 Pro Firefox / Edge / Chrome
iPhone XR - Firefox / Safari / Chrome

@agentile with regards to  {"overrideNative": true} -- I haven't verified this, but my best guess is that will be ignored by this SDK. That pertains to video-js's built-in HLS streaming engine (http-streaming), but this SDK swaps that out in favor of Hls.js.
@Chamersoun thanks -- that helps. So the native HLS playback engine is working just fine. Let me dive in a little more and see what's up. Something more nefarious is going on.

@agentile @Chamersoun fixed in 0.5.0!


iOS: There was an error with this build

Hi there,
I have an error with my Build ID: dfae374a-bbc6-4941-bc92-2e5e828fe4a6
[exp] Checking if current build exists...

[exp] ============
[exp] Build Status
[exp] ============

[exp] iOS: There was an error with this build.

I've tried everything, changing the image size to 512x512 or 1024x1024 respectively, changing the app.json file, now it looks like this:
{
   "expo": {
    "name": "my_test_app_name_t******t",
    "icon": "./app-icon.png",
    "version": "0.1.0",
    "slug": "slugname",
    "sdkVersion": "22.0.0",
    "ios": {
      "bundleIdentifier": "com.ts******t.testapp"
    },
    "android": {
      "package": "com.t*******t.testapp"
    }
   }
 }

It's a basic empty project, just installed it with *create-react-native-app testE".
I deleted all of my Apple credentials, expo created them accordingly. expo build:ios -c also runs stable, only outputs the error above.
What can I do?
One thing I will try out and post soon is to use the expo fork of react-native. -> Update: did not function either, same error.
Other than that there are no warnings or errors in exp start.
I have also tried everything I found on google to this error, mainly the solutions were to recreate the credentials and the image size. Also the german utf-8 charset could be a problem, although I don't use any special characters.
Any idea?

my package.json:
{
  "name": "testE",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "react-native-scripts": "1.6.0",
    "jest-expo": "^22.0.0",
    "react-test-renderer": "16.0.0-beta.5"
  },
  "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
  "scripts": {
    "start": "react-native-scripts start",
    "eject": "react-native-scripts eject",
    "android": "react-native-scripts android",
    "ios": "react-native-scripts ios",
    "test": "node node_modules/jest/bin/jest.js --watch"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "expo": "^22.0.0",
    "react": "16.0.0-beta.5",
    "react-native": "^0.49.5"
  }
}

Looking through your logs your team ID looks like it could be invalid. This is supposed to be a non-human ID (mix of numbers and letters).

Hi @ide,
Thank you for the reply.
How can I change this and why can’t I see the logs myself?
Regards

The team ID is specified when you run exp build:ios (see https://docs.expo.io/versions/latest/guides/building-standalone-apps.html#if-you-choose-to-build-for-ios). You might need to specify the -c flag to clear your credentials first.
The logs are on Expo's build servers, they aren't forwarded to the client.

Ok but this also means I always have to ask you guys which is more work for you to help with support.
I did clear the credentials with the -c flag and also deleted them from Apple developer to free slots for the expo build process.

I Copy Pasted the team name from the developer page as requested by the expo cli.

The CLI should ask What is your Apple Team ID (you can find that on this page: https://developer.apple.com/account/#/membership)? which is not your team name. The docs I linked above shows an example of a team ID (XY1234567), the value you want to type should look like that.

Ok but this also means I always have to ask you guys which is more work for you to help with support.

Yeah totally agree. We're working on making this better for everyone (developers and the Expo team, it's costly for everyone right now).

Small follow-up -- I've created an internal task to communicate the instructions more clearly and/or add some simple validation. Sorry about the long turnaround time.

This should yield an error right away, putting in the wrong ID. Spent hours
on that.
Y not just something like exp log compared to git or so.
But thx anyway, only I don’t know if we can use expo at all since I found
out it still needs to connect to the internet on first load of the app to
fetch some metadata, but my project needs a full offline support.
Anyways, definitely a good project, keep it up.
Regards
James Ide<EMAIL_ADDRESS>schrieb am Mi. 1. Nov. 2017 um 22:45:

The CLI should ask What is your Apple Team ID (you can find that on this
page: https://developer.apple.com/account/#/membership)? which is not
your team name. The docs I linked above shows an example of a team ID (
XY1234567), the value you want to type should look like that.
Ok but this also means I always have to ask you guys which is more work
for you to help with support.
Yeah totally agree. We're working on making this better for everyone
(developers and the Expo team, it's costly for everyone right now).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/expo/exp/issues/79#issuecomment-341252795, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHwdRzCKRszuWJbBqlYs7a4EBOjw2pUxks5syOaTgaJpZM4QOOxY
.

The project's code is embedded into standalone apps but other assets like images aren't (unless you encode them with base64 and put the data URIs in your JS). So depending on your use case, some Expo projects can be totally offline when built as standalone apps.

I have to look into that tomorrow (EU here :)
Also we have to link the network info package, which is unfortunately not
part of expo yet.
Also the possibility to add own link packages as plugins to expo would be
great, but all things that are on your list I suppose :)
Regards

Related to #36 ?


Parameter 'event' must be added in function onChange in LanguageSwitcher.js

Hello,
in https://github.com/OHIF/Viewers/blob/master/platform/ui/src/components/languageSwitcher/LanguageSwitcher.js
it reads:
  const onChange = () => {
    const { value } = event.target;
    const language = getCurrentLanguage(value);
    setCurrentLanguage(language);

    i18n.init({
      fallbackLng: language,
      lng: language,
    });
  };

I think,  parameter 'event' must be added:
  const onChange = (event) => {
    const { value } = event.target;
    const language = getCurrentLanguage(value);
    setCurrentLanguage(language);

    i18n.init({
      fallbackLng: language,
      lng: language,
    });
  };

otherwise, you get:
Line 25:23:  Unexpected use of 'event'

@kostaspapas, are you using the UI component outside of the OHIF Viewer? Is this error reproducible at https://viewer.ohif.org? Are you able to submit a PR for the fix?

I used to use '@ohif/ui' package but I had the problem as
https://github.com/OHIF/Viewers/issues/909
So, I've added folder
https://github.com/OHIF/Viewers/tree/master/platform/ui
in my code.
In the first use, I got the error
Unexpected use of 'event

Thank you for your past contributions and for raising this issue related to legacy versions of our OHIF Viewer. Your time and effort have been invaluable in helping us improve the product.
We wanted to update you that our development focus has shifted to OHIF Viewer v3, which is now available for testing on viewer-dev.ohif.org. This site is deployed from our master branch and incorporates new features, optimizations, and bug fixes. If you're still using viewer.ohif.org, it's worth noting that this is deployed from our release branch and may not have the latest updates. You can read more about our branching strategies here.
Given the move to Version 3, we are closing older issues that pertain to Versions 1 and 2, as we are no longer providing support for those versions. If you find that the issue you've raised is still relevant in Version 3, we encourage you to reopen this issue or create a new one for proper triage.
Thank you for your understanding and continued support.


[TikTok] Add support for extracting comments

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[ ] New extractor
[x] New feature

Description of your pull request and other information
I know youtube-dl does not support --get-comments but I have been trying to submit this pull for about a month, and I have been banned from yt-dlp for issue spamming, I really would like to see it work and get put in the main version. You could try adding --get-comments support to youtube-dl to bypass this though. Please also do not ban me here too.

I think the answer is for you to build your own yt-dlp version, which shouldn't be too hard since you already had to fork yt-dl.


Auto-detecting XML files based on the header

There are just way too many XML files out there. Instead of the 50+ file extensions we have registered in languages.yml, why not just recognize it if the top of the file starts with <?xml version="1.0" encoding="UTF-8"?> and isn't one of the other known extensions? Similar with what we do for the shebang in Bash/Perl.

There are approximately 150 millions XML files on GitHub.
@arfon Do you think it is worth adding a new strategy for these files?

There are approximately 150 millions XML files on GitHub.
@arfon Do you think it is worth adding a new strategy for these files?

Revisiting this. @brandonblack @Alhadis @larsbrinkhoff What do you think?

Makes perfect sense to me. I'm even surprised this hasn't already been done.

👍 I'd be in favor of this approach as well.


As a project lead, I would like to gather existing info related with documentation so I have a clear starting point

Acceptance criteria:

[x] Audit

[x] #1418
[x] #1503
[x] #1505
[x] #1432

[x] #1506

[x] Create documents to organize knowledge. #1486

@y4izus Is this considered done?


server/camnetdns: staticcheck

Closing this, see my comment here:

https://github.com/perkeep/perkeep/pull/1405#issuecomment-894727096


Sonic Wizard: Watch http://anushkaaggarwal.in/

Sonic Wizard requests the watch of the watch_keyword http://anushkaaggarwal.in/. See the Metasmoke search here and the Stack Exchange search here.

http://anushkaaggarwal.in/ has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Malformed request. Please close.

Coverage remained the same at 65.812% when pulling b0edbce503fc1164032233a3e20fc4b8b256ee0f on auto-blacklist-1524827498.320585 into 1b4b0055b44da85b76598bd840e367ad69ccedfb on master.


The docking of the FSLeyes plugin should be displayed on the left

As said in https://github.com/pauldmccarthy/fsleyes/issues/19 , the way the plugin is docked when initialized can't be changed for now. We have two options for the moment:
1- Use an horizontal layout
2- Ask the user to manually change the docking
Which one is preferred?

definitely option 1

With the newest version of FSLeyes (which came out this week) this issue is now fixed.

fixed in https://github.com/neuropoly/axondeepseg/commit/604f51374c3e0b32060aceb8199829169ef54813


bug: some return of sales are nan

CLOSED as this issue is due to division by 0 (not right way of implementing return)


fixing part of js-tour.md

fixed some lines that I guess were how it used to work.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Housekeeping + prepare v3.14.0

This updates dependencies, and prepares the v3.14.0 release.

I tested it against the latest bpmn-js-properties-panel trunk.


Show all queries by default in Web UI

Currently, Web UI shows failed queries by default.
I think it's counter-intuitive -- since user did  not select any filters, they should see all information.
That also provides worse experience -- it's likely there was some failed query on a cluster, and it's going to be showed at the top to everyone.
Show all queries by default.

The current behavior is intentional. In a busy cluster, you will have lots of successful queries, most of them boring and not useful to look at. The failures are the important thing to look at.
I think the right behavior depends on the role of the user. For an admin, the current behavior makes sense. For an end user, they likely want to see all their queries.
Since this would be changing a long-standing behavior, let’s implement sticky button selections with a cookie. Then we can default to everything shown but add minimal friction for administrators used to the current behavior.

I understand that the current behavior is best for experienced users / admins.
It is not ideal for first hand experience, though.

Since this would be changing a long-standing behavior, let’s implement sticky button selections with a cookie. Then we can default to everything shown but add minimal friction for administrators used to the current behavior.

Sounds like a plan. 👍


999hentai not working

Source information
999hentai 1.4.6
Source language
Multi/English
Steps to reproduce

Try opening the ext.

See all manga/titles with broken covers

Select any, then try opening 1 chapters.. it won't load

Similar to already in the library,

Select any titles on 999hentai category/ext.

Try refreshing the manga, the cover will become broken,

Similarly, the chapters won't load.

Expected behavior
With working covers, and working chapters available.
Actual behavior
Broken covers and the chapters won't load..
Mihon/Tachiyomi version
Mihon 0.16.5
Android version
Android 13
Other details
Fortunately the downloaded chapters was working just fine, but it's covers become broken if the title is refreshed
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Duplicate of #4151


AttributeFilter on Multiset FetchStrategy

Is there a way to filter by an attribute inside a collection with FetchStrategy Multiset?
Let's suppose you have an entity view CatView which has some property List<KittensView>.
You can add an EqualFilter as viewSetting.addAttributeFilter("kittens.age", 1) and it works fine.
But if you add FetchStrategy.MULTISET  you'll get something like Attribute CatView_kittens_age not found on type Cat'.
Is there a workaround here?

Hi @beikov , can you elaborate on the Filtering the collection works nicely by making use of the array predicate syntax i.e. ?
I have the following example:
@Mapping(fetch = FetchStrategy.MULTISET,
value = "stations[:mwFrom is null or mw >= :mwFrom]")
public List getStations();
and I set the optional parameter -> setting.addOptionalParameter("mwFrom", 0.8);
I am getting an error : java.lang.NullPointerException: Cannot invoke "com.blazebit.persistence.impl.ParameterManager$ParameterImpl.isUsedInGroupBy()" because "parameter" is null"
What am I missing here?
Thanks

Hey @jbakoc1, please create a new issue and attach the full stack trace as well as the query and entity view that you use.


PC-1375: Remove text length limits from Scottish EPC text

Link to Jira ticket
Description
we decided that the text lengths for the potentially variable length EPC fields weren't worth it, so they are removed in this PR
made them django TextFields to allow for this/ the documentation says that a CharField can have unlimited length but in practice django would not allow it
Checklist

[x] I have made any necessary updates to the documentation
[x] I have checked there are no unnecessary IDE warnings in this PR
[x] I have checked there are no unintentional line ending changes
[x] I have added tests where applicable
[x] If I have made any changes to the code, I have used the IDE auto-formatter on it
[x] If I have made any changes to Python files (even if not changing any content strings), I have run make extract-translations

I think for obvious cases, e.g. postcode, EPC rating(?) we should still have max length

I suppose without further research into the data I'd be wary, we have little control over the data format. e.g. for EPC rating I'm fairly certain an observed option is 'None' or wtte. we could overestimate those but it feels like it defeats the point

I'd be fine with having things be either 'short text' i.e. 20 char limit or 'long text' i.e. no limit. I think we do need to be mindful of how much disk space this table is going to take up.

I'd be fine with having things be either 'short text' i.e. 20 char limit or 'long text' i.e. no limit. I think we do need to be mindful of how much disk space this table is going to take up.

have pared back the changes a bit now to mostly text fields


update(FilePreview): Possible to listen audios now

What this PR does 📖
1. Possible to listen audios now
a. Possible to listen audios from storage
b. Possible to listen audios from Messages
c. Changed Icon to user know that it is audio
Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

phil sent me a mp3 but on my side appears like this
https://github.com/Satellite-im/Uplink/assets/29093946/84f9ac41-e3ca-45d0-b89a-60f92b77ed7b
error on log

macOS, m1

aded changes requested label only due to the mp3 comment above cc @lgmarchi because the mp3 does not play here

phil sent me a mp3 but on my side appears like this
Gravacao.do.ecra.2024-01-31.as.22.14.52.mov
error on log

macOS, m1

thats because it failed to download the file. The UI isnt aware that it failed and only assumed that it succeeded and would attempt to finish its operation as such
https://github.com/Satellite-im/Uplink/blob/03cd0782de4612f3df3e69a43549c0a032ce3224/ui/src/utils/async_task_queue.rs#L150-L164
Related to https://github.com/Satellite-im/Uplink/issues/1718

thanks @dariusc93


New installation fails to install provider

Just running the basic installation code, it fails to install the provider:
Initializing provider plugins...
- Finding hashicorp/google versions matching "~> 3.49.0"...
- Finding latest version of hashicorp/aiven...
- Finding hashicorp/google-beta versions matching "~> 3.49.0"...
- Finding aiven/aiven versions matching "~> 2.1.1"...
- Installing hashicorp/google v3.49.0...
- Installed hashicorp/google v3.49.0 (signed by HashiCorp)
- Installing hashicorp/google-beta v3.49.0...
- Installed hashicorp/google-beta v3.49.0 (signed by HashiCorp)
- Installing aiven/aiven v2.1.1...
- Installed aiven/aiven v2.1.1 (self-signed, key ID BF63AFC521C50CB9)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/plugins/signing.html

Error: Failed to install provider

Error while installing hashicorp/aiven: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/aiven

Using terraform 0.13.5. It seems like it tries to install the hashicorp/aiven plugin for some reason.

So this happens when I use a module that contains aiven resources.
So say I wrapped the vpc module:
module "aiven_vpc" {
  source        = "../../modules/aiven-project-vpc"
  aiven_project = var.aiven_project
  aiven_region  = var.aiven_region

  network_cidr = "<IP_ADDRESS>/24"
}

which does:
resource "aiven_project_vpc" "default" {
  project = var.avien_project

  cloud_name   = var.aiven_region
  network_cidr = var.network_cidr
}

So I guess I have to specify the source in all modules otherwise it defaults to hashicorp. Kinda annoying.

Ok so reading the doc https://www.terraform.io/docs/modules/providers.html
I found this snippet:
Note: Only provider configurations are inherited by child modules, not provider source or version requirements. Each module must declare its own provider requirements. This is especially important for non-HashiCorp providers.

I would highly suggest that this be documented in the getting started guide because its confusing if you are used to working with aws and gcp providers.


CPU is optimized out

On the main branch, the CPU is completely optimized out.

This is probably because no IO device is defined that is connected to input and output pins. Then synthesize tool will optimize it away. Leros is not finished (yet).

It has now a LED output as default and synthesis OK for an FPGA.


variableWidth with only one slide to show?

Hi!
I want to only display one of the slides when using variableWidth. As it is now part of the following slide are visible as well. I think I'm asking for a variable width of the container?
Created a fiddle over here.
http://jsfiddle.net/simeydotme/fmo50w7n/

Hmm that fiddle doesn't seem to correspond to the issue you described. Either way it seems like the issue you've described is how variable width is supposed to work.
My first thought as far as a solution would be to set .slick-slide:not(.slick-current){visibility: hidden}
I'm going to close, but if you think I've overlooked something feel free to holler back. Thanks.

Thanks for your answer! It kind of did what I wanted. Well at least it didn't displayed decendents Though, clicking next slide the one that recently was "current" just dissapear. Looks more like a bug so to say.
Here's with your code:
http://jsfiddle.net/fmo50w7n/399/
Here's without:
http://jsfiddle.net/fmo50w7n/400

Can you clarify what isn't working as intended? I'm curious what the use case is for using variable width with a single slide, and not wanting to see other slides; seems like it's the same as non-variable width single slideToShow at that point.


Is it possible to use this plugin side by side with class components?

Hey!
We need to rewrite our legacy code (Vue 2, Class components) to use the Composition API and your plugin for script setup.
Do you see any issues installing your plugin and using it on some SFCs, while others still work "the old way"? We do not mix class components with script setup.
Does this plugin just skip a SFC when there is no script setup used? We are using Vite.
Best regards

If you do not use ref sugar, it will skip a sfc when no script setup used.

Ok great, thanks for the fast reply!


intermittent failure:  No matching distribution found for setuptools<58

Today I had a failure of the init-pants action (version @main) in our CI. I retried shortly after and it succeeded. I wonder what would cause this to fail intermittently? The error occurred at the pants --version call when bootstrapping pants:
Run pants --version
  pants --version
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.11.3/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.3/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.3/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.3/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.3/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.3/x64/lib
    PANTS_CONFIG_FILES: pants.ci.toml
Bootstrapping Pants 2.15.0 using cpython 3.9.15
Installing pantsbuild.pants==2.15.0 into a virtual environment at /home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/bindings/venvs/2.15.0
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 59.7 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement setuptools<58 (from versions: 63.4.3)
ERROR: No matching distribution found for setuptools<58
Install failed: Command '['/home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/bindings/venvs/2.15.0/bin/python', '-sE', '-m', 'pip', '--disable-pip-version-check', '--no-python-version-warning', '--log', PosixPath('/home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/bindings/venvs/2.15.0/pants-install.log'), 'install', '--quiet', '--find-links', 'file:///home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/bindings/find_links/2.15.0/214abc14/index.html', '-U', 'pip==22.3.1', 'setuptools<58', 'wheel']' returned non-zero exit status 1.
More information can be found in the log at: /home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/bindings/logs/install.log

Error: Isolates your Pants from the elements.

Please select from the following boot commands:

<default>: Detects the current Pants installation and launches it.
bootstrap-tools: Introspection tools for the Pants bootstrap process.
pants: Runs a hermetic Pants installation.
pants-debug: Runs a hermetic Pants installation with a debug server for debugging Pants code.
update: Update scie-pants.

You can select a boot command by passing it as the 1st argument or else by setting the SCIE_BOOT environment variable.

ERROR: Failed to establish atomic directory /home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/locks/install-e377c19e560680b66eebbb7b25f2c8cf37985e132ee56b579371b97f64bd8b4b. Population of work directory failed: Boot binding command failed: exit status: 1
Error: Process completed with exit code 1.

What was in that log file - /home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/bindings/logs/install.log ?

I imagine maybe a temporary network flake or PyPI glitch.
Are you using a custom self-hosted index or proxy to PyPI? Did this happen more than once?

What was in that log file - /home/runner/.cache/nce/e947b027d236a97e80c898f86405dec4785e8b482758e80af7ef24129029f799/bindings/logs/install.log ?

Unfortunately I couldn't retrieve it, so I don't know. :-(

Are you using a custom self-hosted index or proxy to PyPI? Did this happen more than once?

It only happened once, and no, no proxy or self-hosted index.
If I'm the only one who's seen this then I'm happy to dismiss it as a fluke, just thought I'd raise it in case there's something else going on.

Thanks for the report! If it happens again please try to grab the logfile, and reopen this ticket. For now I'll assume a PyPI hiccup.


Public properties comments are not taking into account when mapping.

Describe the bug
Public properties comments are not taking into account when mapping. E.g. a comment like /** @var Recipient[] $recipients */ just above a public property leaves the object as a \stdClass where Recipients are expected.
To Reproduce
Try to map the data using the below class:
    public function __construct(
        public readonly PositiveInteger $companyId,
        /** @var Recipient[] $recipients */
        public readonly array $recipients,
    ) {
    }

which will not work, whereas
/** @param Recipient[] $recipients */
public function __construct(
    public readonly PositiveInteger $companyId,
    public readonly array $recipients,
) {
}

works.
Expected behavior
The @var comment provides sufficient information to map the data.
Stacktrace
Environment (please complete the following information):

PHP: 8.1

Additional context
Reported by Adrian Du Plessis

Resolved with #171


WIP: login portal dashboard

This is still a work in progress.
Functionality is yet to be added, I have created a basic login portal and dashboard (WIP) based around Ojasvi and I's original Figma designs.

I'll pull and run this code locally ASAP to give more detailed feedback if needed and help get this through, but initial feedback is just to shuffle things around so that each component is in its own folder (inside src/components) with its own styling. Some relevant docs published earlier this week:

Creating components (for the expected directory structure and naming conventions)
Using Styled Components
Submitting code (more about the linting/structure checks that are now running automatically on PRs to help us keep things consistent)

I'm happy to lend a hand with this if I get time in the next week (but can't promise what time I'll have unfortunately, so don't wait on me).

Have set this up locally; loving the animation to switch between login and signup! There could be a few things here to tweak next trimester and maybe some to bring into Redback UI (also next trimester), but overall once we get it passing the checks I'm happy with this as an MVP to be merged.

@doubleedesign could you please give us the file naming conventions? The linting errors aren't super clear.

I've just pushed up a change that corrects the directory structure and naming conventions. I can see that in the future we may want to allow component folders within component folders, but I haven't had a change to tinker with that as yet. So for now at least, the basic formula is:

routes/

RouteName/

RouteName.tsx
RouteName.style.ts
RouteName.test.tsx

components/

ComponentName/

ComponentName.tsx
ComponentName.style.ts
ComponentName.test.tsx

Noting that the file names match the folder names, and all are in PascalCase (this is the general React convention).
I suspect there will also be a hooks folder in future, when we come across the need for custom hooks (which will follow the React convention of camelCase starting with use).

No worries @bradewalder! Just the CSS refactoring left now I think, which as discussed on Teams I'm happy to help with ASAP. There's quite a bit here that could potentially be adapted and built upon to be used in other parts of the project and in the other teams' projects too, great work!

As discussed on Teams, I have raised a PR to allow CSS modules in addition to Styled Components for now, as it will help us to finalise this PR and we can easily convert them later when Redback UI is integrated and we are thus more ready for the dynamic stuff that Styled Components makes available.

Thank you @doubleedesign! I will keep that in mind for the future. Appreciate your insights, they are very valuable.


(FM-4516) Add extensions to azure_vm

Still needs docs.

Docs PR can be found here:
https://github.com/puppetlabs/puppetlabs-azure/pull/88

Closed the previous PR. Re-opened here: https://github.com/puppetlabs/puppetlabs-azure/pull/89

@hunner this is failing on the (now fixed) puppet-lint issues. Can you please rebase this?


Threading concurrency problem: dictionary changed during iteration

What is wrong?
This crashed one of my nodes.
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     raise MultiError(
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 324, in _run_and_manage_task
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     await task.run()
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 169, in run
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     await self.child_manager.run()
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/asyncio.py", line 255, in run
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     raise MultiError(
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 324, in _run_and_manage_task
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     await task.run()
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 169, in run
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     await self.child_manager.run()
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/asyncio.py", line 255, in run
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     raise MultiError(
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/base.py", line 324, in _run_and_manage_task
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     await task.run()
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/async_service/asyncio.py", line 35, in run
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     await self._async_fn(*self._async_fn_args)
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/trinity/sync/beam/state.py", line 567, in _match_predictive_node_requests_to_peers
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     await self._wakeup_preview_waiters(existing_hashes)
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/trinity/sync/beam/state.py", line 671, in _wakeup_preview_waiters
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     preview_waiters = await asyncio.get_event_loop().run_in_executor(
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/.pyenv/versions/3.8.5/lib/python3.8/concurrent/futures/thread.py", line 57, in run
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     result = self.fn(*self.args, **self.kwargs)
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:   File "/root/env/lib/python3.8/site-packages/trinity/sync/beam/state.py", line 684, in _get_preview_waiters
Sep 30 11:22:33 localhost launch-trinity.sh[10995]:     waiters = tuple(self._preview_events.items())
Sep 30 11:22:33 localhost launch-trinity.sh[10995]: RuntimeError: dictionary changed size during iteration

How can it be fixed
Looks like we need some concurrency protectins/mitigation now that we're running more things in threads.

Hit this one again today.


Move VentisMedia.MediaMonkey 4.1 to VentisMedia.MediaMonkey.4 4.1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

https://github.com/microsoft/winget-pkgs/issues/80835

Microsoft Reviewers: Open in CodeFlow

InstallerUrl contains Manifest version instead of PR version:
InstallerUrl: https://www.mediamonkey.com/sw/MediaMonkey_<IP_ADDRESS>0.exe
(Automated message - build 669)


Cloned code was incomplete

Im not 100% what cloning a repository is supposed to do... maybe there is no way of doing it where you download all of the code in the files... but thats kind of important to me...
So maybe we could get all of the code in the future..

im just really dumb. It did in fact get everything.
Basically I had a library without any dependencies...
which naturally made me assume that the import statements weren't downloaded properly.
My mistake


fix(#30): Remove 120 sec default request timeout

Remove the timeout for the express server which defaults to 120 seconds. This caused some requests which took a long time to throw a "socket hang up" error. This should fix the type of errors seen in #30

@mj1618 , is this possible for you to take a look at?

@all-contributors please add @perkyguy for bugs and code


New version: AbstractPPL v0.3.0

Registering package: AbstractPPL
Repository: https://github.com/TuringLang/AbstractPPL.jl
Created by: @yebai
Version: v0.3.0
Commit: c8fc126f1823cbb89c39aba393824d7d7ff5d783
Reviewed by: @yebai
Reference: https://github.com/TuringLang/AbstractPPL.jl/commit/c8fc126f1823cbb89c39aba393824d7d7ff5d783#commitcomment-55196587

staph


Feature request: download query response

Hi, is there a plan for download REST response feature?  It may related with #343

No plan, but sounds reasonable enough to do it 👍

Its good, I'll try to add a button to top of the response box, if I learn how to build/run the project. :)


Fail to delete(invalid_arguments)

I got an error message "Fail to delete(invalid_arguments)" when using --perform option, But when not use --perform it looks like work.
What did I do wrong?
command:
slacker-cleaner --token xxxx --message --group groupName --bot --perform

Device: Macbook Pro
OS: MacOS 10.15.3
Version 0.6.3

I have the same problem when I install it from pip and "docker container".

I am facing the same problem on my Mac using Docker.
I have directly hooked into the bash and run the following command:
slacker-cleaner --token xxxx --message --group groupName --bot --perform
The previous command successfully lists all messages to delete:
slacker-cleaner --token xxxx --message --group groupName --bot
Maybe it has something to do with bot messages?
I double-checked the scopes, and they correspond to the doc.

please be aware of the rate limits when deleting messages, see also
https://github.com/sgratzl/slack-cleaner#tips
e.g. add --rate 1
is it a specific bot message or all of them ?

@sgratzl I am having the same issue. It seems to be all the messages from the laravel log bot https://laravel.com/docs/5.8/logging
As it is an API error log there are stack traces embedded in each message so perhaps there is an escaping issue? Here is a (hopefully well redacted) example
{   'attachments': [   {   'color': 'a30200',                            'fallback': 'Expected response code 354 but got '                                        'code "550", with message "550 5.7.0 '                                        'Requested action not taken: too many '                                        'emails per second\n'                                        '"',                            'fields': [   {   'short': False,                                              'title': 'Level',                                              'value': 'ERROR'},                                          {   'short': False,                                              'title': 'Exception',                                              'value': '```{\n'                                                       '    "class": '                                                       '"Swift_TransportException",\n'                                                       '    "message": '                                                       '"Expected response code '                                                       '354 but got code '                                                       '\\"550\\", with message '                                                       '\\"550 5.7.0 Requested '                                                       'action not taken: too '                                                       'many emails per '                                                       'second\\r\\n\\"",\n'                                                       '    "code": 550,\n'                                                       '    "file": '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:457",\n'                                                       '    "trace": [\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:341",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php:305",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:390",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:497",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:516",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:206",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php:71",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:483",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:259",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/laravel/framework/src/Illuminate/Mail/Mailable.php:159",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php:19",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/laravel/framework/src/Illuminate/Mail/Mailable.php:160",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/laravel/framework/src/Illuminate/Mail/SendQueuedMailable.php:52",\n'                                                       '        '                                                       '"/Users/xxx/code/xxx/api/vendor/laravel/framework…'}],                            'id': 1,                            'mrkdwn_in': ['fields'],                            'text': 'Expected response code 354 but got code '                                    '"550", with message "550 5.7.0 Requested '                                    'action not taken: too many emails per '                                    'second\n'                                    '"',                            'title': 'Message',                            'ts':<PHONE_NUMBER>}],     'bot_id': 'xxx',     'subtype': 'bot_message',     'text': '',     'ts': '1584604144.001900',     'type': 'message'}

I assume it has something to do with the attachments

can you try to use the as_user flag:

@sgratzl running with that flag fixed it. Thanks so much! Do you know the underlying cause?

Can confirm is that using the --as_user flag is working. My command looks like this:
slacker-cleaner --token xxxx --message --group groupName --bot --as_user --perform --rate 1

great. As far as I understood depending on the flag is using a different permission scope. It might has something to do with the recent scope simplifications (see also https://github.com/sgratzl/slack-cleaner/pull/69). But I have no idea why they are triggering an invalid_argument exception.

can you try to use the as_user flag:
--as_user            Pass true to delete the message as the authed user. Bot
                       users in this context are considered authed users.

That it works. thanks, @sgratzl to help me

Hello,
if I try with:
slack-cleaner --token TOKEN -message --channel CHANNELNAME --bot  --before 20190808 --perform --rate 1
I got the error: Failed to delete (invalid_arguments)->
if I add --as_user...
I got the error: Failed to delete (cant_delete_message)->.
What can I try?

Hello,
if I try with:
slack-cleaner --token TOKEN -message --channel CHANNELNAME --bot --before 20190808 --perform --rate 1
I got the error: Failed to delete (invalid_arguments)->
if I add --as_user...
I got the error: Failed to delete (cant_delete_message)->.
What can I try?

Sorry! Done using User Token Scopes in place of Bot Token Scopes with OAuth Access Token.

--as_user also works for me. Can we add that to the README.md?? It breaks once in a while because of threads but that's another bug I think.

I created and pinned https://github.com/sgratzl/slack-cleaner/issues/73 which gives exactly this hint.

Can you confirm your token is started with "xoxp"?


Refactor rotary cli

refactor rotary.py for improved reliability and expandability
move all code that processes sub-commands below the switch case that selects a sub-command. This should support the easy addition of sub-commands from other modules. This should support the addition of a new command to support https://github.com/jmtsuji/rotary/issues/60
concentrated code for parsing CLI arguments in sub-command functions or shared between sub-command functions. This made it much easier to fix various bugs regarding where and when to generate output files.

@jmtsuji I went to do some bug fixes in rotary.py and decided it would be worthwhile to refactor it to make fixing the bugs more straightforward and to make it easier to ensure that the correct behaviour is occurring.

@LeeBergstrand Nice refactoring work. I like the simplified way that the modules are handled now -- should make it easier to integrate other modules in the future, I agree. Looks good to me, so feel free to merge this PR!


Revert "Upgrade hmpps gradle-spring-boot…”

This reverts commit 18cb24a83fda8f6891e07e51a896dd2f296a7586., as merged by https://github.com/ministryofjustice/hmpps-approved-premises-api/pull/2086
Upgrade is being reverted while we investigate some performance issues

Just confirming we leave the merge commit b2f1886b48324eb3ab907b562125154042f006ba as is?


Do you think it is possible to add support for downloading the qr with an icon that has been entered with url?

It only allows to download if the image is in the project assets, but if you put the image with a url it doesn't download it.

https://stackblitz.com/edit/stackblitz-starters-dy21ym?file=src%2Fmain.ts
Thanks you

@DIKGONZA @Cordobo I fixed this and created a pull request for this

Merged and released as 18.0.2
@amazing4u thanks for the pull request 👍


event is undefined

Hi, I experienced a little bug while using this component

The event is undefined when called and the first tab is disabled
https://github.com/Jacobs63/vue3-tabs-component/blob/fa534e6473086afc6afcd3180a7d1439d551a0f9/src/components/Tabs.vue#L106
a solution to the problem could be
event !== undefined && event.preventDefault();
or something like that - maybe there is a better way ?
Thank you :)

Hello,
yes, as the function is used on various places there has to be a check for the event being provided as a parameter.
Version 1.0.3 has been released which fixed this issue.
Thank you for your contribution.


feat(deployment) add version-aware ready probe

What this PR does / why we need it:
Removes default values.yaml readinessProbe, but uses provided value if present.
Use version-aware readiness probes if no readinessProbe is present.
Which issue this PR fixes
Fixes # 830
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] PR is based off the current tip of the main branch.
[ ] Changes are documented under the "Unreleased" header in CHANGELOG.md
[ ] New or modified sections of values.yaml are documented in the README.md
[x] Commits follow the Kong commit message guidelines

Closed in favor of https://github.com/Kong/charts/pull/844


⚠ Roblox has degraded performance

In 52988f1, Roblox (https://www.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 3831 ms

Resolved: Roblox performance has improved in c26d4bf.


Move pathpolicy out of internal/ into pkg/

Following up from 41b1d00770061f616bc7defc53a03cb711227e90, we now move the pathpolicy package out of internal as well.  This is mostly necessary because there are public functions and types, that depend on types in pathpolicy.
blueprint.CheckMountpointsPolicy() takes *pathpolicy.PathPolicies as a second argument.
The policies under pkg/policies/ are created using pathpolicy.NewPathPolicies() with maps where the values are pathpolicy.PathPolicy.
Without access to the pathpolicy package, the policies can be checked using the existing ones, but no new (or modified) policies can be created by a consumer that might have other restrictions (like, bootc-image-builder).
https://github.com/osbuild/images/pull/395#issuecomment-1909832368

go fmt part of the source prep script reordered the imports after the package path changed which I didn't do originally.
Serves me right for seding and leaving it at that.


Request to Reintroduce OpenVPN Obfuscation Feature in OPNsense

Important notices

[ X] I have read the contributing guidelines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[ X] I have checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue and am convinced that my issue is new.

Is your feature request related to a problem? Please describe.
Yes, the removal of the "scramble obfuscate" option from OpenVPN in OPNsense has significantly impacted my ability to upgrade to newer versions of OPNsense. My network is heavily censored, and obfuscation is the only viable method to bypass such restrictions. The absence of this feature is forcing users like me to consider alternatives, despite our preference for OPNsense.
Describe the solution you'd like
I would like the "scramble obfuscate" feature to be reintroduced in the latest versions of OPNsense. Alternatively, providing an option to install older versions of OpenVPN, such as "openvpn 2.5.8", on the newer releases of OPNsense would be greatly appreciated.
Describe alternatives you've considered
I have considered using other solutions that offer traffic obfuscation, but none match the integration and ease of use provided by OPNsense. Additionally, setting up an internal Obfsproxy server is a more complex solution that I'd like to avoid.
Additional context
The "scramble obfuscate" feature is crucial for users in regions with heavy network censorship. Its reintroduction would not only benefit current users but also attract new ones who require this functionality. I am currently using "Opnsense 23.1.11_2" solely because of the lack of this feature in the latest versions. Your attention to this matter is highly appreciated.

Some additional information:
https://forum.opnsense.org/index.php?topic=41106

I'm not aware of the removal of a feature when it comes to OpenVPN in this case, the only obfuscation feature I'm aware of is obfsproxy as documented in  https://community.openvpn.net/openvpn/wiki/TrafficObfuscation, which by my knowledge has never been part of our distribution.

The XOR patches were included once but removed for 2.6 when they broke again due to upstream changes. OpenVPN developers never took it in and FreeBSD removed the extra patch. I have no more intention of carrying the torch for a patch nobody of the relevant people helping to keep it alive is interested in. Sorry.

@fichtner my mistake, missed that particular thing, we're certainly not going to carry custom patches around. Alternatives exist, they just need more work from the interested parties (also not a core priority)

Some additional information: https://forum.opnsense.org/index.php?topic=41106
Imo, offering something like wstunnel instead would be the better choice since it would work for any traffic instead of just openvpn. https://github.com/erebe/wstunnel
Though I think that's community plugin scope?

thank you I should try this as well

Some additional information: https://forum.opnsense.org/index.php?topic=41106
Imo, offering something like wstunnel instead would be the better choice since it would work for any traffic instead of just openvpn. https://github.com/erebe/wstunnel
Though I think that's community plugin scope?

Thank you. I should try this as well. However, the VPN services I'm using offer obfuscated options, not WSTunnel, like Surfshark and PureVPN. Thank you for your reply

I'm not aware of the removal of a feature when it comes to OpenVPN in this case, the only obfuscation feature I'm aware of is obfsproxy as documented in https://community.openvpn.net/openvpn/wiki/TrafficObfuscation, which by my knowledge has never been part of our distribution.

I'm not aware of the removal of a feature when it comes to OpenVPN in this case, the only obfuscation feature I'm aware of is obfsproxy as documented in https://community.openvpn.net/openvpn/wiki/TrafficObfuscation, which by my knowledge has never been part of our distribution.

I'm not aware of the removal of a feature when it comes to OpenVPN in this case, the only obfuscation feature I'm aware of is obfsproxy as documented in https://community.openvpn.net/openvpn/wiki/TrafficObfuscation, which by my knowledge has never been part of our distribution.

Yeah, my mistake. You're right; you're not the one who removed that obfuscation option from OpenVPN. Here's the link to the announcement (https://forum.opnsense.org/index.php?topic=33836.msg163658#msg163658). Based on this announcement, I mistakenly thought OPNsense had removed the option and was no longer supporting it. However, upon reading it again, I see that the XOR feature is no longer supported in OpenVPN, unfortunately

@fichtner my mistake, missed that particular thing, we're certainly not going to carry custom patches around. Alternatives exist, they just need more work from the interested parties (also not a core priority)

So, isn't there any way I can upgrade my OPNsense to the latest version but still install an older version of OpenVPN (specifically, OpenVPN 2.5.8, which I am currently using) on the latest version? If there is a solution for this, my problem will be solved

I would rather reach out to the VPN Provider support. The obfsproxy was last updated 2018. https://www.freshports.org/security/obfsproxy
So they should offer something new, like the solution I have stated above. Wireguard + wstunnel looks rather nifty.
Since the obfuscation option has been removed so long ago, they really have to offer a new solution to keep their customers who want to avoid the DPI without using old - potentially insecure - software versions.

I would rather reach out to the VPN Provider support. The obfsproxy was last updated 2018. https://www.freshports.org/security/obfsproxy
So they (The VPN provider you pay for) should offer something new, like the solution I have stated above. Wireguard + wstunnel looks rather nifty.
Since the obfuscation option has been removed so long ago, they really have to offer a new solution to keep their customers who want to avoid the DPI without using old - potentially insecure - software versions.

Yes, I agree with you; they should definitely offer something new, 100%. But you know, the problem is that in countries with highly restricted and censored internet :/, sometimes the only option that works is obfuscation. Although it’s outdated, they really should develop a new method


Review candidate routes

Context
Not only have we updated the ordering and labelling of items on a candidates application, but some of the paths we have refer to page titles we changed a long time ago, and no longer fully reflect their content or purpose.
Changes proposed in this pull request
This is a proposal for changes we make to user facing paths. Controller names and file locations have not been changed, but should be if these recommendations are accepted.
Comments inline, but some high level notes:

Replaces any _ in paths with the GDS recommendation -
Uses delete in user-facing paths, not destroy
Uses /thing/edit not /edit-thing
Tries to logically and consistent group related paths
Removes a few redirects – do we still need these?

Guidance to review
Agree with these recommendations?
Link to Trello card
https://trello.com/c/lVDr7xYM/
Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] New environment variables have been added to the Azure config

Testing this locally, links in the application menu no longer work, even though they should change based if using path helpers. Are the paths hard coded somewhere @TobyRet?

If we make these changes, question is do we add redirects, and if so, to what extent? Maybe it’s safe to assume that these URLs are not bookmarked or saved somewhere (although browsers will have them in history).
@frankieroberto made the point that this could cause issues if the URLs change tries to save an answer as this change is delayed – though maybe that’d still be the case even with redirects?
Maybe add redirects, but only maintain them for a limited period?

Personally, I prefer _ to - in URLs, as I think it can make them easier to read, the underscores more closely resembling spaces.

I personally use underscores too - mainly as a small form of protest at Google who popularised their usage ✊🏻 But the GDS recommendation is hyphens, and we use hyphens everywhere else, so we should stick with that.

Testing this locally, links in the application menu no longer work, even though they should have updated if using path helpers. Are the paths hard coded somewhere @TobyRet?

@paulrobertlloyd links in the application menu work for me. Did you restart your server?

Did you restart your server?

Ah, that’d be it! 🤦🏼♂


V1.1.0 currently crashes on server.

Currently still working this one out, I guess this is what you get when you forget to also test the server before uploading an update..

Fixed in version 1.1.1


Double requests when searching a farm

When searching for a farm, the request is done twice.

Devnet, 9e7fa15.
It still does request the farm twice, and the only difference I found between them is the endpoint ret_count, one is sent empty and the other is true.

Step to reproduce:

Navigate to the dashboard.
Connect your wallet.
click on Solution
Select FullVM.
Open network.

@A-Harby I think issue doesn't related to initial loading of farms because initial loading requires  2 requests . 1st for count and 2nd to load a random page
for searching you need  to write in farm input and it will issue a debounced request with your query

Verified,
Devnet 760289d.
When searching only on request is being done for the search, and beside on https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1635#issuecomment-1872922018 the inital loading should do 2 requests and thats normal.

Verified:

Devnet
842ebef


Polygon Shape request.

Like the image below. These were in one of the presentations of Google IO

I think these are specific to accessibility, would want to avoid folks abusing this shape...


Missed block on upgrade of SHIP from 2.0 to 2.1

After upgrading from 2.0 to 2.1 i get these entries in the log
missed a block in trace_history.log
    {"name":"trace_history"}
    nodeos  log.cpp:216 write_entry_header

Upgrade was done like this

Take snapshot on other 2.0 machine
Stop SHIP node, delete state and blocks/reversible
Start from snapshot (blocklog was more recent than snapshot)

Block log is full
Before restarting the log contained these entries and then after restarting the indexes were rebuild and they went away
corrupt trace_history.log (0)
    {"name":"trace_history"}
    nodeos  log.cpp:57 read_header

Please request full logs if needed

My upgrade went ok.  Steps:

take snapshot on ship machine, wait a few minutes
stop nodeos-2.0
remove blocks/reversible & state
start nodeos-2.1

No configuration changes.  full blocks.log and full ship history.

Ok so now it failed later.
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.967 nodeos    producer_plugin.cpp:450       on_incoming_block    ] Block not applied to head 8350430c7cf66acf... #51820527 @ 2020-12-15T22:11:23.500 signed by eosarabianet
 [trxs: 0, dpos: 51820191, conf: 0, latency: 467 ms]
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.967 nodeos    producer_plugin.cpp:445       on_incoming_block    ] Received block ca48fa805bae3b21... #51820525 @ 2020-12-15T22:11:22.500 signed by eosarabianet [trxs: 0,
lib: 51820191, conf: 0, latency: 1467 ms]
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.967 nodeos    producer_plugin.cpp:450       on_incoming_block    ] Block not applied to head 8350430c7cf66acf... #51820527 @ 2020-12-15T22:11:23.500 signed by eosarabianet
 [trxs: 0, dpos: 51820191, conf: 0, latency: 467 ms]
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.968 nodeos    producer_plugin.cpp:445       on_incoming_block    ] Received block 365e389c8833eb0c... #51820526 @ 2020-12-15T22:11:23.000 signed by eosarabianet [trxs: 0,
lib: 51820191, conf: 0, latency: 968 ms]
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.968 nodeos    producer_plugin.cpp:450       on_incoming_block    ] Block not applied to head 8350430c7cf66acf... #51820527 @ 2020-12-15T22:11:23.500 signed by eosarabianet
 [trxs: 0, dpos: 51820191, conf: 0, latency: 468 ms]
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.968 nodeos    producer_plugin.cpp:445       on_incoming_block    ] Received block 961389fa700ef744... #51820527 @ 2020-12-15T22:11:23.500 signed by eosarabianet [trxs: 0,
lib: 51820191, conf: 0, latency: 468 ms]
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.968 nodeos    producer_plugin.cpp:450       on_incoming_block    ] Block not applied to head 8350430c7cf66acf... #51820527 @ 2020-12-15T22:11:23.500 signed by eosarabianet
 [trxs: 0, dpos: 51820191, conf: 0, latency: 468 ms]
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: info  2020-12-15T22:11:23.968 nodeos    controller.cpp:1978           maybe_switch_forks   ] switching forks from 0316b7ef8350430c7cf66acfbf041eb37495fa4f3af873445444a5c41dbb6679 (block number 5182
0527) to 0316b7f0d5ca5eb010f1f24b8d2ee22729427c2a9021ca88e28a1fec4546d3c5 (block number 51820528)
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: warn  2020-12-15T22:11:23.970 nodeos    controller.cpp:312            emit                 ] fc::exception: 3280000 state_history_exception: State history exception
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: missed a fork change in trace_history.log
Dec 15 22:11:23 jungle-ship19 nodeos[19888]:     {"name":"trace_history"}
Dec 15 22:11:23 jungle-ship19 nodeos[19888]:     nodeos  log.cpp:226 write_entry_header
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: warn  2020-12-15T22:11:23.974 nodeos    controller.cpp:312            emit                 ] fc::exception: 3280000 state_history_exception: State history exception
Dec 15 22:11:23 jungle-ship19 nodeos[19888]: missed a fork change in trace_history.log
Dec 15 22:11:23 jungle-ship19 nodeos[19888]:     {"name":"trace_history"}
Dec 15 22:11:23 jungle-ship19 nodeos[19888]:     nodeos  log.cpp:226 write_entry_header

From @heifner in Jungle chat:
Major error in ship 2.1-rc1 (corrupts file on forks). Do not attempt to use until 2.1-rc2.

https://github.com/EOSIO/eos/pull/9810

Just to document the error scenario, the issue would occur after the second fork switch

Fixed in rc3


pull request for e2e test at 12/31/2016 05:56:12

:white_check_mark: Validation status: passed
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.


port: [#6813][#6798] Not able to create instance of BlobsTranscriptStore using TokenCredential instead of connectionString and containerName

Fixes #4715
Description
This PR allows the use of Token Credentials to authenticate and create an instance of BlobsTranscriptStore.
Specific Changes

Added parameters blobServiceUri and tokenCredential  in BlobsTranscriptStore constructors.
Added constructor validations in unit tests.

Testing
The following images show the bot working and saving transcripts using BlobsTranscriptStore instantiated with token credentials.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

11 of 14 (78.57%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 84.062%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-azure-blobs/src/blobsTranscriptStore.ts
11
14
78.57%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.4%

Covered Lines:
20353

Relevant Lines:
22913

💛  - Coveralls


[Bug]: Android: "%%%%%" on left of each line in source mode

Describe the bug
Android 14, obsidian 1.4.16
when switch to Source Mode, there are %%%%% on the left side of each line, which looks like line numbers.
It's normal in reading mode.
I have disabled all other plugins.
the "%%%%%" appear once Git is enabled.

I don't kown what is wrong...
please help, thanks.
Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
No response
Steps to reproduce
once git plugin is enabled
Expected Behavior
No response
Addition context
No response
Operating system
Android
Installation Method
None
Plugin version
2.24.0

You enabled the line authoring feature on a desktop device and synced the setting to your mobile device. With ac2865676135a22a81f8d1a440825e7583aa73ec this is now fixed.

You enabled the line authoring feature on a desktop device and synced the setting to your mobile device. With ac28656 this is now fixed.

Thank you very much! It's resolved in the latest update!