compose-lobsters/api/src/test/resources/post_details_d9ucpe.json
Harsh Shandilya fcfcbfbf92
api: initial commit
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-06-04 09:23:52 +05:30

1 line
7.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"short_id":"d9ucpe","short_id_url":"https://lobste.rs/s/d9ucpe","created_at":"2021-04-03T16:16:02.000-05:00","title":"What problems do people solve with strace?","url":"https://jvns.ca/blog/2021/04/03/what-problems-do-people-solve-with-strace/","score":18,"flags":0,"comment_count":7,"description":"","comments_url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace","submitter_user":{"username":"technetium","created_at":"2020-02-06T19:52:39.000-06:00","is_admin":false,"about":"A sentient lump of a certain high-density material","is_moderator":false,"karma":1811,"avatar_url":"/avatars/technetium-100.png","invited_by_user":"ngoldbaum"},"tags":["programming"],"comments":[{"short_id":"42bzeq","short_id_url":"https://lobste.rs/c/42bzeq","created_at":"2021-04-03T17:43:55.000-05:00","updated_at":"2021-04-03T17:43:55.000-05:00","is_deleted":false,"is_moderated":false,"score":2,"flags":0,"comment":"\u003cp\u003eIve always felt like my usage of strace was very contrived, but this makes me feel much better, thank you!\u003c/p\u003e\n","url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace#c_42bzeq","indent_level":1,"commenting_user":{"username":"garymoon","created_at":"2019-01-08T12:00:44.000-06:00","is_admin":false,"about":"","is_moderator":false,"karma":8,"avatar_url":"/avatars/garymoon-100.png","invited_by_user":"jonahx"}},{"short_id":"kejbct","short_id_url":"https://lobste.rs/c/kejbct","created_at":"2021-04-03T17:31:39.000-05:00","updated_at":"2021-04-03T17:31:39.000-05:00","is_deleted":false,"is_moderated":false,"score":2,"flags":0,"comment":"\u003cp\u003e\u003ccode\u003estrace\u003c/code\u003e is an invaluable tool for reverse engineering and learning. Recently I wanted to know exactly what happened when I played with a Rust \u003ccode\u003eio_uring\u003c/code\u003e wrapper. I could see how syscalls were made to learn more about it. I did the same when I wanted to quickly know how \u003ccode\u003etail -f\u003c/code\u003e was implemented under the hood without reading any C source code. (Btw, it uses \u003ccode\u003einotify\u003c/code\u003e + \u003ccode\u003eepoll\u003c/code\u003e if I remember correctly.)\u003c/p\u003e\n","url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace#c_kejbct","indent_level":1,"commenting_user":{"username":"enz","created_at":"2019-02-24T08:01:30.000-06:00","is_admin":false,"about":"Independent software engineer living in France. I like Python, ML languages, Linux and I am learning Rust. I run a small software company called [Piqotera](https://www.piqotera.com/en/) in France.\r\n\r\nMy blog: https://www.ecalamia.com/blog/","is_moderator":false,"karma":853,"avatar_url":"/avatars/enz-100.png","invited_by_user":"gerikson","github_username":"enzzc","twitter_username":"CalamiaEnzo","keybase_signatures":[{"kb_username":"enz","sig_hash":"dee15db718701675cf1e5bdd5c59b5fe54f9d6a9718ecfcc7be6bd083b2986920f"}]}},{"short_id":"vvs5qn","short_id_url":"https://lobste.rs/c/vvs5qn","created_at":"2021-04-03T20:38:09.000-05:00","updated_at":"2021-04-03T20:38:09.000-05:00","is_deleted":false,"is_moderated":false,"score":2,"flags":0,"comment":"\u003cp\u003eltrace is also quite useful.\u003c/p\u003e\n","url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace#c_vvs5qn","indent_level":1,"commenting_user":{"username":"jxy","created_at":"2017-08-03T12:24:47.000-05:00","is_admin":false,"about":" \\int d\\eta_i =0 \r\n\r\n \\int d\\eta_i \\eta_i = 1 \r\n\r\nRubber Duck method of debugging, the \r\n\r\n1. Beg, borrow, steal, buy, fabricate or otherwise obtain a rubber duck \r\n (bathtub variety) \r\n2. Place rubber duck on desk and inform it you are just going to go over \r\n some code with it, if that's all right. \r\n3. Explain to the duck what you code is supposed to do, and then go into \r\n detail and explain things line by line \r\n4. At some point you will tell the duck what you are doing next and then \r\n realise that that is not in fact what you are actually doing. The duck \r\n will sit there serenely, happy in the knowledge that it has helped you \r\n on your way. ","is_moderator":false,"karma":455,"avatar_url":"/avatars/jxy-100.png","invited_by_user":"friendlysock"}},{"short_id":"6gmzsf","short_id_url":"https://lobste.rs/c/6gmzsf","created_at":"2021-04-03T23:57:47.000-05:00","updated_at":"2021-04-03T23:57:47.000-05:00","is_deleted":false,"is_moderated":false,"score":1,"flags":0,"comment":"\u003cp\u003eIs there a working strace equivalent for Windows? Its the tool I always miss when I have to debug anything there.\u003c/p\u003e\n","url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace#c_6gmzsf","indent_level":1,"commenting_user":{"username":"dmbaturin","created_at":"2018-08-08T16:44:02.000-05:00","is_admin":false,"about":"","is_moderator":false,"karma":2258,"avatar_url":"/avatars/dmbaturin-100.png","invited_by_user":"erkin","github_username":"dmbaturin","twitter_username":"dmbaturin"}},{"short_id":"flr1hj","short_id_url":"https://lobste.rs/c/flr1hj","created_at":"2021-04-04T01:39:39.000-05:00","updated_at":"2021-04-04T01:39:39.000-05:00","is_deleted":false,"is_moderated":false,"score":1,"flags":0,"comment":"\u003cp\u003eProcmon?\u003c/p\u003e\n","url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace#c_flr1hj","indent_level":2,"commenting_user":{"username":"kodfodrasz","created_at":"2018-03-16T03:12:36.000-05:00","is_admin":false,"about":"I'm a software developer living in Hungary.\r\n","is_moderator":false,"karma":943,"avatar_url":"/avatars/kodfodrasz-100.png","invited_by_user":"gerikson"}},{"short_id":"oeggxb","short_id_url":"https://lobste.rs/c/oeggxb","created_at":"2021-04-03T21:01:58.000-05:00","updated_at":"2021-04-03T21:01:58.000-05:00","is_deleted":false,"is_moderated":false,"score":1,"flags":0,"comment":"\u003cp\u003eI saw the headline and started thinking about it some before reading the article… only to discover that Ive used strace on \u003cem\u003eall\u003c/em\u003e the problems theyve listed. Fantastic list!\u003c/p\u003e\n","url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace#c_oeggxb","indent_level":1,"commenting_user":{"username":"tonyarkles","created_at":"2021-02-18T10:08:33.000-06:00","is_admin":false,"about":"Lead \"flying system designer\" at a drone startup. Love solving hard tech problems.","is_moderator":false,"karma":28,"avatar_url":"/avatars/tonyarkles-100.png","invited_by_user":"hoistbypetard"}},{"short_id":"pvti5i","short_id_url":"https://lobste.rs/c/pvti5i","created_at":"2021-04-03T19:55:48.000-05:00","updated_at":"2021-04-03T19:55:48.000-05:00","is_deleted":false,"is_moderated":false,"score":1,"flags":0,"comment":"\u003cp\u003eA recent “why is this process hanging?” I needed to turn to strace for: a daemon was trying to send mail out, but it had either connected to a STARTTLS-capable port expecting TLS, or vice versa, forget which. It hung until timeout because the handshake wasnt working in any way, and of course it couldnt email me the error report like it was meant to. At this stage I didnt even know it was a mail issue. Seeing the process writing one thing to the socket and receiving another (i.e. plain SMTP one way and TLS handshake the other) made it clear as day where Id misconfigured it.\u003c/p\u003e\n","url":"https://lobste.rs/s/d9ucpe/what_problems_do_people_solve_with_strace#c_pvti5i","indent_level":1,"commenting_user":{"username":"kameliya","created_at":"2014-01-12T22:27:37.000-06:00","is_admin":false,"about":"","is_moderator":false,"karma":2212,"avatar_url":"/avatars/kameliya-100.png","invited_by_user":"ralish"}}]}