ability to pass DynamicParameters explicitly

I ran into a case where some query parameters were completely dynamic and couldn't be modeled with properties. It would be nice to be able to pass a DynamicParameters object in this case, possibly in the query constructor, maybe in the Execute method.
My workaround was to resolve the query sql, then pass it to Dapper manually with my own dp object.

I think I would feel more comfortable having a Dictionary<string, object> as a property through which we add dynamic properties to the existing dp object.

after doing this, I see a somewhat easier way to do this -- pass an optional Action<DynamicParameters> delegate on the Execute* methods that would let you add params dynamically. The way I've done this has the advantage of reflecting in DebugSql however, so not a waste. Still, I was a little uneasy seeing these two props close together.


added favicon

Why do you modify db/schema.rb and yarn.lock?
These files have nothing to do with favicon.

db/schema.rb and yarn.lock was automatically modified when running in my local environment.

Remove them from the commit.
If you still want to merge them, open a new pull request.

Thanks for your first contribution.

Thank You for helping me!


File event comment box too small

The comments box in the file event is too small. Code gets a undesired line break. See:
https://library.ldraw.org/tracker/24262

Fixed.


Quarkus extension seems to only use config from build time

Weve had to revert to using reddison and creating the client ourselves as it seems only config used at build time is injected into the client, which is then causing issues for the native build. Looking here it seems this may be the case. Is this to be expected, or am i missing something here. we need this to read from an external yaml file thats managed in kubernetes.

@mrniko request that this one be re opened. Just getting around to looking at re using this lib and although it now supports external file, it seems to me the config is still baked in at build time. We need to support building the same artifact and deploying it in may places with different config.

@luke-gee
It's loaded during runtime since it marked with @Record(ExecutionTime.RUNTIME_INIT)

I did some changes. Can you try build from master?

Done


allow user to add calories entry for any date

Currently, users can only add the food items that they consumed for the current day. Enhance the code to support functionality for the user to add food items for any day.

implemented this. please review.


Cannot install libgl1-mesa-glx:i386 anymore

Description
About 2 days ago, one of our preparation scripts started to fail. We need several i386 packages. One of them is libgl1-mesa-glx:i386
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019

Image version and build link
2021-08-04 PACKAGE INSTALL FAILs
Image version: 20210726.1
https://github.com/OpenSmalltalk/opensmalltalk-vm/runs/3236686104?check_suite_focus=true
Workflow: https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/2c4ce31b8d6edf3c906958a7bf59b92d7fe52428/.github/workflows/linux.yml
Package install: https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/2c4ce31b8d6edf3c906958a7bf59b92d7fe52428/scripts/ci/actions_prepare_linux_x86.sh
Is it regression?
Yes
Expected behavior
2021-08-03 PACKAGE INSTALL OK
Image version: 20210726.1
https://github.com/OpenSmalltalk/opensmalltalk-vm/runs/3225541738?check_suite_focus=true
Workflow: https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/5e7a35243adb3cdddf8ef78e5dc1df7028249864/.github/workflows/linux.yml
Package install: https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/5e7a35243adb3cdddf8ef78e5dc1df7028249864/scripts/ci/actions_prepare_linux_x86.sh
Actual behavior
The package manager now gives the following error:
runner@fv-az82-65:~/work/opensmalltalk-vm/opensmalltalk-vm$ sudo apt-get install libgl1-mesa-glx:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgl1-mesa-glx:i386 : Depends: libgl1:i386 but it is not going to be installed
                        Depends: libglx-mesa0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Repro steps
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libgl1-mesa-glx:i386

Hello @marceltaeumel. Thank you for your report. We will take a look.

I think I kind of found a solution. Maybe it is related to some recent changes ... somewhere.
sudo apt-get install libllvm12:i386

After installing "libllvm12:i386", the package manager could finally resolve the other dependency issues:
libgl1-mesa-dri:i386
libglx-mesa0:i386
libglx0:i386
libgl1-mesa-glx:i386

Hope this helps.

Hello, @marceltaeumel !
We have not changed anything connected to this package as far as I can see, I suppose that exact arch match is the  proper way to install 32 bit packages, is this workaround acceptable for you?

is this workaround acceptable for you?
Yes. If have too little knowledge about package-dependency management in Ubuntu to find the actual cause of the issue. i386 packages might disappear in future Ubuntu releases anyway.

@marceltaeumel , I'll close the issue, but feel free to tag me here if something will went wrong :)
Thanks!

Small hint, you can try running sudo apt install -f after failed apt install which should try to fix dependencies for you, but if it will not be able, it should show you a more informative description on why it doesn't want to install main package.


Check failure errors in grpcio==1.68.1

What version of gRPC and what language are you using?
Python grpcio==1.68.1
What operating system (Linux, Windows,...) and version?
Cloud Run
What runtime / compiler are you using (e.g. python version or version of gcc)
base docker image: python:3.10-slim
What did you do?
using google_cloud_spanner library suddenly started causing transient errors after releasing a new version of a service. After troubleshooting we realized that it was caused by installing the latest version of grpcio python library.
What did you expect to see?
Downgrading grpcio to 1.67.1 fixed the issue.
What did you see instead?
Transient errors:
DEFAULT 2024-11-27T13:14:28.517509Z F0000 00:00:1732713268.514118 2817 thd.h:170] Check failed: state_ == FAILED
DEFAULT 2024-11-27T13:14:28.517797Z *** Check failure stack trace: ***
ERROR 2024-11-27T13:14:28.517917402Z Uncaught signal: 6, pid=1, tid=2817, fault_addr=0.
WARNING 2024-11-27T13:14:29.298014698Z Container terminated on signal 6.

Or
DEFAULT 2024-12-02T18:51:56.088031Z F0000 00:00:1733165516.085607 469 work_stealing_thread_pool.cc:239] Check failed: !IsQuiesced()
DEFAULT 2024-12-02T18:51:56.093679Z *** Check failure stack trace: ***
ERROR 2024-12-02T18:51:56.093710906Z Uncaught signal: 6, pid=469, tid=469, fault_addr=0.

Anything else we should know about your project / environment?
I am reporting this as GCP Support on behalf of a customer.

@eugeneo  Can you take a look into this once

We've seen similar transient errors on AWS/Fargate with containers failing ~30% of the time due to this. Version 1.67.1 works fine.


Support for async custom resolver

I'd like to be able to use async functions in my custom resolver.  How feasible/easy is it to add an async version of the render function?
E.g.,
async customResolver(varName, view) {
  return view[varName] || await lookUpVar(varName);
}
async bar() {
  await micromustache.renderAsync("{{foo}}", {}, customResolver);
}

It's a cool feature. Maybe someone can fork the project and make an async version of it. The main code is under 100 SLOC so it shouldn't be hard to modify the render function to return a promise and deal with async customResolver() functions.
That being said, I can't see those changes in micromustache due to its performance & size implications. The goal of micromustache is to be super tiny (hence the name) and compatible with MustacheJS.

I would fork the repo and make micromustache-async (and probably remove the cli tool from /bin so it doesn't collide if someone has both sync & async version installed.

Didn't hear anything back. Will close this issue as I don't see it being implemented in this repo :+1:

Makes sense.  Thanks for the response.


Add helm chart

Fixes https://github.com/flant/k8s-image-availability-exporter/issues/13

@zuzzas I made necessary changes. Please check them.

@yuripastushenko
Thank you!


aqd not starting because of missing directory

When starting aqd for the first time, it complains because it cannot write to /var/log/aquilon/aqd.log :
-bash-4.1# service aqd start
Starting aquilon broker: Traceback (most recent call last):
  File "/usr/bin/aqd.py", line 30, in <module>
    twistd.run()
  File "/usr/lib64/python2.6/site-packages/twisted/scripts/twistd.py", line 27, in run
    app.run(runApp, ServerOptions)
  File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 652, in run
    runApp(config)
  File "/usr/lib64/python2.6/site-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.6/site-packages/aquilon/twisted_patches.py", line 172, in updated_application_run
    start=False)
  File "/usr/lib/python2.6/site-packages/aquilon/twisted_patches.py", line 116, in set_log_file
    log_file = logfile.LogFile.fromFullPath(logFile, rotateLength=0)
  File "/usr/lib64/python2.6/site-packages/twisted/python/logfile.py", line 48, in fromFullPath
    os.path.dirname(logPath), *args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/twisted/python/logfile.py", line 161, in __init__
    BaseLogFile.__init__(self, name, directory, defaultMode)
  File "/usr/lib64/python2.6/site-packages/twisted/python/logfile.py", line 40, in __init__
    self._openFile()
  File "/usr/lib64/python2.6/site-packages/twisted/python/logfile.py", line 166, in _openFile
    BaseLogFile._openFile(self)
  File "/usr/lib64/python2.6/site-packages/twisted/python/logfile.py", line 75, in _openFile
    self._file = file(self.path, "w+", 1)
IOError: [Errno 2] No such file or directory: '/var/log/aquilon/aqd.log'

the folder should be created upon installation and writable by the "aquilon" user.

or be dealt with by quattor, eg https://github.com/stdweird/quattor-SCDB-ugent/blob/master/cfg/non-grid/hpc/common/aquilon/config.pan

Thanks for showing me the Quattor configuration file, I didn't know there was one.
But if you don't install Aquilon through Quattor, you still have to create the directory manually and give it proper rights.

Indeed, the RPM should create it.

Confirmed issue still present.

Same issue with /var/run/aquilon and owned by aquilon user.
The problem with this one is this directory is deleted on reboot (/var/run is tmpfs on EL7).
I don't know how to bypass this issue.

In that case the broker should create it... @gombasg?

@gombasg points out that the init script should create the /var/run directory.

March 17 workshop: @gombasg suggests that /var/run/aquilon should be created by init script.

Any plans adding this here? https://github.com/quattor/aquilon/blob/1ecf0200b8bfdf219a76eb5b8a206e97cf5c3921/etc/rc.d/init.d/aqd
Or anywhere else? @jouvin

@urbonegi don't add logic to the init script; at somepoint it has to become a systemd unit. altough you can also do this in the unitfiles, it is better if there is a set of pan templates we can use that sets everything correctly (this is quattor afterall). and yes, you can bootstrap this 😉

Should we close this in favour of #43 then? The use of the quattor template is a workaround for now?


Error in Windows

C:\Users\bilal\gits\v_opengl>v . -o bin\v_opengl
==================
C:/Users/bilal/.vmodules/noxomix/vgl/c//fallback.h:23030: warning: function might return no value: 'glGetVkProcAddrNV'
C:/Users/bilal/AppData/Local/Temp/v_0/v_opengl.01HZ8WMY8DBJNHRZT95AJHKBYD.tmp.c:1379: error: ';' expected (got "duarteroso__vglfw__GLFWwindow")
...
==================
(Use `v -cg` to print the entire error message)

builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .

@noxomix
i tried to use the vgl to compile my simple toy opengl project in windows but it gives me this error, how do i fix that, i worked fine on linux

Hello, I didn't updated the Project since months.   I never tried it on windows also the GLFW bindings might not be for Windows.
Best Regards
Theo


Failed requests during service downscaling

Rancher versions:
rancher/server: 1.4.1
rancher/agent: 1.2.0
Infrastructure Stack versions:
healthcheck: 0.2.3
ipsec: holder
network-services: 0.7.4
scheduler: 0.6.3
kubernetes (if applicable): n/a
Docker version: (docker version,docker info preferred)
1.12
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
CentOS 7
4.4.57-1.el7.elrepo.x86_64
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
VMware
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
4 node cluster, single instance rancher server, external DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Spawn a service X with at least 2 containers
Add a load-balancer sending traffic to service X
Start benchmarking / load testing your service
downscale service X

Results:
Some requests are lost/failed/dropped
Expected Results:
Haproxy removing container from load balancing before container is destroyed
No failed requests

This should be addressed in https://github.com/rancher/rancher/issues/2777, in which we will properly drain connections from LB before stopping container

Will close this out as its slated to be fixed soon.


Log warning in 2024.3.0

Description
Logger: homeassistant.components.light
Quelle: components/light/init.py:1269
Integration: Licht (Dokumentation, Probleme)
Erstmals aufgetreten: 06:43:26 (1 Vorkommnisse)
Zuletzt protokolliert: 06:43:26
None (<class 'custom_components.tapo_control.light.TapoWhitelight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues
Reproduction Steps
.
Expected behavior
No warning in log
If applicable, add error logs.
No response
Device Firmware
.
Integration Version
Newest
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker
Search for similar issues
Yes
Additional information
No response

has nothing todo with the deprecation warning

@mbuiot5 please create new issue about the message. It will not cause any issues with cameras today.

Fixed in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.4.19.


As a Designer, I'd like to be able to quickly get the Lexicon font families

Is your feature request related to a problem? Please describe.
I don't have some of the fonts on the typography page installed — yes I could google them, but I am lazy.
Describe the solution you'd like
I'd like to be able to click the typeface names in the grid and either download them directly, or go to a site to get them.
Describe alternatives you've considered
Could also have a zip file with all the fonts, but this could be more work to maintain.

Some
https://developer.apple.com/fonts/
https://design.ubuntu.com/font/
https://docs.microsoft.com/en-us/typography/font-list/segoe-ui


User disconnection handler

How to handle when streaming client or viewer disconnects from server?
I watched http_flv_and_rtmp_server example

Did you find that how to handle it ?


fix: accept current navigation first before changing URL

Issue:
Current route is not correct when location is changed.
Demo:
router v4：
https://codesandbox.io/s/vue-router-playground-forked-fsghsu?file=/src/main.js
router v3, which the current route is correct:
https://codesandbox.io/s/vue-router-playground-forked-yi729z?file=/src/main.js

What is the actual use case behind monkey patching? Application code should use router.afterEach()

Codecov Report

Merging #1543 (0602ab1) into main (a73edd1) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1543      +/-   ##
==========================================
+ Coverage   90.76%   90.81%   +0.04%
==========================================
  Files          24       24
  Lines        1105     1111       +6
  Branches      341      344       +3
==========================================
+ Hits         1003     1009       +6
  Misses         63       63
  Partials       39       39

Impacted Files
Coverage Δ

packages/router/src/matcher/index.ts
98.74% <100.00%> (+0.04%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Yes: router.afterEach() is the place where reading the current location is ensured to be correct ✅

Thanks. I think there is no need to merge the change. I'll close it.


Operator take does not unsubscribe from its source when it reaches the limit with sync source

RxJS version:
master branch.
Code to reproduce:
Observable.create(observer => {
      expect(observer.isUnsubscribed).toBe(false);
      observer.next(42);
      expect(observer.isUnsubscribed).toBe(true); // fails here
    }).take(1).subscribe();

Expected behavior:
Test should have passed.
Actual behavior:
Test has failed.

Closed via https://github.com/ReactiveX/rxjs/pull/1544.


Implement Retry

Is your feature request related to a problem? Please describe.
The objective is to implement the Retry described here

Started working on thi


Colors updated

Fixes: #52
#Changes
The colors have been changed
The text size is increased on mouse hover
#Screenshots attached

This branch has conflicts that must be resolved
Use the web editor or the  to resolve conflicts.
Conflicting files
assets/index.js

Can you please check again and share the conflicts if possible, I resolved the conflicts while making the PR and I cannot find any more conflicts now.


Add documentation (in readme) about how to launch and use the tool

Add documentation (in readme) about how to launch and use the tool

Documentation added!


feat(congregation): add pocket-remove-user route

:tada: This PR is included in version 2.16.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Updated readme with possible existing libraries

Description

Resolves #3

Resolves part of issue discussed. Likely to add more onto this PR.

Note another PR in local_pathfinding:
https://github.com/UBCSailbot/local_pathfinding/pull/22


Agent runs track parent agent runs and SB3 agent ported to use it

This pull request fixes #361 and #359.
Summary of key changes:

Adds AgentRun.model_input_run to track model training lineage.
Renames AgentRun.parent_run to AgentRun.outer_run
Ports SB3AgentRuns to track model_input_run lineage
Improves the layout of the WebRegistry Django app homepage
Alphabetizes order of requirements in dev-requirements.txt

@nickjalbert I think this is ready for a review!


Add arithmetic operations to Iterator class

[ ] overload the += operator to support basic arithmetic operations

For ex.
LinkedList<int> list {1, 2, 3, 4};
LinkedLIst<int>::iterator it = list.begin();

it += 2;

assert(*it == 3);

This assertion should pass as the iterator would be pointing to the third element.
-= operator can't be supported in the forward linked lists project but should be supported in future projects

Implemented in PR #33


Implement challenge detail page design

FIxes #117: Implement the wireframe design on challenge page from Figma wireframe:

[x] Add layout: header (banner + title + dates ...) + content (overview + organizers + organizations)
[x] Implement styles based on the wireframe design
[x] Add material progress bar
[x] Add favorite button
[x] Add media styles

@rrchai Try *ngIf="challenge$ | async". Observables like challenge$ need the async pipe when used in the HTML document.

@vpchung Once you have your new design, we could start a new PR and modify based on this draft.

This is awesome!!  Nicely done, @rrchai !
Upon seeing the wireframe "in action", there are a couple things I'd like to see different, including:

more padding under the timeline progress bar
something to make the challenge status more obvious
moving the tags to a different location?
grid display for the list of organizers
etc.

I'll start designing later today!


Two way audio

Hi @AlexxIT
Just a question, but is there a possibility to have two way audio enabled?
Thnx in advance

Yes, latest android app (beta) supports now microphone and speaker

Technically this *may" be feasible, but it would likely depend on the method of backend audio. Either ONVIF 2-way would be assumed, or something like SIP would have to be used. Currently Home assistant is not aware of the audio sink, so it would have to be configured entirely in the component.

Mine cameras are based on ISAPI, to start twoway audio, i need to send 2 commands (no onvif)
Synology is also using the same method for my hikvision door camera
would be a great feature, so we can chat with the HA app :-)

WebRTC is also limited in supported codecs, which is why audio on some cameras doesn't work. This won't be an easy change to get it to work on devices that support 2way audio.

Is it worth a try? Would be great!!
Mine audio codec is ulaw, it's the default audio protocol, most common used... One way audio already works now with current card...
But I have no idea how to enable the mic :-) and to send the ISAPi command from the card to active it on the stream...

I have a trace how Synology is doing it, they just send 2 command to active the two-way audio

RTSP is spec for camera stream translation. There is no spec for two way audio. Every company use their own tech. Usual it's some kind of P2P.

yeah, mine does work with sending 2 commands, do you think its easy to integrate?

RTSP is spec for camera stream translation. There is no spec for two way audio. Each company use their own tech. Usual it's some kind of P2P.

You did named It "WebRTC" not "RTSPtoWebRTC". Anyway, you have the proper skills, why not make a whole new thing that would include a UV4L server with the webrtc extension and somehow implement everything in home assistant and support the two way audio. Maybe combined with the browser mod or something. I'm probably talking nonsense here ... but I too, like A LOT of people out there, look for something that would enable two way audio communication

@danielducu I don't think you understand the difficulty here.

vendors all do this differently, and it's not documented, so everything has to be reverse engineered.

webRTC only uses a few different audio codecs, so they'd almost certainly have to transcode things on the server.

If we rely on standards-based cameras, it could work though.
ONVIF Profile T: Chapter 8.12 Audio Output streaming: https://www.onvif.org/wp-content/uploads/2018/09/ONVIF_Profile_T_Specification_v1-0.pdf
More practical details: https://www.happytimesoft.com/knowledge/audio-back-channel.html
So basically a third stream towards the camera (besides video and audio from camera) is negotiated in the SDP of the server.
The audio out stream then just flows in the opposite direction of the other two RTP streams (sendonly vs. recvonly).
Video doorbell cameras mostly rely on two-way audio negotiated via SIP.
It did a PoC implemenation for Homebridge here: https://github.com/Sunoo/homebridge-camera-ffmpeg/pull/1253
Ok, this is not related to WebRTC directly.
Solutions for propriertary vendor solutions could be doable. Example neolink for Reolink cameras: https://github.com/thirtythreeforty/neolink/issues/268
Concerning ISAPI I only found this: https://www.hikvision.com/content/dam/hikvision/vn/webinar/Thang3_Hikvision_Tich_Hop_He_Thong_Overview-of-3rd-Party-Integration.pdf

I have the Hikvision, and also all ISAPI documentations, so if i can help
i also know the ISAPI urls that should be used to activcate twoway audio

The Amcrest AD410 Doorbell supports ONVIF Profile T for 2-way audio.
The Dahua integration for Home Assistant hasn't been able to get it working yet but the dream would be WebRTC with 2 way audio, could finally get rid of the garbage Amcrest app

Do you know software for any OS, that can use ONVIF Profile T for 2 way audio connection?

@AlexxIT
tinyCam on Android can do 2 way audio with these settings:

I found this out via Reddit: https://www.reddit.com/r/BlueIris/comments/lpkt8z/achieved_local_doorbell_with_2_way_audio/

Seems like support backchannel in RTSP is not a big problem. Now I need to find some chip camera with this function in a local store.

I'm wrote little app for test camera answer about backchannel. Can you test it?
https://github.com/AlexxIT/rtsplog

That's a test for onvif? I have some foscam C1 cameras that have two way audio, maybe I can test too

That test for any RTSP camera. I'm already tested Sonoff camera and one Hikvision doorbell without success about backchannel in answer.

Indeed ,I have hikvision too, for hikvision you need to send an ISAPI command to activate two way audio, I have the commands , also a wireshark trace from my Synology surveillance centre, where two-way audio is supported

As I can see in this document - application just need to send right header with RTSP request. Can you see it in trace?

No , Synology uses ISAPI on hikvision doorbell cameras , not rtsp , also onvif not supported, it's not the correct profile...
I also have foscam cameras, I can test later your tool

I'm wrote little app for test camera answer about backchannel. Can you test it?
https://github.com/AlexxIT/rtsplog

Will try tomorrow when I have access to the AD410 camera

Hey @AlexxIT , these 2  commands are fired with digest auth, thats what happens when i press the MIC button on the synology software....

I'm wrote little app for test camera answer about backchannel. Can you test it? https://github.com/AlexxIT/rtsplog

I can test in the next day or two, how do I execute the rtsplog_amd64 file on Debian?

@pergolafabio For now I don't have time for support some proprietary technology.
RTSP backchannel looks like nice standard. Which are not hard to support. But I can't find any cameras that support it yet.

@pergolafabio For now I don't have time for support some proprietary technology.
RTSP backchannel looks like nice standard. Which are not hard to support. But I can't find any cameras that support it yet.

Ok, np...
And what about onvif?

As I can understand, ONVIF just helps application to get right RTSP link. Plus some PTZ commands. I could be wrong.

ah, i dont know, thats the first time i hear about it
i always tought onvif T was needed =>  https://www.onvif.org/profiles/profile-t/
my hikvision supports twoway audio (isapi); but the profile is a S variant => no audio
my foscam do support T profile, also works in the Tinycam App, i can press MIC button there

@pergolafabio you can try wireshark TiniCam app with FosCam

I can also just wireshark the webportal of the foscam camera, I think there is also a button to activate mic

nm, when enabling mic, its all TCP traffic, dont see any command, probably an sdk is used
not sure if we can see it in tinycam, not sure how i can wireshark an app on android

Just ran the command on the Amcrest AD410, not sure why the 401 Unauthorized shows on the first attempt.
Let me know if you need anything else tested
2022/07/25 22:11:26 RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Digest realm="Login to Z176C9CDA7116", nonce="4f97400b29d8784ca6c4946f0e10c97c"

2022/07/25 22:11:26 RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, TEARDOWN, SET_PARAMETER, GET_PARAMETER
Server: Rtsp Server/3.0

2022/07/25 22:11:26 RTSP/1.0 200 OK
CSeq: 3
Cache-Control: must-revalidate
Content-Base: rtsp://<IP_ADDRESS>:554/cam/realmonitor?channel=1&subtype=0/
Content-Length: 671
Content-Type: application/sdp
X-Accept-Dynamic-Rate: 1

v=0
o=-<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
s=Media Server
c=IN IP4 <IP_ADDRESS>
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:15.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=420032;sprop-parameter-sets=Z0IAMukAUAHjQgAAB9IAAOqcCAA=,aMqPIAA=
a=recvonly
m=audio 0 RTP/AVP 97
a=control:trackID=1
a=rtpmap:97 MPEG4-GENERIC/8000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1588
a=recvonly
m=audio 0 RTP/AVP 8
a=control:trackID=5
a=rtpmap:8 PCMA/8000
a=sendonly
2022/07/25 22:11:26 available tracks: [0xc0000506c0 0xc000024780 0xc000045350]

below log from a foscam C1:
2022/07/25 14:35:49 RTSP/1.0 200 OK
CSeq: 1
Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, SET_PARAMETER, GET_PARAMETER
Server: Hisilicon Streaming Media Server/1.0.0(Jan  6 2016)

2022/07/25 14:35:49 RTSP/1.0 401 Unauthorized
CSeq: 2
Server: Hisilicon Streaming Media Server/1.0.0(Jan  6 2016)
WWW-Authenticate: Basic realm="Hisilicon"

2022/07/25 14:35:50 RTSP/1.0 200 OK
CSeq: 3
Content-Base: rtsp://<IP_ADDRESS>:93/videoSub/
Content-Length: 447
Content-Type: application/sdp
Date: Mon, 25 Jul 2022 12:36:34 UTC
Server: Hisilicon Streaming Media Server/1.0.0(Jan  6 2016)

v=0
o=StreamingServer<PHONE_NUMBER><PHONE_NUMBER>000 IN IP4 <IP_ADDRESS>
s=videoSub
c=IN IP4 <IP_ADDRESS>
t=0 0
a=control:*
a=range:npt=0-
m=video 0 RTP/AVP 96
a=framerate:10
a=transform:1,0,0;0,1,0;0,0,1
a=control:trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=420029; sprop-parameter-sets=Z00AFJWoUH6bgICAgQ==,aO48gA==
a=x-dimensions:320,240
m=audio 0 RTP/AVP 0
a=control:trackID=1
a=rtpmap:0 PCMU/8000/1
2022/07/25 14:35:50 available tracks: [0xc00004e6c0 0xc000043300]

and below from an hikvision door intercom:
2022/07/25 14:37:46 RTSP/1.0 200 OK
CSeq: 1
Date: Mon, Jul 25 2022 14:38:32 GMT
Public: OPTIONS, DESCRIBE, PLAY, PAUSE, SETUP, TEARDOWN

2022/07/25 14:37:46 RTSP/1.0 401 Unauthorized
CSeq: 2
Date: Mon, Jul 25 2022 14:38:32 GMT
WWW-Authenticate: Digest realm="Hikvision", nonce="1ccf656a372ff25b934859c138e10feb", random="rz446BSCe+hjGlW6wqMWFoE+26ljy0F/KruoGMoHaaRSk5eEPm914EzSZF+/Fybx", stale="FALSE"
WWW-Authenticate: Basic realm="Hikvision"

2022/07/25 14:37:47 RTSP/1.0 200 OK
CSeq: 3
Content-Base: rtsp://<IP_ADDRESS>:554/Streaming/Channels/102/
Content-Length: 585
Content-Type: application/sdp

v=0
o=-<PHONE_NUMBER>020392<PHONE_NUMBER>020392 IN IP4 <IP_ADDRESS>
s=Media Presentation
e=NONE
b=AS:5100
t=0 0
a=control:rtsp://<IP_ADDRESS>:554/Streaming/Channels/102/
m=video 0 RTP/AVP 96
b=AS:5000
a=control:rtsp://<IP_ADDRESS>:554/Streaming/Channels/102/trackID=1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets=
m=audio 0 RTP/AVP 0
b=AS:50
a=control:rtsp://<IP_ADDRESS>:554/Streaming/Channels/102/trackID=2
a=rtpmap:0 PCMU/8000
a=Media_header:MEDIAINFO=494D4B48010100000400010010710110401F0000000;
a=appversion:1.0
2022/07/25 14:37:47 available tracks: [0xc00004e660 0xc000043360]

@mattkerrison Nice. Your doorbell really support RTSP backchannel! Still looking for a camera that supports this technology in local stores.

how do you see that ?

a=recvonly - two tracks from camera to user
a=sendonly - track from user to camera

ah ok
nice addition then
you are not going to work with onvif now?

No any plans with onvif. Support RTSP backchannel not depends on onvif.

@AlexxIT assuming you're after a camera that supports RTSP backchannel locally to test this functionality with? is there anything I can do or test to get this going? I know a number of people would be really interested in seeing 2 way audio finally supported on the AD410

@mattkerrison we need to find more cameras from another brands that support this tech. So I can get some of them locally. There is no Amcrest in my country. And international mail and money transfers are almost non-operational as well.

@pergolafabio are you sure your Foscam support ONVIF Profile T?
Looks like all ONVIF Profile T should support RTSP backchannel.
I found several Hikvision and Dahua models with support Profile T.
Dahua IPC-K42 and IPC-K22 looks interesting
https://www.dahuasecurity.com/products/All-Products/Discontinued-Products/Network-Cameras/Wireless-Series/IPC-K42A
But I would like someone to check them before buying...
https://github.com/AlexxIT/rtsplog

Yes, hikvision should support it, by not my doorbell...
My other cameras are mostly C1 models, I check again later

any idea how to get the profile from a camera? I tried onvif device manager, but dont see it there

No. I don't have any camera that support ONVIF. Hope Dahua IPC-K42/22 will be first. But I can't order it without backchannel confirmation.

Going to try again later, I changed my rtsp port , going to change back to 554

Well. Good news. I just bought Dahua IPC-K42 (wi-fi version). And it has RTSP backchannel.
I'll try to add support in the next big update. I can't promise it will be soon.

Nice to hear, maybe my foscams will work too :-)

@mattkerrison you can check 2-way audio support:
https://community.home-assistant.io/t/realtime-camera-streaming-without-any-delay-webrtc/258216/420?u=alexxit

Nice, gonna check foscam too

was testing this go2rtc, when i open web interface , i can access the cameras and view then in the addon web-ui
i added some rtsp links , works fine, all local , on http
https is for only avaible from outside, using nginx , i also added for test port forward 8554 and 1984 , but then i dont see the stream ... will this not work with nginx?

Oh. You shouldn't forward RTSP port outside.
Also you shouldn't forward API port, because this is insecure. Anyone can see your streams without auth...
Read docs carefully.

yeah, it was just for testing, already closed
the problem is that i cant access my HA instance on https locally , only external
local i can only access http

This is your setup problem. I have HTTPS inside and outside. This is fixed by Hairpin NAT or local DNS on router...

ok, will have a look next time
propoably my foscams were not supported anyway,  i already posted those logs before in this issue thread

Also microphone will work on localhost. For test you can run go2rtc on your PC/laptop.

seems defender is blocking the  binary :-)

Trojan:Win32/Trickbot!ml :-)

ok, with binary it works, tested some rtsp , but no "mic" buton is present, so probably out of luck
or should i see the mic button?

False virus detection because packer:
https://github.com/upx/upx/issues/337
https://github.com/upx/upx/issues/437
There is no warnings for unpacked version. But it is 15MB+.
And stop generate so many separate messages.

Is there any update on this? Cause i really like to see this feature 😀.

I think this can finally become a thing now that the integration leverages go2rtc. :)

I think this can finally become a thing now that the integration leverages go2rtc. :)

Not much, you can only do it with Onvif profile T cameras so not much people will benefit

It is important that go2rtc has a core to support 2 way audio.
I will try to add support to the HomeKit cameras. There are a lot of those cameras. And many of them have 2 way audio. And the protocol is quite clear. Only the audio codec there is very bad. Thank to Apple.

It is important that go2rtc has a core to support 2 way audio.
I will try to add support to the HomeKit cameras. There are a lot of those cameras. And many of them have 2 way audio. And the protocol is quite clear. Only the audio codec there is very bad. Thank to Apple.

Thanks a lot for your work man! don't get me wrong.. I'm a happy go2rtc user hehe ... this has come a long way so please, keep up the good work hehe !

It is important that go2rtc has a core to support 2 way audio.
I will try to add support to the HomeKit cameras. There are a lot of those cameras. And many of them have 2 way audio. And the protocol is quite clear. Only the audio codec there is very bad. Thank to Apple.

You're awesome! :)

Hi there!
Maybe you find my new project useful: https://github.com/nanosonde/sip2rtsp
It is docker container that uses baresip, pulseaudio and gstreamer RTSP server to provide a solution that connects to a SIP peer (audio only) and a video camera to present an ONVIF profile T video doorbell with two-way audio support.
There is also a block diagram which shows how the components interact.

https://github.com/AlexxIT/go2rtc/commit/5846cbd9899383a07ff30b902e90bb0a3a9b566c
thnx!!

Is two way audio possible with eufy pan tilt 2k?


Markdown links are displayed as HTML in editor

Describe the bug
If you open a Markdown file in the editor and a link in Markdown format is included, this link is converted to a HTML link.
To Reproduce

Save a textfile as test.md
insert a link like [MetaGer](https://metager.de/)
open this file editor
it is displayed as MetaGer

Expected behavior
the link should be displayed as markdown [MetaGer](https://metager.de/)
** Version information **

OS: Windows
Browser: Firefox 85, Chromium 88
EasyMDE version: 2.13.0

My fault, it seems, i convert the link somewhere in my backend. Sorry for confusing.


When clicked on notification header it will navigate to a 404

Issues

When there are notifications and if click on a notification heading e.g - Device Type, it will proceed to a 404 page.
What does the heading "Device Type" mean under notifications?

Labels - Bug, 3.1.0-M7, High


Support setting default hover editor size

Is it possible to support setting a default size for the hover editor? For instance, there can be an option to set a size in the configuration pane, with something like x*y for the default pop-up size. This can be very useful for longer notes.

You can use CSS, like this:
div.popover.hover-popover {
    width: 500px;
    min-height: 800px;
}

The above will also work with the core page preview plugin.

I've added a setting for this in the latest release https://github.com/nothingislost/obsidian-hover-editor/releases/tag/0.5.0

Thanks for the quick support! The setting works like a charm.


Remove the dependency on defusedxml

This removes the dependency on defusedxml by adopting the following classes into xmlparser.py:

DTDForbidden
EntitiesForbidden
NotSupportedError

Resolves #233

When you get a chance, can you do a PyPI release with this fix? Thanks!


update or add new entries to Glossary

I am not able to find any way to update a current glossary with new entry values.
entries = translator.get_glossary_entries(glossary_id)
entries["additional"] = "new or updated entry"
I am looking for something similar like this
translator.set_glossary_entries(my_glossary, entries)
or is the only way to update entries in a glossary to fetch the entries, add new values, delete the current glossary and add it again?
I think your library is great! Keep up the good work!

You listed the correct steps. We do not support updating glossaries, and currently we have no plans to do so.


Update images and copy on home page hero

https://www.figma.com/file/buzGz2v44DfkUQf112KlcO/Landing-Page-Complete-Design?node-id=1430%3A2974
Only using 3 screens rather than 4. Images in each screen have been updated

Images look good but the copy still needs updating to what you see in the designs @bconfortin

@bconfortin the copy still doesn't look updated. Has it been pushed yet?

Just updated it.

looks good


[VM] Deprecate API to save/load executable to file

Executable save_to_file and load_exec_from_file API was used to save/load just the executable to/from file. This was confusing as it did not export the TensorIR kernels in the Relax Module, thus leading to bugs such as https://github.com/tlc-pack/relax/issues/175. Moreover, the API was only used in some tests, and not useful for end
user.
Deprecating this API to have a single uniform way of serializing/deserializing TVM IRModule using export_library and tvm.runtime.load_module API.

cc @YuchenJin @yongwww

it was landed! Thanks @psrivas2 for the effort, thanks @YuchenJin  for the review.


Test JSData

JSData looks like a promising way to make it easy for us to parse JSON API responses, keeping relations intact, work with partial responses, and have caching.
We need to test if it works well with Universal and ngrx before we can commit on using it.

I've done some tests and I have to conclude that JSData isn't a great match for this project.
JSData started life as ember-data for angular, and was later turned into something framework-agnostic.
However they also removed one of the most important features (for this project) ember-data had: JSON API support out of the box. By default JSData can't parse JSON API responses. There are a few adapters out there, but none of them are finished, and none of them have a big community to ensure longevity.
JSData only just started adding TypeScript support, in version 3, which is in beta at the moment. The main libraries work pretty well, but the third party adapters for v3 are usually a few versions behind.
My recommendation has to be to not use JSData in DSpace.
I've looked in to other libraries to do JSON API (de)serializing, as that is something we'll want to avoid writing from scratch, because it isn't trivial to turn a JSON API response in to a usable (set of) model(s), due to the way attributes and relationships are structured. But because JSON API is a standard, there are existing libraries that can parse it for us.
I've looked at/tried orbit.js, jsonapi-datastore, redux-json-api, ngrx-json-api, and yayson.
Of those, yayson came out as the most suitable. It has the most complete implementation of the spec and doesn't try to do anything else, just (de)serialization , and works both on the server and in the browser, with and without AoT compilation.


fix(cookie): remove domain hash prefix

In https://github.com/rneatherway/gh-slack/issues/71 it was discussed and discovered that some versions of Slack now include a SHA256 of the host name as a prefix of the cookie.
This makes the cookie value invalid as-is, and the cookie value needs to be trimmed from the hash before being used.
Using -tag network I was able to run the test locally and confirmed that this now works.
Fix https://github.com/rneatherway/gh-slack/issues/71
cc https://github.com/nobe4/gh-slack/pull/1
cc https://github.com/rneatherway/slack/pull/5

Nice! Thanks 😁


Mypy integration for type inference and combined 2+3 codebase

This looks fantastic.
@JukkaL on the mypy team is looking at a static compile capability using mypy here :  https://github.com/python/mypy/issues/1862
Referencing pyir ideas  here: https://docs.google.com/document/d/1jGksgI96LdYQODa9Fca7EttFEGQfNODphVmbCX0DD1k/edit
Perhaps these efforts could be combined so that a standard mypy/python typed IR can be emmited that  grumpy can consume?
This would have the following advantages:

Integration with type hints for large codebases
improved type inference for fast code
Potentially making 2+3 support easier
development synergy with dropbox (and maybe other players below)

I might be dreaming but perhaps Pyjion (@brettcannon et al) and Numba (@Seibert, @pzwang et al)  can get in on this as well. I think it would be mutually beneficial for python and it's users.

 Comment by datnamer
Wednesday Jan 11, 2017 at 15:29 GMT

For py3 the new variable annotation and frame eval api might help here.


Defined and used constants for API versions of new HMC versions

No review needed.

Coverage increased (+0.1%) to 32.914% when pulling 0a135c8e307918bf958f126621c82a92ff233149 on andy/api-versions into 585364325f114a9a2d14c65d775c006b3bd55920 on master.


Address kernel CVEs CVE-2022-3028, CVE-2022-3077, CVE-2022-3202, CVE-2022-39188, CVE-2022-39189, CVE-2022-39190

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Introduce new utility script toolkit/scripts/grab-kernel-nopatches.sh.
Simply call ./scripts/grab-kernel-nopatches.sh -b  -l "" to quickly download and place nopatches from the auto-cve-checker pipeline.
nopatch cves fixed for kernel v5.15.67
Change Log

toolkit/scripts/grab-kernel-nopatches.sh
nopatch cves fixed for kernel v5.15.67

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2022-3028
https://nvd.nist.gov/vuln/detail/CVE-2022-3077
https://nvd.nist.gov/vuln/detail/CVE-2022-3202
https://nvd.nist.gov/vuln/detail/CVE-2022-39188
https://nvd.nist.gov/vuln/detail/CVE-2022-39189
https://nvd.nist.gov/vuln/detail/CVE-2022-39190

https://github.com/microsoft/CBL-Mariner/pull/3732


Fix #118 incorrect reference to Consul

Description

Fix error message incorrect reference to Consul, logged in #118
Documentation

Only text change to error message.
TODOs
Please ensure all of these TODOs are completed before asking for a review.

[ ] Ensure the branch is named correctly with the issue number. e.g: feature/new-vpc-endpoints-955 or bug/missing-count-param-434.
[X] Update the docs.
[X] Keep the changes backward compatible where possible.
[X] Run the pre-commit checks successfully.
[X] Run the relevant tests successfully.
[X] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.

Related Issues

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.


Lines of code does not work (1.7.0-beta1)

Graph with lines of code is not generated.

I might be wrong, but I think you need the php_loc plugin in your .phpci.yml

Hi,
thank you very much. You were right.

@dancryer Shouldn't the LOC graph be hidden of the php_loc plugin isn't used?

I agree with @REBELinBLUE :) :+1:

Agree. There should not be the graph if php_loc is not used. So I reopen the issue.


Swift 3.1 support

Just 4 warnings regarding M_PI => Double.pi and M_PI_2 => Double.pie / 2 ... Any plans for a fix release? :-)

Hi, feel free to open a pull request :)

Tried to, but got an "Authentication Failed" "You may not have permission to access DrawerController. Check Preferences to make sure you’re still logged in." using GitHub Desktop on Mac OS... I am logged in using pasic auth...

You need to fork this repository, make your changes in your fork and submit a pull request from there. Take a look here: https://guides.github.com/activities/contributing-to-open-source/ (starting at the Pull Request section. Thanks again!

Finally ;-)


Fix playground not building on Docker

Playground should build under prepublishOnly
Docker build only after prepublishOnly

Self-approving non-production code change.


Welcome Page

Updating the Welcome Page to be more appealing to the eyes, meaning a smaller Start button or a complete redesign, will be discussed later on in the development process

Can someone post some design ideas ?

onto where? Which bit? Waffle?

From: Dominic Egginton<EMAIL_ADDRESS>Sent: 15 July 2017 23:47:20
To: dominicegginton/hue
Cc: Smifeh; Assign
Subject: Re: [dominicegginton/hue] Welcome Page (#9)
Can someone post some design ideas ?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/dominicegginton/hue/issues/9#issuecomment-315568335, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbJDVEhwtDZHoaGTjZFZyxt2Jnm1MvSuks5sOUF4gaJpZM4OYLe3.

@Smifeh  on github


Adding a complete test configuration and procedure for RoboCup initia…

This PR presents a detailed manual test scenario that is expected to cover issues #1, #2, #3 and #4.

After verification and updates, this test scenario also covers the newly opened issues: #31 and #34 (the second one being an advanced one).
The test is currently not passing but highlighted a few bugs:

GameController was not penalizing the right robot: https://github.com/RoboCup-Humanoid-TC/GameController/issues/123
The waiting time is impacted by real_time_factor while it should not: https://github.com/RoboCup-Humanoid-TC/webots/issues/1#issuecomment-817194034
Problem with symmetry when placing robots: #35


Feature/Custom rels documentation

Enable the customization of the marked package

Add possibility to disable the default template for reals documentation

Hi! Sorry for the delay - I have been hammered at work. About to take a look


The IOS camera freezes, on Android it works fine

Hello, I have modified the code to scan QR codes one after the other without having to click on Scan QR. On Android it works perfectly for me but on IOS the camera freezes. Could you help me?
The code is the following:
fun QrScannerCompose() {
var qrCodeURL by remember { mutableStateOf("") }
var startBarCodeScan by remember { mutableStateOf(false) }
var flashlightOn by remember { mutableStateOf(false) }
var launchGallery by remember { mutableStateOf(value = false) }
val snackBarHostState = LocalSnackBarHostState.current
val coroutineScope = rememberCoroutineScope()

Box(modifier = Modifier.fillMaxSize().statusBarsPadding()) {
    Column(
        modifier = Modifier
            .background(color = Color.White)
            .windowInsetsPadding(WindowInsets.safeDrawing)
            .fillMaxSize(),
        verticalArrangement = Arrangement.Center,
        horizontalAlignment = Alignment.CenterHorizontally
    ) {
            Column(
                modifier = Modifier
                    .background(color = Color.Black)
                    .fillMaxSize(),
                verticalArrangement = Arrangement.Center,
                horizontalAlignment = Alignment.CenterHorizontally
            ) {
                Box(
                    modifier = Modifier
                        .size(250.dp)
                        .clip(shape = RoundedCornerShape(size = 14.dp))
                        .clipToBounds()
                        .border(2.dp, Color.Gray, RoundedCornerShape(size = 14.dp)),
                    contentAlignment = Alignment.Center
                ) {
                    QrScanner(
                        modifier = Modifier
                            .clipToBounds()
                            .clip(shape = RoundedCornerShape(size = 14.dp)),
                        flashlightOn = flashlightOn,
                        launchGallery = launchGallery,
                        onCompletion = {
                            qrCodeURL = it
                            startBarCodeScan = false
                        },
                        onGalleryCallBackHandler = {
                            launchGallery = it
                        },
                        onFailure = {
                            coroutineScope.launch {
                                if (it.isEmpty()) {
                                    snackBarHostState.showSnackbar("Invalid qr code")
                                } else {
                                    snackBarHostState.showSnackbar(it)
                                }
                            }
                        }
                    )
                }

                Box(
                    modifier = Modifier
                        .padding(start = 20.dp, end = 20.dp, top = 30.dp)
                        .background(
                            color = Color(0xFFF9F9F9),
                            shape = RoundedCornerShape(25.dp)
                        )
                        .height(35.dp),
                    contentAlignment = Alignment.Center
                ) {
                    Row(
                        modifier = Modifier
                            .padding(vertical = 5.dp, horizontal = 18.dp),
                        verticalAlignment = Alignment.CenterVertically,
                        horizontalArrangement = Arrangement.spacedBy(11.dp)
                    ) {
                        Icon(imageVector = if (flashlightOn) Icons.Filled.FlashOn else Icons.Filled.FlashOff,
                            "flash",
                            modifier = Modifier
                                .size(24.dp)
                                .clickable {
                                    flashlightOn = !flashlightOn
                                })

                        VerticalDivider(
                            modifier = Modifier,
                            thickness = 1.dp,
                            color = Color(0xFFD8D8D8)
                        )

                        Image(
                            painter = painterResource(Res.drawable.ic_gallery_icon),
                            contentDescription = "gallery",
                            contentScale = ContentScale.Fit,
                            modifier = Modifier
                                .size(24.dp)
                                .clickable {
                                    launchGallery = true
                                }
                        )
                    }
                }
                Spacer(modifier = Modifier.height(8.dp))

                Box(
                    modifier = Modifier
                        .padding(bottom = 8.dp)
                ) {
                    Text(
                        text = "El código es: $qrCodeURL",
                        color = Color.White,
                        fontSize = 16.sp,
                        modifier = Modifier.padding(bottom = 16.dp)
                    )
                }
            }
    }
}

}
I attach the video where you can see that on Android it works perfectly, and on IOS it freezes after scanning the first QR code.
https://github.com/ChainTechNetwork/QRKitComposeMultiplatform/assets/34895469/3a775bb2-ae70-471e-b726-8a69d091b237

Thanks For reporting! Let us check and get back to you

We had worked on fix and will publish this this week!

@MiguelAngelBadi @jishinhv Please check in new version and let us know!

Fixed in v 1.0.8

@MiguelAngelBadi @jishinhv Please check in new version and let us know!

It works perfectly, thank you very much :)


Problematic pdf

http://www.erowid.org/archive/rhodium/chemistry/3base/piperonal.pepper/piperine.pepper/465e03piperine.pdf
The text seems to squash together and appears very different to it opened in evince.

The issue is fixed in the current version of the pdf.js. There is overlapping characters in the "must" word in the first paragraph third line. Not sure what it is at the moment, might be inaccurate in float point calculations.


Deleting & creating physx-bodies directly from collision event callbacks appears to be unsafe.

Seen when moving Above-Paradowski mini-golf to A-Frame 1.4.1.
  On the contactbegin event, it deleted the old ball & created a new ball.
This led to some very problematic physics on the new ball, which was subjected to random additional forces.  Repeating the cycle (i.e. when this 2nd ball went out of bounds) made the problem even worse with each iteration.
By deferring the delete / re-create logic until after we were outside the event handler (using setTimeout(.... , 0)) the problem went away.
We don't fuly understand what happened, but the working hypothesis is that:

Changes in A-Frame 1.4 to use custom elements has made some aspect of deletion or creation processing synchronous, that was previously asynchronous.
Some operation that is now occurring synchronously within the event handler (likely either the deletion or creation of a physics body) causes the physics engine to get into a bad state, resulting in the random forces.

If there need to be some restrictions on what updates can be made to the physics system during collision event callbacks, that's probably OK as a restriction of the physics engine, as long as we can clearly document what those restrictions are.
Goal for this issue is to come up with a simple repro scenario for the problem, establish what these unsafe operations are, and document the necessary restrictions.
Alternatively, there may be some explcitly documented restrictions on the PhysX API, in which case we just need to explain what those imply for use the A-Frame / JS APIs that we expose.

This is clearly covered in the docs here
SDK state changes are not permitted from an event callback
In full...

The simplest type of simulation callbacks are the events. Using callbacks the application can simply listen for events and react as required, provided the callbacks obey the rule that SDK state changes are forbidden. This restriction may be a bit surprising given that the SDK permits writes to an inactive back-buffer while the simulation is running. Event callbacks, however, are not called from within the simulation thread, but rather from inside fetchResults(). The key point here is that fetchResults() processes the buffered writes, meaning that writing to the SDK from an event callback can be a particularly fragile affair. To avoid this fragility it is necessary to impose the rule that SDK state changes are not permitted from an event callback.

Merged documentation PR to cover this:
https://github.com/c-frame/physx/pull/16
I guess it would be great if the physx components took care of this restriction by delaying calls to the SDK until it's safe, rather than users having to add a delay themselves...
Can consider that as a future QoL improvement.


Fix relative mouse mode sometimes not activating when cursor enters window

Closes #4341 (or at least works around the described problem)
With this PR, the weirdness around the cursor entering the window isn't fixed, But at least RelativeMouseMode will be correctly set on the next FeedbackMousePositionChange.

What is the "weirdness" you mention?

Made changes as discussed in https://github.com/ppy/osu-framework/issues/4341. Ready for review.
Sorry for the spam of merge master.

Closing in favour of https://github.com/ppy/osu-framework/pull/4472


[$500] Web - Bank Account - Error is shown when clicking on name field

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.3-6
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation: @
Action Performed:

Go to settings > Workspace > choose a works space(currency should be USD)
Bank account > Connect Manually
Fill in the details of steps 1 and 2 then go to step 3
Click on the first name field. and enter your name. Notice that clicking on the field does not bring an error.
After filling in the First Name click on the Last Name field and notice that an error is shown

Expected Result:
Clicking on a Name field does not cause an error
Actual Result:
Clicking on a name field causes an error
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/47c48c7d-61c1-425c-9c01-c9956a5a2dca

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f83b7fb2dea297a0
Upwork Job ID:<PHONE_NUMBER>154385408
Last Price Increase: 2023-11-26

Proposal
from: @unicorndev-727
Please re-state the problem that we are trying to solve in this issue.
Error is shown when clicking on name field.
What is the root cause of that problem?
The root cause the default value for lastName is empty here.
https://github.com/Expensify/App/blob/db37e46f58aceea23c0136e1bdce6e3ed9d2d90f/src/pages/ReimbursementAccount/ReimbursementAccountPage.js#249
What changes do you think we should make in order to solve the problem?
we need to check this line.
What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue.
Error is shown when clicking on name field
What is the root cause of that problem?
The root cause of the problem is that by default the FormProvider component validates the value in the field when the OnBlur event occurs because the default value for the shouldValidateOnBlur prop is true. This problem also occurs in vice versa and when clicking different fields such as SSN.
What changes do you think we should make in order to solve the problem?
Apply, shouldValidateOnBlur={false}, to any applicable input components in the IdentityForm such as the first name, last name, SSN, etc. Possibly add it to any other inputs in the forms in ReimbursementAccountPage that are applicable.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Error is shown on the first touch of the required fields
What is the root cause of that problem?
'
Within the code snippet found at this link, we validate the input values. This process involves two key functions:

getFieldRequiredErrors: This function examines whether any of the required values in the input are empty. If it detects any empty values, it returns the corresponding errors.

validate function: Triggered by the onBlur event, as specified here, the validate function encompasses the execution of getFieldRequiredErrors. The onBlur event occurs when a user clicks on the first field, then clicks on another field, or shifts focus away from the currently selected field. Consequently, the validate function is invoked, internally calling getFieldRequiredErrors. In the specific scenario described, if the second field remains empty, getFieldRequiredErrors generates errors.

What changes do you think we should make in order to solve the problem?
what we want to do is to prevent the isRequired erros on the first touch of any field:

to do that, we need to disable the isRequired errors for the current touched field, so  we should add a third arg to the getFieldRequiredErrors function, which is the focusField:
and exclude the errors of that field as follows:

function getFieldRequiredErrors(values: OnyxCommon.Errors, requiredFields: string[], focusedField: string) {
    const errors: OnyxCommon.Errors = {};
    requiredFields.forEach((fieldKey) => {
        if (isRequiredFulfilled(values[fieldKey]) || (focusedField && fieldKey === focusedField)) {
            return;
        }
        errors[fieldKey] = 'common.error.fieldRequired';
    });
    return errors;
}

update the validate args to

const validate = (values, focusedField) => {
    const errors = ValidationUtils.getFieldRequiredErrors(values, REQUIRED_FIELDS, focusedField);

finally in the FormProvider, add a new ref var that saves the current touched field:

    const touchedInputId = useRef(null);

also inside the onValidate update the validate call to:
const validateErrors = validate(values, touchedInputId.current) || {};

also set the touchedInputId in the onTouched onPressed onPressIn functions:
touchedInputId.current = inputID;

finally in the onBlur function add an else statement to this condition and set the touchedInputId to null in case the focus is moved if (Visibility.isVisible() && Visibility.hasFocus()) {:
   } else {
                        touchedInputId.current = null;
                    }

POC:
https://github.com/Expensify/App/assets/59809993/00fcdc89-6396-4e51-ab9f-f5f75c1f7b8d

Dupe of https://github.com/Expensify/App/issues/31570

Good callout, @situchan! Let's close this issue in favor of #31570.

@situchan @alitoshmatov  just to confirm is the issue's video is the expected result?


Added option to silence both loggers the context

Pull request for #439.

i was a bit confused by that codcov report myself! thanks for the PR!
fixes #439


[Deliver #99632306] Update tinkerpop test case to Tinkerpop 3.0.0 GA

@mhfrantz This PR fixes a minor bug in the handling of fields that caused some confusion while working on ts-tinkepop. But in the end, I think the bigger milestone is is simply updating the Tinkerpop test case to use the GA release (we had been stuck on M7 for a while).

Hmm, this seems to be not quite right after all. I'm closing this and will resubmit.


Auto mode not being set reliably when turning on

I tried to create a scene specifying that the auto mode switch be turned on, and it seems to not respect that: the "A" on the bottom of the fan doesn't come on.  I believe that if the fan was previously off, the setting of the fan speed to whatever is in the scene (in my test scene 10%) when the fan receives the 10% and auto switch, the auto setting gets turned off.
Is there a way to send API commands so that Auto is "re-applied" if it is on in the HomeKit settings?  Otherwise, there is no way to reliably enable auto.
BTW: I have a mixture of the non-2018 cool+hot fan and the cool tower.  Both have different ways of turning on Auto vs. Manual (I am still not sure why in one case it is a switch and the other it is a "detail") but neither work properly nor consistently.
If after the fact I go turn on auto or turn on off auto only but not change the oscillate setting or speed setting I can change the auto status, but as such, there is no way to turn on a scene involving the fans and have the auto status set reliably...

yup, i understood what you meant but this seemed to be limitation of a scene setting that we could not control the order.
however, as a workaround, i think we can do that that by setting the "Auto" switch to "On" on the scene without setting the fan to "On". in this way, the fan will still be turned on with "Auto" set.


Configure wg-access-server on Rancher 2.5.9

Helllo,
i tryed to deploy the wg-access-server on Rancher with the following yml.
---
persistence:
  enabled: true
ingress:
  enabled: true
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-production"
  hosts: ["URL"]
  tls:
    - hosts: ["URL"]
      secretName: "tls-wg-access-server"
wireguard:
  config:
    privateKey: ""
web:
  config:
    adminUsername: "admin"
    adminPassword: "password"
config:
    allowedIPs:
      - <IP_ADDRESS>/24

The deployment starts successfully and i can access the webpage. But if i try to connect from my Windows10 PC i get the following message:
2021-09-22 17:22:19.877: [TUN] [WireGuard] Sending handshake initiation to peer 1 ([PUBLIC IP OF RANCHER]:51820)
2021-09-22 17:22:24.991: [TUN] [WireGuard] Handshake for peer 1 (PUBLIC IP OF RANCHER]:51820) did not complete after 5 seconds, retrying (try 2)
2021-09-22 17:22:24.991: [TUN] [WireGuard] Sending handshake initiation to peer 1 (PUBLIC IP OF RANCHER]:51820)
2021-09-22 17:22:27.548: [TUN] [WireGuard] Shutting down

At this time, i cannot see any logs in the "wg-access-server-pod".
I set the allowed IP of the internal IP-range of the rancher. All my pods have a ip of 10.42.0.xxx
Can somone tell me how i have to configure the wg-access-server to connect from my pc to the rancher cluster?

If i configure vpn.cidr to <IP_ADDRESS>/24 the container doesnt start. i also added the
config:
    allowedIPs:
      - <IP_ADDRESS>/24
    wireguard:
      externalHost: "https://vpn.URL.de"


How to set file encoding

Description

Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Output of go version:
(paste your output here)

Excelize version or commit ID:
(paste here)

Environment details (OS, Microsoft Excel™ version, physical, etc.):

Thanks for your issue, this library support specified codepage transcoder function via CharsetTranscoder for opening the spreadsheet from non-UTF-8 encoding but doesn't support generating non-UTF encoding spreadsheets.


redirecting optimizing webfonts article

I have been working on migrating: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/webfont-optimization
Issue: https://github.com/GoogleChrome/web.dev/issues/3332
This PR:

deletes the article and related images
deletes the translations
adds a redirect to the new content on web.dev
marks the page as external in the toc

CC: @petele

Whoops!
There were 20 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/ar/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/de/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/en/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/es/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/fr/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/id/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/it/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/ja/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/ko/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/nl/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/pl/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/pt-br/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/ru/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/tr/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/zh-cn/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/zh-tw/fundamentals/performance/optimizing-content-efficiency/webfont-optimization.md - Unable to read file, was it deleted?
src/content/en/fundamentals/performance/optimizing-content-efficiency/images/font-crp.png - Unable to read file stats: ENOENT: no such file or directory, stat 'src/content/en/fundamentals/performance/optimizing-content-efficiency/images/font-crp.png'
src/content/en/fundamentals/performance/optimizing-content-efficiency/images/font-synthesis.png - Unable to read file stats: ENOENT: no such file or directory, stat 'src/content/en/fundamentals/performance/optimizing-content-efficiency/images/font-synthesis.png'
src/content/en/fundamentals/performance/optimizing-content-efficiency/images/font-weights.png - Unable to read file stats: ENOENT: no such file or directory, stat 'src/content/en/fundamentals/performance/optimizing-content-efficiency/images/font-weights.png'
src/content/en/fundamentals/performance/optimizing-content-efficiency/images/glyphs.png - Unable to read file stats: ENOENT: no such file or directory, stat 'src/content/en/fundamentals/performance/optimizing-content-efficiency/images/glyphs.png'


Bump to Kubernetes 1.32

This also requires bumping to Go 1.23.0. I know this is a draft for now but I'm wary of the implications for the add-on.

Yes, see https://github.com/submariner-io/submariner/pull/3245#issuecomment-2539128039


Transaction outputs should be ordered by their on-chain index

An example for the transaction a3fb04b5e04be5ee317cf1a60905c51a69c0dba8e9dd974689aa6c5209b844b3 on the testnet:

There's no reason to order things differently and it's actually quite confusing (as a reader, I'd expect the first output shown to correspond to the 1st output of the transaction, the second to the 2nd etc..

Default should be index. Will resolve as priority


Draft API documentation (v1)

Main tasks

[x] Outline of iterative approach
[x] Skeleton of API documentation
[ ] English Draft
[ ] French Draft
[ ] Review with Dev
[ ] Publish / Share

Main topics

[ ] What's involved for form builder when selecting API delivery method
[ ] Quick guide for API key creation and sharing for form builder (importance of keeping key secure)
[ ] Getting started - API integration for developer
[ ] Copying examples of code snippets for setting up the machine-to-machine connection
[ ] Testing the integration with draft form submissions in test
[ ] Confirming the integration works with live form submissions
[ ] Accessing/pulling submission data
[ ] Accessing API activity log / audit trail
[ ] Requesting an API rate increase
[ ] Revoking API key

Links

Scratchpad
Figma
OKR 2

We need to discuss the vision, goals, and objectives for the Forms API program to ensure they align with the Platform's overall business and API strategy.
Additionally, Andréanne, our new Head of Strategic Delivery, is beginning work on standardizing work related to CDS APIs.

In future we might consider OpenAPI Generator to create base documentation automatically. But there's a dependency that doesn't enable this just yet?

In a further future we might consider OpenAPI Generator to create base documentation automatically. But there's a dependency that doesn't enable this just yet?

Yeah, this dependency isn't playing nicely with TypeScript:
https://www.npmjs.com/package/express-openapi
We could still manually create the OpenAPI spec without the dependency, but it would be more difficult to maintain.

API Documentation: https://docs.google.com/document/d/1HbTmNL8rSnYl_GnCT0hACPL6CNq1j6UOiR8-w0DqWgQ/edit

To do:

Change to staging base URL
Change process for generating API key
Add process for revoking API key
Investigate option to host docs


[DO NOT MERGE] Add email survey signup routes and backend

For: https://trello.com/c/dfSufy85/114-develop-a-new-survey-delivery-method
This is the backend component that https://github.com/alphagov/static/pull/912 submits to.  We should review this in tandem.  There's duplication between static and feedback in that both will need details of the survey start/end times, but I think that's safe, otherwise people can sign up when we don't want them to.
We'll need to do some puppet / development PRs to configure setting the right GOV.UK Notify api keys for each environment.  Currently I'm using the same hardcoded template id for each survey which suggests that all api keys will need to live on the same notify service otherwise we need to configure the template id in puppet as well.  In future iterations we may want different email templates for each survey,  so using different notify services for each of our deployment environments and managing the template ids via puppet and env vars feels like it would be super painful.
Flagged (for now) as DNM because we need to do the puppet stuff for API keys and work out exactly what the contents of the template are.

This is flagged as DNM, but please do review the implementation choices.

Removed DNM flag as puppet and deployment details are merged.


Minor Documentation Issues

[x] ApiClient.deserialize() - datetime classes are missing intersphinx links
[x] ApiException.headers - Typo in "defeault"
[ ] ApiClient.call_api() - Missing type alias for DeserializedType
[ ] ApiClient.sanitize_for_serialization() - Missing type alias for DeserializedType
[ ] ApiClient.request() - Missing type alias for SerializedType

I've had a look at the issues regarding type aliases.
sphinx_autodoc_typehints is meant to first collect and remove the type hints from the function definition, and second, to update the docstring to add the missing types. As part of this process, the aliases get replaced with the full type hint definition. However, it only supports reST formatted docstrings (e.g. :param body: body of the request) and we're using Numpy docstring format. The package owner has no interest in compatibility with Numpy docstrings, but users have stated that the package is compatible with sphinx.ext.napoleon, which can convert Numpy docstrings to reST docstrings.
We use numpydoc instead, which does not convert the docstrings, but formats them directly. Switching to napoleon is an option, but it changes the output slightly and we lose the validation provided by numpydoc
An alternative fix is to document the type aliases separately, so that users can click the alias and see its definition.
Illustrated in API Reference page:

And in details

It's an easy fix

This is probably a nicer solution for me, the documentation for the methods and classes retains the concise alias, but you can at least see what the alias is, if the links work then this is a good solution.


Icon request: Add Ionic icon for ionic.project

Could you add an Ionic icon for the 'ionic.project'-file?
Ionic: http://ionicframework.com/
Thanks!

Done!

Is it possible to reopen this?
After ionic cli 2.0, the config file has changed from 'ionic.project' to 'ionic.config.json'.

I'll create a PR fpr this

see #211


Query is defaulting to TOP instead of using PK

When executing repository.Query, the resulting query is using TOP instead of using the PK of the table.
These two approach returns 2 different rows when we expect the same row.
var repository = new DbRepository<SqlConnection>(Constants.TestDatabase);
var customer = repository.Query<Customer>(1).FirstOrDefault();

var customer = repository.Query<Customer>(new { Id = 1 }).FirstOrDefault();

Thank you for this. Fixed as master just now.


Instances shadows are not visible with refresh rate 0

https://www.babylonjs-playground.com/#YB006J#75

Note that it has some thing to do with timing, as when refreshing the PG several times it does sometimes work.
Also, adding:
            engine.stopRenderLoop();
            window.setTimeout(() => {
                engine.runRenderLoop(() => {
                    scene.render();
                });
            }, 1000);

in the ImportMesh callback make it always work.


Make Recommendation and RecommendationRequest models link

Should add a list of recommendations for one recommendation request

Fix is working.  Closing issue


RideEntityEvent.Mount fired incorrectly - Can cause crash

I am currently running

SpongeForge version: Untested as of yet

SpongeVanilla version: spongevanilla-1.12.2-7.2.2

Java version: 8

Operating System: Windows 10

Plugins/Mods:

Simple test plugin containing the listener code below

Issue Description
RideEntityEvent.Mount is fired when the world is loading. Not only is this probably not intended/expected, it also means, anything that would load the world, i.e getting a block, causes the chunk to try to load, call your listener....... and then the server crashes :) This means whenever you load chunks with minecarts with passengers in, it crashes.
latest.log of issue
@Listener
public void mountEvent(RideEntityEvent.Mount event) {
        event.getTargetEntity().getLocation().getBlock();
}
You also need an entity in a minecart and then load those chunks

To those who have had the same problem - my bodge fix is to check for if the chunk is loaded, before you check a location, do:
Location<World> loc = event.getTargetEntity().getLocation().getBlock();
if (loc.getExtent().getChunk(loc.getChunkPosition()).isPresent()) {
    // return, etc.
}


Usage commands were wrong.

It should be can-serve, right?

If you rebase with master the tests should pass.

Ok, will do that.


Configure to run tests and build on osx and windows.

We need to configure travis to build and run tests on osx.
We need to find a way to run our build/tests on windows as well.

We could use AppVeyor: https://www.appveyor.com/

#181 added a Windows build.

Added a OSX build.


Forward port to use VPI instead of Visionworks

Have implemented a primitive version of this, merged into trisect-dev


Create trusted_gx_participant

Tried the first iteration of a new Gaia-X Trusted Member Credential Template, according to https://gaia-x.gitlab.io/policy-rules-committee/trust-framework/participant/

@kaimeinke we have incorporated your changes in the latest release 1.17.0. Also we integrated this release in the current snapshot version of the SSI Kit.
thanks for your contribution!


fixing error with hardcoded time unit in nc_attributes for om timeseries

I hardcoded the time unit incorrectly, now I'm using default_time_unit instead of hardcoding it.

This looks like a spurious travis failure


grafana: add update-script, (no-op) update 8.4.5 -> 8.4.6

Description of changes
Adds an update script because I'm too lazy to always update three hashes manually when updating the package.
The update to 8.4.6 is just a no-op, but I did it to test the script :-)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This fixes CVE-2022-24812

The entire diff is https://github.com/grafana/grafana/compare/v8.4.5...v8.4.6 and the CVE only applies to the enterprise edition.
Going to backport it anyways since I'd like to be able to perform future backports without manual intervention.

Heh already done: https://github.com/NixOS/nixpkgs/commit/4e58e5eb674c1d387000b4862cc0bd11551d1703


Goguen transaction size calculation

Correctly calculate the size of a Goguen transaction

This is done the same way as in Shelley


Runtime error when running with OMP and OpenCL

When I run my SYCL code compiled with AdaptiveCPP(ACPP), I get a runtime error. ACPP compiler is only using the first available backend CPU driver in my case OpenCL, even when I pass --acpp-targets=omp.accelerated flag to compiler while compiling, it is compiling with openmp backend but it is not selecting openmp backend during runtime.
=================Backend information===================
Loaded backend 0: OpenCL
  Found device: Intel(R) Xeon(R) CPU Max 9468
Loaded backend 1: OpenMP
  Found device: hipSYCL OpenMP host device

I get following error:
[AdaptiveCpp Error] from /home/AdaptiveCpp-24.02.0-ocl/include/hipSYCL/runtime/kernel_launcher.hpp:137 @ find_launcher(): No kernel launcher is present for requested backend
[AdaptiveCpp Error] from /home/AdaptiveCpp-24.02.0-ocl/src/runtime/ocl/ocl_queue.cpp:255 @ submit_kernel(): Could not obtain backend kernel launcher

Right, I think this behavior is a remnant from before the times of the OpenCL backend. If there's no GPU, it just picks the first CPU - but since the introduction of OpenCL, that can happend to be an OpenCL device.
PS: Just use --acpp-targets=generic (which is also the default if there's no --acpp-targets argument). It's likely going to be faster than omp.accelerated, and can JIT code for all backends, including OpenMP.

Okay, thanks. I found a way around this by setting ACPP_VISIBILITY_MASK=omp, this will select OpenMP backend during runtime.

Yes, the visibility mask is one way to affect which devices the default selector might pick.
I believe the original issue is fixed by #1501, please have a try :)


Rollback to release 90

Hi,
Is there a way to install back release 90 in Linux Mint?
After release 95 my uBlock Origin plugin stopped working, I uninstalled ungoogled-chromium waiting for a solution to this.
But in the meantime I would like to install release 90 again, but I don't know how to do it.
I have installed release 90 in another Linux Mint, so if it is just a matter to move the files/folder from one computer to another is not a problem, but I don't know if it is just enough.
Besides I don't feel confortable compiling the release 90 tar files, I don't find a documentation right enough showing how to do it.
Thank you.

After release 95 my uBlock Origin plugin stopped working

This doesn't answer your original question, but as a temporary workaround you may try my Gentoo binaries until the Debian binaries are fixed.

Thanks for the reply PF4Public.
The binaries of your link are only release 95, not 90.
Nevertheless in the releases section exits a source code for the release 90.0.4430.212-1.
I would like to install it. Is there a documentation (step-by-step will be great) to install it?
Everything I found is not very clear at this point.
Regards

The binaries of your link are only release 95

I should probbaly made it clear from the beginning, that I experience no issues with uBlock on my binaries, that's why I suggested them.

Thank you PF4Public. I will give it a try.


Prepublish Changes - Updated tooling and build test

This is a stacked PR with 5 total branches, all of which involve changes to prepare at_app, at_app_create & at_app_bundler for publishing. It should be reviewed in order of 1,2,3,4,5, but merged in order of 5,4,3,2,1.
Branches:

xavierchanth-4.2.2-prepublish-1
xavierchanth-4.2.2-prepublish-2 #97
xavierchanth-4.2.2-prepublish-3 #98
xavierchanth-4.2.2-prepublish-4 #99
xavierchanth-4.2.2-prepublish-5 #100

More information on stacked PRs here
- What I did

Added setup scripts

setup:all which does all necessary repo setup (outside of setting up melos)
setup:mason - which installs the correct version of mason_cli
(since there are commonly breaking changes due to it being in development)

Renamed the appropriate scripts from build to bundle:

build:bundler -> bundle:bundler (yes, this is very meta, I have a bundle script for my bundler)
build:create -> bundle:create
build:templates -> bundle:templates
Renamed the same script filenames as well

Updated the script names in the build test

Added a --no-analyze flag to all bundle scripts

Enabled it for all bundle commands in the build test
Separately called analyze for each in the build test

- How I did it
Local changes
- How to verify it
Review and merge all 5 PRs in the stack.
Then verify with the build_test.
- Description for the changelog
Prepublish Changes - Updated tooling and build test

@XavierChanth checked out the branch, problem running dart pub get / pub upgrade in at_app:
gkc2019:at_app gary$ dart pub upgrade
Resolving dependencies... (1.8s)
Because at_app depends on at_app_create any which doesn't exist (could not find package at_app_create at https://pub.dartlang.org), version solving
  failed.

@XavierChanth checked out the branch, problem running dart pub get / pub upgrade in at_app:
gkc2019:at_app gary$ dart pub upgrade
Resolving dependencies... (1.8s)
Because at_app depends on at_app_create any which doesn't exist (could not find package at_app_create at https://pub.dartlang.org), version solving
  failed.

Please install melos:
dart pub global activate melos

And use it to link the packages:
melos bootstrap

at_app_create hasn't been published yet, hence why a dart pub get won't resolve it.

Ah - melos bootstrap was the thing I was missing; I had already figured out
dart pub global activate melos

Message ID: @.***>


It cannot be executed except btc-perp

1、The docker compose file is as follows:

2、.evn. eth files are as follows:

3、eth log files are as follows:

4、If I trade btc-perp is OK, I can't do anything except BTC's trading right

Hello there,
One issue can be that on FTX the minimum tradable amount for ETH is 0.001, so you're not supposed to open sell limit orders with 0.0011 ETH as size.
You can also try to remove and rebuild you containers with :
sudo docker-compose stop
sudo docker-compose rm
sudo docker-compose up --build -d

Hope this helps. :pray:

Thank you very much for reply. I modified FTX the minimum tradable amount for eth is 0.004. This problem still exists
1、.env.eth files:

2、It's still the same mistake

In your case :
BASE_ORDER_SIZE = 0.004 ETH
BUYING_RATIO = 1 -> 0.004 * 1 -> 0.004 ETH buy limit orders
SELLING_RATIO = 1.1 -> 0.004 * 1.1 -> 0.0044 ETH sell limit orders, which can't be processed by FTX.
If you want to use 1.1 as selling ratio you need at least 0.01 as BASE_ORDER_SIZE for ETH. You can also disable overselling by setting SELLING_RATIO to 1.

You are also using only two different pairs of API keys / secrets instead of four, since the tool is rotating over keys to avoid FTX API rates limits this can cause some sides effects. The same thing can be encountered if you're sharing keys between two containers.

Thank you very much
1、I try seling_ Ratio = 1 and base_ ORDER_ Size = 0.01, but the problem still exists

2、I try seling_ Ratio = 1.1 and base_ ORDER_ Size = 0.04, but the problem still exists

We look forward to your reply

Did you tried to stop, rebuild and run again your containers after updating your config ?<PHONE_NUMBER>

Yes, I do
sudo docker-compose stop
sudo docker-compose rm
sudo docker-compose up --build -d

1、I have BTC-PERP and ETH-PERP. BTC-PERP is correct, but ETH-PERP still cannot be executed correctly

2、docker ps ：

3、BTC-PERP log file

4、ETH-PERP log file

I look forward to your suggestions. Thank you very much

I got the latest logs
2022-05-25 18:04:22,919 error from callback <function WebsocketWorker._wrap_callback.<locals>.wrapped_f at 0x7fde5cd9e700>: Error running FTX websocket callback: _on_close() takes 3 positional arguments but 5 were given

Whether the following exceptions need to be concerned? I know that the transaction can be executed normally，this is  FTX server or network problem?

I got the latest logs
2022-05-25 18:04:22,919 error from callback <function WebsocketWorker._wrap_callback.<locals>.wrapped_f at 0x7fde5cd9e700>: Error running FTX websocket callback: _on_close() takes 3 positional arguments but 5 were given

This is probably related to the function wrapper I've defined here.
Right now I'm not able to reproduce this issue, but we can add a quick fix to this line by adding *args function which will allow optional arguments mentioned above.
def _on_close(self, ws, event_queue, *args): should do the trick, can you test this @goushijie and rebuild your containers ?

OK, now everything is perfect. I have a suggestion:
It would be better to add the back test function, so I have more confidence in my trade


Updated doc - disable section

@aletheatoh : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @aletheatoh - Would you submit this content update in the private repo? We'll close this PR. Thanks!


hello world doesn't work on qemu_arc_em when CONFIG_ISR_STACK_SIZE=1048510

Describe the bug
hello world sample doesn't work on qemu_arc_em when CONFIG_ISR_STACK_SIZE=1048510
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=qemu_arc_em -DCONFIG_ISR_STACK_SIZE=1048510 ..
make run
See error

The SDK is 0.13.0

@wentongwu I can reproduce it with qemu_arc_em and nsim_em boards.
Then I try to CONFIG_ISR_STACK_SIZE=1048576 (1M), it works fine for both boards. I will continue debug it.
I'm so curios how did you get the magic number 1048510, Could you provide more details?

@wentongwu  Could you please provide more details?

@wentongwu Could you please provide more details?

someone told me it's just by accidental.
BTW I think this is a high priority bug because it impacts the basic function of Zephyr OS.

@wentongwu usually stack address and stack size need stack alignment, 1048510 is not aligned to 4. so it may cause Misaligned data access exception.

Is a 1M stack common for ARC? Typically, we see stack sizes of 1kB, 2kB... even Linux has just started using a stack size of 8kB now for x86_64.
@wentongwu - have you tried a more conventional stack size such as CONFIG_ISR_STACK_SIZE=4096?

@cfriedt AFAIK nobody uses so large stack size in real product. But I don't want to talk about why we use so large stack in QEMU. And also Linux...
But the problem here is that the none-4byte-align stack size will cause qemu arc run incorrectly. Not sure if you have tried other size like cmake -DBOARD=qemu_arc_em -DCONFIG_ISR_STACK_SIZE=4094 .. or other platform like mps2_an385, qemu_x86, or zephyr old version(like 2.5).

It's enough to use any unaligned ISR_STACK_SIZE, I.e ISR_STACK_SIZE=2050 instead of 2048.
The root cause seems to be in how we setup stack pointer in reset.S - we are setting it to unaligned value.
#define INIT_STACK z_interrupt_stacks
#define INIT_STACK_SIZE CONFIG_ISR_STACK_SIZE

	mov_s sp, INIT_STACK
	add sp, sp, INIT_STACK_SIZE

I guess it would be enough to check in compile time that we have proper CONFIG_ISR_STACK_SIZE alignment.
@ruuddw @abrodkin any objections on this?

Indeed, we shouldn't set bogus values in SP. Another question is how to handle those cases. I'd say compile-time warning is OK.
We may otherwise try to compensate for funny sizes in-place, but that may unexpectedly move stack boundaries if we just silently align provided random value. Ah, and BTW what about z_interrupt_stacks, are we sure it's properly aligned as well?

Compile-time error seems fine in this case. For user stacks the alignment I believe is handled by macro's rounding up, but the alignment can be different depending on configuration (e.g. with or without MPU). In this case the alignment requirement is always the same, and word aligned stack and stack size are reasonable to enforce.


[HUDI-668] Added unit-tests for HUDI metrics.

What is the purpose of the pull request
Added unit-tests for HUDI metrics.
Brief change log
Added unit test for code missing coverage.
Verify this pull request
This change added tests and can be verified as follows:
mvn test
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #1380 into master will increase coverage by 0.35%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1380      +/-   ##
============================================
+ Coverage     66.96%   67.31%   +0.35%
  Complexity      223      223
============================================
  Files           334      334
  Lines         16276    16276
  Branches       1661     1661
============================================
+ Hits          10900    10957      +57
+ Misses         4638     4585      -53
+ Partials        738      734       -4

Impacted Files
Coverage Δ
Complexity Δ

...g/apache/hudi/metrics/InMemoryMetricsReporter.java
25% <0%> (-50%)
0% <0%> (ø)

...n/java/org/apache/hudi/common/model/HoodieKey.java
88.88% <0%> (-5.56%)
0% <0%> (ø)

...in/java/org/apache/hudi/metrics/HoodieMetrics.java
87.5% <0%> (+57.69%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Question: Can Context FMHA be used to implement Transformer in a vision encoder for multimodal models?

I see that the multi-model models in the example all use TensorRT directly to deploy vision encoders, why not use TensorRT-LLM? Are there known issues or challenges associated with integrating Context FMHA into visual encoders?

Yes, you can try to use TensorRT-LLM for the vision encoders. We have Bert example,  DiT example, and community also contribute a SDXL model. I think it's not hard to develop a ViT model.

@QiJune Thanks for your replay. I will have a try.


StreamBuilder returning data even page is not loading

Hi,
I am using bloc (PublishSubject) to fetch data from internet. In one API, I am not getting the result due to expected reason hence displaying bottom sheet to display that error.
Now I navigate to some other screen, but since back screen is also rebuilt, it is causing bottom sheet of first screen to popup again.
Note - I am calling API only in initState(). Just listening for the stream.
Is there anyway, I can stop rebuilding widget of previous screen or stop listening to stream of previous screen.

Hi @viratshukla
Take a look at https://github.com/felangel/bloc/issues/201
Thank you