App becoming un usable after a breakpoint in onPointerDown

Just putting breakpoint in onPointerDown of Listener widget, app becomes unresponsive after resume.
Flutter v1.13.6 in Web, Windows Chrome Browser.
Steps to Reproduce
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Listener(
                onPointerDown: (p) {
                  print("Put breakpoint here");
                },
                child: Text(
                  'Click On me',
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Framework throwing exception
errors.dart:147 Uncaught Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/pointer_converter.dart:271:18
!state.down
is not true
    at Object.throw_ [as throw] (errors.dart:196)
    at Object.assertFailed (errors.dart:26)
    at _engine.PointerDataConverter.new.convert (pointer_converter.dart:271)
    at _engine._PointerAdapter.new.[_convertEventsToPointerData] (pointer_binding.dart:465)
    at pointer_binding.dart:411
    at pointer_binding.dart:390
    at HTMLElement.<anonymous> (pointer_binding.dart:195)

It is expecting that mouse button is still down. But as focus moved to breakpoint, and mouse has been released, its status will not be down. I think framework should deal with this.
As of now, I have to reload entire application again every time I hit the breakpoint there.

Hi @akkinenirajesh
No issues after resume  on the latest master by setting a breakpoint on onPointerDown
In both VSC and Android Studio

Launching lib/main.dart on Chrome in debug mode...
package:master_flutter/main.dart:1
Debug service listening on ws://<IP_ADDRESS>:51949/kzKg-6QXZuM=/ws
Connecting to VM Service at ws://<IP_ADDRESS>:51949/kzKg-6QXZuM=/ws
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here
Put breakpoint here

flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-8.0.pre.194, on Mac OS X 10.15.7 19H15
    darwin-x64, locale en-GB)
    • Flutter version 1.24.0-8.0.pre.194 at /Users/tahatesser/Code/flutter_master
    • Framework revision 018467cdb1 (4 hours ago), 2020-11-11 02:04:03 -0500
    • Engine revision 81f219c59c
    • Dart version 2.12.0 (build 2.12.0-31.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/SanDisk/Xcode-beta.app/Contents/Developer
    • Xcode 12.2, Build version 12B5044c
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.2
    • macOS (desktop)      • macos                     • darwin-x64     • Mac OS X
      10.15.7 19H15 darwin-x64
    • Web Server (web)     • web-server                • web-javascript • Flutter
      Tools
    • Chrome (web)         • chrome                    • web-javascript • Google
      Chrome 86.0.4240.193

• No issues found!

Closing, as fixed. If you disagree, please write in the comments and I will reopen it.
Thank you


Skybox without IndirectLight is not black

To repro, remove the call to setIndirectLight in FilamentApp and enlarge the camera aperture (small value).
The skybox is visible, but is very very dark.

To recap the issue: when setting a skybox without setting an indirect light, the app cannot control the intensity of the skybox.

In that case the intensity is set to DEFAULT_INTENSITY which is 30000 lux.


Bugfix: Summary component—bail out of initialization of component when content is too brief; refresh max-height on resize; hide overlay at desktop

Changes

Bail out of Summary component initialization when the amount of content is less than the default summary content height.
Re-calculate max-height when resizing window.
Hide gradient overlay when it is not in use.

How to test this PR

Pull branch and  gulp clean && gulp build
Visit http://localhost:8000/ask-cfpb/how-can-i-tell-if-a-friend-neighbor-or-family-member-is-a-victim-of-financial-exploitation-en-1933/ and see that there is a Summary component on mobile.
Visit http://localhost:8000/ask-cfpb/can-my-bankcredit-union-charge-me-a-fee-to-use-another-bank-or-credit-unions-atm-en-1081/ and see there is no Summary component on mobile.
Visit http://localhost:8000/ask-cfpb/what-is-a-credit-reporting-company-en-1251/ and see that you can click the "Go to our browsable list..." links. Resize page to narrow mobile size and see that content isn't cut off when summary is expanded.

3. Visit http://localhost:8000/ask-cfpb/can-my-bankcredit-union-charge-me-a-fee-to-use-another-bank-or-credit-unions-atm-en-1081/ and see there is no Summary component on mobile.

It's not a huge deal, certainly not a blocker for this PR if it's hard to overcome, but when I load this page without cache, I notice a very brief flash of the Summary component and then it disappears.


Search Snack - Add in suggested snack

NAME OF PAGE/COMPONENT
Search Snack
PART OF DESIGN NOT MATCHING
Add in suggested snack section to the snack selector if snack is partially recognised.

Closing as duplicate - #193


Fix:ecommerce lookml

update .lkml files to include measures and dimensions in the ecommerce package

added descriptions to dimensions and measures

Closing due to deprecation


Application exit before thread quit

Try to avoid this by adding the following while loop just before application exit is issued (in controller.py on line 168):
while True:
    if not self.thread.isRunning():
        break

Working solution:
In controller.py:

Move if self.raised_exception: ... clause into finally: ... clause
Just before the if-clause, call the method self.wait_for_thread(), which looks like:

def wait_for_thread(self):
    """ Wait for the worker thread to finish """
    while True:
        try:
            if not self.thread.isRunning():
                break
        except RuntimeError:
            break
        self.application.processEvents()

The finally: ... clause then looks like:
finally:
    self.wait_for_thread()
    if self.raised_exception:
        exc_type, exc_value, exc_tb = self.raised_exception
        raise exc_type(exc_value).with_traceback(exc_tb)
    self.application.exit()


Enable QtConcurrent, QtScriptTools

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


fix: DEV-2655: Hold to continuous draw image view shapes show immediately

Hi @bmartel!
This PR was created in response to a PRs in upstream repo:

https://github.com/heartexlabs/label-studio-frontend/pull/744

/help


ci: set ubuntu version for storybook tests

Description
Something changed with the ubuntu-latest version that was causing the Install Playwright step to fail in the Storybook Tests Github Action. This commit sets a specific Ubuntu version that will allow the step to run successfully.
Which issue(s) does this PR relate to?

Testing

Trade-offs

Screenshots

Checklist

[ ] This PR is associated with a JIRA and it is mentioned in the commit message footer ("Closes …")
[ ] Significant changes have been tested downstream to avoid breaking changes
[ ] This PR contains breaking changes and states in the commit message body ("BREAKING CHANGE: …")
[x] I have reviewed the changes and provided detail to the sections above

This is most likely the reason: https://github.blog/changelog/2022-12-01-github-actions-larger-runners-using-ubuntu-latest-label-will-now-use-ubuntu-22-04/

This is most likely the reason: https://github.blog/changelog/2022-12-01-github-actions-larger-runners-using-ubuntu-latest-label-will-now-use-ubuntu-22-04/

Thanks Max!


Tencent (V.QQ) : Very slow download speed / throttling?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
India
Provide a description that is worded well enough to be understood
I am not able to get a download speed more than just kbps. This issue has been occurring since yesterday. If someone knows what's going on, please help me fix the issue
i have also tried : yt-dlp --cookies-from-browser CHROME -f best.2 -N 8 "v.qq_url"
: yt-dlp --cookies-from-browser CHROME -f best.2  "v.qq_url"

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
D:\Youtube\2023.06.22_Stable>yt-dlp --cookies-from-browser CHROME -vU -f best.2 -N 8 "https://v.qq.com/x/cover/mzc002007j7p5hn/k0042sids9q.html"
[debug] Command-line config: ['--cookies-from-browser', 'CHROME', '-vU', '-f', 'best.2', '-N', '8', 'https://v.qq.com/x/cover/mzc002007j7p5hn/k0042sids9q.html']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2023-06-04-git-b1c3d81e71-full_build-www.gyan.dev (setts), ffprobe 2023-06-04-git-b1c3d81e71-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[Cookies] Extracting cookies from chrome
[debug] Extracting cookies from: "C:\Users\Jishnu\AppData\Local\Google\Chrome\User Data\Profile 3\Network\Cookies"
[debug] Found local state file at "C:\Users\Jishnu\AppData\Local\Google\Chrome\User Data\Local State"
[Cookies] Extracted 2801 cookies from chrome
[debug] cookie version breakdown: {'v10': 2816, 'other': 0, 'unencrypted': 0}
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
ERROR: Unable to obtain version info (<urlopen error _ssl.c:1114: The handshake operation timed out>); Please try again later or visit  https://github.com/yt-dlp/yt-dlp/releases/latest
[vqq:video] Extracting URL: https://v.qq.com/x/cover/mzc002007j7p5hn/k0042sids9q.html
[vqq:video] k0042sids9q: Downloading webpage
WARNING: [vqq:video] k0042sids9q: Unable to extract pinia data - Failed to parse JSON: k0042sids9q: Failed to parse JSON (caused by JSONDecodeError('Expecting \',\' delimiter in \'lice.call"({"0":[{"c\': line 1 column 12876 (char 12875)')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template.  Proceeding without locking
WARNING: The download speed shown is only of one thread. This is a known issue
[download]   0.0% of ~ 674.51MiB at   1003.34B/s ETA --:--:-- (frag 0/140)

Try to get a different m3u8 value. The current value the extractor selects seems to be not working/having issues. Please check

I also encountered this problem. Trying to change other format codes didn't work either. What's strange is that when I download the main video (which is longer?), it doesn't work properly, but when I download the special episode (which is shorter), it works again.


Feat/deploy heroku

:x: Build TheIdServer 7.4.7-feat-deploy-heroku1-0128 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/0258ad35ce by @aguacongas)

:white_check_mark: Build TheIdServer 7.4.7-feat-deploy-heroku.1+128.build.3507 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/0258ad35ce by @aguacongas)


Support for Job DSL Plugin

Would be great (after the API stabilizes) to add support for the Job DSL Plugin.
That would allow all git workflows.

It supported, see tests  https://github.com/jenkinsci/github-integration-plugin/blob/f45e15c495855adcaa6a0e976749be57b7fa99b5/github-pullrequest-plugin/src/test/resources/dsl/jobdsl.groovy :)

Yay! Will check the docs and try to add it there.

No docs :( had no time for it
main code https://github.com/jenkinsci/github-integration-plugin/tree/master/github-pullrequest-plugin/src/main/java/org/jenkinsci/plugins/github/pullrequest/dsl/context
feel free to contribute docs (though not sure how gh wiki allows to do it).

GH sucks! it has no PRs for wiki pages.
I will think how better place them.

Closing this issue as it already supported.


Cannot retrieve big table from postgres

I use the following statement attach a postgres database
ATTACH 'dbname=postgres host=<IP_ADDRESS> port=5432 user=postgres password=1122334455' as pg_duckdb (type postgres);

I can retrieve a little table such as
select * from pg_duckdb.t1

But when I retrieve a big table (1,000,000), get the errors:
select * from pg_duckdb.t_random
------
SQL ERROR: Invalid Error: Failed to prepare COPY "
	COPY (SELECT "generate_series" FROM "public"."t_random" WHERE ctid BETWEEN '(0,0)'::tid AND '(1000,0)'::tid) TO STDOUT (FORMAT binary);
	":
------

I execute this statement from DBeaver 23.3.
OS: windows 11
DBeaver: 23.3.0
duckdb: 0.9.2
Postgres: 15.4

Thanks for the report! This is an issue specific to certain clients (in this case the JDBC client). I've pushed a fix in #150. As a work-around you could run SET pg_connection_limit=1.

Thank you! The other errors come:

张军峰
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年12月14日(星期四) 下午5:54
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [duckdb/postgres_scanner] Cannot retrieve big table from postgres (Issue #149)
Thanks for the report! This is an issue specific to certain clients (in this case the JDBC client). I've pushed a fix in #150. As a work-around you could run SET pg_connection_limit=1.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

In command ,there are different errors.
Does I update the extensions to the newest version?

You can install the nightly as follows:
force install postgres_scanner from 'http://nightly-extensions.duckdb.org';


Brew thinks fdupes is outdated even after upgrading

Every time I run brew upgrade brew thinks fdupes is outdated and installs it again.
$ brew info fdupes
fdupes: stable 1.6.1 (bottled)
Identify or delete duplicate files
https://github.com/adrianlopezroche/fdupes
/usr/local/Cellar/fdupes/1.6.1 (7 files, 44.4K) *
  Poured from bottle on 2016-10-21 at 15:21:19
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/fdupes.rb
$ fdupes --version
fdupes 1.6.1
$ which fdupes
/usr/local/bin/fdupes
$ brew upgrade
==> Upgrading 1 outdated package, with result:
fdupes 1.6.1
==> Upgrading fdupes
==> Downloading https://homebrew.bintray.com/bottles/fdupes-1.6.1.sierra.bottle.1.tar.gz
Already downloaded: /Users/gudrun/Library/Caches/Homebrew/fdupes-1.6.1.sierra.bottle.1.tar.gz
==> Pouring fdupes-1.6.1.sierra.bottle.1.tar.gz
🍺  /usr/local/Cellar/fdupes/1.6.1: 7 files, 44.4K
$ brew cleanup
$ brew upgrade
==> Upgrading 1 outdated package, with result:
fdupes 1.6.1
==> Upgrading fdupes
==> Downloading https://homebrew.bintray.com/bottles/fdupes-1.6.1.sierra.bottle.1.tar.gz
Already downloaded: /Users/gudrun/Library/Caches/Homebrew/fdupes-1.6.1.sierra.bottle.1.tar.gz
==> Pouring fdupes-1.6.1.sierra.bottle.1.tar.gz
🍺  /usr/local/Cellar/fdupes/1.6.1: 7 files, 44.4K

I have gone through the troubleshooting steps prior to this.

Ran brew update and retried your prior step?
Already up-to-date.
Ran brew doctor, fixed as many issues as possible and retried your prior step?
Your system is ready to brew.
If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?
Yes

This solved my problem.
$ brew rm fdupes
Uninstalling /usr/local/Cellar/fdupes/1.6.1... (7 files, 44.4K)
$ brew install fdupes
==> Downloading https://homebrew.bintray.com/bottles/fdupes-1.6.1.sierra.bottle.1.tar.gz
Already downloaded: /Users/gudrun/Library/Caches/Homebrew/fdupes-1.6.1.sierra.bottle.1.tar.gz
==> Pouring fdupes-1.6.1.sierra.bottle.1.tar.gz
🍺  /usr/local/Cellar/fdupes/1.6.1: 7 files, 44.4K
$ brew upgrade
$

Closing as self-solved.

I'm having the same issue.  Uninstalling and reinstalling fixed the issue for me as well, but ideally that wouldn't be necessary.


Mistake in description of unpacking tuples?

Is this a bug here? Need to amend the video? I wanted to bring what I believe is a small mistake in the course.  At about 3:47ish in https://training.talkpython.fm/player/course/write-pythonic-code-like-a-seasoned-developer/lecture/61004 you are unpacking named tuples positionally in the code but explaining as if you were intending to unpack by name. The resulting output is not as you describe.

This is not a problem. Seems OK to me.


NotifyOnCompleted does not catch exceptions, may abort the response/connection

NotifyOnCompleted should catch and log its own exceptions as to not disrupt the normal request flow. It doesn't.
https://github.com/aspnet/HttpSysServer/blob/336e85d19abcdf3ec3a024cb9431c768a4e5d494/src/Microsoft.AspNetCore.Server.HttpSys/MessagePump.cs#L204-L214
https://github.com/aspnet/HttpSysServer/blob/336e85d19abcdf3ec3a024cb9431c768a4e5d494/src/Microsoft.AspNetCore.Server.HttpSys/FeatureContext.cs#L586-L591
It also fires before the response is flushed/disposed so these exceptions may abort the response/connection.
Compare to https://github.com/aspnet/KestrelHttpServer/pull/2324

Still no customer reports here right? I feel like this can be backlogged for now.


'env' printed in Windows builds

It seems that when using the action on Windows, env is printed: https://github.com/Mudlet/Mudlet/runs/1385861365?check_suite_focus=true

This does not happen under macOS or Linux. Perhaps not intended?

@vadi2 right, the output should be at least under an expandable section, as it may be annoying.
As you correctly pointed out, it happens only on Windows when msvc is being used (it setups appropriately the Developer Command prompt using the vcpkg triplet).
I think it makes sense to put this verbose output under a collapsible log element indeed.

In my case I'm using MinGW, not msvc - from the same link:

But I think that's a minor detail.

fixed in run-cmake@v3


Error: Building package libepoxy:x64-windows failed with: BUILD_FAILED

Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: libepoxy:x64-windows
Vcpkg version: 2020.02.04-nohash
how to deal with this problem?

After git pull the latest vcpkg repository, run bootstrap-vcpkg.bat again to build vcpkg.
Then vcpkg install libepoxy:x64-windows

Thanks for posting this issue. Please provide the error log.

Thanks for your answer, I have soled this problem by conducting the installation process again.

Thanks for posting this issue. This issue has been fixed, so I am closing this issue for now.

Not so fast. During my vcpkg install gtk:x86-windows, I too get an error for  libepoxy:x86-windows.
These are the errors:
Building package libepoxy[core]:x86-windows...
-- Using cached F:/gv/VC_project/VCPKG/downloads/anholt-libepoxy-1.5.3.tar.gz
-- Using source at F:/gv/VC_project/VCPKG/buildtrees/libepoxy/src/1.5.3-d7b9d32fcb
-- Configuring x86-windows-rel
-- Configuring x86-windows-rel done
-- Configuring x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: F:/gv/VC_project/VCPKG/downloads/tools/python/python-3.7.3-x86/python.exe F:/gv/VC_project/VCPKG/dow
nloads/tools/meson/meson-0.53.2/meson.py -Denable-glx=no -Denable-egl=no -Dcmake_prefix_path=F:/gv/VC_project/VCPKG/inst
alled/x86-windows --buildtype plain --backend ninja --wrap-mode nodownload --default-library shared --prefix F:/gv/VC_pr
oject/VCPKG/packages/libepoxy_x86-windows/debug --includedir ../include F:/gv/VC_project/VCPKG/buildtrees/libepoxy/src/1
.5.3-d7b9d32fcb
    Working Directory: F:/gv/VC_project/VCPKG/buildtrees/libepoxy/x86-windows-dbg
    Error code: 1
    See logs for more information:
      F:\gv\VC_project\VCPKG\buildtrees\libepoxy\config-x86-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_meson.cmake:112 (vcpkg_execute_required_process)
  ports/libepoxy/portfile.cmake:14 (vcpkg_configure_meson)
  scripts/ports.cmake:90 (include)

Error: Building package libepoxy:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libepoxy:x86-windows
  Vcpkg version: 2020.02.04-unknownhash-debug

The buildtrees\libepoxy\config-x86-windows-dbg-out.log contains this:
meson.build:1:0: ERROR: Executables created by c compiler cl are not runnable.

Oh, really!?
My vcpkg was pulled and built from todays master.

@gvanem Could you provide the all log: buildtrees\libepoxy\config-x86-windows-dbg-out.log? You can attach the log file to here.

@LilyWangL It contain this:
The Meson build system
Version: 0.53.2
Source dir: F:\gv\VC_project\VCPKG\buildtrees\libepoxy\src\1.5.3-d7b9d32fcb
Build dir: F:\gv\VC_project\VCPKG\buildtrees\libepoxy\x86-windows-dbg
Build type: native build
WARNING: Unknown options: "enable-egl, enable-glx"
Project name: libepoxy
Project version: 1.5.3
Appending CFLAGS from environment: ' /DWIN32 /D_WINDOWS /W3 /utf-8  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1'
Appending LDFLAGS from environment: ['/DEBUG']
Appending CPPFLAGS from environment: ' '

meson.build:1:0: ERROR: Executables created by c compiler cl are not runnable.

A full log can be found at F:\gv\VC_project\VCPKG\buildtrees\libepoxy\x86-windows-dbg\meson-logs\meson-log.txt

And the meson-log.txt.

I find a error from package-x64-windows-rel-out.log
--------------------------------- errors ----------------------------------------
../src/1.5.3-d7b9d32fcb/src/dispatch_common.c: error C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
--------------------------------- errors -----------------------------------------
I'm delete dispatch_common.c All Comments  // and /* */
it working , you try


appender: fix a bug that writeAppend will truncate data if file exists

writeAppend will call createFileWithFlag with no truncate flag, and the others are not changed.

I made some changes to the integration tests logic, please merge the master to reflect changes.


Just Questions: V2 and Install

The library looks very interesting (and sorely needed in the Fortran world!)
Is V2 ready to play with? The examples all seem to be for V1.
Is there a need to install to consume? As a template library, I was expecting to be able to just include the appropriate files from the include directory into my source.
The challenges I have are cloud build machines (not directly under my control), distributed team (would prefer not to require installs on everyone's machines) and builds for both Linux and Windows. We are using Intel OneAPI Fortan 2022.1.0 on both Windows and Linux. We are not using cmake as our build orchestrator.
Thanks!

Yes I routinely use V2 in my new development.   I just never through the switch to make v2 the default because it would just break older code.
The installation uses m4 to generate the appropriate include files.    So it is extremely fast, but is a necessary step.    The m4 bits allow me to treat the different template parameters consistently without code duplication.   CPP/FPP was just not up to the task.   Once installed, you just need your compilers built in preprocessor and the include paths.
You could always do the install once on a system you control and then just copy the install dir to the platforms that you want.

I should create a new suite of examples,  but really don't have time for an organized response on that front just now.    I can probably point you to a few cases in my other projects where v2 containers are being used.  Or I could use this thread to at least create some starter examples.   I'll start with a demonstration of a vector of integers when I have some time.

Thanks!
I'll try the install and copy approach.
If you could point at a couple other projects for examples that would be great!

I took a quick break today to at least get the ball rolling on bonafide examples.    See
./example/v2/Vector/VecIntAndReal.F90 in branch
https://github.com/Goddard-Fortran-Ecosystem/gFTL/tree/feature/%23192-update-examples-for-v2-interfaces
Real-world examples coming in a moment.

First - just in case you've not seen them, there is some useful documentation at:
https://github.com/Goddard-Fortran-Ecosystem/gFTL/blob/main/include/v2/vector/vector.md
and https://github.com/Goddard-Fortran-Ecosystem/gFTL/blob/main/include/v2/map/map.md
There are several v2 containers used in my pFlogger project:
https://github.com/Goddard-Fortran-Ecosystem/pFlogger/tree/main/src
(Note that a few in there are still v1, because v2 dropped support for containers-of-pointers for technical reasons.  And the replacement approach is just tedious enough that I did not bother to update here.)  Try these in particular:

FormatTokenVector.F90  (vector of FormatTokens)
AbstractPolyFilterVector.F90  (container of polymorphic objects)
StringLockMap.F90   (map with string keys and (polymorphic) AbstractLoc values)

The simplest (non-polymorphic) map (that uses v2) that I could find is at:
https://github.com/GEOS-ESM/MAPL/blob/release/MAPL-v3/generic3g/specs/ChildSpecMap.F90
And of course in each example you'll have to wander around neighboring files/directories to find the uses, which is what you really need to see.


retention policy not working as accepted

Hi.
first i try to describe a very simple basic setup which we'd like to achieve:

we'd like to push data into a database "test"
we'd like to push every second a data
we'd like to keep this detailed data for one hour
we'd like to keep data for every minutely average for 3 hours
we'd like to keep data for 15 minutes average data for 6 hours.
is it possible? how can we achieve this? since we're unable to do so. either influxdb do not insert the data or not that way.

of course the 1 3 and 6 hour and the 1 sec, 1min and 15min is just an example. but aging in such a way is a normal way and we're not able to get this result.
we try with latest influxdb on rhel 7.
i attached a small shell script which demonstrate the problem.
influx -execute "DROP DATABASE test"
influx -execute "CREATE DATABASE test"
influx -execute "CREATE RETENTION POLICY one_hour ON test DURATION 1h REPLICATION 1 DEFAULT"
influx -execute "CREATE RETENTION POLICY three_hour ON test DURATION 3h REPLICATION 1"
influx -execute "CREATE RETENTION POLICY six_hour ON test DURATION 6h REPLICATION 1"

#WORKING
#influx -database test -execute "CREATE CONTINUOUS QUERY cq_avg_1m ON test BEGIN SELECT mean(value) AS value_mean INTO cqrptest_1m FROM cqrptest GROUP BY time(1m), unit END"
#influx -database test -execute "CREATE CONTINUOUS QUERY cq_avg_15m ON test BEGIN SELECT mean(value) AS value_mean INTO cqrptest_15m FROM cqrptest GROUP BY time(15m), unit END"

#WORKING
#influx -database test -execute "CREATE CONTINUOUS QUERY cq_avg_1m ON test BEGIN SELECT mean(value) AS value_mean INTO test."one_hour".cqrptest_1m FROM test."one_hour".cqrptest GROUP BY time(1m), unit END"
#influx -database test -execute "CREATE CONTINUOUS QUERY cq_avg_15m ON test BEGIN SELECT mean(value) AS value_mean INTO test."one_hour".cqrptest_15m FROM test."one_hour".cqrptest GROUP BY time(15m), unit END"

#NOT WORKING
influx -database test -execute "CREATE CONTINUOUS QUERY cq_avg_1m ON test BEGIN SELECT mean(value) AS value_mean INTO test."three_hour".cqrptest_1m FROM test."one_hour".cqrptest GROUP BY time(1m), unit END"

#NOT WORKING
#influx -database test -execute "CREATE CONTINUOUS QUERY cq_avg_1m ON test BEGIN SELECT mean(value) AS value_mean INTO test."three_hour".cqrptest_1m FROM test."one_hour".cqrptest GROUP BY time(1m), unit END"
#influx -database test -execute "CREATE CONTINUOUS QUERY cq_avg_15m ON test BEGIN SELECT mean(value) AS value_mean INTO test."six_hour".cqrptest_15m FROM test."one_hour".cqrptest GROUP BY time(15m), unit END"

NODATA=0
while true; do
#       [ "$NODATA" -ge 10 ] && echo && break
        curl -i -XPOST 'http://localhost:8086/write?db=test' --data-binary "cqrptest,unit=1 value=$RANDOM" &>/dev/null
        echo -n "."
        sleep 1
        ((NODATA++))
done

echo "DONE"

@lfarkas This is a pretty common question. I'd like to point you to some documentation and a couple community posts to see if those documents can help. If not, we would appreciate feedback on how to improve those explanations.
Docs on downsampling: https://docs.influxdata.com/influxdb/v1.2/guides/downsampling_and_retention/
Community questions that might be relevant:
https://community.influxdata.com/t/downsample-and-downsampling-a-downsample/477
https://community.influxdata.com/t/dependent-continuous-queries-at-multiple-resolutions/638


commented security warning for non-default ports

updated with commented security warning for non-default ports

Thank you, looks good! :+1:


Connect to frontend directly, bypass coordinator for GIE query

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@c1007cf). Click here to learn what that means.
The diff coverage is 70.00%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #2923   +/-   ##
=======================================
  Coverage        ?   42.24%
=======================================
  Files           ?       99
  Lines           ?    10646
  Branches        ?        0
=======================================
  Hits            ?     4497
  Misses          ?     6149
  Partials        ?        0

Impacted Files
Coverage Δ

python/graphscope/tests/minitest/test_min.py
0.00% <0.00%> (ø)

python/graphscope/tests/unittest/test_lazy.py
0.00% <0.00%> (ø)

...on/graphscope/tests/kubernetes/test_demo_script.py
81.76% <77.77%> (ø)

python/graphscope/interactive/query.py
88.05% <87.50%> (ø)

Continue to review full report in Codecov by Sentry.

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


Offsets from player

Could you add the ability to configure a position offset when attached to the player?

Another thing that could be really cool is attaching the drops to the object being interacted with, so if you're mining the drops come out of the ore rock or if you're attacking something they come out of the enemy you're attacking.

I like both ideas. I ll see what i can do when i have time.

https://github.com/runelite/plugin-hub/pull/2456
Did not add the option to attach the xp drops to skilling objects as I don't see an easy way for the client to know what skilling object you're interacting with. It is easy to tell for Actors(NPCs/Players) however so I added an option to attach xp drops to those.


Crash during startup garbage collector when spawned npc memory is mislinked

When Sphere is starting, world and characters are loaded and Garbage Collector starts, if spawned NPC has memory item, that should be linked to spawn (or anything existing really) is mislinked (link ID doesn't exists), Sphere crashes without error and without any info in logs.
It used to work in rev 3720 it printed debug log and critical error (no id or anything usefull actually), but rev 3882 / 3888 crashes silently.
rev 3720 log:

Expected behaviour would be logging item id with wrong link and removing it during GC (and maybe remove container for this memory, if it is npc?)

Could be link to #1307


Maven processor plugin and eclipse apt compatiblity

Currently, owsi-core projects can be both built with maven or eclipse.
For code generation based on java compiler annotation processing (used with querydsl and bindgen), we use an old excilys m2e plugin to delegate build phase to maven. This method should be replaced as newer plugin like jboss' one provides better integration (with apt eclipse's plugin) and configurability.
This should be an opportunity to rewrite maven configuration to enhance eclipse and maven build compatibility.
Here is a reminder of the current choices made for eclipse build:

code generation is not done automatically by eclipse, as maven delegation is quite cpu-intensive. Eclipse never really triggers code generation.
but as eclipse needs source folder configuration, a fake processor configuration is used with an empty include filter (so that no source files are processed, but generated source folder is added)
eclipse does not trigger generate-test-sources so both process and process-test are bound to generate-sources when in eclipse mode (based on m2e.version environment variable)

Branch eclipse-processor created for work on this topic.


Fixed typo on CSS Learn CSS Transforms by Building a Penguin

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #48560

Hey @Rohan-07
This PR seems to make similar changes as the existing PR #48564. As such, we are going to close this as duplicate.
If you feel you have additional changes to expand upon this PR, please feel free to push your commits and request this PR be reopened.
Thanks again! 😊

If you have any questions, feel free to ask questions on the 'Contributors' category on our forum or the contributors chat room.


Question: is there a user meta folder?

Regarding the meta files in there https://github.com/sumneko/lua-language-server/tree/master/meta
On my system these are located in sumneko-lua's install folder such as:
/install-folder/sumneko-lua-ls/meta/
Does sumneko-lua have a user meta folder such that I would put my own meta files in my home folder such as
~/.config/sumneko-lua/meta/ , which sumneko-lua would then look into for additional meta files?
What is the recommended way to add custom meta files to my sumneko-lua installation?

You could use this setting:
https://github.com/sumneko/vscode-lua/blob/1246c7033bd0234e2d54cadbf69200b178eef32e/setting/schema.json#L1290-L1297

Thanks!


Feature/capped discount

Capped discount feature with for now hardcoded Karma Oracle address.
TODO: extend constructor to accept Karma Oracle address OR implement method with which address can be set. Replace hardcoded Oracle address after.

Please note that I noticed few things that may be optimized in the currently implementation (without impact on the API)
I'll wait for merging this PR before applying them


[zh-cn] sync sidecar-containers.md

content/zh-cn/docs/concepts/workloads/pods/sidecar-containers.md

/lgtm


Doesn't work

At startup v0.0.140 it tries to update and gives an error

I need to clean up my buggy releases. It might be one of those releases when I was testing.

Try downloading 2.0.5 from releases

Mac https://github.com/electron-delta/electron-sample-app/releases/download/v2.0.5/electron-sample-app-2.0.5.dmg
Windows https://github.com/electron-delta/electron-sample-app/releases/download/v2.0.5/electron-sample-app-Setup-2.0.5.exe

Windows https://github.com/electron-delta/electron-sample-app/releases/download/v2.0.5/electron-sample-app-Setup-2.0.5.exe
Win10. Installed, launched - same error.


Skip unnecessary pip install commands in the pythonpackage.yml workflow

All checks in pythonpackage.yml are run by tox. Manual installation of requirements is unnecessary here, as tox will install and run everything in separate virtual environments.

Can't merge this from my phone since the app uses OAuth tokens and GitHub restrictions merges via those to PRs updating workflows


Updated the empty config state

Updated the empty config state
Made it cleaner - this should be intuitive to use as is.
Also user doesn't have to delete as much text from initial state to jump in and get started.

It would be really cool to also have sample output saved in the config. Maybe we should have a separate "Create from template" command for that, but now the Untitled is truly just an untitled. My goal was to have an educational untitled because this is the first time someone is seeing an aiconfig


Fix wfreerdp-server-cli output and pdb name

Another patch from the vcpkg port:
Remove leading space from wfreerdp-server-cli output name.
Add .exe suffix before .pdb to avoid clash with dll pdb.

Disclaimer: I don't build with MSVC locally.
FTR I stopped at enabling UWP: freerdp defines a lot of things which are available actually. vcpkg CI logs are available.

@dg0yt oh, looks like you are on a bug squashing spree

Actually it is only upstreaming work I started a while ago. FTR I stopped at enabling UWP: freerdp defines a lot of things which are available actually. vcpkg CI logs are available.

well, that was done a long time ago (and not maintained for quite a while)
is that still a thing?
@freerdp-bot test please

well, UWP was done a long time ago (and not maintained for quite a while)
is that still a thing?

I take the ongoing maintenance of vcpkg CI for uwp as an indication of relevance.
I'm not an expert but I guess it should be read as "Windows Store Apps", not as "UWP Device  Apps", today.
And API restrictions are also applied to new Windows API "families" and "partitions" such as xbox.

@freerdp-bot test pretty please


DeepState predictor error

My data is of form
item_id	DEMAND	DryBulb	DewPnt
Timestamp
01-01-2011 01:00	NH	1044.0	28	26
01-01-2011 02:00	NH	985.0	27	25
01-01-2011 03:00	NH	937.0	28	26
01-01-2011 04:00	NH	914.0	30	27
01-01-2011 05:00	NH	911.0	32	28
there are 3 different item_id .I have set cardinality to 3 and 'feat_static_cat'=True ,but when i use
predictor = estimator.train(training_data=training_data),it gives me error
KeyError: 'feat_static_cat'
How to handle categorical features in deep state .Is Deep state good for such kind of data ??
How we can improve accuracy & efficiency of this model ?

Hi @parimuns,
you first need to make sure that your data is in a format like this

train_ds = ListDataset([{FieldName.TARGET: target,
FieldName.START: start,
FieldName.ITEM_ID: item_id,
FieldName.FEAT_DYNAMIC_REAL: feat_dynamic_real,
FieldName.FEAT_STATIC_CAT: feat_static_cat}
for (target, start, item_id, feat_dynamic_real, feat_static_cat) in zip(target_train,
start_train,
item_id,
feat_dynamic_real,
feat_static_cat)],
freq = "1M")

That ensures that gluonts understands that there are additional categorical features in the data. Once that is done, we can move on to training the model

estimator = deepstate.DeepStateEstimator(freq = "1M",
prediction_length = 12,
add_trend = True,
use_feat_dynamic_real = True,
use_feat_static_cat = True,
cardinality = card_static,
scaling = True)
predictor = estimator.train(training_data = train_ds)

cardinality has to be a list. Say, you have two categorical static features, with the first one having 7 unique values and the second 20, then cardinality = [7, 20].
Hope that helps

I have a CSV file ,I don't know how to convert in that format (I am new to python programming).Please guide.

I have multiple time series data .i.e i have electricity demand data of 8 zones and I want to hourly predict  demand of all zones.

Suppose the cardinalities changed....
does it requires to re-train the full model ????


fix (TDI-37028): salesforce doesn't support write BigDecimal

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
We upgrade salesforce and wsc in master, but not for product 6.2.
The wsc which we used didn't support BigDecimal. So we need to back port the changes of  salesforce and wsc to  components 0.13
What is the new behavior?

upgrade salesforce and wsc in 0.13
add junit

Does this PR introduce a breaking change?

[x] No

Pull request test result: success :star:

@sgandon
yes. you are right. I am only cherry-pick your commit https://github.com/Talend/components/commit/71e5788c8767c7ab74f929844a582505e6016ec5
but I forgot that  you have made osgi tests work individually for each component in this commit
https://github.com/Talend/components/commit/f23e7d7cc459d86bca42c8e19264768908cae96d
I would remove it from from sogi-test.
Thanks Ivan also.

Pull request test result: failure :x:

Pull request test result: success :star:

you can merge it.


CH - set per site basis

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4197  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @malmstein and the rest of your teammates on  Graphite


Harmony Hub as only 1 device

Hello
I’ve installed Homebridge and the Logitech hub plugin.
I’ve added to my home app but I see on my device only one box called harmony hub and when I press it I see all the 3 activists I have.
Is there a way to make a single box for each activity?

Nothing to do with Homekit or Homebridge. This is the new look for devices in the Home app in iOS 13. I do not like it either.

Yes you can configure for them to be separate switches in the config file. You can find the info for the config on the plugin page on github.


Update confluencemicrosoft-tutorial.md

Hii Dhivya,
As per discussion I've tested SSO plugins on latest confluence version 8.0.4 and it's functioning as expected. So updated the support version please check and approve the PR.
Thanks & Regards,
Sagar Patil

@dhivyagana

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


process events for extrinsic success/failure

needs #1248

[ ] decode the event store and loop through all events. group all events by extrinsic which triggered them. treat events from intrinsics separately
[ ] for each extrinsic, look up the system.extrinsicSuccess or system.extrinsicFailed and log the error index
[ ] (nice to have) translate error to human-readable for the enclave log (look up index in metadata)

Implement this such that it is easy to subscribe to any kind of event, either by extrinsic or globally
this task is done upon successful e2e demo of at least one succeeding and one failing extrinsic (failure can be provoked by committing an exchange rate to the teeracle pallet without being whitelisted:
https://integritee.subscan.io/extrinsic/2315592-3

Closed by #1272


[BUG] Recording Sounds High-Pitched

Bug Description
Whenever I record my voice through record feature, the output is high-pitched (chipmunk).
Steps to Reproduce
Record your voice with the record button and then listen to the output.
Expected Behavior
Recording should sound normal.
Assets
https://github.com/IAHispano/Applio/assets/45245475/1d392a7f-751a-4f3f-8f5d-742101b358bc
Desktop Details:

Operating System: Windows 10
Browser: Firefox

Additional Context
I am recording my voice with a Blue Yeti microphone. This bug never happened on the last version I tried (3.0.0)

Seems a Gradio problem in your PC. Try in another browser or open an issue in https://github.com/gradio-app/gradio/issues


Embellishment argspec should not return a group

An argspec of e{{x}} is treated the same as e{x}. The embellishment token list should be ['x'], not [{type: "group", content: ['x']}].

But e{{{x}}} is not the same as e{{x}}

Is e{{{x}}} allowed? How is it treated?


GroupConsumer : lack of some internal functionality

I have been working a bit with the no-kafka library and bumped into few hardships related to a lack of some internal functionality in GroupConsumer class.
So, from my perspective it would be great to add next functionality to the GroupConsumer class:
1) isAvailable flag and events on it's changing:
Here I would like to suggest adding an "isAvailable" variable to GroupConsumer class and adding it's change in the _heartbeat method in the then/catch blocks of heartbeatRequest method.
Code example:
    _heartbeat () {
        var self = this;

        return self.client.heartbeatRequest(self.options.groupId, self.memberId, self.generationId)
            .then(() => {
                //=======================================//
                /**
                    In case of successful heartbeat set isAvailable flag to true
                 */
                self.isAvailable = true;
                //=======================================//
            })
            .catch({ code: 'RebalanceInProgress' }, function () {
                //=======================================//
                /**
                    In case of failed heartbeat set isAvailable flag to false
                 */
                self.isAvailable = false;
                //=======================================//
                // new group member has joined or existing member has left
                self.client.log('Rejoining group on RebalanceInProgress');
                return self._rejoin();
            })
            .tap(function () {
                self._heartbeatTimeout = setTimeout(function () {
                    self._heartbeatPromise = self._heartbeat();
                }, self.options.heartbeatTimeout);
            })
            .catch(function (err) {
                //=======================================//
                /**
                    In case of failed heartbeat set isAvailable flag to false
                 */
                self.isAvailable = false;
                //=======================================//
                // some severe error, such as GroupCoordinatorNotAvailable or network error
                // in this case we should start trying to rejoin from scratch
                self.client.error('Sending heartbeat failed: ', err);
                return self._fullRejoin().catch(function (_err) {
                    self.client.error(_err);
                });
            });
    };

2) Save of all current subscriptions while rejoining of consumer group (for now on rejoining consumer group it restores only subscriptions mentioned on consumer group creation despite subscriptions obtained via "subscribe" method)
This functionality can be obtained by accounting all current subscriptions of GroupConsumer in "_syncGroup" method
Code example:
    _syncGroup() {
        var self = this;

        return Promise.try(function () {
            if (self.memberId === self.leaderId) { // leader should generate group assignments
                return self.client.updateMetadata().then(function () {
                    var r = [];
                    _.each(self.members, function (member) {
                        //=======================================//
                        /**
                            In case of rejoining consumer group, we should consider current subscriptions
                         */
                        _.each(_.union(member.subscriptions,
                            _.uniq(Object.keys(self.subscriptions).map(key => key.split(`:`)[0]))), function (topic) {
                            r.push([topic, member]);
                        });
                        //=======================================//
                    });
                    r = _(r).groupBy(0).map(function (val, key) {
                        if (!self.client.topicMetadata[key]) {
                            self.client.error('Sync group: unknown topic:', key);
                        }
                        return {
                            topic: key,
                            members: _.map(val, 1),
                            partitions: _.map(self.client.topicMetadata[key], 'partitionId')
                        };
                    }).value();

                    return self.strategies[self.strategyName].strategy.assignment(r);
                });
            }
            return [];
        })
            .then(function (result) {
                var assignments = _(result).groupBy('memberId').mapValues(function (mv, mk) {
                    return {
                        memberId: mk,
                        memberAssignment: {
                            version: 0,
                            metadata: null,
                            partitionAssignment: _(mv).groupBy('topic').map(function (tv, tk) {
                                return {
                                    topic: tk,
                                    partitions: _.map(tv, 'partition')
                                };
                            }).value()
                        }
                    };
                }).values().value();

                // console.log(require('util').inspect(assignments, true, 10, true));
                return self.client.syncConsumerGroupRequest(self.options.groupId, self.memberId, self.generationId, assignments);
            })
            .then(function (response) {
                return self._updateSubscriptions(_.get(response, 'memberAssignment.partitionAssignment', []));
            });
    };

_3) Temporary saving previous subscription in "updateSubscriptions" method before clearing subscriptions object. It will gives us an ability not to lose topics offsets on subscriptions updating.
In the "_updateSubscriptions" method there is a clearing of subscriptions object (first of all). Then it requests metadata to fetch offsets. It's a bit danger in case if kafka server was not avaliable for a while. Offsets could not have been committed and after kafka returns to the avaliable state we can fetch old offsets.
So, to get around this we could just temporary save old subscription object before clearing it and use it on calculating topic offset.
Code example:
    _updateSubscriptions(partitionAssignment) {
        var self = this, offsetRequests = [],
            handler = self.strategies[self.strategyName].handler;
        //=======================================//
        /**
            Before clear current subscription we should store them
         */
        var previousSubscriptions = Object.assign({}, self.subscriptions);
        //=======================================//
        self.subscriptions = {};

        if (_.isEmpty(partitionAssignment)) {
            return self.client.warn('No partition assignment received');
        }

        // should probably wait for current fetch/handlers to finish before fetching offsets and re-subscribing

        _.each(partitionAssignment, function (a) {
            _.each(a.partitions, function (p) {
                offsetRequests.push({
                    topic: a.topic,
                    partition: p
                });
            });
        });

        return self.client.updateMetadata().then(function () {
            return self.fetchOffset(offsetRequests).map(function (p) {
                //=======================================//
                /**
                    Consider of stored old subscriptions with mentioned offset
                    It will give us an ability not to lose messages
                    and start consuming new messages from hte latest offset
                 */
                var options = {
                    offset: previousSubscriptions[`${p.topic}:${p.partition}`] ?
                        previousSubscriptions[`${p.topic}:${p.partition}`].offset : p.offset
                };
               //=======================================//

                if (p.error || p.offset < 0) {
                    options = {
                        time: self.options.startingOffset
                    };
                }

                return self.subscribe(p.topic, p.partition, options, handler).catch(function (err) {
                    self.client.error('Failed to subscribe to', p.topic + ':' + p.partition, err);
                });
            });
        });
    };

I have tested this improvements locally and it seems like all works fine. It started to be pretty good in case of temporary kafka fault. However, I believe that there are a better solutions than mine.
Please, let me know your thoughts.
Thanks,
Ihor T.

Not actual anymore


Why env steps are different between LICA and SMAC papers?

In the experiments of LICA, env steps are set to be 32 or 64 million steps.
In the experiments of QMIX, env steps are set to be 1 to 3 million steps.
Why the env steps are quite different? I don't know how to interpret the difference of env steps.
Could you please tell me why?

Hi,
Thank you for your interest. Because of the inherent difference across different baseline approaches and their training procedures, it is hard to juxtapose them. So we followed the training setting from LIIR and aligned batch size, the number of batch updates, and the environment steps for all approaches. Please see "Training setting" of Section 4.2 for more details.

This paper answered your question: https://arxiv.org/abs/2102.03479.

In the experiments of LICA, env steps are set to be 32 or 64 million steps.
In the experiments of QMIX, env steps are set to be 1 to 3 million steps.
Why the env steps are quite different? I don't know how to interpret the difference of env steps.
Could you please tell me why?


Like / Dislike buttons

add like / dislike buttons to the rating

Error with dynamically added HTML functions:
OnClick doesn't work --> need global function or window function

implemented


Center content

What does this PR do?
Fix the positioning of the content on the main page
Description of Task to be completed?
Increased the left positioning from 50% to 51% to fit better within the position it is in.
Screenshots
Before

After

Thank you!


Resolve ECCompatible ("acceptable") chains as set of chains or single chain

The FIP talks about EC Compatible chains as a collection of chains sharing some common prefix. The code constraints this to be a single chain that only ever extends from its head.
The single chain model allows a node to propose a block in EC during a running GPBFT instance and then ensure it doesn't vote against finalisation of its own block. I don't think a set of chains provides incentive-compatibility unless values can be removed from the set (or the set contents generally be arbitrarily updated by the node).

The FIP had a bug, ECCompatibleChains should be as the code specifies, which is one of the changes I propose to fix the bugs Guy found.

A proposed change to the protocol specification will remove the ECUpdate method, making this question mostly redundant. There will still be a "candidates" set of chains.

Closed with #181 (see #170)


🐛 BUG: Wrangler fails to reload Rust

Which Cloudflare product(s) does this pertain to?
Workers/Other, Wrangler
What version of Wrangler are you using?
3.0.0
What operating system are you using?
Linux, Mac
Describe the Bug
I can boot the server just run, and run the worker with the Rust bindings. However, as soon as I save the file and Wrangler re-compiles the Rust binary, Miniflare fails with this error:

It should be fairly easy to reproduce with the Rust template worker, and just changing it while the dev server is running. Tested on both a Linux box and my MacOS laptop.

FYI this works in 2.7.1
Remote has the same problem in 3.0.0


Add better options for screen clearing

Warning API break: removes a variant from Signal

Remove the Signal::CtrlL as it requires explicit handling and
cooperation but we offer configurable keybindings already
Default keybinding of Ctrl-l is ReedlineEvent::ClearScreen that
directly performs the scrollback buffer preserving clear of the current
screen.
Add ReedlineEvent::ClearScrollback to perform screen clearing with
removal of the scrollback buffer. (Demo will now do that on clear as
seen in bash, zsh etc.)

Fixes #120
Helps with nushell/nushell#5089

@sholderbach Thanks for working on this PR...
It will be interesting to see how it works on the
https://support.apple.com/en-asia/guide/terminal/welcome/mac
Regarding #5089
https://github.com/nushell/nushell/issues/5089
I will test this after this PR lands...
And let you know what  I find out....
Cc: @fdncred

Will land and make the changes in nushell to accept the new api/make the keybindings accessible.
It sends the same clearing commands in ANSI that are part of @fdncreds clsterm command (minus the style reset).

beautiful!


Update homepage banner.

 Update Banner to "Daily new cases are rising in half of the states, ..."


Sends file instead of rendering webpage when using http2

I'm running Ubuntu 18.04 LTS with Nginx 1.15.6.
server {
    listen 80 http2 default_server;
    listen [::]:80 http2 default_server ipv6only=on;
...}

The above causes the server to prompt me to accept a download when I visit the domain, instead of rendering the website. Removing http2 allows the server to render the website again.
How do I fix this issue?

Hi @Jumbledwords,
It only happens when ModSecurity is on?

Hi @Jumbledwords,
Without further details will be very hard to help you. I am assuming you figure out what was wrong and solve the problem. Please share your experience, so others can learn from it.
I am going to mark this issue as closed. But it is still editable.


Add API Docs to the Dev Hub

Need some help on the top margin. The navbar sits on top of it until you first scroll.
Also, I had to add the embed script to the head include. I don't like that every page now loads it. Need to figure out how to conditionally load it.

Will need to make sure we can put a redirect in place from the marketing site so we don't break links on KB articles.

Resolved the head include issue.

I updated the margin issue - can you take a quick look to confirm it looks OK?


track language preferences

Browsers also store and send language preferences and I guess it would make sense to track & show this as well.
This is how it looks in Ackee:

@alexanderadam I thought that only the country is needed but, when reading your issue, I thought that this could be good to see what people have for language instead of what location. Good for locales, changes of content, and all that.
I might put this on the todo.

I thought that this could be good to see what people have for language instead of what location

Not instead but additionally to that. Both things are different types of information. There are countries with different languages, too. People from Canada might have English or French as major preference. People from Switzerland might have French, German or Italian.
So it obviously makes a difference what info you need.

@alexanderadam, of course, Didn't mean to remove countries, but some people might want languages more than countries for different things.
It could be added as part of the countries page. Planning to show a list of countries there like on the dashboard. I can add languages as part of that.


Avisynth+64, Multithreading, Etc.

Plugin loading accomplished via Avisynth+ methods.
All plugins updated to 64 bit versions
Multithreading support added as well as new threads variable for user to set.
Moved assrender line in encode.avs up to fix a problem where .ass subtitles get applied to a video that was originally >60fps but is no longer (e.g. youtube conversion) and caused a desync
Removed avs2pipemod. x264 can use avisynth scripts directly, and ffprobe.exe has been introduced for timestamp generation.
Audio encoding programs removed, replaced by custom ffmpeg
Added build scripts/instructions for ffmpeg/ffprobe
Changed command for VB encodes to use mkvmerge. This removes the reliance on a larger version of ffmpeg that can handle h264 encoding etc.
Re-added ssl license thing that tvcman comes with
Removed lots of vestigial dlls

Aside from general testing, there is a line in the original global.bat that I'm not sure about:
".\programs\avs2pipemod" -wav encode.avs | ".\programs\sox" -t wav - -t wav - trim 0.0065 | ".\programs\opusenc" --bitrate 64 --padding 0 - ".\temp\audio.opus"
I can't find any information about this, but apparently when using opusenc, the track needed to be trimmed by 0.0065 seconds off the front of the track? The way it is now, it's using opusenc embedded in ffmpeg, so I'm not sure if this is necessary anymore and have not replicated this behavior.

Added build scripts/instructions for ffmpeg/ffprobe

Can't find it.

 programs/ffmpeg-config.7z
Let's have those unzipped, in a folder.

When I tried building x264 on my own I also noticed that it was like 20 times smaller, so might make sense to use a lighter build here too.

Some BG info for qaac: http://tasvideos.org/forum/viewtopic.php?p=454950#454950

Thread about currently used delays: http://tasvideos.org/forum/viewtopic.php?t=19507

On building x264 - building ffmpeg here makes it much smaller because I'm stripping it down to almost nothing. If you can strip stuff out of x264 as well it might be worth it indeed. I don't know that I want to invest the energy into figuring out how to build it right now though.
On the audio delays: Interestingly, after running the audio through the encoders inside of ffmpeg, the opus and ogg output are lined up exactly, the aac-he audio is delayed now. For the test data I'm using, it's a delay of 0.161 seconds, or 7048 samples. Working on this.
Another issue: It appears that the opus format does not support any sampling rates besides 48,000hz and is in fact heavily optimized for this. When opusenc.exe encodes a file, it will insert the original sampling rate into the header of the opus/ogg container, which then can be read by some programs (like mkvmerge in our case) to report the original sampling rate. However, opus always encodes and decodes audio at 48khz regardless of what the original frequency is listed as in the header.
ffmpeg does not set this header data though, and I can't find a way to force it to. So, when we encode using libopus inside of ffmpeg, the audio that comes out is shown as 48khz, regardless of the sampling rate of the original audio. It's been doing this for all of our encodes up until now as far as I can tell, it has just been "lying" to us about how it gets decoded. Read me here: https://trac.ffmpeg.org/ticket/5240 . So how big a problem is this do you think? Our modern encodes would now say 48khz sampling rate, unless we use some external tool to change the tags or something.

I've just spent the night learning a lot more about aac then I really would have preferred. The issue with decoder priming (the set amount of samples that show up at the start of an aac stream) gets more difficult to deal with when using ffmpeg's libfdk_aac. Wheras tools like qaac and various others that implement libfdk have options for dealing with the priming samples for a/v sync (as was made use of by the people in that tasvideos thread), ffmpeg does not. What makes it worse is that the amount of priming data changes depending on the sample frequency, so there isn't a one-size-fits all trim value we can apply. For 44.1khz data, there are about ~7000 samples that need to be trimmed, but at 48khz, there are about 200 more. The time difference between this is tiny, about 1 frame, but it's still not exact so that's frustrating because qaac can do it, but ffmpeg seemingly can't. I've tested sampling frequency and a few other parameters and the numbers change each time, which isn't good.
So the question now is - if we really need to use something other than ffmpeg for doing aac encoding, then is it worth trying to use ffmpeg for any audio encoding? I feel it's kind of all or nothing here, and the amount of effort it feels like it's going to take to get automatically correctly-aligned aac audio out of ffmpeg is just too high considering we have something that works already. I've actually got the custom ffmpeg built with pipe support anyway and I'm pretty sure it will happily pipe to whatever audio programs we have, so dropping avs2pipemod will still work. It's a shame because I wanted to consolidate stuff but I don't want to spend a week on this either.
I did think of one solution to the problem, but it's overly complicated and would be slow. Encoding the audio to aac-he once, then using ffprobe to get the duration. Duration could be compared to original pcm stream, and the difference would be the required offset. The stream would have to be re-encoded with a trim. A re-encode could probably be avoided by just muxing into mp4 with a negative offset, but I'm not sure that muxing with negative offsets is something we want to do with a compatibility download in the first place.
Links I found useful:
https://superuser.com/questions/1552916/audio-is-not-in-sync-after-re-encoding-with-ffmpeg-of-video-and-changing-audio-f
https://github.com/mstorsjo/fdk-aac/issues/24
https://stackoverflow.com/questions/42410479/ffmpeg-wrong-audio-file-after-conversion-in-aac
https://hydrogenaud.io/index.php/topic,85135.msg921707.html#msg921707
Open questions I have:

libfdk and other encoders are supposed to embed metadata into compatible containers like mp4/m4a about negative offsets to avoid the decoder delay, but ffmpeg does not seem to do this.
Encoding audio and video at the same time in ffmpeg might fix this problem, as I've heard on the internet. I haven't tested this since my custom ffmpeg stuff on a VM doesn't have video support and will take a long time to compile it in. Might be worth testing, but that would also then lead to the question of, are we good with combined encoding/muxing.

If you can strip stuff out of x264 as well it might be worth it indeed. I don't know that I want to invest the energy into figuring out how to build it right now though.

Yeah, maybe someday. It was rather easy to build with mingw.

However, opus always encodes and decodes audio at 48khz regardless of what the original frequency is listed as in the header.

Does it actually resample it though? All bizhawk output is 44100Hz for example.

I did think of one solution to the problem, but it's overly complicated and would be slow. Encoding the audio to aac-he once, then using ffprobe to get the duration. Duration could be compared to original pcm stream, and the difference would be the required offset.

Is it to get resolve the variable delay length based on samplerate? If so, we could just force some known sameplerate and fix the delay value.

The stream would have to be re-encoded with a trim

Trim using which tool?

A re-encode could probably be avoided by just muxing into mp4 with a negative offset, but I'm not sure that muxing with negative offsets is something we want to do with a compatibility download in the first place.

The mp4 encode is almost useless anyway, so I'm not sure if we're losing anything really. I think even if we use this offset feature and just wait for user complaints, there will not be any, ever. 10 years ago we were still considering video players that people have at home, but these days everyone just watches youtube. Which is an entirely different beast btw: it's probably the only video hosting other than archive that allows to upload infinite amount of video with almost infinite resolution, and hosts them indefinitely. But if the channel gets banned, there's no way to restote all those uploads. And no way to have a backup, because they're very huge.

Encoding audio and video at the same time in ffmpeg might fix this problem, as I've heard on the internet. I haven't tested this since my custom ffmpeg stuff on a VM doesn't have video support and will take a long time to compile it in. Might be worth testing, but that would also then lead to the question of, are we good with combined encoding/muxing.

For test purposes, we could use the official build just to know if it helps first.

Does it actually resample it though? All bizhawk output is 44100Hz for example.

All of my info about this is coming from https://trac.ffmpeg.org/ticket/5240 . According to the conversation in that link, input is resampled to 48khz and encoded, with the original sampling rate then added as metadata to the file. Upon decoding, the application doing the decoding can decide to act on that data and resample the 48khz opus stream to the original value.
In my tests, MediaInfo will report the sampling frequency for opus files according to the metadata tag, but ffprobe/ffmpeg will report the actual frequency. So for my test file (original PCM audio was 44.1khz), MediaInfo reports the opusenc.exe-encoded file as 44.1khz, but ffprobe reports it as 48khz. The same audio encoded using ffmpeg gets reported as 48khz by both applications. I've put together a program that can change the original sampling rate bytes in an opus file, so if having the original sampling rate is really important to us, we can use that as a post step. I haven't found a way to do this inside of ffmpeg yet.

Is it to get resolve the variable delay length based on samplerate? If so, we could just force some known sameplerate and fix the delay value.

Moot point now, I found out my testing methodology was flawed. The version of ffmpeg that Audacity uses is very old and didn't handle parsing the priming samples correctly. I also forgot to account for the fact that a fixed number of samples translates to differing amounts of delay for different sampling frequencies... oops! Anyway, if we just trim 7106 (6 frames @ 1024 each, + 962) samples off the front of our PCM audio, libfdk_aac-encoded tracks all line up correctly.

Trim using which tool?

libavfilter, via the atrim filter in ffmpeg. Command is -af aframe=start_sample=7107.

We could just force-resample all our audio, or only what goes to opus. Or resample everything to 44100 and what goes to opus to 48000. Feels like the most straightforward approach would be to force 48000 on everything. I don't think there will be any artifacts, but I don't know much about audio.


Port value in config-default.json is not used

The initial configuration does not copy every field from config-default.json.  Specifically, if the database port is 3307 instead of 3306, for example, the installation will fail at merge_configs.php.
With this configuration:
    "database": {
        "host": "<IP_ADDRESS>",
        "port": "3307",
        "charset": "utf8mb4",
        "dbname": "ext-test-extension",
        "user": "root",
        "password": "root"
    },

This is what showed up in the Espo log:
[2024-05-22 19:21:35] ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)" at ...

However, this works:
    "database": {
        "host": "<IP_ADDRESS>:3307",
        "port": "",
        "charset": "utf8mb4",
        "dbname": "ext-test-extension",
        "user": "root",
        "password": "root"
    },

build.js in espocrm-extension-tools does not explicitly use the port value:
        cp.execSync(
            "php install/cli.php -a setupConfirmation -d \"host-name=" + config.database.host +
            "&db-name=" + config.database.dbname +
            "&db-platform=" + dbPlatform +
            "&db-user-name=" + config.database.user +
            "&db-user-password=" + config.database.password + "\"",
            {cwd: cwd + '/site'}
        );

It is confusing for the port setting to be included in config-default.json if it is not actually used in the PHP setup files. E.g. from setupConfirmation.php:
$dbConfig = [
    'host' => $hostData[0] ?? '',
    'port' => $hostData[1] ?? '',
    'dbname' => $installData['db-name'],
    'user' => $installData['db-user-name'],
    'password' => $installData['db-user-password'],
    'platform' => $installData['db-platform'] ?? null,
];

I would expect there to be fields called db-host and db-port or for the port field to be removed from config-default.json.

Concatenating host and port should solve the problem: https://github.com/espocrm/extension-tools/commit/84196f3bf71ce2f6c90a7522ada7094958a85867


Move tests out of package

[x] Closes #1451
[x] Tests added
[x] Release note added (or unnecessary)

To be determined if done now or later:

replace toplevel conftest with testing.anndata._pytest (or so) private pytest plugin

To do later

create documented public test helpers as part of testing.anndata

What's up with the coverage?

pytest --cov instead of coverage run. Although because of https://github.com/nedbat/coveragepy/issues/1696, coverage run is also not optimal.
coverage run always works, whereas pytest --cov breaks if you somehow get pytest to import your module before it initializes the plugin.

OK, I think this looks good. It’s blocked on https://github.com/scverse/scanpy/issues/2993, which is in turn blocked on pytest’s 8.2 release.

Yes, but you can also just check if the newest commit hash matches what the codecov comment says, and then check the link from the codecov comment: https://app.codecov.io/gh/scverse/anndata/pull/1459
Seems like somehow this PR increases coverage very very slightly?

As said, https://github.com/scverse/anndata/commit/ba3c054355414ed4f622e8ef9d1e4eddac5607c8 fixed the issue that resulted in anndata being imported before pytest-cov, so now this PR doesn’t negatively affect coverage anymore.

I am seeing it in parallel, but can't find the issue about it which I saw earlier so am not 100% sure if that's expected.
My coverage looks good in parallel and similar to the one not in parallel, with the only coverage change being the test helpers.  So to me, this PR seems fine.


PHP ini settings

Is there any convenient way to edit php.ini settings?

Yes. Inside the devilbox git directory go to cfg/. You will find config folders for each PHP version.
Simply put your *.ini file into the php version folder.
You can also check cfg/php-fpm-5.6/ for an example.
Once you have created a config, restart the devilbox and check http://localhost/info_php.php if the changes are effective.
Let me know if this works.

Thanks, all worked well.
P.S. Thanks for the great tool!

Good to hear. Thanks. I will have to update the documentation to also include this section.

Another one. Problem was with max upload size in first place to let me upload large dump to MySQL through adminer. PHP was the first gate and now nginx get in the way. Do i have to change configuration inside .devilbox/etc/* folder or there is an easy way?

Please create separate tickets for different bugs:
https://github.com/cytopia/devilbox/issues/75


Relax stval written with instruction for illegal instructions

"For illegal-instruction exceptions, stval must be written with the faulting instruction." We feel that this is burdensome to implement because of data dependent illegal instruction exceptions. One needs to carry the bytes through the pipeline (or some other mechanism to meet this requirement). For example, AIA spec has data dependent illegal instruction exceptions based on miselect values:
https://github.com/riscv/riscv-aia/blob/main/doc/src/CSRs.tex
When \z{miselect} is a number in a reserved range (currently
\z{0x00}--\z{0x2F}, \z{0x40}--\z{0x6F}, or a number above \z{0xFF}
not designated for custom use), attempts to access \z{mireg} raise an
illegal instruction exception.

It’s certainly true that data-dependent exceptions make this feature more onerous to implement in some microarchitectures. Whether the onus is justified depends on the frequency of emulation traps and on whether emulation traps from X-only PMA/PMP regions need be supported (since in that case it isn’t possible to load the instruction from memory). My opinion is that the cost is justified. (This one might need to go to a vote.)

I should have noted I was commenting specifically about A profiles, if it wasn't clear.
Within a given privilege mode of a particular profile wouldn't we expect the frequency of emulation traps to be low (or exceptional) if software is adhering to a given profile extension support? I think that's one of the main intents of the profile -- target instructions within a mandatory set of extensions. Or did I misunderstand your thinking, Andrew?
There is a performance call out for misaligned loads/stores: "Even when supported, misaligned loads and stores might execute extremely slowly. Standard software distributions should assume their existence only for correctness, not for performance." I know this isn't related to illegal instruction exceptions specifically, but the intent of that statement is rooted in expectations and functionality -- not optimizing for performance.

I generally agree we should operate under the assumption that emulation traps are uncommon, since systems for which that isn't the case won't be competitive.  But don't forget that missing HW features isn't the only reason they'll occur: nested virtualization is an A-profile use case where we'll feel the need to accelerate these traps.
There's also still the functional matter of X-only PMA/PMP preventing emulation unless the instruction is delivered to *tval.  Reasonable minds might say "just don't do that", but this concern continues to raise my hackles.

So the X-only PMP/PMA concern for virtualization use case should be addressed by the use of HLVX.HU/WU that perform load but check for execute permission instead of read permission.

The HLVX solution doesn't work for all the RVA-compliant designs that don't implement or enable the H extension.  One can imagine there will be lots of such RVA-compliant designs.
More fundamentally, even when HLVX is available to use, it does not address the X-only PMP/PMA concern.  X-only PMP/PMA will still cause an Access Fault on an HLVX.

That is interesting that X-only PMP/PMA have a special case for HLVX since the HLVX access I understood is a "Code fetch" as far as MMU is concerned but the data is written to a register instead of being decoded. I will try to study the reason why X-only PMP/PMA disallow HLVX.

Would it be the case that machine mode would not lock something into the PMP that requires emulation on that platform. Or is the reasoning that machine mode filling something into PMP as execute only would be agnostic to the platform and so would require the lower privilege levels to emulate it. I assume such execute only code could never be executed by M-mode itself since that could not be emulated?

Btw, I'm curious about the need to "carry the bytes through the pipeline"?  Speaking from our high-performance o-o-o design, we never encountered such a need.  With 10's to 100's of instructions in flight, passing instruction bytes "through the pipeline" would be quite ugly (to say the least).  We had no issue in avoiding that.  I wouldn't even say it was a matter of engineering ingenuity.  It's also worth noting that there aren't true data-dependent exceptions that can only be detected during actual execution of an instruction (i.e. doing register-based computations).

To Ved's last post ... M-mode is only concerned about protecting its memory-mapped resources from access by lower privilege modes.  At least in this regard M-mode doesn't care what kind of bare-metal/RTOS/OS/hypervisor environment is running at lower modes and may very well not be aware of those specifics.  In other words M-mode configures PMPs based on its proetction needs and on what parts of the physical address space is it going to "hand over" to lower modes to be accessible by them, but otherwise can be agnostic to what exactly is running below.
In this case of stval, the Supervisor's need to read instruction bytes is completely transparaent to M-mode.  Conversely, if M-mode had to set up PMPs to allow R permission for this Supervisor-level purpose of reading instruction bytes, then it would have to do that for all of the address space that it allows access to by lower modes (or at least to all regions that lower modes might fetch code from).
Lastly, note that M-mode has its own mechanism to read from X-only PMP areas in the case when IT needs to do so.  But that mechanism is not available to S/HS-mode.

I hope the M-mode that provides a X-only region to lower privilege also disallows single stepping that code as that seems to be the motivation to disallow HLVX but single stepping allows inferring instructions without reading them.
With AiA there are true data dependent faults - for example, when *siselect CSR is written with a illegal value, the fault is not on *siselect write but later when the *sireg CSR is used to access what was selected by *siselect.
I dont think instruction bytes need to be passed through the pipeline but there needs to be a way to recover the instruction bytes when an instruction faults at execution like the CSR access to the *sireg,
Given the arguments made for emulation of code mapped in PMP as X-only I am okay with making the *stval reporting of instruction bytes as mandatory.
Orthogonally one may want to be sure that reporting of the instruction bytes from the x-only PMP through *stval is not a violation of the x-only goals.

Note that debug single-stepping takes you to M-mode (or to an external debugger), and M-mode can read memory that may be X-only to lower privilege modes.  (Disallowing single-stepping through lower-mode X-only regions, in some people's eyes, is probably a non-starter.)

Agree disallowing single stepping may be not acceptable. But if the reasoning for not allowing HLVX to X-only PMP was to allow execute but not read of code bytes then single stepping can expose the code bytes is what I was getting at. If the X-only region was not S/U accessible then HLVX would have failed by itself due to lack of privilege and not because of being X-only.

Could this be a platform requirement instead of a ISA profile requirement? It may be more prevalent to have firmware that needs emulation locked PMP to be provided as X-only code for execution by lower privileges in M-class platforms? Also perhaps more prevalent to require more performance critical trap-and-emulate on M-class platforms than A-class platforms? A-class platforms do require H-extension. So besides this case the use of HLVX or HLVX+HU by a user mode VMM or use of sstatus.SUM+sstatus.MXR seems to suffice to obtain the instruction bytes to do the emulation. Hope I not missing some other case?
To Greg your point about having the instruction bytes around to report it depends on the implementation. For example a implementation may have multiple levels of instruction decoders and so the decoder that generates the illegal inst may not have the instruction bytes around. Certain illegal instructions may get generated late - e.g. the AiA *sireg,  vstart not being 0, unsupported EEW used by vector load/store, etc. In some implementations the internal encoding of the op/ops may not be same as the architectural encoding and in some implementations the instruction cache may not be inclusive of all ops in the OOO part of the machine. It may be possible to reconstruct/re-fetch the bytes etc. but adds complexity that may not be needed on A-class platforms and so be optional for A-class platforms?

Regardless of implementation style, you have to fetch the original macro-instruction bytes before executing them.  I find it hard to see that keeping these around would add considerable burden to anything that has high-performance complex execution and supports precise traps and tracing etc.  OTOH, if software cannot rely on this feature, it complicates/prevents software handling of these traps due to atomicity/interleaving etc.

On this particular item I have already dropped my objection. Quoting from my earlier post "Given the arguments made for emulation of code mapped in PMP as X-only I am okay with making the *stval reporting of instruction bytes as mandatory."


What does show jobs actually do?

Not clear if the extension is or should be working at the moment. Does show job run condor_q in a way? I can't get it work and show the list of running/pending jobs.

Are you able to use the show job command and just nothing is returned or are you unable to use it? In order to use it you need to be remoted connected to an access point. show job does not user condor_q. It stands up a flask API that uses the python bindings to get job data.

Ignore the above comment, I believe this is a bug I will look into ASAP and will update here once fixed.

As of version 1.3.0' the issue should be fixed and the command show jobs` is working.

It works, thanks a lot !


Add Fourier transform playground example

Description
Adds a new example to play around with 2D sine waves and fourier transforms. I made it to better visualise and explain how power spectrum and phase behave depending on the fourier components.
The example is also a nice showcase of two-way threading communication :P
Here's what it looks like:
https://github.com/napari/napari/assets/23482191/522f3e8d-cbe5-41c4-9c78-9da05d751adc

Liking this very much!!
FFT visualization often benefits from taking the log, to avoid large changes in amplitude. Something like np.log10(c + spectrum) and then playing with the value of c, given the application.

FFT visualization often benefits from taking the log, to avoid large changes in amplitude. Something like np.log10(c + abs(spectrum)) and then playing with the value of c, given the application.

Nice! I settled on c = 10 for this application, it improves the readability of the phase.
Speaking of which, I fixed the phase, since I was doing it wrong before: I was taking only the imaginary part instead of getting the angle of the complex number.
I also moved out the time component from the base function, which I agree makes things cleaner. Should be good to go!

This is great!
It reminds me very strongly of Grant Jensen's image Fourier transform talk, which is part of his incredible Cryo-EM lecture series (seriously you should go look, it's brilliant and there are several other fourier transform videos in that series as well as the one I linked above)
Can we add links to those in the text description as well? I think that would really help boost people's understanding.

The docs build is failing, I presume because some of the threading / interactive examples need to be excluded from running in the gallery. (But tbh I don't know, the fail log doesn't offer much of a clue...) I can't remember how this works... @melissawm any ideas? 😬 🙏

It reminds me very strongly of Grant Jensen's image Fourier transform talk, which is part of his incredible Cryo-EM lecture series

Yeah, that's part of the go-to lecture series we always suggest to newbies (me included :P) here :) Being able to interact with it is so much better though. Explaining aliasing by moving a slider and seing the peaks in the power spectrum "bounce" on the edges is so satisfying :)

I tested locally and couldn't find any issues (docs build just fine), but I restarted the CI job yesterday and was watching - it seems like the examples grow progressively slower after this new one, maybe something is leaking? Not sure how to debug locally as I don't see any issues but will try to poke around. Sorry I'm not too familiar with the threading stuff!

Adding thread.quit() seems to solve the docs bulding issue, but now there's some odd segfault in pyside6, which also seem to refer to threads... may be related?


Add IgnoreSslErrors to Web and improve error messages

This change adds an IgnoreSslErrors to the Web component that works
similarly to the property of the same name on WebViewer. Enabling this
property will suppress hostname and certificate chain validation for
any operations with the given component. There is also a new error
message for reporting SSL errors separately from Web errors that gives
more detailed feedback about the SSL handshaking procedure (useful for
debugging certificate issues on the Companion).
Fixes #791
Fixes #886
Change-Id: I595892920e92543bfaea590bdaa86e0caf781563

@jisqyv I think your input is most needed on this due to the security implications.

-1 Needs update to YaVersion. Need to figure out what order this goes in with Maps.

@ewpatton Although more work, I would prefer a mechanism that lets you trust a provided certificate.

@jisqyv That's a slightly different requirement than what was originally proposed. I think it would be better if we had a separate issue/PR for supporting custom cert chains.

@ewpatton The desired behavior is to permit SSL connections to hosts that have a non-traditional certificate hierarchy (a root not built into Android) or a self-signed certificate. Permitting the configuration of an additional root or the trust of a self-signed certificate is preferable to a "anything goes" approach, which is what this change proposes.
My concern is that people will by lazy and just use this property instead of going through the hassle of configuring certificates. If someone does this and then publishes the App to the store and it becomes popular and then a security problem is found out, it will not reflect well on us.

@jisqyv That's a reasonable argument, but then why do we allow the same functionality on WebViewer? It seems like it would suffer the same blowback.

This is a really needed feature, I already have seen a topic asking for such feature in Thunkable community. User needed to connect his Arduino and he couldn't because there is ssl issues with his server.

@ewpatton In the case of a WebView there isn't (at least I didn't find any) way to alter the trust store programatically (the user can do it, but you have to do it manually from the settings app). What we do with the WebView is we catch the SSL error (it lets us do that) and proceed.

We are rejecting this change and proposing instead to allow custom certificate chains rather than outright ignoring SSL.

Please let me know how can we allow custom certificate chains or upload a self signed certificate in order to avoid the SSL error while connecting to self signed HTTPS server.

Hello, sorry to reopen a closed topic.
Would someone be so kind as to insert this change as an extension?
I was trying but I couldn't.
I don't know java well.
Thanks


User account registration

Implement the functionality for new account registration. The design has already been implemented, and you may visit the registration page at: /cms/auth/register. Here are some tasks to be completed for this ticket:

[x] Make an API call to API using window.Tensei.client
[x] Display validation errors from the API on the form. Perform only server-side validation errors. No client-side validation is required for this task.
[x] Redirect user to dashboard home after successful registration (Use window.location.href so a page refresh is triggered and session is set on client.

For the third task,
Should I use window.location.href or window.Tensei.getPath('')?

Error: When one field is empty, validation error is thrown for every field

Error: Error messages don't come in the same format


I cannot reset the song score (in the story menu? I forgot)!

Describe your bug here.
I cannot reset the score in freeplay because if I press RESET, then go to the 'yes', press enter, then, it will play that song. When I get back to the freeplay, the song score didn't got reset.
My PsychEngine version is at the latest ACTIONS!
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I just add a mod, but I didn't edit the whole engine

I remember it, I press it to reset, then when press enter, it send me into the song, then when I quit the song, it didn't get reset!


Requested file format unknown: escn

In the latest build I get an alert prompt every time I test a scene that inherits an escn or if I test the escn itself.
Has the escn extension been deprecated or is this a bug?

I think that escn format is deprecated, and you should use tscn(text format) or scn(compresed scene format) instead.
This is a popup with supported types of saved scenes(Godot master)

escn is not deprecated, no. It should be imported to scn automatically.

I used escn in 3.1.1. (Godot Blender export output) and had the same alert pop up.

I ask because the official Blender Godot Exporter (which I'm helping to improve) exports escn and it seems to have been overlooked in Godot by recent changes.

我问是因为官方的Blender Godot出口商（我正在帮助改进）出口escn，并且在Godot中，最近的变化似乎忽略了它。

Yeah, it seems like that. But if you want to modify the imported 3d models or nodes(in godot) there is no use to modify the origin exported file from blender. Dragging the escn file exported from blender straightly the the current node will result in unmodifiability of the nodes. You need to right click the parent node where you want to add the node and  select 'Merge From Scene' to choose the exported escn file. Then, you can choose nodes in the file and those new nodes will be modifiable. You can also create an empty scene and just do as what I said, then just save the scene with another name, the new scene will be alright, you can save it and modify it and it's absolutely same as the file you exported from blender. It is somehow troublesome, but is the best to solve the problem with such bug.

I had this issue when importing a project which had .import files ignored, see here: https://github.com/github/gitignore/pull/2827
Removing the line in .gitignore fixed it, but for those that wander onto this comment: be wary there are security concerns (at least as of writing) -- read the PR for details.


can you add an SSRF FFmpeg

can you add an SSRF FFmpeg lab

I will check and will try to add it. If possible, pass me any reference article of the scenario you are talking about so that I can work on it.


Add support for properties in hybrid search

With 1.19.0 Weaviate supports properties in hybrid search: The BM25-part of hybrid only searches the given properties.
The properties should be added to the HybridBuilder and the resulting GraphQL query then needs to look like this:
hybrid:{query:\"hello\",  properties: ["prop1", "prop"] ...more options...}

The parameter is optional and not supplying it results in all properties being searched.
Example python PR

I will do this.


filter for issuers not working

Relates to #142
Signed-off-by: Woerner Dominic (RBCH/PJ-IOT<EMAIL_ADDRESS>

@etschelp I implemented the query
http://localhost:8080/api/partners?issuerFor=ba222bf8-ea44-40ff-a3af-cbfe04c7b21a

and added Contoso as an issuer of the bank account document. However, I get an empty response.
Do you see what's wrong?

Is this the partner or the schema id? The filter works by schemaId.


CI for Node

Game
  ✕ Initializes with two players (7 ms)
  ✕ Starts the game with a random player (1 ms)
turn
nextPlayer
  ✕ Sets the current player to be whoever it is not (1 ms)


V6

v6
The v6 is a version compatible with Pixi.js v8, also we are re-organizing some information about the project (like examples, typescript types, ...).

[x] Pixi v8 added as peerDependencies
[x] Readme updated with versions compatible with Pixi.js versions
[x] typescript types on ease.ts

Changes tested on my game project locally (https://pixi-js-game.netlify.app/) and all good.

I'm checking the lint issue

PR tested locally on my game project using yalc 👍🏻


Center Logo

I think this centers the logo.

It does look like it's possible with HTML, but it's seriously frowned upon in terms of markdown best practices to inline HTML.
I don't have a strong feeling about whether this is important enough to do something naughty in MD.

It seems someone has figured this out: https://gist.github.com/DavidWells/7d2e0e1bc78f4ac59a123ddf8b74932d#center-alignment-example

Yay there we go.

Yay! I'm willing to look the other way on inlining the HTML. :-D
Can you squash this down to 1 commit though?

Done.


Remove login path

Remove the login path because this path does only exist on the package installation

Thanks!