Dronekit timeout, no heartbeat in last 5 seconds

While using the command:
edison@jubilinux:~$ mavproxy.py --master=/dev/ttyMFD1 --baudrate=921600
I get the following response from the system meaning that my companion-computer communicates correctly with the flight controller: -->
Connect /dev/ttyMFD1 source_system=255
Failed to load module: No module named terrain. Use 'set moddebug 3' in the MAVProxy console to enable traceback
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from /dev/ttyMFD1
MAV> online system 1
RTL> Mode RTL
MAV> Received 1039 parameters
Saved 1039 parameters to mav.parm
However, when I try to connect through dronekit using commands:
edison@jubilinux:~$ python
from dronekit import connect
vehicle = connect('/dev/ttyMFD1', wait_ready=True, baud=921600)
this error occurs: -->
WARNING:dronekit:Link timeout, no heartbeat in last 5 seconds
ERROR:dronekit.mavlink:Exception in MAVLink input loop
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/dronekit/mavlink.py", line 211, in mavlink_thread_in
fn(self)
File "/usr/local/lib/python2.7/dist-packages/dronekit/init.py", line 1371, in listener
self._heartbeat_error)
APIException: No heartbeat in 30 seconds, aborting.
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/dronekit/init.py", line 3172, in connect
timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/dronekit/init.py", line 2375, in wait_ready
timeout)
dronekit.TimeoutError: wait_ready experienced a timeout after 30 seconds.
===========================================
My system consists of the bellow materials:
Flight controller: Pixhawk 2.0 (Cube black)
Flight controller firmware: ArduPlane 4.0.5
Companion computer: Intel Edison
Companion computer firmware: Jubilinux
DroneKit version: 2.9.2
Pymavlink version: 2.4.8
MAVproxy version: 1.8.19
Any opinion?

The reason behind this issue is the ardupilot firmware "arduplane". Since I tried the same process using Rasberry pi, the companion computer presented the same communication error. Even if older firmware and beta versions were used, the problem remains, while utilizing the copter firmware the communication between companion computer (Edison, Rasberry pi 3 B) works normally. So an open issue remains for "arduplane".

Thanks for the info @eminakgun! Another question: which version of python you used?
I ask this because I observed than pymavlink works more robust in python 3.

I work with python 2.7. I plan to move on to python 3

I have the exact same issue. I can run mavproxy.py --master=/dev/ttyAMA0 and can even arm the drone with arm throttle .
But when i try to run a python script, it gives me the same error:
WARNING:dronekit:Link timeout, no heartbeat in last 5 seconds
My setup:
Pixhawk Cube Black with Arducopter v4.07
Pixhawk with Pi OS Lite
Python Version: 2.7.16
PyMavlink: 2.4.14
MavProxy: 1.8.34
Has anyone had the same issue and figured this out?

I have the exact same issue. I can run mavproxy.py --master=/dev/ttyAMA0 and can even arm the drone with arm throttle .
But when i try to run a python script, it gives me the same error:
WARNING:dronekit:Link timeout, no heartbeat in last 5 seconds
My setup:
Pixhawk Cube Black with Arducopter v4.07
Pixhawk with Pi OS Lite
Python Version: 2.7.16
PyMavlink: 2.4.14
MavProxy: 1.8.34
Has anyone had the same issue and figured this out?

Try to use Python 3.

Has any one ever sorted this out?
I have the same issue with python 3.9.
Everything else works fine.


[BUG]The 'AutoLogin Mojang accounts' feature doesn't work as expected

Versions

EasyAuth 2.0.5
Fabric API 0.44.0

Describe the bug
Offline-mode Players cannot log into the server with this config set.
To Reproduce
Steps to reproduce the behavior:

Install Fabric API and EasyAuth
Start the server once and then turn it off
Turn on AutoLogin as this wiki page suggests, and set online-mode=true in server.properties
Start the server
See error (Premium players can join the server while offline-mode players see the 'Invalid Session' error.)

Expected behavior
Both premium players and offline-mode players can join the server with different login policies applied to them accordingly.
Additional context

That's happens probably because offline player use same nickname as someone other account. Add it (in lowercase) in forcedOfflinePlayers and /auth reload.
Or with /auth addToForcedOffline <player> in 2.0.6
// I'm definitely must update wiki pages and mention this moment

The same happens even when we use random names that aren't occupied.
And when I added a nickname in the forcedOfflinePlayers, the behavior now becomes more weird than before: An offline player with the added nickname can join in the server, but there will be no register or login process as if he has been authenticated.
It seems like the critical part of the authentication process is not working somehow.

Sorry for the long answer. I just didn't know what to say because I cannot reproduce this issue.

An offline player with the added nickname can join in the server, but there will be no register or login process as if he has been authenticated.

There is probably because of that player still have valid session.
If you still encounter any problem feel free to reopen this issue or open new. I will answer faster next time


Fixed the loop upper limit

The loop should run 1 million times instead of 1.6 million times, as it does with all other benchmarks.

Hui, good catch. Thanks.


Cannot get the result from lpa_u2i on the test dataset

Describe the bug
Trying to run the code very similar to what we have in unittests I am getting the error:
CompilationError: Failed to compile 27e6afdfeb36fa629ee77fa943ca6f6aa42c019af9188f4e31c8caf7e784f385 on platform
system: Linux
To Reproduce
Steps to reproduce the behavior:

Cloned the test datasets repo with git clone -b master --single-branch --depth=1 https://github.com/7br/gstest.git GraphScopeTestData
Copied the files from "/property/lpa_dataset" to "/Lab"
Invoked the code (I did my best to be close to unittest)

import pandas as pd
import graphscope

import os
cwd = os.getcwd()

graphscope.set_option(show_log=True)
sess = graphscope.session(cluster_type="hosts", num_workers=2, mode="eager")

g = sess.g(generate_eid=False, retain_oid=False)
g = g.add_vertices(f"{cwd}/Lab/lpa_3000_v_0", "v0")
g = g.add_vertices(f"{cwd}/Lab/lpa_3000_v_1", "v1")
g = g.add_edges(
    f"{cwd}/Lab/lpa_3000_e_0", "e0", ["weight"], "v0", "v1"
)

property_context = graphscope.lpa_u2i(g, max_round=20)
#print(property_context.schema)
df = property_context.to_dataframe(
    {"node": "v:v0.id", "label0": "r:v0.label_0", "label1": "r:v0.label_1"}
)
print("dataframe:")
print(df)

sess.close()

Expected behavior
No error, code should go to the end.
Screenshots
Logs attached below.
Environment (please complete the following information):

GraphScope version: 0.28.0
OS: WSL2 on Windows 10
Kubernetes Version v1.25.2

Additional context
log.txt
Well, the key problem is the absence of example for lpa_u2i.

Closing - I guess it is more like question, not an issue.


Typos discrepancies

"Note that the [Register("CodeBasedViewContoller")] [DOES NOT MATCH] the value that you specified for the NSPrincipalClass above." There is a missing 'R' in 'Controller'.  Always be careful when copying code.  Also another discrepancy is that in the tutorial they use the key 'NSPrincipalClass' when that seems to be wrong.  I believe that it is supposed to be 'NSExtensionPrincipalClass'.  You can even see this being used in the second screenshot (https://docs.microsoft.com/en-us/xamarin/ios/platform/extensions-images/registerandprincipalclass.png). Maybe this is just a version discrepancy.  Still with fixing these issues in my project, I am getting either the "Unable to load" popping up or nothing at all.  Doing it with the storyboard would work sometimes, but not every time.  I still don't know what to do.

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

ID: 8d278733-2d2b-1f5e-e18c-4dbf7536b4ac
Version Independent ID: 366ce08a-c2b6-5b85-4326-7e74243b272d
Content: iOS Extensions in Xamarin.iOS - Xamarin
Content Source: docs/ios/platform/extensions.md
Product: xamarin
GitHub Login: @bradumbaugh
Microsoft Alias: brumbaug

Hi @tyobrien98, thanks for calling these things out! A couple of changes are working their way through the publishing pipeline:

I've updated the misspelled controller name in a couple of places in the doc
I changed NSPrincipalClass to NSExtensionPrincipalClass throughout the doc

Also, I've made a note in our internal backlog that we need to review and update this document as necessary.
If you believe you're encountering a bug, please file it on Developer Community.
Thanks again for your help!
Brad


ec2-user on docker host not part of docker group

The ec2-user isn't part of the docker user so sudo is needed for all docker commands.  In contrast, the Azure QS template adds the user to the docker group.

fixed in install-solace might want to move to the cf template if possible.

commit info:
https://github.com/SolaceLabs/solace-aws-ha-quickstart/commit/fa9c532e0fa8c87f45ec1f2a7c8b3947dbed49af


Consider using PNG zTXt with JSON for position storage

The PNG RFC offers compressed, easy to read, and unlimited storage in zTXt chunks that would be a significant improvement over using stenography.  It would be nice to have in JSON format for export to other tools!
https://www.w3.org/TR/2003/REC-PNG-20031110/#11zTXt
This library seems to provide the functionality:  https://github.com/finnp/png-itxt

This definitely looks interesting, though can't say I can currently spare the time to improve a 'working' feature. Steganography + LZString has proven to be flaky and I've had to make a few changes to make it work. If I see continued reports of bad map encoding then I will make the switch.


typo error in code docker-ap/build/Dockerfile_x86_64

there is typo error in line number 6 at "docker-ap/build/Dockerfile_x86_64" in
"FROM ubunut:14.04" please see and correct there is no such image in docker so if it's your personal upload that.

Fixed, thank you!


Refactor AudioBlockFormatObjects tests

An attempt to remove duplication in parameter tests

check_defaulted_param, check_optional_param and check_required_param methods for testing the common behaviour shared by independent parameters that follow the defaulted, optional or required patterns.
audio_block_format_common_tests - a template test case that checks parameter behaviour across all AudioBlockFormat types

Have only updated the AudioBlockFormatObjects tests and HeadphoneVirtualise to use these new methods so far.

Codecov Report

Merging #108 (afcbfe0) into 2076-2 (bba67f8) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           2076-2     #108      +/-   ##
==========================================
- Coverage   90.78%   90.75%   -0.04%
==========================================
  Files         122      122
  Lines        5700     5700
==========================================
- Hits         5175     5173       -2
- Misses        525      527       +2

Impacted Files
Coverage Δ

src/elements/audio_block_format_objects.cpp
74.76% <0.00%> (-1.87%)
:arrow_down:

Continue to review full report at Codecov.

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

This looks good overall; I like the approach.
As a curiosity, I think it might have been possible to use catch matchers, but I'm not sure if that's sensible as they would have to modify the element. For example:
check_defaulted_param<Width>(blockFormat, hasDefaultOf(.0f),
                                 canBeSetTo(45.f));

might become:
REQUIRE_THAT(blockFormat, HasDefault<Width>{0.0f});
REQUIRE_THAT(blockFormat, CanBeSetTo<Width>{45.0f});

Other minor thoughts were that it needs formatting, and that I've moved towards putting using namespace adm at the top level in tests (and especially avoid introducing another level of nesting inside tests). I don't think the guidance against that really makes sense in tests, especially when there's no code in the file which is not influenced by the using namespace.


[spike] Multi account for wallet connect

does wallet connect support multiple accounts
what is the lift to implement support for this
do this after all other multi account stuff is wrapped up

@0xean or @twblack88 do you know of any wallets or dApps that support this? So far it appears to be theoretically possible but without anything to connect to it would be fairly moot.
On the plus side, we do currently support use of multiple accounts when connected as a wallet ✅
When connected as a dApp we only see the first account. This is something we should fix and would actually be useful. The example I see currently is ledger live connected to ShapeShift via WalletConnect, where 2 accounts are connected but we're only displaying the first one.

It's probably important here to confirm which side of the WalletConnect ecosystem we are talking about.
I believe this would be us, as a wallet, using WalletConnect to connect to other dApps.
It would be theoretically possibly to use our new account management UI to add new chains to the WalletConnect session via the session_update event.
As noted about @woodenfurniture, we are probably not handling the accounts a wallet gives us in the session payload when we are connected as a dApp, as we just use the existing logic to derive accounts, and so I assume if a wallet gives us an account with 0 balance in the session request we don't actually show it in ShapeShift without manually adding it.

It would be theoretically possibly to use our new account management UI to add new chains to the WalletConnect session via the session_update event.

Agree, we absolutely should be emitting that event when accounts change, even if the dApp on the other end isn't handling this event

Will turn this into tix

Ticket for "Make ShapeShift as a WalletConnect dApp connect to all accounts in the request":
https://github.com/shapeshift/web/issues/7118
Ticket for "Make ShapeShift as a WalletConnect wallet/dApp emit/respond to session_update event when accounts change":
https://github.com/shapeshift/web/issues/7119


connection refused to local daemon - first example from documentation

The following simple source fails for my local system
from pylxd import Client
client = Client()
all_containers = client.containers.all()
print(client.containers.all())

Installation
lxc installation
The preferred method for installing plxd on ubuntu 18.04 LTS is to use snap
% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

% sudo snap install lxd
% lxd --version
3.20

Python environment installation
Typically people use Anaconda/conda for installing and managing python environments - that is what I do. I use the lighter-weight version Miniconda
I have a conda virtual environment configured for working with lxc and pylxd.
This environment is built using an environment.yml file:
name: lxc-x11
channels:
  - anaconda
  - conda-forge
  - defaults
dependencies:
  - pip
  - pylint
  - anaconda:python=3
  - pip:
    - pylxd

% pip show pylxd
Name: pylxd
Version: 2.2.10
Summary: python library for lxd
Home-page: http://www.linuxcontainers.org
Author: Paul Hummer and others (see CONTRIBUTORS.rst)
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/site-packages
Requires: requests-unixsocket, cryptography, pbr, ws4py, requests-toolbelt, python-dateutil, six, requests
Required-by:
(lxc-x11)

*** I have attached a copy of conda list from this environment as conda-list.txt
Problem demonstration
from the pylxd documentation on readthedocs, I created the following python source for a local daemon. I don't believe i need any certificate to perform this action.
from pylxd import Client
client = Client()

all_containers = client.containers.all()

print(client.containers.all())

lxc can list containers from the command-line, no-problem.
% lxc list
+---------+---------+------+------+-----------+-----------+
|  NAME   |  STATE  | IPV4 | IPV6 |   TYPE    | SNAPSHOTS |
+---------+---------+------+------+-----------+-----------+
| byobu   | STOPPED |      |      | CONTAINER | 0         |
+---------+---------+------+------+-----------+-----------+
| gui1804 | STOPPED |      |      | CONTAINER | 1         |

If I execute the python source:
% python ./pylxd-test.py
Traceback (most recent call last):
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/site-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/http/client.py", line 1230, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/http/client.py", line 1276, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/http/client.py", line 1225, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/http/client.py", line 1004, in _send_output
    self.send(msg)
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/http/client.py", line 944, in send
    self.connect()
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python3.8/site-packages/requests_unixsocket/adapters.py", line 41, in connect
    sock.connect(socket_path)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:
[...]

*** I have attached the full output from % python ./pylxd-test.py 2>pylxd-err.txt  as pylxd-err.txt
Python 2.7
If I switch to python 2.7 in environment.yml and conda  env update --prune. I get a similar error:
% python --version
Python 2.7.17 :: Anaconda, Inc.

% pip show pylxd
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. [...]
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Name: pylxd
Version: 2.2.10
Summary: python library for lxd
Home-page: http://www.linuxcontainers.org
Author: Paul Hummer and others (see CONTRIBUTORS.rst)
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /home/peterg/miniconda3/envs/lxc-x11/lib/python2.7/site-packages
Requires: python-dateutil, ws4py, pyOpenSSL, requests-unixsocket, pbr, cryptography, six, requests, requests-toolbelt
Required-by:

%python ./pylxd-test.py
Traceback (most recent call last):
  File "./pylxd-test.py", line 2, in <module>
    client = Client()
  File "/home/peterg/miniconda3/envs/lxc-x11/lib/python2.7/site-packages/pylxd/client.py", line 315, in __init__
    raise exceptions.ClientConnectionFailed()
pylxd.exceptions.ClientConnectionFailed

I just installed the same environment within an Ubuntu 18.04 container, ran a nested ubuntu 18.04 container, and ran my test python source.
(base) ubuntu@pylxd:~$ conda activate lxc-x11
(lxc-x11) ubuntu@pylxd:~$ python ./pylxd-test.py
[<pylxd.models.container.Container object at 0x7f62f3726110>]

So it seems my workstation has some configuration which is incompatible with pylxd. I purposely kept the containers in the above test the same version as the host. Quite distressing - Ayn ideas ?

results of snap info lxd attached
snapinfo.txt

I'm going to re-init lxd after lxd init --dump and do a diff.

Hi Peter
It'll be the endpoint detection code that's trying to work out whether a package (from repos) or a snap is installed.  The relevant code starts at: https://github.com/lxc/pylxd/blob/master/pylxd/client.py#L296
I suspect (but can't be sure) that you've either still got, or had, a pkg installed version of LXD, and now have a snap installed version, and the detection code is going for the pkg version.  You can override using the LXD_DIR env variable (see the above code for an example).
If it's NOT the above, then something else weird is going on.  Let me know how it goes?  Thanks.

Closing this old issue. The snap detection logic was reworked and has been working reliably AFAIK. If not, please let us know through a fresh issue, thanks.


yarn dev get connect error

step1: clone project
step2: yarn dev
step3: click the preview link
Observation:

No app loaded in browser
See this:  Error forwarding web request: Error: connect ECONNREFUSED <IP_ADDRESS>:39441

Screen result:
22:45:17 │ remix │
22:45:17 │ remix │  💿  remix dev
22:45:17 │ remix │
22:45:17 │ remix │  info  building...
22:45:18 │ remix │  info  built (1.1s)
22:45:19 │ remix │ [shopify-api/INFO] version 7.6.0, environment Remix
22:45:19 │ remix │ Remix App Server started at http://localhost:39441 (http://<IP_ADDRESS>:39441)
22:45:19 │ remix │ Error: Prisma session table does not exist. This could happen for a few reasons, see
https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-app-session-storage-prisma#troubleshooting for more information
22:45:19 │ remix │     at /home/peter/Codes/shopify/example-app--qr-code--remix/node_modules/@shopify/shopify-app-session-storage-prisma/build/cjs/prisma.js:21:13
Error forwarding web request: Error: connect ECONNREFUSED <IP_ADDRESS>:39441

The issue has been resolved. Following is the analysis:

I am using Ubuntu 22.04.
Prisma client client reports glibc_2.33 not found during sq-lite DB preview.
Prisma report session table does not exist error during app start.
app failed to start due to Prisma error
The connection error above.
The fix is to upgrade nodejs version to v20.6.1.


Add Chromium icon assignment

Hey Jean 👋
Love the recent updates, I'm planning on submitting a theme soon, but for now here's an icon assignment for Chromium 👍

Hi, thanks & thanks!
Glad to hear from you :)


Use integer representation instead of string representation for chain id

To improve the constraints with the chainId we should avoid using a CharField and use a numeric representation that can encapsulate a a big enough range to cover the existing chains.

Closed via #94


Add option to disable context menus

I love the functionality of this plugin, but I only use the keyboard shortcuts. I find that the Right-Click context menus just clutter things up, so I'd like to be able to disable them.
How much work would it be to add an option for this?

@camjackson thats a good suggestion, i'll investigate adding a config option for this.

@vishysank Hi!
I implemented a quick fix for this. If you give me the permissions, I'll push it and create a pull request.

@pdonias that is awesome! Thanks ! I'm not sure how I can give you permissions on atom, but if push a branch to this repo and open a PR, I can review and approve it. When new code is added to master, a new atom version is automatically pushed out.

@pdonias, I'll also add a thank you mention in the documentation, and you'll be included as a contributer on this repo

The problem is I can't seem to be able to push a new branch. (Permission to vishysank/console-log-atom.git denied to pdonias.)
But if you go to Settings > Collaborators, you should be able to add me as a collaborator.

@pdonias okay, added you as a collaborator

Thanks :)

@camjackson, as of v 1.8.0 this should now be a config option, thanks to some sweet work by @pdonias. If you guys like using the site, star it on atom or github !

Wow, that was quick!
@pdonias, for future reference, usually people would fork the repo into their own github account, and push it to there. Then you can create a pull request from your fork to the main repo :)

@camjackson copy that, thanks.


Question: What Encoder Does Aves Use to Encode JPEGs?

Is it MozJPEG or something different? In many benchmarks online, MozJPEG performs as good if not better than WebP.

Aves uses the native Android encoders for images, not an external library.

Okay. I checked and it seems like Android just uses the basic libjpeg encoder. :/
However, I looked a bit more and it seems that there is already some efforts making mozjpeg available in Flutter apps, like
https://pub.dev/packages/flutter_mozjpeg/example
and
https://github.com/espresso3389/flutter_mozjpeg
So, my next question would be: should I open a feature request to support (even optionally) of the mozjpeg encoder in Aves? Or is that something you have less than zero interest in implementing? It vaguely seems doable and it would definitely improve the output quality (only drawback is it would be slower, especially on older devices, but supposedly not more than the natibe WebP encoder).

Thanks for looking into it, but I have no intention of changing the jpeg encoder.

Darn. Alright. Thanks for letting me know.


Money Object to INT/Cents

When I have created and calculated a money object what should I do with it to the INT format I need to have for my Database Insert ?
My moneyObject (simple uncalculated one):
$amount = new Money('100', new Currency('EUR'));
But this is the way to Parse normally 100 euro to 10000:
$currencies = new ISOCurrencies();
$moneyParser = new DecimalMoneyParser($currencies);
$money = $moneyParser->parse('10000', 'EUR');

How to combine these two in a decent manner ?

It seems you need to parse a DecimalMoneyParser and calculate with that, if I'm right.

See the docs.


Different undefined symbol errors (depends on the compiler)

Hi,
I compiled the latest GodotSteam module from the latest source and it throws some errors.
Used versions: Godot 3.4 + GodotSteam  31.0.4 + Steamworks 1.52
used g++ version:
g++ (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
with g++ I getting this error
./godot.x11.tools.64: symbol lookup error: ./godot.x11.tools.64: undefined symbol: __gxx_personality_v0
used clang version:
clang version 13.0.0 (Fedora 13.0.0~rc1-1.fc35)
with clang:
./godot.x11.tools.64.llvm: symbol lookup error: ./godot.x11.tools.64.llvm: undefined symbol: __cxa_pure_virtual
without the GodotSteam module, after the compiling, it works properly.

That's mighty strange as those don't look like Steamworks symbols at all.  I found this however about _cxa_pure_virtual.
Might be something in the newer code that was added.  Do you get any weird warnings or errors during compilation?

With clang, I'm getting only these warnings, no error
[kenguru@fedora godot-3.4-stable]$ scons -j12 platform=x11 use_llvm=yes >> clang_output
modules/godotsteam/godotsteam.cpp:3428:29: warning: array index 32 is past the end of the array (which contains 32 elements) [-Warray-bounds]
                game_server["game_dir"] = server_item->m_szGameDir[k_cbMaxGameServerGameDir];
                                          ^                        ~~~~~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/matchmakingtypes.h:200:2: note: array 'm_szGameDir' declared here
        char m_szGameDir[k_cbMaxGameServerGameDir];                                     ///< current game directory
        ^
modules/godotsteam/godotsteam.cpp:3429:24: warning: array index 32 is past the end of the array (which contains 32 elements) [-Warray-bounds]
                game_server["map"] = server_item->m_szMap[k_cbMaxGameServerMapName];
                                     ^                    ~~~~~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/matchmakingtypes.h:201:2: note: array 'm_szMap' declared here
        char m_szMap[k_cbMaxGameServerMapName];                                         ///< current map
        ^
modules/godotsteam/godotsteam.cpp:3430:32: warning: array index 64 is past the end of the array (which contains 64 elements) [-Warray-bounds]
                game_server["description"] = server_item->m_szGameDescription[k_cbMaxGameServerGameDescription];
                                             ^                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/matchmakingtypes.h:202:2: note: array 'm_szGameDescription' declared here
        char m_szGameDescription[k_cbMaxGameServerGameDescription];     ///< game description
        ^
modules/godotsteam/godotsteam.cpp:7960:13: warning: array index 240 is past the end of the array (which contains 240 elements) [-Warray-bounds]
        char key = call_data->m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
                   ^                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/isteamapps.h:183:2: note: array 'm_rgchKey' declared here
        char    m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
        ^
modules/godotsteam_server/godotsteam_server.cpp:3151:13: warning: array index 240 is past the end of the array (which contains 240 elements) [-Warray-bounds]
        char key = call_data->m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
                   ^                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/isteamapps.h:183:2: note: array 'm_rgchKey' declared here
        char    m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
        ^
modules/godotsteam/godotsteam.cpp:9351:15: warning: array index 260 is past the end of the array (which contains 260 elements) [-Warray-bounds]
                char name = call_data->m_rgchFilename[k_cchFilenameMax];
                            ^                         ~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/isteamremotestorage.h:353:2: note: array 'm_rgchFilename' declared here
        char m_rgchFilename[k_cchFilenameMax]; // The name of the file that was shared
        ^
modules/godotsteam/godotsteam.cpp:9377:19: warning: array index 260 is past the end of the array (which contains 260 elements) [-Warray-bounds]
                char filename = call_data->m_pchFileName[k_cchFilenameMax];
                                ^                        ~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/isteamremotestorage.h:464:2: note: array 'm_pchFileName' declared here
        char m_pchFileName[k_cchFilenameMax];           // The name of the file that was downloaded.
        ^
1 warning generated.
6 warnings generated.

with g++:
[kenguru@fedora godot-3.4-stable_]$ scons -j12 platform=x11 >> gpp_output
thirdparty/opus/opus_decoder.c:37:10: note: '#pragma message: You appear to be compiling without optimization, if so opus will be very slow.'
   37 | # pragma message "You appear to be compiling without optimization, if so opus will be very slow."
      |          ^~~~~~~
modules/godotsteam/godotsteam.cpp: In member function 'void Steam::_network_authentication_status(SteamNetAuthenticationStatus_t*)':
modules/godotsteam/godotsteam.cpp:8781:18: warning: 'void operator delete [](void*)' called on pointer 'call_data' with nonzero offset 4 [-Wfree-nonheap-object]
 8781 |         delete[] debug_message;
      |                  ^~~~~~~~~~~~~
modules/godotsteam/godotsteam.cpp: In member function 'void Steam::_relay_network_status(SteamRelayNetworkStatus_t*)':
modules/godotsteam/godotsteam.cpp:8795:18: warning: 'void operator delete [](void*)' called on pointer 'call_data' with nonzero offset 16 [-Wfree-nonheap-object]
 8795 |         delete[] debug_message;
      |                  ^~~~~~~~~~~~~

I server part is not relevant now I think.

Hmm, that's weird they both get different sets of warnings.  While these might not be causing your issue, these should still be fixed.  I will get this fixed up and provide some files to try out.  Will report back in a bit.
An unrelated thing to note: you are missing a bunch of SCONS flags like target, production, and tools.

Try compiling with these modified files and let me know which warnings are fixed.  I have no way of testing this as I never see these warning on Windows or Ubuntu 16.04 with GCC 9.

now it's works properly (I mean the editor started properly)
but I have a new set of warnings
clang:
[kenguru@fedora godot-3.4-stable]$ scons -j12 platform=x11 use_llvm=yes >> clang_output
modules/godotsteam/godotsteam.cpp:4723:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete this_buffer;
        ^
              []
modules/godotsteam/godotsteam.cpp:4720:22: note: allocated with 'new[]' here
        char *this_buffer = new char[buffer.size()];
                            ^
modules/godotsteam/godotsteam.cpp:4734:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete this_string;
        ^
              []
modules/godotsteam/godotsteam.cpp:4730:22: note: allocated with 'new[]' here
        char *this_string = new char[128];
                            ^
modules/godotsteam/godotsteam.cpp:4808:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete this_buffer;
        ^
              []
modules/godotsteam/godotsteam.cpp:4805:22: note: allocated with 'new[]' here
        char *this_buffer = new char[buffer.size()];
                            ^
modules/godotsteam/godotsteam.cpp:4818:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
        delete this_string;
        ^
              []
modules/godotsteam/godotsteam.cpp:4814:22: note: allocated with 'new[]' here
        char *this_string = new char[48];
                            ^
modules/godotsteam/godotsteam.cpp:8949:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(debug_message, call_data->m_debugMsg);
                               ^~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/godotsteam.cpp:8949:25: note: treat the string as an argument to avoid this
        sprintf(debug_message, call_data->m_debugMsg);
                               ^
                               "%s",
5 warnings generated.

g++ :
[kenguru@fedora godot-3.4-stable_]$ scons -j12 platform=x11 >> gpp_output
modules/godotsteam/godotsteam.cpp: In member function 'void Steam::_app_proof_of_purchase_key_response(AppProofOfPurchaseKeyResponse_t*)':
modules/godotsteam/godotsteam.cpp:8117:18: warning: 'void operator delete [](void*)' called on pointer 'call_data' with nonzero offset 12 [-Wfree-nonheap-object]
 8117 |         delete[] key;
      |                  ^~~
modules/godotsteam/godotsteam.cpp: In member function 'void Steam::_network_authentication_status(SteamNetAuthenticationStatus_t*)':
modules/godotsteam/godotsteam.cpp:8937:18: warning: 'void operator delete [](void*)' called on pointer 'call_data' with nonzero offset 4 [-Wfree-nonheap-object]
 8937 |         delete[] debug_message;
      |                  ^~~~~~~~~~~~~

I can test you any time if you want, I'm using Fedora and I update everything regularly (it's not cutting edge level, but I think the newest kinda stable versions)
if you want to fix these warning I can help.
Unfortunately I don't speak in C/C++ so I cannot help your work with pullrequests

Oh yeah, I'd like to fix the warnings if possible.  They might not be errors but they could have unforeseen consequences.
Speaking of, here are two new test files to try out!  Let me know what warnings or errors you get.
Ah, haha.  In your error outputs you posted I didn't see them so I figured I'd mention it!

Okay, it's compiled properly without any warning.
but :D
Godot steam server - clang:
[kenguru@fedora godot-3.4-stable]$ scons -j12 platform=server tools=no target=release use_llvm=yes >> clang_server_output
modules/godotsteam_server/godotsteam_server.cpp:3151:13: warning: array index 240 is past the end of the array (which contains 240 elements) [-Warray-bounds]
        char key = call_data->m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
                   ^                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/sdk/public/steam/isteamapps.h:183:2: note: array 'm_rgchKey' declared here
        char    m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
        ^
1 warning generated.

sorry it's a little bit long, and most of it isn't related to the Godot steam.
Godot steam server - g++:
[kenguru@fedora godot-3.4-stable_]$ scons -j12 platform=server tools=no target=release >> gpp_server_output
In file included from modules/csg/csg.cpp:31:
In member function 'CSGBrushOperation::Build2DFaces& CSGBrushOperation::Build2DFaces::operator=(CSGBrushOperation::Build2DFaces&&)',
    inlined from 'void CSGBrushOperation::update_faces(const CSGBrush&, int, const CSGBrush&, int, CSGBrushOperation::Build2DFaceCollection&, float)' at modules/csg/csg.cpp:1375:59:
modules/csg/csg.h:156:16: warning: '<anonymous>.CSGBrushOperation::Build2DFaces::vertex_snap2' may be used uninitialized [-Wmaybe-uninitialized]
  156 |         struct Build2DFaces {
      |                ^~~~~~~~~~~~
modules/csg/csg.cpp: In member function 'void CSGBrushOperation::update_faces(const CSGBrush&, int, const CSGBrush&, int, CSGBrushOperation::Build2DFaceCollection&, float)':
modules/csg/csg.cpp:1375:73: note: '<anonymous>' declared here
 1375 |                 p_collection.build2DFacesA[p_face_idx_a] = Build2DFaces();
      |                                                                         ^
In file included from modules/csg/csg.cpp:31:
In member function 'CSGBrushOperation::Build2DFaces& CSGBrushOperation::Build2DFaces::operator=(CSGBrushOperation::Build2DFaces&&)',
    inlined from 'void CSGBrushOperation::update_faces(const CSGBrush&, int, const CSGBrush&, int, CSGBrushOperation::Build2DFaceCollection&, float)' at modules/csg/csg.cpp:1382:59:
modules/csg/csg.h:156:16: warning: '<anonymous>.CSGBrushOperation::Build2DFaces::vertex_snap2' may be used uninitialized [-Wmaybe-uninitialized]
  156 |         struct Build2DFaces {
      |                ^~~~~~~~~~~~
modules/csg/csg.cpp: In member function 'void CSGBrushOperation::update_faces(const CSGBrush&, int, const CSGBrush&, int, CSGBrushOperation::Build2DFaceCollection&, float)':
modules/csg/csg.cpp:1382:73: note: '<anonymous>' declared here
 1382 |                 p_collection.build2DFacesB[p_face_idx_b] = Build2DFaces();
      |                                                                         ^
modules/godotsteam_server/godotsteam_server.cpp: In member function 'void SteamServer::_app_proof_of_purchase_key_response(AppProofOfPurchaseKeyResponse_t*)':
modules/godotsteam_server/godotsteam_server.cpp:3151:70: warning: array subscript 240 is above array bounds of 'char [240]' [-Warray-bounds]
 3151 |         char key = call_data->m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from modules/godotsteam/sdk/public/steam/steam_api.h:30,
                 from modules/godotsteam/sdk/public/steam/steam_gameserver.h:13,
                 from modules/godotsteam_server/godotsteam_server.h:23,
                 from modules/godotsteam_server/godotsteam_server.cpp:18:
modules/godotsteam/sdk/public/steam/isteamapps.h:183:17: note: while referencing 'AppProofOfPurchaseKeyResponse_t::m_rgchKey'
  183 |         char    m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
      |                 ^~~~~~~~~
scene/3d/baked_lightmap.cpp: In member function 'void BakedLightmap::_find_meshes_and_lights(Node*, Vector<BakedLightmap::MeshesFound>&, Vector<BakedLightmap::LightsFound>&)':
scene/3d/baked_lightmap.cpp:392:73: warning: 'this' pointer is null [-Wnonnull]
  392 |                                 all_override = mi->get_material_override();
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from scene/3d/multimesh_instance.h:34,
                 from scene/3d/baked_lightmap.h:35,
                 from scene/3d/baked_lightmap.cpp:31:
./scene/3d/visual_instance.h:153:23: note: in a call to non-static member function 'Ref<Material> GeometryInstance::get_material_override() const'
  153 |         Ref<Material> get_material_override() const;
      |                       ^~~~~~~~~~~~~~~~~~~~~
scene/3d/baked_lightmap.cpp:417:87: warning: 'this' pointer is null [-Wnonnull]
  417 |                                         mf.cast_shadows = mi->get_cast_shadows_setting() != GeometryInstance::SHADOW_CASTING_SETTING_OFF;
      |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from scene/3d/multimesh_instance.h:34,
                 from scene/3d/baked_lightmap.h:35,
                 from scene/3d/baked_lightmap.cpp:31:
./scene/3d/visual_instance.h:129:30: note: in a call to non-static member function 'GeometryInstance::ShadowCastingSetting GeometryInstance::get_cast_shadows_setting() const'
  129 |         ShadowCastingSetting get_cast_shadows_setting() const;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
scene/3d/baked_lightmap.cpp:418:89: warning: 'this' pointer is null [-Wnonnull]
  418 |                                         mf.generate_lightmap = mi->get_generate_lightmap();
      |                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from scene/3d/multimesh_instance.h:34,
                 from scene/3d/baked_lightmap.h:35,
                 from scene/3d/baked_lightmap.cpp:31:
./scene/3d/visual_instance.h:135:14: note: in a call to non-static member function 'bool GeometryInstance::get_generate_lightmap()'
  135 |         bool get_generate_lightmap();
      |              ^~~~~~~~~~~~~~~~~~~~~
modules/godotsteam/godotsteam.cpp: In static member function 'static void Steam::_bind_methods()':
modules/godotsteam/godotsteam.cpp:10075:6: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without
10075 | void Steam::_bind_methods(){
      |      ^~~~~
In file included from ./core/io/packet_peer.h:36,
                 from ./core/io/networked_multiplayer_peer.h:34,
                 from ./core/io/multiplayer_api.h:34,
                 from ./core/script_language.h:34,
                 from ./core/os/main_loop.h:36,
                 from ./core/engine.h:35,
                 from ./core/os/os.h:34,
                 from ./core/io/ip.h:35,
                 from core/io/packet_peer_udp.h:34,
                 from core/io/packet_peer_udp.cpp:31:
In member function 'int RingBuffer<T>::read(T*, int, bool) [with T = unsigned char]',
    inlined from 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)' at core/io/packet_peer_udp.cpp:112:9,
    inlined from 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)' at core/io/packet_peer_udp.cpp:99:7:
./core/ring_buffer.h:68:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   68 |                                 p_buf[dst++] = read[pos + i];
      |                                 ~~~~~~~~~~~~~^~~~~~~
In file included from core/io/packet_peer_udp.cpp:31:
core/io/packet_peer_udp.h: In member function 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)':
core/io/packet_peer_udp.h:52:13: note: at offset 4 into destination object 'PacketPeerUDP::packet_port' of size 4
   52 |         int packet_port;
      |             ^~~~~~~~~~~
In file included from ./core/io/packet_peer.h:36,
                 from ./core/io/networked_multiplayer_peer.h:34,
                 from ./core/io/multiplayer_api.h:34,
                 from ./core/script_language.h:34,
                 from ./core/os/main_loop.h:36,
                 from ./core/engine.h:35,
                 from ./core/os/os.h:34,
                 from ./core/io/ip.h:35,
                 from core/io/packet_peer_udp.h:34,
                 from core/io/packet_peer_udp.cpp:31:
In member function 'int RingBuffer<T>::read(T*, int, bool) [with T = unsigned char]',
    inlined from 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)' at core/io/packet_peer_udp.cpp:112:9,
    inlined from 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)' at core/io/packet_peer_udp.cpp:99:7:
./core/ring_buffer.h:68:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   68 |                                 p_buf[dst++] = read[pos + i];
      |                                 ~~~~~~~~~~~~~^~~~~~~
In file included from core/io/packet_peer_udp.cpp:31:
core/io/packet_peer_udp.h: In member function 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)':
core/io/packet_peer_udp.h:52:13: note: at offset [5,<PHONE_NUMBER>] into destination object 'PacketPeerUDP::packet_port' of size 4
   52 |         int packet_port;
      |             ^~~~~~~~~~~
In file included from ./core/io/packet_peer.h:36,
                 from ./core/io/networked_multiplayer_peer.h:34,
                 from ./core/io/multiplayer_api.h:34,
                 from ./core/script_language.h:34,
                 from ./core/os/main_loop.h:36,
                 from ./core/engine.h:35,
                 from ./core/os/os.h:34,
                 from ./core/io/ip.h:35,
                 from core/io/packet_peer_udp.h:34,
                 from core/io/packet_peer_udp.cpp:31:
In member function 'int RingBuffer<T>::read(T*, int, bool) [with T = unsigned char]',
    inlined from 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)' at core/io/packet_peer_udp.cpp:112:9,
    inlined from 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)' at core/io/packet_peer_udp.cpp:99:7:
./core/ring_buffer.h:68:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   68 |                                 p_buf[dst++] = read[pos + i];
      |                                 ~~~~~~~~~~~~~^~~~~~~
In file included from core/io/packet_peer_udp.cpp:31:
core/io/packet_peer_udp.h: In member function 'virtual Error PacketPeerUDP::get_packet(const uint8_t**, int&)':
core/io/packet_peer_udp.h:52:13: note: at offset [6,<PHONE_NUMBER>] into destination object 'PacketPeerUDP::packet_port' of size 4
   52 |         int packet_port;
      |             ^~~~~~~~~~~
core/io/stream_peer.cpp: In member function 'int8_t StreamPeer::get_8()':
core/io/stream_peer.cpp:223:21: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized]
  223 |         return buf[0];
      |                ~~~~~^
core/io/stream_peer.cpp:221:17: note: 'buf' declared here
  221 |         uint8_t buf[1];
      |                 ^~~
core/io/stream_peer.cpp: In member function 'uint8_t StreamPeer::get_u8()':
core/io/stream_peer.cpp:218:21: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized]
  218 |         return buf[0];
      |                     ^
core/io/stream_peer.cpp:216:17: note: 'buf' declared here
  216 |         uint8_t buf[1];
      |                 ^~~

Sweet!  Thanks for this other list of warnings.  I'll get a test update put together and report back.  Now that the original ones you sent are fixed, I can issue an update to the repo!

I think this is the only godot steam server related warnings from that long stuff:
[kenguru@fedora godot-3.4-stable_]$ scons -j12 platform=server tools=yes target=release_debug >> gpp_headless_output
modules/godotsteam_server/godotsteam_server.cpp: In member function 'void SteamServer::_app_proof_of_purchase_key_response(AppProofOfPurchaseKeyResponse_t*)':
modules/godotsteam_server/godotsteam_server.cpp:3151:70: warning: array subscript 240 is above array bounds of 'char [240]' [-Warray-bounds]
 3151 |         char key = call_data->m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from modules/godotsteam/sdk/public/steam/steam_api.h:30,
                 from modules/godotsteam/sdk/public/steam/steam_gameserver.h:13,
                 from modules/godotsteam_server/godotsteam_server.h:23,
                 from modules/godotsteam_server/godotsteam_server.cpp:18:
modules/godotsteam/sdk/public/steam/isteamapps.h:183:17: note: while referencing 'AppProofOfPurchaseKeyResponse_t::m_rgchKey'
  183 |         char    m_rgchKey[k_cubAppProofOfPurchaseKeyMax];
      |                 ^~~~~~~~~
modules/godotsteam/godotsteam.cpp: In static member function 'static void Steam::_bind_methods()':
modules/godotsteam/godotsteam.cpp:10075:6: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without
10075 | void Steam::_bind_methods(){
      |      ^~~~~

That should be simple.  It's basically the same issue as on the main module.

Sweet! Thanks for this other list of warnings. I'll get a test update put together and report back. Now that the original ones you sent are fixed, I can issue an update to the repo!

yaayy :D
Thanks for everything :)
I think you can close this ticket, when you ready.
I will test the updated version :)

I gotta do some chores real quick but I'll get the test uploaded soon.

OK, here is the updated test version!  Let me know how that works.  Thanks again!

wow, your fix, fixed all of the warnings, I mean the g++ log had a lot of warnings but there was only two related to the godot steam, but now all warnings are gone.
Great work dude you are the best :)

Awesome!  Man, thank you for pointing these out!  Like I said, I don't see them in the Ubuntu terminal during compile so I wouldn't have known about these.  And thank you for helping me get them fixed up!


Added Providers. Closes #10

Could you leverage using only Firebase for persisting logins instead of using SharedPreference like how I did in the Junior app?


#1

can  I work with you on this repo?

Hello Friend,
I would Love to Collaborate with you.
Could you send me your contact information so that I can give you the
details and what I have in mind.
@.***
On Fri, 27 Jan 2023 at 10:27, Rishi Joshi @.***> wrote:

can I work with you on this repo?
—
Reply to this email directly, view it on GitHub
https://github.com/Emmo00/learn-C/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVBIB5AMUVXUU64Z33TEK6TWUOIITANCNFSM6AAAAAAUIPFF74
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

you can see the linktree that ive added in my github profile 👍🏻

👍🤝


engine: rename the servermaster package to master

Signed-off-by: Henry Lonng<EMAIL_ADDRESS>
What problem does this PR solve?

Issue Number: ref #6356
What is changed and how it works?
The sub-package servermaster in github.com/pingcap/tiflow/engine should have a symmetric name with the executor because they are the same in conceptual.
This PR rename the servermaster to master to make its name more consistent with executor. But I think we have too many master/worker/executor packages. We should clear them and choose a more proper name for each sub-package.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

Still sounds strange to me if the servermaster being changed to master since master and worker are more common pair and we already has the concept of master inside the tiflow engine.
IMHO, I think server-master or cluster-master or control-center is proper.

OK, I think we need to refine the package name of modules in the engine. And I will close the PR and delay it to the future while we reorganize the concepts and naming.


filters don't apply to files

It seems the filters don't apply to files, such as .DS_Store.

+1

work around is to use regex in filters
example:
filters: [/.DS_Store/,/.git/]

Would there be any way to return only files that match a certain expression?
Perhaps something like filters: [/*\.mov/] to return only files ending in ".mov"?
I suppose I could tap into the name event and filter everything from there, but it would be great to do it right at the start through a config option.


Create MariaDB system user for /var/lib/mariadb, bsc#1034885

Create and reserve UID/GID for user MariaDB to own /var/lib/mariadb
for security reasons

To be put on hold until we agree on how to address bsc#1034885

any updates on the workflow, bugzilla discussion didn't progress passed this PR.

@PI-Victor : I've fixed comments and rebased this change

anyone know - can we proceed with merging this? or are we still waiting for the other bug to be solved?

We have put this PR on hold, we need to agree about how to fix that on bugzilla.

What's the status of this, should we close this PR?


feat(entrypoint): Generate splunk_metadata.csv.example dynamically

Parse config on startup to generate the latest example so we no longer rely on developers to update this file

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

:tada: This PR is included in version 1.70.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Feature request - add the ability to use custom 35x35 animated cursors

I think the ability to use these would be sweet:
http://www.cursors-4u.com/animated/
http://www.totallyfreecursors.com/category.cfm/id/4/Animated.htm
etc.

Somewhat duplicate of #2068

http://www.rw-designer.com/cursor-set/runescape-jagex-animated-dragon- omg this needs to be added

Duplicate of #2068


Backlight can´t be switched off completely

the lowest brightness setting doesn´t switch off the display backlight anymore.

as mentioned here https://github.com/hieplpvip/AppleBacklightSmoother/issues/8 and here https://github.com/hieplpvip/AppleBacklightSmoother/issues/6 the display brightness can´t be completely turned off with the AppleBacklightSmoother.kext.
This isn´t a hardware bug as the backlight can be turned off when this kext isn´t used.
after loading AppleBacklightSmoother.kext there was a new IODisplayParamters entry called "brightness". Before using the kext there was only "bklt" and when that paramter was set to "0x0" the backlight was completely turned off. Now with this kext the "brightness" parameter is used and the backlight won´t turn off.
Hopefully this can be fixed

I think that's exactly the reason for the kext. You cannot switch off completely under Windows.

Yes you can switch it off completely under windows.


is it necessary to modify the topology during tcpreplay

Becasue of fixed interface during the tcpreplay, should i modfify the ip address of host to match the pcap.file packets?
For example, in pcap.file there are some malware packets whose srcip is <IP_ADDRESS>. However, when i makerun in mininet, the host1 ip address maybe initialized to <IP_ADDRESS>. When i tcpreplay intf1=h1-eth0, is it ok without changing the h1 ip address?
Thank you~~~

Hello,
Yes normally it should work without the need to change the IP address. In case some problem is there then I can see more in detail.
Best Regards,


fix: Close Emoji panel by clicking elsewhere

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #3867
[ ] Requires deployment <rubick/magick_issue>
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 49.21 USD/KSM ~ 0.406 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0xf2fd81d374cca0b3ee765d57e34500bc3856762f6e77264ddc1eb5cbf1b06ba0
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Fix grafana-import / export script issues after grafana major version upgrade

@sanderegg waits for this
This is extremely shitty and painful, a proper solution would be maybe to use the grafana terraform provider...
For now, we have to hack it together one more time

done in https://github.com/ITISFoundation/osparc-ops-environments/commit/7f33e3d3aa0df3ac570c62e23b9da3a54b51fff6


Update to rust 1.77.1

This gives us C string literals (for future littlefs2 updates) and also the chunk_first api, which is very very nice for parsing.

metric
value

change

binary-size-nkpk
742242
:white_check_mark:
-18352 (-0.02%)

Insignifcant changes

metric
value

change

binary-size-nk3am
1199399
:white_check_mark:
-8963 (-0.01%)

binary-size-nk3am-test
2001105
:red_circle:
+863 (+0.00%)

binary-size-nk3xn
431492
:white_check_mark:
-3248 (-0.01%)

binary-size-nk3xn-test
584604
:white_check_mark:
-3600 (-0.01%)

Not merging since the docker image is not published yet.


Remove All metapackage and runtime store infrastructure

This is being ported to aspnet/Universe.
It's flaky at the moment because it uses floating package reference versions, so let's pause this until we can fixup aspnet/Universe.

version.xml cleanup is in https://github.com/aspnet/MetaPackages/pull/245


How to create token with metadata?

How can I use this library to create a token with a picture, description and tags?

How can I use this library to create a token with a picture, description and tags?

I think metaplex library does that.

You can check it out

raw approach, maybe easier ways with solana-py
https://solana.stackexchange.com/questions/7550/how-to-create-a-metadata-account-with-python


Replace placeholder value for cf-deployment version in dynamic asgs doc

@geofffranks Thank you for these changes!
What versions of CF / TAS can I cherry-pick this back to?

This can go back to v20 of cf-deployment


WIP : [main][fix] Use LP value - debt repaid in withdraw value calculation

ALPACA-3574
Description
New calculation on withdraw value. Instead of using tokens return and assess the value. Use LP's value used in withdrawal - debt repaid.
Why?
Old calculation lead to larger equity loss due to Worker's LP amount as an multiplier to position value changes
Link to story (if available)

Still won't solve the problem at withdrawHealthcheck() since in that function we also use equityBefore - equityAfter

@jr-alpaca Need to change how actual withdraw value in each side is calculated.

TODO: Refactor to put LP amount into positionInfo struct

Done


Mobile - Update web-runner v1.1.60

Describe the task
Update web-runner v1.1.60
Refer : https://github.com/Koniverse/SubWallet-Extension/releases/tag/v1.1.60

Version test: https://www.diawi.com/qrcode/link/BThPLD
Device test: IP 11
Validation passed in case: Add support Mythos chain


Add GBS 6144 RCPs for GPT3 benchmark

Add GBS 6144 RCP for GPT3 benchmark generated using megatron-lm
Pending: Google to update paxml generated RCP samples for the same GBS

Hi, @ShriyaPalsamudram,
I conducted 3 paxml runs of GBS 6144 RCP for the GPT-3 benchmark and obtained the<PHONE_NUMBER> num_epochs. Could you update the RCP file accordingly?
    "gpt3_ref_6144":
  {
    "Benchmark": "gpt3",
    "Creator": "Google & NVIDIA",
    "When": "Prior to 3.0 submission",
    "Platform": "TPU-v4-2048 / PaxML, 1024 H100-80GB / Megatron-LM",
    "BS": 6144,
    "Hyperparams": {
      "opt_base_learning_rate": 3e-5
    },
    "Epochs to converge": [
<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>
    ]
  },

@ZhiyuLi-goog thank you for collecting the data, I have updated the PR and marked it ready for review.
Please approve so it can be merged.


Load balancer support

Migrating these over to the re-created project on my new account.
https://github.com/matt-major-zz/do-wrapper/issues/52

Added as of 3.13.0


websocket not working in HTTPS

websockets work in chrome, however in firefox I get the error Uncaught DOMException: The operation is insecure.

After some testing, websockets are working fine in HTTP, but not in HTTPS

Solved by changing to a secure websocket:
change ws to wss in room.html


Test: do not use path style to access s3

Proposed changes
CP from #35666 and #35725.

run buildall

run buildall

run buildall

@Thearas There are some  p0 and external testcases failed. Can you check and fix them?

@xiaokang OK, I will fix it when I get time.

run buildall

run buildall

run buildall

run buildall


json_to_sheet method does not work properly

When calling the json_to_sheet method through XLSX.util, the header is not generated if the cells in the row containing the first data except the header are empty.
If trying with below file, I can see the all headers properly.
http://fureweb.com/success.xlsx
But if trying with below file, I cannot see the all headers properly. Because the D2 cell was empty.
http://fureweb.com/fail.xlsx
https://github.com/SheetJS/sheetjs/blob/master/xlsx.js#L20807
When giving the header name as the value of cell D1, it seems that if the value of D2 is empty, it treats val as undefined so that the header is not added as a row.
When creating the header I wonder why need to check if the value of the next cell exists.
I personally think that if the data passed in exists, it should consistently generate the value of the header even if all the values are empty.
How do you think about this issue?

To be sure, the following data generates your fail case:
[
  {header1: "A1", header2: "A2", header3: "A3"},
  {header1: "B1", header2: "B2", header3: "B3", iWantSeeThisHeader: "B4"}
]

If you want to force a specific header order, there's a header option.
What exactly are you trying to do?

This behavior was fixed.  json_to_sheet generates headers at the end and it includes new fields that aren't in the first row.  #2139 has a longer discussion


#954 #957 #1026 Customize Consul services creation in Consul service discovery provider

Fixes #954 #957 #1026

#954
#957
#1026

Proposed Changes
This PR introduces general customization options for the Consul provider, taking inspiration from the Kube provider customization in PR #2052. However, this PR offers a more flexible design as outlined below 👇

It allows overriding the behavior of the Consul provider.
It enables the injection of a new IConsulServiceBuilder service into the Consul provider.
It permits the overriding of the ConsulServiceBuilder class's behavior.
The targeted virtual methods which solve the 954 problem are:

protected virtual ServiceHostAndPort GetServiceHostAndPort(ServiceEntry entry, Node node)
protected virtual string GetDownstreamHost(ServiceEntry entry, Node node)

In conclusion, customization hinges on the virtual methods of the ConsulServiceBuilder class, allowing developers to override as needed for highly customized Consul setups in their environments.
Initially, I considered introducing JSON overrides for the ServiceDiscoveryProvider section in the global configuration of ocelot.json. However, I realized that approach was suboptimal. Writing C# code that inherits from the ConsulServiceBuilder class is a superior solution.
Predecessors

#909
#2052

@ignacy130 Hello Ignacy!
I would value your code review and your thoughts on it as well.
@ggnaegi You are the primary reviewer for this PR. 😉
I believe the C# design is finalized, and I am currently working on the tests... You could begin the code review today...

@raman-m Your idea is great, but I think we should rework it a bit first. We should think about polling and long polling and give the ability to the users to develop their own implementations.

We should think about polling and long polling and give the ability to the users to develop their own implementations.

@ggnaegi, I understand you're expecting new method overrides for the next version of the provider with enhanced polling capabilities, correct? You'll have the opportunity to do so. 😉
Are you suggesting that this bug fix should not be included in the current monthly release and that we need to work on it further? Please note that we now have a common release strategy where we release the library, the provider, and even the documentation together. If we release this bug fix in v23.3, the corresponding Ocelot.Provider.Consul v23.3 will also be released. If we further refactor Ocelot.Provider.Consul as you propose, it will be released in subsequent versions 23.x or 24.x. Therefore, I don't see the benefit of waiting for an ideal solution by delaying the delivery of the bug fix.
Let's proceed with releasing this bug fix and the package update in version 23.3, shall we?

The rest of the work

[ ] Unit tests for DefaultConsulServiceBuilder and Consul with 100% coverage
[ ] Acceptance test for #954 user scenario. See "Steps to Reproduce the Problem"
[ ] Optional. Acceptance test for custom SD provider being inherited from Consul. See @ignacy130 commented on Jan 30
[ ] Review SD docs. Move "Store Configuration in Consul" to "Service Discovery"

@ggnaegi  Dev Complete! Docs written!
Waiting for your approval after final review... Could you review this weekend please?


Executing sqlplus fails

When trying to execute sqlplus after installing it using brew install instantclient-sqlplus I get the following error:
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

The same thing happens if I install with --with-basiclite

+1 this!
Having the same error after upgrading to macOS Catalina.

I don't use Catalina yet. Would anyone be able to debug and perhaps suggest a PR?

Use this as an work around for now. I haven't yet debugged the core issue.
DYLD_LIBRARY_PATH=$(brew --prefix)/lib sqlplus sys/Oracle18@localhost:32118/XEPDB1 as SYSDBA

I'm having this same issue, and setting the DYLD_LIBRARY_PATH doesn't help. (I'm also on Catalina.)
@ajaya Do you have any actual files like sp1*.msb? There are no such files in anything installed by homebrew, and I even went and downloaded several different versions from Oracle's site and none of them contained anything like these message files.

So with a fresh install I was getting the same error.
Adding DYLD_LIBRARY_PATH=$(brew --prefix)/lib sqlplus to my shell's profile did indeed seem to fix it for me.

Is there a way to put this into the install script?

DYLD_LIBRARY_PATH is an anti-pattern, not recommended to be set it globally.
I still do not have a machine to debug and fix the problem. A PR would be welcome!

Same issue/error on Catalina. @kaukas how can I help? Not sure what you mean with PR, let me know.

If you can find a fix for the formula please let me know so that I could fix it for everyone. Unfortunately, DYLD_LIBRARY_PATH is a workaround, not a fix.

@kaukas I did some investigation.
What I found out that if you put the sqlplus files + libraries in the same folder as the instaclient-basic files there is no error. According to the official installation documentation, this is also how both packages need to be installed: https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html#ic_osx_inst
But if installing in separate directories, the library that is causing the specific error is called: libociei.dylib, which is part of the instaclient package.
So there could be two issues with this file: 1) it cannot be found by sqlplus (because it is in another directory - path issue?) or 2) it is not authorised to execute.
On the latter, I had to manually approve the file for execution in "system preferences --> security & privacy --> general --> allow to run" as Mac OS classified the file as "from unknown developer". After approving the library for execution, sqlplus worked normally.
Note: I needed to do this for all libs and sqlplus due to manual copying of the fles into /usr/local/Cellar/instaclient* folders.
For completeness this is the order in which executables and libraries are called:
sqlplus
libsqlplus.dylib
libclntsh.dylib.19.1
libclntshcore.dylib.19.1
libnnz19.dylib
libsqlplusic.dylib
libociei.dylib --> Error 6 initializing SQL*Plus
As you can see sqplus is able to open a lot of the libraries from the instaclient-basic folder (running sqlplus from different folder to mimic brew current package deployment setup) except the last one, which is throwing the error reported.
I do not have knowledge on Brew formula in order to fix it, but I hope above information will help you to fix it. Let me know if you need more info, or if I need to test something. Thanks.

Here another useful doc on getting a working installation (manual): https://zwbetz.com/install-sqlplus-on-a-mac/

Ok, I think we can exclude the security issue mentioned above. I have followed instructions to allow any program downloaded from the internet to run: https://www.imore.com/how-open-apps-anywhere-macos-catalina-and-mojave
So that leaves the "instaclient & sqlplus must be in the same folder" as the underlying issue.

Hi @kaukas
I read all the (official) docs available and contacted Oracle support. The instaclient basic files and instaclient sqplus files MUST:

be of the same version
be installed in the same directory

Hence, you cannot install in separate directories.
So to formula needs to be changed to reflect the installation requirements. As I don't have knowledge on writing formulas, I hope you will be able to do it.
Let me know if you want me to test. Thanks

Hi, @exelanz. Thank you for going as far as to contact Oracle!
Did they explicitly state that you need to put sqlplus with other dylibs in the same folder for Catalina? Because they are in separate folders in Mojave and it works fine:
$ find /usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/INSTALL_RECEIPT.json
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/bin
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/bin/sqlplus
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/.brew
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/.brew/instantclient-sqlplus.rb
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/lib
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/lib/libsqlplus.dylib
/usr/local/Cellar/instantclient-sqlplus/<IP_ADDRESS>.0dbru/lib/libsqlplusic.dylib
$ sqlplus -V

SQL*Plus: Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0

Hi @kaukas, yes they did state that. I quote "Basic package and any additional Topups such as "SQL*Plus Package" or/and 'Tools Package' should be of same version and should be unzipped under same location ". This seems to be in line with the official installation documentation: https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html#ic_osx_inst . However, the official SQLPlus configuration guide mentions the environment variable DYLD_LIBRARY_PATH to influence SQLPlus behaviour https://docs.oracle.com/en/database/oracle/oracle-database/19/sqpug/configuring-SQL-Plus.html#GUID-5A2953BF-9E2F-450B-AFBA-EE2846C59B5E . But I think it is best to stick to official support & documented guidance. Hope this helps. Let me know if I need to test something.

I got access to Catalina, reproduced the problem and tried to find ways to fix besides putting everything in the same folder. Will try some more, otherwise just put in the same folder.

@kaukas also source in Oracle Dev team confirmed: use the same directory. Official support for Catalina is in the pipeline. Cheers.

There's something funky about the way sqlplus loads libsqlplusic.dylib and I could not fix it. I wrapped sqlplus into a shell script that sets the DYLD_LIBRARY_PATH. Please try the sqlplus-for-catalina branch and let me know if it works well for you.

@kaukas I installed via brew install https://raw.githubusercontent.com/InstantClientTap/homebrew-instantclient/sqlplus-for-catalina/Formula/instantclient-sqlplus.rb
and it works like a charm.
As you said, there might be some quirks as Catalina is not yet officially supported by Oracle.
Thanks!

Merged to master, closing.


[Token]: Token drop down menu should not be opaque on tranches page

The Token dropdown menu z-index needs to be higher than content in the 'main' component

The menu also goes behind some elements on the validators page


[WIP] Allow  Python Search Recursively

Windows OS-specific issue
Recursively search the directory you are currently in to get the Python path
Changes proposed in this PR:

recursively search
fix test

@mtshiba

I looked into the cause of the test error, and it seems that it may not be a problem with the Python interpreter selection.
When I ran cargo test without workaround on Windows, I got the following result.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "examples/helloworld.er", line -1, in <module>
UnicodeEncodeError: 'cp932' codec can't encode character '\u03ac' in position 3: illegal multibyte sequence

I don't remember seeing this error when I wrote this test, but this output may have been obtained as a result of several improvements to make the test results readable.
\u03ac is the Greek letter ά. Indeed, this character is included in the source code. In this test, I wanted to check whether Erg can support multilingual source code, but there may be a codec problem on Windows.
In fact, the test passed when I deleted everything except alphabets and hiragana.


swift  use ios dfu operation failed 4.6.1

var initiator = DFUServiceInitiator.init()
//  initiator.forceDfu = true
//  initiator.packetReceiptNotificationParameter = 12
initiator.logger = self
initiator.delegate = self
initiator.progressDelegate = self
initiator.enableUnsafeExperimentalButtonlessServiceInSecureDfu = true

initiator = initiator.with(firmware: selectedFirmware!)
dfuController = initiator.start(target: selectedPeripheral!)

when  enterdfu mode i always recieved Operation failed 10
Did I use it wrong？
there is my log info
name ---- Optional("DFU_E7D8")
打印信息Debug: [Callback] Central Manager did update state to: Powered ON
打印信息Verbose: Connecting to DFU_E7D8...
打印信息Debug: centralManager.connect(peripheral, options: nil)
打印信息Debug: [Callback] Central Manager did connect peripheral
打印信息Info: Connected to DFU_E7D8
打印信息Verbose: Discovering services...
打印信息Debug: peripheral.discoverServices(nil)
打印信息Info: Services discovered
打印信息Verbose: Starting Secure DFU...
打印信息Info: Connected to DFU_E7D8
打印信息Info: Services discovered
打印信息Verbose: Secure DFU Service found
打印信息Verbose: Discovering characteristics in DFU Service...
打印信息Debug: peripheral.discoverCharacteristics(nil, for: FE59)
打印信息Info: DFU characteristics discovered
打印信息Verbose: Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...
打印信息Debug: peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)
打印信息Verbose: Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50
打印信息Application: Secure DFU Control Point notifications enabled
打印信息Verbose: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
打印信息Debug: peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
打印信息Info: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
打印信息Info: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x):<PHONE_NUMBER>000088000000a93c7d26
打印信息Application: Command object info (Max size = 256, Offset = 136, CRC = 267D3CA9) received
打印信息Application: Received CRC match Init packet
打印信息Verbose: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
打印信息Debug: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
打印信息Info: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
打印信息Info: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60040a
打印信息Error: Error 10: Operation failed
打印信息Verbose: Disconnecting...
打印信息Debug: centralManager.cancelPeripheralConnection(peripheral)
打印信息Debug: [Callback] Central Manager did disconnect peripheral
打印信息Info: Disconnected

Which SDK is your fw based on?
If your're using SDK 12.x, the Error 10: Operation failed is returned when your init packet is invalid. There are several reasons: the SD ID requirement may not be fulfilled, the HW version may be different, the App version may be too low, the Bootloader version may be not greater than of the current one (assuming you're updating the bootloader), the signature may be wrong, etc.
The bootloader from SDK 13+ returned "Extended error" in that case with a more detailed information about the cause.

Hi, did you manage to fix your issue?

yes i did  thanks
发自我的iPhone
------------------ Original ------------------
From: Aleksander Nowakowski<EMAIL_ADDRESS>Date: Sat,Apr 4,2020 2:04 PM
To: NordicSemiconductor/IOS-Pods-DFU-Library<EMAIL_ADDRESS>Cc: lotawei<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NordicSemiconductor/IOS-Pods-DFU-Library] swift  use ios dfu operation failed 4.6.1 (#352)


debuggerWorker.js contains code incompatible with node 5

Description
It's impossible to use custom debugger running on node 5 because debuggerWorker.js contains 'let' now. Changing 'let' to 'var' fixes the issue.
Related issue: WEB-23912
Additional Information

React Native version: 0.36
Platform: both
Operating System: all

Fixed in a16d72842dc80cec3bb274080c57b4d98de26ddf


x64 images for selfhosting ?

Hello there,
This is an intresting project and I am looking to host on my x86 (ubuntu) docker based set up.
Can you pls help me understand how an x86 image can be built (I am not a developer) ? Are there any pre-built images available on dockerhub / etc ?
Thanks for creating this neat project.

Hi @accforgithubtest,
thanks for taking interest in this project. I've just dusted it off a little and updated CI system to automatically build docker images for several platforms. They are stored on gitlab's docker registry. You can simply pull them to your local docker daemon using this command:
docker pull registry.gitlab.com/mek_x/ble-sensor-mqtt:latest

You will probably also need to run this image with --user=root --privileged --net=host options, since probably by default user inside the container won't have access to hci0 device.
You can use this docker-compose.yml for reference:
version: '2'

services:
  ble-sensor-mqtt:
    image: registry.gitlab.com/mek_x/ble-sensor-mqtt:latest
    user: root
    network_mode: host
    privileged: true

I've also updated README with some of this information.

thanks so much for your quick reply, will give this a try and thank you !


Errors building qt5 modules on linux

Hello,
I have a problem with building the qt5 modules on linux. I fixed the qmake scripts to find qmake on linux and also use make instead of jom but I still can't get the modules to build correctly (include folder stays mostly empty and other problems).
Thanks in advance.

Hi @TheScarfix, thanks for reporting this issue!
I've fixed qt5-linux build, please update vcpkg and rebuild qt5.
Thanks.


cmd/cue: hidden field evaluation causes "cue eval" to fail when using yaml output

What version of CUE are you using (cue version)?

$ cue version
cue version v0.4.0-rc.1 linux/amd64

What did you do?
I tried to do string evaluation with hidden fields, and yaml output.
Repro:
#Foo: {
	a:  string
	b:  string
	ab: "\(a)\(b)"
}

{
	a: "aaa"
	b: "bbb"
} & #Foo

#Bar: {
	_c: string
	_d: string
	cd: "\(_c)\(_d)"
}

{
	_c: "ccc"
	_d: "ddd"
} & #Bar

Neither cue eval, cue eval -c or cue vet complain (and the output looks like I expect).
If I try cue eval --out yaml, I get the following error message:
#Bar.cd: reference "_c" not found
#Bar.cd: reference "_d" not found

Running cue eval -c --out yaml seems to work:
a: aaa
b: bbb
ab: aaabbb
cd: cccddd

What did you expect to see?
Consistent behaviour and/or more newbee friendly error message(s)?
What did you see instead?
Only adding --out yaml gave me error messages while things worked when running just cue eval or cue eval -c.

This issue has been migrated to https://github.com/cue-lang/cue/issues/986.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Limit Scene with {x,z,y}{Min,Max}, also add a test framework

This PR will add jest as a test framework. It also adds a Scene.limit method that removes the number of visible splats based on their position.
It currently cuts out a Cuboid with the given bounding coordinates, i.e., for the bonsai scene, you can do: scene.limit(-2, 2, -2, 2, -2, 2):

The function is currently non-destructive, you can run the function again with a larger bounding box and the cut-out splats reappear.
Also, as always with splats, the function will only check for the positions, and edges will inevitably end up fuzzy.

Awesome, thank you! Jest works for me, I know @xenova has experience with it as well.
For the limit method, what do you think about the following for more future extensibility?
scene.limit(shape: BoundingShape)

Then we can define a BoundingShape.ts class and an inherited Box.ts class. Or something along those lines. There could be a helper limitBox method in scene if you want to keep the workflow the same.

For the limit method, what do you think about the following for more future extensibility?
scene.limit(shape: BoundingShape)

I like the idea but the "is point in bounding shape" function seems to get extremely complicated quickly, especially if you implement it yourself.

There could be a helper limitBox method in scene if you want to keep the workflow the same.

We could make use of method overloading (as you did in Vector3/add) or rename the function right now to prevent a breaking change later.

I'm thinking that the BoundingShape could have a generic isInBounds(point: Vector3) method, which would allow you to implement the same behaviour, just more extensibly.
Maybe another term besides BoundingShape if you'd prefer since that may imply other behaviour like an explicit shape.

Actually for now I think it's fine to just name it limitBox and push as is :)

Actually for now I think it's fine to just name it limitBox and push as is :)

Updated the PR with new commit c132eb3 according to your proposal.

There seem to be some issues with typecasting in the test, probably becasue of an upstream change? Could @dylanebert maybe take a look into that? Just push into this branch if you want to.

I checked it out and got it working with recent changes :) (at least limitBox)
Since Scene has changed a ton, I had to remove the test for now, but kept the actions


Ceph volume only deletable on the cluster host that was used to create it.

information
Ubuntu 18.04.1 LTS
config:
  cluster.https_address: <IP_ADDRESS>:8443
  core.https_address: <IP_ADDRESS>:8443
  core.trust_password: true
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses:
  - <IP_ADDRESS>:8443
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    removed for brevity
    -----END CERTIFICATE-----
  certificate_fingerprint: 2f568344e52fa6cfe94346aa7babbc090c75ca09b05958219e60f9c39ef7c488
  driver: lxc
  driver_version: 3.1.0
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.15.0-39-generic
  server: lxd
  server_pid: 76853
  server_version: "3.9"
  storage: ceph | zfs
  storage_version: ceph version 10.2.11 (e4b061b47f07f583c92a050d9e84b1813a35671e)
    | 0.7.5-1ubuntu16.4
  server_clustered: true
  server_name: host-0003
  project: default

Issue description
When i try to delete a storage volume that was created on a different host i get the following error: Error: Failed to delete RBD storage volume "test" on storage pool "ceph" with the following line in lxd.log:
t=2019-01-18T14:55:56+0100 lvl=eror msg="Failed to delete RBD storage volume \"lxd/custom_test\": Failed to run: rbd --id admin --cluster ceph --pool lxd rm custom_test: 2019-01-18 14:55:56.921571 7f44d6c34100 -1 librbd: image has watchers - not removing\n\rRemoving image: 0% complete...failed.\nrbd: error: image still has watchers\nThis means the image is still open or the client using it crashed. Try again after closing/unmapping it or waiting 30s for the crashed client to timeout."

After unmapping the volume on the host it was created on, it was possible to delete it from other hosts in the cluster.
Steps to reproduce

Create storage volume on ceph pool lxc storage volume create ceph test
Delete storage volume on other host lxc storage volume delete ceph test

This is probably related to #5421

Looking into this one now

Easy enough to reproduce but won't be trivial to fix, your two issues are actually related so I'll be merging them. Closing this one and re-titling and updating description of the other.


[Inventory] Back button on trade

We have confirmations at the bottom but it might be hard to see it in its current form.

https://github.com/webaverse/app/pull/134

pr merged


Maximum execution time of 60 seconds exceeded.

when running code via Swift V5.7.1
Output:
N/A
*** No output. ***
Maximum execution time of 60 seconds exceeded.

Note: When I target Swift 5.7 the output is for Swift 5.7.1
Swift version 5.7.1 (swift-5.7.1-RELEASE)                    06:43:36 5s
Target: x86_64-unknown-linux-gnu
Hello, World!
Hello, Swift!

Fixed. Thanks for reporting.

Swift 5.7.1
Error:
SyntaxError: The string did not match the expected pattern.
Note: Swift 5.7 is now too slow in compiling

I cannot reproduce it. Can you share how to reproduce it for investigating?

It has happened with any code, but there is no way to reproduce it now. Works fine now

The error appears now.


Add color palette icon

100%

I feel like the dots look a bit small. I know that it's hard to do it any other way though.

@Andreto yeah it's hard to adjust. I tried some adjustments.
What do you think of this?

100%

Oh I wanted a palette icon, since a long time ago! This one's great

@delnyn Thanks!


Strict check on browser side code

Turns out expo has window but doesn't have window.addEventListener.
So when I import @quiltt/core in the react native sdk and use it in an expo app, it just blows up.
 console.log('window.expo', !!window.expo)
 LOG  window.expo true

I have a hard time to just use @quiltt/core directly in the expo example app, so hoping to add one more check, bump the version so I can use the next @quiltt/core directly in the expo example app.
In node
❯ node
Welcome to Node.js v18.15.0.
Type ".help" for more information.
> typeof window !== 'undefined' && !window?.expo
false

In browser
typeof window !== 'undefined' && !window?.expo
true

In Expo
console.log('in expo', typeof window !== 'undefined' && !window?.expo)

 LOG  in expo false

@zubairaziz would love your review and expertise on how to skip expo app check, can revert if you see a problem.

@zubairaziz would love your review and expertise on how to skip expo app check, can revert if you see a problem.

I don't see anything wrong with what you're doing here, but is there anywhere we can get the types for expo so that we can maybe have:
declare global {
  interface Window {
    expo?: ExpoType
  }
}

instead of:
declare global {
  interface Window {
    expo: any
  }
}

where can I get ExpoType, assuming it's from some Expo pacakge, feel a bit weird to have core to depends on a react native package.

Yeah, I'm not sure. I just used ExpoType as an example, but I'm sure this is a common enough issue that someone probably has this typed somewhere already

I will check it again if we need it then, right now we are not even accessing actual value of the expo window object, just want find a way to skip it.


Create Landing Page (no serious styling)

Create a landing page. Doesn't need big styling, just a skeleton

branch Issue-001


Enhance Excalidraw

fix(excalidraw): remove newlines from excaliDrawBundle

newlines in styles were causing problems when drawings were in blockquotes

feat(excalidraw): add support for comressed drawings

This is great, thank you! I'll look over it when I find the time. Hopefully some time this week.

Finally found the time to look over this. Looks good! Thanks for taking the time to create a PR. Merging it in right away.


Improve operators documentation

There's no documentation for our operators or their c'tors. For example, when using BitStringVectorNFlipMutation, without looking at its code, I cannot understand what it does and what the parameters do and what their default parameters are.
This is true for all operators.

Solved by #125


[FLINK-12319][Library/CEP]Change the logic of releasing node from recursive to non-recursive

What is the purpose of the change
Resolve issue FlINK-12319. The CEP job throws StackOverFlowError when releasing the nodes in the SharedBuffer.
After investigation, it shows that the reason is that the logic for releasing nodes in the SharedBuffer is a recursive algorithm. The depth of the recursion depends on the diameter of the graph, which is proportional the number of buffered events (the graph is a line graph).
In the experiments, the number of buffered events can be as many as 100,000, which will easily cause stack overflow.
Therefore, in this PR we change the logic from recursive to non-recursive.
Brief change log

Change the SharedAccessBuffer#releaseNode to a non-recursive algorithm.

Verifying this change
This change is already covered by existing tests, such as SharedBufferTest#testSharedBuffer and SharedBufferTest#testClearingSharedBufferWithMultipleEdgesBetweenEntries.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

Thank you for fixing this bug.
Does it make sense to add the job triggering this bug as a test, so that we won't introduce it in the future again?

Thank you for fixing this bug.
Does it make sense to add the job triggering this bug as a test, so that we won't introduce it in the future again?

@rmetzger thanks a lot for the good suggestion. We have added a test case for that. Please help take a look.

Hi @tillrohrmann , would you please take a look at this issue? I think it deserves to be fixed.

Thank you for your contribution @liyafan82 Merging it.


bug: lang.clangd not working on ARM

Did you check docs and existing issues?

[x] I have read all the LazyVim docs
[x] I have updated the plugin to the latest version before submitting this issue
[x] I have searched the existing issues of LazyVim
[x] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.11.0-dev-1416+g7567f7d322
Operating system/version
Debian 12
Describe the bug
I'm trying to enable the lang.clangd feature in lazy extras, but every time it tries to install, I get an error: "This current platform is not supported." I'm guessing it just doesn't work for ARM right now (hetzner VPS, probably aarch64)
Steps To Reproduce

Get a hetzner machine (any arm64 might work though).
Install neovim/lazyvim on it.
Try to install lang.clangd

Expected Behavior
It should install the extension and just work
Repro
-- literally the default config with lang.clangd enabled in lazy extras

Probably the clangd that gets installed via Mason doesn't support your platform. Either install clangd manually for your platform or report it to Mason.

Probably the clangd that gets installed via Mason doesn't support your platform. Either install clangd manually for your platform or report it to Mason.

How can I let mason know that clangd is available on the system?
I have gotten lazyvim to accept my system clangd as a formatter.
However, when I start working on C code, if I change the code within a function just slightly, I get 10 error messages that block my view of the rest of the code.

You should probably do something like
return {
  {
    "neovim/nvim-lspconfig",
    opts = {
      servers = {
        clangd = {
          mason = false,
          -- whatever other settings you want for clangd
        }
      }
    }
  }
}


Disable buffer security checks and exceptions & configure projects to also include .c and .h files

Appreciated!


Notes from discussion with H, K, S

Joint parameters 😄
Note this is atmospheric CO2-C, not all C
Figure 3.2 - perhaps rework as histogram focusing on 2100?
Carbon cycle filter re results
LUC as a source of uncertainty
H: might be a GMD/pedagogical paper - but 3.10 goes beyond
S: start runs every e.g. 50 years and ask, 100 years from emissions, how much C is in atmosphere based on when emitted?
I.e., does it matter when C is emitted?
H: 1T FFI C ≠ 1T LUC C - "one ton is not created equal"
One goal: "if we want to constrain the C cycle further, here's what we have to learn/measure"
Present at IAMC?

L-B meeting 4/12:

[ ] Make a histogram of Ca for 1970 and 2020 and add observed lines
[ ] Implement a joint PDF toy example. A ~ N(0, 1) and B ~ N(0, 1)

@leeyap for further documentation:
Here are the A and B draws before we do anything:
df %>% pivot_longer(cols = c("A","B", "ABdiff")) %>% ggplot(aes(x = value)) + facet_wrap(~name, scales="free") + geom_histogram(bins = 20)

Here's the plot showing accept/reject:

Here's the post-reject plot showing the distribution of A, B, and their difference:

Eventually I think we'd like to start with a correlation coefficient and base our rejection criterion on that.

Note to myself for later
diffusivity <- function(n) rnorm(...)
climate_sensitivity <- function(n) rnorm(...)

joint_pdf <- function(fA, fB, n, pcor) {

	A <- rep(NA_real_, n)
	B <- rep(NA_real_, n)
	accept <- rep(FALSE, n)
        randoms <- rnorm(n, ...)

	while (any(!accept)) {
		not_accepteds <- which(!accept)

		A[not_accepteds] <- fA(length(not_accepteds))
		B[not_accepteds] <- fB(length(not_accepteds))

		// test which ones are not accepted, updating accept

	}
	data.frame(A = A, B = B)  // better: get caller function names and use those
}

joint_pdf(diffusivity, climate_sensitivity, 100, 1.0)

MASS::mvrnorm()

From kalyn:

re the prior I think there is a pretty well established body of literature about it kunti & forest have done a lot of work on it


Cursor supersizes when hovering window

When Trayscale runs under Wayland, the cursor seems to grow quite a bit in size, with this being spammed in the logs while the cursor is being moved over the window:
WARN ../gtk/gdk/wayland/gdkcursor-wayland.c:210 cursor image size (64) not an integer multiple of theme size (24) priority=4 code_file=../gtk/gdk/wayland/gdkcursor-wayland.c code_line=210 code_func=_gdk_wayland_cursor_get_buffer glib_domain=Gdk

I installed via the trayscale AUR package.
System Info:
OS: Arch Linux x86_64
Host: 16Z90P-G.AA78H 0.1
Kernel: 6.10.10-zen1-1-zen
DE: Plasma 6.1.5 (Wayland)
WM: kwin
Theme: Colloid-Dark [GTK2/3]
Icons: Papirus-Dark [GTK2/3]
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
Memory: 15680MiB

Outside Window
Inside Window

This is not a Trayscale bug. It is happening in Gtk4. Please report it there.


Color Theory

Add Color Theory in guides/Visual_design

I would like to work on this @the-ethan-hunt , how should i get myself assigned?? and is this a part of gssoc?

Yes this is a part of GSSOC.
Assigned to @Pallavi024


Loas and unload switches from Home Assistant?

Is it possible to control the load and unload switches from Home Assistant?

Yes if you use the BLE component. The UART/RS485 interface is read-only and cannot be used to control the BMS unfortunately.


Setup_retropie.sh doesn't work

When installing the pi bij flashing RetroPie connecting it and following the installation guide the command ./setup_retropie.sh doesn't work and can't be found what am I doing wrong?

well first of all thank you! for giving this a try - after all this time
did you also/actually build the whole "hardware"?
i guess running the script itself from the directory it lives in isn't actually the problem (?)
but more likely that after five years the retro-pie distro i tried this against has changed enough that this helper-script doesn't really apply or help much anymore :-s

I guess I've downloaded the newest RetroPie I'll try 4.1 tonight and let u updated
Thanks for the fast response

Pi zero 2 doesn't load the 4.1 images sadly I will put some work in it trying to make it work