Live data from Hacker News

Viewing profile — seodisparate

seodisparate

HN member
Joined
Mon, May 01, 2017, 1:00 PM UTC
HN karma
106
Public activity
25 items

About seodisparate

https://nexus.seodisparate.com

https://github.com/Stephen-Seo

Recent public activity

  1. comment
    Comment #42618285

    One can use C's `cleanup` attribute like a defer. https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attribute... The function signature is `void(MyType*)` if it is used like: __at…

  2. comment
    Comment #41151783

    Or using .ssh/config since entries in there act like hostnames: # ~/.ssh/config Host github_ssh HostName github.com User git IdentityFile ~/.ssh/my_github_key > git remote add gith…

  3. comment
    Comment #40388445

    Reminds me of https://goshdarnfunctionpointers.com/ which has helped in some cases.

  4. comment
    Comment #38967391

    Isn't there `proc` on Linux systems? Get the pid of the process you want to inspect, and while its running, execute `ls -lh /proc/ /fd/`. It will list the open file descriptors for…

  5. comment
    Comment #38823300

    One could use `printf 'first\0second'` in the Bash shell as an example of making a "string" with null embedded into it, but you can't store that in a Bash variable. $ TEST_VAR="$(p…

  6. comment
    Comment #38610298

    Similarly, I have a somewhat simple demo made for my website that is C++/Emscripten/Raylib. It's open source (MIT License) and you can grok the code here https://git.seodisparate.c…

  7. comment
    Comment #36194316

    https://choosealicense.com/ is a good resource that lists a bunch of licenses explained.

  8. comment
    Comment #36043786

    I made a C++ project[1] (using OpenCL and blue noise) to generate dithered images/video for a course project (the course taught how to program for the GPU). If anyone wants to just…

  9. comment
    Comment #31556782

    You can use a GPG key stored on a YubiKey with openssh, but with some caveats: 1. gpg-agent must act as your ssh-agent (which means ssh-agent should be disabled and replaced by gpg…

  10. comment
    Comment #31178003

    [1] discusses firejail running as root: > For a server, the process exposed to the outside world runs as an unprivileged user (unbound or nobody). The process is started by a separ…

  11. comment
    Comment #31176952

    As a lightweight alternative to Docker-based (or any container-based) solutions: Try firejail. You can set up a directory that will be the "home" of the sandboxed application you'r…

  12. comment
    Comment #30383085

    Someone else on HN earlier posted their QR-code scanning Android app[1], which I've been using because it doesn't automatically follow URLs but displays the raw text of the QR code…

  13. comment
    Comment #30382832

    Is it too old-fashioned of me to prefer IRC? Discord has its place, but I favor IRC.

  14. comment
    Comment #30382475

    I use the `rustup` package instead of the `rust` package to manage a local installation of rust. This graph seems to show installations of the `rust` package, but I don't think tha…

  15. comment
    Comment #30358448

    Been using Linode since 2019. Service worked as expected (worked well), and I hope that won't change after this. If I had to move, I'd have to go through the pain of setting up my …

  16. comment
    Comment #29689453

    As someone with a C/C++ background, this gist was a good reference for those times I needed to use Javascript: https://gist.github.com/yig/8744917

  17. comment
    Comment #28016467

    Oh I see, thanks for the reply. I did a quick search and came upon https://blog.cloudflare.com/encrypted-client-hello/ which does shed light on ECH. Though I am not sure if only Cl…

  18. comment
    Comment #28016389

    Out of curiosity, I once used wireshark to examine packets from my own system which was configured to use DNS over HTTPS (using dnscrypt-proxy). I discovered that the hostname of t…

  19. comment
    Comment #26833729

    Redox-OS has a similar situation that kernel code should never panic https://gitlab.redox-os.org/redox-os/redox/blob/master/CONTR... . No possible panics should ever exist in kerne…

  20. comment
    Comment #24397820

    In Korean, the vowels ㅣ (ee sound) and ㅐ (eh sound) are different in the written language. There are actually more difficult things such as ㅐ and ㅔ (both "eh" sound) which can get …

  21. comment
    Comment #24397730

    So in Korean, the word for "you" is 니가 (pronounced "nee-gah"). Example usage: 니가 언제 먹었어요? (When did you eat? "Nee-gah un-jeh mug-uss-uh-yo") I can't help but wonder if the use of t…

  22. comment
    Comment #23349107

    It looks like they want websites to do the following: whenever your website goes under a drastic change, serve the previous version of the website under a subdomain, and redirect a…

  23. comment
    Comment #18127099

    Actually I have my desktop configured with an encrypted root. Turns out GRUB can actually decrypt the partition holding /boot before loading the grub.cfg. Though I have this set up…

  24. comment
    Comment #14826197

    "When stuck debugging, question all of your assumptions about the program." A shower thought. Helpful if the program does something other than what you thought it did, allowing you…

  25. comment
    Comment #14237153

    Last I checked, uMatrix by default enables everything for 1st party sites. So if you are at twitter.com, all stuff originating from twitter.com will be allowed. You should be able …