Skip to content

Instantly share code, notes, and snippets.

View mohamedawnallah's full-sized avatar

Mohamed Awnallah mohamedawnallah

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Gotta Catch 'Em All - GSoC 2023 Ceph Project

Below are detailed instructions regarding the Gotta Catch 'Em All - GSoC 2023 Ceph Project

Introduction

Coverity is a tool used by the Ceph project to find issues in the code. Even though Coverity it is a commercial product, they perfom regular scans for many Open Source project, including Ceph.

The Ceph storage system has an S3 compatible Object Store interface, implemented by the RADOS Gateway (or RGW) component of Ceph.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@mohamedawnallah
mohamedawnallah / experiments_result.log
Last active July 12, 2025 08:05
Neutrino Headers Import Memory Profiling Experiments
dev@dev:~/side-header-loading-ab-testing-experiments/neutrino_playground$ ./script.sh
--- Benchmarking with memory limit: 16MB (16777216 bytes) ---
16777216
0
./script.sh: line 11: 6017 Killed timeout 300s sudo cgexec -g memory:neutrino_headers_import_mem_limiter /usr/local/go/bin/go run main.go 2> /dev/null
App Exit Code: 137
Total Time: .149283609 seconds
Peak Memory Usage (from events.local:max): 1408 bytes
OOM Events: 72
OOM Kills: 2
@mohamedawnallah
mohamedawnallah / test_runner.sh
Created July 22, 2025 13:36
Test supporting user defined pytest markers in Beam #35655 PR
#!/bin/bash
# Test cases
commands=(
"./run_pytest.sh test_suite 'tests/unit' ''"
"./run_pytest.sh test_suite 'tests/unit' '--maxfail=3 -m slow -n 4'"
"./run_pytest.sh test_suite 'tests/integration' '--maxfail=3 -m \"slow or flaky\" -n 4'"
"./run_pytest.sh test_suite 'tests/unit' '--maxfail=3 -m 'slow or flaky and not unreliable' -n 4'"
"./run_pytest.sh test_suite 'tests/unit' '--maxfail=3 -m slow -k test_function -n 4'"
"./run_pytest.sh test_suite '' '--maxfail=3 -m nonexistent_marker'"
@mohamedawnallah
mohamedawnallah / dynamic_commitment_sequence_diagram.md
Created August 5, 2025 13:02
Sequence Diagram: Dynamic Commitment Update Flow
sequenceDiagram
    participant User
    participant LND_A as LND Node A
    participant LND_B as LND Node B

    %% Initialization Phase
    User->>LND_A: UpdateChannelParams RPC
    LND_A->>LND_A: Status: Initialized
    LND_A->>LND_A: Validate parameters
@mohamedawnallah
mohamedawnallah / experiments
Created August 20, 2025 14:46
Claude Help in resolving issue BEAM #35916
This is a common issue when building `grpcio-tools` on ARM64/aarch64 architecture. The compilation is failing during the C++ extension build process. Here are several solutions to try:
## Solution 1: Use Pre-compiled Wheels
First, try updating pip and using pre-compiled wheels instead of building from source:
```dockerfile
# Update your Dockerfile line 65 to:
RUN pip3 install --upgrade pip setuptools wheel && \
pip3 install --only-binary=grpcio,grpcio-tools grpcio-tools mypy-protobuf
```
@mohamedawnallah
mohamedawnallah / my_docker_config.json
Created August 20, 2025 14:58
My Docker Desktop Config
{
"ID": "cc885c6f-bb0a-4b46-8960-cff38aa91c88",
"Containers": 0,
"ContainersRunning": 0,
"ContainersPaused": 0,
"ContainersStopped": 0,
"Images": 0,
"Driver": "overlayfs",
"DriverStatus": [
[
// Copyright (c) 2025 The btcsuite developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package wallet
import (
"fmt"
"testing"
"time"