GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Julia Evans (b0rk@social.jvns.ca)

  1. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 01-Jul-2025 00:24:28 JST Julia Evans Julia Evans

    If you want to get "The Secret Rules of the Terminal" (or any other zine!) and you're in a country with a weaker currency than the US (India, Brazil, etc), there's a discount to make the zines more affordable. You can see it in action here:

    https://wizardzines.com/zines/terminal/

    If you're in a country this applies to, you should see something like this:

    In conversation about 4 days ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/751/298/484/972/979/original/610d078da9858777.png
  2. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 01-Jul-2025 00:03:55 JST Julia Evans Julia Evans
    in reply to

    The reason this zine is called "The Secret Rules of the Terminal" is that I learned more useful things while writing this zine than when writing any other zine, even though I've been using the terminal every day for 20 years.

    It really left me feeling like the terminal is full of hidden secrets -- because "the terminal" is made up of so many different pieces, there's no single terminal manual you can read!

    Here's the table of contents (which as a bonus shows the components of the terminal!)

    In conversation about 4 days ago from social.jvns.ca permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: www.years.It
      Graffiti Web S.r.l.

    2. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/739/500/415/134/571/original/2bae27e134f3a7e4.png
  3. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Sunday, 29-Jun-2025 02:14:10 JST Julia Evans Julia Evans

    we've already sold 1000 copies of The Secret Rules of the Terminal since it came out on Tuesday!

    so to celebrate I'm giving away 1000 copies to anyone who can't afford to buy one. You can use code BUYONEGIVEONE at checkout to get a free PDF copy if $12 USD is a lot for you.

    https://wizardzines.com/zines/terminal

    In conversation about 6 days ago from social.jvns.ca permalink
  4. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Wednesday, 25-Jun-2025 03:13:28 JST Julia Evans Julia Evans

    delighted to announce that my new zine "The Secret Rules of the Terminal" is out today!!

    You can get it for $12 USD here: https://wizardzines.com/zines/terminal

    In conversation about 9 days ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/739/372/236/990/812/original/d1a1b721d9092c61.png

  5. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 24-Jun-2025 05:46:15 JST Julia Evans Julia Evans

    it's happening! "The Secret Rules of the Terminal" is coming out tomorrow!

    here's the table of contents:

    In conversation about 10 days ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/734/448/386/904/912/original/7d90526997e6d05a.png
  6. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Saturday, 21-Jun-2025 04:52:29 JST Julia Evans Julia Evans

    here's the final version of the "redirects cheat sheet" draft I posted a while back!

    ("The Secret Rules of the Terminal is finished! 95 beta readers have read it! the copy editor is done! technical review is done! the illustrator has made the cover! It's going to be out on *****Tuesday June 24*****")

    In conversation about 13 days ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/717/426/615/255/898/original/6eb25d19670f06b2.png
  7. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 17-Jun-2025 05:44:40 JST Julia Evans Julia Evans

    this is a nice post on strace (I didn't know that strace had a --stack-traces option!) https://rrampage.github.io/2025/06/13/strace-tips-for-better-debugging/

    In conversation about 17 days ago from social.jvns.ca permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      strace tips for better debugging
      from Raunak
      Recently, I have been building software without libc to better understand Linux syscalls and internals better. So far, I have built a minimal shell, terminal Snake game, pure ARM64 assembly HTTP server and threads implementation. I have been using strace extensively while debugging. Useful options and flags I use a version of the following command: strace -fintrCDTYyy -o strace.log -v -s128 ./binary This looks like an alphabet soup of options! Here’s what they do and how they are useful: -f: Follow child processes/threads. This is especially useful when dealing with spawning processes or threads as otherwise, strace will only trace the parent process. -v: Print unabbreviated versions of environment, stat, termios and other structs in syscalls. I found this invaluable in conjunction with -s when doing assembly programming to check if the structs were being initialized correctly and if certain arguments were being sent in little/big endian format -s NUM: Specify the maximum string size to print. Useful for large structs -o: Save strace output to a log file. It is always better to do this to investigate the output of the original process and strace separately without each cluttering the other -yy: Print all available information associated with file descriptors. This is great for expanding the file descriptor to either its full path in case of a file or TCP address in case of sockets -Y: Print command names for PIDs. I found this useful when building the shell to check if the correct program is being executed -t: Print current timestamp in log -T: Show time spent in syscalls. Useful for some basic profiling although strace heavily slows down the process. -r: Print a relative timestamp upon entry to each system call -n: Print syscall number. Great to quickly find out syscall numbers on new architectures. -i: Print instruction pointer at the time of syscall. Found this useful when debugging assembly code to check rough location of errors. -C: Print summary of syscall count, time, errors at the end of regular output Print stack traces The -k or --stack-trace prints the stacktrace along with the syscall. This is useful if your program is compiled with with -g. This post is a good read on using strace to show backtraces for a Golang program compiled with GODEBUG.
  8. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Friday, 13-Jun-2025 13:20:50 JST Julia Evans Julia Evans

    Using `make` to compile C programs (for non-C-programmers) https://jvns.ca/blog/2025/06/10/how-to-compile-a-c-program/

    In conversation about 21 days ago from social.jvns.ca permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Using `make` to compile C programs (for non-C-programmers)
      from Julia Evans
      Using `make` to compile C programs (for non-C-programmers)
  9. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Friday, 13-Jun-2025 13:20:49 JST Julia Evans Julia Evans
    in reply to

    related to this `make` post I've been very vaguely thinking of writing a "things that are useful to know about C even if you're never going to write a C program in your life" zine because I feel like I get a surprising amount of mileage out of understanding C at a very basic level even though I have never really written a C or C++ program and do not plan to

    but I have to actually get the terminal zine published before I start thinking about whether I want to do that or not

    In conversation about 21 days ago from social.jvns.ca permalink
  10. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Friday, 13-Jun-2025 13:20:48 JST Julia Evans Julia Evans
    in reply to

    something a friend said to me a little while back that stuck with me was that the Unix programming environment kind of assumes on some level that you're a C programmer, like a lot of the tools were written by and for C programmers and so it's sometimes useful to "think like a C programmer" to try to understand why things were built the way they were

    In conversation about 21 days ago from social.jvns.ca permalink
  11. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Saturday, 07-Jun-2025 12:23:47 JST Julia Evans Julia Evans
    in reply to
    • mcc

    @mcc what’s an RSS app? i definitely use and love RSS but only for blogs and newsletters, I don’t really want everything to be RSS

    In conversation about a month ago from social.jvns.ca permalink
  12. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 03-Jun-2025 14:48:17 JST Julia Evans Julia Evans

    making a list of tricks for making static sites (just HTML/CSS/JS) that do cool or useful things

    so far I have:

    - store all the state in the URL
    - use localStorage for state
    - make a client for an API that supports cross-origin requests (like the mastodon API)
    - load a bunch of data from a static JSON file

    some things I've seen but haven't done myself:

    - use github as your data storage (like what Decap CMS does)
    - use SQLite from a static website with no backend

    In conversation about a month ago from social.jvns.ca permalink
  13. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Saturday, 24-May-2025 17:01:08 JST Julia Evans Julia Evans

    @endrift hmm do you think it would be possible for the shell to open the file *after* the program starts?

    In conversation about a month ago from social.jvns.ca permalink
  14. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Saturday, 24-May-2025 03:30:19 JST Julia Evans Julia Evans

    I think I have finally managed to articulate this very fundamental but slightly counterintuitive fact about how shell redirection works

    In conversation about a month ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/558/545/285/733/477/original/706a365db5e20d39.png
  15. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Friday, 16-May-2025 17:17:30 JST Julia Evans Julia Evans

    i enjoy this flowchart explaining how bash decides whether to use .bashrc or .bash_profile https://blog.flowblok.id.au/2013-02/shell-startup-scripts.html, mostly because it makes me understand better why I could never understand how the 2 config files worked when I used bash

    In conversation about 2 months ago from social.jvns.ca permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: blog.flowblok.id.au
      Shell startup scripts — flowblok’s blog
      from Peter Ward

    2. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/512/574/584/965/099/original/7dfff4e1a96daf2b.png
  16. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Saturday, 10-May-2025 01:24:28 JST Julia Evans Julia Evans

    contributed a feature to the iTerm Color Schemes library yesterday to make the colorschemes work with any terminal emulator that supports the OSC 4 escape codes for setting the terminal's color palette (including GNOME Terminal, I believe the Linux console, and a bunch of others) https://github.com/mbadolato/iTerm2-Color-Schemes/?tab=readme-ov-file#generic-color-schemes

    basically it means that you can download a short script (like this: https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/refs/heads/master/generic/Solarized%20Dark%20-%20Patched.sh and when you run it it'll print out some escape codes that update your terminal colours

    In conversation about 2 months ago from social.jvns.ca permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      GitHub - mbadolato/iTerm2-Color-Schemes: Over 400 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty, Ghostty, and many more
      Over 400 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTer...

    2. Invalid filename.
  17. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Wednesday, 07-May-2025 03:40:50 JST Julia Evans Julia Evans

    copy and paste in the terminal

    In conversation about 2 months ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/462/343/580/800/518/original/8c6566d3028dd264.png
  18. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Thursday, 01-May-2025 05:02:48 JST Julia Evans Julia Evans

    terminal programs have a lot of hidden rules

    In conversation about 2 months ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/428/669/171/247/716/original/cd955d7422889059.png
  19. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 22-Apr-2025 05:58:58 JST Julia Evans Julia Evans

    how terminal colours work

    In conversation about 2 months ago from social.jvns.ca permalink

    Attachments


    1. https://cdn.masto.host/socialjvnsca/media_attachments/files/114/377/955/932/615/889/original/9152a61a75a235cf.png
  20. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Monday, 21-Apr-2025 23:55:14 JST Julia Evans Julia Evans

    TIL you can configure ssh to only allow a client to run 1 specific command https://dan.langille.org/2025/04/17/using-ssh-authorized-keys-to-decide-what-the-incoming-connection-can-do/

    In conversation about 2 months ago from social.jvns.ca permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Using ~/.ssh/authorized keys to decide what the incoming connection can do
  • Before

User actions

    Julia Evans

    Julia Evans

    programming and exclamation marksI have DMs muted from people I don’t follow.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          88850
          Member since
          16 Jan 2023
          Notices
          322
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.