Skip to content

Instantly share code, notes, and snippets.

(goose) asterion@MonstaPC:~/AI/goose/mcp-wiki$ uv sync
Resolved 33 packages in 0.48ms
× Failed to build `mcp-wiki @ file:///home/asterion/AI/goose/mcp-wiki`
├─▶ The build backend returned an error
╰─▶ Call to `hatchling.build.build_editable` failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 11, in <module>
wheel_filename = backend.build_editable("/home/asterion/.cache/uv/builds-v0/.tmpYX0cfN", {}, None)
Building mcp-wiki @ file:///home/asterion/AI/goose/mcp-wiki
Downloading pygments (1.2MiB)
Downloading pydantic-core (1.9MiB)
Downloaded pygments
× Failed to build `mcp-wiki @ file:///home/asterion/AI/goose/mcp-wiki` ├─▶ The build backend returned an error
╰─▶ Call to `hatchling.build.build_editable` failed (exit status: 1) [stderr] Traceback (most recent call last): File "<string>", line 11, in <module> wheel_filename = backend.build_editable("/home/asterion/.cache/uv/builds-v0/.tmpKSOSPb", {}, None) File "/home/asterion/.cache/uv/builds-v0/.tmp4IWDlP/lib/python3.13/site-packages/hatchling/build.py", line 83, in build_editable return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable']))) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/asterion/.cache/uv/builds-v0/.tmp4IWDlP/lib/python3.13/site-packages/hatchling/builders/plugin/interface.py", line 155, in build artifact = version_api[version](directory, **build_data) File "/home/asterion/.cac
@Bazmundi
Bazmundi / gist:1f3650499ea2fea4e5b0974bd75b656a
Created January 26, 2025 02:58
joern-export and joern database not friendly
(base) asterion@MonstaPC:~/dev/rag$ joern-export joern/workspace/blender/cpg.bin --repr all --format dot
CPG does not have dataflow overlay. Calculating.
2025-01-26 13:25:41.661 ERROR ReachingDefPass: Pass io.joern.dataflowengineoss.passes.reachingdef.ReachingDefPass failed
flatgraph.SchemaViolationException: OUT edge with label REF to an adjacent METHOD is mandatory, but not defined for this METHOD_REF node with id=124554054200, (seq=2616)
at io.shiftleft.codepropertygraph.generated.neighboraccessors.AccessNeighborsForMethodRef$.referencedMethod$extension(MethodRef.scala:456) ~[io.shiftleft.codepropertygraph-domain-classes_3-1.7.23.jar:1.7.23]
at io.shiftleft.codepropertygraph.generated.neighboraccessors.AccessNeighborsForMethodRefTraversal$.referencedMethod$extension$$anonfun$1(MethodRef.scala:933) ~[io.shiftleft.codepropertygraph-domain-classes_3-1.7.23.jar:1.7.23]
at scala.collection.Iterator$$anon$9.next(Iterator.scala:584) ~[org.scala-lang.scala-library-2.13.14.jar:?]
at scala.collection.Iterator$$a
@Bazmundi
Bazmundi / gist:2ba874aaa2d0c097ee784db8bab9417f
Created January 26, 2025 02:38
joern reports from python files in blender 4.3 baseline
joern> importCode(inputPath="/home/asterion/dev/rag/data/blender/blender", projectName="blender")
Using generator for language: PYTHONSRC: PythonSrcCpgGenerator
Creating project `blender` for code at `/home/asterion/dev/rag/data/blender/blender`
Project with name blender already exists - overwriting
closing/saving project `blender`
=======================================================================================================
Invoking CPG generator in a separate process. Note that the new process will consume additional memory.
If you are importing a large codebase (and/or running into memory issues), please try the following:
1) exit joern
2) invoke the frontend: /opt/joern/joern-cli/pysrc2cpg -J-Xmx30688m /home/asterion/dev/rag/data/blender/blender -o /home/asterion/dev/rag/joern/workspace/blender/cpg.bin.zip
blueman-applet 23.02.48 INFO PluginManager:85 load_plugin: ['AuthAgent', 'SerialManager', 'NetUsage', 'Menu', 'StandardItems', 'DisconnectItems', 'DiscvManager', 'DBusService', 'DhcpClient', 'GameControllerWakelock', 'ShowConnected', 'ConnectionNotifier', 'PowerManager', 'Networking', 'AutoConnect', 'AppIndicator', 'NMPANSupport', 'TransferService', 'RecentConns', 'Battery', 'StatusIcon', 'PPPSupport', 'ExitItem', 'NMDUNSupport', 'KillSwitch']
blueman-applet 23.02.48 INFO PluginManager:156 __load_plugin: loading <class 'blueman.plugins.applet.Menu.Menu'>
blueman-applet 23.02.48 INFO PluginManager:156 __load_plugin: loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'>
blueman-applet 23.02.48 DEBUG Base:60 do_g_properties_changed: /org/bluez/hci0 {'Address': 'F8:89:D2:7A:6D:46', 'AddressType': 'public', 'Name': 'MonstaPC', 'Alias': 'MonstaPC', 'Class': 8126724, 'Powered': True, 'Discoverable': False, 'DiscoverableTimeout': 0, 'Pairable': True, 'PairableTimeout': 0, 'Discovering': False,
@Bazmundi
Bazmundi / gist:ee6d66329c430cab07bbae99bb426805
Created October 17, 2024 10:19
gaphor fails (dependencies probably not cited on install site).
(graphor) asterion@MonstaPC:~$ pip install gaphor
Collecting gaphor
Downloading gaphor-2.11.0-py3-none-any.whl.metadata (41 kB)
Collecting PyGObject<4.0,>=3.30 (from gaphor)
Downloading pygobject-3.50.0.tar.gz (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 5.8 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
@Bazmundi
Bazmundi / gist:92cf5cb94621828bc944585ec75a72aa
Created June 8, 2024 05:44
Test errors after installing opensim-core
LOG: TESTING OPENSIM-CORE...
Test project /home/asterion/opensim-workspace/opensim-core-build
Start 3: python_tests
Start 4: python_examples
Start 2: exampleHopperDeviceAnswers
Start 1: exampleHopperDevice
1/4 Test #4: python_examples ..................***Failed 0.17 sec
build_simple_arm_model (unittest.loader._FailedTest.build_simple_arm_model) ... ERROR
extend_OpenSim_Vec3_class (unittest.loader._FailedTest.extend_OpenSim_Vec3_class) ... ERROR
posthoc_StatesTrajectory_example (unittest.loader._FailedTest.posthoc_StatesTrajectory_example) ... ERROR
@Bazmundi
Bazmundi / t-camera2.yaml
Last active February 21, 2021 09:28
TTGO T-Camera on ESPHome that also talks and listens to MQTT
esphome:
name: t_camv162
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: "xxxx-xxxx"
password: "xxxxxxxx"
manual_ip:
static_ip: xxx.xxx.xxx.xxx
@Bazmundi
Bazmundi / t-camera.yaml
Last active May 26, 2024 04:14
LilyGo TTGO T-Camera V1.6.2 yaml for ESPHome
esphome:
name: t_camv162
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: "xxxx-xxxx"
password: "xxxxxxxx"
manual_ip:
static_ip: xxx.xxx.xxx.xxx