1. 11

    very cool ! fwiw, there is also the quintessential ‘nand to tetris’ book & website which also goes into building a complete machine from nand gates. and once you are done with it, you can enjoy a cool game of tetris on your creation !

    1. 1

      I have that book! It was given to me as a gift!

      1. 1

        Dealers of Lightning is one of my favorite books. How do you like Where Wizards Stay Up Late?

        1. 2

          i am still going through it, and will be done in a 2-3 days, will post here then.

        2. 1

          I thought wizards was too disjointed. “Inventing the Internet” by Janet Abbate was a more coherent history. Really enjoyed that book.

          1. 1

            ah ! thanks for the suggestion, will check that one out as well :)

        1. 6

          Good to see international organisations contributing to this industry. Shame that the article was so short and sparse in detail.

          1. 7

            the project page is here and here is a short presentation as well.

            1. 1

              wow, thank you.

          1. 4

            Having PRIMARY and CLIPBOARD is a good thing and once you get used to it, it’s like having two clipboards.

            Shame he never tells how to actually use them both. Afaict only the primary selection is usable with the default binds.

            XTerm.VT100.translations: #override \n\
                    Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
                    Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
            

            Now if only I could get all the other software to support them both as well.

            EDIT: Another tip. If you find the font sizes available in the menu to be ridiculous, they’re pretty easy to change.

            XTerm*faceSize1: 8
            XTerm*faceSize2: 10
            XTerm*faceSize3: 13
            XTerm*faceSize4: 16
            XTerm*faceSize5: 20
            XTerm*faceSize6: 26
            

            faceSize1 corresponds to “Unreadable.”

            Now would someone give me key binds to decrease/increase font size? :-)

            1. 6

              You might want to read X Selections, Cut Buffers, and Kill Rings for how to use the PRIMARY and CLIPBOARD selections in X Windows.

              1. 1

                It doesn’t, and can’t really explain how to use them because there is no way to use them in X. Instead, you have to use them in applications running under X and each application does its own thing. I still don’t know if there’s a way to copy to clipboard in xterm without creating a custom bind.

                1. 0

                  Does it also work with X?

                  1. 1

                    If by “X” you mean “the graphical interface that runs on Linux” then yes, it works, because that is X Windows.

                    1. -1

                      Eh, the developers would disagree, but what do they know?

                      1. 1

                        Where did this X Windows meme even start?

                        Some lamer back in 1995 thinking it sounded cool and having it go viral on Usenet?

                        1. 2

                          Where did this X Windows meme even start?

                          I don’t know. Probably people who think it’s the X-TREME version of Microsoft Windows.

                          1. 1

                            It’s mentioned in The Unix-Haters Handbook as a reliable tool for getting Unix weenies angry.

                            1. 1

                              I’m pretty sure “X Windows” is much older than that (as is MS Windows). I vaguely recall reading about “X Windows” in Byte magazine in 1993 or so.

                              The comp.windows.x newsgroup goes back to at least 1987 (https://groups.google.com/forum/message/raw?msg=comp.windows.x/TtNRIfTKqsw/i7hzWBiDfkgJ), a month after X11 was created. They even refer to it as “x-windows”.

                              1. 1

                                Could it have been a different implementation? Cuz I remember doing the RTFM thing way back when, and it was very clear about not being “X Windows”, though didn’t specify why.

                                Sorry if this is explained in the link. Can’t be arsed with Google. Usenet used to come without opt-in spying.

                            2. 1

                              Well, excuse me for using outdated terminology then. Would if have been better had I said “You might want to read X Selections, Cut Buffer, and Kill Rings for how to use the PRIMARY and CLIPBOARD selections in X”?

                              1. 1

                                Not outdated, just incorrect.

                      2. 3

                        Now would someone give me key binds to decrease/increase font size? :-)

                        i have the following

                        *VT100*translations: #override \
                            Meta <Key> minus: smaller-vt-font() \n\
                            Meta <Key> plus: larger-vt-font() \n\
                            Super <Key> minus: smaller-vt-font() \n\
                            Super <Key> plus: larger-vt-font() \n\
                        

                        and either meta/super keys work as expected.

                      1. 1

                        douglas-mcllroy’s paper ‘squinting at power series’ is pretty good, and uses haskell for elucidating these concepts. check it out !

                        if you like that kind of thing, it is the kind of thing that you would like :)

                        1. 1

                          Neat post. Do you have any custom or unusual (eg Cavium) hardware needed for your DDOS mitigation activities? Or is it 100% vanilla boxes from Intel/AMD with Linux running software solutions like in the article?

                          1. 13

                            In our architecture every server is identical both in hardware and software. The more servers we add, the larger DDoS capacity we have. The servers are pretty standard. We do use Solarflare network cards, and occasionally offload parts of iptables into userspace. We are working on replacing this custom piece of software with NIC-vendor agnostic XDP.

                            1. 1

                              Wow. Impressive how far things have come in not relying on custom stuff. Thanks for the reply!

                              1. 1

                                lovely ! any particular reason of moving away from or not choosing dpdk for this ?

                                1. 1

                                  DPDK is great, but it’s really meant to take over the whole NIC[1]. That puts a lot of constraints on what other functions each server can perform. Fortunately, the netdev guys are taking a lot of cues from DPDK and applying them to XDP and related kernel infrastructure. Comparable performance is coming to Linux sooner than you’d think!

                                  [1] bifurcating & SR-IOV aren’t applicable for this particular usecase