Readit News logoReadit News
iKlsR commented on Ask HN: How do you expose telemetry data to non-tech?    · Posted by u/mehdig10
iKlsR · 3 months ago
Here's what I did that worked for last two teams I managed. We used slack as a hub for everything, we had some brittle [1] services so there were cron scripts that ran every minute and would alert to slack when it was down @ing someone. Likewise rolled own dumb logger that just simply existed as a middleware initially to capture requests and responses and certain events were logged to slack and disk in the code with `event(enum, json)`. This slack bot could also dump certain info for users or events with some slash commands provided you had an id. From these logs and other bits added over time could see when execs connected or someone had difficulty with auth, a job or method took abnormally long and current active sessions etc. This grew to support ceo, marketing and other devs and got pretty involved at some point we had small services tied in that could visualize geojson over a map for a trip completed, dump a replay session or get all stacktraces for the day. Also for 3rd party services we couldn't tie into directly used a proxy setup where we didn't call it directly but inside a wrapper where we could capture data so a call to `api.somesite.com/v1/events` became `mysite.com/proxy?site=api.somesite.com/v1/events` in our apps so when our clients called this we knew and could again log.

Since this seems close enough to the similar problem I had you could take a look at this approach and start with what's being requested or the repeating problems and have a central hub for others ingest these via discord or slack and appropriate channels #3rd-party-uptimes, #backups, #raw-logs, #events. From this we rarely used our dashboards, bugsnag or had the need to ssh into any server to pull access or error logs.

- [1] This one was particularly so because they had a org policy to randomly reset vpn passwords and the only way to change it was using a desktop client to basically set the same password again.

Deleted Comment

iKlsR commented on Show HN: I reverse engineered macOS to allow custom Lock Screen wallpapers   cindori.com/backdrop... · Posted by u/cindori
iKlsR · 3 months ago
> The core technical challenge, as you can imagine, came from trying to do something that Apple otherwise does not allow

I think the main question most would ask is what affordances can you give or details you can share to prove that this will continue working in future versions of the os since the foundations seem brittle.

I use Wallpaper Engine on windows for one purpose mostly to avoid burn in since my monitors are always on but I've grown to like it over the years and would like to try something on mac but would hate to purchase software that stops working or future update comes with a readme of how to "re-enable" it.

iKlsR commented on AI coding   geohot.github.io//blog/je... · Posted by u/abhaynayar
dmh2000 · 3 months ago
I'm 72, a dev for 40 years. I've lost a step or two. It's harder to buckle down and focus, but using AI tools have enabled me to keep building stuff. I can spec a project, have an agent build it then make sure it works. I just code for fun anyway.
iKlsR · 3 months ago
I love using AI to prototype that something is possible then go and build it myself while borrowing bits from that initial MVP. The other night I wanted to build a browser extension that could intercept requests from a tab, claude got me something working in about 10 minutes with a couple prompts and a local storage session and then I toyed with the UI a bit to see what was possible.

Now after a weekend morning I have something much slimmer, predictable and sophisticated running... my extension shows a list of repeated responses and I can toggle which one to send to a localhost api that has a simple job queue to update a sqlite db with each new entry, extract the important parts and send it to my lm studio gpt oss 20b endpoint for some analysis and finally and send me a summary on telegram.

I know what I want in my head but cutting down the experimenting or PoC step down to minutes vs hours is pretty useful and as a competent enough dev it's elevated what I can get done now so I can take on more work than I would have by myself previously.

iKlsR commented on Time Theft at the Terminal   marginalrevolution.com/ma... · Posted by u/paulpauper
iKlsR · 5 months ago
The first thought that popped into my head when I saw the post title was someone pressing the up arrow 24 times to find that `ls` they used a couple hours prior.
iKlsR commented on Verlet Integration and Cloth Physics Simulation (2022)   pikuma.com/blog/verlet-in... · Posted by u/atan2
pixelpoet · 6 months ago
The article says that Euler integration is commonly used in games, and I'm not sure that's true; it's been popularised in gamedev since many years that, and I quote, "if you use Euler integration, then you're a bloody idiot"[0].

BTW the same article series points out that using irregular timesteps is also a bad idea.

[0] Since gone offline, and without the famous quote, but there's an archived copy here: https://vodacek.zvb.cz/archiv/680.html

iKlsR · 6 months ago
Misc comment but I find it odd that the author seemingly intentionally killed those old posts, you couldn't google "game physics" a decade ago and not see his timestep post which helped a lot. Glad I run my own archiver.
iKlsR commented on Show HN: Workout.cool – Open-source fitness coaching platform   github.com/Snouzy/workout... · Posted by u/surgomat
dang · 6 months ago
What do you have in mind?
iKlsR · 6 months ago
Could be a new tab "collab" or something to do with joint work maybe, one could post a site, repo or detail a past work experience and anyone who was around or passed thru could reconnect, discuss stuff and share anecdotes. Thinking long dead internal faang tools, stuff like op's post, abandoned repos, old shareware etc. Could also be a place to find cofounders or people interested in starting or working on stuff together.
iKlsR commented on Doge Plans to Rebuild SSA Codebase in Months   wired.com/story/doge-rebu... · Posted by u/danso
nineplay · 9 months ago
I had lunch this week with some former coworkers.

When I'd started working with them it was on the 20 year old C++ engine that ran everything.

Even at that time there was large team 'rewriting' it in Java. That team was dissolved about 2 years later.

During the course of my employment two more large teams were spun up to do a rewrite and then came crashing down after a year or two.

I hadn't seen my coworkers for about 7 years. Naturally they were still working on the C++ code. Naturally they'd seen two more rewrite teams come and go while I'd been gone.

I'm not sure why I'm bringing this up......

iKlsR · 9 months ago
Isn't it customary for new hires or teams to drop into a legacy codebase and within weeks propose a rewrite.
iKlsR commented on Coffee reduces risk of Type 2 Diabetes; okay to add cream, but not sweetener   ajcn.nutrition.org/articl... · Posted by u/hilux
euroderf · 9 months ago
Coffee and sugar are like oil and water: you can try all you want to mix them but they will never form a whole.

No matter how long you stir it... you take a sip, and there's a coffee flavor over here and a sugar flavor over there.

iKlsR · 9 months ago
Disagree, I use a tsp of cane sugar in mine, you can't agitate it efficiently by hand and it needs to be piping hot to help it dissolute. You need something like a cheap $10 handheld milk frother/mixer or something that can get into it better than your hand going anti-clockwise. I typically add a small amount of hot water and get a thick sweet enough paste then add more hot water if I'm doing instant and for ground the same but add a strain step at the end.
iKlsR commented on It is not a compiler error (2017)   blog.plover.com/2017/11/1... · Posted by u/misonic
iKlsR · 10 months ago
Related "It Is Never a Compiler Bug Until It Is" https://news.ycombinator.com/item?id=24636326

u/iKlsR

KarmaCake day1212June 2, 2012
About
I push polygons and flip bits...
View Original