How to Split Time Series Data Without Leaking the Future
Chronological holdouts, TimeSeriesSplit with gaps, safe features and preprocessing, measured on synthetic data, plus the eight checks that catch leakage.
Stop One-Hot Encoding Hours and Days: Cyclical Encoding Explained
Sine and cosine encoding for hours, weekdays and months in scikit-learn, benchmarked against one-hot encoding, plus the cases where one-hot still wins.
Time Series Features: Stop Training on the Future
Lags, rolling windows, cyclical encodings and leakage-safe validation in pandas and scikit-learn, plus the forecast-horizon rule that keeps your score honest.
LLM Courses That Actually Teach Multi-Provider Apps
Most LLM courses teach one framework and quietly assume just one model. These six resources are the few whose own pages mention multiple providers at all.
AI Coding Assistants: 8 Ways to Bring Your Own Model
Eight coding assistants, one question each: can you point it at your own model endpoint, where do your keys live, and what quietly breaks when you actually do?
Hosting an LLM Gateway: The Cluster You Don't Need
Size and host a self-hosted LLM gateway: LiteLLM's per-worker CPU and RAM, Postgres and Redis sizing, worker rules, managed options and real hardening.
OpenRouter Alternatives: Pick by the Reason You Leave
Best OpenRouter alternatives by reason: Vercel, Requesty, LiteLLM, Bifrost, Portkey, Cloudflare, Kong, Groq and Fireworks, plus the honest fee maths too.
LLM Gateways Compared: 9 Options, No Vendor Rankings
Nine LLM gateways compared honestly: LiteLLM, Bifrost, Portkey, Kong, OpenRouter, Vercel, Cloudflare, Helicone and TrueFoundry, with fees and caveats.
OpenAI-Compatible APIs: The Fields They Ignore
One client, four providers, four contracts: what Anthropic, Gemini, Ollama and vLLM really do with the OpenAI fields you send, and what breaks silently.
LLM Token Limits: The Settings That Actually Cut Spend
Set token limits that hold: LiteLLM tpm caps, per-model ceilings, budget windows, cache risks and routing that cuts real spend without losing quality.
LiteLLM Timeouts: The Setting Your Load Balancer Kills
LiteLLM HTTP tuning across both hops: timeout precedence, SSE keepalive pings, connection pools, admission control and what compression really means.
LiteLLM vs OpenRouter vs Portkey: Pick the Wrong One
Compare LiteLLM, OpenRouter and Portkey on hosting, fees, logs and ownership risk: the 5.5% credit fee, log-metered pricing and the Palo Alto acquisition.