Skip to content

Instantly share code, notes, and snippets.

View csingley's full-sized avatar

Chris Singley csingley

  • Houston, TX USA
View GitHub Profile
@csingley
csingley / gist:1c9e6209537ae3dc87a22a58d8e8d4aa
Created August 28, 2024 18:16
Ray master patched with #44252 running on KubeRay - IPv6 only
(base) ray@rayjob-sample-raycluster-h69cb-head-whfxj:~$ head -n 25 /tmp/ray/session_latest/logs/gcs_server.out
[2024-08-28 08:09:47,243 I 75 75] (gcs_server) gcs_server_main.cc:52: Ray cluster metadata ray_version=3.0.0.dev0 ray_commit=44be25b297d78b97a6a05e1f933eb0c175b3625c
[2024-08-28 08:09:47,244 I 75 75] (gcs_server) io_service_pool.cc:35: IOServicePool is running with 1 io_service.
[2024-08-28 08:09:47,248 I 75 75] (gcs_server) event.cc:467: Ray Event initialized for GCS
[2024-08-28 08:09:47,248 I 75 75] (gcs_server) event.cc:306: Set ray event level to warning
[2024-08-28 08:09:47,248 I 75 75] (gcs_server) gcs_server.cc:518: Using external Redis for KV storage: redis:6379
[2024-08-28 08:09:47,278 I 75 75] (gcs_server) gcs_server.cc:73: GCS storage type is StorageType::REDIS_PERSIST
[2024-08-28 08:09:47,279 I 75 75] (gcs_server) redis_context.cc:474: Resolve Redis address to fdf5:6da1:fe0d:cc1e::5a9c
[2024-08-28 08:09:47,279 I 75 75] (gcs_server) redis_context.cc:350: Attempting to connect to address fd
@csingley
csingley / test_utils.py
Created April 6, 2019 11:21
Failing black reformatting
# coding: utf-8
""" Unit tests for ofxtools.utils """
# stdlib imports
import unittest
import os
import datetime
# local imports
import ofxtools.utils
from ofxtools.utils import (
@csingley
csingley / checktotal.py
Created February 27, 2015 15:20
Testing SQLAlchemy CheckConstraint
#!/usr/bin/env python
from sqlalchemy import (
Column,
Integer,
Numeric,
CheckConstraint,
create_engine,
)
from sqlalchemy.ext.declarative import (
declarative_base,