Readit News logoReadit News
ejs commented on Log by time, not by count   johnscolaro.xyz/blog/log-... · Posted by u/JohnScolaro
AdieuToLogic · a month ago
This post falls into a common trap; conflating logging with metrics.

Log interesting things, where interesting is defined as context outside what the "happy path" execution performs.

Collect and make available system metrics, such as invocation counts, processing time histograms, etc., to make available what the post uses log statements to disseminate same.

ejs · a month ago
I built a system for collecting metrics via logs and has worked well for my apps when I don't want to set up a whole separate system for it.
ejs commented on Ask HN: What Are You Working On? (June 2025)    · Posted by u/david927
ejs · 2 months ago
I'm working on a tool to make tracking business metrics easy. [0]

I've always had issues collecting business metrics like "signups per day" in observability tools, but using marketing type tools comes with it's own set of problems.

[0] https://flexlogs.com/

ejs commented on Timescale Is Now TigerData   tigerdata.com/blog/timesc... · Posted by u/pbowyer
orphea · 2 months ago
Slightly off-topic perhaps. For my use case (both short-term and long-term storage of sensors and metrics of a small Home Assistant instance) it probably doesn't matter, but what could someone recommend? ClickHouse looks kind of neat and it doesn't appear to be difficult to admin.
ejs · 2 months ago
Since this is a timescaleDB topic, would timescale not work? (With a basic DB and a few continuous aggregates running in the background?)
ejs commented on Timescale Is Now TigerData   tigerdata.com/blog/timesc... · Posted by u/pbowyer
ejs · 2 months ago
I've been using TimescaleDB for a while as a metrics datastore. It's really proven to be great for aggregating data without a lot of hassle (using continuous aggregates, retention policies, etc).

I recommend it when you don't want/need to have separate sources for account data and your metrics/aggregate data.

ejs commented on Em-Dash, an 1830s Invention   carlos-menezes.com/em-das... · Posted by u/carlos-menezes
aaronbaugher · 4 months ago
I find it distracting, I think because I'm so used to humans using two hyphens as a substitute, sometimes with spaces around them, that a real em-dash used what I suppose is correctly looks too small and tight.
ejs · 4 months ago
Yeah, understandable.

I’ve actually never been a fan of the “correct usage” that forgoes any spacing around it. I find it crowded and jarring.

I like to use a “thin space” around an em dash — it breaks it up without adding too much space.

ejs commented on Em-Dash, an 1830s Invention   carlos-menezes.com/em-das... · Posted by u/carlos-menezes
ejs · 4 months ago
I like using the em dash, but I try to limit it now—because chatgpt loves it even more. Maybe it's for the better, some people seem to have strong opinions about it.
ejs commented on Ask HN: What's the ideal stack for a solo dev in 2025    · Posted by u/kieloo
ejs · 5 months ago
As usual, isn't the next question... "What are you trying to build?"

I build most projects in Elixir/Phoenix these days, but wouldn't flinch at ROR if you are comfortable with it.

ejs commented on Embedding Python in Elixir, it's fine   dashbit.co/blog/running-p... · Posted by u/arathunku
ejs · 6 months ago
I love this, I've primarily been working in Elixir for a few years now and this is neat to see!
ejs commented on Ask HN: What are you working on? (February 2025)    · Posted by u/david927
gamedever · 6 months ago
The guy at Not Just Bikes will tell you that enforcement will never work nor happen and that the only way to get people to slow down is to design the road so it doesn't feel safe to drive fast.

The road next to my house has a speed limit of 20mph but most cars go 45mph because it's a straight road 4 lanes but space for 6. No bumps, no curves, wide. Effectively it feels like you should be driving fast. If I go the speed limit in the center lane because I'm going to turn left people will get angry and speed around at 60mph pissed off

ejs · 6 months ago
Yeah, unfortunately this is true. A street near my house has a limit of 40mph and people would regularly drive 60 mph+, sometimes someone would pass me doing 65+mph (it's a no-passing residential road).

Eventually someone died, and they added a lot of traffic-calming changes to the road. It's much nicer now, but a shame that someone had to die to change it.

ejs commented on Ask HN: What are you working on? (February 2025)    · Posted by u/david927
ejs · 6 months ago
I'm working on a solution for gathering product metrics and making sure applications keep running — when you don't want to install or maintain a lot of extra stuff. https://flexlogs.com

... also continuing to not add features to my (not-much-of-a) system for getting more done each week. https://carpeweekem.com

I've also been cautiously adding AI-powered features to my Heroku autoscaling tool (https://flightformation.com/) and a simple free-text time/date input has been the most popular (demo: https://x.com/ejschmitt/status/1893268742760448497)

u/ejs

KarmaCake day625December 30, 2007
About
Just a person making things, mostly from software and wood.

http://ejschmitt.com

Feel free to contact me: ejschmitt at gmail.com

View Original