GZ Harmonic: Client get empty window when connects to remote server

Environment

OS Version: Ubuntu 24.04
Binary build: Harmonic 8.7.0

If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.

Rendering plugin: ogre2

[ ] Sensor rendering error.
[X] GUI rendering error.

EGL headless mode:

[ ] Running in EGL headless mode

Generally, mention all circumstances that might affect rendering capabilities:

[ ] running on a dual GPU machine (integrated GPU + discrete GPU)
[ ] running on a multi-GPU machine (it has multiple discrete GPUs)
[X] running on real hardware
[ ] running in virtual machine
[ ] running in Docker/Singularity
[X] running remotely (e.g. via SSH)
[X] running in a cloud
[ ] using VirtualGL, XVFB, Xdummy, XVNC or other indirect rendering utilities
[ ] GPU is concurrently used for other tasks

[ ] desktop acceleration
[ ] video decoding (i.e. a playing Youtube video)
[ ] video encoding
[ ] CUDA/ROCm computations (Tensorflow, Torch, Caffe running)
[ ] multiple simulators running at the same time

[ ] other...

Rendering system info:

On Linux, provide the outputs of the following commands:LANG=C lspci -nn | grep VGA  # might require installing pciutils
echo "$DISPLAY"
LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  # might require installing mesa-utils package
ps aux | grep Xorg
sudo env LANG=C X -version  # if you don't have root access, try to tell the version of Xorg e.g. via package manager

roman@roman:~$ LANG=C lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02)

roman@roman:~$ echo "$DISPLAY"
:1

roman@roman:~$ LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'
direct rendering: Yes
  Preferred profile: core (0x1)
  Max core profile version: 4.6
  Max compat profile version: 4.6
  Max GLES1 profile version: 1.1
  Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.0.9-0ubuntu0.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.0.9-0ubuntu0.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.0.9-0ubuntu0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

roman@roman:~$ ps aux | grep Xorg
roman       2826  7.4  1.5 7403828 188816 tty2   Sl+  12:41   2:44 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3
roman      10417  0.0  0.0  18136  2176 pts/4    S+   13:17   0:00 grep --color=auto Xorg

roman@roman:~$ sudo env LANG=C X -version

X.Org X Server <IP_ADDRESS>
X Protocol Version 11, Revision 0
Current Operating System: Linux roman 6.8.0-50-generic #51-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov  9 17:58:29 UTC 2024 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.0-50-generic root=UUID=d34a680e-7c4c-49f1-bf4b-528073bb9073 ro quiet splash vt.handoff=7
xorg-server 2:21.1.12-1ubuntu1.1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.42.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.

[X] Please, attach the ogre.log or ogre2.log file from  ~/.gz/rendering

client_ogre2.log

Description
I need to run 'gz -s' on aws or computer in the other network, connect to it with OpenVPN in tap mode (udp multicast can pass through) and operate simulation by running 'gz sim -g' from my computer.

Expected behavior:
When running 'gz -g' it connects to server, and shows world and entities

Actual behavior:
When running 'gz -g' it connects to server, but shows empty window (no scene, no entity tree, etc)

But, if world contains camera, i can use this camera to see the world

Steps to reproduce

On server (AWS EC2 Ubuntu 24.04 ip = <IP_ADDRESS>):
        GZ_IP=<IP_ADDRESS> GZ_PARTITION=1 GZ_VERBOSE=1 GZ_TRANSPORT_RCVHWM=100000 GZ_TRANSPORT_SNDHWM=100000 GZ_TRANSPORT_TOPIC_STATISTICS=0 gz sim -s -v4

On client (Real PC Ubuntu 24.04 ip =<IP_ADDRESS>)
        GZ_IP=<IP_ADDRESS> GZ_PARTITION=1 GZ_VERBOSE=1 GZ_TRANSPORT_RCVHWM=100000 GZ_TRANSPORT_SNDHWM=100000 GZ_TRANSPORT_TOPIC_STATISTICS=0 gz sim -g -v4

##Extra

Ping between server and client +- 150ms
GZ_RELAY - have no effect
If these steps are repeated when the server and client are on the same Wi-Fi network, everything works correctly; the client can see and interact with the world.
if use comand
'''
sudo tc qdisc add dev lo root netem delay 17ms
'''
it will create 34ms ping on localhost and gz client will see gray windoa as at the first screenshot, but if change this ping to 16ms or lower, all work correctly

Output
gz_client_console.txt
gz_server_console.txt

but why gui does not receive that service call, if ping is more than 17ms?
all work well, if do it in wifi newtwork, or with docker or VM, where ping is minimal, but if i use
sudo tc qdisc add dev <network interface> root netem delay 17ms
gui breaks even with wifi or docker

but why gui does not receive that service call, if ping is more than 17ms?

that I'm not sure. Maybe @caguero has some ideas about the impact of latency on gz-transport service requests?

Is the scene broadcaster plugin enabled in your world?

Yes, scene broadcaster
https://github.com/gazebosim/gz-sim/blob/f0cde0574b357fba3cb9ee3f22df0108bda44db1/examples/worlds/empty.sdf#L76-L79
plugin is enabled. I am using default worlds. (empty.sdf; shapes.sdf; etc.)
пн, 16 дек. 2024 г. в 06:44, Arjo Chakravarty @.***>:

Is the scene broadcaster
https://github.com/gazebosim/gz-sim/blob/f0cde0574b357fba3cb9ee3f22df0108bda44db1/examples/worlds/empty.sdf#L76-L79
plugin enabled in your world?
—
Reply to this email directly, view it on GitHub
https://github.com/gazebosim/gz-sim/issues/2698#issuecomment-2544424571,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4NI2U7LWACNW6WKBRVHM5D2FY5BXAVCNFSM6AAAAABTPN5NRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBUGQZDINJXGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Is it even possible to run Gazebo Harmonic or other version (except classic) on different computers and connect them via the internet (vpn tunnel for example)?
I have successfully launched gazebo classic through a vpn tunnel, but cant do it with new versions


Toastr not loading css from cdn

After updating to latest version, toastr is only loading js file from CDN, and not css file

Can you provide more details. I cant reproduce

I had an issue where the styling dissapeared so i took a look at the network traffic and saw that no css file was loaded from the cdn.
But i resolved my issue with creating my own style sheet.


Feature - Updating to Head of Alamofire

This PR updates AFI to build against the latest changes in Alamofire. The important callouts are:

Introduced the new AFIError type which supports the two error types that AFI throws directly

Switched Request response serializer extensions over to DataRequest. Not going to add support for DownloadRequest at this time since it doesn't make tons of sense to do so.

Response serializers now piggy back on the serializeDataResponse API in Request to perform the data validation.

Some of the AFError convenience extensions were imported over from the Alamofire tests.

Instead of doing this, we could technically import that AF file into our AFI test target and just compile it as part of our test target. Although I don't think this is probably a good idea. Just throwing it out there.

There are no functionality changes anywhere in this PR.

@cnoon Review complete, just some minor comments.

All comments have been addressed @jshier...I'm going to move this PR through.


Add MetricInfo class and tests

Coverage increased (+0.03%) to 83.849% when pulling 9e342a6563467294d7692ec6b611c2d9089733cb on mziccard:logging-metric-info into d9c974e505949897196850b23e9176f2a38b6703 on GoogleCloudPlatform:logging-alpha.

/cc @lesv

Consider my comments, update and/or commit.

Coverage increased (+0.03%) to 83.849% when pulling f4b576c34d503ff9540d63873082615120264853 on mziccard:logging-metric-info into d9c974e505949897196850b23e9176f2a38b6703 on GoogleCloudPlatform:logging-alpha.


feat(task): add a console on 'Service details > Tasks > Task details' page

open #1271

See details in #1271


Is it possible to know who last talked to alexa?

if i ask alexa, "who am i?" she knows my name.  Is it possible to get that information, eg a last_called_by attribute?
volume_level: 0.5
is_volume_muted: false
media_content_type: standby
media_position_updated_at: 2019-10-01T22:10:52.787389+00:00
source: Local Speaker
source_list: Local Speaker
available: true
last_called: true
friendly_name: Office echo dot
supported_features: 56253

No idea.
Does this page show you anything you think that relates to you specifically?  You may have to change the region domain.
The other question is whether websockets shows anything. I don't actually have voices defined so no idea if there's an identifier being stored somewhere on Alexa's endpoints. If you see something to hook into, we can try to expose it.

Nope. Nothing there that exposes who was talking.  Thanks for looking into it.


Prototype and evaluate Profile branches

Description
Prototype having one branch per profile, with the contents of RP directories coming from git submodules.  Once the infrastructure is set up we should evaluate the follwoing common tasks using this setup, including tools needed for each scenario:

Updating and releasing a single RP library
Adding a new SDK library
Creating a new profile branch/tag
Updating the client runtime
Running tests for all (or multiple RPs) against an azure (or stack) endpoint

At the end, we should evaluate whether this will meet our needs and what tools and documentation work are necessary.
This involves at least the following tasks

Creating repos for a few sdk libraries
Creating an sdk repo with multiple profile branches that refers to these repos
Updating the build infrastructure to use nuget references to tests framework and runtimes
Updated build infrastructure to handle an altered directory structure
scripts to create pull requests to a profile branch for a library update

COST: 10

Old issue, closing


Export to external service is broken in 2.0.1

This happens on both of my devices i use it on. I just noticed it with GnuCash Version 2.0.1. Version 2.0.0 still did it for me.
Both devices run Android 4.2.2 with a Kernel Version of 3.4.5. One is a ASUS MeMo Pad 7 HD, the other a Samsung S3 Mini.
GnuCash Android version is 2.0.1 on both.
What do i do:

Enter any number of transactions.
Slide the side menu out
Hit the Export Button
Select "Sending" as Export Target. Format is qif; all transactions
Hitting "Export."

Expected outcome:
The sharing services show up and i choose one. In my case i would use the official owncloud app to put the qif file on my private server.
What does happen:
Nothing. It claims to export. Then the "Export to external Service" message pops up, but the service selection never shows.
What else did i check:
I tried to send files via other apps. The ES Explorer opened the menu without a problem and let me put files on my owncloud as usual.
As for now, i workaround the issue by exporting to SD card and sending with another application, but to put it frankly: That's a bit tedious.
If you need anything else from me, just let me know.

We are working on this.
Thanks for the feedback
On Tuesday, 10 November 2015, jschuck<EMAIL_ADDRESS>wrote:

This happens on both of my devices i use it on. I just noticed it with
GnuCash Version 2.0.1. Version 2.0.0 still did it for me.
Both devices run Android 4.2.2 with a Kernel Version of 3.4.5. One is a
ASUS MeMo Pad 7 HD, the other a Samsung S3 Mini.
GnuCash Android version is 2.0.1 on both.
What do i do:

Enter any number of transactions.
Slide the side menu out
Hit the Export Button
Select "Sending" as Export Target. Format is qif; all transactions
Hitting "Export."

Expected outcome:
The sharing services show up and i choose one. In my case i would use the
official owncloud app to put the qif file on my private server.
What does happen:
Nothing. It claims to export. Then the "Export to external Service"
message pops up, but the service selection never shows.
What else did i check:
I tried to send files via other apps. The ES Explorer opened the menu
without a problem and let me put files on my owncloud as usual.
As for now, i workaround the issue by exporting to SD card and sending
with another application, but to put it frankly: That's a bit tedious.
If you need anything else from me, just let me know.
—
Reply to this email directly or view it on GitHub
https://github.com/codinguser/gnucash-android/issues/423.


Fix JSON Schema

Bug Report
Steps to Reproduce:
Run the generator against the profiles in schemas\src\test\resources\test-profiles.
Each valid profile should work, but some do not and produce validation errors.
Expected Result:
Each valid profile should work
Actual Result:
Validation errors are produced for valid profiles
Environment:
WSL under windows 10 running the following script:
#!/bin/bash
BASE_DIR=/home/andy/src/datahelix/schemas/src/test/resources/test-profiles
VALIDATOR=leadpony

mkdir validator-$VALIDATOR
for f in $BASE_DIR/*.json
do
	echo "testing file : $f"
    java -jar /home/andy/src/datahelix-0.0.0/generator.jar generate $f $f-$VALIDATOR.out > $f-$VALIDATOR.log 2>&1
    mv $f-$VALIDATOR.* validator-$VALIDATOR
done

duplicate of #700


Short solution needed: "How to align text to center" (php-gd)

Please help us write most modern and shortest code solution for this issue:
How to align text to center (technology: php-gd)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to align text to center horizontally


Deserializing string with escaped backslash fails

{
    "attr_x": "C:\\some gx\\",
    "attr_v": 30
}

It doesn't matter what the target C# object is. The error is related to the gx\\" part, and the deserializer apparently can't identify the double-quote because of the escaped back-slash.
This yields the following error response:
System.AggregateException : One or more errors occurred.
  ----> Utf8Json.JsonParsingException : expected:',', actual:'a', at offset:40
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
.....
--JsonParsingException
   at Utf8Json.JsonReader.ReadIsValueSeparatorWithVerify()
   at Utf8Json.JsonReader.ReadIsEndObjectWithSkipValueSeparator(Int32& count)

If I modify the input JSON to:
{
    "attr_x": "C:\\some gx\\"
}

the resulting error is:
System.AggregateException : One or more errors occurred.
  ----> Utf8Json.JsonParsingException : not found end string.
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
.....
--JsonParsingException
   at Utf8Json.JsonReader.ReadNextCore(JsonToken token)
   at Utf8Json.JsonReader.ReadNextBlockCore(Int32 stack)

In both cases, if I modify the gx\\" to gx" all the tests are green.
Originally posted by @brotherBear in https://github.com/neuecc/Utf8Json/issue_comments#issuecomment-432936975

See #63 and  #96


Occasional error 125 on random tests

Seen twice on win2lin so far:

24020

03:45:04 FAIL: docker_cli_events_test.go:93: DockerSuite.TestEventsLimit
03:45:04
03:45:04 docker_cli_events_test.go:115:
03:45:04     c.Assert(err, checker.IsNil, check.Commentf("%q failed with error", strings.Join(args, " ")))
03:45:04 ... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc082300220)} ("exit status 125")
03:45:04 ... "run --rm busybox true" failed with error

24017

00:16:24 FAIL: docker_cli_run_test.go:755: DockerSuite.TestRunTwoConcurrentContainers
00:16:24
00:16:24 docker_cli_run_test.go:785:
00:16:24     c.Assert(err, check.IsNil)
00:16:24 ... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc082568060)} ("exit status 125")

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

For DockerSuite.TestEventsLimit, the daemon error message is as follow:

Container 4 failed: exit status 125 -- C:\CI\CI-9b7ac1e\docker.exe: Error response from daemon: error creating aufs mount to /var/lib/docker/aufs/mnt/6ceec7f8446e85076d04f8d54be673bb131d8c09fad1626d020ed0f9451da10f: invalid argument.
See 'C:\CI\CI-9b7ac1e\docker.exe run --help'.

This was likely fixed by #21552


[Wiki] Discord link is not working

Description
I read the page Chat in the Flutter GitHub Wiki. I saw that there is the option to join the Flutter Discord server. So I tried to join, but it didn't work.
Steps to reproduce

Go to the Chat Wiki page, click here
Click on 'invited to join', which will open this url: https://discord.gg/BS8KZyg
Accept the invitation
You will see the error

Screenshots (German)

I had this error since some weeks. I don't know what changed, but now it's working for me. So I close this issue.


Add self referencing substitutions

According to the HOCON spec, substitutions should be able to self reference.
Unlike normal substitutions that lookup the final value of a key, self referencing substitutions lookup the previous value for the key.
This will require some require some rewrite on how HoconValues work.

This should be closed since this feature is already added to the current version.


Mock dataset

We want to be able to present our Mid-Project Release without the risk of leaking sensitive data.
Therefore we need a mock dataset, that can be used to demo our project state.
Data Fields:

First & Last Name
Email
Phone Number
Company Name

Acceptance Criteria

The file should contain at least 10 entries.
The mock dataset works in place of our real dataset.
The mock dataset is realistic in terms of result quality.

Csv file has been uploaded to S3 and can be found under
s3://amos--data--events/demo/demo_leads.csv

Names are not always accurate but also not used in our pipeline so that should not affect the demo

Column names correct
Correct data (except few person names)
Variety of origin
Also checked the dataset with our pipeline using our dev:
correct: wanke, mathieu, kabbir, djampour, zuse (5)
problem: uhe (multiple company branches) => use specific phonenumber
wrong: zehender, van Toor (solveable by using phonenumber), and Lauser (solveable by website)

Good choice of the companies origin (most common countries are included) and the data is correct (except for very few persons names). It will be also interesting to see, how our pipeline handles the<EMAIL_ADDRESS>because it is a company with multiple branches in Vienna
Regarding the Acceptanve criteria:

[ ] The file should contain at least 10 entries.
[ ] The mock dataset works in place of our real dataset.
[ ] The mock dataset is realistic in terms of result quality.


DHCP support

This PR allows to configure DHCP on the main VPP interface. Renewal of DHCP lease is not supported.

Coverage decreased (-1.3%) to 75.517% when pulling ff3324c925f4ea692d56d38cbba586aa79b63f43 on lukasmacko:dhcp into 9726993c9f3cbae139b7a26806b21d45be451934 on contiv:master.


Camera Params for pytorch3D

Hey!
Thanks for the great repo!
I am using the simple_romp for SMPL parameters calculation, which works great!
However, in a next step I want to use PyTorch 3D for some further processing. I want to ask how can I use the information from the .npz file to recreate a camera with correct translation and rotation for pytorch3d so it matches the created one here.
I tried a lot but got stuck! Any help would be appreciated.

@simonschoenhofen
To set up proper camera, you should use BEV, which assume a perspective camera. ROMP just use weak perspecive one.
We assume that camera is set up at the origin of the coordinate (0,0) and face front with orientation [[1,0,0],[0,1,0],[0,0,1]].
We also assume the FOV is 60 degree for BEV.
Let me know if you have further questions.
Best,
Yu


Question about using verilator!

Hello, thankyou for your amazing work.
I'm currently trying to use your verilog code generator for wallace tree and dadda tree.
However, I'm now in problem with installing requirements.
So far, I finished to run ghdl.sh and verilator.sh...however, I don't have any idea what to do from now on. Can you tell me about details for me to run your generator successfully? Thank you.

Hi,
I did write some documentation in repository about execution of make file with some options.
I did also fix the compilation osvvm library with ghdl, so the script "ghdl.sh" in tools directory must be rerun again. Sorry for the inconvenience.
Best regards

Von: SeungBin Shin @.>
Gesendet: Montag, 18. März 2024 06:21
An: taneroksuz/mult-tree @.>
Cc: Subscribed @.***>
Betreff: [taneroksuz/mult-tree] Question about using verilator! (Issue #1)
Hello, thankyou for your amazing work.
I'm currently trying to use your verilog code generator for wallace tree and dadda tree.
However, I'm now in problem with installing requirements.
So far, I finished to run ghdl.sh and verilator.sh...however, I don't have any idea what to do from now on. Can you tell me about details for me to run your generator successfully? Thank you.
—
Reply to this email directly, view it on GitHubhttps://github.com/taneroksuz/mult-tree/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL54MS7LL3M4D47XD2GE6HDYYZ2VPAVCNFSM6AAAAABE24TFT2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TCMRVHAYDGOI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi, I did write some documentation in repository about execution of make file with some options. I did also fix the compilation osvvm library with ghdl, so the script "ghdl.sh" in tools directory must be rerun again. Sorry for the inconvenience. Best regards
…
________________________________ Von: SeungBin Shin @.> Gesendet: Montag, 18. März 2024 06:21 An: taneroksuz/mult-tree @.> Cc: Subscribed @.> Betreff: [taneroksuz/mult-tree] Question about using verilator! (Issue #1) Hello, thankyou for your amazing work. I'm currently trying to use your verilog code generator for wallace tree and dadda tree. However, I'm now in problem with installing requirements. So far, I finished to run ghdl.sh and verilator.sh...however, I don't have any idea what to do from now on. Can you tell me about details for me to run your generator successfully? Thank you. — Reply to this email directly, view it on GitHub<#1>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL54MS7LL3M4D47XD2GE6HDYYZ2VPAVCNFSM6AAAAABE24TFT2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TCMRVHAYDGOI. You are receiving this because you are subscribed to this thread.Message ID: @.>

Hello, Thank you for replying.
Maybe after few works with compiler, I think it will work well from now.
However, I want to talk about some additional options; that changes number of input.
For example, make run_mul WALLACE=1 VERILOG=1 SIZE=32 BITWIDTH=25 MAXTIME=1000 or so on.
I think you might be busy for other works, thus I am curious about what part I should focus on within cpp codes to implement those options.
To tell you why I'm trying to implement those options-
currently I'm diving on custom hardware's mac-tree architecture optimizaiton, and our mac-tree is using wallace tree structure. However, It is generated by other developers wallace-tree generator code.
Our wallace tree is just for adding, thus no partial product is required. Input data number varies, and input's bitwidth varies too, but not squre-shaped.(e.g. 64 input, each of 25bit, x1000 test cases)
To test various options, advanced generator is necessary, therefore I found your code.
Maybe your code generates only for one pair of data, then I need to improve more to handle much more datas.
Again, Thank you for advise and fixing it. If you have any insight for this, please feel free to tell me :)
Sincerely,

Well, I'm sorry to keep annoying you...
After setting gcc version as 11.4.0 to support #include , I've got error messages as follows :

I don't have any Idea for those errors...yes... Thanks :)

I've tested installation scripts on Ubuntu 22.04 LTS. Downgrading or upgrading only gcc might not work, because the libraries should be also adjusted. This is not easy. Please contact Verilator developer for more information about compiling tool in different version of operating system. You could also install verilator with your package manager (if exists) and set make file variable (VERILATOR) to the full path of verilator in your operating system. It is better to use latest stable version of Verilator.Am 21.03.2024 06:57 schrieb SeungBin Shin @.***>:
Well, I'm sorry to keep annoying you...
After setting gcc version as 11.4.0 to support #include , I've got error messages as follows :
image.png (view on web)
I don't have any Idea for those errors...yes... Thanks :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Thanks! I'll try other ways. Have a nice day!

I've adjusted my source code and it generates now tree multiplier for inputs with different sizes.


build error ucore-hci:testing: installing libvirtd causes nfs-utils conflicts with nfs-utils-coreos

This is happening on recent ucore-hci:testing builds, seemingly new since testing is now based on fedora38.
It's not clear to me why this is wasn't happening for our builds FCOS/fedora37 ucore builds, as it's certainly popped up in the past for other FCOS users.
https://github.com/coreos/fedora-coreos-tracker/issues/572

Upon investigation, this is not failing in fedora37/stable FCOS due to probably a bug in the rpm spec for nfs-utils & nfs-utils-coreos on that release.
I notice that our ucore-hci:stable build actually has both packages:
$ rpm -qa |grep nfs-util
nfs-utils-coreos-2.6.2-2.rc6.fc37.x86_64
nfs-utils-2.6.2-2.rc6.fc37.x86_64

This is probably not an issue as nfs-utils-coreos is a subset of the files in nfs-utils, but the fedora38 packages are more correct to report a conflict as the files within the packages are the same.


Update logitech-control-center to version 3.9.5

Add support for macOS Sierra.
Add legacy version for OS X <= 10.8.

There was a pull request template when you submitted. It must be filled.
If you were not presented a template, you may have submitted via a CLI tool (likely hub). It that was the case, you may wish to see if the tool has a way to let you use the template (hub is working on it).
In either case, please refer to the template, and next time fill it.


[Snyk] Security upgrade node-fetch from 2.6.7 to 3.2.10

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

768/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-NODEFETCH-2964180
Yes
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: node-fetch
    The new version differs by 217 commits.

2880238 fix: ReDoS referrer (#1611)
e87b093 fix(Headers): don't forward secure headers on protocol change (#1599)
bcfb71c chore: remove triple-slash directives from typings (#1285) (#1287)
95165d5 fix spelling (#1602)
11b7033 fix: possibly flaky test (#1523)
4f43c9e fix: always warn Request.data (#1550)
1c5ed6b fix: undefined reference to response.body when aborted (#1578)
a92b5d5 fix: use space in accept-encoding values (#1572)
0f122b8 docs: fix formdata code example (#1562)
6ae9c76 docs(readme): response.clone() is not async (#1560)
043a5fc Fix leaking listeners (#1295) (#1474)
004b3ac fix: don't uppercase unknown methods (#1542)
c33e393 Fix Code of Conduct link in Readme. (#1532)
6875205 docs: Fix link markup to Options definition (#1525)
6425e20 fix: handle bom in text and json (#1482)
a4ea5f9 fix: add missing formdata export to types (#1518)
61b3b5a fix: cancel request example import (#1513)
5e78af3 Replace changelog with valid url (#1506)
9014db7 types: support `agent: false` (#1502)
2e1f3a5 chore: fix typo in credential error message (#1496)
4ce2ce5 docs(readme): fix typo (#1489)
ba23fd2 docs: remove the changelog (#1464)
8fedc1b core: move support and feature to discussion (#1471)
0b43b9f docs: update formdata example (#1465)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

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


When is the support for motion sensors (CON-1071)

Is your feature request related to a problem? Please describe.
Description of what the problem is.
Describe the solution you'd like
Description of what you want to happen.
Support motion sensors
Describe alternatives you've considered
Description of any alternative solutions or features you've considered.
Additional context
I couldn't find any motion sensors in the supported device list

@itatboy There is no such device type as of now as per matter spec.

Thank you for your reply,
As far as I know, Apple Home comes with a Motion sensor accessory. Is there a similar device type for the subject. I want to implement the corresponding Motion Sensor accessory through matter, so that the matter device will be a Motion Sensor when added to the Home App？
I also noticed that:
There are already Matter based devices on the market that are recognized as Motion Sensors when added to the Home App, and it is currently unclear whether they are using ESP solutions.

Thanks for the information, there is no any such dedicated device types. People are using above (attached list by you) sensor device types to make motion sensor.

https://www.apple.com/shop/product/HQWK2ZM/A/Eve Motion (Matter) Sensor
The above is the official link from Apple, which displays a Motion sensor based on Matter implementation. May I ask which device type of Matter corresponds to a Motion sensor?
Thank you very much for any information provided

I don’t know what they have implementet but it looks like a occupancy sensor. Here is the list of supported device type by apple and it doesn’t have motion sensor

Motion sensor is an occupancy sensor.

@jonsmirl Hi,
Thank you very much for providing the information, it is very useful. Now I know how to implement sports accessories.
thanks

@jonsmirl
I'm sorry, after verification, I can only reopen this issue.Here are some of my progress:
I use occupancy sensors to implement motion sensors. The code is as follows:

When accessories are added to Homekit, they are recognized as human sensors,It's not a motion sensor

https://csa-iot.org/csa_product/eve-motion-3/
When the EVE motion developed based on Matter was added to the Home App, it was identified as a motion sensor. I reviewed its compliance certification documents and found that it supports the PIROccupiedToUnocupiedDelay attribute, while the esp matter does not. I am not sure if this is causing the device recognition error. Can you provide a solution to the problem? Thank you.

This is the effect I want, the accessory has been identified as a motion sensor:

I think Homekit is just being more generic in categorizing them as Presence sensors.  All motion sensors are presence sensors, but not all presence sensors are motion sensors. For example there are heat source sensors which can tell if there are warm bodies in the room even if they aren't moving.  There are also radar based sensors which can see a heart beat even if you aren't moving.

You are right, all motion sensors are presence sensors. It is not clear how to make the Home App recognize the accessory as a motion sensor. It is not clear its judgment mechanism. I still need to try it. Thank you. @jonsmirl

@jonsmirl Hi,
I noticed an interesting phenomenon, is it a bug?
In the code, set occupancy_sensor_type=0x01, occupancy_sensor_type_bitmap=0x02. After burning to the program, start the log information occupancy_sensor_type=0x00, occupancy_sensor_type_bitmap=0x01

Check out this file:
https://github.com/project-chip/connectedhomeip/blob/master/src/app/clusters/occupancy-sensor-server/occupancy-sensor-server.cpp
This might be getting called when it is not supposed to:
https://github.com/project-chip/connectedhomeip/blob/master/src/app/clusters/occupancy-sensor-server/occupancy-sensor-server.cpp#L85
You can try putting a breakpoint on it and see if it is getting called.
It appears to me something is overwriting your initialization when it shouldn't.

@jonsmirl
You're right, it did run void emberAfOccupancySensingClusterServerInitCallback(EndpointId endpoint) ---> void emberAfPluginOccupancyClusterServerPostInitCallback(EndpointId endpoint).
The callback function is registered in namespace occupancy sensing cluster_t * create (endpoints, config_t * config, uint8_t flags).
What situation would cause the callback function to run? Thank you


The Link to the new version points to 1.1.0 instead of 1.1.2

OpenTest version number: 0.1.12
This is the getopentest.org website and not the opentest framework
Steps to reproduce:

Navigate to https://getopentest.org/

Click on

Note that you are taken to https://github.com/mcdcorp/opentest/releases/tag/v1.1.0 and not https://github.com/mcdcorp/opentest/releases/tag/v1.1.2

Fixed, thank you.


DataManagementApi: Implementation of initiateTransfer in TransferProcessApiController

What this PR changes/adds
Implementation of initiateTransfer method in TransferProcessApiController.
Why it does that
Implementation of stubbed method.
Further notes
⚠ ~This is a proposal of the initiateTransfer method behavior, but it's not yet confirmed.~ - this PR was pre-reviewed by Andrea and updated according to the suggestions. After the feedback  the signature of the Controller initiateTransfer method was changed to String initiateTransfer(TransferRequestDto transferRequest).
Linked Issue(s)
With PR #214 Closes issue #210
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #215 (d0624c8) into feature/1066/210-implement-tpcontroller (a9a8d23) will increase coverage by 0.31%.
The diff coverage is 100.00%.

:exclamation: Current head d0624c8 differs from pull request most recent head 6e0ba87. Consider uploading reports for the commit 6e0ba87 to get more accurate results

@@                              Coverage Diff                              @@
##             feature/1066/210-implement-tpcontroller     #215      +/-   ##
=============================================================================
+ Coverage                                      64.85%   65.17%   +0.31%
- Complexity                                      2911     2930      +19
=============================================================================
  Files                                            677      677
  Lines                                          14970    14985      +15
  Branches                                        1015     1015
=============================================================================
+ Hits                                            9709     9766      +57
+ Misses                                          4795     4752      -43
- Partials                                         466      467       +1

Impacted Files
Coverage Δ

.../transferprocess/TransferProcessApiController.java
91.04% <100.00%> (+20.67%)
:arrow_up:

...ferprocess/service/TransferProcessServiceImpl.java
100.00% <100.00%> (ø)

.../dataspaceconnector/boot/util/TopologicalSort.java
92.85% <0.00%> (-2.39%)
:arrow_down:

...ment/transferprocess/model/TransferRequestDto.java
100.00% <0.00%> (+100.00%)
:arrow_up:

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 a9a8d23...6e0ba87. Read the comment docs.

@ndr-brt thanks for your early feedback, I updated the implementation after your suggestions and will soon open a PR in upstream repo.


The second B in Bitbucket must not be capitalized

Bitbucket is not BitBucket as Boutysource is not BountySource.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/18223111-the-second-b-in-bitbucket-must-not-be-capitalized?utm_campaign=plugin&utm_content=tracker%2F47&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47&utm_medium=issues&utm_source=github).

Can you show me where you see it formatted incorrectly?

I see it on https://www.bountysource.com/trackers/17376148-kazssym-bitbucket-hook-servlet as 'View on BitBucket'.

Thank you!
On Wed, May 27, 2015 at 5:43 PM, Kaz Nishimura<EMAIL_ADDRESS>wrote:

I see it on
https://www.bountysource.com/trackers/17376148-kazssym-bitbucket-hook-servlet
as 'View on BitBucket'.
—
Reply to this email directly or view it on GitHub
https://github.com/bountysource/frontend/issues/967#issuecomment-106126051
.

Whoa, GitHub reply by email screwed up... no idea why it replied as @seanders !


Broken with recent StreamDeck update?

I've recently updated to Stream Deck software version 6.5.0 (19904) and something about your Star Citizen plugin has stopped working. The button's don't even generate errors, that would at least be helpful.
I've tried reinstalling the plugin, recreating some of the buttons, even running the Stream Deck software with and without Admin Privileges. Nothing seems to fix it.
Any possibility you could get it up and running, perhaps?
THANKS!

I tested it with 6.5.0 (19904) and it works ok for me.
I'm afraid that I cannot reproduce your problem.
If I try a button that is bound to the game's STAR MAP button (F2) then I see this in the log files when I toggle it:
2023-12-27 07:05:17.3241|INFO|com.mhwlng.starcitizen|44|{DikF2}
2023-12-27 07:05:19.7561|INFO|com.mhwlng.starcitizen|45|{DikF2}

Bizarre, okay this means I need to do more testing and figure out what's happening.
The standard Stream Deck "HOTKEY" function works fine, but your specific ones don't. Hmmm.


UNION[ ] in response_model( ) chooses the wrong Pydantic model and returns a relationship column data when it shouldn't

Hello everyone,
I'm new to FastAPI but I'm very excited to learn to build an app with this awesome framework.
I'm trying to build a directory website where users can post several ads (one-to-many relationship), but I'm having an issue with the response being sent out:
It chooses the wrong Pydantic schema out of the two that I specified in response_model=UNION[Schema_1, Schema_2]. It uses Schema_1 when it should be using Schema_2. I've spent days trying to figure it out to no avail. I don't know which Python extension causes this issue.
Let me show you what I have:
First, I have these 2 database models (I removed most columns to simplify my questions):
class User(Base):
    __tablename__       = 't_users'

    id            = Column(Integer, Sequence('seq__t_users__id'), primary_key=True,   index=True)
    username      = Column(Unicode(20), nullable=False, index=True, unique=True)
    ads           = relationship('Ad', back_populates='author', cascade="all, delete", passive_deletes=True)

class Ad(Base):
    __tablename__      = 't_ads'

    id             = Column(Integer, Sequence('seq__t_ads__id'), primary_key=True, index=True)
    author_id      = Column(   Integer, ForeignKey('t_users.id', ondelete='CASCADE'), nullable=False)

    title          = Column(Unicode(70), nullable=False)
    description    = Column(UnicodeText(),  nullable=False)

    author         = relationship('User', back_populates='ads')

I want to be able to retrieve a user from the User table with or without the ads column. So I created this function:
def db_get_one_user_by_id(db_session:Session, user_id:int, should_load_ads_column:bool=False):
    ads_column      = models.User.ads
    ads_load_option = joinedload(ads_column) if should_load_ads_column else lazyload(ads_column)

    return db_session\
                    .query(models.User)\
                    .options(ads_load_option)\
                    .filter(models.User.id == user_id)\
                    .one()

The function above basically says: If I want to retrieve the user along with his ads, I will use joinedload(). If I don't want the ads, only the user, I'll use lazyload(). This produces the expected responses:
With ads:
{
  "username": "user_0001",
  "id": 2,
  "ads": [
    {
      "id": 1,
      "title": "my title 2",
      "description": "my desc 2",
      "author_id": 2
    }
  ]
}

Without ads:
{
  "username": "user_0001",
  "id": 2,
}

Problem
However, when I started applying Pydantic models and UNION[ ] to the response_model, an unexpected behavior occurred: The response would still contain the ads like below even though I did not request the data (by using lazyload()) Strange!
With ads even though not requested:
{
  "username": "user_0001",
  "id": 2,
  "ads": [
    {
      "id": 1,
      "title": "my title 2",
      "description": "my desc 2",
      "author_id": 2
    }
  ]
}

Here's my router:
@router.get('/id/{user_id}', response_model=Union[schemas.User_LoadAds_Out, schemas.User_Out])
def get_one_user_by_id(user_id:int, should_load_ads_column:bool=False, db_session:Session=Depends(d.get_db_session)):
    return crud.db_get_one_user_by_id(db_session=db_session, user_id=user_id, should_load_ads_column=should_load_ads_column)

My Pydantic schemas:

class User_Out(BaseModel):
    class Config:
        orm_mode        = True

    id                  : int
    username            : str

class Ad_Out(BaseModel):
    class Config:
        orm_mode        = True

    id                  : int
    author_id           : int
    title               : str
    description         : str

class User_LoadAds_Out(BaseModel):
    class Config:
        orm_mode        = True

    id                  : int
    username            : str
    ads                 : Optional[List[Ad_Out]] = None

No matter which query I choose (get user along with his ads OR without them), it will always choose a schema for user with ads (User_LoadAds_Out instead of the correct User_Out schema). Why is that? Why did it choose the wrong schema? Did I do something wrong with my code?
Since I put echo=True in my create_engine( ), I could see the SQL query in my terminal, and it showed that it did not run a query with a JOIN to the Ads table. So where did the Ads information come from?
FastAPI 0.63.0
Pydantic 1.7.3
SQLAlchemy 1.3.23
Uvicorn 0.13.3
psycopg2 2.8.6
Python 3.8.7
PostgreSQL 11.10
Thank you!!

See the documentation: https://fastapi.tiangolo.com/tutorial/extra-models/#union-or-anyof

When defining a Union, include the most specific type first, followed by the less specific type.

Thanks for the reply, ycd.
I did move my schema with the ads column to be before the one without the ads column in my UNION[ ], but it did not help.
response_model=Union[schemas.User_LoadAds_Out, schemas.User_Out]

I wish there were a way to assign your response model dynamically through a function.

@sixth-instinct hello!

I wish there were a way to assign your response model dynamically through a function.
Technically you can create modeled result by yourself:

from fastapi import FastAPI
from pydantic import BaseModel
from typing import Union

class Simple(BaseModel):
    id: int

class Specific(Simple):
    description: str

RESULT = {
    "id": 1,
    "description": "test"
}

app = FastAPI()

@app.get("/", response_model=Union[Specific, Simple])
def get_main(specific: bool = False):
    if specific:
        result = Specific(**RESULT)
    else:
        result = Simple(**RESULT)

    return result

Hello Insomnes,
Yes, your solution works! Thanks!!
Because I'm getting my result from SQLAlchemy ORM operation, I get an object rather than a dictionary that you have in your example, so I would have to covert it into dictionary first as shown below. Is this correct?
return schemas.Ad_Author_Out(**result.__dict__) if should_load_author_column else schemas.Ad_Out(**result.__dict__)

What if I want to return a list of ads? The schema class seems to take only a dictionary.
--
I also found a workaround by using noload() instead of lazyload():
 ads_load_option = joinedload(ads_column) if should_load_ads_column else noload(ads_column)

If I query for one user and don't want his ads included in the result, noload() would still return the ads column in the result but with a null value (or an empty list [ ] if I query for all( )), while lazyload() would not include the column at all, which I think is cleaner, like your solution. Because the results for a query for user including or excluding their ads have the same data schema (both now have the ads column), I could simply use the same Pydantic model for both.
But I wonder if your solution is better because it produces a cleaner result (no ads column = null or [ ] if the column is not requested). But it seems I would need to convert the database result into a dictionary first and then unpack it before the data can be used for the Pydantic class/model. If I'm retrieving a list of 1000 ads, would your solution be slower than my workaround? Or my workaround would still do the same conversions in the background?
Thanks.

Hi guys!
@insomnes thanks for your example it works fine, same the one in the documentation @ycd pointed out.
In the other hand I am experience exactly the same issue @sixth-instinct mentioned. The issue can be reproduced when using default value in the Specific model, like:
class Specific(Simple):
    description: str = "default"

Then, you will see that no matter the value of the specific param,  the response always will contain the Specific model with the default value in description.
{
    "id": 1,
    "details": "default"
}

@sixth-instinct did you try to remove the default value for your Ads model?
class User_LoadAds_Out(BaseModel):
    class Config:
        orm_mode = True

    id : int
    username: str
    ads: Optional[List[Ad_Out]]

@sixth-instinct

Because I'm getting my result from SQLAlchemy ORM operation, I get an object rather than a dictionary that you have in your example, so I would have to covert it into dictionary first as shown below. Is this correct?

You can use orm_mode
https://fastapi.tiangolo.com/tutorial/sql-databases/#use-pydantics-orm_mode

What if I want to return a list of ads? The schema class seems to take only a dictionary.

You can use: response_model=List[Union[Specific, Simple]]
Or at python 3.9 i guess response_model=list[Union[Specific, Simple]]
And create lists: result = [Model(item) for item in sql_answer]
But as @adrianrv mentioned created model still goes through process of validation (and so default value creation) of response_model parameter. So i am not sure now, that it is good approach for your problem.
@adrianrv

Then, you will see that no matter the value of the specific param, the response always will contain the Specific model with the default value in description.

You can try to hack this with response_model_exclude_unset or response_model_exclude_defaults parameters in path decorator:
https://fastapi.tiangolo.com/tutorial/response-model/#use-the-response_model_exclude_unset-parameter

Hello @insomnes,
Thanks again for your response.
Your approach to return a list of ads works! This is my code:
Get all ads (with or without the author column data):
@router.get('/all', response_model=List[Union[schemas.Ad_LoadAuthor_Out, schemas.Ad_Out]])
def get_all_ads(should_load_author_column:Optional[bool]=Query(False,alias='load-author'), db_session:Session=Depends(d.get_db_session)):
    result = crud.db_get_all_ads(db_session=db_session, should_load_author_column=should_load_author_column)
    return [schemas.Ad_LoadAuthor_Out(**item.__dict__) for item in result] if should_load_author_column else [schemas.Ad_Out(**item.__dict__) for item in result]

The returned result seems correct. It uses the correct Pydantic model. Perhaps because both models don't have any optional field (because ads are children of user, an ad always has a user (author)).
But if I use it on the query to get all users with or without their ads column, it doesn't seem to work. It always include the ads column whether my query requests it or not. It looks like the optional Ads column in the Pydantic model for a query for users along with their ads (I had to set the ads column optional because even though my query requests the column, the user may still not have any ads yet) throws it off. If I removed the Optional option for the ads column, it works as intended. Maybe this is what you mean that this might not be a good approach to my problem. In that case, I'll stick with my workaround using noload(). Thanks for helping me out on this. I appreciate it.
Thanks.

Hello @adrianrv,
Thanks for your feedback.
I removed all the default values in my Pydantic models, but somehow I still got the same results: the ads column with its content is always included in the response whether my db query asks for it or not. Maybe I'm missing something. I think I'm just going to use my noload() workaround. Thanks for your help. I really appreciate it.
Thanks.

I don't think this should be closed. IMO, having to do all sorts of workarounds or order your response models in a particular way is too, too fragile to suffice. FastAPI, knows what Type of object it has to serialize, but it throws away that Typing information in routing.serialize_response, before validating the response_content. The validation then grabs the first pydantic model it finds, which may not be the correct one. Why would we throw away the typing information before validation?
My example, is a (very simplified) endpoint that returns a List of one or more Pydantic models, all of them subclasses of one base Pydantic model.
class BaseClass(BaseModel):
    id: int
    name: str

class SubclassA(BaseClass):
    level: str
    previous_level: str

class SubclassB(BaseClass):
    email: str
    subject: str

class SubclassC(BaseClass):
    level: str
    previous_level: Optional[str]

class SubclassD(BaseClass):
    level: str
    next_level: str

async def get_classes() -> List[Union[SubclassA, SubclassB, SubclassC, SubclassD]]:
   ...

SubclassA and SubclassC both have a level key, and what happens is, FastAPI converts an instance of SubclassC into an instance of SubclassA and throws away any additional keys, simply because the SubclassA happens to share a key with SubclassC. Worse, in my example, is by throwing away the additional keys, the response is IMPROPERLY validating. SubclassA requires previous_level, but if a SubclassC instance that does not require that key is instead validated against SubclassA, a validation error will occur even though there is no validation error. I understand that the current "solution" is to list SubclassC first, but that doesn't solve the issue, as I may have a SubclassD which would fail validation.
This approach of relying on order, IMO, is too fragile and is a bug, and this issue should not be closed simply because there is a workaround. IMO, FastAPI should not throw away typing information before validation; it should USE the typing information to properly validate the response_content. It is not always feasible to define the "most specific type first", as it is not always clear what constitutes the "most specific type".


Templating fail Bad Gateway

I've just started using this plugin and I copied  RPI Mongo Bucket - Atlas Temp.json example; changed a few things to make it good with my project but when I import the json into Grafana I get a message Tempalting Fail Bad Gateway.

Hello,
The proxy is running under http//localhost:3333
and that is what you specified in the HTTP > Url right?

This is what my datasource looks like

But when i click save and test after setting up my datasource it says that its ok

Same thing happens with me, is there any update on this?


Convert UUID primary key to string before serializing in json (Rebase of #4626)

Merged in 6e60469142a11ac6df041e75c3537dcc538039ae


Minimize log spamming with stacktraces

The following exceptions print stacktraces but most likely should not

[ ] NotFoundException
[ ] SessionMismatchException

SessionMismatchException is routine, but XhController will throw a non-routine RTE if the expected param is not provided:
https://github.com/xh/hoist-core/blob/cf26ada924648e4f47d2c80e85fa8731a847c22f/grails-app/controllers/io/xh/hoist/impl/XhController.groovy#L253
We should likely update this to either a RoutineRuntimeException or another SessionMismatchException

Update after more investigation / testing - we are seeing the compact logging of routine exceptions as planned, but they are preceded by one or more copies of the full stacktrace also logged to the main app log (likely via stdout). We have dev-mode code to route stacktraces to a dedicated log, but our assumption that non-dev-mode logging would omit them appears to be incorrect.


Eliminate some reflection warnings, tidy up imports

Per discussion with @reiddraper in #riak

Looks good. These were on all my shortlist, thanks. :)


⚠ Adacta-fintech.com has degraded performance

In b75f5e1, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 502
Response time: 745 ms

Resolved: Adacta-fintech.com performance has improved in 486d18c after 7 minutes.


not working with office 365 pro plus

office 365 pro plus is installed in my system, whenever  i am trying to use the below code, it throws error -
string pathToExcelFile = "" + @"D:\Book1.xlsx";
        string sheetName = "Sheet1";

        var excelFile = new ExcelQueryFactory(pathToExcelFile);
        var getData = from a in excelFile.Worksheet(sheetName) select a;
        string getInfo = String.Empty;

        foreach (var a in getData)
        {
            getInfo += "Name: " + a["Name"] + "; Phone: " + a["Phone"] + ">>   ";

        }
        textBox1.Text = getInfo;

please return back with solution ASAP its urgent. I am using latest version of linqtosql from nuget

Same issue here
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.'

You need to install the Microsoft Access Database Engine - either the 32bit, or the 64bit version, depending on your project settings.


Ignore subpaths

I have a use case where I want to check all links in the current directory except for a single path that has a lot of static markdown. It would be really nice if I could ignore/skip directories. It seems that this functionality is currently not supported outside of running against individual files and directories while excluding the one I don't want results for.

I confirm that we don't have path exclusion yet.
Multiple options are possible:

add a feature to handle an ignore file like the .gitignore one but named .markdownlinkignore that would list globs (path able to include * wildcard) to ignore.
a configuration with path patterns to ignore similar to the link ignore pattern configuration.

This feature would be great.


⚠ Minecraft has degraded performance

In d01889b, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1079 ms

Resolved: Minecraft performance has improved in c8bbcdc.


Explicitly document + test dataclass support

Hi!
I recently tried this with a dataclass, even though it wasn't documented, and it works.
It might make sense to document that, and add a test so it doesn't get unintentionally broken. :slightly_smiling_face:
Here's the example code I tried that wound up working:
from datetime import datetime
from typing import Tuple

from dataclasses import dataclass

import type_enforced

@type_enforced.Enforcer
@dataclass
class Delivery:
    timestamp: datetime
    dimensions: Tuple[int, int]

m = Delivery(timestamp=datetime.fromisoformat('2020-01-02T03:04:05Z'), dimensions=(10, 20))
print(repr(m.timestamp))
#=> datetime.datetime(2020, 1, 2, 3, 4, 5, tzinfo=datetime.timezone.utc)

print(m.dimensions)
#=> (10, 20)

m2 = Delivery(timestamp=datetime.fromisoformat('2020-01-02T03:04:05Z'), dimensions=['10', '20'])
# => [...]
# TypeError: (Delivery.__init__): Type mismatch for typed variable `dimensions`. Expected one of the following `[<class 'tuple'>]` but got `<class 'list'>` instead.

Makes sense:
Closing with:
dd5e91f5deae447f6fc37e1d69ebdcf5054d70ae
90f7f5e2e077cd79164621233a9da515a6072cb1


No way to know if the sync is ready

It would be helpful to have an indicator saying if the first sync process is done (i.e. if we have calculated a first offset). Maybe with callback functions?

'sync:stats' event added: it is triggered each time the clock (re)sychrnonizes with the sync clock.


feature: Make SentenceSplitter's secondary_chunking_regex optional

Description
The SentenceSplitter's secondary_chunking_regex is lossy; it can lose punctuation as it splits text. For users who do not want this behavior, and do not want to write their own alternative regex, this PR makes the secondary_chunking_regex optional.
New Package?
N/A - no new package
Version Bump?
N/A - change in llama-index-core
Type of Change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Because of the size of the change (very small), I did not introduce new unit tests or example code. However, I did load SentenceSplitters with and without a secondary_chunking_regex to confirm setting secondary_chunking_regex=None fixes the issue described above.

[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I ran make format; make lint to appease the lint gods

@carolinebinley Can you give an example of what you mean by lossy? Punctuation does not appear to be missing?
>>> import re
>>> from llama_index.core import Document
>>> chunking_regex =  "[^,.;。？！]+[,.;。？！]?"
>>> texts = re.findall(chunking_regex, Document.example().text)
>>> texts
['\nContext\nLLMs are a phenomenal piece of technology for knowledge generation and reasoning.', '\nThey are pre-trained on large amounts of publicly available data.', '\nHow do we best augment LLMs with our own private data?\nWe need a comprehensive toolkit to help perform this data augmentation for LLMs.', "\n\nProposed Solution\nThat's where LlamaIndex comes in.", ' LlamaIndex is a "data framework" to help\nyou build LLM  apps.', ' It provides the following tools:\n\nOffers data connectors to ingest your existing data sources and data formats\n(APIs,', ' PDFs,', ' docs,', ' SQL,', ' etc.', ')\nProvides ways to structure your data (indices,', ' graphs) so that this data can be\neasily used with LLMs.', '\nProvides an advanced retrieval/query interface over your data:\nFeed in any LLM input prompt,', ' get back retrieved context and knowledge-augmented output.', '\nAllows easy integrations with your outer application framework\n(e.', 'g.', ' with LangChain,', ' Flask,', ' Docker,', ' ChatGPT,', ' anything else).', '\nLlamaIndex provides tools for both beginner users and advanced users.', '\nOur high-level API allows beginner users to use LlamaIndex to ingest and\nquery their data in 5 lines of code.', ' Our lower-level APIs allow advanced users to\ncustomize and extend any module (data connectors,', ' indices,', ' retrievers,', ' query engines,', '\nreranking modules),', ' to fit their needs.', '\n']

@logan-markewich, absolutely. Is an edge case, and not ALL punctuation is removed.
Here's a brief example using the SentenceSplitter:
>>> from llama_index.core.node_parser import SentenceSplitter
>>> sentence_splitter = SentenceSplitter(chunk_size=10, chunk_overlap=0)
>>> test_text = """Example: .. ‘This is a sentence, and it keeps going."""
>>> sentence_splitter.split_text(test_text)
['Example: . ‘This is a sentence,', 'and it keeps going.']

As you can see, one of the two periods after "Example:" is removed in the output.
The same behavior can be reproduced using only the chunking regex -- provided the input includes the right edge case. Here's an example of that, too:
>>> import re
>>> chunking_regex =  "[^,.;。？！]+[,.;。？！]?"
>>> test_text = """Example: .. ‘This is a sentence, and it keeps going."""
>>> re.findall(chunking_regex, test_text)
['Example: .', ' ‘This is a sentence,', ' and it keeps going.']

@carolinebinley Ah great! I was very worried for a second, but seems like the impact on this is relatively low 🙏🏻


uhhh, this is strange but like, something REALY strange is ocurring with me

What is your question?
lol, well, like, some not common things is happening with me, like one time i got jumpscared with freddy fazbear... and the game just closed.. i dont think this is normal, and i was doing a chart, and i didnt put ANYTHING that would do that with me even if i pressed a button, like 7, but i was in the charting mode already, and after some time charting it appeard this

uhh, like, wtf? it appeard RAMDOMLY, i was normally charting, is this normal? or something thats just luck? (luck in unluck lol) or i think i know what it could be.
sorry by any dificulty, but if it is what im thinking, the engine is getting files that isnt int the "js engine" local file, like, the whole PC

i got jumpscared by freddy fazbear again, and i just started playing the song

disable random botplaytxt setting, it’s a feature, not a bug

funny


chat input (again): clear attachments and reset input height before send

just ONE MORE tiny change to chat input bro just ONE MORE ok, I PROMISE ok bro it's the LAST ONE bro ok

Bro I swear just one more change please just one more I promise just this once


frontend: Change 'reply' button label to reflect selected message.

Resolves #17940. The 'reply' button shows the stream>topic or recipient(s)
of the selected message, for better UX. It also expands to fill remaining
horizontal space in the button bar.

https://github.com/zulip/zulip/issues/17940
Testing plan:  node_tests/compose_closed_ui.js
GIFs or screenshots:

A few quick thoughts on the visuals:

I think we want to the "Reply to ..." text to be styled like a placeholder, e.g. the slightly grey text here:

Do we want to change the cursor to the "enter textbox" style when hovered over this button?

I think after we resolve those questions (potentially with deciding we want to try it as is), I can test-deploy this on chat.zulip.org for broader feedback?

new screenshot:

@kenclary can you rebase following our recent migration of compose.html to a handlebars/frontend template?

@timabbott @andersk working on the rebase. Does the change mean I need to change the translation template?

This need anything else?

@kenclary sorry for the delay -- I was AFK for the last two days.  I'm deploying this on chat.zulip.org for more feedback.
I'd encourage you to pick up a second project in parallel, since I think this PR is essentially done aside from whatever back-and-forth on the styling details we'll end up doing before merging to master.  (It seems pretty clear from feedback that some version of this is better than master).

day mode:

night mode:

I fixed a minor merge conflict and redeployed this to chat.zulip.org.

Merged, after a small tweak to the commit message.  Huge thanks for doing this @kenclary!  We've been stuck trying to figure out what to do with that part of the app for years.


[SPARK-32910][SS]Remove UninterruptibleThread usage from KafkaOffsetReaderAdmin

What changes were proposed in this pull request?
The Kafka offset reader which uses AdminClient still uses UninterruptibleThread to call it. Since there is no evidence that AdminClient suffers from similar issues like KAFKA-1894 I'm removing UninterruptibleThread usage. In order to put the AdminClient under stress and make sure it works I've created the following standalone application: https://github.com/gaborgsomogyi/kafka-admin-interruption
What this PR contains:

Removed UninterruptibleThread from KafkaOffsetReaderAdmin
Removed/modified comments which are not true
Adapted KafkaRelationSuite
Renamed partitionsAssignedToConsumer to partitionsAssignedToAdmin

Why are the changes needed?
KafkaOffsetReaderAdmin doesn't need UninterruptibleThread usage.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing unit tests + manually with simple Kafka to Kafka query.

Test build #132418 has started for PR 30668 at commit b4547a0.

Test build #132418 has finished for PR 30668 at commit b4547a0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

cc @HeartSaVioR @zsxwing @viirya @xuanyuanking

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37018/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132418/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37018/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37018/

retest this, please

Will merge either Jenkins or Github Action passes.

Test build #132622 has started for PR 30668 at commit b4547a0.

Test build #132622 has finished for PR 30668 at commit b4547a0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Thanks @gaborgsomogyi for the contribution! Merged into master (3.2.0).

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132622/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37224/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37224/

Extremely small step for the community but huge step for me. This was my 100th commit, thank you all! 🙂

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37224/

@gaborgsomogyi it's a extremely large step for the community :-).


Missing parameters in cleanLogs

When cleaning the logs from code (e.g. on App start) a parameter like "sinceDate:(NSDate*)" would be helpful as one does not always want top clean all logs but needs to keep e.g. the last week.
Same problem if you want to keep the last x logs, not possible.
In additional another parameter like "deleteCrashs" would be helpful.
Summary: How about something like "cleanLogsSince:(NSDate*) since keeping:(int)keepMaxLogs deletingCrashes:(BOOL) deleteCrashes" would make sense.

It's a good idea, but I don't know how to show view better.

Hi,
the view itself is fine, it´s simple the API behind that is lacking the functionality.
I will look into this and may provide a solution.
Cheers,
Thomas

On 04 Feb 2015, at 07:35, Yourtion<EMAIL_ADDRESS>wrote:
It's a good idea, but I don't know how to show view better.
—
Reply to this email directly or view it on GitHub https://github.com/yourtion/SuperLogger/issues/4#issuecomment-72798251.

I already working on it. I think I can finish few today.
Thank's a lot


QnAMakerMiddleware options

@cleemullins Included a new QnAMakerMiddlewareOptions class which can be passed to the QnAMakerMiddleware constructor.  This allows the user to specify that the routing should be short circuited on a successful answer.  This seems like a sensible option to provide in the case that the middleware is being used in a chain.
Another option is available to define a default message to be output before a top answer is returned. e.g. "I found this answer that might help...".
I have updated the sample to include comments to show how this can be used.  I am not sure how to update the wiki to include this information, but if you tell me how then I am happy to do this.
If the PR looks good then I am happy to implement something similar for the LUIS Middleware (certainly the option the short circuit would make sense I think).

Do we need a new class for this, or should we extend the existing QnAMakerOptions one?
Also, looks like you've left a QnA model & key in the sample controller.

Idea behind the separate class is because I can envisage some more useful settings that could be added in the near future and its a way of making it so when this happens we are not just extending the constructor for the middleware endlessly. I know it's only a couple of settings now but allows for scale in the future. Make sense?
Thought I'd removed the keys. I'll double check.

Yep, looks like you did remove them in a later commit.

Sorry, also, the reason I didn't put the additional settings into QnamakerOptions is because that is the Qnamaker client that can be used separately, whereas these settings are specifically for the middleware implementation.

@daltskin @cleemullins I have thought of a much nicer way to handle these properties which will remove the need for the additional class. Standby for an update to the PR shortly. 😊

@daltskin @cleemullins ok, I have committed some additional changes so that the QnAMakerMiddlewareOptions class now inherits from QnAMakerOptions.  This now means we have a single options class for the middleware, but we can have specific option properties for the middleware, as well as those needed for the QnAMaker client.  How does that feel to you guys now?

Thanks. I'll update ASAP!

Thanks @cleemullins

@cleemullins is there a way for me to update the wiki with  little more info about the additional parameters we have introduced and the idea of ending the routing etc?


boolean values being treated as strings

I've was trying to use a boolean value in the variables for the complete task method and it was being turned into a json string. I'm not sure if there is another way that to work with booleans that wouldn't require a change, but I added two lines of code to workers.js to handle the case where the type is boolean.
this is what I have now for the last if statement of the getSerializedType method:
if (typeof value === 'number') {
type = 'Double';
} else if(typeof value === 'boolean') {
type = 'Boolean';
}else{
type = 'String';
}

Thanks for reporting!
Your fix looks good. Seems like we simply forgot about boolean type variables :cry:.

Released the bug fix for this with v4.0.1.

Thanks. That was fast.

You're welcome.


improve #326 and solve  #657

Major bug : missing call to internalUpdate after a new layer is added.
Some minor changes to reduce the number of function calls, remove unecessary line, improve the lut management by the scalar range : related #326 #657 ,2 images with big diff in their scalar ranges
In order to overcome the 4 layers limit I would like to change how the layer are managed in the volume rendering.
With less perf. constraint, it might be possible to improve the rendering of the diff layers and to make the code easier to understand. Now layer index are related index of RGBV (difficult to understand but it seems to be a nice trick)

@nbaraka i saw a debug in your PR, some rendering improvements tests, and some coding styles changes. Is it possible to focus on the debug if you find one and create a PR? And concerning the removal of "this" i'm not sure that medInria wants to remove the "this" everywhere (and we do not remove them in music). Is it possible not to change too much various thing in one PR, specially the "this"? ^^

Ready to be merged. Changes have been done only to improve readability in order to solve the bug. "This" might be necessary only for the call of function which have a using def (ie 2) but not to acess data members or call other func.

I personally never use the this pointer unless necessary, as @nbaraka pointed out, so all my code doesn't have it. I don't think we should make it a "rule" to have it. There is already a lot of unnecessary code in medInria/MUSIC.

Personally I don't like 'this->' everywhere.
But it's true, for the moment we don't have a rule for medInria about it.
3 possible cases  :

'this' is mandatory
'this' is at the choice of developer
'this' is by default forbidden

For me I prefer when the developer have the choice then my preference ranking is 2, 3, 1.
But I'm agree with Mathilde to don't personalize coding style during a debug PR.

Yes I agree it should be a developer choice.
I also agree that PRs should not mix functional and style changes, and this has unfortunately been done a lot in the past, so (to take a french expression) we can't really throw the first stone at Nordine...

Great :). Is it possible to create a PR on medInria3.1.x with just the debug?


add function symlink

add the function for "PutSymlink"
from : https://help.aliyun.com/document_detail/45126.html?spm=5176.doc31993.6.884.MVMZAz

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


Use indoc for JSON document literals in test

Indoc takes a string literal and un-indents it so the leftmost non-space character is in the first column. Let me know whether you think this is valuable.
Before:
concat!(
    "[\n",
    "  false,\n",
    "  null,\n",
    "  [\n",
    "    \"foo\\nbar\",\n",
    "    3.5\n",
    "  ]\n",
    "]"
)

After:
indoc!(r#"
    [
      false,
      null,
      [
        "foo\nbar",
        3.5
      ]
    ]"#
)

Neat! That does look a lot cleaner now!


Crash using Twitter Login

Welcome to FirebaseUI and thanks for submitting an issue!
Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository file a GitHub issue.

Step 2: Describe your environment

Objective C or Swift: Swift 4
iOS version: 12
Firebase SDK version:
FirebaseUI version: 6.1.0
CocoaPods Version: 1.6

Step 3: Describe the problem:
If i'm using the awesome auth providers (FUITwitterAuth + FUIEmailAuth) the application crash when i try to log on  a Twitter account (problem during the handle url in the application delegate)
Steps to reproduce:

Enable FUITwitterAuth
Use FUIAuth.defaultAuthUI()?.handleOpen() in the application delegate
Try to log to a Twitter account

Observed Results:

App crash in an the next handler FUIEmailAuth, because of a call [NSURLComponents componentsWithString with a nil string. A part of the problem seems to be the TwitterKit behavior to handle openUrl. FUITwitterAuth failed to handle openUrl ... but for me it's a bug of implementation and  I'have made a pull request to try to fix this (https://github.com/twitter/twitter-kit-ios/pull/109).

Expected Results:

App must no crash.

Relevant Code:
if (!continueURLString) {
  [FUIAuthBaseViewController showAlertWithMessage:@"Invalid link! Missing continue URL."];
  // It's not enought ! it must retour NO ! Because next lines [NSURLComponents componentsWithString will crash because of a nil continueURLString
}

Twitter has been deprecated. Please use FirebaseUI OAuth instead.


feat: Support Signed-By option for apt repository

If it is used, it will avoid using the deprecated apt-key command.
Fixes: #13168

Description
Add support for a signed_by property for apt_repository.
If true, and a key is supplied, it will install the key in a repo-specific keyring, and reference that in the Signed-By option.
If a string, it will pass that string to the Signed-By option.
I'm not sure what the behavior should be if signed_by is a string, and a key is also supplied. Currently it will install the key in a repo-specific location, but use the value of the string in the signed-by field.
Other options for the case where key and signed-by are both specified could be:

install the key in /etc/apt/trusted.gpg.d, and use signed-by as is
try to interpret the first entry (comma seprated) as a file path, and install the key at that location
prepend the generated location to the list of signed-by values if it isn't already included

This still needs testing and documentation. But I wanted to see if this was a good approach before polishing it.
Related Issue
#13168
Types of changes

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

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[x] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

If we can get this to non-draft and rebase on main we can restart the discussion about getting this folded in.


[Golang] bugfix #2517

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

as https://docs.tvm.ai/contribute/code_review.html#ensure-test-coverage can you add a regression test?

@tqchen
The reported errors are specific to OSX version of golang-1.11 & not reproducible on Linux. Also we recommend golang-1.10 with TVM. I tried on Linux golang-1.11 and is not reproducible.
This PR address the lint errors which are good to have on any version.


[I18N] Add Hungarian Webapp translation

Summary
Add Hungarian l18n settings and webapp translation
The server translation is ready in the mattermost weblate.
Ticket Link

@mickmister I leave to you the decision on whether this has to be tested now, or can be deferred to release testing.

Let's wait until release testing since there are conceptually no functional changes here. Thanks @tsabi!!


Update RequestFormBuilder.java

Ref: https://square.github.io/okhttp/3.x/okhttp/okhttp3/RequestBody.html
Arguments were incorrectly placed, which was throwing below exception while running file upload.
Exception in thread "main" java.lang.NoSuchMethodError: okhttp3.RequestBody.create(Ljava/io/File;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
at com.slack.api.methods.RequestFormBuilder.toMultipartBody(RequestFormBuilder.java:1138)
at com.slack.api.methods.impl.MethodsClientImpl.filesUpload(MethodsClientImpl.java:1411)
at com.example.demo.DemoApplication.main(DemoApplication.java:45)
Summary
TODO:
Describe the goal of this PR. Mention any related Issue numbers.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

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

@niranjank4523 Thanks for taking the time to make this PR!
Unfortunately, I'm unable to merge this PR. Your description refers to okhttp v3.x but this SDK is compatible with only okhttp v4.x (strictly speaking, with v4.8.x). The signature change was a breaking change on the okhttp side when they upgraded their major version. Your change indeed compiles as okhttp v4 still allows us to use the previous signature with a deprecation warning. However, even with this change, possibly you will encounter other binary-compatibility issues as long as you use okhttp 3.x along with this SDK.
So, please consider upgrading the okhttp version or separate your code using this SDK from your existing codebase. Please allow me to close this PR. I would be grateful if you could understand this.

@niranjank4523 Thanks for taking the time to make this PR!
Unfortunately, I'm unable to merge this PR. Your description refers to okhttp v3.x but this SDK is compatible with only okhttp v4.x (strictly speaking, with v4.8.x). The signature change was a breaking change on the okhttp side when they upgraded their major version. Your change indeed compiles as okhttp v4 still allows us to use the previous signature with a deprecation warning. However, even with this change, possibly you will encounter other binary-compatibility issues as long as you use okhttp 3.x along with this SDK.
So, please consider upgrading the okhttp version or separate your code using this SDK from your existing codebase. Please allow me to close this PR. I would be grateful if you could understand this.

Thanks for the clarification


Public iperf3 server
https://github.com/R0GGER/public-iperf3-servers

I tried iperf3 from macOS guest to the public server, I can confirm the results. I'm not sure why...

Version macOS iperf3
iperf 3.12 (cJSON 1.7.15)
Darwin codehexnokasoumashin.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:37 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_VMAPPLE arm64
Optional features available: sendfile / zerocopy, authentication, support IPv4 don't fragment

Debian version
iperf 3.9 (cJSON 1.7.13)
Linux debian 5.10.0-20-arm64 #1 SMP Debian 5.10.158-2 (2022-12-13) aarch64
Optional features available: CPU affinity setting, IPv6 flow label, SCTP, TCP congestion algorithm setting, sendfile / zerocopy, socket pacing, authentication

I tried iperf3 from debian guest to public server after updated iperf3, I cannot confirm the result.


480i 8bit TGA demo

Modified 8bit TGA demo to run as 480i. It's probably better to move:
    // enable 480i
    // makefile needs to set JO_NTSC=1 and JO_480i=1
    #if defined(JO_480i)

    VDP2_CRAOFB = 0x0010 | (VDP2_CRAOFB & 0xFF0F);

    // double the size of the fonts printed by jo_printf()
    slZoomNbg0(32768, 32768);
    #endif

from main.c into core.c instead. Please let me know what you think. Credit to fafling and Ponut64 for showing me how to do this.

Maybe use JO_VDP2_CRAOFB instead of VDP2_CRAOFB ?

That's good advice. I switched it to JO_VDP2_CRAOFB but it causes issues. The image is no longer displaying correctly. Not sure why.

Had a test, major palette issues going on here. The screenshot shows me trying to force a different palette, which is output in the printf but the 2nd palette doesn't take effect.
It doesn't seem like we would be able to load more than one palette with this and only indexed TGA's seem to work. I also tried with the hardcoded image demo and the spaceship doesn't display properly and there is some pixel warping going on.

I will check this Pull Request tomorrow :)

I added the code inside core.c in WIP and added PAL support, but I have to continue the implementation, because many demos doesn't work properly. Thx everyone ! :)


Changing Bookstack URL with php artisan

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
Hey,
I've installed Composer and I'm able to do things such as :
$ composer --version
Composer version 2.3.10 2022-07-13 15:48:23

But I really don't understand how to use the 'artisan' php command.
When i do :
$ php artisan bookstack:update-url https://old.com https://new.com
Could not open input file: artisan

There are no questions about that and it really makes me believe it's a basic thing.
After some researches I might need to install/create a laravel project, do I really need to do it ?
Sorry if it's consider as a non-related Bookstack Support Request and sorry for my poor english.
Exact BookStack Version
BookStack v22.06.2
Log Content
No response
PHP Version
PHP 7.3.3
Hosting Environment
Docker for Synology NAS, using docker-compose and the LinuxServer.io's image.

Hi @EctoBoggan,
Since you're running via docker, everything you need is within the container, and that's where you need to run commands.
You don't need to install anything outside the container.
I've never used docker on Synology before, but from looking at some guides:

Go to the running bookstack container in the Synology docker app.
Open the "Terminal" tab of the container.
Create a new shell terminal, I think via the "Create" button, you should be provided a command-line window.
Within the command line, type cd /var/www/html and press enter. You could be taken to the BookStack install files within the container.
Here you should be able to run any required php artisan commands as required. To test this you could run php artisan list bookstack, which simply lists out the available artisan commands.

It works thanks a lot.

To go inside a container directly from shell (Synology docker app can be painfull) :
sudo docker exec -it CONTAINER_NAME bash
Thank you very much and thank you for this amazing app

Just stumbled across this.  Have the same issue, but still can't run php artisan from that folder with the Linuxserver IO docker image

@whattheschnell The linuxserver.io image has recently changed so directories may be different on a very recent image.
Based upon my reading of their changes, The old /var/www/html directory can now be found at /app/www

Here to confirm it is now located in /app/www for linuxserver.io's image, otherwise using /var/www/html gives :
Could not open input file: artisan
Thank you again for your help !


Torch does not have access to GPU after Aydin installation

Describe the bug
After following the conda installation instructions from (https://github.com/royerlab/aydin) pytorch does not have access to the GPU.
To Reproduce
Steps to reproduce the behavior:

Run conda installation instructions from (https://github.com/royerlab/aydin).
Run python in the bash.
Run import torch.
Run torch.cuda.is_available().

Expected behavior
Expected True but gives False
Screenshots

Desktop (please complete the following information):

Windows 10 Enterprise LTSC
GPU: NVIDIA Quadro P1000
Cuda compilation tools, release 11.6, V11.6.124
Build cuda_11.6.r11.6/compiler.31057947_0

Additional context
Interestingly after also installing cudnn with conda install cudnn, tensorflow successfully can find the GPU using:
import tensorflow as tf
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))

Hi @leopold-franz , thank you   for the issue. Our migration from TensorFlow to PyTorch has not completed yet but is in the progress. I  will make sure to update installation guides accordingly with this migration and make sure we can use torch with GPU.

hello @leopold-franz , given the response here: https://discuss.pytorch.org/t/torch-cuda-installation-issues-and-best-practices-when-torch-is-a-dependency/161992 , soon there will be less compatibility issues between pytorch and cuda drivers/cudatoolkit. We depend on latest version of pytorch and will get updates as they make a new release. Meanwhile have you tried installing torch with this: pip install torch --extra-index-url https://download.pytorch.org/whl/cu116? It might help given your cudatoolkit version is also 11.6


read_spss doesn't ignore non-targeted values

It's possible that the values in dichotomous variables in an SPSS file may include more than just the values for yes and no. For example, missing categories may be present.
Non-targeted values should be treated as no in the conversion to Quantipy (for now).

Resolved by #309.


Fix converter BUILD file

This change is

Thanks, @larrylindsey I'll close this PR because the fix is already under review at https://github.com/tensorflow/tfjs-converter/pull/334/files

Oh ok, good to know!


ALVR + NOLO VR

Afternoon,
Has anyone got NOLO VR working with ALVR yet? When I use ALVR the controllers are shown behind and above me. Using the "Apply Offset" I can get myself positioned behind the controllers but not a permanent solution.
I hate VRidge with a passion, I stand in the same room as the ASUS RT-AC3200 that my PC is connected to by ethernet and broadcasting a hidden 5ghz network and still drops out and gives artifacts, and thats at 25mbps bitrate. I can crank ALVR up to 100-150mbps and no problem, looks beaut aswell.
I am not even fussed about wireless functionality.

Hi!!!
The nolo vr team announced this
https://www.facebook.com/NOLO.Virtual.Reality/posts/714508698929087
Just checked out... and seems to be VERY close to ALVR... like if the nolo team just put ALVR INSIDE their Nolo Home app.... Tomorrow will test further, but so far, seems to be good....

Yeh saw this and first thing I thought was ALVR. Good news and the tracking was perfect when I tried for 10 mins before work.

I'm having an issue where I can stream in ALVR just fine, but I can't get Nolo VR to work, and I'm not sure why. My guess is that the first time run whiffs because my RX480 is not supported, because I can see and even connect to the Nolo Oculus Client from the ALVR server, but no luck with the Nolo Server.


Create Contributions.md

This is my attempt to add the Contributions.md to a docs folder.  I did it right here in GitHub with the 'Add Files', but used docs/Contributions.md.
If this seems right, lets merge this.

Perfect.  Thanks.  I tried ###, forgetting that it was h3 not h1 and it never seemed to change, so I stopped trying markdown.


mouse input becomes laggy, sluggish when vsync is enabled

Describe the bug
When enabling vsync the mouse input becomes laggy, sluggish & very heavy
Expected behavior
When enabling vsync frame-rate should be capped to 60 & input should be smooth
Additional context
since input handling is done in the same thread as the rendering thread, it causes the input to update "late" because of the frame cap.

update to latest csprite version, go into edit -> preferences and make EPS higher or equal to your display FPS


Unable to rpm run build

I am trying to install ansijet, but in the last command (npm run build)  I get an error message like this:
npm ERR! Linux 4.2.0-36-generic
npm ERR! argv "node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v0.12.14
npm ERR! npm  v3.9.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build: node --harmony which gulp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script 'node --harmony which gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ansijet package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node --harmony which gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ansijet
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ansijet
npm ERR! There is likely additional logging output above.
Any ideas? am I missing something?
node -v ----> v0.12.14
npm -v ----.> 3.9.2

Found a problem with GULP, this solves it

npm uninstall gulp
npm install gulp -g
npm install


[1.21.1-Neo] Mod causing intense fps drops when being in inventory while JEI is active.

When inventory is open with JEI on the side the FPS goes from my normal ~450 fps down to 70 fps.
Ran a spark client profiler and it seems to be caused by this mod? Not 100, but removing the mod does restore the FPS to the normal fps I'd expect.

Profiler Link: https://spark.lucko.me/DkJi8Z3XuS
Versions
MC: 1.21.1
AE2: 19.0.22-beta
AE2 WT: 19.1.3
JEI: <IP_ADDRESS>
NeoForge: 21.1.50

just from a brief look, it seems like https://github.com/Hidoni/Transmog might cause this, or at least make it worse
tho there are also a few thing I can do in ae2wtlib to make it less bad

it looks like I repeatedly check if the player has a terminal while it doesn't have one
this greatly amplifies the weird interaction with transmog
transmog seems to do quite some expensive stuff in Player#getInventory() when it thinks it is rendering, and apparently ae2wtlib (potentially) changing the item amount counts as rendering for transmog

tho there are also a few thing I can do in ae2wtlib to make it less bad

Any eta on this?

tho there are also a few thing I can do in ae2wtlib to make it less bad

Any eta on this?

I don't make etas, but in this case I can say it won't happen soon, since I have exams I should learn for.

19.1.4-beta (to be released soon) contains a workaround for this, tho I'll keep this issue open until I make the proper fix

can u port that version for 1.21.1 too pls? cuz rn its only for 1.21

can u port that version for 1.21.1 too pls? cuz rn its only for 1.21

ah, right, I still haven't configured it to properly make 1.21.1 releases
I have marked the version as 1.21.1 on modrinth and cf now.

Can confirm newest update pretty much fixes this, thanks a lot! Appreciated.

I have now replaced the workaround with a proper fix, in theory the performance should be slightly better than with the workaround but the difference is likely not noticable


Added tag stories

Added tag stories.
Fix fillParent size.

I think it might be good to have a test of a Tag with a larger image as an icon to test that it scales properly.
Done!


Add peltool

This is a python based PEL parser that outputs a PEL as JSON.  It uses
the same SRC and UserData plugin infrastructure as the original C++
based peltool.
It uses the 'pel_registry' module to find where the
message_registry.json and component name files are installed, though if
that isn't present, which it won't be on the BMC, it will look in the
BMC location which is /usr/share/phosphor-logging/pels/.  If it still
can't find it, it will just skip the SRC details and component names.
Invoke with:
$ python3 -m pel.peltool.peltool -f
$ python3 .../site-packages/pel/peltool/peltool.py -f
For now, it isn't installing peltool.py as a script into bin, since I
don't think I'm ready for all BMC users to know about it yet, which
they would if it was in the path along with the original peltool.
Signed-off-by: George Liu<EMAIL_ADDRESS>Signed-off-by: Matt Spinler<EMAIL_ADDRESS>

I can break this up per file if you'd like.