Readit News logoReadit News
rtuin commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
rvnx · 4 months ago
Thank you for the tips, do you know how to rollback latest changes ? Trying very hard to do it, but seems like Git is the only way ?
rtuin · 4 months ago
Quick tip when working with Claude Code and Git: When you're happy with an intermediate result, stage the changes by running `git add` (no commit). That makes it possible to always go back to the staged changes when Claude messes up. You can then just discard the unstaged changes and don't have to roll back to the latest commit.
rtuin commented on Cursor CLI   cursor.com/cli... · Posted by u/gonzalovargas
rtuin · 4 months ago
It seems they haven’t implemented MCP client features in Cursor CLI yet
rtuin commented on Maximizing Battery Storage Profits via High-Frequency Intraday Trading   arxiv.org/abs/2504.06932... · Posted by u/doener
buu700 · 6 months ago
This sounds similar to something I suggested at one point: https://news.ycombinator.com/item?id=38669706

Imagine software that could run on EVs, Powerwall-type batteries, computers/tablets/smartphones, and so on, which would automatically charge and discharge for passive income. Essentially algorithmic trading, but with power instead of stock. You'd just have to configure any necessary time ranges and charge percentages, e.g. maybe your EV needs to be at 25% by 8am and again by 5pm on weekdays in order to make your daily commute.

Maybe some EVs will start to come with built-in crypto miners to burn negatively priced power when the battery is at capacity. Maybe Lyft/Uber and Waymo/Cruise will take advantage of it by increasing and lowering rates based on the price of power (if they don't already).

rtuin · 6 months ago
This type of service is becoming increasingly prevalent among European energy suppliers for their residential customers. Beyond providing a revenue stream for consumers this model aggregates distributed energy resources (home batteries, EV's, PV systems) into a one virtual power plant. This enables the storage of surplus energy generated during solar peaks and dispatch back to the grid during periods of high demand. I find it a fascinating domain to work in!
rtuin commented on Why Cline doesn't index your codebase   cline.bot/blog/why-cline-... · Posted by u/intrepidsoldier
rtuin · 7 months ago
Totally irrelevant on the subject, but the screen recording in the article caught my attention: what tool does one use to create the screen recording with zoom and mouse tracking?
rtuin commented on Show HN: Psychedelic animation generator; (p)art of your next trip   collidingscopes.github.io... · Posted by u/getToTheChopin
talles · 9 months ago
I miss Winamp
rtuin · 9 months ago
This reminds me of Winamp too.

As a teenager I used to fiddle with the visualization editor for hours. Good fun!

rtuin commented on I got OpenTelemetry to work. But why was it so complicated?   iconsolutions.com/blog/i-... · Posted by u/paltaie
rtuin · a year ago
Otel seems complicated because different observability vendors make implementing observability super easy with their proprietary SDK’s, agents and API’s. This is what Otel wants to solve and I think the people behind it are doing a great job. Also kudos to grafana for adopting OpenTelemetry as a first class citizen of their ecosystem.

I’ve been pushing the use of Datadog for years but their pricing is out of control for anyone between mid size company and large enterprises. So as years passed and OpenTelemetry API’s and SDK’s stabilized it became our standard for application observability.

To be honest the documentation could be better overall and the onboarding docs differ per programming language, which is not ideal.

My current team is on a NodeJS/Typescript stack and we’ve created a set of packages and an example Grafana stack to get started with OpenTelemetry real quick. Maybe it’s useful to anyone here: https://github.com/zonneplan/open-telemetry-js

rtuin commented on Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)   pgroll.com/... · Posted by u/todsacerdoti
rtuin · a year ago
This seems like a great tool! I like how it "simply" works by putting a view on top of the actual table. This concept is widely used in the data engineering world (in dbt).

There must be an easier way to write migrations for pgroll though. I mean, JSON, really?

rtuin commented on The Impact of Jungle Music in 90s Video Game Development   pikuma.com/blog/jungle-mu... · Posted by u/atan2
rtuin · a year ago
What a nice writeup. I've listened to jungle and related styles on and off over the years but I wasn't aware the music had played such a big role in 90's game music!
rtuin commented on Optimizing Postgres table layout for maximum efficiency   r.ena.to/blog/optimizing-... · Posted by u/napsterbr
napsterbr · a year ago
One interesting thing your team may want to look into (if you haven't already) is compression.

Of course there are a multitude of variables we don't have access from the outside, but Postgres only compresses data that is TOASTed, and based on your description of the table, the data is not being TOASTed (and therefore not being compressed).

Instead, if you could somehow pack your timeseries entries into an array, you would get the benefits of compression automatically.

Given your write performance requirements, using an array may be out-of-question (and you may get too much overhead from dead tuples) -- but who knows? Always a good idea to benchmark.

I actually considered mentioning this at the post but figured it was too long already and could be the material for a future one :)

rtuin · a year ago
This is interesting! Turning the values into arrays is not suitable for our base-tables, but might be for the several materialization tables we run.

u/rtuin

KarmaCake day116August 24, 2016View Original