Skip to content

Instantly share code, notes, and snippets.

View vincenzopalazzo's full-sized avatar
:octocat:
The commit can contain poetry

Vincenzo Palazzo vincenzopalazzo

:octocat:
The commit can contain poetry
View GitHub Profile
# 🚀 AI Training Advisor v2.0 - Major Update
## Overview
This major update brings comprehensive improvements to the AI Training Advisor, eliminating critical runtime crashes, enhancing user experience, and implementing robust caching mechanisms for optimal performance.
---
## 🔧 **Critical Bug Fixes**
### Runtime Crash Elimination
error: failed to run custom build command for `secp256k1-sys v0.9.2`
Caused by:
process didn't exit successfully: `/Users/vincenzopalazzo/github/work/btc/ark-rs/target/debug/build/secp256k1-sys-9e8eae326563623e/build-script-build` (exit status: 1)
--- stdout
OUT_DIR = Some(/Users/vincenzopalazzo/github/work/btc/ark-rs/target/wasm32-unknown-unknown/debug/build/secp256k1-sys-cd6cec27dcc08ea4/out)
OPT_LEVEL = Some(0)
TARGET = Some(wasm32-unknown-unknown)
HOST = Some(aarch64-apple-darwin)
cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
@vincenzopalazzo
vincenzopalazzo / gist:34c1486bf5949ac14eaa05664a73fc61
Last active May 2, 2025 07:16
Privacy policy for epump app
Privacy Policy for [App Name]
Last Updated: [Insert Date, e.g., May 2, 2025]
[App Name] ("we," "us," or "our") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, store, and disclose your personal information when you use our mobile application ([App Name], the "App"). By using the App, you agree to the terms of this Privacy Policy.
1. Information We Collect
We may collect the following types of personal information when you use the App:
Device Information: Details about your device, such as device type, operating system, and unique device identifiers.
Usage Data: Information about how you use the App, including features you interact with and usage patterns.
Location Data: If the App requires location services, we may collect your location information.
Personal Information You Provide: If you contact us directly, we may collect information such as your name and email address.
➜ ~ tac .lightning/bitcoin/log.log
2025-04-10T07:19:40.365Z **BROKEN** gossipd: STATUS_FAIL_INTERNAL_ERROR: gossip_store: bad checksum offset 14396: bb304cdbc06e683843c86db2349bb6a6190000000ae833fc9e0000000010050000000002625a00000001b08baba71166596b9601003519f9c04f909f7d80c922702f97bac0e07c274f376a858492080d01a186140406964f61ba9a04baf3ec568fd6bf7e01018b17b0a14cc5d6007edce73f90150e9b6268ccdcd144723e8d0cfd00919a2e3c6568d60fd49a0449c9f6c465a5b3c21a55adefbd99fb4d77db27d9e2121f6cf833a7d51b265420790126a29cc7a97ebe49d0514d9daa76f08d0f29ed62df656f71765fa9bee6171150feafaef4d4c7333ab635e6b0d06806bfbde95e14843e909982a6d392f453ebb194aa5df2d414665a10df10465bb878849e6cde200510eb29801607da0d4acf32c47140dc779e7af57efb94c5c74fb44896df0038556a378a306f5394e965d7346a6fb33d83fe00006fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d61900000000000bf4f60004be000102c197ffa4c2aa4105dd4c4b7279ba1b9061b22910ebbfa759b0001bed9ee48a1602f1a8c87607f415c8f22c00593002775941dea48869ce23096af27b0cfdcc0b690348c80d791bde6c41ab7133c210885ca13b68fa
➜ ~ lightning-cli listclosedchannels 03db10aa09ff04d3568b0621750794063df401e6853c79a21a83e1a3f3b5bfb0c8
{
"closedchannels": [
{
"peer_id": "03db10aa09ff04d3568b0621750794063df401e6853c79a21a83e1a3f3b5bfb0c8",
"channel_id": "55723d2fced081b834c118c8fe0281a6b8a1bf662dcf8fc38975ee13ad4841d7",
"short_channel_id": "870026x2631x0",
"alias": {
"local": "13876233x16241684x55225",
"remote": "574853x2274x7"
➜ ~ lightning-cli listpeerchannels 027cb24c3c92387cba9a35ea145e2c41ab1849b4601b94b3fa27b2ffb429ebaf98
{
"channels": [
{
"peer_id": "027cb24c3c92387cba9a35ea145e2c41ab1849b4601b94b3fa27b2ffb429ebaf98",
"peer_connected": true,
"reestablished": true,
"channel_type": {
"bits": [
12,
diff --git a/vls-core/src/channel.rs b/vls-core/src/channel.rs
index 99825743..7aa2c398 100644
--- a/vls-core/src/channel.rs
+++ b/vls-core/src/channel.rs
@@ -2537,6 +2537,7 @@ impl Channel {
pub fn sign_holder_htlc_tx_phase2(
&self,
tx: &Transaction,
+ witness_script: &ScriptBuf,
commitment_number: u64,
➜ ~ sudo fwupdtool get-devices --plugins flashrom --verbose
09:56:46.952 FuDebug verbose to info (on console 1)
09:56:46.952 FuEngine starting fwupd 2.0.1…
Loading… [ - ]09:56:46.957 FuRemoteList loading remote from /etc/fwupd/remotes.d/lvfs-testing.conf
09:56:46.957 FuRemoteList auto-fixing remote lvfs-testing MetadataURI from https://cdn.fwupd.org/downloads/firmware-testing.xml.xz to https://cdn.fwupd.org/downloads/firmware-testing.xml.zst
09:56:46.957 FuRemoteList loading remote from /etc/fwupd/remotes.d/lvfs.conf
09:56:46.957 FuRemoteList loading remote from /etc/fwupd/remotes.d/vendor-directory.conf
09:56:46.957 FuRemoteList enabled remotes: vendor-directory[1000], lvfs-testing[1], lvfs[0]
Loading… [* ]09:56:46.963 FuQuirks loading quirks from /usr/share/fwupd/quirks.d
09:56:46.963 FuQuirks loading quirks from /v
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
Compiling spl-associated-token-account v2.3.0
Compiling solana-account-decoder v1.18.23
Compiling lava-config v0.1.0 (/home/vincent/github/work/lava/lava-mono/lava-config)
Compiling loans-core v0.1.0 (/home/vincent/github/work/lava/lava-mono/loans-core/core)
error[E0277]: the trait bound `MultiOracleTrieWithDiff: _::_serde::Serialize` is not satisfied
--> /home/vincent/github/work/lava/lava-mono/loans-core/core/src/oracle_engine.rs:24:42
|
24 | #[cfg_attr(feature = "use-serde", derive(Serialize, Deserialize))]
| ^^^^^^^^^ the trait `_::_serde::Serialize` is not implemented for `MultiOracleTrieWithDiff`, which is required by `Vec<MultiOracleTrieWithDiff>: _::_serde::Serialize`
This file has been truncated, but you can view the full file.
2024-08-20 15:45:51 INFO [ldk_node::builder:925] Successfully migrated OutputSweeper data.
2024-08-20 15:45:51 INFO [ldk_node:238] Starting up LDK Node with node ID 02e78d2a8dd545f4eb2f48d90aa06207eb4001cd4efd1d282aff3a9babcfd1a1a9 on network: bitcoin
2024-08-20 15:45:56 ERROR [ldk_node::fee_estimator:46] Updating fee rate estimates timed out: deadline has elapsed
2024-08-20 15:45:56 ERROR [ldk_node:267] Initial fee rate cache update failed: Updating fee rate estimates timed out.
2024-08-20 15:46:35 INFO [ldk_node::builder:925] Successfully migrated OutputSweeper data.
2024-08-20 15:46:35 INFO [ldk_node:238] Starting up LDK Node with node ID 02e78d2a8dd545f4eb2f48d90aa06207eb4001cd4efd1d282aff3a9babcfd1a1a9 on network: bitcoin
2024-08-20 15:46:40 ERROR [ldk_node::fee_estimator:46] Updating fee rate estimates timed out: deadline has elapsed
2024-08-20 15:46:40 ERROR [ldk_node:267] Initial fee rate cache update failed: Updating fee rate estimates timed out.
2024-08-20 15:46:53 INFO [ldk_node::builder:925]