1,874 karma · joined Jun 12, 2019 (7y ago) · 701 submissions
[ my public key: https://keybase.io/thinkharder; my proof: https://keybase.io/thinkharder/sigs/Ibpz0COsvz2qYl2K8YfzrhucHf2rcZIxityh5WvYC_k ]
comment 3y ago · link · parent
comment 3y ago · link · parent
I think this is the issue. Both Splunk and OpenSearch (even self-hosted OpenSearch) get really pricy as well especially with large volumes of log data. Cloudwatch can also get ludicrously expensive. They charge something like $0.50 per GB (!) and another $0.03 per GB to store. I've seen situations at a previous employer where someone accidentally deployed a lambda function with debug logging and ran up a few thousand $$ in Cloudwatch bills overnight.
You should look at Coralogix (disclaimer: I work there). We've built a platform that allows you to store your observability data in S3 and query it through our infrastructure. It can be dramatically more cost-effective than other providers in this space.
comment 3y ago · link · parent
However, tracing literally every method call would probably be prohibitively expensive so typically you have either:
1. Instrumentation with "understands" common frameworks/libraries and knows what to instrument (eg request handlers in web frameworks)
2. Full opt-in. They make it easy to add a trace for a method invocation with a simple annotation but nothing gets instrumented by default
comment 3y ago · link · parent
comment 3y ago · link · parent
There is an unstable feature for "box syntax" which both allows you to construct a `Box<T>` as let foo = box a (instead of let foo = Box::new(a)) but also to use box as a keyword in pattern matches to deref the box automatically. So struct Foo { value: Box<Bar> };
let Foo { value: box Bar } (in which case value is bound to a &Bar) which was really nice.
It got subsumed into a more generic "deref patterns" project which doesn't seem to be going anywhere but I hope it does because it makes the language much more ergonomic IMO.
comment 3y ago · link · parent
comment 3y ago · link · parent
Not sure what specifically you are referring to with all of them, but in general it covers the various eyewitness reports used to establish multiple shooters. In short (and would really recommend reading the book if you are interested in the subject) they are not credible. Often inconsistent (both internally as the stories are told on different occasions) and also mutually inconsistent. There were a lot of people there that day and it was quite chaotic after the assassination. It doesn't seem that implausible to me that there would be a lot of conflicting information from eyewitnesses. But the eyewitness testimony taken as a whole is completely consistent with Oswald firing all three shots from the Book Depository.
> magic bullet
From memory, there was nothing "magical" about the magic bullet. The injuries on both Kennedy and Connelly and the video evidence are completely consistent with the official story that a bullet hit Kennedy in the back of the neck, exited through his throat and then hit Connelly in the the thigh.
> exit wound
I assume you mean the story that there was an exit wound on the back of Kennedy's head. But according to the actual autopsy that was not the case. He had an entry wound on the back of his head and exit wound on the side/front (again consistent with the official story). The story of a rear exit wound is from two doctors who treated Kennedy at the hospital in Dallas. They were not doing an autopsy. They were administering emergency medicine to a man whose head was covered in blood and brain fragments. And there accounts have been directly contradicted by other doctors who were there.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
> New dads: if you feel unusually down, anxious, frustrated, angry, or depressed, consider talking to your PCP about treatment. Taking medication is not an admission of failure. Being a father is tough, but it shouldn't feel impossible.
Amen. Being the internet, people are going to be jerks but I for one appreciate you sharing your experience.
comment 3y ago · link · parent
More to the point, even using a multi-threaded runtime won't spawn threads willy-nilly. It will default to using N worker threads (where N is the number of CPU cores available).
comment 3y ago · link · parent
1. I don't have to think about or manage any servers
2. Usage is metered at a very fine-grained level (per X requests to the API/per GB of data/etc)
3. No fixed cost. You only pay for usage.
Was there a different meaning originally?
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Right now, what it can do really well is non-blocking file IO. My (limited) understanding is that as of now, the benefits of io_uring over epoll for network IO is a bit more ambiguous. That said, io_uring is adding new features (already available in linux 6 kernel) that are really promising. See https://github.com/axboe/liburing/wiki/io_uring-and-networki....
comment 3y ago · link · parent
comment 3y ago · link · parent