Readit News logoReadit News
cjsawyer commented on Log by time, not by count   johnscolaro.xyz/blog/log-... · Posted by u/JohnScolaro
perching_aix · 2 months ago
I agree with this. Logging, as well as metrics and tracing, are such hard topics for me to wrap my head around though.

From the log consumer (person) perspective, you'd want logs to provide you with sufficient information when troubleshooting. But since trouble usually happens when things go wrong in unexpected ways, the logging likely won't be well aligned to emit the right info for you to figure out what's going wrong exactly. What then, are you supposed to log the entire application state and every change to it? But then that's way too expensive, and there's a decent chance you might just drown in the noise instead. So you're left with this half artform half science type deal.

One thing I'm grateful for is that over the years most everything now logs in JSON lines at least. I just wish there was a standardized, simple way to access all the possible kinds of JSON objects that might be emitted into the logs. A schema would be a good start, but then I can immediately see ways how that would be quickly rendered lot less useful early on (e.g. "this and that field can contain some other serialized JSON object, good luck!").

cjsawyer · 2 months ago
My personal answer to this is logging very little during normal operation and then logging a lot during errors. Depending on the maturity of the system “a lot” might mean the entire state so I can debug afterwords.
cjsawyer commented on Windows on ARM on a Smart Watch   gus33000.me/fish/... · Posted by u/todsacerdoti
cjsawyer · 5 months ago
Excellent dedication to the pun!
cjsawyer commented on Premature Graying of Hair: Review with Updates   pmc.ncbi.nlm.nih.gov/arti... · Posted by u/luu
Fire-Dragon-DoL · 9 months ago
What kind of memory problems, could you expand? I wonder if I fall on this bucket. I had graying hairs as soon as I finished high school (~19). One of my major problems with studying was an inability to retain stuff in university, which is weird because through middle school a single read was sufficient for me to retain stuff.
cjsawyer · 9 months ago
Mostly noun recall. I can mentally picture and describe thing or person X, but when I'm having the problem it could possibly take me 30 minutes to figure out the name of X without looking it up.
cjsawyer commented on Show HN: Hacker Herald – like HN but with crowdsourced pics and subtitles   hackerherald.com/... · Posted by u/MarkMc
cjsawyer · 9 months ago
I prefer the density of the original, but your addition of "Today", "Yesterday", "Wednesday"... buttons is excellent. That is much more useful than the infinite scroll on the vanilla homepage.
cjsawyer commented on New era of slop security reports for open source   sethmlarson.dev/slop-secu... · Posted by u/detaro
dmitrygr · 9 months ago
We here. Most of us (by age) at least. We have witnessed the entire lifetime of the useful internet. We saw as it rose and became useful and we are seeing it sink into the mire of easily-generated shit and become useless. We saw web search become a force for good (information availability) and we saw web search become useless trash. As the cost to produce shit drops, it will only get worse. The internet had a good run. The future, if any, is in closed communities by invitation only. However, that isn’t the Internet we knew and loved. <hat off in respect for the departed>
cjsawyer · 9 months ago
I've started enjoying older printed books again. There's solace knowing that it was at least made by a person.
cjsawyer commented on Premature Graying of Hair: Review with Updates   pmc.ncbi.nlm.nih.gov/arti... · Posted by u/luu
notamy · 9 months ago
> The paradoxical B12 deficiency might have a relation with the inactive form being supplemented.

Yup, not everyone can convert cyanocobalamin or hydroxocobalamin to adenosyl-/methylcobalamin. Especially in severe cases, anecdotally I’ve seen people not make progress with the standard cyanocobalamin injections, but then make huge progress with methylcobalamin injections. Unfortunately, methylcobalamin is often not preferred in injectable form due to very quick degradation into hydroxocobalamin upon exposure to light.

cjsawyer · 9 months ago
Taking methylcobalamin B12 supplements essentially fixed my memory problems. Early on I tried out the cyanocobalamin type and got absolutely nothing from it.

If I stop taking the supplements for a few weeks, the memory problems come back. If I start again, a week later my memory is excellent. It’s well worth the minor effort.

cjsawyer commented on ByteDance sacks intern for sabotaging AI project   bbc.com/news/articles/c7v... · Posted by u/beedeebeedee
quinttttle · 10 months ago
for every gifted, motivated, positive, constructive person in the world, there are probably 100,000 that want to tear them down and eat the carcass.
cjsawyer · 10 months ago
I believe the opposite. The issue is that destroying requires much less effort than creating.
cjsawyer commented on Microsoft completes $69B deal to buy Activision Blizzard   theguardian.com/business/... · Posted by u/beardyw
ElectricalUnion · 2 years ago
> The servers have all sorts of mitigation strategies to compensate.

I haven't seen any papers where cloud gaming servers implement rollback logic on your inputs in behalf of the game developer.

Even assuming games that do support native rollback, most rollback netcode implicitly considers you're local to your game client, not in some relay box 7 frames or more in the past.

cjsawyer · 2 years ago
I was talking about clients and servers in the classic setup, not for cloud gaming. My parent was talking about game ping and I was pointing out that cloud services are even more sensitive since you’re not interacting with the game client locally.
cjsawyer commented on Microsoft completes $69B deal to buy Activision Blizzard   theguardian.com/business/... · Posted by u/beardyw
enlyth · 2 years ago
You can't just have a "good" internet connection. For some games the difference between 30ms and 100ms latency is a great experience vs being almost unplayable. This is not exaggeration, this is fact and millions of gamers who actually measure their ping will tell you the same.
cjsawyer · 2 years ago
The latency between peripheral input and visual feedback is much more important than the latency between a game client and server. The servers have all sorts of mitigation strategies to compensate. For inputs, it’s all on the human. Which feels bad.
cjsawyer commented on Shift Happens: A book about keyboards   shifthappens.backerkit.co... · Posted by u/signa11
cjsawyer · 2 years ago
Keyboards are an endless money pit for me. Every year or so I’ll randomly get dissatisfied with my setup and seek to somehow upgrade it. At some point I’ll have to admit that it’s because I just like playing with new hardware… but maybe not today :)

u/cjsawyer

KarmaCake day881August 30, 2017View Original